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-13, 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_468_000 picoseconds.
69
		Weight::from_parts(10_789_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_816_000 picoseconds.
80
		Weight::from_parts(12_401_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:  `1355 + c * (183 ±0)`
94
		//  Estimated: `3639 + c * (2597 ±0)`
95
		// Minimum execution time: 14_709_000 picoseconds.
96
		Weight::from_parts(15_096_000, 3639)
97
			// Standard Error: 17_354
98
			.saturating_add(Weight::from_parts(15_198_469, 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_765_000 picoseconds.
115
		Weight::from_parts(16_103_000, 3639)
116
			// Standard Error: 7_157
117
			.saturating_add(Weight::from_parts(6_121_640, 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_923_000 picoseconds.
133
		Weight::from_parts(13_243_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_919_000 picoseconds.
146
		Weight::from_parts(22_874_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_715_000 picoseconds.
159
		Weight::from_parts(30_866_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: 42_477_000 picoseconds.
174
		Weight::from_parts(43_909_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_952_000 picoseconds.
189
		Weight::from_parts(39_489_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: 42_555_000 picoseconds.
204
		Weight::from_parts(43_887_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_147_000 picoseconds.
217
		Weight::from_parts(16_718_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_209_000 picoseconds.
230
		Weight::from_parts(16_868_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_369_000 picoseconds.
241
		Weight::from_parts(11_866_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_510_000 picoseconds.
252
		Weight::from_parts(11_762_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_333_000 picoseconds.
265
		Weight::from_parts(13_833_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_520_000 picoseconds.
276
		Weight::from_parts(11_890_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_810_000 picoseconds.
291
		Weight::from_parts(29_185_418, 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: 28_099_000 picoseconds.
304
		Weight::from_parts(28_664_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_119_000 picoseconds.
319
		Weight::from_parts(12_904_230, 3639)
320
			.saturating_add(T::DbWeight::get().reads(2_u64))
321
			.saturating_add(T::DbWeight::get().writes(1_u64))
322
	}
323
	/// Storage: `Assets::Asset` (r:1 w:0)
324
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
325
	/// Storage: `Assets::Metadata` (r:1 w:1)
326
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
327
	fn force_clear_metadata() -> Weight {
328
		// Proof Size summary in bytes:
329
		//  Measured:  `383`
330
		//  Estimated: `3639`
331
		// Minimum execution time: 27_373_000 picoseconds.
332
		Weight::from_parts(28_335_000, 3639)
333
			.saturating_add(T::DbWeight::get().reads(2_u64))
334
			.saturating_add(T::DbWeight::get().writes(1_u64))
335
	}
336
	/// Storage: `Assets::Asset` (r:1 w:1)
337
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
338
	fn force_asset_status() -> Weight {
339
		// Proof Size summary in bytes:
340
		//  Measured:  `207`
341
		//  Estimated: `3639`
342
		// Minimum execution time: 10_789_000 picoseconds.
343
		Weight::from_parts(11_311_000, 3639)
344
			.saturating_add(T::DbWeight::get().reads(1_u64))
345
			.saturating_add(T::DbWeight::get().writes(1_u64))
346
	}
347
	/// Storage: `Assets::Asset` (r:1 w:1)
348
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
349
	/// Storage: `Assets::Approvals` (r:1 w:1)
350
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
351
	fn approve_transfer() -> Weight {
352
		// Proof Size summary in bytes:
353
		//  Measured:  `241`
354
		//  Estimated: `3639`
355
		// Minimum execution time: 17_642_000 picoseconds.
356
		Weight::from_parts(18_077_000, 3639)
357
			.saturating_add(T::DbWeight::get().reads(2_u64))
358
			.saturating_add(T::DbWeight::get().writes(2_u64))
359
	}
360
	/// Storage: `Assets::Asset` (r:1 w:1)
361
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
362
	/// Storage: `Assets::Approvals` (r:1 w:1)
363
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
364
	/// Storage: `Assets::Account` (r:2 w:2)
365
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
366
	/// Storage: `System::Account` (r:1 w:1)
367
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
368
	fn transfer_approved() -> Weight {
369
		// Proof Size summary in bytes:
370
		//  Measured:  `513`
371
		//  Estimated: `6184`
372
		// Minimum execution time: 51_597_000 picoseconds.
373
		Weight::from_parts(53_455_000, 6184)
374
			.saturating_add(T::DbWeight::get().reads(5_u64))
375
			.saturating_add(T::DbWeight::get().writes(5_u64))
376
	}
377
	/// Storage: `Assets::Asset` (r:1 w:1)
378
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
379
	/// Storage: `Assets::Approvals` (r:1 w:1)
380
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
381
	fn cancel_approval() -> Weight {
382
		// Proof Size summary in bytes:
383
		//  Measured:  `399`
384
		//  Estimated: `3639`
385
		// Minimum execution time: 20_200_000 picoseconds.
386
		Weight::from_parts(20_838_000, 3639)
387
			.saturating_add(T::DbWeight::get().reads(2_u64))
388
			.saturating_add(T::DbWeight::get().writes(2_u64))
389
	}
390
	/// Storage: `Assets::Asset` (r:1 w:1)
391
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
392
	/// Storage: `Assets::Approvals` (r:1 w:1)
393
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
394
	fn force_cancel_approval() -> Weight {
395
		// Proof Size summary in bytes:
396
		//  Measured:  `399`
397
		//  Estimated: `3639`
398
		// Minimum execution time: 20_203_000 picoseconds.
399
		Weight::from_parts(21_189_000, 3639)
400
			.saturating_add(T::DbWeight::get().reads(2_u64))
401
			.saturating_add(T::DbWeight::get().writes(2_u64))
402
	}
403
	/// Storage: `Assets::Asset` (r:1 w:1)
404
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
405
	fn set_min_balance() -> Weight {
406
		// Proof Size summary in bytes:
407
		//  Measured:  `207`
408
		//  Estimated: `3639`
409
		// Minimum execution time: 12_319_000 picoseconds.
410
		Weight::from_parts(12_478_000, 3639)
411
			.saturating_add(T::DbWeight::get().reads(1_u64))
412
			.saturating_add(T::DbWeight::get().writes(1_u64))
413
	}
414
	/// Storage: `Assets::Account` (r:1 w:1)
415
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
416
	/// Storage: `Assets::Asset` (r:1 w:1)
417
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
418
	/// Storage: `System::Account` (r:1 w:1)
419
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
420
	fn touch() -> Weight {
421
		// Proof Size summary in bytes:
422
		//  Measured:  `435`
423
		//  Estimated: `3639`
424
		// Minimum execution time: 33_974_000 picoseconds.
425
		Weight::from_parts(35_505_000, 3639)
426
			.saturating_add(T::DbWeight::get().reads(3_u64))
427
			.saturating_add(T::DbWeight::get().writes(3_u64))
428
	}
429
	/// Storage: `Assets::Account` (r:1 w:1)
430
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
431
	/// Storage: `Assets::Asset` (r:1 w:1)
432
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
433
	fn touch_other() -> Weight {
434
		// Proof Size summary in bytes:
435
		//  Measured:  `207`
436
		//  Estimated: `3639`
437
		// Minimum execution time: 31_142_000 picoseconds.
438
		Weight::from_parts(32_486_000, 3639)
439
			.saturating_add(T::DbWeight::get().reads(2_u64))
440
			.saturating_add(T::DbWeight::get().writes(2_u64))
441
	}
442
	/// Storage: `Assets::Account` (r:1 w:1)
443
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
444
	/// Storage: `Assets::Asset` (r:1 w:1)
445
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
446
	/// Storage: `System::Account` (r:1 w:1)
447
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
448
	fn refund() -> Weight {
449
		// Proof Size summary in bytes:
450
		//  Measured:  `561`
451
		//  Estimated: `3639`
452
		// Minimum execution time: 33_237_000 picoseconds.
453
		Weight::from_parts(34_487_000, 3639)
454
			.saturating_add(T::DbWeight::get().reads(3_u64))
455
			.saturating_add(T::DbWeight::get().writes(3_u64))
456
	}
457
	/// Storage: `Assets::Account` (r:1 w:1)
458
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
459
	/// Storage: `Assets::Asset` (r:1 w:1)
460
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
461
	fn refund_other() -> Weight {
462
		// Proof Size summary in bytes:
463
		//  Measured:  `353`
464
		//  Estimated: `3639`
465
		// Minimum execution time: 29_380_000 picoseconds.
466
		Weight::from_parts(30_228_000, 3639)
467
			.saturating_add(T::DbWeight::get().reads(2_u64))
468
			.saturating_add(T::DbWeight::get().writes(2_u64))
469
	}
470
	/// Storage: `Assets::Asset` (r:1 w:0)
471
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
472
	/// Storage: `Assets::Account` (r:1 w:1)
473
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
474
	fn block() -> Weight {
475
		// Proof Size summary in bytes:
476
		//  Measured:  `315`
477
		//  Estimated: `3639`
478
		// Minimum execution time: 16_213_000 picoseconds.
479
		Weight::from_parts(16_571_000, 3639)
480
			.saturating_add(T::DbWeight::get().reads(2_u64))
481
			.saturating_add(T::DbWeight::get().writes(1_u64))
482
	}
483
	/// Storage: `Assets::Asset` (r:1 w:1)
484
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
485
	/// Storage: `Assets::Account` (r:2 w:2)
486
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
487
	/// Storage: `System::Account` (r:1 w:1)
488
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
489
	fn transfer_all() -> Weight {
490
		// Proof Size summary in bytes:
491
		//  Measured:  `420`
492
		//  Estimated: `6184`
493
		// Minimum execution time: 51_934_000 picoseconds.
494
		Weight::from_parts(53_216_000, 6184)
495
			.saturating_add(T::DbWeight::get().reads(4_u64))
496
			.saturating_add(T::DbWeight::get().writes(4_u64))
497
	}
498
}