1
// Copyright 2019-2025 PureStake Inc.
2
// This file is part of Moonbeam.
3

            
4
// Moonbeam is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8

            
9
// Moonbeam is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13

            
14
// You should have received a copy of the GNU General Public License
15
// along with Moonbeam.  If not, see <http://www.gnu.org/licenses/>.
16

            
17

            
18
//! Autogenerated weights for moonbeam_xcm_benchmarks_generic
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21
//! DATE: 2023-04-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `benchmarker`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
24
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25

            
26
// Executed Command:
27
// ./target/release/moonbeam
28
// benchmark
29
// pallet
30
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// *
34
// --extrinsic
35
// *
36
// --steps
37
// 50
38
// --repeat
39
// 20
40
// --template=./benchmarking/frame-weight-template.hbs
41
// --json-file
42
// raw.json
43
// --output
44
// weights/
45

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

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

            
53
/// Weight functions needed for moonbeam_xcm_benchmarks_generic.
54
pub trait WeightInfo {
55
	fn report_holding() -> Weight;
56
	fn buy_execution() -> Weight;
57
	fn query_response() -> Weight;
58
	fn transact() -> Weight;
59
	fn refund_surplus() -> Weight;
60
	fn set_error_handler() -> Weight;
61
	fn set_appendix() -> Weight;
62
	fn clear_error() -> Weight;
63
	fn descend_origin() -> Weight;
64
	fn clear_origin() -> Weight;
65
	fn report_error() -> Weight;
66
	fn claim_asset() -> Weight;
67
	fn trap() -> Weight;
68
	fn subscribe_version() -> Weight;
69
	fn unsubscribe_version() -> Weight;
70
	fn initiate_reserve_withdraw() -> Weight;
71
	fn burn_asset() -> Weight;
72
	fn expect_asset() -> Weight;
73
	fn expect_origin() -> Weight;
74
	fn expect_error() -> Weight;
75
	fn expect_transact_status() -> Weight;
76
	fn query_pallet() -> Weight;
77
	fn expect_pallet() -> Weight;
78
	fn report_transact_status() -> Weight;
79
	fn clear_transact_status() -> Weight;
80
	fn set_topic() -> Weight;
81
	fn clear_topic() -> Weight;
82
	fn exchange_asset() -> Weight;
83
	fn universal_origin() -> Weight;
84
	fn export_message() -> Weight;
85
	fn set_fees_mode() -> Weight;
86
	fn lock_asset() -> Weight;
87
	fn unlock_asset() -> Weight;
88
	fn note_unlockable() -> Weight;
89
	fn request_unlock() -> Weight;
90
	fn unpaid_execution() -> Weight;
91
	fn pay_fees() -> Weight;
92
	fn initiate_transfer() -> Weight;
93
	fn execute_with_origin() -> Weight;
94
	fn set_hints() -> Weight;
95
}
96

            
97
/// Weights for moonbeam_xcm_benchmarks_generic using the Substrate node and recommended hardware.
98
pub struct SubstrateWeight<T>(PhantomData<T>);
99
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
100
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
101
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
102
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
103
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
104
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
105
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
106
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
107
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
108
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
109
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
110
	fn report_holding() -> Weight {
111
		// Proof Size summary in bytes:
112
		//  Measured:  `145`
113
		//  Estimated: `10130`
114
		// Minimum execution time: 613_728_000 picoseconds.
115
		Weight::from_parts(616_143_000, 10130)
116
			.saturating_add(T::DbWeight::get().reads(5_u64))
117
			.saturating_add(T::DbWeight::get().writes(2_u64))
118
	}
119
	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
120
	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
121
	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
122
	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
123
	/// Storage: AssetManager AssetTypeId (r:1 w:0)
124
	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
125
	/// Storage: Assets Asset (r:1 w:0)
126
	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
127
	fn buy_execution() -> Weight {
128
		// Proof Size summary in bytes:
129
		//  Measured:  `2334`
130
		//  Estimated: `19056`
131
		// Minimum execution time: 180_427_000 picoseconds.
132
		Weight::from_parts(181_080_000, 19056)
133
			.saturating_add(T::DbWeight::get().reads(4_u64))
134
	}
135
	/// Storage: PolkadotXcm Queries (r:1 w:0)
136
	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
137
	fn query_response() -> Weight {
138
		// Proof Size summary in bytes:
139
		//  Measured:  `69`
140
		//  Estimated: `3534`
141
		// Minimum execution time: 17_147_000 picoseconds.
142
		Weight::from_parts(17_428_000, 3534)
143
			.saturating_add(T::DbWeight::get().reads(1_u64))
144
	}
145
	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
146
	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
147
	fn transact() -> Weight {
148
		// Proof Size summary in bytes:
149
		//  Measured:  `42`
150
		//  Estimated: `1527`
151
		// Minimum execution time: 24_018_000 picoseconds.
152
		Weight::from_parts(24_375_000, 1527)
153
			.saturating_add(T::DbWeight::get().reads(1_u64))
154
	}
155
	fn refund_surplus() -> Weight {
156
		// Proof Size summary in bytes:
157
		//  Measured:  `0`
158
		//  Estimated: `0`
159
		// Minimum execution time: 7_851_000 picoseconds.
160
		Weight::from_parts(7_975_000, 0)
161
	}
162
	fn set_error_handler() -> Weight {
163
		// Proof Size summary in bytes:
164
		//  Measured:  `0`
165
		//  Estimated: `0`
166
		// Minimum execution time: 5_072_000 picoseconds.
167
		Weight::from_parts(5_182_000, 0)
168
	}
169
	fn set_appendix() -> Weight {
170
		// Proof Size summary in bytes:
171
		//  Measured:  `0`
172
		//  Estimated: `0`
173
		// Minimum execution time: 4_983_000 picoseconds.
174
		Weight::from_parts(5_123_000, 0)
175
	}
176
	fn clear_error() -> Weight {
177
		// Proof Size summary in bytes:
178
		//  Measured:  `0`
179
		//  Estimated: `0`
180
		// Minimum execution time: 5_017_000 picoseconds.
181
		Weight::from_parts(5_147_000, 0)
182
	}
183
	fn descend_origin() -> Weight {
184
		// Proof Size summary in bytes:
185
		//  Measured:  `0`
186
		//  Estimated: `0`
187
		// Minimum execution time: 5_870_000 picoseconds.
188
		Weight::from_parts(5_992_000, 0)
189
	}
190
6
	fn clear_origin() -> Weight {
191
6
		// Proof Size summary in bytes:
192
6
		//  Measured:  `0`
193
6
		//  Estimated: `0`
194
6
		// Minimum execution time: 5_059_000 picoseconds.
195
6
		Weight::from_parts(5_194_000, 0)
196
6
	}
197
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
198
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
199
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
200
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
201
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
202
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
203
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
204
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
205
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
206
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
207
	fn report_error() -> Weight {
208
		// Proof Size summary in bytes:
209
		//  Measured:  `145`
210
		//  Estimated: `10130`
211
		// Minimum execution time: 35_671_000 picoseconds.
212
		Weight::from_parts(36_231_000, 10130)
213
			.saturating_add(T::DbWeight::get().reads(5_u64))
214
			.saturating_add(T::DbWeight::get().writes(2_u64))
215
	}
216
	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
217
	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
218
	fn claim_asset() -> Weight {
219
		// Proof Size summary in bytes:
220
		//  Measured:  `126`
221
		//  Estimated: `3591`
222
		// Minimum execution time: 23_093_000 picoseconds.
223
		Weight::from_parts(23_438_000, 3591)
224
			.saturating_add(T::DbWeight::get().reads(1_u64))
225
			.saturating_add(T::DbWeight::get().writes(1_u64))
226
	}
227
	fn trap() -> Weight {
228
		// Proof Size summary in bytes:
229
		//  Measured:  `0`
230
		//  Estimated: `0`
231
		// Minimum execution time: 5_182_000 picoseconds.
232
		Weight::from_parts(5_281_000, 0)
233
	}
234
	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
235
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
236
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
237
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
238
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
239
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
240
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
241
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
242
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
243
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
244
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
245
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
246
	fn subscribe_version() -> Weight {
247
		// Proof Size summary in bytes:
248
		//  Measured:  `145`
249
		//  Estimated: `13740`
250
		// Minimum execution time: 42_060_000 picoseconds.
251
		Weight::from_parts(42_607_000, 13740)
252
			.saturating_add(T::DbWeight::get().reads(6_u64))
253
			.saturating_add(T::DbWeight::get().writes(3_u64))
254
	}
255
	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
256
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
257
	fn unsubscribe_version() -> Weight {
258
		// Proof Size summary in bytes:
259
		//  Measured:  `0`
260
		//  Estimated: `0`
261
		// Minimum execution time: 8_521_000 picoseconds.
262
		Weight::from_parts(8_689_000, 0)
263
			.saturating_add(T::DbWeight::get().writes(1_u64))
264
	}
265
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
266
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
267
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
268
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
269
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
270
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
271
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
272
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
273
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
274
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
275
	fn initiate_reserve_withdraw() -> Weight {
276
		// Proof Size summary in bytes:
277
		//  Measured:  `145`
278
		//  Estimated: `10130`
279
		// Minimum execution time: 713_056_000 picoseconds.
280
		Weight::from_parts(715_975_000, 10130)
281
			.saturating_add(T::DbWeight::get().reads(5_u64))
282
			.saturating_add(T::DbWeight::get().writes(2_u64))
283
	}
284
122
	fn burn_asset() -> Weight {
285
122
		// Proof Size summary in bytes:
286
122
		//  Measured:  `0`
287
122
		//  Estimated: `0`
288
122
		// Minimum execution time: 226_643_000 picoseconds.
289
122
		Weight::from_parts(227_558_000, 0)
290
122
	}
291
	fn expect_asset() -> Weight {
292
		// Proof Size summary in bytes:
293
		//  Measured:  `0`
294
		//  Estimated: `0`
295
		// Minimum execution time: 19_959_000 picoseconds.
296
		Weight::from_parts(20_434_000, 0)
297
	}
298
	fn expect_origin() -> Weight {
299
		// Proof Size summary in bytes:
300
		//  Measured:  `0`
301
		//  Estimated: `0`
302
		// Minimum execution time: 5_047_000 picoseconds.
303
		Weight::from_parts(5_211_000, 0)
304
	}
305
	fn expect_error() -> Weight {
306
		// Proof Size summary in bytes:
307
		//  Measured:  `0`
308
		//  Estimated: `0`
309
		// Minimum execution time: 5_051_000 picoseconds.
310
		Weight::from_parts(5_141_000, 0)
311
	}
312
	fn expect_transact_status() -> Weight {
313
		// Proof Size summary in bytes:
314
		//  Measured:  `0`
315
		//  Estimated: `0`
316
		// Minimum execution time: 5_189_000 picoseconds.
317
		Weight::from_parts(5_381_000, 0)
318
	}
319
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
320
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
321
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
322
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
323
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
324
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
325
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
326
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
327
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
328
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
329
	fn query_pallet() -> Weight {
330
		// Proof Size summary in bytes:
331
		//  Measured:  `145`
332
		//  Estimated: `10130`
333
		// Minimum execution time: 50_026_000 picoseconds.
334
		Weight::from_parts(50_578_000, 10130)
335
			.saturating_add(T::DbWeight::get().reads(5_u64))
336
			.saturating_add(T::DbWeight::get().writes(2_u64))
337
	}
338
	fn expect_pallet() -> Weight {
339
		// Proof Size summary in bytes:
340
		//  Measured:  `0`
341
		//  Estimated: `0`
342
		// Minimum execution time: 17_409_000 picoseconds.
343
		Weight::from_parts(17_794_000, 0)
344
	}
345
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
346
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
347
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
348
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
349
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
350
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
351
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
352
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
353
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
354
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
355
	fn report_transact_status() -> Weight {
356
		// Proof Size summary in bytes:
357
		//  Measured:  `145`
358
		//  Estimated: `10130`
359
		// Minimum execution time: 35_835_000 picoseconds.
360
		Weight::from_parts(36_090_000, 10130)
361
			.saturating_add(T::DbWeight::get().reads(5_u64))
362
			.saturating_add(T::DbWeight::get().writes(2_u64))
363
	}
364
	fn clear_transact_status() -> Weight {
365
		// Proof Size summary in bytes:
366
		//  Measured:  `0`
367
		//  Estimated: `0`
368
		// Minimum execution time: 5_132_000 picoseconds.
369
		Weight::from_parts(5_280_000, 0)
370
	}
371
	fn set_topic() -> Weight {
372
		// Proof Size summary in bytes:
373
		//  Measured:  `0`
374
		//  Estimated: `0`
375
		// Minimum execution time: 5_095_000 picoseconds.
376
		Weight::from_parts(5_215_000, 0)
377
	}
378
	fn clear_topic() -> Weight {
379
		// Proof Size summary in bytes:
380
		//  Measured:  `0`
381
		//  Estimated: `0`
382
		// Minimum execution time: 5_099_000 picoseconds.
383
		Weight::from_parts(5_214_000, 0)
384
	}
385
	/// Storage: Benchmark Override (r:0 w:0)
386
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
387
	fn exchange_asset() -> Weight {
388
		// Proof Size summary in bytes:
389
		//  Measured:  `0`
390
		//  Estimated: `0`
391
		// Minimum execution time: 500_000_000_000 picoseconds.
392
		Weight::from_parts(500_000_000_000, 0)
393
	}
394
	/// Storage: Benchmark Override (r:0 w:0)
395
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
396
	fn universal_origin() -> Weight {
397
		// Proof Size summary in bytes:
398
		//  Measured:  `0`
399
		//  Estimated: `0`
400
		// Minimum execution time: 500_000_000_000 picoseconds.
401
		Weight::from_parts(500_000_000_000, 0)
402
	}
403
	/// Storage: Benchmark Override (r:0 w:0)
404
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
405
	/// The range of component `x` is `[1, 1000]`.
406
	fn export_message() -> Weight {
407
		// Proof Size summary in bytes:
408
		//  Measured:  `0`
409
		//  Estimated: `0`
410
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
411
		Weight::from_parts(500_000_000_000, 0)
412
	}
413
	fn set_fees_mode() -> Weight {
414
		// Proof Size summary in bytes:
415
		//  Measured:  `0`
416
		//  Estimated: `0`
417
		// Minimum execution time: 5_066_000 picoseconds.
418
		Weight::from_parts(5_215_000, 0)
419
	}
420
	/// Storage: Benchmark Override (r:0 w:0)
421
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
422
	fn lock_asset() -> Weight {
423
		// Proof Size summary in bytes:
424
		//  Measured:  `0`
425
		//  Estimated: `0`
426
		// Minimum execution time: 500_000_000_000 picoseconds.
427
		Weight::from_parts(500_000_000_000, 0)
428
	}
429
	/// Storage: Benchmark Override (r:0 w:0)
430
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
431
	fn unlock_asset() -> Weight {
432
		// Proof Size summary in bytes:
433
		//  Measured:  `0`
434
		//  Estimated: `0`
435
		// Minimum execution time: 500_000_000_000 picoseconds.
436
		Weight::from_parts(500_000_000_000, 0)
437
	}
438
	/// Storage: Benchmark Override (r:0 w:0)
439
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
440
	fn note_unlockable() -> Weight {
441
		// Proof Size summary in bytes:
442
		//  Measured:  `0`
443
		//  Estimated: `0`
444
		// Minimum execution time: 500_000_000_000 picoseconds.
445
		Weight::from_parts(500_000_000_000, 0)
446
	}
447
	/// Storage: Benchmark Override (r:0 w:0)
448
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
449
	fn request_unlock() -> Weight {
450
		// Proof Size summary in bytes:
451
		//  Measured:  `0`
452
		//  Estimated: `0`
453
		// Minimum execution time: 500_000_000_000 picoseconds.
454
		Weight::from_parts(500_000_000_000, 0)
455
	}
456
	fn unpaid_execution() -> Weight {
457
		// Proof Size summary in bytes:
458
		//  Measured:  `0`
459
		//  Estimated: `0`
460
		// Minimum execution time: 5_249_000 picoseconds.
461
		Weight::from_parts(5_371_000, 0)
462
	}
463
	fn pay_fees() -> Weight {
464
		// Proof Size summary in bytes:
465
		//  Measured:  `0`
466
		//  Estimated: `0`
467
		// Minimum execution time: 2_000_000_000_000 picoseconds.
468
		Weight::from_parts(2_000_000_000_000, 0)
469
	}
470
	fn initiate_transfer() -> Weight {
471
		// Proof Size summary in bytes:
472
		//  Measured:  `0`
473
		//  Estimated: `0`
474
		// Minimum execution time: 2_000_000_000_000 picoseconds.
475
		Weight::from_parts(2_000_000_000_000, 0)
476
	}
477
	fn execute_with_origin() -> Weight {
478
		// Proof Size summary in bytes:
479
		//  Measured:  `0`
480
		//  Estimated: `0`
481
		// Minimum execution time: 2_000_000_000_000 picoseconds.
482
		Weight::from_parts(2_000_000_000_000, 0)
483
	}
484
	fn set_hints() -> Weight {
485
		// Proof Size summary in bytes:
486
		//  Measured:  `0`
487
		//  Estimated: `0`
488
		// Minimum execution time: 2_000_000_000_000 picoseconds.
489
		Weight::from_parts(2_000_000_000_000, 0)
490
	}
491
}
492

            
493
// For backwards compatibility and tests
494
impl WeightInfo for () {
495
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
496
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
497
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
498
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
499
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
500
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
501
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
502
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
503
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
504
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
505
	fn report_holding() -> Weight {
506
		// Proof Size summary in bytes:
507
		//  Measured:  `145`
508
		//  Estimated: `10130`
509
		// Minimum execution time: 613_728_000 picoseconds.
510
		Weight::from_parts(616_143_000, 10130)
511
			.saturating_add(RocksDbWeight::get().reads(5_u64))
512
			.saturating_add(RocksDbWeight::get().writes(2_u64))
513
	}
514
	/// Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0)
515
	/// Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured)
516
	/// Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0)
517
	/// Proof Skipped: AssetManager AssetTypeUnitsPerSecond (max_values: None, max_size: None, mode: Measured)
518
	/// Storage: AssetManager AssetTypeId (r:1 w:0)
519
	/// Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured)
520
	/// Storage: Assets Asset (r:1 w:0)
521
	/// Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)
522
	fn buy_execution() -> Weight {
523
		// Proof Size summary in bytes:
524
		//  Measured:  `2334`
525
		//  Estimated: `19056`
526
		// Minimum execution time: 180_427_000 picoseconds.
527
		Weight::from_parts(181_080_000, 19056)
528
			.saturating_add(RocksDbWeight::get().reads(4_u64))
529
	}
530
	/// Storage: PolkadotXcm Queries (r:1 w:0)
531
	/// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
532
	fn query_response() -> Weight {
533
		// Proof Size summary in bytes:
534
		//  Measured:  `69`
535
		//  Estimated: `3534`
536
		// Minimum execution time: 17_147_000 picoseconds.
537
		Weight::from_parts(17_428_000, 3534)
538
			.saturating_add(RocksDbWeight::get().reads(1_u64))
539
	}
540
	/// Storage: MaintenanceMode MaintenanceMode (r:1 w:0)
541
	/// Proof Skipped: MaintenanceMode MaintenanceMode (max_values: Some(1), max_size: None, mode: Measured)
542
	fn transact() -> Weight {
543
		// Proof Size summary in bytes:
544
		//  Measured:  `42`
545
		//  Estimated: `1527`
546
		// Minimum execution time: 24_018_000 picoseconds.
547
		Weight::from_parts(24_375_000, 1527)
548
			.saturating_add(RocksDbWeight::get().reads(1_u64))
549
	}
550
	fn refund_surplus() -> Weight {
551
		// Proof Size summary in bytes:
552
		//  Measured:  `0`
553
		//  Estimated: `0`
554
		// Minimum execution time: 7_851_000 picoseconds.
555
		Weight::from_parts(7_975_000, 0)
556
	}
557
	fn set_error_handler() -> Weight {
558
		// Proof Size summary in bytes:
559
		//  Measured:  `0`
560
		//  Estimated: `0`
561
		// Minimum execution time: 5_072_000 picoseconds.
562
		Weight::from_parts(5_182_000, 0)
563
	}
564
	fn set_appendix() -> Weight {
565
		// Proof Size summary in bytes:
566
		//  Measured:  `0`
567
		//  Estimated: `0`
568
		// Minimum execution time: 4_983_000 picoseconds.
569
		Weight::from_parts(5_123_000, 0)
570
	}
571
	fn clear_error() -> Weight {
572
		// Proof Size summary in bytes:
573
		//  Measured:  `0`
574
		//  Estimated: `0`
575
		// Minimum execution time: 5_017_000 picoseconds.
576
		Weight::from_parts(5_147_000, 0)
577
	}
578
	fn descend_origin() -> Weight {
579
		// Proof Size summary in bytes:
580
		//  Measured:  `0`
581
		//  Estimated: `0`
582
		// Minimum execution time: 5_870_000 picoseconds.
583
		Weight::from_parts(5_992_000, 0)
584
	}
585
	fn clear_origin() -> Weight {
586
		// Proof Size summary in bytes:
587
		//  Measured:  `0`
588
		//  Estimated: `0`
589
		// Minimum execution time: 5_059_000 picoseconds.
590
		Weight::from_parts(5_194_000, 0)
591
	}
592
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
593
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
594
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
595
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
596
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
597
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
598
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
599
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
600
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
601
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
602
	fn report_error() -> Weight {
603
		// Proof Size summary in bytes:
604
		//  Measured:  `145`
605
		//  Estimated: `10130`
606
		// Minimum execution time: 35_671_000 picoseconds.
607
		Weight::from_parts(36_231_000, 10130)
608
			.saturating_add(RocksDbWeight::get().reads(5_u64))
609
			.saturating_add(RocksDbWeight::get().writes(2_u64))
610
	}
611
	/// Storage: PolkadotXcm AssetTraps (r:1 w:1)
612
	/// Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)
613
	fn claim_asset() -> Weight {
614
		// Proof Size summary in bytes:
615
		//  Measured:  `126`
616
		//  Estimated: `3591`
617
		// Minimum execution time: 23_093_000 picoseconds.
618
		Weight::from_parts(23_438_000, 3591)
619
			.saturating_add(RocksDbWeight::get().reads(1_u64))
620
			.saturating_add(RocksDbWeight::get().writes(1_u64))
621
	}
622
	fn trap() -> Weight {
623
		// Proof Size summary in bytes:
624
		//  Measured:  `0`
625
		//  Estimated: `0`
626
		// Minimum execution time: 5_182_000 picoseconds.
627
		Weight::from_parts(5_281_000, 0)
628
	}
629
	/// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
630
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
631
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
632
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
633
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
634
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
635
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
636
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
637
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
638
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
639
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
640
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
641
	fn subscribe_version() -> Weight {
642
		// Proof Size summary in bytes:
643
		//  Measured:  `145`
644
		//  Estimated: `13740`
645
		// Minimum execution time: 42_060_000 picoseconds.
646
		Weight::from_parts(42_607_000, 13740)
647
			.saturating_add(RocksDbWeight::get().reads(6_u64))
648
			.saturating_add(RocksDbWeight::get().writes(3_u64))
649
	}
650
	/// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
651
	/// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
652
	fn unsubscribe_version() -> Weight {
653
		// Proof Size summary in bytes:
654
		//  Measured:  `0`
655
		//  Estimated: `0`
656
		// Minimum execution time: 8_521_000 picoseconds.
657
		Weight::from_parts(8_689_000, 0)
658
			.saturating_add(RocksDbWeight::get().writes(1_u64))
659
	}
660
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
661
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
662
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
663
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
664
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
665
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
666
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
667
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
668
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
669
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
670
	fn initiate_reserve_withdraw() -> Weight {
671
		// Proof Size summary in bytes:
672
		//  Measured:  `145`
673
		//  Estimated: `10130`
674
		// Minimum execution time: 713_056_000 picoseconds.
675
		Weight::from_parts(715_975_000, 10130)
676
			.saturating_add(RocksDbWeight::get().reads(5_u64))
677
			.saturating_add(RocksDbWeight::get().writes(2_u64))
678
	}
679
	fn burn_asset() -> Weight {
680
		// Proof Size summary in bytes:
681
		//  Measured:  `0`
682
		//  Estimated: `0`
683
		// Minimum execution time: 226_643_000 picoseconds.
684
		Weight::from_parts(227_558_000, 0)
685
	}
686
	fn expect_asset() -> Weight {
687
		// Proof Size summary in bytes:
688
		//  Measured:  `0`
689
		//  Estimated: `0`
690
		// Minimum execution time: 19_959_000 picoseconds.
691
		Weight::from_parts(20_434_000, 0)
692
	}
693
	fn expect_origin() -> Weight {
694
		// Proof Size summary in bytes:
695
		//  Measured:  `0`
696
		//  Estimated: `0`
697
		// Minimum execution time: 5_047_000 picoseconds.
698
		Weight::from_parts(5_211_000, 0)
699
	}
700
	fn expect_error() -> Weight {
701
		// Proof Size summary in bytes:
702
		//  Measured:  `0`
703
		//  Estimated: `0`
704
		// Minimum execution time: 5_051_000 picoseconds.
705
		Weight::from_parts(5_141_000, 0)
706
	}
707
	fn expect_transact_status() -> Weight {
708
		// Proof Size summary in bytes:
709
		//  Measured:  `0`
710
		//  Estimated: `0`
711
		// Minimum execution time: 5_189_000 picoseconds.
712
		Weight::from_parts(5_381_000, 0)
713
	}
714
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
715
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
716
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
717
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
718
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
719
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
720
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
721
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
722
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
723
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
724
	fn query_pallet() -> Weight {
725
		// Proof Size summary in bytes:
726
		//  Measured:  `145`
727
		//  Estimated: `10130`
728
		// Minimum execution time: 50_026_000 picoseconds.
729
		Weight::from_parts(50_578_000, 10130)
730
			.saturating_add(RocksDbWeight::get().reads(5_u64))
731
			.saturating_add(RocksDbWeight::get().writes(2_u64))
732
	}
733
	fn expect_pallet() -> Weight {
734
		// Proof Size summary in bytes:
735
		//  Measured:  `0`
736
		//  Estimated: `0`
737
		// Minimum execution time: 17_409_000 picoseconds.
738
		Weight::from_parts(17_794_000, 0)
739
	}
740
	/// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
741
	/// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
742
	/// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
743
	/// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
744
	/// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
745
	/// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
746
	/// Storage: ParachainSystem HostConfiguration (r:1 w:0)
747
	/// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
748
	/// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
749
	/// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
750
	fn report_transact_status() -> Weight {
751
		// Proof Size summary in bytes:
752
		//  Measured:  `145`
753
		//  Estimated: `10130`
754
		// Minimum execution time: 35_835_000 picoseconds.
755
		Weight::from_parts(36_090_000, 10130)
756
			.saturating_add(RocksDbWeight::get().reads(5_u64))
757
			.saturating_add(RocksDbWeight::get().writes(2_u64))
758
	}
759
	fn clear_transact_status() -> Weight {
760
		// Proof Size summary in bytes:
761
		//  Measured:  `0`
762
		//  Estimated: `0`
763
		// Minimum execution time: 5_132_000 picoseconds.
764
		Weight::from_parts(5_280_000, 0)
765
	}
766
	fn set_topic() -> Weight {
767
		// Proof Size summary in bytes:
768
		//  Measured:  `0`
769
		//  Estimated: `0`
770
		// Minimum execution time: 5_095_000 picoseconds.
771
		Weight::from_parts(5_215_000, 0)
772
	}
773
	fn clear_topic() -> Weight {
774
		// Proof Size summary in bytes:
775
		//  Measured:  `0`
776
		//  Estimated: `0`
777
		// Minimum execution time: 5_099_000 picoseconds.
778
		Weight::from_parts(5_214_000, 0)
779
	}
780
	/// Storage: Benchmark Override (r:0 w:0)
781
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
782
	fn exchange_asset() -> Weight {
783
		// Proof Size summary in bytes:
784
		//  Measured:  `0`
785
		//  Estimated: `0`
786
		// Minimum execution time: 500_000_000_000 picoseconds.
787
		Weight::from_parts(500_000_000_000, 0)
788
	}
789
	/// Storage: Benchmark Override (r:0 w:0)
790
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
791
	fn universal_origin() -> Weight {
792
		// Proof Size summary in bytes:
793
		//  Measured:  `0`
794
		//  Estimated: `0`
795
		// Minimum execution time: 500_000_000_000 picoseconds.
796
		Weight::from_parts(500_000_000_000, 0)
797
	}
798
	/// Storage: Benchmark Override (r:0 w:0)
799
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
800
	/// The range of component `x` is `[1, 1000]`.
801
	fn export_message() -> Weight {
802
		// Proof Size summary in bytes:
803
		//  Measured:  `0`
804
		//  Estimated: `0`
805
		// Minimum execution time: 18_446_744_073_709_551_000 picoseconds.
806
		Weight::from_parts(500_000_000_000, 0)
807
	}
808
	fn set_fees_mode() -> Weight {
809
		// Proof Size summary in bytes:
810
		//  Measured:  `0`
811
		//  Estimated: `0`
812
		// Minimum execution time: 5_066_000 picoseconds.
813
		Weight::from_parts(5_215_000, 0)
814
	}
815
	/// Storage: Benchmark Override (r:0 w:0)
816
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
817
	fn lock_asset() -> Weight {
818
		// Proof Size summary in bytes:
819
		//  Measured:  `0`
820
		//  Estimated: `0`
821
		// Minimum execution time: 500_000_000_000 picoseconds.
822
		Weight::from_parts(500_000_000_000, 0)
823
	}
824
	/// Storage: Benchmark Override (r:0 w:0)
825
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
826
	fn unlock_asset() -> Weight {
827
		// Proof Size summary in bytes:
828
		//  Measured:  `0`
829
		//  Estimated: `0`
830
		// Minimum execution time: 500_000_000_000 picoseconds.
831
		Weight::from_parts(500_000_000_000, 0)
832
	}
833
	/// Storage: Benchmark Override (r:0 w:0)
834
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
835
	fn note_unlockable() -> Weight {
836
		// Proof Size summary in bytes:
837
		//  Measured:  `0`
838
		//  Estimated: `0`
839
		// Minimum execution time: 500_000_000_000 picoseconds.
840
		Weight::from_parts(500_000_000_000, 0)
841
	}
842
	/// Storage: Benchmark Override (r:0 w:0)
843
	/// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)
844
	fn request_unlock() -> Weight {
845
		// Proof Size summary in bytes:
846
		//  Measured:  `0`
847
		//  Estimated: `0`
848
		// Minimum execution time: 500_000_000_000 picoseconds.
849
		Weight::from_parts(500_000_000_000, 0)
850
	}
851
	fn unpaid_execution() -> Weight {
852
		// Proof Size summary in bytes:
853
		//  Measured:  `0`
854
		//  Estimated: `0`
855
		// Minimum execution time: 5_249_000 picoseconds.
856
		Weight::from_parts(5_371_000, 0)
857
	}
858
	fn pay_fees() -> Weight {
859
		// Proof Size summary in bytes:
860
		//  Measured:  `0`
861
		//  Estimated: `0`
862
		// Minimum execution time: 2_000_000_000_000 picoseconds.
863
		Weight::from_parts(2_000_000_000_000, 0)
864
	}
865
	fn initiate_transfer() -> Weight {
866
		// Proof Size summary in bytes:
867
		//  Measured:  `0`
868
		//  Estimated: `0`
869
		// Minimum execution time: 2_000_000_000_000 picoseconds.
870
		Weight::from_parts(2_000_000_000_000, 0)
871
	}
872
	fn execute_with_origin() -> Weight {
873
		// Proof Size summary in bytes:
874
		//  Measured:  `0`
875
		//  Estimated: `0`
876
		// Minimum execution time: 2_000_000_000_000 picoseconds.
877
		Weight::from_parts(2_000_000_000_000, 0)
878
	}
879
	fn set_hints() -> Weight {
880
		// Proof Size summary in bytes:
881
		//  Measured:  `0`
882
		//  Estimated: `0`
883
		// Minimum execution time: 2_000_000_000_000 picoseconds.
884
		Weight::from_parts(2_000_000_000_000, 0)
885
	}
886
}