1
// Copyright 2025 Moonbeam foundation
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 `pallet_assets`
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.2.0
21
//! DATE: 2025-07-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-198`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25

            
26
// Executed Command:
27
// ./frame-omni-bencher
28
// v1
29
// benchmark
30
// pallet
31
// --runtime=./target/production/wbuild/moonbase-runtime/moonbase_runtime.wasm
32
// --genesis-builder=runtime
33
// --genesis-builder-preset=development
34
// --steps=50
35
// --repeat=20
36
// --pallet=pallet_assets
37
// --extrinsic=*
38
// --wasm-execution=compiled
39
// --header=./file_header.txt
40
// --template=./benchmarking/frame-weight-template.hbs
41
// --output=./runtime/moonbase/src/weights
42

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

            
47
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
48
use sp_std::marker::PhantomData;
49

            
50
/// Weights for `pallet_assets`.
51
pub struct WeightInfo<T>(PhantomData<T>);
52
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
53
	fn create() -> Weight {
54
		// Proof Size summary in bytes:
55
		//  Measured:  `0`
56
		//  Estimated: `0`
57
		// Minimum execution time: 0_000 picoseconds.
58
		Weight::from_parts(0, 0)
59
	}
60
	/// Storage: `Assets::Asset` (r:1 w:1)
61
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
62
	/// Storage: `Assets::NextAssetId` (r:1 w:0)
63
	/// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
64
	fn force_create() -> Weight {
65
		// Proof Size summary in bytes:
66
		//  Measured:  `6`
67
		//  Estimated: `3639`
68
		// Minimum execution time: 10_123_000 picoseconds.
69
		Weight::from_parts(10_437_000, 3639)
70
			.saturating_add(T::DbWeight::get().reads(2_u64))
71
			.saturating_add(T::DbWeight::get().writes(1_u64))
72
	}
73
	/// Storage: `Assets::Asset` (r:1 w:1)
74
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
75
	fn start_destroy() -> Weight {
76
		// Proof Size summary in bytes:
77
		//  Measured:  `241`
78
		//  Estimated: `3639`
79
		// Minimum execution time: 11_277_000 picoseconds.
80
		Weight::from_parts(11_692_000, 3639)
81
			.saturating_add(T::DbWeight::get().reads(1_u64))
82
			.saturating_add(T::DbWeight::get().writes(1_u64))
83
	}
84
	/// Storage: `Assets::Asset` (r:1 w:1)
85
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
86
	/// Storage: `Assets::Account` (r:657 w:656)
87
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
88
	/// Storage: `System::Account` (r:656 w:656)
89
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
90
	/// The range of component `c` is `[0, 656]`.
91
	fn destroy_accounts(c: u32, ) -> Weight {
92
		// Proof Size summary in bytes:
93
		//  Measured:  `1316 + c * (183 ±0)`
94
		//  Estimated: `3639 + c * (2597 ±0)`
95
		// Minimum execution time: 14_323_000 picoseconds.
96
		Weight::from_parts(14_523_000, 3639)
97
			// Standard Error: 5_792
98
			.saturating_add(Weight::from_parts(13_467_090, 0).saturating_mul(c.into()))
99
			.saturating_add(T::DbWeight::get().reads(2_u64))
100
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
101
			.saturating_add(T::DbWeight::get().writes(1_u64))
102
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
103
			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(c.into()))
104
	}
105
	/// Storage: `Assets::Asset` (r:1 w:1)
106
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
107
	/// Storage: `Assets::Approvals` (r:657 w:656)
108
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
109
	/// The range of component `a` is `[0, 656]`.
110
	fn destroy_approvals(a: u32, ) -> Weight {
111
		// Proof Size summary in bytes:
112
		//  Measured:  `313 + a * (74 ±0)`
113
		//  Estimated: `3639 + a * (2611 ±0)`
114
		// Minimum execution time: 15_106_000 picoseconds.
115
		Weight::from_parts(15_541_000, 3639)
116
			// Standard Error: 3_039
117
			.saturating_add(Weight::from_parts(5_384_528, 0).saturating_mul(a.into()))
118
			.saturating_add(T::DbWeight::get().reads(2_u64))
119
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
120
			.saturating_add(T::DbWeight::get().writes(1_u64))
121
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
122
			.saturating_add(Weight::from_parts(0, 2611).saturating_mul(a.into()))
123
	}
124
	/// Storage: `Assets::Asset` (r:1 w:1)
125
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
126
	/// Storage: `Assets::Metadata` (r:1 w:0)
127
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
128
	fn finish_destroy() -> Weight {
129
		// Proof Size summary in bytes:
130
		//  Measured:  `207`
131
		//  Estimated: `3639`
132
		// Minimum execution time: 12_182_000 picoseconds.
133
		Weight::from_parts(12_663_000, 3639)
134
			.saturating_add(T::DbWeight::get().reads(2_u64))
135
			.saturating_add(T::DbWeight::get().writes(1_u64))
136
	}
137
	/// Storage: `Assets::Asset` (r:1 w:1)
138
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
139
	/// Storage: `Assets::Account` (r:1 w:1)
140
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
141
	fn mint() -> Weight {
142
		// Proof Size summary in bytes:
143
		//  Measured:  `207`
144
		//  Estimated: `3639`
145
		// Minimum execution time: 21_242_000 picoseconds.
146
		Weight::from_parts(22_005_000, 3639)
147
			.saturating_add(T::DbWeight::get().reads(2_u64))
148
			.saturating_add(T::DbWeight::get().writes(2_u64))
149
	}
150
	/// Storage: `Assets::Asset` (r:1 w:1)
151
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
152
	/// Storage: `Assets::Account` (r:1 w:1)
153
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
154
	fn burn() -> Weight {
155
		// Proof Size summary in bytes:
156
		//  Measured:  `315`
157
		//  Estimated: `3639`
158
		// Minimum execution time: 29_497_000 picoseconds.
159
		Weight::from_parts(30_595_000, 3639)
160
			.saturating_add(T::DbWeight::get().reads(2_u64))
161
			.saturating_add(T::DbWeight::get().writes(2_u64))
162
	}
163
	/// Storage: `Assets::Asset` (r:1 w:1)
164
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
165
	/// Storage: `Assets::Account` (r:2 w:2)
166
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
167
	/// Storage: `System::Account` (r:1 w:1)
168
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
169
	fn transfer() -> Weight {
170
		// Proof Size summary in bytes:
171
		//  Measured:  `420`
172
		//  Estimated: `6184`
173
		// Minimum execution time: 41_467_000 picoseconds.
174
		Weight::from_parts(43_093_000, 6184)
175
			.saturating_add(T::DbWeight::get().reads(4_u64))
176
			.saturating_add(T::DbWeight::get().writes(4_u64))
177
	}
178
	/// Storage: `Assets::Asset` (r:1 w:1)
179
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
180
	/// Storage: `Assets::Account` (r:2 w:2)
181
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
182
	/// Storage: `System::Account` (r:1 w:1)
183
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
184
	fn transfer_keep_alive() -> Weight {
185
		// Proof Size summary in bytes:
186
		//  Measured:  `420`
187
		//  Estimated: `6184`
188
		// Minimum execution time: 37_866_000 picoseconds.
189
		Weight::from_parts(38_533_000, 6184)
190
			.saturating_add(T::DbWeight::get().reads(4_u64))
191
			.saturating_add(T::DbWeight::get().writes(4_u64))
192
	}
193
	/// Storage: `Assets::Asset` (r:1 w:1)
194
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
195
	/// Storage: `Assets::Account` (r:2 w:2)
196
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
197
	/// Storage: `System::Account` (r:1 w:1)
198
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
199
	fn force_transfer() -> Weight {
200
		// Proof Size summary in bytes:
201
		//  Measured:  `420`
202
		//  Estimated: `6184`
203
		// Minimum execution time: 41_542_000 picoseconds.
204
		Weight::from_parts(43_106_000, 6184)
205
			.saturating_add(T::DbWeight::get().reads(4_u64))
206
			.saturating_add(T::DbWeight::get().writes(4_u64))
207
	}
208
	/// Storage: `Assets::Asset` (r:1 w:0)
209
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
210
	/// Storage: `Assets::Account` (r:1 w:1)
211
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
212
	fn freeze() -> Weight {
213
		// Proof Size summary in bytes:
214
		//  Measured:  `315`
215
		//  Estimated: `3639`
216
		// Minimum execution time: 15_116_000 picoseconds.
217
		Weight::from_parts(15_646_000, 3639)
218
			.saturating_add(T::DbWeight::get().reads(2_u64))
219
			.saturating_add(T::DbWeight::get().writes(1_u64))
220
	}
221
	/// Storage: `Assets::Asset` (r:1 w:0)
222
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
223
	/// Storage: `Assets::Account` (r:1 w:1)
224
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
225
	fn thaw() -> Weight {
226
		// Proof Size summary in bytes:
227
		//  Measured:  `315`
228
		//  Estimated: `3639`
229
		// Minimum execution time: 15_496_000 picoseconds.
230
		Weight::from_parts(15_932_000, 3639)
231
			.saturating_add(T::DbWeight::get().reads(2_u64))
232
			.saturating_add(T::DbWeight::get().writes(1_u64))
233
	}
234
	/// Storage: `Assets::Asset` (r:1 w:1)
235
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
236
	fn freeze_asset() -> Weight {
237
		// Proof Size summary in bytes:
238
		//  Measured:  `241`
239
		//  Estimated: `3639`
240
		// Minimum execution time: 11_035_000 picoseconds.
241
		Weight::from_parts(11_383_000, 3639)
242
			.saturating_add(T::DbWeight::get().reads(1_u64))
243
			.saturating_add(T::DbWeight::get().writes(1_u64))
244
	}
245
	/// Storage: `Assets::Asset` (r:1 w:1)
246
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
247
	fn thaw_asset() -> Weight {
248
		// Proof Size summary in bytes:
249
		//  Measured:  `241`
250
		//  Estimated: `3639`
251
		// Minimum execution time: 10_970_000 picoseconds.
252
		Weight::from_parts(11_411_000, 3639)
253
			.saturating_add(T::DbWeight::get().reads(1_u64))
254
			.saturating_add(T::DbWeight::get().writes(1_u64))
255
	}
256
	/// Storage: `Assets::Asset` (r:1 w:1)
257
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
258
	/// Storage: `Assets::Metadata` (r:1 w:0)
259
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
260
	fn transfer_ownership() -> Weight {
261
		// Proof Size summary in bytes:
262
		//  Measured:  `207`
263
		//  Estimated: `3639`
264
		// Minimum execution time: 12_627_000 picoseconds.
265
		Weight::from_parts(13_212_000, 3639)
266
			.saturating_add(T::DbWeight::get().reads(2_u64))
267
			.saturating_add(T::DbWeight::get().writes(1_u64))
268
	}
269
	/// Storage: `Assets::Asset` (r:1 w:1)
270
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
271
	fn set_team() -> Weight {
272
		// Proof Size summary in bytes:
273
		//  Measured:  `207`
274
		//  Estimated: `3639`
275
		// Minimum execution time: 10_533_000 picoseconds.
276
		Weight::from_parts(11_085_000, 3639)
277
			.saturating_add(T::DbWeight::get().reads(1_u64))
278
			.saturating_add(T::DbWeight::get().writes(1_u64))
279
	}
280
	/// Storage: `Assets::Asset` (r:1 w:0)
281
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
282
	/// Storage: `Assets::Metadata` (r:1 w:1)
283
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
284
	/// The range of component `n` is `[0, 50]`.
285
	/// The range of component `s` is `[0, 50]`.
286
	fn set_metadata(_n: u32, s: u32, ) -> Weight {
287
		// Proof Size summary in bytes:
288
		//  Measured:  `207`
289
		//  Estimated: `3639`
290
		// Minimum execution time: 27_172_000 picoseconds.
291
		Weight::from_parts(28_401_517, 3639)
292
			// Standard Error: 668
293
			.saturating_add(Weight::from_parts(1_622, 0).saturating_mul(s.into()))
294
			.saturating_add(T::DbWeight::get().reads(2_u64))
295
			.saturating_add(T::DbWeight::get().writes(1_u64))
296
	}
297
	/// Storage: `Assets::Asset` (r:1 w:0)
298
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
299
	/// Storage: `Assets::Metadata` (r:1 w:1)
300
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
301
	fn clear_metadata() -> Weight {
302
		// Proof Size summary in bytes:
303
		//  Measured:  `383`
304
		//  Estimated: `3639`
305
		// Minimum execution time: 27_380_000 picoseconds.
306
		Weight::from_parts(28_025_000, 3639)
307
			.saturating_add(T::DbWeight::get().reads(2_u64))
308
			.saturating_add(T::DbWeight::get().writes(1_u64))
309
	}
310
	/// Storage: `Assets::Asset` (r:1 w:0)
311
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
312
	/// Storage: `Assets::Metadata` (r:1 w:1)
313
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
314
	/// The range of component `n` is `[0, 50]`.
315
	/// The range of component `s` is `[0, 50]`.
316
	fn force_set_metadata(n: u32, s: u32, ) -> Weight {
317
		// Proof Size summary in bytes:
318
		//  Measured:  `94`
319
		//  Estimated: `3639`
320
		// Minimum execution time: 11_556_000 picoseconds.
321
		Weight::from_parts(12_136_800, 3639)
322
			// Standard Error: 403
323
			.saturating_add(Weight::from_parts(1_887, 0).saturating_mul(n.into()))
324
			// Standard Error: 403
325
			.saturating_add(Weight::from_parts(1_957, 0).saturating_mul(s.into()))
326
			.saturating_add(T::DbWeight::get().reads(2_u64))
327
			.saturating_add(T::DbWeight::get().writes(1_u64))
328
	}
329
	/// Storage: `Assets::Asset` (r:1 w:0)
330
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
331
	/// Storage: `Assets::Metadata` (r:1 w:1)
332
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
333
	fn force_clear_metadata() -> Weight {
334
		// Proof Size summary in bytes:
335
		//  Measured:  `383`
336
		//  Estimated: `3639`
337
		// Minimum execution time: 26_940_000 picoseconds.
338
		Weight::from_parts(27_770_000, 3639)
339
			.saturating_add(T::DbWeight::get().reads(2_u64))
340
			.saturating_add(T::DbWeight::get().writes(1_u64))
341
	}
342
	/// Storage: `Assets::Asset` (r:1 w:1)
343
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
344
	fn force_asset_status() -> Weight {
345
		// Proof Size summary in bytes:
346
		//  Measured:  `207`
347
		//  Estimated: `3639`
348
		// Minimum execution time: 10_134_000 picoseconds.
349
		Weight::from_parts(10_702_000, 3639)
350
			.saturating_add(T::DbWeight::get().reads(1_u64))
351
			.saturating_add(T::DbWeight::get().writes(1_u64))
352
	}
353
	/// Storage: `Assets::Asset` (r:1 w:1)
354
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
355
	/// Storage: `Assets::Approvals` (r:1 w:1)
356
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
357
	fn approve_transfer() -> Weight {
358
		// Proof Size summary in bytes:
359
		//  Measured:  `241`
360
		//  Estimated: `3639`
361
		// Minimum execution time: 16_846_000 picoseconds.
362
		Weight::from_parts(17_828_000, 3639)
363
			.saturating_add(T::DbWeight::get().reads(2_u64))
364
			.saturating_add(T::DbWeight::get().writes(2_u64))
365
	}
366
	/// Storage: `Assets::Asset` (r:1 w:1)
367
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
368
	/// Storage: `Assets::Approvals` (r:1 w:1)
369
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
370
	/// Storage: `Assets::Account` (r:2 w:2)
371
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
372
	/// Storage: `System::Account` (r:1 w:1)
373
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
374
	fn transfer_approved() -> Weight {
375
		// Proof Size summary in bytes:
376
		//  Measured:  `513`
377
		//  Estimated: `6184`
378
		// Minimum execution time: 50_649_000 picoseconds.
379
		Weight::from_parts(51_879_000, 6184)
380
			.saturating_add(T::DbWeight::get().reads(5_u64))
381
			.saturating_add(T::DbWeight::get().writes(5_u64))
382
	}
383
	/// Storage: `Assets::Asset` (r:1 w:1)
384
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
385
	/// Storage: `Assets::Approvals` (r:1 w:1)
386
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
387
	fn cancel_approval() -> Weight {
388
		// Proof Size summary in bytes:
389
		//  Measured:  `399`
390
		//  Estimated: `3639`
391
		// Minimum execution time: 19_666_000 picoseconds.
392
		Weight::from_parts(20_185_000, 3639)
393
			.saturating_add(T::DbWeight::get().reads(2_u64))
394
			.saturating_add(T::DbWeight::get().writes(2_u64))
395
	}
396
	/// Storage: `Assets::Asset` (r:1 w:1)
397
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
398
	/// Storage: `Assets::Approvals` (r:1 w:1)
399
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
400
	fn force_cancel_approval() -> Weight {
401
		// Proof Size summary in bytes:
402
		//  Measured:  `399`
403
		//  Estimated: `3639`
404
		// Minimum execution time: 19_952_000 picoseconds.
405
		Weight::from_parts(20_555_000, 3639)
406
			.saturating_add(T::DbWeight::get().reads(2_u64))
407
			.saturating_add(T::DbWeight::get().writes(2_u64))
408
	}
409
	/// Storage: `Assets::Asset` (r:1 w:1)
410
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
411
	fn set_min_balance() -> Weight {
412
		// Proof Size summary in bytes:
413
		//  Measured:  `207`
414
		//  Estimated: `3639`
415
		// Minimum execution time: 11_306_000 picoseconds.
416
		Weight::from_parts(11_778_000, 3639)
417
			.saturating_add(T::DbWeight::get().reads(1_u64))
418
			.saturating_add(T::DbWeight::get().writes(1_u64))
419
	}
420
	/// Storage: `Assets::Account` (r:1 w:1)
421
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
422
	/// Storage: `Assets::Asset` (r:1 w:1)
423
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
424
	/// Storage: `System::Account` (r:1 w:1)
425
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
426
	fn touch() -> Weight {
427
		// Proof Size summary in bytes:
428
		//  Measured:  `435`
429
		//  Estimated: `3639`
430
		// Minimum execution time: 32_926_000 picoseconds.
431
		Weight::from_parts(33_597_000, 3639)
432
			.saturating_add(T::DbWeight::get().reads(3_u64))
433
			.saturating_add(T::DbWeight::get().writes(3_u64))
434
	}
435
	/// Storage: `Assets::Account` (r:1 w:1)
436
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
437
	/// Storage: `Assets::Asset` (r:1 w:1)
438
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
439
	fn touch_other() -> Weight {
440
		// Proof Size summary in bytes:
441
		//  Measured:  `207`
442
		//  Estimated: `3639`
443
		// Minimum execution time: 30_156_000 picoseconds.
444
		Weight::from_parts(30_931_000, 3639)
445
			.saturating_add(T::DbWeight::get().reads(2_u64))
446
			.saturating_add(T::DbWeight::get().writes(2_u64))
447
	}
448
	/// Storage: `Assets::Account` (r:1 w:1)
449
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
450
	/// Storage: `Assets::Asset` (r:1 w:1)
451
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
452
	/// Storage: `System::Account` (r:1 w:1)
453
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
454
	fn refund() -> Weight {
455
		// Proof Size summary in bytes:
456
		//  Measured:  `561`
457
		//  Estimated: `3639`
458
		// Minimum execution time: 31_632_000 picoseconds.
459
		Weight::from_parts(32_476_000, 3639)
460
			.saturating_add(T::DbWeight::get().reads(3_u64))
461
			.saturating_add(T::DbWeight::get().writes(3_u64))
462
	}
463
	/// Storage: `Assets::Account` (r:1 w:1)
464
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
465
	/// Storage: `Assets::Asset` (r:1 w:1)
466
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
467
	fn refund_other() -> Weight {
468
		// Proof Size summary in bytes:
469
		//  Measured:  `353`
470
		//  Estimated: `3639`
471
		// Minimum execution time: 29_310_000 picoseconds.
472
		Weight::from_parts(29_974_000, 3639)
473
			.saturating_add(T::DbWeight::get().reads(2_u64))
474
			.saturating_add(T::DbWeight::get().writes(2_u64))
475
	}
476
	/// Storage: `Assets::Asset` (r:1 w:0)
477
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
478
	/// Storage: `Assets::Account` (r:1 w:1)
479
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
480
	fn block() -> Weight {
481
		// Proof Size summary in bytes:
482
		//  Measured:  `315`
483
		//  Estimated: `3639`
484
		// Minimum execution time: 15_675_000 picoseconds.
485
		Weight::from_parts(16_008_000, 3639)
486
			.saturating_add(T::DbWeight::get().reads(2_u64))
487
			.saturating_add(T::DbWeight::get().writes(1_u64))
488
	}
489
	/// Storage: `Assets::Asset` (r:1 w:1)
490
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
491
	/// Storage: `Assets::Account` (r:2 w:2)
492
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
493
	/// Storage: `System::Account` (r:1 w:1)
494
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
495
	fn transfer_all() -> Weight {
496
		// Proof Size summary in bytes:
497
		//  Measured:  `420`
498
		//  Estimated: `6184`
499
		// Minimum execution time: 51_133_000 picoseconds.
500
		Weight::from_parts(52_184_000, 6184)
501
			.saturating_add(T::DbWeight::get().reads(4_u64))
502
			.saturating_add(T::DbWeight::get().writes(4_u64))
503
	}
504
}