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 42.0.0
20
//! DATE: 2024-10-10, 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: Some("moonbase-dev"), DB CACHE: 1024
24

            
25
// Executed Command:
26
// ./target/production/moonbeam
27
// benchmark
28
// pallet
29
// --chain=moonbase-dev
30
// --steps=50
31
// --repeat=20
32
// --pallet=pallet_assets
33
// --extrinsic=*
34
// --wasm-execution=compiled
35
// --header=./file_header.txt
36
// --template=./benchmarking/frame-weight-template.hbs
37
// --output=./runtime/common/src/weights/
38

            
39
#![cfg_attr(rustfmt, rustfmt_skip)]
40
#![allow(unused_parens)]
41
#![allow(unused_imports)]
42

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

            
46
/// Weights for `pallet_assets`.
47
pub struct WeightInfo<T>(PhantomData<T>);
48
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
49
	fn create() -> Weight {
50
		// Proof Size summary in bytes:
51
		//  Measured:  `0`
52
		//  Estimated: `0`
53
		// Minimum execution time: 0_000 picoseconds.
54
		Weight::from_parts(0, 0)
55
	}
56
	/// Storage: `Assets::Asset` (r:1 w:1)
57
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
58
	/// Storage: `Assets::NextAssetId` (r:1 w:0)
59
	/// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
60
	fn force_create() -> Weight {
61
		// Proof Size summary in bytes:
62
		//  Measured:  `6`
63
		//  Estimated: `3639`
64
		// Minimum execution time: 8_875_000 picoseconds.
65
		Weight::from_parts(9_373_000, 3639)
66
			.saturating_add(T::DbWeight::get().reads(2_u64))
67
			.saturating_add(T::DbWeight::get().writes(1_u64))
68
	}
69
	/// Storage: `Assets::Asset` (r:1 w:1)
70
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
71
	fn start_destroy() -> Weight {
72
		// Proof Size summary in bytes:
73
		//  Measured:  `241`
74
		//  Estimated: `3639`
75
		// Minimum execution time: 9_969_000 picoseconds.
76
		Weight::from_parts(10_423_000, 3639)
77
			.saturating_add(T::DbWeight::get().reads(1_u64))
78
			.saturating_add(T::DbWeight::get().writes(1_u64))
79
	}
80
	/// Storage: `Assets::Asset` (r:1 w:1)
81
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
82
	/// Storage: `Assets::Account` (r:657 w:656)
83
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
84
	/// Storage: `System::Account` (r:656 w:656)
85
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
86
	/// The range of component `c` is `[0, 656]`.
87
	fn destroy_accounts(c: u32, ) -> Weight {
88
		// Proof Size summary in bytes:
89
		//  Measured:  `1514 + c * (183 ±0)`
90
		//  Estimated: `3639 + c * (2597 ±0)`
91
		// Minimum execution time: 14_580_000 picoseconds.
92
		Weight::from_parts(14_918_000, 3639)
93
			// Standard Error: 7_860
94
			.saturating_add(Weight::from_parts(15_532_379, 0).saturating_mul(c.into()))
95
			.saturating_add(T::DbWeight::get().reads(2_u64))
96
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
97
			.saturating_add(T::DbWeight::get().writes(1_u64))
98
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
99
			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(c.into()))
100
	}
101
	/// Storage: `Assets::Asset` (r:1 w:1)
102
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
103
	/// Storage: `Assets::Approvals` (r:657 w:656)
104
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
105
	/// The range of component `a` is `[0, 656]`.
106
	fn destroy_approvals(a: u32, ) -> Weight {
107
		// Proof Size summary in bytes:
108
		//  Measured:  `313 + a * (74 ±0)`
109
		//  Estimated: `3639 + a * (2611 ±0)`
110
		// Minimum execution time: 15_210_000 picoseconds.
111
		Weight::from_parts(15_412_000, 3639)
112
			// Standard Error: 7_008
113
			.saturating_add(Weight::from_parts(8_212_338, 0).saturating_mul(a.into()))
114
			.saturating_add(T::DbWeight::get().reads(2_u64))
115
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
116
			.saturating_add(T::DbWeight::get().writes(1_u64))
117
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
118
			.saturating_add(Weight::from_parts(0, 2611).saturating_mul(a.into()))
119
	}
120
	/// Storage: `Assets::Asset` (r:1 w:1)
121
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
122
	/// Storage: `Assets::Metadata` (r:1 w:0)
123
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
124
	fn finish_destroy() -> Weight {
125
		// Proof Size summary in bytes:
126
		//  Measured:  `207`
127
		//  Estimated: `3639`
128
		// Minimum execution time: 11_047_000 picoseconds.
129
		Weight::from_parts(11_314_000, 3639)
130
			.saturating_add(T::DbWeight::get().reads(2_u64))
131
			.saturating_add(T::DbWeight::get().writes(1_u64))
132
	}
133
	/// Storage: `Assets::Asset` (r:1 w:1)
134
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
135
	/// Storage: `Assets::Account` (r:1 w:1)
136
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
137
	fn mint() -> Weight {
138
		// Proof Size summary in bytes:
139
		//  Measured:  `207`
140
		//  Estimated: `3639`
141
		// Minimum execution time: 19_973_000 picoseconds.
142
		Weight::from_parts(20_309_000, 3639)
143
			.saturating_add(T::DbWeight::get().reads(2_u64))
144
			.saturating_add(T::DbWeight::get().writes(2_u64))
145
	}
146
	/// Storage: `Assets::Asset` (r:1 w:1)
147
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
148
	/// Storage: `Assets::Account` (r:1 w:1)
149
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
150
	fn burn() -> Weight {
151
		// Proof Size summary in bytes:
152
		//  Measured:  `315`
153
		//  Estimated: `3639`
154
		// Minimum execution time: 26_656_000 picoseconds.
155
		Weight::from_parts(27_554_000, 3639)
156
			.saturating_add(T::DbWeight::get().reads(2_u64))
157
			.saturating_add(T::DbWeight::get().writes(2_u64))
158
	}
159
	/// Storage: `Assets::Asset` (r:1 w:1)
160
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
161
	/// Storage: `Assets::Account` (r:2 w:2)
162
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
163
	/// Storage: `System::Account` (r:1 w:1)
164
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
165
14
	fn transfer() -> Weight {
166
14
		// Proof Size summary in bytes:
167
14
		//  Measured:  `420`
168
14
		//  Estimated: `6184`
169
14
		// Minimum execution time: 38_600_000 picoseconds.
170
14
		Weight::from_parts(39_379_000, 6184)
171
14
			.saturating_add(T::DbWeight::get().reads(4_u64))
172
14
			.saturating_add(T::DbWeight::get().writes(4_u64))
173
14
	}
174
	/// Storage: `Assets::Asset` (r:1 w:1)
175
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
176
	/// Storage: `Assets::Account` (r:2 w:2)
177
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
178
	/// Storage: `System::Account` (r:1 w:1)
179
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
180
	fn transfer_keep_alive() -> Weight {
181
		// Proof Size summary in bytes:
182
		//  Measured:  `420`
183
		//  Estimated: `6184`
184
		// Minimum execution time: 34_395_000 picoseconds.
185
		Weight::from_parts(35_188_000, 6184)
186
			.saturating_add(T::DbWeight::get().reads(4_u64))
187
			.saturating_add(T::DbWeight::get().writes(4_u64))
188
	}
189
	/// Storage: `Assets::Asset` (r:1 w:1)
190
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
191
	/// Storage: `Assets::Account` (r:2 w:2)
192
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
193
	/// Storage: `System::Account` (r:1 w:1)
194
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
195
	fn force_transfer() -> Weight {
196
		// Proof Size summary in bytes:
197
		//  Measured:  `420`
198
		//  Estimated: `6184`
199
		// Minimum execution time: 38_416_000 picoseconds.
200
		Weight::from_parts(38_802_000, 6184)
201
			.saturating_add(T::DbWeight::get().reads(4_u64))
202
			.saturating_add(T::DbWeight::get().writes(4_u64))
203
	}
204
	/// Storage: `Assets::Asset` (r:1 w:0)
205
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
206
	/// Storage: `Assets::Account` (r:1 w:1)
207
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
208
	fn freeze() -> Weight {
209
		// Proof Size summary in bytes:
210
		//  Measured:  `315`
211
		//  Estimated: `3639`
212
		// Minimum execution time: 13_446_000 picoseconds.
213
		Weight::from_parts(13_781_000, 3639)
214
			.saturating_add(T::DbWeight::get().reads(2_u64))
215
			.saturating_add(T::DbWeight::get().writes(1_u64))
216
	}
217
	/// Storage: `Assets::Asset` (r:1 w:0)
218
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
219
	/// Storage: `Assets::Account` (r:1 w:1)
220
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
221
	fn thaw() -> Weight {
222
		// Proof Size summary in bytes:
223
		//  Measured:  `315`
224
		//  Estimated: `3639`
225
		// Minimum execution time: 13_632_000 picoseconds.
226
		Weight::from_parts(14_037_000, 3639)
227
			.saturating_add(T::DbWeight::get().reads(2_u64))
228
			.saturating_add(T::DbWeight::get().writes(1_u64))
229
	}
230
	/// Storage: `Assets::Asset` (r:1 w:1)
231
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
232
	fn freeze_asset() -> Weight {
233
		// Proof Size summary in bytes:
234
		//  Measured:  `241`
235
		//  Estimated: `3639`
236
		// Minimum execution time: 9_606_000 picoseconds.
237
		Weight::from_parts(9_889_000, 3639)
238
			.saturating_add(T::DbWeight::get().reads(1_u64))
239
			.saturating_add(T::DbWeight::get().writes(1_u64))
240
	}
241
	/// Storage: `Assets::Asset` (r:1 w:1)
242
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
243
	fn thaw_asset() -> Weight {
244
		// Proof Size summary in bytes:
245
		//  Measured:  `241`
246
		//  Estimated: `3639`
247
		// Minimum execution time: 9_651_000 picoseconds.
248
		Weight::from_parts(10_017_000, 3639)
249
			.saturating_add(T::DbWeight::get().reads(1_u64))
250
			.saturating_add(T::DbWeight::get().writes(1_u64))
251
	}
252
	/// Storage: `Assets::Asset` (r:1 w:1)
253
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
254
	/// Storage: `Assets::Metadata` (r:1 w:0)
255
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
256
	fn transfer_ownership() -> Weight {
257
		// Proof Size summary in bytes:
258
		//  Measured:  `207`
259
		//  Estimated: `3639`
260
		// Minimum execution time: 11_271_000 picoseconds.
261
		Weight::from_parts(11_651_000, 3639)
262
			.saturating_add(T::DbWeight::get().reads(2_u64))
263
			.saturating_add(T::DbWeight::get().writes(1_u64))
264
	}
265
	/// Storage: `Assets::Asset` (r:1 w:1)
266
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
267
	fn set_team() -> Weight {
268
		// Proof Size summary in bytes:
269
		//  Measured:  `207`
270
		//  Estimated: `3639`
271
		// Minimum execution time: 9_819_000 picoseconds.
272
		Weight::from_parts(9_927_000, 3639)
273
			.saturating_add(T::DbWeight::get().reads(1_u64))
274
			.saturating_add(T::DbWeight::get().writes(1_u64))
275
	}
276
	/// Storage: `Assets::Asset` (r:1 w:0)
277
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
278
	/// Storage: `Assets::Metadata` (r:1 w:1)
279
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
280
	/// The range of component `n` is `[0, 50]`.
281
	/// The range of component `s` is `[0, 50]`.
282
	fn set_metadata(n: u32, s: u32, ) -> Weight {
283
		// Proof Size summary in bytes:
284
		//  Measured:  `207`
285
		//  Estimated: `3639`
286
		// Minimum execution time: 25_931_000 picoseconds.
287
		Weight::from_parts(26_608_923, 3639)
288
			// Standard Error: 514
289
			.saturating_add(Weight::from_parts(4_043, 0).saturating_mul(n.into()))
290
			// Standard Error: 514
291
			.saturating_add(Weight::from_parts(3_997, 0).saturating_mul(s.into()))
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: 26_038_000 picoseconds.
304
		Weight::from_parts(26_350_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: 10_145_000 picoseconds.
319
		Weight::from_parts(10_661_369, 3639)
320
			// Standard Error: 308
321
			.saturating_add(Weight::from_parts(1_704, 0).saturating_mul(n.into()))
322
			// Standard Error: 308
323
			.saturating_add(Weight::from_parts(878, 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: 25_580_000 picoseconds.
336
		Weight::from_parts(26_191_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: 9_354_000 picoseconds.
347
		Weight::from_parts(9_613_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
14
	fn approve_transfer() -> Weight {
356
14
		// Proof Size summary in bytes:
357
14
		//  Measured:  `241`
358
14
		//  Estimated: `3639`
359
14
		// Minimum execution time: 15_495_000 picoseconds.
360
14
		Weight::from_parts(15_948_000, 3639)
361
14
			.saturating_add(T::DbWeight::get().reads(2_u64))
362
14
			.saturating_add(T::DbWeight::get().writes(2_u64))
363
14
	}
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
14
	fn transfer_approved() -> Weight {
373
14
		// Proof Size summary in bytes:
374
14
		//  Measured:  `513`
375
14
		//  Estimated: `6184`
376
14
		// Minimum execution time: 47_120_000 picoseconds.
377
14
		Weight::from_parts(47_947_000, 6184)
378
14
			.saturating_add(T::DbWeight::get().reads(5_u64))
379
14
			.saturating_add(T::DbWeight::get().writes(5_u64))
380
14
	}
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: 17_764_000 picoseconds.
390
		Weight::from_parts(18_170_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: 17_666_000 picoseconds.
403
		Weight::from_parts(18_401_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: 10_421_000 picoseconds.
414
		Weight::from_parts(10_682_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: 31_078_000 picoseconds.
429
		Weight::from_parts(31_794_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: 29_151_000 picoseconds.
442
		Weight::from_parts(29_641_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: 29_378_000 picoseconds.
457
		Weight::from_parts(30_003_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: 27_175_000 picoseconds.
470
		Weight::from_parts(27_696_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: 13_308_000 picoseconds.
483
		Weight::from_parts(13_696_000, 3639)
484
			.saturating_add(T::DbWeight::get().reads(2_u64))
485
			.saturating_add(T::DbWeight::get().writes(1_u64))
486
	}
487
}