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-03-26, 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_488_000 picoseconds.
69
		Weight::from_parts(10_786_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: 12_116_000 picoseconds.
80
		Weight::from_parts(12_500_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_150_000 picoseconds.
96
		Weight::from_parts(15_390_000, 3639)
97
			// Standard Error: 6_004
98
			.saturating_add(Weight::from_parts(14_048_573, 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_633_000 picoseconds.
115
		Weight::from_parts(16_079_000, 3639)
116
			// Standard Error: 4_183
117
			.saturating_add(Weight::from_parts(5_749_304, 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_674_000 picoseconds.
133
		Weight::from_parts(13_154_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_563_000 picoseconds.
146
		Weight::from_parts(22_314_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_664_000 picoseconds.
159
		Weight::from_parts(30_726_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: 46_544_000 picoseconds.
174
6
		Weight::from_parts(48_180_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_175_000 picoseconds.
189
		Weight::from_parts(43_327_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: 46_219_000 picoseconds.
204
		Weight::from_parts(47_237_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_944_000 picoseconds.
217
		Weight::from_parts(16_597_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_086_000 picoseconds.
230
		Weight::from_parts(16_636_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_606_000 picoseconds.
241
		Weight::from_parts(12_011_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_598_000 picoseconds.
252
		Weight::from_parts(12_076_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_146_000 picoseconds.
265
		Weight::from_parts(13_465_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_253_000 picoseconds.
276
		Weight::from_parts(11_692_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_709_000 picoseconds.
291
		Weight::from_parts(29_101_736, 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_842_000 picoseconds.
304
		Weight::from_parts(33_176_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_235_000 picoseconds.
319
		Weight::from_parts(12_794_005, 3639)
320
			// Standard Error: 360
321
			.saturating_add(Weight::from_parts(781, 0).saturating_mul(n.into()))
322
			// Standard Error: 360
323
			.saturating_add(Weight::from_parts(1_209, 0).saturating_mul(s.into()))
324
			.saturating_add(T::DbWeight::get().reads(2_u64))
325
			.saturating_add(T::DbWeight::get().writes(1_u64))
326
	}
327
	/// Storage: `Assets::Asset` (r:1 w:0)
328
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
329
	/// Storage: `Assets::Metadata` (r:1 w:1)
330
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
331
	fn force_clear_metadata() -> Weight {
332
		// Proof Size summary in bytes:
333
		//  Measured:  `383`
334
		//  Estimated: `3639`
335
		// Minimum execution time: 31_279_000 picoseconds.
336
		Weight::from_parts(32_383_000, 3639)
337
			.saturating_add(T::DbWeight::get().reads(2_u64))
338
			.saturating_add(T::DbWeight::get().writes(1_u64))
339
	}
340
	/// Storage: `Assets::Asset` (r:1 w:1)
341
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
342
	fn force_asset_status() -> Weight {
343
		// Proof Size summary in bytes:
344
		//  Measured:  `207`
345
		//  Estimated: `3639`
346
		// Minimum execution time: 10_790_000 picoseconds.
347
		Weight::from_parts(11_321_000, 3639)
348
			.saturating_add(T::DbWeight::get().reads(1_u64))
349
			.saturating_add(T::DbWeight::get().writes(1_u64))
350
	}
351
	/// Storage: `Assets::Asset` (r:1 w:1)
352
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
353
	/// Storage: `Assets::Approvals` (r:1 w:1)
354
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
355
6
	fn approve_transfer() -> Weight {
356
6
		// Proof Size summary in bytes:
357
6
		//  Measured:  `241`
358
6
		//  Estimated: `3639`
359
6
		// Minimum execution time: 17_608_000 picoseconds.
360
6
		Weight::from_parts(18_153_000, 3639)
361
6
			.saturating_add(T::DbWeight::get().reads(2_u64))
362
6
			.saturating_add(T::DbWeight::get().writes(2_u64))
363
6
	}
364
	/// Storage: `Assets::Asset` (r:1 w:1)
365
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
366
	/// Storage: `Assets::Approvals` (r:1 w:1)
367
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
368
	/// Storage: `Assets::Account` (r:2 w:2)
369
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
370
	/// Storage: `System::Account` (r:1 w:1)
371
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
372
6
	fn transfer_approved() -> Weight {
373
6
		// Proof Size summary in bytes:
374
6
		//  Measured:  `513`
375
6
		//  Estimated: `6184`
376
6
		// Minimum execution time: 55_082_000 picoseconds.
377
6
		Weight::from_parts(56_521_000, 6184)
378
6
			.saturating_add(T::DbWeight::get().reads(5_u64))
379
6
			.saturating_add(T::DbWeight::get().writes(5_u64))
380
6
	}
381
	/// Storage: `Assets::Asset` (r:1 w:1)
382
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
383
	/// Storage: `Assets::Approvals` (r:1 w:1)
384
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
385
	fn cancel_approval() -> Weight {
386
		// Proof Size summary in bytes:
387
		//  Measured:  `399`
388
		//  Estimated: `3639`
389
		// Minimum execution time: 19_917_000 picoseconds.
390
		Weight::from_parts(20_788_000, 3639)
391
			.saturating_add(T::DbWeight::get().reads(2_u64))
392
			.saturating_add(T::DbWeight::get().writes(2_u64))
393
	}
394
	/// Storage: `Assets::Asset` (r:1 w:1)
395
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
396
	/// Storage: `Assets::Approvals` (r:1 w:1)
397
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
398
	fn force_cancel_approval() -> Weight {
399
		// Proof Size summary in bytes:
400
		//  Measured:  `399`
401
		//  Estimated: `3639`
402
		// Minimum execution time: 20_557_000 picoseconds.
403
		Weight::from_parts(21_319_000, 3639)
404
			.saturating_add(T::DbWeight::get().reads(2_u64))
405
			.saturating_add(T::DbWeight::get().writes(2_u64))
406
	}
407
	/// Storage: `Assets::Asset` (r:1 w:1)
408
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
409
	fn set_min_balance() -> Weight {
410
		// Proof Size summary in bytes:
411
		//  Measured:  `207`
412
		//  Estimated: `3639`
413
		// Minimum execution time: 12_065_000 picoseconds.
414
		Weight::from_parts(12_427_000, 3639)
415
			.saturating_add(T::DbWeight::get().reads(1_u64))
416
			.saturating_add(T::DbWeight::get().writes(1_u64))
417
	}
418
	/// Storage: `Assets::Account` (r:1 w:1)
419
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
420
	/// Storage: `Assets::Asset` (r:1 w:1)
421
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
422
	/// Storage: `System::Account` (r:1 w:1)
423
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
424
	fn touch() -> Weight {
425
		// Proof Size summary in bytes:
426
		//  Measured:  `435`
427
		//  Estimated: `3639`
428
		// Minimum execution time: 33_906_000 picoseconds.
429
		Weight::from_parts(34_822_000, 3639)
430
			.saturating_add(T::DbWeight::get().reads(3_u64))
431
			.saturating_add(T::DbWeight::get().writes(3_u64))
432
	}
433
	/// Storage: `Assets::Account` (r:1 w:1)
434
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
435
	/// Storage: `Assets::Asset` (r:1 w:1)
436
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
437
	fn touch_other() -> Weight {
438
		// Proof Size summary in bytes:
439
		//  Measured:  `207`
440
		//  Estimated: `3639`
441
		// Minimum execution time: 31_054_000 picoseconds.
442
		Weight::from_parts(31_748_000, 3639)
443
			.saturating_add(T::DbWeight::get().reads(2_u64))
444
			.saturating_add(T::DbWeight::get().writes(2_u64))
445
	}
446
	/// Storage: `Assets::Account` (r:1 w:1)
447
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
448
	/// Storage: `Assets::Asset` (r:1 w:1)
449
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
450
	/// Storage: `System::Account` (r:1 w:1)
451
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
452
	fn refund() -> Weight {
453
		// Proof Size summary in bytes:
454
		//  Measured:  `561`
455
		//  Estimated: `3639`
456
		// Minimum execution time: 36_388_000 picoseconds.
457
		Weight::from_parts(37_139_000, 3639)
458
			.saturating_add(T::DbWeight::get().reads(3_u64))
459
			.saturating_add(T::DbWeight::get().writes(3_u64))
460
	}
461
	/// Storage: `Assets::Account` (r:1 w:1)
462
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
463
	/// Storage: `Assets::Asset` (r:1 w:1)
464
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
465
	fn refund_other() -> Weight {
466
		// Proof Size summary in bytes:
467
		//  Measured:  `353`
468
		//  Estimated: `3639`
469
		// Minimum execution time: 33_420_000 picoseconds.
470
		Weight::from_parts(34_293_000, 3639)
471
			.saturating_add(T::DbWeight::get().reads(2_u64))
472
			.saturating_add(T::DbWeight::get().writes(2_u64))
473
	}
474
	/// Storage: `Assets::Asset` (r:1 w:0)
475
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
476
	/// Storage: `Assets::Account` (r:1 w:1)
477
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
478
	fn block() -> Weight {
479
		// Proof Size summary in bytes:
480
		//  Measured:  `315`
481
		//  Estimated: `3639`
482
		// Minimum execution time: 16_140_000 picoseconds.
483
		Weight::from_parts(16_626_000, 3639)
484
			.saturating_add(T::DbWeight::get().reads(2_u64))
485
			.saturating_add(T::DbWeight::get().writes(1_u64))
486
	}
487
	/// Storage: `Assets::Asset` (r:1 w:1)
488
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
489
	/// Storage: `Assets::Account` (r:2 w:2)
490
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
491
	/// Storage: `System::Account` (r:1 w:1)
492
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
493
	fn transfer_all() -> Weight {
494
		// Proof Size summary in bytes:
495
		//  Measured:  `420`
496
		//  Estimated: `6184`
497
		// Minimum execution time: 55_022_000 picoseconds.
498
		Weight::from_parts(56_811_000, 6184)
499
			.saturating_add(T::DbWeight::get().reads(4_u64))
500
			.saturating_add(T::DbWeight::get().writes(4_u64))
501
	}
502
}