pub trait WeightInfo {
Show 30 methods // Required methods fn bond() -> Weight; fn bond_extra() -> Weight; fn unbond() -> Weight; fn withdraw_unbonded_update(s: u32) -> Weight; fn withdraw_unbonded_kill(s: u32) -> Weight; fn validate() -> Weight; fn kick(k: u32) -> Weight; fn nominate(n: u32) -> Weight; fn chill() -> Weight; fn set_payee() -> Weight; fn set_controller() -> Weight; fn set_validator_count() -> Weight; fn force_no_eras() -> Weight; fn force_new_era() -> Weight; fn force_new_era_always() -> Weight; fn set_invulnerables(v: u32) -> Weight; fn force_unstake(s: u32) -> Weight; fn cancel_deferred_slash(s: u32) -> Weight; fn payout_stakers_dead_controller(n: u32) -> Weight; fn payout_stakers_alive_staked(n: u32) -> Weight; fn rebond(l: u32) -> Weight; fn reap_stash(s: u32) -> Weight; fn new_era(v: u32, n: u32) -> Weight; fn get_npos_voters(v: u32, n: u32) -> Weight; fn get_npos_targets(v: u32) -> Weight; fn set_staking_configs_all_set() -> Weight; fn set_staking_configs_all_remove() -> Weight; fn chill_other() -> Weight; fn force_apply_min_commission() -> Weight; fn set_min_commission() -> Weight;
}
Expand description

Weight functions needed for pallet_staking.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn withdraw_unbonded_update(s: u32) -> Weight

The range of component s is [0, 100].

source§

fn withdraw_unbonded_kill(s: u32) -> Weight

The range of component s is [0, 100].

source§

fn kick(k: u32) -> Weight

The range of component k is [1, 128].

source§

fn nominate(n: u32) -> Weight

The range of component n is [1, 16].

source§

fn set_invulnerables(v: u32) -> Weight

The range of component v is [0, 1000].

source§

fn force_unstake(s: u32) -> Weight

The range of component s is [0, 100].

source§

fn cancel_deferred_slash(s: u32) -> Weight

The range of component s is [1, 1000].

source§

fn payout_stakers_dead_controller(n: u32) -> Weight

The range of component n is [0, 256].

source§

fn payout_stakers_alive_staked(n: u32) -> Weight

The range of component n is [0, 256].

source§

fn rebond(l: u32) -> Weight

The range of component l is [1, 32].

source§

fn reap_stash(s: u32) -> Weight

The range of component s is [1, 100].

source§

fn new_era(v: u32, n: u32) -> Weight

The range of component v is [1, 10]. The range of component n is [0, 100].

source§

fn get_npos_voters(v: u32, n: u32) -> Weight

The range of component v is [500, 1000]. The range of component n is [500, 1000].

source§

fn get_npos_targets(v: u32) -> Weight

The range of component v is [500, 1000].

source§

fn bond() -> Weight

source§

fn bond_extra() -> Weight

source§

fn unbond() -> Weight

source§

fn validate() -> Weight

source§

fn chill() -> Weight

source§

fn set_payee() -> Weight

source§

fn set_controller() -> Weight

source§

fn set_validator_count() -> Weight

source§

fn force_no_eras() -> Weight

source§

fn force_new_era() -> Weight

source§

fn force_new_era_always() -> Weight

source§

fn set_staking_configs_all_set() -> Weight

source§

fn set_staking_configs_all_remove() -> Weight

source§

fn chill_other() -> Weight

source§

fn force_apply_min_commission() -> Weight

source§

fn set_min_commission() -> Weight

Implementors§