Ethereum IBC protocol
Deposit
// deposit ETH
function deposit(address toAddr, address extraToAddr) payable public
// deposit ERC20 TOKEN
function depositToken(address token, address toAddr, uint amount, address extraToAddr) publicevent Deposit(address tokenAddr, address addr, address toAddr, uint amount, uint depositId, address extraToAddr);// EthpeggingContract
event DepositValidated(address mainAddr, address tokenAddr, address addr, address toAddr, uint amount, uint depositId, address extraToAddr)
// BalanceContract
event BalanceChange(address indexed user, bytes32 indexed tokenId, uint balance);Withdrawal
Contract Methods
addToken
removeToken
relayDepositToken
validateDepositToken
checkValidateDepositToken
withdraw
withdraw
relayWithdraw
validateWithdraw
checkValidateWithdraw
_
Last updated