pallet_proxy/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_proxy`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-03-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `99fc4dfa9c86`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_proxy
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/proxy/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-umbrella-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame::weights_prelude::*;
70
71/// Weight functions needed for `pallet_proxy`.
72pub trait WeightInfo {
73 fn proxy(p: u32, ) -> Weight;
74 fn proxy_announced(a: u32, p: u32, ) -> Weight;
75 fn remove_announcement(a: u32, p: u32, ) -> Weight;
76 fn reject_announcement(a: u32, p: u32, ) -> Weight;
77 fn announce(a: u32, p: u32, ) -> Weight;
78 fn add_proxy(p: u32, ) -> Weight;
79 fn remove_proxy(p: u32, ) -> Weight;
80 fn remove_proxies(p: u32, ) -> Weight;
81 fn create_pure(p: u32, ) -> Weight;
82 fn kill_pure(p: u32, ) -> Weight;
83 fn poke_deposit() -> Weight;
84}
85
86/// Weights for `pallet_proxy` using the Substrate node and recommended hardware.
87pub struct SubstrateWeight<T>(PhantomData<T>);
88impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
89 /// Storage: `Proxy::Proxies` (r:1 w:0)
90 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
91 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
92 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
93 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
94 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
95 /// The range of component `p` is `[1, 31]`.
96 fn proxy(p: u32, ) -> Weight {
97 // Proof Size summary in bytes:
98 // Measured: `339 + p * (37 ±0)`
99 // Estimated: `4706`
100 // Minimum execution time: 23_353_000 picoseconds.
101 Weight::from_parts(25_084_085, 4706)
102 // Standard Error: 2_569
103 .saturating_add(Weight::from_parts(33_574, 0).saturating_mul(p.into()))
104 .saturating_add(T::DbWeight::get().reads(3_u64))
105 }
106 /// Storage: `Proxy::Proxies` (r:1 w:0)
107 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
108 /// Storage: `Proxy::Announcements` (r:1 w:1)
109 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
110 /// Storage: `System::Account` (r:1 w:1)
111 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
112 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
113 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
114 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
115 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
116 /// The range of component `a` is `[0, 31]`.
117 /// The range of component `p` is `[1, 31]`.
118 fn proxy_announced(a: u32, p: u32, ) -> Weight {
119 // Proof Size summary in bytes:
120 // Measured: `666 + a * (68 ±0) + p * (37 ±0)`
121 // Estimated: `5698`
122 // Minimum execution time: 47_196_000 picoseconds.
123 Weight::from_parts(48_686_812, 5698)
124 // Standard Error: 3_711
125 .saturating_add(Weight::from_parts(171_107, 0).saturating_mul(a.into()))
126 // Standard Error: 3_834
127 .saturating_add(Weight::from_parts(34_523, 0).saturating_mul(p.into()))
128 .saturating_add(T::DbWeight::get().reads(5_u64))
129 .saturating_add(T::DbWeight::get().writes(2_u64))
130 }
131 /// Storage: `Proxy::Announcements` (r:1 w:1)
132 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
133 /// Storage: `System::Account` (r:1 w:1)
134 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
135 /// The range of component `a` is `[0, 31]`.
136 /// The range of component `p` is `[1, 31]`.
137 fn remove_announcement(a: u32, p: u32, ) -> Weight {
138 // Proof Size summary in bytes:
139 // Measured: `436 + a * (68 ±0)`
140 // Estimated: `5698`
141 // Minimum execution time: 29_341_000 picoseconds.
142 Weight::from_parts(30_320_504, 5698)
143 // Standard Error: 1_821
144 .saturating_add(Weight::from_parts(158_572, 0).saturating_mul(a.into()))
145 // Standard Error: 1_881
146 .saturating_add(Weight::from_parts(8_433, 0).saturating_mul(p.into()))
147 .saturating_add(T::DbWeight::get().reads(2_u64))
148 .saturating_add(T::DbWeight::get().writes(2_u64))
149 }
150 /// Storage: `Proxy::Announcements` (r:1 w:1)
151 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
152 /// Storage: `System::Account` (r:1 w:1)
153 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
154 /// The range of component `a` is `[0, 31]`.
155 /// The range of component `p` is `[1, 31]`.
156 fn reject_announcement(a: u32, p: u32, ) -> Weight {
157 // Proof Size summary in bytes:
158 // Measured: `436 + a * (68 ±0)`
159 // Estimated: `5698`
160 // Minimum execution time: 28_422_000 picoseconds.
161 Weight::from_parts(29_754_384, 5698)
162 // Standard Error: 1_840
163 .saturating_add(Weight::from_parts(176_827, 0).saturating_mul(a.into()))
164 // Standard Error: 1_901
165 .saturating_add(Weight::from_parts(9_607, 0).saturating_mul(p.into()))
166 .saturating_add(T::DbWeight::get().reads(2_u64))
167 .saturating_add(T::DbWeight::get().writes(2_u64))
168 }
169 /// Storage: `Proxy::Proxies` (r:1 w:0)
170 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
171 /// Storage: `Proxy::Announcements` (r:1 w:1)
172 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
173 /// Storage: `System::Account` (r:1 w:1)
174 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
175 /// The range of component `a` is `[0, 31]`.
176 /// The range of component `p` is `[1, 31]`.
177 fn announce(a: u32, p: u32, ) -> Weight {
178 // Proof Size summary in bytes:
179 // Measured: `453 + a * (68 ±0) + p * (37 ±0)`
180 // Estimated: `5698`
181 // Minimum execution time: 36_885_000 picoseconds.
182 Weight::from_parts(38_080_636, 5698)
183 // Standard Error: 2_642
184 .saturating_add(Weight::from_parts(157_335, 0).saturating_mul(a.into()))
185 // Standard Error: 2_730
186 .saturating_add(Weight::from_parts(28_872, 0).saturating_mul(p.into()))
187 .saturating_add(T::DbWeight::get().reads(3_u64))
188 .saturating_add(T::DbWeight::get().writes(2_u64))
189 }
190 /// Storage: `Proxy::Proxies` (r:1 w:1)
191 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
192 /// The range of component `p` is `[1, 31]`.
193 fn add_proxy(p: u32, ) -> Weight {
194 // Proof Size summary in bytes:
195 // Measured: `194 + p * (37 ±0)`
196 // Estimated: `4706`
197 // Minimum execution time: 27_016_000 picoseconds.
198 Weight::from_parts(28_296_216, 4706)
199 // Standard Error: 1_643
200 .saturating_add(Weight::from_parts(50_271, 0).saturating_mul(p.into()))
201 .saturating_add(T::DbWeight::get().reads(1_u64))
202 .saturating_add(T::DbWeight::get().writes(1_u64))
203 }
204 /// Storage: `Proxy::Proxies` (r:1 w:1)
205 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
206 /// The range of component `p` is `[1, 31]`.
207 fn remove_proxy(p: u32, ) -> Weight {
208 // Proof Size summary in bytes:
209 // Measured: `194 + p * (37 ±0)`
210 // Estimated: `4706`
211 // Minimum execution time: 26_955_000 picoseconds.
212 Weight::from_parts(28_379_566, 4706)
213 // Standard Error: 1_547
214 .saturating_add(Weight::from_parts(45_784, 0).saturating_mul(p.into()))
215 .saturating_add(T::DbWeight::get().reads(1_u64))
216 .saturating_add(T::DbWeight::get().writes(1_u64))
217 }
218 /// Storage: `Proxy::Proxies` (r:1 w:1)
219 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
220 /// The range of component `p` is `[1, 31]`.
221 fn remove_proxies(p: u32, ) -> Weight {
222 // Proof Size summary in bytes:
223 // Measured: `194 + p * (37 ±0)`
224 // Estimated: `4706`
225 // Minimum execution time: 24_656_000 picoseconds.
226 Weight::from_parts(25_821_878, 4706)
227 // Standard Error: 2_300
228 .saturating_add(Weight::from_parts(33_972, 0).saturating_mul(p.into()))
229 .saturating_add(T::DbWeight::get().reads(1_u64))
230 .saturating_add(T::DbWeight::get().writes(1_u64))
231 }
232 /// Storage: `Proxy::Proxies` (r:1 w:1)
233 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
234 /// The range of component `p` is `[1, 31]`.
235 fn create_pure(p: u32, ) -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `206`
238 // Estimated: `4706`
239 // Minimum execution time: 28_416_000 picoseconds.
240 Weight::from_parts(29_662_728, 4706)
241 // Standard Error: 1_851
242 .saturating_add(Weight::from_parts(29_928, 0).saturating_mul(p.into()))
243 .saturating_add(T::DbWeight::get().reads(1_u64))
244 .saturating_add(T::DbWeight::get().writes(1_u64))
245 }
246 /// Storage: `Proxy::Proxies` (r:1 w:1)
247 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
248 /// The range of component `p` is `[0, 30]`.
249 fn kill_pure(p: u32, ) -> Weight {
250 // Proof Size summary in bytes:
251 // Measured: `231 + p * (37 ±0)`
252 // Estimated: `4706`
253 // Minimum execution time: 25_505_000 picoseconds.
254 Weight::from_parts(26_780_627, 4706)
255 // Standard Error: 1_581
256 .saturating_add(Weight::from_parts(33_085, 0).saturating_mul(p.into()))
257 .saturating_add(T::DbWeight::get().reads(1_u64))
258 .saturating_add(T::DbWeight::get().writes(1_u64))
259 }
260 /// Storage: `Proxy::Proxies` (r:1 w:1)
261 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
262 /// Storage: `System::Account` (r:1 w:1)
263 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
264 /// Storage: `Proxy::Announcements` (r:1 w:1)
265 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
266 fn poke_deposit() -> Weight {
267 // Proof Size summary in bytes:
268 // Measured: `519`
269 // Estimated: `5698`
270 // Minimum execution time: 46_733_000 picoseconds.
271 Weight::from_parts(47_972_000, 5698)
272 .saturating_add(T::DbWeight::get().reads(3_u64))
273 .saturating_add(T::DbWeight::get().writes(3_u64))
274 }
275}
276
277// For backwards compatibility and tests.
278impl WeightInfo for () {
279 /// Storage: `Proxy::Proxies` (r:1 w:0)
280 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
281 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
282 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
283 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
284 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
285 /// The range of component `p` is `[1, 31]`.
286 fn proxy(p: u32, ) -> Weight {
287 // Proof Size summary in bytes:
288 // Measured: `339 + p * (37 ±0)`
289 // Estimated: `4706`
290 // Minimum execution time: 23_353_000 picoseconds.
291 Weight::from_parts(25_084_085, 4706)
292 // Standard Error: 2_569
293 .saturating_add(Weight::from_parts(33_574, 0).saturating_mul(p.into()))
294 .saturating_add(RocksDbWeight::get().reads(3_u64))
295 }
296 /// Storage: `Proxy::Proxies` (r:1 w:0)
297 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
298 /// Storage: `Proxy::Announcements` (r:1 w:1)
299 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
300 /// Storage: `System::Account` (r:1 w:1)
301 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
302 /// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
303 /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
304 /// Storage: `TxPause::PausedCalls` (r:1 w:0)
305 /// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
306 /// The range of component `a` is `[0, 31]`.
307 /// The range of component `p` is `[1, 31]`.
308 fn proxy_announced(a: u32, p: u32, ) -> Weight {
309 // Proof Size summary in bytes:
310 // Measured: `666 + a * (68 ±0) + p * (37 ±0)`
311 // Estimated: `5698`
312 // Minimum execution time: 47_196_000 picoseconds.
313 Weight::from_parts(48_686_812, 5698)
314 // Standard Error: 3_711
315 .saturating_add(Weight::from_parts(171_107, 0).saturating_mul(a.into()))
316 // Standard Error: 3_834
317 .saturating_add(Weight::from_parts(34_523, 0).saturating_mul(p.into()))
318 .saturating_add(RocksDbWeight::get().reads(5_u64))
319 .saturating_add(RocksDbWeight::get().writes(2_u64))
320 }
321 /// Storage: `Proxy::Announcements` (r:1 w:1)
322 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
323 /// Storage: `System::Account` (r:1 w:1)
324 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
325 /// The range of component `a` is `[0, 31]`.
326 /// The range of component `p` is `[1, 31]`.
327 fn remove_announcement(a: u32, p: u32, ) -> Weight {
328 // Proof Size summary in bytes:
329 // Measured: `436 + a * (68 ±0)`
330 // Estimated: `5698`
331 // Minimum execution time: 29_341_000 picoseconds.
332 Weight::from_parts(30_320_504, 5698)
333 // Standard Error: 1_821
334 .saturating_add(Weight::from_parts(158_572, 0).saturating_mul(a.into()))
335 // Standard Error: 1_881
336 .saturating_add(Weight::from_parts(8_433, 0).saturating_mul(p.into()))
337 .saturating_add(RocksDbWeight::get().reads(2_u64))
338 .saturating_add(RocksDbWeight::get().writes(2_u64))
339 }
340 /// Storage: `Proxy::Announcements` (r:1 w:1)
341 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
342 /// Storage: `System::Account` (r:1 w:1)
343 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
344 /// The range of component `a` is `[0, 31]`.
345 /// The range of component `p` is `[1, 31]`.
346 fn reject_announcement(a: u32, p: u32, ) -> Weight {
347 // Proof Size summary in bytes:
348 // Measured: `436 + a * (68 ±0)`
349 // Estimated: `5698`
350 // Minimum execution time: 28_422_000 picoseconds.
351 Weight::from_parts(29_754_384, 5698)
352 // Standard Error: 1_840
353 .saturating_add(Weight::from_parts(176_827, 0).saturating_mul(a.into()))
354 // Standard Error: 1_901
355 .saturating_add(Weight::from_parts(9_607, 0).saturating_mul(p.into()))
356 .saturating_add(RocksDbWeight::get().reads(2_u64))
357 .saturating_add(RocksDbWeight::get().writes(2_u64))
358 }
359 /// Storage: `Proxy::Proxies` (r:1 w:0)
360 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
361 /// Storage: `Proxy::Announcements` (r:1 w:1)
362 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
363 /// Storage: `System::Account` (r:1 w:1)
364 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
365 /// The range of component `a` is `[0, 31]`.
366 /// The range of component `p` is `[1, 31]`.
367 fn announce(a: u32, p: u32, ) -> Weight {
368 // Proof Size summary in bytes:
369 // Measured: `453 + a * (68 ±0) + p * (37 ±0)`
370 // Estimated: `5698`
371 // Minimum execution time: 36_885_000 picoseconds.
372 Weight::from_parts(38_080_636, 5698)
373 // Standard Error: 2_642
374 .saturating_add(Weight::from_parts(157_335, 0).saturating_mul(a.into()))
375 // Standard Error: 2_730
376 .saturating_add(Weight::from_parts(28_872, 0).saturating_mul(p.into()))
377 .saturating_add(RocksDbWeight::get().reads(3_u64))
378 .saturating_add(RocksDbWeight::get().writes(2_u64))
379 }
380 /// Storage: `Proxy::Proxies` (r:1 w:1)
381 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
382 /// The range of component `p` is `[1, 31]`.
383 fn add_proxy(p: u32, ) -> Weight {
384 // Proof Size summary in bytes:
385 // Measured: `194 + p * (37 ±0)`
386 // Estimated: `4706`
387 // Minimum execution time: 27_016_000 picoseconds.
388 Weight::from_parts(28_296_216, 4706)
389 // Standard Error: 1_643
390 .saturating_add(Weight::from_parts(50_271, 0).saturating_mul(p.into()))
391 .saturating_add(RocksDbWeight::get().reads(1_u64))
392 .saturating_add(RocksDbWeight::get().writes(1_u64))
393 }
394 /// Storage: `Proxy::Proxies` (r:1 w:1)
395 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
396 /// The range of component `p` is `[1, 31]`.
397 fn remove_proxy(p: u32, ) -> Weight {
398 // Proof Size summary in bytes:
399 // Measured: `194 + p * (37 ±0)`
400 // Estimated: `4706`
401 // Minimum execution time: 26_955_000 picoseconds.
402 Weight::from_parts(28_379_566, 4706)
403 // Standard Error: 1_547
404 .saturating_add(Weight::from_parts(45_784, 0).saturating_mul(p.into()))
405 .saturating_add(RocksDbWeight::get().reads(1_u64))
406 .saturating_add(RocksDbWeight::get().writes(1_u64))
407 }
408 /// Storage: `Proxy::Proxies` (r:1 w:1)
409 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
410 /// The range of component `p` is `[1, 31]`.
411 fn remove_proxies(p: u32, ) -> Weight {
412 // Proof Size summary in bytes:
413 // Measured: `194 + p * (37 ±0)`
414 // Estimated: `4706`
415 // Minimum execution time: 24_656_000 picoseconds.
416 Weight::from_parts(25_821_878, 4706)
417 // Standard Error: 2_300
418 .saturating_add(Weight::from_parts(33_972, 0).saturating_mul(p.into()))
419 .saturating_add(RocksDbWeight::get().reads(1_u64))
420 .saturating_add(RocksDbWeight::get().writes(1_u64))
421 }
422 /// Storage: `Proxy::Proxies` (r:1 w:1)
423 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
424 /// The range of component `p` is `[1, 31]`.
425 fn create_pure(p: u32, ) -> Weight {
426 // Proof Size summary in bytes:
427 // Measured: `206`
428 // Estimated: `4706`
429 // Minimum execution time: 28_416_000 picoseconds.
430 Weight::from_parts(29_662_728, 4706)
431 // Standard Error: 1_851
432 .saturating_add(Weight::from_parts(29_928, 0).saturating_mul(p.into()))
433 .saturating_add(RocksDbWeight::get().reads(1_u64))
434 .saturating_add(RocksDbWeight::get().writes(1_u64))
435 }
436 /// Storage: `Proxy::Proxies` (r:1 w:1)
437 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
438 /// The range of component `p` is `[0, 30]`.
439 fn kill_pure(p: u32, ) -> Weight {
440 // Proof Size summary in bytes:
441 // Measured: `231 + p * (37 ±0)`
442 // Estimated: `4706`
443 // Minimum execution time: 25_505_000 picoseconds.
444 Weight::from_parts(26_780_627, 4706)
445 // Standard Error: 1_581
446 .saturating_add(Weight::from_parts(33_085, 0).saturating_mul(p.into()))
447 .saturating_add(RocksDbWeight::get().reads(1_u64))
448 .saturating_add(RocksDbWeight::get().writes(1_u64))
449 }
450 /// Storage: `Proxy::Proxies` (r:1 w:1)
451 /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
452 /// Storage: `System::Account` (r:1 w:1)
453 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
454 /// Storage: `Proxy::Announcements` (r:1 w:1)
455 /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
456 fn poke_deposit() -> Weight {
457 // Proof Size summary in bytes:
458 // Measured: `519`
459 // Estimated: `5698`
460 // Minimum execution time: 46_733_000 picoseconds.
461 Weight::from_parts(47_972_000, 5698)
462 .saturating_add(RocksDbWeight::get().reads(3_u64))
463 .saturating_add(RocksDbWeight::get().writes(3_u64))
464 }
465}