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 32.0.0
21
//! DATE: 2025-05-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-176`, 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/moonbeam-runtime/moonbeam_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/moonbeam/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_566_000 picoseconds.
69
		Weight::from_parts(10_969_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_882_000 picoseconds.
80
		Weight::from_parts(12_506_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:  `892 + c * (183 ±0)`
94
		//  Estimated: `3639 + c * (2597 ±0)`
95
		// Minimum execution time: 15_090_000 picoseconds.
96
		Weight::from_parts(15_436_000, 3639)
97
			// Standard Error: 14_169
98
			.saturating_add(Weight::from_parts(15_216_916, 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_895_000 picoseconds.
115
		Weight::from_parts(16_291_000, 3639)
116
			// Standard Error: 5_685
117
			.saturating_add(Weight::from_parts(6_128_776, 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_718_000 picoseconds.
133
		Weight::from_parts(13_185_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: 22_169_000 picoseconds.
146
		Weight::from_parts(22_663_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: 30_320_000 picoseconds.
159
		Weight::from_parts(31_287_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
6
	fn transfer() -> Weight {
170
6
		// Proof Size summary in bytes:
171
6
		//  Measured:  `420`
172
6
		//  Estimated: `6184`
173
6
		// Minimum execution time: 47_522_000 picoseconds.
174
6
		Weight::from_parts(48_391_000, 6184)
175
6
			.saturating_add(T::DbWeight::get().reads(4_u64))
176
6
			.saturating_add(T::DbWeight::get().writes(4_u64))
177
6
	}
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: 42_322_000 picoseconds.
189
		Weight::from_parts(44_200_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: 47_401_000 picoseconds.
204
		Weight::from_parts(48_260_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: 16_571_000 picoseconds.
217
		Weight::from_parts(16_912_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: 16_302_000 picoseconds.
230
		Weight::from_parts(16_803_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_622_000 picoseconds.
241
		Weight::from_parts(12_038_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: 11_485_000 picoseconds.
252
		Weight::from_parts(11_956_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: 13_189_000 picoseconds.
265
		Weight::from_parts(13_682_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: 11_257_000 picoseconds.
276
		Weight::from_parts(11_809_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_841_000 picoseconds.
291
		Weight::from_parts(29_444_039, 3639)
292
			.saturating_add(T::DbWeight::get().reads(2_u64))
293
			.saturating_add(T::DbWeight::get().writes(1_u64))
294
	}
295
	/// Storage: `Assets::Asset` (r:1 w:0)
296
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
297
	/// Storage: `Assets::Metadata` (r:1 w:1)
298
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
299
	fn clear_metadata() -> Weight {
300
		// Proof Size summary in bytes:
301
		//  Measured:  `383`
302
		//  Estimated: `3639`
303
		// Minimum execution time: 31_563_000 picoseconds.
304
		Weight::from_parts(32_692_000, 3639)
305
			.saturating_add(T::DbWeight::get().reads(2_u64))
306
			.saturating_add(T::DbWeight::get().writes(1_u64))
307
	}
308
	/// Storage: `Assets::Asset` (r:1 w:0)
309
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
310
	/// Storage: `Assets::Metadata` (r:1 w:1)
311
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
312
	/// The range of component `n` is `[0, 50]`.
313
	/// The range of component `s` is `[0, 50]`.
314
	fn force_set_metadata(n: u32, _s: u32, ) -> Weight {
315
		// Proof Size summary in bytes:
316
		//  Measured:  `94`
317
		//  Estimated: `3639`
318
		// Minimum execution time: 12_294_000 picoseconds.
319
		Weight::from_parts(12_976_208, 3639)
320
			// Standard Error: 403
321
			.saturating_add(Weight::from_parts(824, 0).saturating_mul(n.into()))
322
			.saturating_add(T::DbWeight::get().reads(2_u64))
323
			.saturating_add(T::DbWeight::get().writes(1_u64))
324
	}
325
	/// Storage: `Assets::Asset` (r:1 w:0)
326
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
327
	/// Storage: `Assets::Metadata` (r:1 w:1)
328
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
329
	fn force_clear_metadata() -> Weight {
330
		// Proof Size summary in bytes:
331
		//  Measured:  `383`
332
		//  Estimated: `3639`
333
		// Minimum execution time: 31_621_000 picoseconds.
334
		Weight::from_parts(32_692_000, 3639)
335
			.saturating_add(T::DbWeight::get().reads(2_u64))
336
			.saturating_add(T::DbWeight::get().writes(1_u64))
337
	}
338
	/// Storage: `Assets::Asset` (r:1 w:1)
339
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
340
	fn force_asset_status() -> Weight {
341
		// Proof Size summary in bytes:
342
		//  Measured:  `207`
343
		//  Estimated: `3639`
344
		// Minimum execution time: 11_018_000 picoseconds.
345
		Weight::from_parts(11_370_000, 3639)
346
			.saturating_add(T::DbWeight::get().reads(1_u64))
347
			.saturating_add(T::DbWeight::get().writes(1_u64))
348
	}
349
	/// Storage: `Assets::Asset` (r:1 w:1)
350
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
351
	/// Storage: `Assets::Approvals` (r:1 w:1)
352
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
353
6
	fn approve_transfer() -> Weight {
354
6
		// Proof Size summary in bytes:
355
6
		//  Measured:  `241`
356
6
		//  Estimated: `3639`
357
6
		// Minimum execution time: 17_782_000 picoseconds.
358
6
		Weight::from_parts(18_400_000, 3639)
359
6
			.saturating_add(T::DbWeight::get().reads(2_u64))
360
6
			.saturating_add(T::DbWeight::get().writes(2_u64))
361
6
	}
362
	/// Storage: `Assets::Asset` (r:1 w:1)
363
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
364
	/// Storage: `Assets::Approvals` (r:1 w:1)
365
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
366
	/// Storage: `Assets::Account` (r:2 w:2)
367
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
368
	/// Storage: `System::Account` (r:1 w:1)
369
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
370
6
	fn transfer_approved() -> Weight {
371
6
		// Proof Size summary in bytes:
372
6
		//  Measured:  `513`
373
6
		//  Estimated: `6184`
374
6
		// Minimum execution time: 56_323_000 picoseconds.
375
6
		Weight::from_parts(57_224_000, 6184)
376
6
			.saturating_add(T::DbWeight::get().reads(5_u64))
377
6
			.saturating_add(T::DbWeight::get().writes(5_u64))
378
6
	}
379
	/// Storage: `Assets::Asset` (r:1 w:1)
380
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
381
	/// Storage: `Assets::Approvals` (r:1 w:1)
382
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
383
	fn cancel_approval() -> Weight {
384
		// Proof Size summary in bytes:
385
		//  Measured:  `399`
386
		//  Estimated: `3639`
387
		// Minimum execution time: 20_184_000 picoseconds.
388
		Weight::from_parts(20_985_000, 3639)
389
			.saturating_add(T::DbWeight::get().reads(2_u64))
390
			.saturating_add(T::DbWeight::get().writes(2_u64))
391
	}
392
	/// Storage: `Assets::Asset` (r:1 w:1)
393
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
394
	/// Storage: `Assets::Approvals` (r:1 w:1)
395
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
396
	fn force_cancel_approval() -> Weight {
397
		// Proof Size summary in bytes:
398
		//  Measured:  `399`
399
		//  Estimated: `3639`
400
		// Minimum execution time: 20_698_000 picoseconds.
401
		Weight::from_parts(21_224_000, 3639)
402
			.saturating_add(T::DbWeight::get().reads(2_u64))
403
			.saturating_add(T::DbWeight::get().writes(2_u64))
404
	}
405
	/// Storage: `Assets::Asset` (r:1 w:1)
406
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
407
	fn set_min_balance() -> Weight {
408
		// Proof Size summary in bytes:
409
		//  Measured:  `207`
410
		//  Estimated: `3639`
411
		// Minimum execution time: 12_121_000 picoseconds.
412
		Weight::from_parts(12_620_000, 3639)
413
			.saturating_add(T::DbWeight::get().reads(1_u64))
414
			.saturating_add(T::DbWeight::get().writes(1_u64))
415
	}
416
	/// Storage: `Assets::Account` (r:1 w:1)
417
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
418
	/// Storage: `Assets::Asset` (r:1 w:1)
419
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
420
	/// Storage: `System::Account` (r:1 w:1)
421
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
422
	fn touch() -> Weight {
423
		// Proof Size summary in bytes:
424
		//  Measured:  `435`
425
		//  Estimated: `3639`
426
		// Minimum execution time: 34_179_000 picoseconds.
427
		Weight::from_parts(34_820_000, 3639)
428
			.saturating_add(T::DbWeight::get().reads(3_u64))
429
			.saturating_add(T::DbWeight::get().writes(3_u64))
430
	}
431
	/// Storage: `Assets::Account` (r:1 w:1)
432
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
433
	/// Storage: `Assets::Asset` (r:1 w:1)
434
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
435
	fn touch_other() -> Weight {
436
		// Proof Size summary in bytes:
437
		//  Measured:  `207`
438
		//  Estimated: `3639`
439
		// Minimum execution time: 31_127_000 picoseconds.
440
		Weight::from_parts(32_198_000, 3639)
441
			.saturating_add(T::DbWeight::get().reads(2_u64))
442
			.saturating_add(T::DbWeight::get().writes(2_u64))
443
	}
444
	/// Storage: `Assets::Account` (r:1 w:1)
445
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
446
	/// Storage: `Assets::Asset` (r:1 w:1)
447
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
448
	/// Storage: `System::Account` (r:1 w:1)
449
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
450
	fn refund() -> Weight {
451
		// Proof Size summary in bytes:
452
		//  Measured:  `561`
453
		//  Estimated: `3639`
454
		// Minimum execution time: 36_419_000 picoseconds.
455
		Weight::from_parts(37_979_000, 3639)
456
			.saturating_add(T::DbWeight::get().reads(3_u64))
457
			.saturating_add(T::DbWeight::get().writes(3_u64))
458
	}
459
	/// Storage: `Assets::Account` (r:1 w:1)
460
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
461
	/// Storage: `Assets::Asset` (r:1 w:1)
462
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
463
	fn refund_other() -> Weight {
464
		// Proof Size summary in bytes:
465
		//  Measured:  `353`
466
		//  Estimated: `3639`
467
		// Minimum execution time: 33_712_000 picoseconds.
468
		Weight::from_parts(34_592_000, 3639)
469
			.saturating_add(T::DbWeight::get().reads(2_u64))
470
			.saturating_add(T::DbWeight::get().writes(2_u64))
471
	}
472
	/// Storage: `Assets::Asset` (r:1 w:0)
473
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
474
	/// Storage: `Assets::Account` (r:1 w:1)
475
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
476
	fn block() -> Weight {
477
		// Proof Size summary in bytes:
478
		//  Measured:  `315`
479
		//  Estimated: `3639`
480
		// Minimum execution time: 16_229_000 picoseconds.
481
		Weight::from_parts(16_789_000, 3639)
482
			.saturating_add(T::DbWeight::get().reads(2_u64))
483
			.saturating_add(T::DbWeight::get().writes(1_u64))
484
	}
485
	/// Storage: `Assets::Asset` (r:1 w:1)
486
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
487
	/// Storage: `Assets::Account` (r:2 w:2)
488
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
489
	/// Storage: `System::Account` (r:1 w:1)
490
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
491
	fn transfer_all() -> Weight {
492
		// Proof Size summary in bytes:
493
		//  Measured:  `420`
494
		//  Estimated: `6184`
495
		// Minimum execution time: 55_813_000 picoseconds.
496
		Weight::from_parts(57_090_000, 6184)
497
			.saturating_add(T::DbWeight::get().reads(4_u64))
498
			.saturating_add(T::DbWeight::get().writes(4_u64))
499
	}
500
}