pub trait WeightInfo {
Show 22 methods // Required methods fn join() -> Weight; fn bond_extra_transfer() -> Weight; fn bond_extra_other() -> Weight; fn claim_payout() -> Weight; fn unbond() -> Weight; fn pool_withdraw_unbonded(s: u32) -> Weight; fn withdraw_unbonded_update(s: u32) -> Weight; fn withdraw_unbonded_kill(s: u32) -> Weight; fn create() -> Weight; fn nominate(n: u32) -> Weight; fn set_state() -> Weight; fn set_metadata(n: u32) -> Weight; fn set_configs() -> Weight; fn update_roles() -> Weight; fn chill() -> Weight; fn set_commission() -> Weight; fn set_commission_max() -> Weight; fn set_commission_change_rate() -> Weight; fn set_commission_claim_permission() -> Weight; fn set_claim_permission() -> Weight; fn claim_commission() -> Weight; fn adjust_pool_deposit() -> Weight;
}
Expand description

Weight functions needed for pallet_nomination_pools.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn join() -> Weight

Storage: NominationPools::MinJoinBond (r:1 w:0) Proof: NominationPools::MinJoinBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:2 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembersPerPool (r:1 w:0) Proof: NominationPools::MaxPoolMembersPerPool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembers (r:1 w:0) Proof: NominationPools::MaxPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::CounterForPoolMembers (r:1 w:1) Proof: NominationPools::CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:3 w:3) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn bond_extra_transfer() -> Weight

Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:3 w:2) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:3 w:3) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn bond_extra_other() -> Weight

Storage: NominationPools::ClaimPermissions (r:1 w:0) Proof: NominationPools::ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:3 w:3) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:3 w:3) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn claim_payout() -> Weight

Storage: NominationPools::ClaimPermissions (r:1 w:0) Proof: NominationPools::ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn unbond() -> Weight

Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:2 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:0) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:3 w:3) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: NominationPools::SubPoolsStorage (r:1 w:1) Proof: NominationPools::SubPoolsStorage (max_values: None, max_size: Some(24382), added: 26857, mode: MaxEncodedLen) Storage: NominationPools::CounterForSubPoolsStorage (r:1 w:1) Proof: NominationPools::CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn pool_withdraw_unbonded(s: u32) -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) The range of component s is [0, 100].

source§

fn withdraw_unbonded_update(s: u32) -> Weight

Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::SubPoolsStorage (r:1 w:1) Proof: NominationPools::SubPoolsStorage (max_values: None, max_size: Some(24382), added: 26857, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::CounterForPoolMembers (r:1 w:1) Proof: NominationPools::CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::ClaimPermissions (r:0 w:1) Proof: NominationPools::ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) The range of component s is [0, 100].

source§

fn withdraw_unbonded_kill(_s: u32) -> Weight

Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::SubPoolsStorage (r:1 w:1) Proof: NominationPools::SubPoolsStorage (max_values: None, max_size: Some(24382), added: 26857, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::SlashingSpans (r:1 w:0) Proof: Staking::SlashingSpans (max_values: None, max_size: None, mode: Measured) Storage: Balances::Locks (r:2 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:2 w:1) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: System::Account (r:2 w:2) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:0) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::CounterForPoolMembers (r:1 w:1) Proof: NominationPools::CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::ReversePoolIdLookup (r:1 w:1) Proof: NominationPools::ReversePoolIdLookup (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) Storage: NominationPools::CounterForReversePoolIdLookup (r:1 w:1) Proof: NominationPools::CounterForReversePoolIdLookup (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::CounterForRewardPools (r:1 w:1) Proof: NominationPools::CounterForRewardPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::CounterForSubPoolsStorage (r:1 w:1) Proof: NominationPools::CounterForSubPoolsStorage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::Metadata (r:1 w:1) Proof: NominationPools::Metadata (max_values: None, max_size: Some(270), added: 2745, mode: MaxEncodedLen) Storage: NominationPools::CounterForBondedPools (r:1 w:1) Proof: NominationPools::CounterForBondedPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) Storage: NominationPools::ClaimPermissions (r:0 w:1) Proof: NominationPools::ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen) The range of component s is [0, 100].

source§

fn create() -> Weight

Storage: NominationPools::LastPoolId (r:1 w:1) Proof: NominationPools::LastPoolId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::MinCreateBond (r:1 w:0) Proof: NominationPools::MinCreateBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::MinJoinBond (r:1 w:0) Proof: NominationPools::MinJoinBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::MaxPools (r:1 w:0) Proof: NominationPools::MaxPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::CounterForBondedPools (r:1 w:1) Proof: NominationPools::CounterForBondedPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::PoolMembers (r:1 w:1) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembersPerPool (r:1 w:0) Proof: NominationPools::MaxPoolMembersPerPool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembers (r:1 w:0) Proof: NominationPools::MaxPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::CounterForPoolMembers (r:1 w:1) Proof: NominationPools::CounterForPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:2 w:2) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Balances::Locks (r:2 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:2 w:1) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: NominationPools::TotalValueLocked (r:1 w:1) Proof: NominationPools::TotalValueLocked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::CounterForRewardPools (r:1 w:1) Proof: NominationPools::CounterForRewardPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::ReversePoolIdLookup (r:1 w:1) Proof: NominationPools::ReversePoolIdLookup (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) Storage: NominationPools::CounterForReversePoolIdLookup (r:1 w:1) Proof: NominationPools::CounterForReversePoolIdLookup (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Ledger (r:0 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

source§

fn nominate(n: u32) -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:1) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::MaxNominatorsCount (r:1 w:0) Proof: Staking::MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Validators (r:17 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:1 w:1) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:1 w:1) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: VoterList::CounterForListNodes (r:1 w:1) Proof: VoterList::CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::CounterForNominators (r:1 w:1) Proof: Staking::CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) The range of component n is [1, 16].

source§

fn set_state() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen)

source§

fn set_metadata(n: u32) -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::Metadata (r:1 w:1) Proof: NominationPools::Metadata (max_values: None, max_size: Some(270), added: 2745, mode: MaxEncodedLen) Storage: NominationPools::CounterForMetadata (r:1 w:1) Proof: NominationPools::CounterForMetadata (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) The range of component n is [1, 256].

source§

fn set_configs() -> Weight

Storage: NominationPools::MinJoinBond (r:0 w:1) Proof: NominationPools::MinJoinBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembers (r:0 w:1) Proof: NominationPools::MaxPoolMembers (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::MaxPoolMembersPerPool (r:0 w:1) Proof: NominationPools::MaxPoolMembersPerPool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::MinCreateBond (r:0 w:1) Proof: NominationPools::MinCreateBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:0 w:1) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: NominationPools::MaxPools (r:0 w:1) Proof: NominationPools::MaxPools (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn update_roles() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)

source§

fn chill() -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:1) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::CounterForNominators (r:1 w:1) Proof: Staking::CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:1 w:1) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:1 w:1) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) Storage: VoterList::CounterForListNodes (r:1 w:1) Proof: VoterList::CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn set_commission() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:1 w:0) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn set_commission_max() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn set_commission_change_rate() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)

source§

fn set_commission_claim_permission() -> Weight

Storage: NominationPools::BondedPools (r:1 w:1) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen)

source§

fn set_claim_permission() -> Weight

Storage: NominationPools::PoolMembers (r:1 w:0) Proof: NominationPools::PoolMembers (max_values: None, max_size: Some(237), added: 2712, mode: MaxEncodedLen) Storage: NominationPools::ClaimPermissions (r:1 w:1) Proof: NominationPools::ClaimPermissions (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)

source§

fn claim_commission() -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: NominationPools::RewardPools (r:1 w:1) Proof: NominationPools::RewardPools (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: NominationPools::GlobalMaxCommission (r:1 w:0) Proof: NominationPools::GlobalMaxCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn adjust_pool_deposit() -> Weight

Storage: NominationPools::BondedPools (r:1 w:0) Proof: NominationPools::BondedPools (max_values: None, max_size: Some(254), added: 2729, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:1) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:0) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>