Trait pallet_staking::weights::WeightInfo [−][src]
pub trait WeightInfo {}Show 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 set_history_depth(e: u32) -> Weight; fn reap_stash(s: u32) -> Weight; fn new_era(v: u32, n: u32) -> Weight; fn get_npos_voters(v: u32, n: u32, s: u32) -> Weight; fn get_npos_targets(v: u32) -> Weight; fn set_staking_limits() -> Weight; fn chill_other() -> Weight;
Expand description
Weight functions needed for pallet_staking.
Required methods
fn bond_extra() -> Weight
fn withdraw_unbonded_update(s: u32) -> Weight
fn withdraw_unbonded_kill(s: u32) -> 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 set_history_depth(e: u32) -> Weight
fn reap_stash(s: u32) -> Weight
fn get_npos_targets(v: u32) -> Weight
fn set_staking_limits() -> Weight
fn chill_other() -> Weight