Expand description
Functions§
- adjust_
pool_ deposit - Top up the deficit or withdraw the excess ED from the pool.
- apply_
slash - Apply a pending slash on a member.
- bond_
extra - Bond
extra
more funds fromorigin
into the pool to which they already belong. - bond_
extra_ other origin
bonds funds fromextra
for some pool membermember
into their respective pools.- chill
- Chill on behalf of the pool.
- claim_
commission - Claim pending commission.
- claim_
payout - A bonded member can use this to claim their payout based on the rewards that the pool has accumulated since their last claimed payout (OR since joining if this is their first time claiming rewards). The payout will be transferred to the member’s account.
- claim_
payout_ other origin
can claim payouts on some pool memberother
’s behalf.- create
- Create a new delegation pool.
- create_
with_ pool_ id - Create a new delegation pool with a previously used pool id
- join
- Stake funds with a pool. The amount to bond is delegated (or transferred based on
adapter::StakeStrategyType
) from the member to the pool account and immediately increases the pool’s bond. - migrate_
delegation - Migrates delegated funds from the pool account to the
member_account
. - migrate_
pool_ to_ delegate_ stake - Migrate pool from
adapter::StakeStrategyType::Transfer
toadapter::StakeStrategyType::Delegate
. - nominate
- Nominate on behalf of the pool.
- pool_
withdraw_ unbonded - Call
withdraw_unbonded
for the pools account. This call can be made by any account. - set_
claim_ permission - Allows a pool member to set a claim permission to allow or disallow permissionless bonding and withdrawing.
- set_
commission - Set the commission of a pool.
Both a commission percentage and a commission payee must be provided in the
current
tuple. Where acurrent
ofNone
is provided, any current commission will be removed. - set_
commission_ change_ rate - Set the commission change rate for a pool.
- set_
commission_ claim_ permission - Set or remove a pool’s commission claim permission.
- set_
commission_ max - Set the maximum commission of a pool.
- set_
configs - Update configurations for the nomination pools. The origin for this call must be
Config::AdminOrigin
. - set_
metadata - Set a new metadata for the pool.
- set_
state - Set a new state for the pool.
- unbond
- Unbond up to
unbonding_points
of themember_account
’s funds from the pool. It implicitly collects the rewards one last time, since not doing so would mean some rewards would be forfeited. - update_
roles - Update the roles of the pool.
- withdraw_
unbonded - Withdraw unbonded funds from
member_account
. If no bonded funds can be unbonded, an error is returned.