pub trait WeightInfo {
// Required methods
fn set_budget_allocation() -> Weight;
fn drip_issuance() -> Weight;
}Expand description
Weight functions needed for pallet_dap.
Required Methods§
fn set_budget_allocation() -> Weight
fn drip_issuance() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn set_budget_allocation() -> Weight
fn set_budget_allocation() -> Weight
Storage: Dap::BudgetAllocation (r:0 w:1)
Proof: Dap::BudgetAllocation (max_values: Some(1), max_size: Some(593), added: 1088, mode: MaxEncodedLen)
Source§fn drip_issuance() -> Weight
fn drip_issuance() -> Weight
Storage: Timestamp::Now (r:1 w:0)
Proof: Timestamp::Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
Storage: Dap::LastIssuanceTimestamp (r:1 w:1)
Proof: Dap::LastIssuanceTimestamp (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)