pub trait WeightInfo {
Show 39 methods // Required methods fn set_staking_expectations() -> Weight; fn set_inflation() -> Weight; fn set_parachain_bond_account() -> Weight; fn set_parachain_bond_reserve_percent() -> Weight; fn set_inflation_distribution_config() -> Weight; fn set_total_selected() -> Weight; fn set_collator_commission() -> Weight; fn set_blocks_per_round() -> Weight; fn join_candidates(x: u32) -> Weight; fn schedule_leave_candidates(x: u32) -> Weight; fn execute_leave_candidates_worst_case(x: u32) -> Weight; fn execute_leave_candidates_ideal(x: u32, y: u32) -> Weight; fn cancel_leave_candidates(x: u32) -> Weight; fn go_offline(x: u32) -> Weight; fn go_online(x: u32) -> Weight; fn candidate_bond_more(x: u32) -> Weight; fn schedule_candidate_bond_less() -> Weight; fn execute_candidate_bond_less(x: u32) -> Weight; fn cancel_candidate_bond_less() -> Weight; fn set_candidate_bond_to_zero(x: u32) -> Weight; fn delegate(x: u32, y: u32) -> Weight; fn schedule_revoke_delegation(x: u32) -> Weight; fn delegator_bond_more(x: u32) -> Weight; fn schedule_delegator_bond_less(x: u32) -> Weight; fn execute_revoke_delegation() -> Weight; fn execute_delegator_revoke_delegation_worst() -> Weight; fn execute_delegator_bond_less_worst() -> Weight; fn cancel_delegation_request(x: u32) -> Weight; fn prepare_staking_payouts() -> Weight; fn get_rewardable_delegators(y: u32) -> Weight; fn select_top_candidates(x: u32, y: u32) -> Weight; fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight; fn pay_one_collator_reward(y: u32) -> Weight; fn base_on_initialize() -> Weight; fn set_auto_compound(x: u32, y: u32) -> Weight; fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight; fn delegate_with_auto_compound_worst() -> Weight; fn mint_collator_reward() -> Weight; fn notify_inactive_collator() -> Weight;
}
Expand description

Weight functions needed for pallet_parachain_staking.

Required Methods§

source

fn set_staking_expectations() -> Weight

source

fn set_inflation() -> Weight

source

fn set_parachain_bond_account() -> Weight

source

fn set_parachain_bond_reserve_percent() -> Weight

source

fn set_inflation_distribution_config() -> Weight

source

fn set_total_selected() -> Weight

source

fn set_collator_commission() -> Weight

source

fn set_blocks_per_round() -> Weight

source

fn join_candidates(x: u32) -> Weight

source

fn schedule_leave_candidates(x: u32) -> Weight

source

fn execute_leave_candidates_worst_case(x: u32) -> Weight

source

fn execute_leave_candidates_ideal(x: u32, y: u32) -> Weight

source

fn cancel_leave_candidates(x: u32) -> Weight

source

fn go_offline(x: u32) -> Weight

source

fn go_online(x: u32) -> Weight

source

fn candidate_bond_more(x: u32) -> Weight

source

fn schedule_candidate_bond_less() -> Weight

source

fn execute_candidate_bond_less(x: u32) -> Weight

source

fn cancel_candidate_bond_less() -> Weight

source

fn set_candidate_bond_to_zero(x: u32) -> Weight

source

fn delegate(x: u32, y: u32) -> Weight

source

fn schedule_revoke_delegation(x: u32) -> Weight

source

fn delegator_bond_more(x: u32) -> Weight

source

fn schedule_delegator_bond_less(x: u32) -> Weight

source

fn execute_revoke_delegation() -> Weight

source

fn execute_delegator_revoke_delegation_worst() -> Weight

source

fn execute_delegator_bond_less_worst() -> Weight

source

fn cancel_delegation_request(x: u32) -> Weight

source

fn prepare_staking_payouts() -> Weight

source

fn get_rewardable_delegators(y: u32) -> Weight

source

fn select_top_candidates(x: u32, y: u32) -> Weight

source

fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight

source

fn pay_one_collator_reward(y: u32) -> Weight

source

fn base_on_initialize() -> Weight

source

fn set_auto_compound(x: u32, y: u32) -> Weight

source

fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight

source

fn delegate_with_auto_compound_worst() -> Weight

source

fn mint_collator_reward() -> Weight

source

fn notify_inactive_collator() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_staking_expectations() -> Weight

Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_inflation() -> Weight

Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_parachain_bond_account() -> Weight

Storage: ParachainStaking ParachainBondInfo (r:1 w:1) Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_parachain_bond_reserve_percent() -> Weight

Storage: ParachainStaking ParachainBondInfo (r:1 w:1) Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_total_selected() -> Weight

Storage: ParachainStaking TotalSelected (r:1 w:1) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_collator_commission() -> Weight

Storage: ParachainStaking CollatorCommission (r:1 w:1) Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_blocks_per_round() -> Weight

Storage: ParachainStaking TotalSelected (r:1 w:0) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking InflationConfig (r:1 w:1) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)

source§

fn join_candidates(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegatorState (r:1 w:0) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:0 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:0 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) The range of component x is [3, 200].

source§

fn schedule_leave_candidates(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [3, 200].

source§

fn execute_leave_candidates_worst_case(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegatorState (r:349 w:349) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:350 w:350) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:350 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:350 w:350) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [2, 350].

source§

fn execute_leave_candidates_ideal(x: u32, _y: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegatorState (r:349 w:349) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:350 w:350) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:350 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:350 w:350) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [2, 350]. The range of component y is [2, 350].

source§

fn cancel_leave_candidates(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [3, 200].

source§

fn go_offline(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [1, 200].

source§

fn go_online(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [1, 200].

source§

fn candidate_bond_more(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) The range of component x is [1, 200].

source§

fn schedule_candidate_bond_less() -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)

source§

fn execute_candidate_bond_less(x: u32) -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) The range of component x is [1, 200].

source§

fn cancel_candidate_bond_less() -> Weight

Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)

source§

fn delegate(x: u32, y: u32) -> Weight

Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [3, 100]. The range of component y is [2, 300].

source§

fn schedule_revoke_delegation(x: u32) -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 349].

source§

fn delegator_bond_more(x: u32) -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [0, 349].

source§

fn schedule_delegator_bond_less(x: u32) -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 349].

source§

fn execute_revoke_delegation() -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)

source§

fn execute_delegator_revoke_delegation_worst() -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)

source§

fn execute_delegator_bond_less_worst() -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)

source§

fn cancel_delegation_request(x: u32) -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 349].

source§

fn prepare_staking_payouts() -> Weight

Storage: ParachainStaking Points (r:1 w:0) Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking Staked (r:1 w:1) Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking InflationConfig (r:1 w:0) Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking ParachainBondInfo (r:1 w:0) Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking CollatorCommission (r:1 w:0) Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking DelayedPayouts (r:0 w:1) Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)

source§

fn get_rewardable_delegators(y: u32) -> Weight

Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:0) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) The range of component y is [0, 100].

source§

fn select_top_candidates(x: u32, y: u32) -> Weight

Storage: ParachainStaking TotalSelected (r:1 w:0) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:0) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:51 w:0) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:51 w:0) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:51 w:0) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:51 w:0) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking SelectedCandidates (r:0 w:1) Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking AtStake (r:0 w:51) Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 50]. The range of component y is [0, 100].

source§

fn pay_one_collator_reward_best(x: u32, y: u32, z: u32) -> Weight

Storage: System Account (r:349 w:349) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegatorState (r:349 w:349) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:349 w:349) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:349 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 349]. The range of component y is [0, 349]. The range of component z is [0, 349].

source§

fn pay_one_collator_reward(y: u32) -> Weight

Storage: ParachainStaking DelayedPayouts (r:1 w:0) Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking Points (r:1 w:0) Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AtStake (r:2 w:1) Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AwardedPts (r:1 w:1) Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0) Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:301 w:301) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) The range of component y is [0, 300].

source§

fn set_auto_compound(x: u32, y: u32) -> Weight

Storage: ParachainStaking DelegatorState (r:1 w:0) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 300]. The range of component y is [0, 100].

source§

fn delegate_with_auto_compound(x: u32, y: u32, z: u32) -> Weight

Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegatorState (r:1 w:1) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: Balances Locks (r:1 w:1) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:1 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [0, 350]. The range of component y is [0, 349]. The range of component z is [0, 99].

source§

fn delegate_with_auto_compound_worst() -> Weight

Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen) Storage: ParachainStaking DelegatorState (r:2 w:2) Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1) Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking TopDelegations (r:1 w:1) Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking BottomDelegations (r:1 w:1) Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: Balances Locks (r:2 w:2) Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen) Storage: Balances Freezes (r:2 w:0) Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen) Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking Total (r:1 w:1) Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)

source§

fn mint_collator_reward() -> Weight

Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)

source§

fn notify_inactive_collator() -> Weight

Storage: ParachainStaking EnableMarkingOffline (r:1 w:0) Proof Skipped: ParachainStaking EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking TotalSelected (r:1 w:0) Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking SelectedCandidates (r:1 w:0) Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking AtStake (r:2 w:0) Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking AwardedPts (r:2 w:0) Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0) Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidateInfo (r:1 w:1) Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking CandidatePool (r:1 w:1) Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)

source§

fn set_inflation_distribution_config() -> Weight

source§

fn set_candidate_bond_to_zero(x: u32) -> Weight

source§

fn base_on_initialize() -> Weight

Implementors§

source§

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