Delegate an amount to a validator. The promise settles when the delegation is complete.
the validator to delegate to
the amount to delegate
void
deposit payment (from zoe, for example) to the account
Register a handler that receives an event each time ICS-20 transfers are sent or received by the underlying account.
Handler includes VTransferIBCEvent and FungibleTokenPacketData that can be used for application logic.
Each account may be associated with at most one handler at a given time.
Does not grant the handler the ability to intercept a transfer. For a
blocking handler, aka 'IBC Hooks', leverage registerActiveTap
from
transferMiddleware
directly.
Redelegate from one delegator to another. Settles when the redelegation is established, not 21 days later.
the current validator for the delegation.
the validator that will receive the delegation.
how much to redelegate.
Undelegate multiple delegations (concurrently). To delegate independently, pass an array with one item. Resolves when the undelegation is complete and the tokens are no longer bonded. Note it may take weeks. The unbonding time is padded by 10 minutes to account for clock skew.
the delegation to undelegate
withdraw a Payment from the account
Withdraw rewards from a specific validator. The promise settles when the rewards are withdrawn.
the validator to withdraw rewards from
Withdraw rewards from all validators. The promise settles when the rewards are withdrawn.
The total amounts of rewards withdrawn
Methods supported only on Agoric chain accounts