Trait pallet_bounties::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn propose_bounty(d: u32) -> Weight;
fn approve_bounty() -> Weight;
fn propose_curator() -> Weight;
fn unassign_curator() -> Weight;
fn accept_curator() -> Weight;
fn award_bounty() -> Weight;
fn claim_bounty() -> Weight;
fn close_bounty_proposed() -> Weight;
fn close_bounty_active() -> Weight;
fn extend_bounty_expiry() -> Weight;
fn spend_funds(b: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_bounties.
Required Methods§
fn propose_bounty(d: u32) -> Weight
fn approve_bounty() -> Weight
fn propose_curator() -> Weight
fn unassign_curator() -> Weight
fn accept_curator() -> Weight
fn award_bounty() -> Weight
fn claim_bounty() -> Weight
fn close_bounty_proposed() -> Weight
fn close_bounty_active() -> Weight
fn extend_bounty_expiry() -> Weight
fn spend_funds(b: u32) -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn propose_bounty(d: u32) -> Weight
fn propose_bounty(d: u32) -> Weight
The range of component d
is [0, 300]
.
source§fn spend_funds(b: u32) -> Weight
fn spend_funds(b: u32) -> Weight
The range of component b
is [0, 100]
.