Trait pallet_tips::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn report_awesome(r: u32) -> Weight;
fn retract_tip() -> Weight;
fn tip_new(r: u32, t: u32) -> Weight;
fn tip(t: u32) -> Weight;
fn close_tip(t: u32) -> Weight;
fn slash_tip(t: u32) -> Weight;
}
Expand description
Weight functions needed for pallet_tips
.
Required Methods§
fn report_awesome(r: u32) -> Weight
fn retract_tip() -> Weight
fn tip_new(r: u32, t: u32) -> Weight
fn tip(t: u32) -> Weight
fn close_tip(t: u32) -> Weight
fn slash_tip(t: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn report_awesome(r: u32) -> Weight
fn report_awesome(r: u32) -> Weight
Storage: Tips::Reasons
(r:1 w:1)
Proof: Tips::Reasons
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Tips::Tips
(r:1 w:1)
Proof: Tips::Tips
(max_values
: None, max_size
: None, mode: Measured
)
The range of component r
is [0, 300]
.
source§fn retract_tip() -> Weight
fn retract_tip() -> Weight
Storage: Tips::Tips
(r:1 w:1)
Proof: Tips::Tips
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Tips::Reasons
(r:0 w:1)
Proof: Tips::Reasons
(max_values
: None, max_size
: None, mode: Measured
)
source§fn tip_new(r: u32, t: u32) -> Weight
fn tip_new(r: u32, t: u32) -> Weight
Storage: Elections::Members
(r:1 w:0)
Proof: Elections::Members
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Tips::Reasons
(r:1 w:1)
Proof: Tips::Reasons
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Tips::Tips
(r:0 w:1)
Proof: Tips::Tips
(max_values
: None, max_size
: None, mode: Measured
)
The range of component r
is [0, 300]
.
The range of component t
is [1, 13]
.
source§fn tip(t: u32) -> Weight
fn tip(t: u32) -> Weight
Storage: Elections::Members
(r:1 w:0)
Proof: Elections::Members
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Tips::Tips
(r:1 w:1)
Proof: Tips::Tips
(max_values
: None, max_size
: None, mode: Measured
)
The range of component t
is [1, 13]
.
source§fn close_tip(t: u32) -> Weight
fn close_tip(t: u32) -> Weight
Storage: Tips::Tips
(r:1 w:1)
Proof: Tips::Tips
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Elections::Members
(r:1 w:0)
Proof: Elections::Members
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
Storage: Tips::Reasons
(r:0 w:1)
Proof: Tips::Reasons
(max_values
: None, max_size
: None, mode: Measured
)
The range of component t
is [1, 13]
.