Trait attestation::default_weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn add() -> Weight;
fn revoke() -> Weight;
fn remove() -> Weight;
fn reclaim_deposit() -> Weight;
fn change_deposit_owner() -> Weight;
fn update_deposit() -> Weight;
}
Expand description
Weight functions needed for attestation.
Required Methods§
fn add() -> Weight
fn revoke() -> Weight
fn remove() -> Weight
fn reclaim_deposit() -> Weight
fn change_deposit_owner() -> Weight
fn update_deposit() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn add() -> Weight
fn add() -> Weight
Storage: Ctype Ctypes (r:1 w:0) Proof: Ctype Ctypes (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen) Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
source§fn revoke() -> Weight
fn revoke() -> Weight
Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen)
source§fn remove() -> Weight
fn remove() -> Weight
Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
source§fn reclaim_deposit() -> Weight
fn reclaim_deposit() -> Weight
Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
source§fn change_deposit_owner() -> Weight
fn change_deposit_owner() -> Weight
Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen) Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)
source§fn update_deposit() -> Weight
fn update_deposit() -> Weight
Storage: Attestation Attestations (r:1 w:1) Proof: Attestation Attestations (max_values: None, max_size: Some(195), added: 2670, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(132), added: 2607, mode: MaxEncodedLen)