Trait pallet_treasury::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn spend() -> Weight;
fn propose_spend() -> Weight;
fn reject_proposal() -> Weight;
fn approve_proposal(p: u32) -> Weight;
fn remove_approval() -> Weight;
fn on_initialize_proposals(p: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_treasury.
Required Methods§
fn spend() -> Weight
fn propose_spend() -> Weight
fn reject_proposal() -> Weight
fn approve_proposal(p: u32) -> Weight
fn remove_approval() -> Weight
fn on_initialize_proposals(p: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn approve_proposal(p: u32) -> Weight
fn approve_proposal(p: u32) -> Weight
The range of component p
is [0, 99]
.
source§fn on_initialize_proposals(p: u32) -> Weight
fn on_initialize_proposals(p: u32) -> Weight
The range of component p
is [0, 100]
.