Trait parachain_staking::weights::WeightInfo
source · pub trait WeightInfo {
Show 35 methods
// Required methods
fn set_total_selected() -> Weight;
fn set_collator_commission() -> Weight;
fn join_candidates(x: u32, y: u32) -> Weight;
fn schedule_leave_candidates(x: u32) -> Weight;
fn execute_leave_candidates(x: u32) -> Weight;
fn cancel_leave_candidates(x: u32) -> Weight;
fn go_offline() -> Weight;
fn go_online() -> Weight;
fn schedule_candidate_bond_more() -> Weight;
fn schedule_candidate_bond_less() -> Weight;
fn execute_candidate_bond_more() -> Weight;
fn execute_candidate_bond_less() -> Weight;
fn cancel_candidate_bond_more() -> Weight;
fn cancel_candidate_bond_less() -> Weight;
fn delegate(x: u32, y: u32) -> Weight;
fn schedule_leave_delegators() -> Weight;
fn execute_leave_delegators(x: u32) -> Weight;
fn cancel_leave_delegators() -> Weight;
fn schedule_revoke_delegation() -> Weight;
fn schedule_delegator_bond_more() -> Weight;
fn schedule_delegator_bond_less() -> Weight;
fn execute_revoke_delegation() -> Weight;
fn execute_delegator_bond_more() -> Weight;
fn execute_delegator_bond_less() -> Weight;
fn cancel_revoke_delegation() -> Weight;
fn cancel_delegator_bond_more() -> Weight;
fn cancel_delegator_bond_less() -> Weight;
fn add_staking_liquidity_token(x: u32) -> Weight;
fn remove_staking_liquidity_token(x: u32) -> Weight;
fn passive_session_change() -> Weight;
fn active_session_change(x: u32, y: u32, z: u32) -> Weight;
fn payout_collator_rewards() -> Weight;
fn payout_delegator_reward() -> Weight;
fn update_candidate_aggregator() -> Weight;
fn aggregator_update_metadata() -> Weight;
}
Expand description
Weight functions needed for parachain_staking.