mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 20:51:05 +00:00
@@ -43,7 +43,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ### Join
|
//! ### Join
|
||||||
//!
|
//!
|
||||||
//! A account can stake funds with a nomination pool by calling [`Call::join`].
|
//! An account can stake funds with a nomination pool by calling [`Call::join`].
|
||||||
//!
|
//!
|
||||||
//! ### Claim rewards
|
//! ### Claim rewards
|
||||||
//!
|
//!
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
//! [`Call::unbond`] and [`Call::withdraw_unbonded`]. Once a pool is in destroying state, it
|
//! [`Call::unbond`] and [`Call::withdraw_unbonded`]. Once a pool is in destroying state, it
|
||||||
//! cannot be reverted to another state.
|
//! cannot be reverted to another state.
|
||||||
//!
|
//!
|
||||||
//! A pool has 3 administrative roles (see [`PoolRoles`]):
|
//! A pool has 4 administrative roles (see [`PoolRoles`]):
|
||||||
//!
|
//!
|
||||||
//! * Depositor: creates the pool and is the initial member. They can only leave the pool once all
|
//! * Depositor: creates the pool and is the initial member. They can only leave the pool once all
|
||||||
//! other members have left. Once they fully leave the pool is destroyed.
|
//! other members have left. Once they fully leave the pool is destroyed.
|
||||||
@@ -297,8 +297,8 @@
|
|||||||
//! * PoolMembers cannot vote with their staked funds because they are transferred into the pools
|
//! * PoolMembers cannot vote with their staked funds because they are transferred into the pools
|
||||||
//! account. In the future this can be overcome by allowing the members to vote with their bonded
|
//! account. In the future this can be overcome by allowing the members to vote with their bonded
|
||||||
//! funds via vote splitting.
|
//! funds via vote splitting.
|
||||||
//! * PoolMembers cannot quickly transfer to another pool if they do no like nominations, instead
|
//! * PoolMembers cannot quickly transfer to another pool if they do not like the nominations,
|
||||||
//! they must wait for the unbonding duration.
|
//! instead they must wait for the unbonding duration.
|
||||||
//!
|
//!
|
||||||
//! # Runtime builder warnings
|
//! # Runtime builder warnings
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ impl sp_staking::StakingInterface for StakingMock {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "runtime-benchmarks")]
|
||||||
fn nominations(_: Self::AccountId) -> Option<Vec<Self::AccountId>> {
|
fn nominations(_: Self::AccountId) -> Option<Vec<Self::AccountId>> {
|
||||||
Nominations::get()
|
Nominations::get()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user