-
Notifications
You must be signed in to change notification settings - Fork 214
Set reserved tokens in percents and in tokens
Victor Baranov edited this page Feb 12, 2018
·
7 revisions
Note: PLEASE BE CAREFUL, YOU CAN SET RESERVED TOKENS LIST ONLY ONCE.
-
Choose the network. For example,
(ETH) Etherscan.io
, if your contract is inmainnet
.
-
Attach to your token contract. The token contract address and its ABI are taken from the file downloaded at Step 4 of Token Wizard:
- ABI of the token contract is under this line: Token contract ABI: in the file.
Then click Access button.
- In Select a function combo choose
setReservedTokensListMultiple
method
- In How would you like to access your wallet? choose any preferable option. If you chose
MetaMask/Mist
, click "Connect to Metamask".
-
Enter method data:
- Fill addrs input with addresses separated by commas, for which tokens will be reserved. For example,
0xf36045454F66C7318adCDdF3B801E3bF8CfBc6a1,0x600B023698a0E6d58E79432b1EA5EfB859A6f62C
- Fill inTokens input with tokens amount multiplied to 10 to
n
power separated by commas, wheren
is the number of token decimals (For example, we want to reserve 255 tokens for the 1st address and 500 tokens for the second address. And token has 18 decimals. Then we should fill input with255000000000000000000,500000000000000000000
). - Fill inPercentageUnit input with the number of percents for each address separated by commas. For example,
20,30
, if you need to reserve 20% for the 1st address and 30% for the 2nd address. - Fill inPercentageDecimals input with the number of decimals in percents. If percents are integers, then
0,0
should be here. Otherwise, let's say we need 20.5% for 1st address and 30.15% for 2nd address, then we need to fill here1,2
and in the inTokens input:205, 3015
.
- Fill addrs input with addresses separated by commas, for which tokens will be reserved. For example,
-
Click Write.
-
Choose 0 in Amount to Send. The Gas Limit will be calculated automatically. Click "Generate transaction".
- You'll see the transaction data. Click Yes, I am sure. Make transaction..
- Confirm transaction in MetaMask popup.
- Introduction
- Demo
- Requirements
- Strategy
- How to run
- Using POA Networks
- Deployment Time & Gas
- Verifying Smart-Contracts
- Possible Tx Failures
- Token Wizard Projects
- Notable Contributors
- Support
- Disclaimer
- FAQ
- Change Start & End Times
- Change max cap for tier
- Change rate
- Distribute reserved tokens
- Finalize crowdsale