pallet_assets/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_assets`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2026-07-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `f3408c1baac5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_assets
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/assets/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
70use core::marker::PhantomData;
71
72/// Weight functions needed for `pallet_assets`.
73pub trait WeightInfo {
74 fn create() -> Weight;
75 fn force_create() -> Weight;
76 fn start_destroy() -> Weight;
77 fn destroy_accounts(c: u32, ) -> Weight;
78 fn destroy_approvals(a: u32, ) -> Weight;
79 fn finish_destroy() -> Weight;
80 fn mint() -> Weight;
81 fn burn() -> Weight;
82 fn transfer() -> Weight;
83 fn transfer_keep_alive() -> Weight;
84 fn force_transfer() -> Weight;
85 fn freeze() -> Weight;
86 fn thaw() -> Weight;
87 fn freeze_asset() -> Weight;
88 fn thaw_asset() -> Weight;
89 fn transfer_ownership() -> Weight;
90 fn set_team() -> Weight;
91 fn set_reserves(n: u32, ) -> Weight;
92 fn set_metadata(n: u32, s: u32, ) -> Weight;
93 fn clear_metadata() -> Weight;
94 fn force_set_metadata(n: u32, s: u32, ) -> Weight;
95 fn force_clear_metadata() -> Weight;
96 fn force_asset_status() -> Weight;
97 fn approve_transfer() -> Weight;
98 fn transfer_approved() -> Weight;
99 fn cancel_approval() -> Weight;
100 fn force_cancel_approval() -> Weight;
101 fn set_min_balance() -> Weight;
102 fn touch() -> Weight;
103 fn touch_other() -> Weight;
104 fn refund() -> Weight;
105 fn refund_other() -> Weight;
106 fn block() -> Weight;
107 fn transfer_all() -> Weight;
108 fn total_issuance() -> Weight;
109 fn balance() -> Weight;
110 fn allowance() -> Weight;
111 fn migration_v2_foreign_asset_set_reserve_weight() -> Weight;
112 fn get_metadata() -> Weight;
113}
114
115/// Weights for `pallet_assets` using the Substrate node and recommended hardware.
116pub struct SubstrateWeight<T>(PhantomData<T>);
117impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
118 /// Storage: `Assets::Asset` (r:1 w:1)
119 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
120 /// Storage: `System::Account` (r:1 w:1)
121 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
122 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
123 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
124 /// Storage: `AssetsPrecompiles::NextAssetIndex` (r:1 w:1)
125 /// Proof: `AssetsPrecompiles::NextAssetIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
126 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
127 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
128 fn create() -> Weight {
129 // Proof Size summary in bytes:
130 // Measured: `491`
131 // Estimated: `3675`
132 // Minimum execution time: 38_021_000 picoseconds.
133 Weight::from_parts(40_739_000, 3675)
134 .saturating_add(T::DbWeight::get().reads(4_u64))
135 .saturating_add(T::DbWeight::get().writes(5_u64))
136 }
137 /// Storage: `Assets::Asset` (r:1 w:1)
138 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
139 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
140 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
141 /// Storage: `AssetsPrecompiles::NextAssetIndex` (r:1 w:1)
142 /// Proof: `AssetsPrecompiles::NextAssetIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
143 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
144 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
145 fn force_create() -> Weight {
146 // Proof Size summary in bytes:
147 // Measured: `351`
148 // Estimated: `3675`
149 // Minimum execution time: 21_724_000 picoseconds.
150 Weight::from_parts(23_303_000, 3675)
151 .saturating_add(T::DbWeight::get().reads(3_u64))
152 .saturating_add(T::DbWeight::get().writes(4_u64))
153 }
154 /// Storage: `Assets::Asset` (r:1 w:1)
155 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
156 fn start_destroy() -> Weight {
157 // Proof Size summary in bytes:
158 // Measured: `451`
159 // Estimated: `3675`
160 // Minimum execution time: 14_832_000 picoseconds.
161 Weight::from_parts(16_090_000, 3675)
162 .saturating_add(T::DbWeight::get().reads(1_u64))
163 .saturating_add(T::DbWeight::get().writes(1_u64))
164 }
165 /// Storage: `Assets::Asset` (r:1 w:1)
166 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
167 /// Storage: `Assets::Account` (r:1001 w:1000)
168 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
169 /// Storage: `System::Account` (r:1000 w:1000)
170 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
171 /// The range of component `c` is `[0, 1000]`.
172 fn destroy_accounts(c: u32, ) -> Weight {
173 // Proof Size summary in bytes:
174 // Measured: `222 + c * (208 ±0)`
175 // Estimated: `3675 + c * (2609 ±0)`
176 // Minimum execution time: 19_693_000 picoseconds.
177 Weight::from_parts(20_139_000, 3675)
178 // Standard Error: 28_301
179 .saturating_add(Weight::from_parts(15_975_021, 0).saturating_mul(c.into()))
180 .saturating_add(T::DbWeight::get().reads(2_u64))
181 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
182 .saturating_add(T::DbWeight::get().writes(1_u64))
183 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into())))
184 .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into()))
185 }
186 /// Storage: `Assets::Asset` (r:1 w:1)
187 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
188 /// Storage: `Assets::Approvals` (r:1001 w:1000)
189 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
190 /// The range of component `a` is `[0, 1000]`.
191 fn destroy_approvals(a: u32, ) -> Weight {
192 // Proof Size summary in bytes:
193 // Measured: `588 + a * (86 ±0)`
194 // Estimated: `3675 + a * (2623 ±0)`
195 // Minimum execution time: 20_550_000 picoseconds.
196 Weight::from_parts(21_183_000, 3675)
197 // Standard Error: 16_308
198 .saturating_add(Weight::from_parts(17_324_936, 0).saturating_mul(a.into()))
199 .saturating_add(T::DbWeight::get().reads(2_u64))
200 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
201 .saturating_add(T::DbWeight::get().writes(1_u64))
202 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
203 .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into()))
204 }
205 /// Storage: `Assets::Asset` (r:1 w:1)
206 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
207 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
208 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
209 /// Storage: `Assets::Metadata` (r:1 w:0)
210 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
211 /// Storage: `Assets::Reserves` (r:0 w:1)
212 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
213 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
214 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
215 fn finish_destroy() -> Weight {
216 // Proof Size summary in bytes:
217 // Measured: `629`
218 // Estimated: `3675`
219 // Minimum execution time: 25_636_000 picoseconds.
220 Weight::from_parts(27_414_000, 3675)
221 .saturating_add(T::DbWeight::get().reads(3_u64))
222 .saturating_add(T::DbWeight::get().writes(4_u64))
223 }
224 /// Storage: `Assets::Asset` (r:1 w:1)
225 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
226 /// Storage: `Assets::Account` (r:1 w:1)
227 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
228 fn mint() -> Weight {
229 // Proof Size summary in bytes:
230 // Measured: `417`
231 // Estimated: `3675`
232 // Minimum execution time: 25_838_000 picoseconds.
233 Weight::from_parts(27_519_000, 3675)
234 .saturating_add(T::DbWeight::get().reads(2_u64))
235 .saturating_add(T::DbWeight::get().writes(2_u64))
236 }
237 /// Storage: `Assets::Asset` (r:1 w:1)
238 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
239 /// Storage: `Assets::Account` (r:1 w:1)
240 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
241 fn burn() -> Weight {
242 // Proof Size summary in bytes:
243 // Measured: `525`
244 // Estimated: `3675`
245 // Minimum execution time: 33_848_000 picoseconds.
246 Weight::from_parts(35_994_000, 3675)
247 .saturating_add(T::DbWeight::get().reads(2_u64))
248 .saturating_add(T::DbWeight::get().writes(2_u64))
249 }
250 /// Storage: `Assets::Asset` (r:1 w:1)
251 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
252 /// Storage: `Assets::Account` (r:2 w:2)
253 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
254 /// Storage: `System::Account` (r:1 w:1)
255 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
256 fn transfer() -> Weight {
257 // Proof Size summary in bytes:
258 // Measured: `564`
259 // Estimated: `6208`
260 // Minimum execution time: 46_487_000 picoseconds.
261 Weight::from_parts(49_220_000, 6208)
262 .saturating_add(T::DbWeight::get().reads(4_u64))
263 .saturating_add(T::DbWeight::get().writes(4_u64))
264 }
265 /// Storage: `Assets::Asset` (r:1 w:1)
266 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
267 /// Storage: `Assets::Account` (r:2 w:2)
268 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
269 /// Storage: `System::Account` (r:1 w:1)
270 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
271 fn transfer_keep_alive() -> Weight {
272 // Proof Size summary in bytes:
273 // Measured: `564`
274 // Estimated: `6208`
275 // Minimum execution time: 42_214_000 picoseconds.
276 Weight::from_parts(44_817_000, 6208)
277 .saturating_add(T::DbWeight::get().reads(4_u64))
278 .saturating_add(T::DbWeight::get().writes(4_u64))
279 }
280 /// Storage: `Assets::Asset` (r:1 w:1)
281 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
282 /// Storage: `Assets::Account` (r:2 w:2)
283 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
284 /// Storage: `System::Account` (r:1 w:1)
285 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
286 fn force_transfer() -> Weight {
287 // Proof Size summary in bytes:
288 // Measured: `564`
289 // Estimated: `6208`
290 // Minimum execution time: 46_798_000 picoseconds.
291 Weight::from_parts(49_400_000, 6208)
292 .saturating_add(T::DbWeight::get().reads(4_u64))
293 .saturating_add(T::DbWeight::get().writes(4_u64))
294 }
295 /// Storage: `Assets::Asset` (r:1 w:0)
296 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
297 /// Storage: `Assets::Account` (r:1 w:1)
298 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
299 fn freeze() -> Weight {
300 // Proof Size summary in bytes:
301 // Measured: `525`
302 // Estimated: `3675`
303 // Minimum execution time: 19_702_000 picoseconds.
304 Weight::from_parts(21_215_000, 3675)
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(210), added: 2685, mode: `MaxEncodedLen`)
310 /// Storage: `Assets::Account` (r:1 w:1)
311 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
312 fn thaw() -> Weight {
313 // Proof Size summary in bytes:
314 // Measured: `525`
315 // Estimated: `3675`
316 // Minimum execution time: 19_353_000 picoseconds.
317 Weight::from_parts(21_060_000, 3675)
318 .saturating_add(T::DbWeight::get().reads(2_u64))
319 .saturating_add(T::DbWeight::get().writes(1_u64))
320 }
321 /// Storage: `Assets::Asset` (r:1 w:1)
322 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
323 fn freeze_asset() -> Weight {
324 // Proof Size summary in bytes:
325 // Measured: `451`
326 // Estimated: `3675`
327 // Minimum execution time: 14_957_000 picoseconds.
328 Weight::from_parts(16_232_000, 3675)
329 .saturating_add(T::DbWeight::get().reads(1_u64))
330 .saturating_add(T::DbWeight::get().writes(1_u64))
331 }
332 /// Storage: `Assets::Asset` (r:1 w:1)
333 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
334 fn thaw_asset() -> Weight {
335 // Proof Size summary in bytes:
336 // Measured: `451`
337 // Estimated: `3675`
338 // Minimum execution time: 14_878_000 picoseconds.
339 Weight::from_parts(16_173_000, 3675)
340 .saturating_add(T::DbWeight::get().reads(1_u64))
341 .saturating_add(T::DbWeight::get().writes(1_u64))
342 }
343 /// Storage: `Assets::Asset` (r:1 w:1)
344 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
345 /// Storage: `Assets::Metadata` (r:1 w:0)
346 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
347 fn transfer_ownership() -> Weight {
348 // Proof Size summary in bytes:
349 // Measured: `417`
350 // Estimated: `3675`
351 // Minimum execution time: 16_493_000 picoseconds.
352 Weight::from_parts(17_727_000, 3675)
353 .saturating_add(T::DbWeight::get().reads(2_u64))
354 .saturating_add(T::DbWeight::get().writes(1_u64))
355 }
356 /// Storage: `Assets::Asset` (r:1 w:1)
357 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
358 fn set_team() -> Weight {
359 // Proof Size summary in bytes:
360 // Measured: `417`
361 // Estimated: `3675`
362 // Minimum execution time: 14_621_000 picoseconds.
363 Weight::from_parts(15_938_000, 3675)
364 .saturating_add(T::DbWeight::get().reads(1_u64))
365 .saturating_add(T::DbWeight::get().writes(1_u64))
366 }
367 /// Storage: `Assets::Asset` (r:1 w:0)
368 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
369 /// Storage: `Assets::Reserves` (r:0 w:1)
370 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
371 /// The range of component `n` is `[0, 5]`.
372 fn set_reserves(n: u32, ) -> Weight {
373 // Proof Size summary in bytes:
374 // Measured: `417`
375 // Estimated: `3675`
376 // Minimum execution time: 15_591_000 picoseconds.
377 Weight::from_parts(17_119_159, 3675)
378 // Standard Error: 1_447
379 .saturating_add(Weight::from_parts(71_330, 0).saturating_mul(n.into()))
380 .saturating_add(T::DbWeight::get().reads(1_u64))
381 .saturating_add(T::DbWeight::get().writes(1_u64))
382 }
383 /// Storage: `Assets::Asset` (r:1 w:0)
384 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
385 /// Storage: `Assets::Metadata` (r:1 w:1)
386 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
387 /// The range of component `n` is `[0, 50]`.
388 /// The range of component `s` is `[0, 50]`.
389 fn set_metadata(n: u32, s: u32, ) -> Weight {
390 // Proof Size summary in bytes:
391 // Measured: `417`
392 // Estimated: `3675`
393 // Minimum execution time: 31_555_000 picoseconds.
394 Weight::from_parts(33_713_477, 3675)
395 // Standard Error: 283
396 .saturating_add(Weight::from_parts(2_159, 0).saturating_mul(n.into()))
397 // Standard Error: 283
398 .saturating_add(Weight::from_parts(838, 0).saturating_mul(s.into()))
399 .saturating_add(T::DbWeight::get().reads(2_u64))
400 .saturating_add(T::DbWeight::get().writes(1_u64))
401 }
402 /// Storage: `Assets::Asset` (r:1 w:0)
403 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
404 /// Storage: `Assets::Metadata` (r:1 w:1)
405 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
406 fn clear_metadata() -> Weight {
407 // Proof Size summary in bytes:
408 // Measured: `581`
409 // Estimated: `3675`
410 // Minimum execution time: 30_779_000 picoseconds.
411 Weight::from_parts(32_922_000, 3675)
412 .saturating_add(T::DbWeight::get().reads(2_u64))
413 .saturating_add(T::DbWeight::get().writes(1_u64))
414 }
415 /// Storage: `Assets::Asset` (r:1 w:0)
416 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
417 /// Storage: `Assets::Metadata` (r:1 w:1)
418 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
419 /// The range of component `n` is `[0, 50]`.
420 /// The range of component `s` is `[0, 50]`.
421 fn force_set_metadata(n: u32, s: u32, ) -> Weight {
422 // Proof Size summary in bytes:
423 // Measured: `256`
424 // Estimated: `3675`
425 // Minimum execution time: 13_623_000 picoseconds.
426 Weight::from_parts(14_691_069, 3675)
427 // Standard Error: 115
428 .saturating_add(Weight::from_parts(1_256, 0).saturating_mul(n.into()))
429 // Standard Error: 115
430 .saturating_add(Weight::from_parts(2_373, 0).saturating_mul(s.into()))
431 .saturating_add(T::DbWeight::get().reads(2_u64))
432 .saturating_add(T::DbWeight::get().writes(1_u64))
433 }
434 /// Storage: `Assets::Asset` (r:1 w:0)
435 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
436 /// Storage: `Assets::Metadata` (r:1 w:1)
437 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
438 fn force_clear_metadata() -> Weight {
439 // Proof Size summary in bytes:
440 // Measured: `581`
441 // Estimated: `3675`
442 // Minimum execution time: 30_460_000 picoseconds.
443 Weight::from_parts(32_525_000, 3675)
444 .saturating_add(T::DbWeight::get().reads(2_u64))
445 .saturating_add(T::DbWeight::get().writes(1_u64))
446 }
447 /// Storage: `Assets::Asset` (r:1 w:1)
448 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
449 fn force_asset_status() -> Weight {
450 // Proof Size summary in bytes:
451 // Measured: `417`
452 // Estimated: `3675`
453 // Minimum execution time: 14_456_000 picoseconds.
454 Weight::from_parts(15_609_000, 3675)
455 .saturating_add(T::DbWeight::get().reads(1_u64))
456 .saturating_add(T::DbWeight::get().writes(1_u64))
457 }
458 /// Storage: `Assets::Asset` (r:1 w:1)
459 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
460 /// Storage: `Assets::Approvals` (r:1 w:1)
461 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
462 fn approve_transfer() -> Weight {
463 // Proof Size summary in bytes:
464 // Measured: `451`
465 // Estimated: `3675`
466 // Minimum execution time: 35_294_000 picoseconds.
467 Weight::from_parts(37_610_000, 3675)
468 .saturating_add(T::DbWeight::get().reads(2_u64))
469 .saturating_add(T::DbWeight::get().writes(2_u64))
470 }
471 /// Storage: `Assets::Asset` (r:1 w:1)
472 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
473 /// Storage: `Assets::Approvals` (r:1 w:1)
474 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
475 /// Storage: `Assets::Account` (r:2 w:2)
476 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
477 /// Storage: `System::Account` (r:1 w:1)
478 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
479 fn transfer_approved() -> Weight {
480 // Proof Size summary in bytes:
481 // Measured: `734`
482 // Estimated: `6208`
483 // Minimum execution time: 68_329_000 picoseconds.
484 Weight::from_parts(72_144_000, 6208)
485 .saturating_add(T::DbWeight::get().reads(5_u64))
486 .saturating_add(T::DbWeight::get().writes(5_u64))
487 }
488 /// Storage: `Assets::Asset` (r:1 w:1)
489 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
490 /// Storage: `Assets::Approvals` (r:1 w:1)
491 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
492 fn cancel_approval() -> Weight {
493 // Proof Size summary in bytes:
494 // Measured: `621`
495 // Estimated: `3675`
496 // Minimum execution time: 36_596_000 picoseconds.
497 Weight::from_parts(39_049_000, 3675)
498 .saturating_add(T::DbWeight::get().reads(2_u64))
499 .saturating_add(T::DbWeight::get().writes(2_u64))
500 }
501 /// Storage: `Assets::Asset` (r:1 w:1)
502 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
503 /// Storage: `Assets::Approvals` (r:1 w:1)
504 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
505 fn force_cancel_approval() -> Weight {
506 // Proof Size summary in bytes:
507 // Measured: `621`
508 // Estimated: `3675`
509 // Minimum execution time: 38_223_000 picoseconds.
510 Weight::from_parts(40_854_000, 3675)
511 .saturating_add(T::DbWeight::get().reads(2_u64))
512 .saturating_add(T::DbWeight::get().writes(2_u64))
513 }
514 /// Storage: `Assets::Asset` (r:1 w:1)
515 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
516 fn set_min_balance() -> Weight {
517 // Proof Size summary in bytes:
518 // Measured: `417`
519 // Estimated: `3675`
520 // Minimum execution time: 15_515_000 picoseconds.
521 Weight::from_parts(16_751_000, 3675)
522 .saturating_add(T::DbWeight::get().reads(1_u64))
523 .saturating_add(T::DbWeight::get().writes(1_u64))
524 }
525 /// Storage: `Assets::Account` (r:1 w:1)
526 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
527 /// Storage: `Assets::Asset` (r:1 w:1)
528 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
529 /// Storage: `System::Account` (r:1 w:1)
530 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
531 fn touch() -> Weight {
532 // Proof Size summary in bytes:
533 // Measured: `518`
534 // Estimated: `3675`
535 // Minimum execution time: 36_315_000 picoseconds.
536 Weight::from_parts(38_644_000, 3675)
537 .saturating_add(T::DbWeight::get().reads(3_u64))
538 .saturating_add(T::DbWeight::get().writes(3_u64))
539 }
540 /// Storage: `Assets::Account` (r:1 w:1)
541 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
542 /// Storage: `Assets::Asset` (r:1 w:1)
543 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
544 fn touch_other() -> Weight {
545 // Proof Size summary in bytes:
546 // Measured: `417`
547 // Estimated: `3675`
548 // Minimum execution time: 33_735_000 picoseconds.
549 Weight::from_parts(36_227_000, 3675)
550 .saturating_add(T::DbWeight::get().reads(2_u64))
551 .saturating_add(T::DbWeight::get().writes(2_u64))
552 }
553 /// Storage: `Assets::Account` (r:1 w:1)
554 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
555 /// Storage: `Assets::Asset` (r:1 w:1)
556 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
557 /// Storage: `System::Account` (r:1 w:1)
558 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
559 fn refund() -> Weight {
560 // Proof Size summary in bytes:
561 // Measured: `644`
562 // Estimated: `3675`
563 // Minimum execution time: 34_749_000 picoseconds.
564 Weight::from_parts(37_037_000, 3675)
565 .saturating_add(T::DbWeight::get().reads(3_u64))
566 .saturating_add(T::DbWeight::get().writes(3_u64))
567 }
568 /// Storage: `Assets::Account` (r:1 w:1)
569 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
570 /// Storage: `Assets::Asset` (r:1 w:1)
571 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
572 fn refund_other() -> Weight {
573 // Proof Size summary in bytes:
574 // Measured: `576`
575 // Estimated: `3675`
576 // Minimum execution time: 32_884_000 picoseconds.
577 Weight::from_parts(35_157_000, 3675)
578 .saturating_add(T::DbWeight::get().reads(2_u64))
579 .saturating_add(T::DbWeight::get().writes(2_u64))
580 }
581 /// Storage: `Assets::Asset` (r:1 w:0)
582 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
583 /// Storage: `Assets::Account` (r:1 w:1)
584 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
585 fn block() -> Weight {
586 // Proof Size summary in bytes:
587 // Measured: `525`
588 // Estimated: `3675`
589 // Minimum execution time: 19_509_000 picoseconds.
590 Weight::from_parts(21_116_000, 3675)
591 .saturating_add(T::DbWeight::get().reads(2_u64))
592 .saturating_add(T::DbWeight::get().writes(1_u64))
593 }
594 /// Storage: `Assets::Asset` (r:1 w:1)
595 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
596 /// Storage: `Assets::Account` (r:2 w:2)
597 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
598 /// Storage: `System::Account` (r:1 w:1)
599 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
600 fn transfer_all() -> Weight {
601 // Proof Size summary in bytes:
602 // Measured: `564`
603 // Estimated: `6208`
604 // Minimum execution time: 55_813_000 picoseconds.
605 Weight::from_parts(59_445_000, 6208)
606 .saturating_add(T::DbWeight::get().reads(4_u64))
607 .saturating_add(T::DbWeight::get().writes(4_u64))
608 }
609 /// Storage: `Assets::Asset` (r:1 w:0)
610 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
611 fn total_issuance() -> Weight {
612 // Proof Size summary in bytes:
613 // Measured: `451`
614 // Estimated: `3675`
615 // Minimum execution time: 8_615_000 picoseconds.
616 Weight::from_parts(9_575_000, 3675)
617 .saturating_add(T::DbWeight::get().reads(1_u64))
618 }
619 /// Storage: `Assets::Account` (r:1 w:0)
620 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
621 fn balance() -> Weight {
622 // Proof Size summary in bytes:
623 // Measured: `288`
624 // Estimated: `3599`
625 // Minimum execution time: 9_010_000 picoseconds.
626 Weight::from_parts(9_912_000, 3599)
627 .saturating_add(T::DbWeight::get().reads(1_u64))
628 }
629 /// Storage: `Assets::Approvals` (r:1 w:0)
630 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
631 fn allowance() -> Weight {
632 // Proof Size summary in bytes:
633 // Measured: `383`
634 // Estimated: `3613`
635 // Minimum execution time: 12_135_000 picoseconds.
636 Weight::from_parts(13_092_000, 3613)
637 .saturating_add(T::DbWeight::get().reads(1_u64))
638 }
639 /// Storage: `Assets::Asset` (r:1 w:0)
640 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
641 /// Storage: `Assets::Reserves` (r:0 w:1)
642 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
643 fn migration_v2_foreign_asset_set_reserve_weight() -> Weight {
644 // Proof Size summary in bytes:
645 // Measured: `256`
646 // Estimated: `3675`
647 // Minimum execution time: 8_054_000 picoseconds.
648 Weight::from_parts(8_805_000, 3675)
649 .saturating_add(T::DbWeight::get().reads(1_u64))
650 .saturating_add(T::DbWeight::get().writes(1_u64))
651 }
652 /// Storage: `Assets::Metadata` (r:1 w:0)
653 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
654 fn get_metadata() -> Weight {
655 // Proof Size summary in bytes:
656 // Measured: `344`
657 // Estimated: `3605`
658 // Minimum execution time: 8_363_000 picoseconds.
659 Weight::from_parts(9_120_000, 3605)
660 .saturating_add(T::DbWeight::get().reads(1_u64))
661 }
662}
663
664// For backwards compatibility and tests.
665impl WeightInfo for () {
666 /// Storage: `Assets::Asset` (r:1 w:1)
667 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
668 /// Storage: `System::Account` (r:1 w:1)
669 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
670 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
671 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
672 /// Storage: `AssetsPrecompiles::NextAssetIndex` (r:1 w:1)
673 /// Proof: `AssetsPrecompiles::NextAssetIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
674 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
675 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
676 fn create() -> Weight {
677 // Proof Size summary in bytes:
678 // Measured: `491`
679 // Estimated: `3675`
680 // Minimum execution time: 38_021_000 picoseconds.
681 Weight::from_parts(40_739_000, 3675)
682 .saturating_add(RocksDbWeight::get().reads(4_u64))
683 .saturating_add(RocksDbWeight::get().writes(5_u64))
684 }
685 /// Storage: `Assets::Asset` (r:1 w:1)
686 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
687 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
688 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
689 /// Storage: `AssetsPrecompiles::NextAssetIndex` (r:1 w:1)
690 /// Proof: `AssetsPrecompiles::NextAssetIndex` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
691 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
692 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
693 fn force_create() -> Weight {
694 // Proof Size summary in bytes:
695 // Measured: `351`
696 // Estimated: `3675`
697 // Minimum execution time: 21_724_000 picoseconds.
698 Weight::from_parts(23_303_000, 3675)
699 .saturating_add(RocksDbWeight::get().reads(3_u64))
700 .saturating_add(RocksDbWeight::get().writes(4_u64))
701 }
702 /// Storage: `Assets::Asset` (r:1 w:1)
703 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
704 fn start_destroy() -> Weight {
705 // Proof Size summary in bytes:
706 // Measured: `451`
707 // Estimated: `3675`
708 // Minimum execution time: 14_832_000 picoseconds.
709 Weight::from_parts(16_090_000, 3675)
710 .saturating_add(RocksDbWeight::get().reads(1_u64))
711 .saturating_add(RocksDbWeight::get().writes(1_u64))
712 }
713 /// Storage: `Assets::Asset` (r:1 w:1)
714 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
715 /// Storage: `Assets::Account` (r:1001 w:1000)
716 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
717 /// Storage: `System::Account` (r:1000 w:1000)
718 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
719 /// The range of component `c` is `[0, 1000]`.
720 fn destroy_accounts(c: u32, ) -> Weight {
721 // Proof Size summary in bytes:
722 // Measured: `222 + c * (208 ±0)`
723 // Estimated: `3675 + c * (2609 ±0)`
724 // Minimum execution time: 19_693_000 picoseconds.
725 Weight::from_parts(20_139_000, 3675)
726 // Standard Error: 28_301
727 .saturating_add(Weight::from_parts(15_975_021, 0).saturating_mul(c.into()))
728 .saturating_add(RocksDbWeight::get().reads(2_u64))
729 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
730 .saturating_add(RocksDbWeight::get().writes(1_u64))
731 .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into())))
732 .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into()))
733 }
734 /// Storage: `Assets::Asset` (r:1 w:1)
735 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
736 /// Storage: `Assets::Approvals` (r:1001 w:1000)
737 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
738 /// The range of component `a` is `[0, 1000]`.
739 fn destroy_approvals(a: u32, ) -> Weight {
740 // Proof Size summary in bytes:
741 // Measured: `588 + a * (86 ±0)`
742 // Estimated: `3675 + a * (2623 ±0)`
743 // Minimum execution time: 20_550_000 picoseconds.
744 Weight::from_parts(21_183_000, 3675)
745 // Standard Error: 16_308
746 .saturating_add(Weight::from_parts(17_324_936, 0).saturating_mul(a.into()))
747 .saturating_add(RocksDbWeight::get().reads(2_u64))
748 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
749 .saturating_add(RocksDbWeight::get().writes(1_u64))
750 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into())))
751 .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into()))
752 }
753 /// Storage: `Assets::Asset` (r:1 w:1)
754 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
755 /// Storage: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (r:1 w:1)
756 /// Proof: `AssetsPrecompiles::ForeignAssetIdToAssetIndex` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
757 /// Storage: `Assets::Metadata` (r:1 w:0)
758 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
759 /// Storage: `Assets::Reserves` (r:0 w:1)
760 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
761 /// Storage: `AssetsPrecompiles::AssetIndexToForeignAssetId` (r:0 w:1)
762 /// Proof: `AssetsPrecompiles::AssetIndexToForeignAssetId` (`max_values`: None, `max_size`: Some(8), added: 2483, mode: `MaxEncodedLen`)
763 fn finish_destroy() -> Weight {
764 // Proof Size summary in bytes:
765 // Measured: `629`
766 // Estimated: `3675`
767 // Minimum execution time: 25_636_000 picoseconds.
768 Weight::from_parts(27_414_000, 3675)
769 .saturating_add(RocksDbWeight::get().reads(3_u64))
770 .saturating_add(RocksDbWeight::get().writes(4_u64))
771 }
772 /// Storage: `Assets::Asset` (r:1 w:1)
773 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
774 /// Storage: `Assets::Account` (r:1 w:1)
775 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
776 fn mint() -> Weight {
777 // Proof Size summary in bytes:
778 // Measured: `417`
779 // Estimated: `3675`
780 // Minimum execution time: 25_838_000 picoseconds.
781 Weight::from_parts(27_519_000, 3675)
782 .saturating_add(RocksDbWeight::get().reads(2_u64))
783 .saturating_add(RocksDbWeight::get().writes(2_u64))
784 }
785 /// Storage: `Assets::Asset` (r:1 w:1)
786 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
787 /// Storage: `Assets::Account` (r:1 w:1)
788 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
789 fn burn() -> Weight {
790 // Proof Size summary in bytes:
791 // Measured: `525`
792 // Estimated: `3675`
793 // Minimum execution time: 33_848_000 picoseconds.
794 Weight::from_parts(35_994_000, 3675)
795 .saturating_add(RocksDbWeight::get().reads(2_u64))
796 .saturating_add(RocksDbWeight::get().writes(2_u64))
797 }
798 /// Storage: `Assets::Asset` (r:1 w:1)
799 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
800 /// Storage: `Assets::Account` (r:2 w:2)
801 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
802 /// Storage: `System::Account` (r:1 w:1)
803 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
804 fn transfer() -> Weight {
805 // Proof Size summary in bytes:
806 // Measured: `564`
807 // Estimated: `6208`
808 // Minimum execution time: 46_487_000 picoseconds.
809 Weight::from_parts(49_220_000, 6208)
810 .saturating_add(RocksDbWeight::get().reads(4_u64))
811 .saturating_add(RocksDbWeight::get().writes(4_u64))
812 }
813 /// Storage: `Assets::Asset` (r:1 w:1)
814 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
815 /// Storage: `Assets::Account` (r:2 w:2)
816 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
817 /// Storage: `System::Account` (r:1 w:1)
818 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
819 fn transfer_keep_alive() -> Weight {
820 // Proof Size summary in bytes:
821 // Measured: `564`
822 // Estimated: `6208`
823 // Minimum execution time: 42_214_000 picoseconds.
824 Weight::from_parts(44_817_000, 6208)
825 .saturating_add(RocksDbWeight::get().reads(4_u64))
826 .saturating_add(RocksDbWeight::get().writes(4_u64))
827 }
828 /// Storage: `Assets::Asset` (r:1 w:1)
829 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
830 /// Storage: `Assets::Account` (r:2 w:2)
831 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
832 /// Storage: `System::Account` (r:1 w:1)
833 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
834 fn force_transfer() -> Weight {
835 // Proof Size summary in bytes:
836 // Measured: `564`
837 // Estimated: `6208`
838 // Minimum execution time: 46_798_000 picoseconds.
839 Weight::from_parts(49_400_000, 6208)
840 .saturating_add(RocksDbWeight::get().reads(4_u64))
841 .saturating_add(RocksDbWeight::get().writes(4_u64))
842 }
843 /// Storage: `Assets::Asset` (r:1 w:0)
844 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
845 /// Storage: `Assets::Account` (r:1 w:1)
846 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
847 fn freeze() -> Weight {
848 // Proof Size summary in bytes:
849 // Measured: `525`
850 // Estimated: `3675`
851 // Minimum execution time: 19_702_000 picoseconds.
852 Weight::from_parts(21_215_000, 3675)
853 .saturating_add(RocksDbWeight::get().reads(2_u64))
854 .saturating_add(RocksDbWeight::get().writes(1_u64))
855 }
856 /// Storage: `Assets::Asset` (r:1 w:0)
857 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
858 /// Storage: `Assets::Account` (r:1 w:1)
859 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
860 fn thaw() -> Weight {
861 // Proof Size summary in bytes:
862 // Measured: `525`
863 // Estimated: `3675`
864 // Minimum execution time: 19_353_000 picoseconds.
865 Weight::from_parts(21_060_000, 3675)
866 .saturating_add(RocksDbWeight::get().reads(2_u64))
867 .saturating_add(RocksDbWeight::get().writes(1_u64))
868 }
869 /// Storage: `Assets::Asset` (r:1 w:1)
870 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
871 fn freeze_asset() -> Weight {
872 // Proof Size summary in bytes:
873 // Measured: `451`
874 // Estimated: `3675`
875 // Minimum execution time: 14_957_000 picoseconds.
876 Weight::from_parts(16_232_000, 3675)
877 .saturating_add(RocksDbWeight::get().reads(1_u64))
878 .saturating_add(RocksDbWeight::get().writes(1_u64))
879 }
880 /// Storage: `Assets::Asset` (r:1 w:1)
881 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
882 fn thaw_asset() -> Weight {
883 // Proof Size summary in bytes:
884 // Measured: `451`
885 // Estimated: `3675`
886 // Minimum execution time: 14_878_000 picoseconds.
887 Weight::from_parts(16_173_000, 3675)
888 .saturating_add(RocksDbWeight::get().reads(1_u64))
889 .saturating_add(RocksDbWeight::get().writes(1_u64))
890 }
891 /// Storage: `Assets::Asset` (r:1 w:1)
892 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
893 /// Storage: `Assets::Metadata` (r:1 w:0)
894 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
895 fn transfer_ownership() -> Weight {
896 // Proof Size summary in bytes:
897 // Measured: `417`
898 // Estimated: `3675`
899 // Minimum execution time: 16_493_000 picoseconds.
900 Weight::from_parts(17_727_000, 3675)
901 .saturating_add(RocksDbWeight::get().reads(2_u64))
902 .saturating_add(RocksDbWeight::get().writes(1_u64))
903 }
904 /// Storage: `Assets::Asset` (r:1 w:1)
905 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
906 fn set_team() -> Weight {
907 // Proof Size summary in bytes:
908 // Measured: `417`
909 // Estimated: `3675`
910 // Minimum execution time: 14_621_000 picoseconds.
911 Weight::from_parts(15_938_000, 3675)
912 .saturating_add(RocksDbWeight::get().reads(1_u64))
913 .saturating_add(RocksDbWeight::get().writes(1_u64))
914 }
915 /// Storage: `Assets::Asset` (r:1 w:0)
916 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
917 /// Storage: `Assets::Reserves` (r:0 w:1)
918 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
919 /// The range of component `n` is `[0, 5]`.
920 fn set_reserves(n: u32, ) -> Weight {
921 // Proof Size summary in bytes:
922 // Measured: `417`
923 // Estimated: `3675`
924 // Minimum execution time: 15_591_000 picoseconds.
925 Weight::from_parts(17_119_159, 3675)
926 // Standard Error: 1_447
927 .saturating_add(Weight::from_parts(71_330, 0).saturating_mul(n.into()))
928 .saturating_add(RocksDbWeight::get().reads(1_u64))
929 .saturating_add(RocksDbWeight::get().writes(1_u64))
930 }
931 /// Storage: `Assets::Asset` (r:1 w:0)
932 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
933 /// Storage: `Assets::Metadata` (r:1 w:1)
934 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
935 /// The range of component `n` is `[0, 50]`.
936 /// The range of component `s` is `[0, 50]`.
937 fn set_metadata(n: u32, s: u32, ) -> Weight {
938 // Proof Size summary in bytes:
939 // Measured: `417`
940 // Estimated: `3675`
941 // Minimum execution time: 31_555_000 picoseconds.
942 Weight::from_parts(33_713_477, 3675)
943 // Standard Error: 283
944 .saturating_add(Weight::from_parts(2_159, 0).saturating_mul(n.into()))
945 // Standard Error: 283
946 .saturating_add(Weight::from_parts(838, 0).saturating_mul(s.into()))
947 .saturating_add(RocksDbWeight::get().reads(2_u64))
948 .saturating_add(RocksDbWeight::get().writes(1_u64))
949 }
950 /// Storage: `Assets::Asset` (r:1 w:0)
951 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
952 /// Storage: `Assets::Metadata` (r:1 w:1)
953 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
954 fn clear_metadata() -> Weight {
955 // Proof Size summary in bytes:
956 // Measured: `581`
957 // Estimated: `3675`
958 // Minimum execution time: 30_779_000 picoseconds.
959 Weight::from_parts(32_922_000, 3675)
960 .saturating_add(RocksDbWeight::get().reads(2_u64))
961 .saturating_add(RocksDbWeight::get().writes(1_u64))
962 }
963 /// Storage: `Assets::Asset` (r:1 w:0)
964 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
965 /// Storage: `Assets::Metadata` (r:1 w:1)
966 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
967 /// The range of component `n` is `[0, 50]`.
968 /// The range of component `s` is `[0, 50]`.
969 fn force_set_metadata(n: u32, s: u32, ) -> Weight {
970 // Proof Size summary in bytes:
971 // Measured: `256`
972 // Estimated: `3675`
973 // Minimum execution time: 13_623_000 picoseconds.
974 Weight::from_parts(14_691_069, 3675)
975 // Standard Error: 115
976 .saturating_add(Weight::from_parts(1_256, 0).saturating_mul(n.into()))
977 // Standard Error: 115
978 .saturating_add(Weight::from_parts(2_373, 0).saturating_mul(s.into()))
979 .saturating_add(RocksDbWeight::get().reads(2_u64))
980 .saturating_add(RocksDbWeight::get().writes(1_u64))
981 }
982 /// Storage: `Assets::Asset` (r:1 w:0)
983 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
984 /// Storage: `Assets::Metadata` (r:1 w:1)
985 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
986 fn force_clear_metadata() -> Weight {
987 // Proof Size summary in bytes:
988 // Measured: `581`
989 // Estimated: `3675`
990 // Minimum execution time: 30_460_000 picoseconds.
991 Weight::from_parts(32_525_000, 3675)
992 .saturating_add(RocksDbWeight::get().reads(2_u64))
993 .saturating_add(RocksDbWeight::get().writes(1_u64))
994 }
995 /// Storage: `Assets::Asset` (r:1 w:1)
996 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
997 fn force_asset_status() -> Weight {
998 // Proof Size summary in bytes:
999 // Measured: `417`
1000 // Estimated: `3675`
1001 // Minimum execution time: 14_456_000 picoseconds.
1002 Weight::from_parts(15_609_000, 3675)
1003 .saturating_add(RocksDbWeight::get().reads(1_u64))
1004 .saturating_add(RocksDbWeight::get().writes(1_u64))
1005 }
1006 /// Storage: `Assets::Asset` (r:1 w:1)
1007 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1008 /// Storage: `Assets::Approvals` (r:1 w:1)
1009 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
1010 fn approve_transfer() -> Weight {
1011 // Proof Size summary in bytes:
1012 // Measured: `451`
1013 // Estimated: `3675`
1014 // Minimum execution time: 35_294_000 picoseconds.
1015 Weight::from_parts(37_610_000, 3675)
1016 .saturating_add(RocksDbWeight::get().reads(2_u64))
1017 .saturating_add(RocksDbWeight::get().writes(2_u64))
1018 }
1019 /// Storage: `Assets::Asset` (r:1 w:1)
1020 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1021 /// Storage: `Assets::Approvals` (r:1 w:1)
1022 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
1023 /// Storage: `Assets::Account` (r:2 w:2)
1024 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1025 /// Storage: `System::Account` (r:1 w:1)
1026 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1027 fn transfer_approved() -> Weight {
1028 // Proof Size summary in bytes:
1029 // Measured: `734`
1030 // Estimated: `6208`
1031 // Minimum execution time: 68_329_000 picoseconds.
1032 Weight::from_parts(72_144_000, 6208)
1033 .saturating_add(RocksDbWeight::get().reads(5_u64))
1034 .saturating_add(RocksDbWeight::get().writes(5_u64))
1035 }
1036 /// Storage: `Assets::Asset` (r:1 w:1)
1037 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1038 /// Storage: `Assets::Approvals` (r:1 w:1)
1039 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
1040 fn cancel_approval() -> Weight {
1041 // Proof Size summary in bytes:
1042 // Measured: `621`
1043 // Estimated: `3675`
1044 // Minimum execution time: 36_596_000 picoseconds.
1045 Weight::from_parts(39_049_000, 3675)
1046 .saturating_add(RocksDbWeight::get().reads(2_u64))
1047 .saturating_add(RocksDbWeight::get().writes(2_u64))
1048 }
1049 /// Storage: `Assets::Asset` (r:1 w:1)
1050 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1051 /// Storage: `Assets::Approvals` (r:1 w:1)
1052 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
1053 fn force_cancel_approval() -> Weight {
1054 // Proof Size summary in bytes:
1055 // Measured: `621`
1056 // Estimated: `3675`
1057 // Minimum execution time: 38_223_000 picoseconds.
1058 Weight::from_parts(40_854_000, 3675)
1059 .saturating_add(RocksDbWeight::get().reads(2_u64))
1060 .saturating_add(RocksDbWeight::get().writes(2_u64))
1061 }
1062 /// Storage: `Assets::Asset` (r:1 w:1)
1063 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1064 fn set_min_balance() -> Weight {
1065 // Proof Size summary in bytes:
1066 // Measured: `417`
1067 // Estimated: `3675`
1068 // Minimum execution time: 15_515_000 picoseconds.
1069 Weight::from_parts(16_751_000, 3675)
1070 .saturating_add(RocksDbWeight::get().reads(1_u64))
1071 .saturating_add(RocksDbWeight::get().writes(1_u64))
1072 }
1073 /// Storage: `Assets::Account` (r:1 w:1)
1074 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1075 /// Storage: `Assets::Asset` (r:1 w:1)
1076 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1077 /// Storage: `System::Account` (r:1 w:1)
1078 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1079 fn touch() -> Weight {
1080 // Proof Size summary in bytes:
1081 // Measured: `518`
1082 // Estimated: `3675`
1083 // Minimum execution time: 36_315_000 picoseconds.
1084 Weight::from_parts(38_644_000, 3675)
1085 .saturating_add(RocksDbWeight::get().reads(3_u64))
1086 .saturating_add(RocksDbWeight::get().writes(3_u64))
1087 }
1088 /// Storage: `Assets::Account` (r:1 w:1)
1089 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1090 /// Storage: `Assets::Asset` (r:1 w:1)
1091 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1092 fn touch_other() -> Weight {
1093 // Proof Size summary in bytes:
1094 // Measured: `417`
1095 // Estimated: `3675`
1096 // Minimum execution time: 33_735_000 picoseconds.
1097 Weight::from_parts(36_227_000, 3675)
1098 .saturating_add(RocksDbWeight::get().reads(2_u64))
1099 .saturating_add(RocksDbWeight::get().writes(2_u64))
1100 }
1101 /// Storage: `Assets::Account` (r:1 w:1)
1102 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1103 /// Storage: `Assets::Asset` (r:1 w:1)
1104 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1105 /// Storage: `System::Account` (r:1 w:1)
1106 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1107 fn refund() -> Weight {
1108 // Proof Size summary in bytes:
1109 // Measured: `644`
1110 // Estimated: `3675`
1111 // Minimum execution time: 34_749_000 picoseconds.
1112 Weight::from_parts(37_037_000, 3675)
1113 .saturating_add(RocksDbWeight::get().reads(3_u64))
1114 .saturating_add(RocksDbWeight::get().writes(3_u64))
1115 }
1116 /// Storage: `Assets::Account` (r:1 w:1)
1117 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1118 /// Storage: `Assets::Asset` (r:1 w:1)
1119 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1120 fn refund_other() -> Weight {
1121 // Proof Size summary in bytes:
1122 // Measured: `576`
1123 // Estimated: `3675`
1124 // Minimum execution time: 32_884_000 picoseconds.
1125 Weight::from_parts(35_157_000, 3675)
1126 .saturating_add(RocksDbWeight::get().reads(2_u64))
1127 .saturating_add(RocksDbWeight::get().writes(2_u64))
1128 }
1129 /// Storage: `Assets::Asset` (r:1 w:0)
1130 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1131 /// Storage: `Assets::Account` (r:1 w:1)
1132 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1133 fn block() -> Weight {
1134 // Proof Size summary in bytes:
1135 // Measured: `525`
1136 // Estimated: `3675`
1137 // Minimum execution time: 19_509_000 picoseconds.
1138 Weight::from_parts(21_116_000, 3675)
1139 .saturating_add(RocksDbWeight::get().reads(2_u64))
1140 .saturating_add(RocksDbWeight::get().writes(1_u64))
1141 }
1142 /// Storage: `Assets::Asset` (r:1 w:1)
1143 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1144 /// Storage: `Assets::Account` (r:2 w:2)
1145 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1146 /// Storage: `System::Account` (r:1 w:1)
1147 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1148 fn transfer_all() -> Weight {
1149 // Proof Size summary in bytes:
1150 // Measured: `564`
1151 // Estimated: `6208`
1152 // Minimum execution time: 55_813_000 picoseconds.
1153 Weight::from_parts(59_445_000, 6208)
1154 .saturating_add(RocksDbWeight::get().reads(4_u64))
1155 .saturating_add(RocksDbWeight::get().writes(4_u64))
1156 }
1157 /// Storage: `Assets::Asset` (r:1 w:0)
1158 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1159 fn total_issuance() -> Weight {
1160 // Proof Size summary in bytes:
1161 // Measured: `451`
1162 // Estimated: `3675`
1163 // Minimum execution time: 8_615_000 picoseconds.
1164 Weight::from_parts(9_575_000, 3675)
1165 .saturating_add(RocksDbWeight::get().reads(1_u64))
1166 }
1167 /// Storage: `Assets::Account` (r:1 w:0)
1168 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
1169 fn balance() -> Weight {
1170 // Proof Size summary in bytes:
1171 // Measured: `288`
1172 // Estimated: `3599`
1173 // Minimum execution time: 9_010_000 picoseconds.
1174 Weight::from_parts(9_912_000, 3599)
1175 .saturating_add(RocksDbWeight::get().reads(1_u64))
1176 }
1177 /// Storage: `Assets::Approvals` (r:1 w:0)
1178 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
1179 fn allowance() -> Weight {
1180 // Proof Size summary in bytes:
1181 // Measured: `383`
1182 // Estimated: `3613`
1183 // Minimum execution time: 12_135_000 picoseconds.
1184 Weight::from_parts(13_092_000, 3613)
1185 .saturating_add(RocksDbWeight::get().reads(1_u64))
1186 }
1187 /// Storage: `Assets::Asset` (r:1 w:0)
1188 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
1189 /// Storage: `Assets::Reserves` (r:0 w:1)
1190 /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`)
1191 fn migration_v2_foreign_asset_set_reserve_weight() -> Weight {
1192 // Proof Size summary in bytes:
1193 // Measured: `256`
1194 // Estimated: `3675`
1195 // Minimum execution time: 8_054_000 picoseconds.
1196 Weight::from_parts(8_805_000, 3675)
1197 .saturating_add(RocksDbWeight::get().reads(1_u64))
1198 .saturating_add(RocksDbWeight::get().writes(1_u64))
1199 }
1200 /// Storage: `Assets::Metadata` (r:1 w:0)
1201 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
1202 fn get_metadata() -> Weight {
1203 // Proof Size summary in bytes:
1204 // Measured: `344`
1205 // Estimated: `3605`
1206 // Minimum execution time: 8_363_000 picoseconds.
1207 Weight::from_parts(9_120_000, 3605)
1208 .saturating_add(RocksDbWeight::get().reads(1_u64))
1209 }
1210}