Skip to content

Change max cap for tier

Victor edited this page Oct 11, 2017 · 19 revisions
  1. Open MetaMask Chrome plugin

  2. Connect to the network, where the crowdsale contract is deployed. For example mainnet.

  3. Choose an account, which is the owner of crowdsale. This account should has sufficient balance at this network too.

  4. Send transaction to the address of the crowdsale contract with the data = 0x2c2de40a + hex(n*10**decimals).

where n - maxCap of the tier,

decimals - token decimals

hex(x) - hexademical representation of x, normalized to 32 bytes (required number of zeros before hex).

For example, if you need to set maxCap = 1000 for tier of crowdsale joined with token of 18 decimals, the data should be: 0x2c2de40a00000000000000000000000000000000000000000000003635c9adc5dea00000. Amount to send should be 0.

Clone this wiki locally