Skip to content

Set release agent

Victor edited this page Oct 13, 2017 · 11 revisions

Sets finalizeAgent contract address as a release agent of token contract

  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 in this network too.

  4. Send transaction to the address of the token contract with the data = 0x29ff4f53 + address_of_the_finalize_agent_contract.

where address_of_the_finalize_agent_contract - address of the finalize agent contract, normalized to 32 bytes (required number of zeros before address).

For example, if you need to set finalize agent address 0x1be7505450bcd62b2001db8eefb9be1706db45c6 as release agent for token, the data should be: 0x29ff4f530000000000000000000000001be7505450bcd62b2001db8eefb9be1706db45c6. Amount to send should be 0.

Clone this wiki locally