pub trait WeightInfo {
    // Required methods
    fn proxy(p: u32) -> Weight;
    fn proxy_announced(a: u32, p: u32) -> Weight;
    fn remove_announcement(a: u32, p: u32) -> Weight;
    fn reject_announcement(a: u32, p: u32) -> Weight;
    fn announce(a: u32, p: u32) -> Weight;
    fn add_proxy(p: u32) -> Weight;
    fn remove_proxy(p: u32) -> Weight;
    fn remove_proxies(p: u32) -> Weight;
    fn create_pure(p: u32) -> Weight;
    fn kill_pure(p: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_proxy.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn proxy(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:0) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [1, 31].

source§

fn proxy_announced(a: u32, p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:0) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) Storage: Proxy Announcements (r:1 w:1) Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component a is [0, 31]. The range of component p is [1, 31].

source§

fn remove_announcement(a: u32, p: u32) -> Weight

Storage: Proxy Announcements (r:1 w:1) Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component a is [0, 31]. The range of component p is [1, 31].

source§

fn reject_announcement(a: u32, p: u32) -> Weight

Storage: Proxy Announcements (r:1 w:1) Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component a is [0, 31]. The range of component p is [1, 31].

source§

fn announce(a: u32, p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:0) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) Storage: Proxy Announcements (r:1 w:1) Proof: Proxy Announcements (max_values: None, max_size: Some(2233), added: 4708, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) The range of component a is [0, 31]. The range of component p is [1, 31].

source§

fn add_proxy(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:1) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [1, 31].

source§

fn remove_proxy(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:1) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [1, 31].

source§

fn remove_proxies(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:1) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [1, 31].

source§

fn create_pure(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:1) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [1, 31].

source§

fn kill_pure(p: u32) -> Weight

Storage: Proxy Proxies (r:1 w:1) Proof: Proxy Proxies (max_values: None, max_size: Some(1241), added: 3716, mode: MaxEncodedLen) The range of component p is [0, 30].

Implementors§