Trait pallet_ranked_collective::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn add_member() -> Weight;
fn remove_member(r: u32) -> Weight;
fn promote_member(r: u32) -> Weight;
fn demote_member(r: u32) -> Weight;
fn vote() -> Weight;
fn cleanup_poll(n: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_ranked_collective.
Required Methods§
fn add_member() -> Weight
fn remove_member(r: u32) -> Weight
fn promote_member(r: u32) -> Weight
fn demote_member(r: u32) -> Weight
fn vote() -> Weight
fn cleanup_poll(n: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn remove_member(r: u32) -> Weight
fn remove_member(r: u32) -> Weight
The range of component r
is [0, 10]
.
source§fn promote_member(r: u32) -> Weight
fn promote_member(r: u32) -> Weight
The range of component r
is [0, 10]
.
source§fn demote_member(r: u32) -> Weight
fn demote_member(r: u32) -> Weight
The range of component r
is [0, 10]
.
source§fn cleanup_poll(n: u32) -> Weight
fn cleanup_poll(n: u32) -> Weight
The range of component n
is [0, 100]
.