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-36`, 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/moonriver-runtime/moonriver_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/moonriver/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_525_000 picoseconds.
69
		Weight::from_parts(10_921_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_912_000 picoseconds.
80
		Weight::from_parts(12_429_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:  `759 + c * (183 ±0)`
94
		//  Estimated: `3639 + c * (2597 ±0)`
95
		// Minimum execution time: 14_846_000 picoseconds.
96
		Weight::from_parts(15_128_000, 3639)
97
			// Standard Error: 8_589
98
			.saturating_add(Weight::from_parts(14_231_837, 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_907_000 picoseconds.
115
		Weight::from_parts(16_073_000, 3639)
116
			// Standard Error: 4_463
117
			.saturating_add(Weight::from_parts(5_731_865, 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: 13_022_000 picoseconds.
133
		Weight::from_parts(13_430_000, 3639)
134
			.saturating_add(T::DbWeight::get().reads(2_u64))
135
			.saturating_add(T::DbWeight::get().writes(1_u64))
136
	}
137
	/// Storage: `Assets::Asset` (r:1 w:1)
138
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
139
	/// Storage: `Assets::Account` (r:1 w:1)
140
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
141
	fn mint() -> Weight {
142
		// Proof Size summary in bytes:
143
		//  Measured:  `207`
144
		//  Estimated: `3639`
145
		// Minimum execution time: 22_289_000 picoseconds.
146
		Weight::from_parts(23_050_000, 3639)
147
			.saturating_add(T::DbWeight::get().reads(2_u64))
148
			.saturating_add(T::DbWeight::get().writes(2_u64))
149
	}
150
	/// Storage: `Assets::Asset` (r:1 w:1)
151
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
152
	/// Storage: `Assets::Account` (r:1 w:1)
153
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
154
	fn burn() -> Weight {
155
		// Proof Size summary in bytes:
156
		//  Measured:  `315`
157
		//  Estimated: `3639`
158
		// Minimum execution time: 30_271_000 picoseconds.
159
		Weight::from_parts(30_913_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
7
	fn transfer() -> Weight {
170
7
		// Proof Size summary in bytes:
171
7
		//  Measured:  `387`
172
7
		//  Estimated: `6184`
173
7
		// Minimum execution time: 46_916_000 picoseconds.
174
7
		Weight::from_parts(47_620_000, 6184)
175
7
			.saturating_add(T::DbWeight::get().reads(4_u64))
176
7
			.saturating_add(T::DbWeight::get().writes(4_u64))
177
7
	}
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:  `387`
187
		//  Estimated: `6184`
188
		// Minimum execution time: 42_130_000 picoseconds.
189
		Weight::from_parts(43_345_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:  `387`
202
		//  Estimated: `6184`
203
		// Minimum execution time: 46_472_000 picoseconds.
204
		Weight::from_parts(47_533_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_280_000 picoseconds.
217
		Weight::from_parts(16_785_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_095_000 picoseconds.
230
		Weight::from_parts(16_499_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_581_000 picoseconds.
241
		Weight::from_parts(11_907_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_505_000 picoseconds.
252
		Weight::from_parts(12_070_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_252_000 picoseconds.
265
		Weight::from_parts(13_550_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_428_000 picoseconds.
276
		Weight::from_parts(11_689_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_889_000 picoseconds.
291
		Weight::from_parts(29_090_573, 3639)
292
			// Standard Error: 686
293
			.saturating_add(Weight::from_parts(1_027, 0).saturating_mul(n.into()))
294
			// Standard Error: 686
295
			.saturating_add(Weight::from_parts(2_580, 0).saturating_mul(s.into()))
296
			.saturating_add(T::DbWeight::get().reads(2_u64))
297
			.saturating_add(T::DbWeight::get().writes(1_u64))
298
	}
299
	/// Storage: `Assets::Asset` (r:1 w:0)
300
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
301
	/// Storage: `Assets::Metadata` (r:1 w:1)
302
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
303
	fn clear_metadata() -> Weight {
304
		// Proof Size summary in bytes:
305
		//  Measured:  `383`
306
		//  Estimated: `3639`
307
		// Minimum execution time: 31_995_000 picoseconds.
308
		Weight::from_parts(32_991_000, 3639)
309
			.saturating_add(T::DbWeight::get().reads(2_u64))
310
			.saturating_add(T::DbWeight::get().writes(1_u64))
311
	}
312
	/// Storage: `Assets::Asset` (r:1 w:0)
313
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
314
	/// Storage: `Assets::Metadata` (r:1 w:1)
315
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
316
	/// The range of component `n` is `[0, 50]`.
317
	/// The range of component `s` is `[0, 50]`.
318
	fn force_set_metadata(n: u32, s: u32, ) -> Weight {
319
		// Proof Size summary in bytes:
320
		//  Measured:  `94`
321
		//  Estimated: `3639`
322
		// Minimum execution time: 12_340_000 picoseconds.
323
		Weight::from_parts(12_896_545, 3639)
324
			// Standard Error: 322
325
			.saturating_add(Weight::from_parts(1_101, 0).saturating_mul(n.into()))
326
			// Standard Error: 322
327
			.saturating_add(Weight::from_parts(1_461, 0).saturating_mul(s.into()))
328
			.saturating_add(T::DbWeight::get().reads(2_u64))
329
			.saturating_add(T::DbWeight::get().writes(1_u64))
330
	}
331
	/// Storage: `Assets::Asset` (r:1 w:0)
332
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
333
	/// Storage: `Assets::Metadata` (r:1 w:1)
334
	/// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`)
335
	fn force_clear_metadata() -> Weight {
336
		// Proof Size summary in bytes:
337
		//  Measured:  `383`
338
		//  Estimated: `3639`
339
		// Minimum execution time: 31_827_000 picoseconds.
340
		Weight::from_parts(32_429_000, 3639)
341
			.saturating_add(T::DbWeight::get().reads(2_u64))
342
			.saturating_add(T::DbWeight::get().writes(1_u64))
343
	}
344
	/// Storage: `Assets::Asset` (r:1 w:1)
345
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
346
	fn force_asset_status() -> Weight {
347
		// Proof Size summary in bytes:
348
		//  Measured:  `207`
349
		//  Estimated: `3639`
350
		// Minimum execution time: 10_985_000 picoseconds.
351
		Weight::from_parts(11_294_000, 3639)
352
			.saturating_add(T::DbWeight::get().reads(1_u64))
353
			.saturating_add(T::DbWeight::get().writes(1_u64))
354
	}
355
	/// Storage: `Assets::Asset` (r:1 w:1)
356
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
357
	/// Storage: `Assets::Approvals` (r:1 w:1)
358
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
359
7
	fn approve_transfer() -> Weight {
360
7
		// Proof Size summary in bytes:
361
7
		//  Measured:  `241`
362
7
		//  Estimated: `3639`
363
7
		// Minimum execution time: 17_596_000 picoseconds.
364
7
		Weight::from_parts(18_205_000, 3639)
365
7
			.saturating_add(T::DbWeight::get().reads(2_u64))
366
7
			.saturating_add(T::DbWeight::get().writes(2_u64))
367
7
	}
368
	/// Storage: `Assets::Asset` (r:1 w:1)
369
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
370
	/// Storage: `Assets::Approvals` (r:1 w:1)
371
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
372
	/// Storage: `Assets::Account` (r:2 w:2)
373
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
374
	/// Storage: `System::Account` (r:1 w:1)
375
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
376
7
	fn transfer_approved() -> Weight {
377
7
		// Proof Size summary in bytes:
378
7
		//  Measured:  `513`
379
7
		//  Estimated: `6184`
380
7
		// Minimum execution time: 55_862_000 picoseconds.
381
7
		Weight::from_parts(57_032_000, 6184)
382
7
			.saturating_add(T::DbWeight::get().reads(5_u64))
383
7
			.saturating_add(T::DbWeight::get().writes(5_u64))
384
7
	}
385
	/// Storage: `Assets::Asset` (r:1 w:1)
386
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
387
	/// Storage: `Assets::Approvals` (r:1 w:1)
388
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
389
	fn cancel_approval() -> Weight {
390
		// Proof Size summary in bytes:
391
		//  Measured:  `399`
392
		//  Estimated: `3639`
393
		// Minimum execution time: 20_640_000 picoseconds.
394
		Weight::from_parts(21_196_000, 3639)
395
			.saturating_add(T::DbWeight::get().reads(2_u64))
396
			.saturating_add(T::DbWeight::get().writes(2_u64))
397
	}
398
	/// Storage: `Assets::Asset` (r:1 w:1)
399
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
400
	/// Storage: `Assets::Approvals` (r:1 w:1)
401
	/// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(136), added: 2611, mode: `MaxEncodedLen`)
402
	fn force_cancel_approval() -> Weight {
403
		// Proof Size summary in bytes:
404
		//  Measured:  `399`
405
		//  Estimated: `3639`
406
		// Minimum execution time: 20_994_000 picoseconds.
407
		Weight::from_parts(21_363_000, 3639)
408
			.saturating_add(T::DbWeight::get().reads(2_u64))
409
			.saturating_add(T::DbWeight::get().writes(2_u64))
410
	}
411
	/// Storage: `Assets::Asset` (r:1 w:1)
412
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
413
	fn set_min_balance() -> Weight {
414
		// Proof Size summary in bytes:
415
		//  Measured:  `207`
416
		//  Estimated: `3639`
417
		// Minimum execution time: 12_185_000 picoseconds.
418
		Weight::from_parts(12_510_000, 3639)
419
			.saturating_add(T::DbWeight::get().reads(1_u64))
420
			.saturating_add(T::DbWeight::get().writes(1_u64))
421
	}
422
	/// Storage: `Assets::Account` (r:1 w:1)
423
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
424
	/// Storage: `Assets::Asset` (r:1 w:1)
425
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
426
	/// Storage: `System::Account` (r:1 w:1)
427
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
428
	fn touch() -> Weight {
429
		// Proof Size summary in bytes:
430
		//  Measured:  `402`
431
		//  Estimated: `3639`
432
		// Minimum execution time: 34_687_000 picoseconds.
433
		Weight::from_parts(35_243_000, 3639)
434
			.saturating_add(T::DbWeight::get().reads(3_u64))
435
			.saturating_add(T::DbWeight::get().writes(3_u64))
436
	}
437
	/// Storage: `Assets::Account` (r:1 w:1)
438
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
439
	/// Storage: `Assets::Asset` (r:1 w:1)
440
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
441
	fn touch_other() -> Weight {
442
		// Proof Size summary in bytes:
443
		//  Measured:  `207`
444
		//  Estimated: `3639`
445
		// Minimum execution time: 31_276_000 picoseconds.
446
		Weight::from_parts(32_155_000, 3639)
447
			.saturating_add(T::DbWeight::get().reads(2_u64))
448
			.saturating_add(T::DbWeight::get().writes(2_u64))
449
	}
450
	/// Storage: `Assets::Account` (r:1 w:1)
451
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
452
	/// Storage: `Assets::Asset` (r:1 w:1)
453
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
454
	/// Storage: `System::Account` (r:1 w:1)
455
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
456
	fn refund() -> Weight {
457
		// Proof Size summary in bytes:
458
		//  Measured:  `528`
459
		//  Estimated: `3639`
460
		// Minimum execution time: 36_751_000 picoseconds.
461
		Weight::from_parts(37_850_000, 3639)
462
			.saturating_add(T::DbWeight::get().reads(3_u64))
463
			.saturating_add(T::DbWeight::get().writes(3_u64))
464
	}
465
	/// Storage: `Assets::Account` (r:1 w:1)
466
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
467
	/// Storage: `Assets::Asset` (r:1 w:1)
468
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
469
	fn refund_other() -> Weight {
470
		// Proof Size summary in bytes:
471
		//  Measured:  `353`
472
		//  Estimated: `3639`
473
		// Minimum execution time: 33_763_000 picoseconds.
474
		Weight::from_parts(34_484_000, 3639)
475
			.saturating_add(T::DbWeight::get().reads(2_u64))
476
			.saturating_add(T::DbWeight::get().writes(2_u64))
477
	}
478
	/// Storage: `Assets::Asset` (r:1 w:0)
479
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
480
	/// Storage: `Assets::Account` (r:1 w:1)
481
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
482
	fn block() -> Weight {
483
		// Proof Size summary in bytes:
484
		//  Measured:  `315`
485
		//  Estimated: `3639`
486
		// Minimum execution time: 16_444_000 picoseconds.
487
		Weight::from_parts(16_809_000, 3639)
488
			.saturating_add(T::DbWeight::get().reads(2_u64))
489
			.saturating_add(T::DbWeight::get().writes(1_u64))
490
	}
491
	/// Storage: `Assets::Asset` (r:1 w:1)
492
	/// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(174), added: 2649, mode: `MaxEncodedLen`)
493
	/// Storage: `Assets::Account` (r:2 w:2)
494
	/// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
495
	/// Storage: `System::Account` (r:1 w:1)
496
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
497
	fn transfer_all() -> Weight {
498
		// Proof Size summary in bytes:
499
		//  Measured:  `387`
500
		//  Estimated: `6184`
501
		// Minimum execution time: 55_332_000 picoseconds.
502
		Weight::from_parts(57_323_000, 6184)
503
			.saturating_add(T::DbWeight::get().reads(4_u64))
504
			.saturating_add(T::DbWeight::get().writes(4_u64))
505
	}
506
}