Trait parachain_staking::default_weights::WeightInfo
source · pub trait WeightInfo {
Show 24 methods
// Required methods
fn on_initialize_no_action() -> Weight;
fn on_initialize_round_update() -> Weight;
fn on_initialize_network_rewards() -> Weight;
fn force_new_round() -> Weight;
fn set_inflation(n: u32, m: u32) -> Weight;
fn set_max_selected_candidates(n: u32, m: u32) -> Weight;
fn set_blocks_per_round() -> Weight;
fn force_remove_candidate(n: u32, m: u32) -> Weight;
fn join_candidates(n: u32, m: u32) -> Weight;
fn init_leave_candidates(n: u32, m: u32) -> Weight;
fn cancel_leave_candidates(n: u32, m: u32) -> Weight;
fn execute_leave_candidates(n: u32, m: u32) -> Weight;
fn candidate_stake_more(n: u32, m: u32, u: u32) -> Weight;
fn candidate_stake_less(n: u32, m: u32) -> Weight;
fn join_delegators(n: u32, m: u32) -> Weight;
fn delegator_stake_more(n: u32, m: u32, u: u32) -> Weight;
fn delegator_stake_less(n: u32, m: u32) -> Weight;
fn leave_delegators(n: u32, m: u32) -> Weight;
fn unlock_unstaked(u: u32) -> Weight;
fn set_max_candidate_stake() -> Weight;
fn increment_delegator_rewards() -> Weight;
fn increment_collator_rewards() -> Weight;
fn claim_rewards() -> Weight;
fn execute_scheduled_reward_change(n: u32, m: u32) -> Weight;
}
Expand description
Weight functions needed for parachain_staking.
Required Methods§
fn on_initialize_no_action() -> Weight
fn on_initialize_round_update() -> Weight
fn on_initialize_network_rewards() -> Weight
fn force_new_round() -> Weight
fn set_inflation(n: u32, m: u32) -> Weight
fn set_max_selected_candidates(n: u32, m: u32) -> Weight
fn set_blocks_per_round() -> Weight
fn force_remove_candidate(n: u32, m: u32) -> Weight
fn join_candidates(n: u32, m: u32) -> Weight
fn init_leave_candidates(n: u32, m: u32) -> Weight
fn cancel_leave_candidates(n: u32, m: u32) -> Weight
fn execute_leave_candidates(n: u32, m: u32) -> Weight
fn candidate_stake_more(n: u32, m: u32, u: u32) -> Weight
fn candidate_stake_less(n: u32, m: u32) -> Weight
fn join_delegators(n: u32, m: u32) -> Weight
fn delegator_stake_more(n: u32, m: u32, u: u32) -> Weight
fn delegator_stake_less(n: u32, m: u32) -> Weight
fn leave_delegators(n: u32, m: u32) -> Weight
fn unlock_unstaked(u: u32) -> Weight
fn set_max_candidate_stake() -> Weight
fn increment_delegator_rewards() -> Weight
fn increment_collator_rewards() -> Weight
fn claim_rewards() -> Weight
fn execute_scheduled_reward_change(n: u32, m: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn on_initialize_no_action() -> Weight
fn on_initialize_no_action() -> Weight
Storage: ParachainStaking Round (r:1 w:0) Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
source§fn on_initialize_round_update() -> Weight
fn on_initialize_round_update() -> Weight
Storage: ParachainStaking Round (r:1 w:1) Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
source§fn on_initialize_network_rewards() -> Weight
fn on_initialize_network_rewards() -> Weight
Storage: ParachainStaking Round (r:1 w:1) Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen) Storage: ParachainStaking InflationConfig (r:1 w:0) Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen) Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0) Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0) Proof: ParachainStaking MaxSelectedCandidates (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(132), added: 2607, mode: MaxEncodedLen)
source§fn force_new_round() -> Weight
fn force_new_round() -> Weight
Storage: ParachainStaking ForceNewRound (r:0 w:1) Proof: ParachainStaking ForceNewRound (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
source§fn set_inflation(n: u32, m: u32) -> Weight
fn set_inflation(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:76 w:0)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:75 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:2700 w:2700)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:2700 w:2700)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:0)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:1)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
Storage: ParachainStaking CounterForCandidatePool (r:1 w:0)
Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [0, 75]
.
The range of component m
is [0, 35]
.
source§fn set_max_selected_candidates(n: u32, m: u32) -> Weight
fn set_max_selected_candidates(n: u32, m: u32) -> Weight
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:1)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:0)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:59 w:0)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
The range of component n
is [16, 75]
.
The range of component m
is [0, 35]
.
source§fn set_blocks_per_round() -> Weight
fn set_blocks_per_round() -> Weight
Storage: ParachainStaking Round (r:1 w:1) Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
source§fn force_remove_candidate(n: u32, m: u32) -> Weight
fn force_remove_candidate(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:17 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:1)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:36 w:36)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:36 w:36)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:36 w:36)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:35 w:35)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: Session Validators (r:1 w:0)
Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
Storage: Session DisabledValidators (r:1 w:1)
Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured)
Storage: System Digest (r:1 w:1)
Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking CounterForCandidatePool (r:1 w:1)
Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [17, 75]
.
The range of component m
is [0, 35]
.
source§fn join_candidates(n: u32, m: u32) -> Weight
fn join_candidates(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:0)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0)
Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
Storage: Balances Locks (r:1 w:1)
Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking CounterForCandidatePool (r:1 w:1)
Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
The range of component n
is [1, 74]
.
The range of component m
is [0, 35]
.
source§fn init_leave_candidates(n: u32, m: u32) -> Weight
fn init_leave_candidates(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:17 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking Round (r:1 w:0)
Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
The range of component n
is [17, 74]
.
The range of component m
is [0, 35]
.
source§fn cancel_leave_candidates(n: u32, m: u32) -> Weight
fn cancel_leave_candidates(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:2 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
The range of component n
is [17, 74]
.
The range of component m
is [0, 35]
.
source§fn execute_leave_candidates(n: u32, m: u32) -> Weight
fn execute_leave_candidates(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking Round (r:1 w:0)
Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:1)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:36 w:36)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:36 w:36)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:0)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:36 w:36)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:35 w:35)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: Session Validators (r:1 w:0)
Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured)
Storage: Session DisabledValidators (r:1 w:1)
Proof Skipped: Session DisabledValidators (max_values: Some(1), max_size: None, mode: Measured)
Storage: System Digest (r:1 w:1)
Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainStaking CounterForCandidatePool (r:1 w:1)
Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [17, 74]
.
The range of component m
is [0, 35]
.
source§fn candidate_stake_more(n: u32, m: u32, u: u32) -> Weight
fn candidate_stake_more(n: u32, m: u32, u: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking MaxCollatorCandidateStake (r:1 w:0)
Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: Balances Locks (r:1 w:1)
Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:1 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:1 w:1)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
The range of component n
is [1, 74]
.
The range of component m
is [0, 35]
.
The range of component u
is [0, 9]
.
source§fn candidate_stake_less(n: u32, m: u32) -> Weight
fn candidate_stake_less(n: u32, m: u32) -> Weight
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:1 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:1 w:1)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
The range of component n
is [1, 74]
.
The range of component m
is [0, 35]
.
source§fn join_delegators(n: u32, m: u32) -> Weight
fn join_delegators(n: u32, m: u32) -> Weight
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:2 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking LastDelegation (r:1 w:1)
Proof: ParachainStaking LastDelegation (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Round (r:1 w:0)
Proof: ParachainStaking Round (max_values: Some(1), max_size: Some(20), added: 515, mode: MaxEncodedLen)
Storage: Balances Locks (r:1 w:1)
Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:0 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
The range of component n
is [1, 75]
.
The range of component m
is [1, 34]
.
source§fn delegator_stake_more(n: u32, m: u32, u: u32) -> Weight
fn delegator_stake_more(n: u32, m: u32, u: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: Balances Locks (r:1 w:1)
Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:1 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:1 w:1)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
The range of component n
is [1, 75]
.
The range of component m
is [1, 34]
.
The range of component u
is [1, 9]
.
source§fn delegator_stake_less(n: u32, m: u32) -> Weight
fn delegator_stake_less(n: u32, m: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:1 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:1 w:1)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
The range of component n
is [1, 75]
.
The range of component m
is [1, 34]
.
source§fn leave_delegators(n: u32, m: u32) -> Weight
fn leave_delegators(n: u32, m: u32) -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:1)
Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:1 w:1)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:1 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:1 w:1)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:1 w:1)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:1)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:0)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: ParachainStaking TopCandidates (r:1 w:1)
Proof: ParachainStaking TopCandidates (max_values: Some(1), max_size: Some(3602), added: 4097, mode: MaxEncodedLen)
Storage: ParachainStaking MaxSelectedCandidates (r:1 w:0)
Proof: ParachainStaking MaxSelectedCandidates (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [1, 75]
.
The range of component m
is [1, 34]
.
source§fn unlock_unstaked(u: u32) -> Weight
fn unlock_unstaked(u: u32) -> Weight
Storage: ParachainStaking Unstaking (r:1 w:1)
Proof: ParachainStaking Unstaking (max_values: None, max_size: Some(281), added: 2756, mode: MaxEncodedLen)
Storage: Balances Locks (r:1 w:1)
Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
The range of component u
is [1, 9]
.
source§fn set_max_candidate_stake() -> Weight
fn set_max_candidate_stake() -> Weight
Storage: ParachainStaking MaxCollatorCandidateStake (r:0 w:1) Proof: ParachainStaking MaxCollatorCandidateStake (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
source§fn increment_delegator_rewards() -> Weight
fn increment_delegator_rewards() -> Weight
Storage: ParachainStaking DelegatorState (r:1 w:0) Proof: ParachainStaking DelegatorState (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) Storage: ParachainStaking BlocksAuthored (r:1 w:0) Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: ParachainStaking BlocksRewarded (r:1 w:1) Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: ParachainStaking Rewards (r:1 w:1) Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: ParachainStaking TotalCollatorStake (r:1 w:0) Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) Storage: ParachainStaking InflationConfig (r:1 w:0) Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
source§fn increment_collator_rewards() -> Weight
fn increment_collator_rewards() -> Weight
Storage: ParachainStaking CandidatePool (r:1 w:0) Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen) Storage: ParachainStaking BlocksAuthored (r:1 w:0) Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: ParachainStaking BlocksRewarded (r:1 w:1) Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) Storage: ParachainStaking Rewards (r:1 w:1) Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: ParachainStaking TotalCollatorStake (r:1 w:0) Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) Storage: ParachainStaking InflationConfig (r:1 w:0) Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
source§fn claim_rewards() -> Weight
fn claim_rewards() -> Weight
Storage: ParachainStaking Rewards (r:1 w:1) Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
source§fn execute_scheduled_reward_change(n: u32, m: u32) -> Weight
fn execute_scheduled_reward_change(n: u32, m: u32) -> Weight
Storage: ParachainStaking LastRewardReduction (r:1 w:1)
Proof: ParachainStaking LastRewardReduction (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
Storage: ParachainStaking InflationConfig (r:1 w:1)
Proof: ParachainStaking InflationConfig (max_values: Some(1), max_size: Some(96), added: 591, mode: MaxEncodedLen)
Storage: ParachainStaking CandidatePool (r:76 w:0)
Proof: ParachainStaking CandidatePool (max_values: None, max_size: Some(1790), added: 4265, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksAuthored (r:75 w:0)
Proof: ParachainStaking BlocksAuthored (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking BlocksRewarded (r:2700 w:2700)
Proof: ParachainStaking BlocksRewarded (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
Storage: ParachainStaking Rewards (r:2700 w:2700)
Proof: ParachainStaking Rewards (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen)
Storage: ParachainStaking TotalCollatorStake (r:1 w:0)
Proof: ParachainStaking TotalCollatorStake (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
Storage: ParachainStaking CounterForCandidatePool (r:1 w:0)
Proof: ParachainStaking CounterForCandidatePool (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [0, 75]
.
The range of component m
is [0, 35]
.