Trait referrals::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn reserve() -> Weight;
fn unreserve() -> Weight;
fn set_referrer() -> Weight;
}
Expand description
Weight functions needed for referrals.
Required Methods§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn reserve() -> Weight
fn reserve() -> Weight
Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Referrals ReferrerBalances (r:1 w:1) Proof Skipped: Referrals ReferrerBalances (max_values: None, max_size: None, mode: Measured)
source§fn unreserve() -> Weight
fn unreserve() -> Weight
Storage: Referrals ReferrerBalances (r:1 w:1) Proof Skipped: Referrals ReferrerBalances (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
source§fn set_referrer() -> Weight
fn set_referrer() -> Weight
Storage: Referrals Referrers (r:1 w:1) Proof Skipped: Referrals Referrers (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Referrals Referrals (r:1 w:1) Proof Skipped: Referrals Referrals (max_values: None, max_size: None, mode: Measured)