pallet_parachain_staking::weights

Trait WeightInfo

Source
pub trait WeightInfo {
Show 37 methods // Required methods fn set_staking_expectations() -> Weight; fn set_inflation() -> 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 set_candidate_bond_to_zero(x: u32) -> Weight; fn cancel_candidate_bond_less() -> 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; fn mark_collators_as_inactive(x: u32) -> 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_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 set_candidate_bond_to_zero(x: u32) -> Weight

Source

fn cancel_candidate_bond_less() -> 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

Source

fn mark_collators_as_inactive(x: u32) -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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: ParachainStaking::InflationConfig (max_values: Some(1), max_size: None, mode: Measured)

Source§

fn set_inflation() -> Weight

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

Source§

fn set_inflation_distribution_config() -> Weight

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

Source§

fn set_total_selected() -> Weight

Storage: ParachainStaking::TotalSelected (r:1 w:1) Proof: 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: 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: ParachainStaking::TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::InflationConfig (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegatorState (r:1 w:0) Proof: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: ParachainStaking::Total (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:0 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:0 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:1 w:1) Proof: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegatorState (r:349 w:349) Proof: 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: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: ParachainStaking::BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:1 w:1) Proof: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegatorState (r:349 w:349) Proof: 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: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: ParachainStaking::BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (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: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [1, 200].

Source§

fn schedule_candidate_bond_less() -> Weight

Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [1, 200].

Source§

fn set_candidate_bond_to_zero(x: u32) -> Weight

Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) The range of component x is [1, 200].

Source§

fn cancel_candidate_bond_less() -> Weight

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

Source§

fn schedule_revoke_delegation(x: u32) -> Weight

Storage: ParachainStaking::DelegatorState (r:1 w:1) Proof: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:0) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: 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: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: 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: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: ParachainStaking::BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: 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: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: ParachainStaking::BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:1) Proof: 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: ParachainStaking::Points (max_values: None, max_size: None, mode: Measured)

Source§

fn get_rewardable_delegators(y: u32) -> Weight

Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:0) Proof: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:0) Proof: 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: ParachainStaking::TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:0) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:51 w:0) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:51 w:0) Proof: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:51 w:0) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:51 w:0) Proof: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::SelectedCandidates (r:0 w:1) Proof: ParachainStaking::SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::AtStake (r:0 w:51) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:0) Proof: 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: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: ParachainStaking::Total (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: 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: ParachainStaking::DelayedPayouts (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::Points (r:1 w:0) Proof: ParachainStaking::Points (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AtStake (r:2 w:1) Proof: ParachainStaking::AtStake (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AwardedPts (r:1 w:1) Proof: ParachainStaking::AwardedPts (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::DelegationScheduledRequests (r:1 w:0) Proof: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: MoonbeamOrbiters::OrbiterPerRound (r:1 w:0) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:1 w:1) Proof: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:1 w:1) Proof: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: ParachainStaking::BottomDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: 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: 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: ParachainStaking::DelegatorState (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AutoCompoundingDelegations (r:1 w:1) Proof: ParachainStaking::AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::TopDelegations (r:1 w:1) Proof: ParachainStaking::TopDelegations (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::BottomDelegations (r:1 w:1) Proof: 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: ParachainStaking::DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::Total (r:1 w:1) Proof: 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: ParachainStaking::EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::TotalSelected (r:1 w:0) Proof: ParachainStaking::TotalSelected (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::SelectedCandidates (r:1 w:0) Proof: ParachainStaking::SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainStaking::WasInactive (r:2 w:0) Proof: ParachainStaking::WasInactive (max_values: None, max_size: None, mode: Measured) Storage: MoonbeamOrbiters::OrbiterPerRound (r:1 w:0) Proof: MoonbeamOrbiters::OrbiterPerRound (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidateInfo (r:1 w:1) Proof: ParachainStaking::CandidateInfo (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::CandidatePool (r:1 w:1) Proof: ParachainStaking::CandidatePool (max_values: Some(1), max_size: None, mode: Measured)

Source§

fn mark_collators_as_inactive(x: u32) -> Weight

Storage: ParachainStaking::AtStake (r:52 w:0) Proof: ParachainStaking::AtStake (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::AwardedPts (r:51 w:0) Proof: ParachainStaking::AwardedPts (max_values: None, max_size: None, mode: Measured) Storage: ParachainStaking::WasInactive (r:0 w:51) Proof: ParachainStaking::WasInactive (max_values: None, max_size: None, mode: Measured) The range of component x is [0, 50].

Source§

fn base_on_initialize() -> Weight

Implementors§

Source§

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