pub trait WeightInfo {
    // Required methods
    fn whitelist_call() -> Weight;
    fn remove_whitelisted_call() -> Weight;
    fn dispatch_whitelisted_call(n: u32) -> Weight;
    fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_whitelist.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn dispatch_whitelisted_call(n: u32) -> Weight

The range of component n is [1, 4194294].

source§

fn dispatch_whitelisted_call_with_preimage(n: u32) -> Weight

The range of component n is [1, 10000].

source§

fn whitelist_call() -> Weight

source§

fn remove_whitelisted_call() -> Weight

Implementors§