1
// Copyright (C) Moondance Labs Ltd.
2
// This file is part of Tanssi.
3

            
4
// Tanssi 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
// Tanssi 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 Tanssi.  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 49.1.0
21
//! DATE: 2025-11-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `benchmark-1`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
25

            
26
// Executed Command:
27
// target/release/container-chain-frontier-node
28
// benchmark
29
// pallet
30
// --wasm-execution=compiled
31
// --pallet
32
// pallet_assets
33
// --extrinsic
34
// *
35
// --chain=dev
36
// --steps
37
// 50
38
// --repeat
39
// 20
40
// --template=benchmarking/frame-weight-runtime-template.hbs
41
// --json-file
42
// raw.json
43
// --output
44
// tmp/frontier_template_weights/pallet_assets.rs
45

            
46
#![cfg_attr(rustfmt, rustfmt_skip)]
47
#![allow(unused_parens)]
48
#![allow(unused_imports)]
49

            
50
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
51
use core::marker::PhantomData;
52

            
53
/// Weights for pallet_assets using the Substrate node and recommended hardware.
54
pub struct SubstrateWeight<T>(PhantomData<T>);
55
impl<T: frame_system::Config> pallet_assets::WeightInfo for SubstrateWeight<T> {
56
	fn create() -> Weight {
57
		// Proof Size summary in bytes:
58
		//  Measured:  `0`
59
		//  Estimated: `0`
60
		// Minimum execution time: 0_000 picoseconds.
61
		Weight::from_parts(0, 0)
62
	}
63
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
64
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
65
	/// Storage: `ForeignAssets::NextAssetId` (r:1 w:0)
66
	/// Proof: `ForeignAssets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
67
	fn force_create() -> Weight {
68
		// Proof Size summary in bytes:
69
		//  Measured:  `3`
70
		//  Estimated: `3625`
71
		// Minimum execution time: 13_923_000 picoseconds.
72
		Weight::from_parts(14_278_000, 3625)
73
			.saturating_add(T::DbWeight::get().reads(2_u64))
74
			.saturating_add(T::DbWeight::get().writes(1_u64))
75
	}
76
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
77
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
78
	fn start_destroy() -> Weight {
79
		// Proof Size summary in bytes:
80
		//  Measured:  `225`
81
		//  Estimated: `3625`
82
		// Minimum execution time: 14_498_000 picoseconds.
83
		Weight::from_parts(14_941_000, 3625)
84
			.saturating_add(T::DbWeight::get().reads(1_u64))
85
			.saturating_add(T::DbWeight::get().writes(1_u64))
86
	}
87
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
88
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
89
	/// Storage: `ForeignAssets::Account` (r:1001 w:1000)
90
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
91
	/// Storage: `System::Account` (r:1000 w:1000)
92
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
93
	/// The range of component `c` is `[0, 1000]`.
94
	fn destroy_accounts(c: u32, ) -> Weight {
95
		// Proof Size summary in bytes:
96
		//  Measured:  `176 + c * (183 ±0)`
97
		//  Estimated: `3625 + c * (2591 ±0)`
98
		// Minimum execution time: 19_712_000 picoseconds.
99
		Weight::from_parts(19_918_000, 3625)
100
			// Standard Error: 10_966
101
			.saturating_add(Weight::from_parts(16_362_775, 0).saturating_mul(c.into()))
102
			.saturating_add(T::DbWeight::get().reads(2_u64))
103
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
104
			.saturating_add(T::DbWeight::get().writes(1_u64))
105
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
106
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(c.into()))
107
	}
108
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
109
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
110
	/// Storage: `ForeignAssets::Approvals` (r:1001 w:1000)
111
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
112
	/// The range of component `a` is `[0, 1000]`.
113
	fn destroy_approvals(a: u32, ) -> Weight {
114
		// Proof Size summary in bytes:
115
		//  Measured:  `370 + a * (74 ±0)`
116
		//  Estimated: `3625 + a * (2597 ±0)`
117
		// Minimum execution time: 20_469_000 picoseconds.
118
		Weight::from_parts(20_709_000, 3625)
119
			// Standard Error: 3_171
120
			.saturating_add(Weight::from_parts(6_243_451, 0).saturating_mul(a.into()))
121
			.saturating_add(T::DbWeight::get().reads(2_u64))
122
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
123
			.saturating_add(T::DbWeight::get().writes(1_u64))
124
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
125
			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(a.into()))
126
	}
127
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
128
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
129
	/// Storage: `ForeignAssets::Metadata` (r:1 w:0)
130
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
131
	fn finish_destroy() -> Weight {
132
		// Proof Size summary in bytes:
133
		//  Measured:  `191`
134
		//  Estimated: `3625`
135
		// Minimum execution time: 16_421_000 picoseconds.
136
		Weight::from_parts(16_745_000, 3625)
137
			.saturating_add(T::DbWeight::get().reads(2_u64))
138
			.saturating_add(T::DbWeight::get().writes(1_u64))
139
	}
140
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
141
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
142
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
143
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
144
	fn mint() -> Weight {
145
		// Proof Size summary in bytes:
146
		//  Measured:  `191`
147
		//  Estimated: `3625`
148
		// Minimum execution time: 28_624_000 picoseconds.
149
		Weight::from_parts(29_149_000, 3625)
150
			.saturating_add(T::DbWeight::get().reads(2_u64))
151
			.saturating_add(T::DbWeight::get().writes(2_u64))
152
	}
153
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
154
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
155
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
156
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
157
	fn burn() -> Weight {
158
		// Proof Size summary in bytes:
159
		//  Measured:  `285`
160
		//  Estimated: `3625`
161
		// Minimum execution time: 38_824_000 picoseconds.
162
		Weight::from_parts(39_413_000, 3625)
163
			.saturating_add(T::DbWeight::get().reads(2_u64))
164
			.saturating_add(T::DbWeight::get().writes(2_u64))
165
	}
166
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
167
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
168
	/// Storage: `ForeignAssets::Account` (r:2 w:2)
169
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
170
	/// Storage: `System::Account` (r:1 w:1)
171
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
172
	fn transfer() -> Weight {
173
		// Proof Size summary in bytes:
174
		//  Measured:  `376`
175
		//  Estimated: `6156`
176
		// Minimum execution time: 54_438_000 picoseconds.
177
		Weight::from_parts(55_374_000, 6156)
178
			.saturating_add(T::DbWeight::get().reads(4_u64))
179
			.saturating_add(T::DbWeight::get().writes(4_u64))
180
	}
181
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
182
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
183
	/// Storage: `ForeignAssets::Account` (r:2 w:2)
184
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
185
	/// Storage: `System::Account` (r:1 w:1)
186
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
187
	fn transfer_keep_alive() -> Weight {
188
		// Proof Size summary in bytes:
189
		//  Measured:  `376`
190
		//  Estimated: `6156`
191
		// Minimum execution time: 49_077_000 picoseconds.
192
		Weight::from_parts(49_846_000, 6156)
193
			.saturating_add(T::DbWeight::get().reads(4_u64))
194
			.saturating_add(T::DbWeight::get().writes(4_u64))
195
	}
196
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
197
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
198
	/// Storage: `ForeignAssets::Account` (r:2 w:2)
199
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
200
	/// Storage: `System::Account` (r:1 w:1)
201
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
202
	fn force_transfer() -> Weight {
203
		// Proof Size summary in bytes:
204
		//  Measured:  `376`
205
		//  Estimated: `6156`
206
		// Minimum execution time: 54_375_000 picoseconds.
207
		Weight::from_parts(55_277_000, 6156)
208
			.saturating_add(T::DbWeight::get().reads(4_u64))
209
			.saturating_add(T::DbWeight::get().writes(4_u64))
210
	}
211
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
212
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
213
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
214
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
215
	fn freeze() -> Weight {
216
		// Proof Size summary in bytes:
217
		//  Measured:  `285`
218
		//  Estimated: `3625`
219
		// Minimum execution time: 19_555_000 picoseconds.
220
		Weight::from_parts(20_178_000, 3625)
221
			.saturating_add(T::DbWeight::get().reads(2_u64))
222
			.saturating_add(T::DbWeight::get().writes(1_u64))
223
	}
224
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
225
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
226
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
227
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
228
	fn thaw() -> Weight {
229
		// Proof Size summary in bytes:
230
		//  Measured:  `285`
231
		//  Estimated: `3625`
232
		// Minimum execution time: 19_811_000 picoseconds.
233
		Weight::from_parts(20_165_000, 3625)
234
			.saturating_add(T::DbWeight::get().reads(2_u64))
235
			.saturating_add(T::DbWeight::get().writes(1_u64))
236
	}
237
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
238
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
239
	fn freeze_asset() -> Weight {
240
		// Proof Size summary in bytes:
241
		//  Measured:  `225`
242
		//  Estimated: `3625`
243
		// Minimum execution time: 14_152_000 picoseconds.
244
		Weight::from_parts(14_623_000, 3625)
245
			.saturating_add(T::DbWeight::get().reads(1_u64))
246
			.saturating_add(T::DbWeight::get().writes(1_u64))
247
	}
248
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
249
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
250
	fn thaw_asset() -> Weight {
251
		// Proof Size summary in bytes:
252
		//  Measured:  `225`
253
		//  Estimated: `3625`
254
		// Minimum execution time: 14_224_000 picoseconds.
255
		Weight::from_parts(14_593_000, 3625)
256
			.saturating_add(T::DbWeight::get().reads(1_u64))
257
			.saturating_add(T::DbWeight::get().writes(1_u64))
258
	}
259
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
260
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
261
	/// Storage: `ForeignAssets::Metadata` (r:1 w:0)
262
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
263
	fn transfer_ownership() -> Weight {
264
		// Proof Size summary in bytes:
265
		//  Measured:  `191`
266
		//  Estimated: `3625`
267
		// Minimum execution time: 16_638_000 picoseconds.
268
		Weight::from_parts(16_992_000, 3625)
269
			.saturating_add(T::DbWeight::get().reads(2_u64))
270
			.saturating_add(T::DbWeight::get().writes(1_u64))
271
	}
272
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
273
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
274
	fn set_team() -> Weight {
275
		// Proof Size summary in bytes:
276
		//  Measured:  `191`
277
		//  Estimated: `3625`
278
		// Minimum execution time: 14_158_000 picoseconds.
279
		Weight::from_parts(14_639_000, 3625)
280
			.saturating_add(T::DbWeight::get().reads(1_u64))
281
			.saturating_add(T::DbWeight::get().writes(1_u64))
282
	}
283
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
284
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
285
	/// Storage: `ForeignAssets::Metadata` (r:1 w:1)
286
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
287
	/// The range of component `n` is `[0, 50]`.
288
	/// The range of component `s` is `[0, 50]`.
289
	fn set_metadata(n: u32, s: u32, ) -> Weight {
290
		// Proof Size summary in bytes:
291
		//  Measured:  `191`
292
		//  Estimated: `3625`
293
		// Minimum execution time: 17_516_000 picoseconds.
294
		Weight::from_parts(18_257_485, 3625)
295
			// Standard Error: 424
296
			.saturating_add(Weight::from_parts(1_423, 0).saturating_mul(n.into()))
297
			// Standard Error: 424
298
			.saturating_add(Weight::from_parts(1_522, 0).saturating_mul(s.into()))
299
			.saturating_add(T::DbWeight::get().reads(2_u64))
300
			.saturating_add(T::DbWeight::get().writes(1_u64))
301
	}
302
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
303
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
304
	/// Storage: `ForeignAssets::Metadata` (r:1 w:1)
305
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
306
	fn clear_metadata() -> Weight {
307
		// Proof Size summary in bytes:
308
		//  Measured:  `353`
309
		//  Estimated: `3625`
310
		// Minimum execution time: 18_396_000 picoseconds.
311
		Weight::from_parts(19_105_000, 3625)
312
			.saturating_add(T::DbWeight::get().reads(2_u64))
313
			.saturating_add(T::DbWeight::get().writes(1_u64))
314
	}
315
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
316
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
317
	/// Storage: `ForeignAssets::Metadata` (r:1 w:1)
318
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
319
	/// The range of component `n` is `[0, 50]`.
320
	/// The range of component `s` is `[0, 50]`.
321
	fn force_set_metadata(n: u32, s: u32, ) -> Weight {
322
		// Proof Size summary in bytes:
323
		//  Measured:  `78`
324
		//  Estimated: `3625`
325
		// Minimum execution time: 15_547_000 picoseconds.
326
		Weight::from_parts(16_028_305, 3625)
327
			// Standard Error: 290
328
			.saturating_add(Weight::from_parts(3_538, 0).saturating_mul(n.into()))
329
			// Standard Error: 290
330
			.saturating_add(Weight::from_parts(1_147, 0).saturating_mul(s.into()))
331
			.saturating_add(T::DbWeight::get().reads(2_u64))
332
			.saturating_add(T::DbWeight::get().writes(1_u64))
333
	}
334
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
335
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
336
	/// Storage: `ForeignAssets::Metadata` (r:1 w:1)
337
	/// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(138), added: 2613, mode: `MaxEncodedLen`)
338
	fn force_clear_metadata() -> Weight {
339
		// Proof Size summary in bytes:
340
		//  Measured:  `353`
341
		//  Estimated: `3625`
342
		// Minimum execution time: 18_372_000 picoseconds.
343
		Weight::from_parts(18_691_000, 3625)
344
			.saturating_add(T::DbWeight::get().reads(2_u64))
345
			.saturating_add(T::DbWeight::get().writes(1_u64))
346
	}
347
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
348
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
349
	fn force_asset_status() -> Weight {
350
		// Proof Size summary in bytes:
351
		//  Measured:  `191`
352
		//  Estimated: `3625`
353
		// Minimum execution time: 13_734_000 picoseconds.
354
		Weight::from_parts(14_174_000, 3625)
355
			.saturating_add(T::DbWeight::get().reads(1_u64))
356
			.saturating_add(T::DbWeight::get().writes(1_u64))
357
	}
358
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
359
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
360
	/// Storage: `ForeignAssets::Approvals` (r:1 w:1)
361
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
362
	fn approve_transfer() -> Weight {
363
		// Proof Size summary in bytes:
364
		//  Measured:  `225`
365
		//  Estimated: `3625`
366
		// Minimum execution time: 22_655_000 picoseconds.
367
		Weight::from_parts(23_222_000, 3625)
368
			.saturating_add(T::DbWeight::get().reads(2_u64))
369
			.saturating_add(T::DbWeight::get().writes(2_u64))
370
	}
371
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
372
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
373
	/// Storage: `ForeignAssets::Approvals` (r:1 w:1)
374
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
375
	/// Storage: `ForeignAssets::Account` (r:2 w:2)
376
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
377
	/// Storage: `System::Account` (r:1 w:1)
378
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
379
	fn transfer_approved() -> Weight {
380
		// Proof Size summary in bytes:
381
		//  Measured:  `429`
382
		//  Estimated: `6156`
383
		// Minimum execution time: 66_346_000 picoseconds.
384
		Weight::from_parts(67_509_000, 6156)
385
			.saturating_add(T::DbWeight::get().reads(5_u64))
386
			.saturating_add(T::DbWeight::get().writes(5_u64))
387
	}
388
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
389
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
390
	/// Storage: `ForeignAssets::Approvals` (r:1 w:1)
391
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
392
	fn cancel_approval() -> Weight {
393
		// Proof Size summary in bytes:
394
		//  Measured:  `369`
395
		//  Estimated: `3625`
396
		// Minimum execution time: 25_394_000 picoseconds.
397
		Weight::from_parts(25_948_000, 3625)
398
			.saturating_add(T::DbWeight::get().reads(2_u64))
399
			.saturating_add(T::DbWeight::get().writes(2_u64))
400
	}
401
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
402
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
403
	/// Storage: `ForeignAssets::Approvals` (r:1 w:1)
404
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
405
	fn force_cancel_approval() -> Weight {
406
		// Proof Size summary in bytes:
407
		//  Measured:  `369`
408
		//  Estimated: `3625`
409
		// Minimum execution time: 25_318_000 picoseconds.
410
		Weight::from_parts(25_958_000, 3625)
411
			.saturating_add(T::DbWeight::get().reads(2_u64))
412
			.saturating_add(T::DbWeight::get().writes(2_u64))
413
	}
414
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
415
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
416
	fn set_min_balance() -> Weight {
417
		// Proof Size summary in bytes:
418
		//  Measured:  `191`
419
		//  Estimated: `3625`
420
		// Minimum execution time: 15_554_000 picoseconds.
421
		Weight::from_parts(15_862_000, 3625)
422
			.saturating_add(T::DbWeight::get().reads(1_u64))
423
			.saturating_add(T::DbWeight::get().writes(1_u64))
424
	}
425
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
426
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
427
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
428
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
429
	fn touch() -> Weight {
430
		// Proof Size summary in bytes:
431
		//  Measured:  `191`
432
		//  Estimated: `3625`
433
		// Minimum execution time: 21_895_000 picoseconds.
434
		Weight::from_parts(22_442_000, 3625)
435
			.saturating_add(T::DbWeight::get().reads(2_u64))
436
			.saturating_add(T::DbWeight::get().writes(2_u64))
437
	}
438
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
439
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
440
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
441
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
442
	fn touch_other() -> Weight {
443
		// Proof Size summary in bytes:
444
		//  Measured:  `191`
445
		//  Estimated: `3625`
446
		// Minimum execution time: 21_835_000 picoseconds.
447
		Weight::from_parts(22_266_000, 3625)
448
			.saturating_add(T::DbWeight::get().reads(2_u64))
449
			.saturating_add(T::DbWeight::get().writes(2_u64))
450
	}
451
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
452
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
453
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
454
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
455
	fn refund() -> Weight {
456
		// Proof Size summary in bytes:
457
		//  Measured:  `303`
458
		//  Estimated: `3625`
459
		// Minimum execution time: 19_577_000 picoseconds.
460
		Weight::from_parts(19_830_000, 3625)
461
			.saturating_add(T::DbWeight::get().reads(2_u64))
462
			.saturating_add(T::DbWeight::get().writes(2_u64))
463
	}
464
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
465
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
466
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
467
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
468
	fn refund_other() -> Weight {
469
		// Proof Size summary in bytes:
470
		//  Measured:  `323`
471
		//  Estimated: `3625`
472
		// Minimum execution time: 19_389_000 picoseconds.
473
		Weight::from_parts(19_806_000, 3625)
474
			.saturating_add(T::DbWeight::get().reads(2_u64))
475
			.saturating_add(T::DbWeight::get().writes(2_u64))
476
	}
477
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
478
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
479
	/// Storage: `ForeignAssets::Account` (r:1 w:1)
480
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
481
	fn block() -> Weight {
482
		// Proof Size summary in bytes:
483
		//  Measured:  `285`
484
		//  Estimated: `3625`
485
		// Minimum execution time: 19_615_000 picoseconds.
486
		Weight::from_parts(19_988_000, 3625)
487
			.saturating_add(T::DbWeight::get().reads(2_u64))
488
			.saturating_add(T::DbWeight::get().writes(1_u64))
489
	}
490
	/// Storage: `ForeignAssets::Asset` (r:1 w:1)
491
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
492
	/// Storage: `ForeignAssets::Account` (r:2 w:2)
493
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
494
	/// Storage: `System::Account` (r:1 w:1)
495
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
496
	fn transfer_all() -> Weight {
497
		// Proof Size summary in bytes:
498
		//  Measured:  `376`
499
		//  Estimated: `6156`
500
		// Minimum execution time: 66_141_000 picoseconds.
501
		Weight::from_parts(67_815_000, 6156)
502
			.saturating_add(T::DbWeight::get().reads(4_u64))
503
			.saturating_add(T::DbWeight::get().writes(4_u64))
504
	}
505
	/// Storage: `ForeignAssets::Asset` (r:1 w:0)
506
	/// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`)
507
	fn total_issuance() -> Weight {
508
		// Proof Size summary in bytes:
509
		//  Measured:  `225`
510
		//  Estimated: `3625`
511
		// Minimum execution time: 6_141_000 picoseconds.
512
		Weight::from_parts(6_397_000, 3625)
513
			.saturating_add(T::DbWeight::get().reads(1_u64))
514
	}
515
	/// Storage: `ForeignAssets::Account` (r:1 w:0)
516
	/// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
517
	fn balance() -> Weight {
518
		// Proof Size summary in bytes:
519
		//  Measured:  `135`
520
		//  Estimated: `3573`
521
		// Minimum execution time: 7_227_000 picoseconds.
522
		Weight::from_parts(7_490_000, 3573)
523
			.saturating_add(T::DbWeight::get().reads(1_u64))
524
	}
525
	/// Storage: `ForeignAssets::Approvals` (r:1 w:0)
526
	/// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
527
	fn allowance() -> Weight {
528
		// Proof Size summary in bytes:
529
		//  Measured:  `218`
530
		//  Estimated: `3587`
531
		// Minimum execution time: 10_647_000 picoseconds.
532
		Weight::from_parts(10_923_000, 3587)
533
			.saturating_add(T::DbWeight::get().reads(1_u64))
534
	}
535
}