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

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

            
41
#![cfg_attr(rustfmt, rustfmt_skip)]
42
#![allow(unused_parens)]
43
#![allow(unused_imports)]
44

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

            
48
/// Weights for `pallet_assets`.
49
pub struct WeightInfo<T>(PhantomData<T>);
50
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
51
	fn create() -> Weight {
52
		// Proof Size summary in bytes:
53
		//  Measured:  `0`
54
		//  Estimated: `0`
55
		// Minimum execution time: 0_000 picoseconds.
56
		Weight::from_parts(0, 0)
57
	}
58
	/// Storage: `Assets::Asset` (r:1 w:1)
59
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
60
	/// Storage: `Assets::NextAssetId` (r:1 w:0)
61
	/// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
62
	fn force_create() -> Weight {
63
		// Proof Size summary in bytes:
64
		//  Measured:  `6`
65
		//  Estimated: `3639`
66
		// Minimum execution time: 10_267_000 picoseconds.
67
		Weight::from_parts(10_655_000, 3639)
68
			.saturating_add(T::DbWeight::get().reads(2_u64))
69
			.saturating_add(T::DbWeight::get().writes(1_u64))
70
	}
71
	/// Storage: `Assets::Asset` (r:1 w:1)
72
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
73
	fn start_destroy() -> Weight {
74
		// Proof Size summary in bytes:
75
		//  Measured:  `241`
76
		//  Estimated: `3639`
77
		// Minimum execution time: 11_844_000 picoseconds.
78
		Weight::from_parts(12_240_000, 3639)
79
			.saturating_add(T::DbWeight::get().reads(1_u64))
80
			.saturating_add(T::DbWeight::get().writes(1_u64))
81
	}
82
	/// Storage: `Assets::Asset` (r:1 w:1)
83
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
84
	/// Storage: `Assets::Account` (r:657 w:656)
85
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
86
	/// Storage: `System::Account` (r:656 w:656)
87
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
88
	/// The range of component `c` is `[0, 656]`.
89
	fn destroy_accounts(c: u32, ) -> Weight {
90
		// Proof Size summary in bytes:
91
		//  Measured:  `759 + c * (183 ±0)`
92
		//  Estimated: `3639 + c * (2597 ±0)`
93
		// Minimum execution time: 15_127_000 picoseconds.
94
		Weight::from_parts(15_255_000, 3639)
95
			// Standard Error: 6_531
96
			.saturating_add(Weight::from_parts(13_309_605, 0).saturating_mul(c.into()))
97
			.saturating_add(T::DbWeight::get().reads(2_u64))
98
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
99
			.saturating_add(T::DbWeight::get().writes(1_u64))
100
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
101
			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(c.into()))
102
	}
103
	/// Storage: `Assets::Asset` (r:1 w:1)
104
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
105
	/// Storage: `Assets::Approvals` (r:657 w:656)
106
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
107
	/// The range of component `a` is `[0, 656]`.
108
	fn destroy_approvals(a: u32, ) -> Weight {
109
		// Proof Size summary in bytes:
110
		//  Measured:  `313 + a * (74 ±0)`
111
		//  Estimated: `3639 + a * (2611 ±0)`
112
		// Minimum execution time: 15_496_000 picoseconds.
113
		Weight::from_parts(15_845_000, 3639)
114
			// Standard Error: 4_292
115
			.saturating_add(Weight::from_parts(5_516_578, 0).saturating_mul(a.into()))
116
			.saturating_add(T::DbWeight::get().reads(2_u64))
117
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
118
			.saturating_add(T::DbWeight::get().writes(1_u64))
119
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
120
			.saturating_add(Weight::from_parts(0, 2611).saturating_mul(a.into()))
121
	}
122
	/// Storage: `Assets::Asset` (r:1 w:1)
123
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
124
	/// Storage: `Assets::Metadata` (r:1 w:0)
125
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
126
	fn finish_destroy() -> Weight {
127
		// Proof Size summary in bytes:
128
		//  Measured:  `207`
129
		//  Estimated: `3639`
130
		// Minimum execution time: 12_880_000 picoseconds.
131
		Weight::from_parts(13_293_000, 3639)
132
			.saturating_add(T::DbWeight::get().reads(2_u64))
133
			.saturating_add(T::DbWeight::get().writes(1_u64))
134
	}
135
	/// Storage: `Assets::Asset` (r:1 w:1)
136
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
137
	/// Storage: `Assets::Account` (r:1 w:1)
138
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
139
	fn mint() -> Weight {
140
		// Proof Size summary in bytes:
141
		//  Measured:  `207`
142
		//  Estimated: `3639`
143
		// Minimum execution time: 21_924_000 picoseconds.
144
		Weight::from_parts(22_677_000, 3639)
145
			.saturating_add(T::DbWeight::get().reads(2_u64))
146
			.saturating_add(T::DbWeight::get().writes(2_u64))
147
	}
148
	/// Storage: `Assets::Asset` (r:1 w:1)
149
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
150
	/// Storage: `Assets::Account` (r:1 w:1)
151
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
152
	fn burn() -> Weight {
153
		// Proof Size summary in bytes:
154
		//  Measured:  `315`
155
		//  Estimated: `3639`
156
		// Minimum execution time: 29_456_000 picoseconds.
157
		Weight::from_parts(30_555_000, 3639)
158
			.saturating_add(T::DbWeight::get().reads(2_u64))
159
			.saturating_add(T::DbWeight::get().writes(2_u64))
160
	}
161
	/// Storage: `Assets::Asset` (r:1 w:1)
162
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
163
	/// Storage: `Assets::Account` (r:2 w:2)
164
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
165
	/// Storage: `System::Account` (r:1 w:1)
166
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
167
8
	fn transfer() -> Weight {
168
8
		// Proof Size summary in bytes:
169
8
		//  Measured:  `387`
170
8
		//  Estimated: `6184`
171
8
		// Minimum execution time: 44_748_000 picoseconds.
172
8
		Weight::from_parts(46_184_000, 6184)
173
8
			.saturating_add(T::DbWeight::get().reads(4_u64))
174
8
			.saturating_add(T::DbWeight::get().writes(4_u64))
175
8
	}
176
	/// Storage: `Assets::Asset` (r:1 w:1)
177
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
178
	/// Storage: `Assets::Account` (r:2 w:2)
179
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
180
	/// Storage: `System::Account` (r:1 w:1)
181
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
182
	fn transfer_keep_alive() -> Weight {
183
		// Proof Size summary in bytes:
184
		//  Measured:  `387`
185
		//  Estimated: `6184`
186
		// Minimum execution time: 41_120_000 picoseconds.
187
		Weight::from_parts(42_036_000, 6184)
188
			.saturating_add(T::DbWeight::get().reads(4_u64))
189
			.saturating_add(T::DbWeight::get().writes(4_u64))
190
	}
191
	/// Storage: `Assets::Asset` (r:1 w:1)
192
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
193
	/// Storage: `Assets::Account` (r:2 w:2)
194
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
195
	/// Storage: `System::Account` (r:1 w:1)
196
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
197
	fn force_transfer() -> Weight {
198
		// Proof Size summary in bytes:
199
		//  Measured:  `387`
200
		//  Estimated: `6184`
201
		// Minimum execution time: 44_945_000 picoseconds.
202
		Weight::from_parts(45_751_000, 6184)
203
			.saturating_add(T::DbWeight::get().reads(4_u64))
204
			.saturating_add(T::DbWeight::get().writes(4_u64))
205
	}
206
	/// Storage: `Assets::Asset` (r:1 w:0)
207
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
208
	/// Storage: `Assets::Account` (r:1 w:1)
209
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
210
	fn freeze() -> Weight {
211
		// Proof Size summary in bytes:
212
		//  Measured:  `315`
213
		//  Estimated: `3639`
214
		// Minimum execution time: 15_962_000 picoseconds.
215
		Weight::from_parts(16_454_000, 3639)
216
			.saturating_add(T::DbWeight::get().reads(2_u64))
217
			.saturating_add(T::DbWeight::get().writes(1_u64))
218
	}
219
	/// Storage: `Assets::Asset` (r:1 w:0)
220
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
221
	/// Storage: `Assets::Account` (r:1 w:1)
222
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
223
	fn thaw() -> Weight {
224
		// Proof Size summary in bytes:
225
		//  Measured:  `315`
226
		//  Estimated: `3639`
227
		// Minimum execution time: 15_821_000 picoseconds.
228
		Weight::from_parts(16_597_000, 3639)
229
			.saturating_add(T::DbWeight::get().reads(2_u64))
230
			.saturating_add(T::DbWeight::get().writes(1_u64))
231
	}
232
	/// Storage: `Assets::Asset` (r:1 w:1)
233
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
234
	fn freeze_asset() -> Weight {
235
		// Proof Size summary in bytes:
236
		//  Measured:  `241`
237
		//  Estimated: `3639`
238
		// Minimum execution time: 11_558_000 picoseconds.
239
		Weight::from_parts(11_951_000, 3639)
240
			.saturating_add(T::DbWeight::get().reads(1_u64))
241
			.saturating_add(T::DbWeight::get().writes(1_u64))
242
	}
243
	/// Storage: `Assets::Asset` (r:1 w:1)
244
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
245
	fn thaw_asset() -> Weight {
246
		// Proof Size summary in bytes:
247
		//  Measured:  `241`
248
		//  Estimated: `3639`
249
		// Minimum execution time: 11_432_000 picoseconds.
250
		Weight::from_parts(11_937_000, 3639)
251
			.saturating_add(T::DbWeight::get().reads(1_u64))
252
			.saturating_add(T::DbWeight::get().writes(1_u64))
253
	}
254
	/// Storage: `Assets::Asset` (r:1 w:1)
255
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
256
	/// Storage: `Assets::Metadata` (r:1 w:0)
257
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
258
	fn transfer_ownership() -> Weight {
259
		// Proof Size summary in bytes:
260
		//  Measured:  `207`
261
		//  Estimated: `3639`
262
		// Minimum execution time: 13_302_000 picoseconds.
263
		Weight::from_parts(13_695_000, 3639)
264
			.saturating_add(T::DbWeight::get().reads(2_u64))
265
			.saturating_add(T::DbWeight::get().writes(1_u64))
266
	}
267
	/// Storage: `Assets::Asset` (r:1 w:1)
268
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
269
	fn set_team() -> Weight {
270
		// Proof Size summary in bytes:
271
		//  Measured:  `207`
272
		//  Estimated: `3639`
273
		// Minimum execution time: 11_369_000 picoseconds.
274
		Weight::from_parts(11_778_000, 3639)
275
			.saturating_add(T::DbWeight::get().reads(1_u64))
276
			.saturating_add(T::DbWeight::get().writes(1_u64))
277
	}
278
	/// Storage: `Assets::Asset` (r:1 w:0)
279
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
280
	/// Storage: `Assets::Metadata` (r:1 w:1)
281
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
282
	/// The range of component `n` is `[0, 50]`.
283
	/// The range of component `s` is `[0, 50]`.
284
	fn set_metadata(_n: u32, _s: u32, ) -> Weight {
285
		// Proof Size summary in bytes:
286
		//  Measured:  `207`
287
		//  Estimated: `3639`
288
		// Minimum execution time: 27_308_000 picoseconds.
289
		Weight::from_parts(28_713_748, 3639)
290
			.saturating_add(T::DbWeight::get().reads(2_u64))
291
			.saturating_add(T::DbWeight::get().writes(1_u64))
292
	}
293
	/// Storage: `Assets::Asset` (r:1 w:0)
294
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
295
	/// Storage: `Assets::Metadata` (r:1 w:1)
296
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
297
	fn clear_metadata() -> Weight {
298
		// Proof Size summary in bytes:
299
		//  Measured:  `383`
300
		//  Estimated: `3639`
301
		// Minimum execution time: 31_361_000 picoseconds.
302
		Weight::from_parts(32_450_000, 3639)
303
			.saturating_add(T::DbWeight::get().reads(2_u64))
304
			.saturating_add(T::DbWeight::get().writes(1_u64))
305
	}
306
	/// Storage: `Assets::Asset` (r:1 w:0)
307
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
308
	/// Storage: `Assets::Metadata` (r:1 w:1)
309
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
310
	/// The range of component `n` is `[0, 50]`.
311
	/// The range of component `s` is `[0, 50]`.
312
	fn force_set_metadata(n: u32, s: u32, ) -> Weight {
313
		// Proof Size summary in bytes:
314
		//  Measured:  `94`
315
		//  Estimated: `3639`
316
		// Minimum execution time: 12_169_000 picoseconds.
317
		Weight::from_parts(12_652_467, 3639)
318
			// Standard Error: 299
319
			.saturating_add(Weight::from_parts(2_019, 0).saturating_mul(n.into()))
320
			// Standard Error: 299
321
			.saturating_add(Weight::from_parts(2_092, 0).saturating_mul(s.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_156_000 picoseconds.
334
		Weight::from_parts(31_779_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: 10_894_000 picoseconds.
345
		Weight::from_parts(11_208_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
8
	fn approve_transfer() -> Weight {
354
8
		// Proof Size summary in bytes:
355
8
		//  Measured:  `241`
356
8
		//  Estimated: `3639`
357
8
		// Minimum execution time: 17_389_000 picoseconds.
358
8
		Weight::from_parts(17_916_000, 3639)
359
8
			.saturating_add(T::DbWeight::get().reads(2_u64))
360
8
			.saturating_add(T::DbWeight::get().writes(2_u64))
361
8
	}
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
8
	fn transfer_approved() -> Weight {
371
8
		// Proof Size summary in bytes:
372
8
		//  Measured:  `513`
373
8
		//  Estimated: `6184`
374
8
		// Minimum execution time: 54_409_000 picoseconds.
375
8
		Weight::from_parts(55_593_000, 6184)
376
8
			.saturating_add(T::DbWeight::get().reads(5_u64))
377
8
			.saturating_add(T::DbWeight::get().writes(5_u64))
378
8
	}
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: 19_728_000 picoseconds.
388
		Weight::from_parts(20_620_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_184_000 picoseconds.
401
		Weight::from_parts(20_821_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_262_000 picoseconds.
412
		Weight::from_parts(12_469_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:  `402`
425
		//  Estimated: `3639`
426
		// Minimum execution time: 33_651_000 picoseconds.
427
		Weight::from_parts(34_345_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_168_000 picoseconds.
440
		Weight::from_parts(31_706_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:  `528`
453
		//  Estimated: `3639`
454
		// Minimum execution time: 35_345_000 picoseconds.
455
		Weight::from_parts(36_323_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: 32_150_000 picoseconds.
468
		Weight::from_parts(33_376_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: 15_982_000 picoseconds.
481
		Weight::from_parts(16_438_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:  `387`
494
		//  Estimated: `6184`
495
		// Minimum execution time: 54_235_000 picoseconds.
496
		Weight::from_parts(54_870_000, 6184)
497
			.saturating_add(T::DbWeight::get().reads(4_u64))
498
			.saturating_add(T::DbWeight::get().writes(4_u64))
499
	}
500
}