#
CONTRACT_ABI
Filling this field allows you to run un-verified Contracts with the same setup as Verified Contracts.
#
Setup
Input \abi=contract_abi_json
under CONTRACT_ABI
field.
Contract ABI must be JSON formatted properly, otherwise an exception will occur.
Looking at Disperse's Contract ABI as example, CONTRACT_ABI
should be filled with \abi=[{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"disperseTokenSimple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"disperseToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"disperseEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]
.
Or more simply, if you only need to interact with the disperseEther
function, you could simply input \abi=[{"constant":false,"inputs":[{"name":"recipients","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"disperseEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]
.
Keep in mind this is an advanced field to fill, make sure to understand it because it might cause you ETH losses in case it's not setup properly. For example, if it's used on an address which is not a contract.