Skip to content

Set reserved tokens in percents

Victor Baranov edited this page Feb 12, 2018 · 10 revisions

Set reserved tokens in percents from MyEtherWallet

Note: PLEASE BE CAREFUL, YOU CAN SET RESERVED TOKENS LIST ONLY ONCE.

  1. Go to https://www.myetherwallet.com/#contracts

  2. Choose the network. For example, (ETH) Etherscan.io, if your contract is in mainnet.

  1. 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.

  1. In Select a function combo choose setReservedTokensListMultiple method

  1. In How would you like to access your wallet? choose any preferable option. If you chose MetaMask/Mist, click "Connect to Metamask".

  1. 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 0 separated by commas. For example, 0,0
    • 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 here 1,2 and in the inTokens input: 205, 3015.
  2. Click Write.

  3. Choose 0 in Amount to Send. The Gas Limit will be calculated automatically. Click "Generate transaction".

  1. You'll see the transaction data. Click Yes, I am sure. Make transaction..

  1. Confirm transaction in MetaMask popup.
Clone this wiki locally