Trait supply::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn on_initialize() -> Weight;
fn set_start_height_and_inflation() -> Weight;
}
Expand description
Weight functions needed for supply.
Required Methods§
fn on_initialize() -> Weight
fn set_start_height_and_inflation() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn on_initialize() -> Weight
fn on_initialize() -> Weight
Storage: Supply StartHeight (r:1 w:1) Proof: Supply StartHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Tokens TotalIssuance (r:1 w:1) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Supply Inflation (r:1 w:0) Proof: Supply Inflation (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Tokens Accounts (r:4 w:4) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: VaultAnnuity RewardPerBlock (r:0 w:1) Proof: VaultAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Supply LastEmission (r:0 w:1) Proof: Supply LastEmission (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: EscrowAnnuity RewardPerBlock (r:0 w:1) Proof: EscrowAnnuity RewardPerBlock (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
source§fn set_start_height_and_inflation() -> Weight
fn set_start_height_and_inflation() -> Weight
Storage: Supply StartHeight (r:0 w:1) Proof: Supply StartHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Supply Inflation (r:0 w:1) Proof: Supply Inflation (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)