pub trait WeightInfo {
Show 16 methods // Required methods fn add_registrar(r: u32) -> Weight; fn set_identity(r: u32, x: u32) -> Weight; fn set_subs_new(s: u32) -> Weight; fn set_subs_old(p: u32) -> Weight; fn clear_identity(r: u32, s: u32, x: u32) -> Weight; fn request_judgement(r: u32, x: u32) -> Weight; fn cancel_request(r: u32, x: u32) -> Weight; fn set_fee(r: u32) -> Weight; fn set_account_id(r: u32) -> Weight; fn set_fields(r: u32) -> Weight; fn provide_judgement(r: u32, x: u32) -> Weight; fn kill_identity(r: u32, s: u32, x: u32) -> Weight; fn add_sub(s: u32) -> Weight; fn rename_sub(s: u32) -> Weight; fn remove_sub(s: u32) -> Weight; fn quit_sub(s: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_identity.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn add_registrar(r: u32) -> Weight

Storage: Identity Registrars (r:1 w:1) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) The range of component r is [1, 19].

source§

fn set_identity(r: u32, x: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) The range of component r is [1, 20]. The range of component x is [0, 100].

source§

fn set_subs_new(s: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:0) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) Storage: Identity SuperOf (r:100 w:100) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) The range of component s is [0, 100].

source§

fn set_subs_old(p: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:0) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) Storage: Identity SuperOf (r:0 w:100) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) The range of component p is [0, 100].

source§

fn clear_identity(r: u32, s: u32, x: u32) -> Weight

Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SuperOf (r:0 w:100) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) The range of component r is [1, 20]. The range of component s is [0, 100]. The range of component x is [0, 100].

source§

fn request_judgement(r: u32, x: u32) -> Weight

Storage: Identity Registrars (r:1 w:0) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) The range of component r is [1, 20]. The range of component x is [0, 100].

source§

fn cancel_request(r: u32, x: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) The range of component r is [1, 20]. The range of component x is [0, 100].

source§

fn set_fee(r: u32) -> Weight

Storage: Identity Registrars (r:1 w:1) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) The range of component r is [1, 19].

source§

fn set_account_id(r: u32) -> Weight

Storage: Identity Registrars (r:1 w:1) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) The range of component r is [1, 19].

source§

fn set_fields(r: u32) -> Weight

Storage: Identity Registrars (r:1 w:1) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) The range of component r is [1, 19].

source§

fn provide_judgement(r: u32, x: u32) -> Weight

Storage: Identity Registrars (r:1 w:0) Proof: Identity Registrars (max_values: Some(1), max_size: Some(1141), added: 1636, mode: MaxEncodedLen) Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) The range of component r is [1, 19]. The range of component x is [0, 100].

source§

fn kill_identity(r: u32, s: u32, x: u32) -> Weight

Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) Storage: Identity IdentityOf (r:1 w:1) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Identity SuperOf (r:0 w:100) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) The range of component r is [1, 20]. The range of component s is [0, 100]. The range of component x is [0, 100].

source§

fn add_sub(s: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:0) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SuperOf (r:1 w:1) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) The range of component s is [0, 99].

source§

fn rename_sub(s: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:0) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SuperOf (r:1 w:1) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) The range of component s is [1, 100].

source§

fn remove_sub(s: u32) -> Weight

Storage: Identity IdentityOf (r:1 w:0) Proof: Identity IdentityOf (max_values: None, max_size: Some(7538), added: 10013, mode: MaxEncodedLen) Storage: Identity SuperOf (r:1 w:1) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) The range of component s is [1, 100].

source§

fn quit_sub(s: u32) -> Weight

Storage: Identity SuperOf (r:1 w:1) Proof: Identity SuperOf (max_values: None, max_size: Some(114), added: 2589, mode: MaxEncodedLen) Storage: Identity SubsOf (r:1 w:1) Proof: Identity SubsOf (max_values: None, max_size: Some(3258), added: 5733, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component s is [0, 99].

Implementors§