Skip to content

Set reserved tokens in tokens

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

Set reserved tokens in tokens 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 the 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, where n 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 with 255000000000000000000,500000000000000000000).
    • Fill inPercentageUnit input with 0 separated by commas. For example, 0,0.
    • Fill inPercentageDecimals input with 0 separated by commas. For example, 0,0.
  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