Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions examples/token/token-fixed-fee-hbar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "token-fixed-fee-hbar",
"symbol": "FFHBAR",
"decimals": 8,
"supplyType": "finite",
"initialSupply": 1000000,
"maxSupply": 10000000,
"treasuryKey": "<alias or accountId:privateKey>",
"adminKey": "<alias or accountId:privateKey>",
"memo": "Token with fixed fee paid in HBAR (tinybars)",
"customFees": [
{
"type": "fixed",
"amount": 100,
"unitType": "HBAR",
"collectorId": "<accountId>",
"exempt": false
}
]
}
20 changes: 20 additions & 0 deletions examples/token/token-fixed-fee-token.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "token-fixed-fee-token",
"symbol": "FFTOK",
"decimals": 8,
"supplyType": "finite",
"initialSupply": 1000000,
"maxSupply": 10000000,
"treasuryKey": "<alias or accountId:privateKey>",
"adminKey": "<alias or accountId:privateKey>",
"memo": "Token with fixed fee paid in same token units",
"customFees": [
{
"type": "fixed",
"amount": 50,
"unitType": "TOKEN",
"collectorId": "<accountId>",
"exempt": false
}
]
}
23 changes: 23 additions & 0 deletions examples/token/token-fractional-fee-receiver-pays.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "token-fractional-receiver",
"symbol": "FFRECV",
"decimals": 8,
"supplyType": "finite",
"initialSupply": 1000000,
"maxSupply": 10000000,
"treasuryKey": "<alias or accountId:privateKey>",
"adminKey": "<alias or accountId:privateKey>",
"memo": "Token with fractional fee (receiver pays, netOfTransfers=false)",
"customFees": [
{
"type": "fractional",
"numerator": 1,
"denominator": 10,
"min": 10,
"max": 1000,
"netOfTransfers": false,
"collectorId": "<accountId>",
"exempt": false
}
]
}
23 changes: 23 additions & 0 deletions examples/token/token-fractional-fee-sender-pays.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "token-fractional-sender",
"symbol": "FFSEND",
"decimals": 8,
"supplyType": "finite",
"initialSupply": 1000000,
"maxSupply": 10000000,
"treasuryKey": "<alias or accountId:privateKey>",
"adminKey": "<alias or accountId:privateKey>",
"memo": "Token with fractional fee (sender pays, netOfTransfers=true)",
"customFees": [
{
"type": "fractional",
"numerator": 1,
"denominator": 10,
"min": 10,
"max": 1000,
"netOfTransfers": true,
"collectorId": "<accountId>",
"exempt": false
}
]
}
77 changes: 18 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading