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§

source

fn proxy(p: u32) -> Weight

source

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

source

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

source

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

source

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

source

fn add_proxy(p: u32) -> Weight

source

fn remove_proxy(p: u32) -> Weight

source

fn remove_proxies(p: u32) -> Weight

source

fn create_pure(p: u32) -> Weight

source

fn kill_pure(p: u32) -> Weight

Object Safety§

This trait is not object safe.

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) Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, 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) Storage: SafeMode::EnteredUntil (r:1 w:0) Proof: SafeMode::EnteredUntil (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TxPause::PausedCalls (r:1 w:0) Proof: TxPause::PausedCalls (max_values: None, max_size: Some(532), added: 3007, 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§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>