Trait pallet_staking::weights::WeightInfo
source · 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§
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
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn withdraw_unbonded_update(s: u32) -> Weight
fn withdraw_unbonded_update(s: u32) -> Weight
The range of component s
is [0, 100]
.
source§fn withdraw_unbonded_kill(s: u32) -> Weight
fn withdraw_unbonded_kill(s: u32) -> Weight
The range of component s
is [0, 100]
.
source§fn set_invulnerables(v: u32) -> Weight
fn set_invulnerables(v: u32) -> Weight
The range of component v
is [0, 1000]
.
source§fn force_unstake(s: u32) -> Weight
fn force_unstake(s: u32) -> Weight
The range of component s
is [0, 100]
.
source§fn cancel_deferred_slash(s: u32) -> Weight
fn cancel_deferred_slash(s: u32) -> Weight
The range of component s
is [1, 1000]
.
source§fn payout_stakers_dead_controller(n: u32) -> Weight
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
fn payout_stakers_alive_staked(n: u32) -> Weight
The range of component n
is [0, 256]
.
source§fn reap_stash(s: u32) -> Weight
fn reap_stash(s: u32) -> Weight
The range of component s
is [1, 100]
.
source§fn new_era(v: u32, n: u32) -> Weight
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
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
fn get_npos_targets(v: u32) -> Weight
The range of component v
is [500, 1000]
.