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
//! Autogenerated weights for `pallet_proxy`
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
21
//! DATE: 2024-04-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
24
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
25

            
26
// Executed Command:
27
// ./target/production/substrate-node
28
// benchmark
29
// pallet
30
// --chain=dev
31
// --steps=50
32
// --repeat=20
33
// --pallet=pallet_proxy
34
// --no-storage-info
35
// --no-median-slopes
36
// --no-min-squares
37
// --extrinsic=*
38
// --wasm-execution=compiled
39
// --heap-pages=4096
40
// --output=./substrate/frame/proxy/src/weights.rs
41
// --header=./substrate/HEADER-APACHE2
42
// --template=./substrate/.maintain/frame-weight-template.hbs
43

            
44
#![cfg_attr(rustfmt, rustfmt_skip)]
45
#![allow(unused_parens)]
46
#![allow(unused_imports)]
47
#![allow(missing_docs)]
48

            
49
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
50
use core::marker::PhantomData;
51

            
52
/// Weight functions needed for `pallet_proxy`.
53
pub trait WeightInfo {
54
	fn proxy(p: u32, ) -> Weight;
55
	fn proxy_announced(a: u32, p: u32, ) -> Weight;
56
	fn remove_announcement(a: u32, p: u32, ) -> Weight;
57
	fn reject_announcement(a: u32, p: u32, ) -> Weight;
58
	fn announce(a: u32, p: u32, ) -> Weight;
59
	fn add_proxy(p: u32, ) -> Weight;
60
	fn remove_proxy(p: u32, ) -> Weight;
61
	fn remove_proxies(p: u32, ) -> Weight;
62
	fn create_pure(p: u32, ) -> Weight;
63
	fn kill_pure(p: u32, ) -> Weight;
64
}
65

            
66
/// Weights for `pallet_proxy` using the Substrate node and recommended hardware.
67
pub struct SubstrateWeight<T>(PhantomData<T>);
68
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
69
	/// Storage: `Proxy::Proxies` (r:1 w:0)
70
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
71
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
72
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
73
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
74
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
75
	/// The range of component `p` is `[1, 31]`.
76
	fn proxy(p: u32, ) -> Weight {
77
		// Proof Size summary in bytes:
78
		//  Measured:  `306 + p * (37 ±0)`
79
		//  Estimated: `4706`
80
		// Minimum execution time: 18_280_000 picoseconds.
81
		Weight::from_parts(19_655_145, 4706)
82
			// Standard Error: 2_345
83
			.saturating_add(Weight::from_parts(36_306, 0).saturating_mul(p.into()))
84
			.saturating_add(T::DbWeight::get().reads(3_u64))
85
	}
86
	/// Storage: `Proxy::Proxies` (r:1 w:0)
87
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
88
	/// Storage: `Proxy::Announcements` (r:1 w:1)
89
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
90
	/// Storage: `System::Account` (r:1 w:1)
91
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
92
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
93
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
94
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
95
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
96
	/// The range of component `a` is `[0, 31]`.
97
	/// The range of component `p` is `[1, 31]`.
98
	fn proxy_announced(a: u32, p: u32, ) -> Weight {
99
		// Proof Size summary in bytes:
100
		//  Measured:  `633 + a * (68 ±0) + p * (37 ±0)`
101
		//  Estimated: `5698`
102
		// Minimum execution time: 41_789_000 picoseconds.
103
		Weight::from_parts(41_812_078, 5698)
104
			// Standard Error: 3_694
105
			.saturating_add(Weight::from_parts(163_029, 0).saturating_mul(a.into()))
106
			// Standard Error: 3_817
107
			.saturating_add(Weight::from_parts(79_539, 0).saturating_mul(p.into()))
108
			.saturating_add(T::DbWeight::get().reads(5_u64))
109
			.saturating_add(T::DbWeight::get().writes(2_u64))
110
	}
111
	/// Storage: `Proxy::Announcements` (r:1 w:1)
112
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
113
	/// Storage: `System::Account` (r:1 w:1)
114
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
115
	/// The range of component `a` is `[0, 31]`.
116
	/// The range of component `p` is `[1, 31]`.
117
	fn remove_announcement(a: u32, p: u32, ) -> Weight {
118
		// Proof Size summary in bytes:
119
		//  Measured:  `403 + a * (68 ±0)`
120
		//  Estimated: `5698`
121
		// Minimum execution time: 22_475_000 picoseconds.
122
		Weight::from_parts(22_666_821, 5698)
123
			// Standard Error: 1_797
124
			.saturating_add(Weight::from_parts(170_629, 0).saturating_mul(a.into()))
125
			// Standard Error: 1_857
126
			.saturating_add(Weight::from_parts(18_799, 0).saturating_mul(p.into()))
127
			.saturating_add(T::DbWeight::get().reads(2_u64))
128
			.saturating_add(T::DbWeight::get().writes(2_u64))
129
	}
130
	/// Storage: `Proxy::Announcements` (r:1 w:1)
131
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
132
	/// Storage: `System::Account` (r:1 w:1)
133
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
134
	/// The range of component `a` is `[0, 31]`.
135
	/// The range of component `p` is `[1, 31]`.
136
	fn reject_announcement(a: u32, p: u32, ) -> Weight {
137
		// Proof Size summary in bytes:
138
		//  Measured:  `403 + a * (68 ±0)`
139
		//  Estimated: `5698`
140
		// Minimum execution time: 22_326_000 picoseconds.
141
		Weight::from_parts(22_654_227, 5698)
142
			// Standard Error: 1_859
143
			.saturating_add(Weight::from_parts(168_822, 0).saturating_mul(a.into()))
144
			// Standard Error: 1_921
145
			.saturating_add(Weight::from_parts(21_839, 0).saturating_mul(p.into()))
146
			.saturating_add(T::DbWeight::get().reads(2_u64))
147
			.saturating_add(T::DbWeight::get().writes(2_u64))
148
	}
149
	/// Storage: `Proxy::Proxies` (r:1 w:0)
150
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
151
	/// Storage: `Proxy::Announcements` (r:1 w:1)
152
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
153
	/// Storage: `System::Account` (r:1 w:1)
154
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
155
	/// The range of component `a` is `[0, 31]`.
156
	/// The range of component `p` is `[1, 31]`.
157
	fn announce(a: u32, p: u32, ) -> Weight {
158
		// Proof Size summary in bytes:
159
		//  Measured:  `420 + a * (68 ±0) + p * (37 ±0)`
160
		//  Estimated: `5698`
161
		// Minimum execution time: 31_551_000 picoseconds.
162
		Weight::from_parts(32_205_445, 5698)
163
			// Standard Error: 4_089
164
			.saturating_add(Weight::from_parts(167_596, 0).saturating_mul(a.into()))
165
			// Standard Error: 4_225
166
			.saturating_add(Weight::from_parts(67_833, 0).saturating_mul(p.into()))
167
			.saturating_add(T::DbWeight::get().reads(3_u64))
168
			.saturating_add(T::DbWeight::get().writes(2_u64))
169
	}
170
	/// Storage: `Proxy::Proxies` (r:1 w:1)
171
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
172
	/// The range of component `p` is `[1, 31]`.
173
	fn add_proxy(p: u32, ) -> Weight {
174
		// Proof Size summary in bytes:
175
		//  Measured:  `161 + p * (37 ±0)`
176
		//  Estimated: `4706`
177
		// Minimum execution time: 21_495_000 picoseconds.
178
		Weight::from_parts(22_358_457, 4706)
179
			// Standard Error: 1_606
180
			.saturating_add(Weight::from_parts(64_322, 0).saturating_mul(p.into()))
181
			.saturating_add(T::DbWeight::get().reads(1_u64))
182
			.saturating_add(T::DbWeight::get().writes(1_u64))
183
	}
184
	/// Storage: `Proxy::Proxies` (r:1 w:1)
185
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
186
	/// The range of component `p` is `[1, 31]`.
187
	fn remove_proxy(p: u32, ) -> Weight {
188
		// Proof Size summary in bytes:
189
		//  Measured:  `161 + p * (37 ±0)`
190
		//  Estimated: `4706`
191
		// Minimum execution time: 21_495_000 picoseconds.
192
		Weight::from_parts(22_579_308, 4706)
193
			// Standard Error: 2_571
194
			.saturating_add(Weight::from_parts(62_404, 0).saturating_mul(p.into()))
195
			.saturating_add(T::DbWeight::get().reads(1_u64))
196
			.saturating_add(T::DbWeight::get().writes(1_u64))
197
	}
198
	/// Storage: `Proxy::Proxies` (r:1 w:1)
199
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
200
	/// The range of component `p` is `[1, 31]`.
201
	fn remove_proxies(p: u32, ) -> Weight {
202
		// Proof Size summary in bytes:
203
		//  Measured:  `161 + p * (37 ±0)`
204
		//  Estimated: `4706`
205
		// Minimum execution time: 20_541_000 picoseconds.
206
		Weight::from_parts(21_456_750, 4706)
207
			// Standard Error: 1_697
208
			.saturating_add(Weight::from_parts(45_387, 0).saturating_mul(p.into()))
209
			.saturating_add(T::DbWeight::get().reads(1_u64))
210
			.saturating_add(T::DbWeight::get().writes(1_u64))
211
	}
212
	/// Storage: `Proxy::Proxies` (r:1 w:1)
213
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
214
	/// The range of component `p` is `[1, 31]`.
215
	fn create_pure(p: u32, ) -> Weight {
216
		// Proof Size summary in bytes:
217
		//  Measured:  `173`
218
		//  Estimated: `4706`
219
		// Minimum execution time: 22_809_000 picoseconds.
220
		Weight::from_parts(23_878_644, 4706)
221
			// Standard Error: 1_600
222
			.saturating_add(Weight::from_parts(10_149, 0).saturating_mul(p.into()))
223
			.saturating_add(T::DbWeight::get().reads(1_u64))
224
			.saturating_add(T::DbWeight::get().writes(1_u64))
225
	}
226
	/// Storage: `Proxy::Proxies` (r:1 w:1)
227
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
228
	/// The range of component `p` is `[0, 30]`.
229
	fn kill_pure(p: u32, ) -> Weight {
230
		// Proof Size summary in bytes:
231
		//  Measured:  `198 + p * (37 ±0)`
232
		//  Estimated: `4706`
233
		// Minimum execution time: 20_993_000 picoseconds.
234
		Weight::from_parts(22_067_418, 4706)
235
			// Standard Error: 1_673
236
			.saturating_add(Weight::from_parts(52_703, 0).saturating_mul(p.into()))
237
			.saturating_add(T::DbWeight::get().reads(1_u64))
238
			.saturating_add(T::DbWeight::get().writes(1_u64))
239
	}
240
}
241

            
242
// For backwards compatibility and tests.
243
impl WeightInfo for () {
244
	/// Storage: `Proxy::Proxies` (r:1 w:0)
245
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
246
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
247
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
248
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
249
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
250
	/// The range of component `p` is `[1, 31]`.
251
	fn proxy(p: u32, ) -> Weight {
252
		// Proof Size summary in bytes:
253
		//  Measured:  `306 + p * (37 ±0)`
254
		//  Estimated: `4706`
255
		// Minimum execution time: 18_280_000 picoseconds.
256
		Weight::from_parts(19_655_145, 4706)
257
			// Standard Error: 2_345
258
			.saturating_add(Weight::from_parts(36_306, 0).saturating_mul(p.into()))
259
			.saturating_add(RocksDbWeight::get().reads(3_u64))
260
	}
261
	/// Storage: `Proxy::Proxies` (r:1 w:0)
262
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
263
	/// Storage: `Proxy::Announcements` (r:1 w:1)
264
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
265
	/// Storage: `System::Account` (r:1 w:1)
266
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
267
	/// Storage: `SafeMode::EnteredUntil` (r:1 w:0)
268
	/// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
269
	/// Storage: `TxPause::PausedCalls` (r:1 w:0)
270
	/// Proof: `TxPause::PausedCalls` (`max_values`: None, `max_size`: Some(532), added: 3007, mode: `MaxEncodedLen`)
271
	/// The range of component `a` is `[0, 31]`.
272
	/// The range of component `p` is `[1, 31]`.
273
	fn proxy_announced(a: u32, p: u32, ) -> Weight {
274
		// Proof Size summary in bytes:
275
		//  Measured:  `633 + a * (68 ±0) + p * (37 ±0)`
276
		//  Estimated: `5698`
277
		// Minimum execution time: 41_789_000 picoseconds.
278
		Weight::from_parts(41_812_078, 5698)
279
			// Standard Error: 3_694
280
			.saturating_add(Weight::from_parts(163_029, 0).saturating_mul(a.into()))
281
			// Standard Error: 3_817
282
			.saturating_add(Weight::from_parts(79_539, 0).saturating_mul(p.into()))
283
			.saturating_add(RocksDbWeight::get().reads(5_u64))
284
			.saturating_add(RocksDbWeight::get().writes(2_u64))
285
	}
286
	/// Storage: `Proxy::Announcements` (r:1 w:1)
287
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
288
	/// Storage: `System::Account` (r:1 w:1)
289
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
290
	/// The range of component `a` is `[0, 31]`.
291
	/// The range of component `p` is `[1, 31]`.
292
	fn remove_announcement(a: u32, p: u32, ) -> Weight {
293
		// Proof Size summary in bytes:
294
		//  Measured:  `403 + a * (68 ±0)`
295
		//  Estimated: `5698`
296
		// Minimum execution time: 22_475_000 picoseconds.
297
		Weight::from_parts(22_666_821, 5698)
298
			// Standard Error: 1_797
299
			.saturating_add(Weight::from_parts(170_629, 0).saturating_mul(a.into()))
300
			// Standard Error: 1_857
301
			.saturating_add(Weight::from_parts(18_799, 0).saturating_mul(p.into()))
302
			.saturating_add(RocksDbWeight::get().reads(2_u64))
303
			.saturating_add(RocksDbWeight::get().writes(2_u64))
304
	}
305
	/// Storage: `Proxy::Announcements` (r:1 w:1)
306
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
307
	/// Storage: `System::Account` (r:1 w:1)
308
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
309
	/// The range of component `a` is `[0, 31]`.
310
	/// The range of component `p` is `[1, 31]`.
311
	fn reject_announcement(a: u32, p: u32, ) -> Weight {
312
		// Proof Size summary in bytes:
313
		//  Measured:  `403 + a * (68 ±0)`
314
		//  Estimated: `5698`
315
		// Minimum execution time: 22_326_000 picoseconds.
316
		Weight::from_parts(22_654_227, 5698)
317
			// Standard Error: 1_859
318
			.saturating_add(Weight::from_parts(168_822, 0).saturating_mul(a.into()))
319
			// Standard Error: 1_921
320
			.saturating_add(Weight::from_parts(21_839, 0).saturating_mul(p.into()))
321
			.saturating_add(RocksDbWeight::get().reads(2_u64))
322
			.saturating_add(RocksDbWeight::get().writes(2_u64))
323
	}
324
	/// Storage: `Proxy::Proxies` (r:1 w:0)
325
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
326
	/// Storage: `Proxy::Announcements` (r:1 w:1)
327
	/// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`)
328
	/// Storage: `System::Account` (r:1 w:1)
329
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
330
	/// The range of component `a` is `[0, 31]`.
331
	/// The range of component `p` is `[1, 31]`.
332
	fn announce(a: u32, p: u32, ) -> Weight {
333
		// Proof Size summary in bytes:
334
		//  Measured:  `420 + a * (68 ±0) + p * (37 ±0)`
335
		//  Estimated: `5698`
336
		// Minimum execution time: 31_551_000 picoseconds.
337
		Weight::from_parts(32_205_445, 5698)
338
			// Standard Error: 4_089
339
			.saturating_add(Weight::from_parts(167_596, 0).saturating_mul(a.into()))
340
			// Standard Error: 4_225
341
			.saturating_add(Weight::from_parts(67_833, 0).saturating_mul(p.into()))
342
			.saturating_add(RocksDbWeight::get().reads(3_u64))
343
			.saturating_add(RocksDbWeight::get().writes(2_u64))
344
	}
345
	/// Storage: `Proxy::Proxies` (r:1 w:1)
346
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
347
	/// The range of component `p` is `[1, 31]`.
348
	fn add_proxy(p: u32, ) -> Weight {
349
		// Proof Size summary in bytes:
350
		//  Measured:  `161 + p * (37 ±0)`
351
		//  Estimated: `4706`
352
		// Minimum execution time: 21_495_000 picoseconds.
353
		Weight::from_parts(22_358_457, 4706)
354
			// Standard Error: 1_606
355
			.saturating_add(Weight::from_parts(64_322, 0).saturating_mul(p.into()))
356
			.saturating_add(RocksDbWeight::get().reads(1_u64))
357
			.saturating_add(RocksDbWeight::get().writes(1_u64))
358
	}
359
	/// Storage: `Proxy::Proxies` (r:1 w:1)
360
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
361
	/// The range of component `p` is `[1, 31]`.
362
	fn remove_proxy(p: u32, ) -> Weight {
363
		// Proof Size summary in bytes:
364
		//  Measured:  `161 + p * (37 ±0)`
365
		//  Estimated: `4706`
366
		// Minimum execution time: 21_495_000 picoseconds.
367
		Weight::from_parts(22_579_308, 4706)
368
			// Standard Error: 2_571
369
			.saturating_add(Weight::from_parts(62_404, 0).saturating_mul(p.into()))
370
			.saturating_add(RocksDbWeight::get().reads(1_u64))
371
			.saturating_add(RocksDbWeight::get().writes(1_u64))
372
	}
373
	/// Storage: `Proxy::Proxies` (r:1 w:1)
374
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
375
	/// The range of component `p` is `[1, 31]`.
376
	fn remove_proxies(p: u32, ) -> Weight {
377
		// Proof Size summary in bytes:
378
		//  Measured:  `161 + p * (37 ±0)`
379
		//  Estimated: `4706`
380
		// Minimum execution time: 20_541_000 picoseconds.
381
		Weight::from_parts(21_456_750, 4706)
382
			// Standard Error: 1_697
383
			.saturating_add(Weight::from_parts(45_387, 0).saturating_mul(p.into()))
384
			.saturating_add(RocksDbWeight::get().reads(1_u64))
385
			.saturating_add(RocksDbWeight::get().writes(1_u64))
386
	}
387
	/// Storage: `Proxy::Proxies` (r:1 w:1)
388
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
389
	/// The range of component `p` is `[1, 31]`.
390
	fn create_pure(p: u32, ) -> Weight {
391
		// Proof Size summary in bytes:
392
		//  Measured:  `173`
393
		//  Estimated: `4706`
394
		// Minimum execution time: 22_809_000 picoseconds.
395
		Weight::from_parts(23_878_644, 4706)
396
			// Standard Error: 1_600
397
			.saturating_add(Weight::from_parts(10_149, 0).saturating_mul(p.into()))
398
			.saturating_add(RocksDbWeight::get().reads(1_u64))
399
			.saturating_add(RocksDbWeight::get().writes(1_u64))
400
	}
401
	/// Storage: `Proxy::Proxies` (r:1 w:1)
402
	/// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`)
403
	/// The range of component `p` is `[0, 30]`.
404
	fn kill_pure(p: u32, ) -> Weight {
405
		// Proof Size summary in bytes:
406
		//  Measured:  `198 + p * (37 ±0)`
407
		//  Estimated: `4706`
408
		// Minimum execution time: 20_993_000 picoseconds.
409
		Weight::from_parts(22_067_418, 4706)
410
			// Standard Error: 1_673
411
			.saturating_add(Weight::from_parts(52_703, 0).saturating_mul(p.into()))
412
			.saturating_add(RocksDbWeight::get().reads(1_u64))
413
			.saturating_add(RocksDbWeight::get().writes(1_u64))
414
	}
415
}