code/pallets/proxy/src/weights.rs
//! Autogenerated weights for `pallet_subtensor_proxy`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0
//! DATE: 2026-07-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runnervm5mmn9`, CPU: `AMD EPYC 7763 64-Core Processor`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
// Executed Command:
// /home/runner/work/subtensor/subtensor/target/production/node-subtensor
// benchmark
// pallet
// --runtime=/home/runner/work/subtensor/subtensor/target/production/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm
// --genesis-builder=runtime
// --genesis-builder-preset=benchmark
// --wasm-execution=compiled
// --pallet=pallet_subtensor_proxy
// --extrinsic=*
// --steps=50
// --repeat=20
// --no-storage-info
// --no-min-squares
// --no-median-slopes
// --output=/tmp/tmp.RPRs7xwHCO
// --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
#![allow(dead_code)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use core::marker::PhantomData;
/// Weight functions needed for `pallet_subtensor_proxy`.
pub trait WeightInfo {
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;
fn poke_deposit() -> Weight;
fn set_real_pays_fee(p: u32, ) -> Weight;
}
/// Weights for `pallet_subtensor_proxy` using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, 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: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0)
/// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Proxy::LastCallResult` (r:0 w:1)
/// Proof: `Proxy::LastCallResult` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `637 + p * (37 ±0)`
// Estimated: `4254 + p * (37 ±0)`
// Minimum execution time: 27_311_000 picoseconds.
Weight::from_parts(28_486_266, 4254)
// Standard Error: 3_449
.saturating_add(Weight::from_parts(81_179, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, 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: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0)
/// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Proxy::LastCallResult` (r:0 w:1)
/// Proof: `Proxy::LastCallResult` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `894 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `8615 + a * (68 ±0) + p * (37 ±0)`
// Minimum execution time: 53_721_000 picoseconds.
Weight::from_parts(54_823_542, 8615)
// Standard Error: 1_396
.saturating_add(Weight::from_parts(227_680, 0).saturating_mul(a.into()))
// Standard Error: 5_594
.saturating_add(Weight::from_parts(49_632, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
}
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `299 + a * (68 ±0)`
// Estimated: `8615`
// Minimum execution time: 26_269_000 picoseconds.
Weight::from_parts(25_886_226, 8615)
// Standard Error: 1_243
.saturating_add(Weight::from_parts(216_353, 0).saturating_mul(a.into()))
// Standard Error: 4_980
.saturating_add(Weight::from_parts(48_789, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `299 + a * (68 ±0)`
// Estimated: `8615`
// Minimum execution time: 26_179_000 picoseconds.
Weight::from_parts(27_149_127, 8615)
// Standard Error: 2_670
.saturating_add(Weight::from_parts(206_147, 0).saturating_mul(a.into()))
// Standard Error: 10_696
.saturating_add(Weight::from_parts(24_070, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `308 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `8615`
// Minimum execution time: 34_094_000 picoseconds.
Weight::from_parts(33_908_359, 8615)
// Standard Error: 1_874
.saturating_add(Weight::from_parts(214_642, 0).saturating_mul(a.into()))
// Standard Error: 7_509
.saturating_add(Weight::from_parts(69_223, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn add_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 24_857_000 picoseconds.
Weight::from_parts(25_965_759, 4254)
// Standard Error: 2_416
.saturating_add(Weight::from_parts(71_360, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::RealPaysFee` (r:0 w:1)
/// Proof: `Proxy::RealPaysFee` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn remove_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_770_000 picoseconds.
Weight::from_parts(28_059_742, 4254)
// Standard Error: 2_451
.saturating_add(Weight::from_parts(63_593, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn remove_proxies(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_630_000 picoseconds.
Weight::from_parts(28_105_274, 4254)
// Standard Error: 2_597
.saturating_add(Weight::from_parts(41_821, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn create_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `4254`
// Minimum execution time: 26_990_000 picoseconds.
Weight::from_parts(28_243_687, 4254)
// Standard Error: 2_975
.saturating_add(Weight::from_parts(28_462, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 18]`.
fn kill_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `156 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_230_000 picoseconds.
Weight::from_parts(27_299_094, 4254)
// Standard Error: 2_747
.saturating_add(Weight::from_parts(38_537, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
fn poke_deposit() -> Weight {
// Proof Size summary in bytes:
// Measured: `412`
// Estimated: `8615`
// Minimum execution time: 46_267_000 picoseconds.
Weight::from_parts(46_698_000, 8615)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::RealPaysFee` (r:0 w:1)
/// Proof: `Proxy::RealPaysFee` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn set_real_pays_fee(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 14_176_000 picoseconds.
Weight::from_parts(14_886_579, 4254)
// Standard Error: 2_018
.saturating_add(Weight::from_parts(45_475, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
// For backwards compatibility and tests.
impl WeightInfo for () {
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, 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: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0)
/// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Proxy::LastCallResult` (r:0 w:1)
/// Proof: `Proxy::LastCallResult` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `637 + p * (37 ±0)`
// Estimated: `4254 + p * (37 ±0)`
// Minimum execution time: 27_311_000 picoseconds.
Weight::from_parts(28_486_266, 4254)
// Standard Error: 3_449
.saturating_add(Weight::from_parts(81_179, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, 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: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0)
/// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Proxy::LastCallResult` (r:0 w:1)
/// Proof: `Proxy::LastCallResult` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `894 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `8615 + a * (68 ±0) + p * (37 ±0)`
// Minimum execution time: 53_721_000 picoseconds.
Weight::from_parts(54_823_542, 8615)
// Standard Error: 1_396
.saturating_add(Weight::from_parts(227_680, 0).saturating_mul(a.into()))
// Standard Error: 5_594
.saturating_add(Weight::from_parts(49_632, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into()))
}
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `299 + a * (68 ±0)`
// Estimated: `8615`
// Minimum execution time: 26_269_000 picoseconds.
Weight::from_parts(25_886_226, 8615)
// Standard Error: 1_243
.saturating_add(Weight::from_parts(216_353, 0).saturating_mul(a.into()))
// Standard Error: 4_980
.saturating_add(Weight::from_parts(48_789, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `299 + a * (68 ±0)`
// Estimated: `8615`
// Minimum execution time: 26_179_000 picoseconds.
Weight::from_parts(27_149_127, 8615)
// Standard Error: 2_670
.saturating_add(Weight::from_parts(206_147, 0).saturating_mul(a.into()))
// Standard Error: 10_696
.saturating_add(Weight::from_parts(24_070, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 74]`.
/// The range of component `p` is `[1, 19]`.
fn announce(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `308 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `8615`
// Minimum execution time: 34_094_000 picoseconds.
Weight::from_parts(33_908_359, 8615)
// Standard Error: 1_874
.saturating_add(Weight::from_parts(214_642, 0).saturating_mul(a.into()))
// Standard Error: 7_509
.saturating_add(Weight::from_parts(69_223, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn add_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 24_857_000 picoseconds.
Weight::from_parts(25_965_759, 4254)
// Standard Error: 2_416
.saturating_add(Weight::from_parts(71_360, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::RealPaysFee` (r:0 w:1)
/// Proof: `Proxy::RealPaysFee` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn remove_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_770_000 picoseconds.
Weight::from_parts(28_059_742, 4254)
// Standard Error: 2_451
.saturating_add(Weight::from_parts(63_593, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn remove_proxies(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_630_000 picoseconds.
Weight::from_parts(28_105_274, 4254)
// Standard Error: 2_597
.saturating_add(Weight::from_parts(41_821, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn create_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `139`
// Estimated: `4254`
// Minimum execution time: 26_990_000 picoseconds.
Weight::from_parts(28_243_687, 4254)
// Standard Error: 2_975
.saturating_add(Weight::from_parts(28_462, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 18]`.
fn kill_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `156 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 26_230_000 picoseconds.
Weight::from_parts(27_299_094, 4254)
// Standard Error: 2_747
.saturating_add(Weight::from_parts(38_537, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:1)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`)
/// Storage: `Proxy::Announcements` (r:1 w:1)
/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(5150), added: 7625, mode: `MaxEncodedLen`)
fn poke_deposit() -> Weight {
// Proof Size summary in bytes:
// Measured: `412`
// Estimated: `8615`
// Minimum execution time: 46_267_000 picoseconds.
Weight::from_parts(46_698_000, 8615)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Proxy::Proxies` (r:1 w:0)
/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(789), added: 3264, mode: `MaxEncodedLen`)
/// Storage: `Proxy::RealPaysFee` (r:0 w:1)
/// Proof: `Proxy::RealPaysFee` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`)
/// The range of component `p` is `[1, 19]`.
fn set_real_pays_fee(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `119 + p * (37 ±0)`
// Estimated: `4254`
// Minimum execution time: 14_176_000 picoseconds.
Weight::from_parts(14_886_579, 4254)
// Standard Error: 2_018
.saturating_add(Weight::from_parts(45_475, 0).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}