deposit
function. To create your validator, you need to deposit
some abey
coin and register you validator public key. Delegators can bond their coin to the validator account and shares block reward by their portion. Validator can charge for additional fee
rate from the delegators reward.abey
token to depositcancel
transaction executed, the cancelled portion is locked in the contract for about 2 weeks. After the period, validator can withdraw the canceled coins.wei
abey
token to the deposit contract by append
function.getDeposit
function.getDeposit
function. there are 3 states for the deposit: staked
, locked
, unlocked
getDeposit
function outputs uint256
tuple of 3 items:(staked, locked, unlocked)undelegate
transaction, the cancelled portion is locked in the contract for about 2 weeks. After the period, delegator can withdraw the canceled token.getDelegate
function.getDelegate
return the balance state of a delegator. The state of token balance is similar to getDeposit
getDelegate
function outputs uint256
tuple of 3 items: (staked, locked, unlocked)