asset_hub_westend_runtime/weights/pallet_assets_local.rs
1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `pallet_assets`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-05-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `c47a012f15ca`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/asset-hub-westend-runtime/asset_hub_westend_runtime.wasm
31// --pallet=pallet_assets
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_assets`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
53 /// Storage: `Assets::Asset` (r:1 w:1)
54 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
55 /// Storage: `Assets::NextAssetId` (r:1 w:0)
56 /// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
57 /// Storage: `System::Account` (r:1 w:1)
58 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
59 fn create() -> Weight {
60 // Proof Size summary in bytes:
61 // Measured: `179`
62 // Estimated: `3675`
63 // Minimum execution time: 27_345_000 picoseconds.
64 Weight::from_parts(28_052_000, 0)
65 .saturating_add(Weight::from_parts(0, 3675))
66 .saturating_add(T::DbWeight::get().reads(3))
67 .saturating_add(T::DbWeight::get().writes(2))
68 }
69 /// Storage: `Assets::Asset` (r:1 w:1)
70 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
71 /// Storage: `Assets::NextAssetId` (r:1 w:0)
72 /// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
73 fn force_create() -> Weight {
74 // Proof Size summary in bytes:
75 // Measured: `76`
76 // Estimated: `3675`
77 // Minimum execution time: 11_316_000 picoseconds.
78 Weight::from_parts(11_738_000, 0)
79 .saturating_add(Weight::from_parts(0, 3675))
80 .saturating_add(T::DbWeight::get().reads(2))
81 .saturating_add(T::DbWeight::get().writes(1))
82 }
83 /// Storage: `Assets::Asset` (r:1 w:1)
84 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
85 /// Storage: `AssetsFreezer::Freezes` (r:1 w:0)
86 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
87 fn start_destroy() -> Weight {
88 // Proof Size summary in bytes:
89 // Measured: `358`
90 // Estimated: `3675`
91 // Minimum execution time: 16_120_000 picoseconds.
92 Weight::from_parts(16_917_000, 0)
93 .saturating_add(Weight::from_parts(0, 3675))
94 .saturating_add(T::DbWeight::get().reads(2))
95 .saturating_add(T::DbWeight::get().writes(1))
96 }
97 /// Storage: `Assets::Asset` (r:1 w:1)
98 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
99 /// Storage: `Assets::Account` (r:1001 w:1000)
100 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
101 /// Storage: `AssetsFreezer::FrozenBalances` (r:1000 w:1000)
102 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
103 /// Storage: `System::Account` (r:1000 w:1000)
104 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
105 /// Storage: `AssetsFreezer::Freezes` (r:1000 w:1000)
106 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
107 /// The range of component `c` is `[0, 1000]`.
108 /// The range of component `c` is `[0, 1000]`.
109 /// The range of component `c` is `[0, 1000]`.
110 fn destroy_accounts(c: u32, ) -> Weight {
111 // Proof Size summary in bytes:
112 // Measured: `0 + c * (208 ±0)`
113 // Estimated: `3675 + c * (2609 ±0)`
114 // Minimum execution time: 15_510_000 picoseconds.
115 Weight::from_parts(16_008_000, 0)
116 .saturating_add(Weight::from_parts(0, 3675))
117 // Standard Error: 44_611
118 .saturating_add(Weight::from_parts(27_430_638, 0).saturating_mul(c.into()))
119 .saturating_add(T::DbWeight::get().reads(2))
120 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into())))
121 .saturating_add(T::DbWeight::get().writes(1))
122 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(c.into())))
123 .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into()))
124 }
125 /// Storage: `Assets::Asset` (r:1 w:1)
126 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
127 /// Storage: `Assets::Approvals` (r:1001 w:1000)
128 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
129 /// The range of component `a` is `[0, 1000]`.
130 /// The range of component `a` is `[0, 1000]`.
131 /// The range of component `a` is `[0, 1000]`.
132 fn destroy_approvals(a: u32, ) -> Weight {
133 // Proof Size summary in bytes:
134 // Measured: `485 + a * (86 ±0)`
135 // Estimated: `3675 + a * (2623 ±0)`
136 // Minimum execution time: 16_281_000 picoseconds.
137 Weight::from_parts(16_941_000, 0)
138 .saturating_add(Weight::from_parts(0, 3675))
139 // Standard Error: 12_278
140 .saturating_add(Weight::from_parts(16_641_458, 0).saturating_mul(a.into()))
141 .saturating_add(T::DbWeight::get().reads(2))
142 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
143 .saturating_add(T::DbWeight::get().writes(1))
144 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
145 .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into()))
146 }
147 /// Storage: `Assets::Asset` (r:1 w:1)
148 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
149 /// Storage: `Assets::Metadata` (r:1 w:0)
150 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
151 fn finish_destroy() -> Weight {
152 // Proof Size summary in bytes:
153 // Measured: `314`
154 // Estimated: `3675`
155 // Minimum execution time: 13_250_000 picoseconds.
156 Weight::from_parts(13_714_000, 0)
157 .saturating_add(Weight::from_parts(0, 3675))
158 .saturating_add(T::DbWeight::get().reads(2))
159 .saturating_add(T::DbWeight::get().writes(1))
160 }
161 /// Storage: `Assets::Asset` (r:1 w:1)
162 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
163 /// Storage: `Assets::Account` (r:1 w:1)
164 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
165 fn mint() -> Weight {
166 // Proof Size summary in bytes:
167 // Measured: `314`
168 // Estimated: `3675`
169 // Minimum execution time: 23_015_000 picoseconds.
170 Weight::from_parts(23_984_000, 0)
171 .saturating_add(Weight::from_parts(0, 3675))
172 .saturating_add(T::DbWeight::get().reads(2))
173 .saturating_add(T::DbWeight::get().writes(2))
174 }
175 /// Storage: `Assets::Asset` (r:1 w:1)
176 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
177 /// Storage: `Assets::Account` (r:1 w:1)
178 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
179 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
180 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
181 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
182 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
183 fn burn() -> Weight {
184 // Proof Size summary in bytes:
185 // Measured: `426`
186 // Estimated: `3675`
187 // Minimum execution time: 46_060_000 picoseconds.
188 Weight::from_parts(47_290_000, 0)
189 .saturating_add(Weight::from_parts(0, 3675))
190 .saturating_add(T::DbWeight::get().reads(4))
191 .saturating_add(T::DbWeight::get().writes(4))
192 }
193 /// Storage: `Assets::Asset` (r:1 w:1)
194 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
195 /// Storage: `Assets::Account` (r:2 w:2)
196 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
197 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
198 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
199 /// Storage: `System::Account` (r:1 w:1)
200 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
201 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
202 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
203 fn transfer() -> Weight {
204 // Proof Size summary in bytes:
205 // Measured: `426`
206 // Estimated: `6208`
207 // Minimum execution time: 58_298_000 picoseconds.
208 Weight::from_parts(59_602_000, 0)
209 .saturating_add(Weight::from_parts(0, 6208))
210 .saturating_add(T::DbWeight::get().reads(6))
211 .saturating_add(T::DbWeight::get().writes(6))
212 }
213 /// Storage: `Assets::Asset` (r:1 w:1)
214 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
215 /// Storage: `Assets::Account` (r:2 w:2)
216 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
217 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:0)
218 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
219 /// Storage: `System::Account` (r:1 w:1)
220 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
221 fn transfer_keep_alive() -> Weight {
222 // Proof Size summary in bytes:
223 // Measured: `426`
224 // Estimated: `6208`
225 // Minimum execution time: 44_043_000 picoseconds.
226 Weight::from_parts(45_167_000, 0)
227 .saturating_add(Weight::from_parts(0, 6208))
228 .saturating_add(T::DbWeight::get().reads(5))
229 .saturating_add(T::DbWeight::get().writes(4))
230 }
231 /// Storage: `Assets::Asset` (r:1 w:1)
232 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
233 /// Storage: `Assets::Account` (r:2 w:2)
234 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
235 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
236 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
237 /// Storage: `System::Account` (r:1 w:1)
238 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
239 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
240 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
241 fn force_transfer() -> Weight {
242 // Proof Size summary in bytes:
243 // Measured: `426`
244 // Estimated: `6208`
245 // Minimum execution time: 58_292_000 picoseconds.
246 Weight::from_parts(59_096_000, 0)
247 .saturating_add(Weight::from_parts(0, 6208))
248 .saturating_add(T::DbWeight::get().reads(6))
249 .saturating_add(T::DbWeight::get().writes(6))
250 }
251 /// Storage: `Assets::Asset` (r:1 w:0)
252 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
253 /// Storage: `Assets::Account` (r:1 w:1)
254 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
255 fn freeze() -> Weight {
256 // Proof Size summary in bytes:
257 // Measured: `422`
258 // Estimated: `3675`
259 // Minimum execution time: 16_308_000 picoseconds.
260 Weight::from_parts(16_850_000, 0)
261 .saturating_add(Weight::from_parts(0, 3675))
262 .saturating_add(T::DbWeight::get().reads(2))
263 .saturating_add(T::DbWeight::get().writes(1))
264 }
265 /// Storage: `Assets::Asset` (r:1 w:0)
266 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
267 /// Storage: `Assets::Account` (r:1 w:1)
268 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
269 fn thaw() -> Weight {
270 // Proof Size summary in bytes:
271 // Measured: `422`
272 // Estimated: `3675`
273 // Minimum execution time: 16_168_000 picoseconds.
274 Weight::from_parts(17_087_000, 0)
275 .saturating_add(Weight::from_parts(0, 3675))
276 .saturating_add(T::DbWeight::get().reads(2))
277 .saturating_add(T::DbWeight::get().writes(1))
278 }
279 /// Storage: `Assets::Asset` (r:1 w:1)
280 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
281 fn freeze_asset() -> Weight {
282 // Proof Size summary in bytes:
283 // Measured: `348`
284 // Estimated: `3675`
285 // Minimum execution time: 11_649_000 picoseconds.
286 Weight::from_parts(12_205_000, 0)
287 .saturating_add(Weight::from_parts(0, 3675))
288 .saturating_add(T::DbWeight::get().reads(1))
289 .saturating_add(T::DbWeight::get().writes(1))
290 }
291 /// Storage: `Assets::Asset` (r:1 w:1)
292 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
293 fn thaw_asset() -> Weight {
294 // Proof Size summary in bytes:
295 // Measured: `348`
296 // Estimated: `3675`
297 // Minimum execution time: 11_581_000 picoseconds.
298 Weight::from_parts(12_144_000, 0)
299 .saturating_add(Weight::from_parts(0, 3675))
300 .saturating_add(T::DbWeight::get().reads(1))
301 .saturating_add(T::DbWeight::get().writes(1))
302 }
303 /// Storage: `Assets::Asset` (r:1 w:1)
304 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
305 /// Storage: `Assets::Metadata` (r:1 w:0)
306 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
307 fn transfer_ownership() -> Weight {
308 // Proof Size summary in bytes:
309 // Measured: `314`
310 // Estimated: `3675`
311 // Minimum execution time: 13_659_000 picoseconds.
312 Weight::from_parts(14_063_000, 0)
313 .saturating_add(Weight::from_parts(0, 3675))
314 .saturating_add(T::DbWeight::get().reads(2))
315 .saturating_add(T::DbWeight::get().writes(1))
316 }
317 /// Storage: `Assets::Asset` (r:1 w:1)
318 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
319 fn set_team() -> Weight {
320 // Proof Size summary in bytes:
321 // Measured: `314`
322 // Estimated: `3675`
323 // Minimum execution time: 11_773_000 picoseconds.
324 Weight::from_parts(12_318_000, 0)
325 .saturating_add(Weight::from_parts(0, 3675))
326 .saturating_add(T::DbWeight::get().reads(1))
327 .saturating_add(T::DbWeight::get().writes(1))
328 }
329 /// Storage: `Assets::Asset` (r:1 w:0)
330 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
331 /// Storage: `Assets::Metadata` (r:1 w:1)
332 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
333 /// The range of component `n` is `[0, 50]`.
334 /// The range of component `s` is `[0, 50]`.
335 /// The range of component `n` is `[0, 50]`.
336 /// The range of component `s` is `[0, 50]`.
337 /// The range of component `n` is `[0, 50]`.
338 /// The range of component `s` is `[0, 50]`.
339 fn set_metadata(_n: u32, _s: u32, ) -> Weight {
340 // Proof Size summary in bytes:
341 // Measured: `314`
342 // Estimated: `3675`
343 // Minimum execution time: 27_666_000 picoseconds.
344 Weight::from_parts(29_418_576, 0)
345 .saturating_add(Weight::from_parts(0, 3675))
346 .saturating_add(T::DbWeight::get().reads(2))
347 .saturating_add(T::DbWeight::get().writes(1))
348 }
349 /// Storage: `Assets::Asset` (r:1 w:0)
350 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
351 /// Storage: `Assets::Metadata` (r:1 w:1)
352 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
353 fn clear_metadata() -> Weight {
354 // Proof Size summary in bytes:
355 // Measured: `478`
356 // Estimated: `3675`
357 // Minimum execution time: 27_696_000 picoseconds.
358 Weight::from_parts(28_581_000, 0)
359 .saturating_add(Weight::from_parts(0, 3675))
360 .saturating_add(T::DbWeight::get().reads(2))
361 .saturating_add(T::DbWeight::get().writes(1))
362 }
363 /// Storage: `Assets::Asset` (r:1 w:0)
364 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
365 /// Storage: `Assets::Metadata` (r:1 w:1)
366 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
367 /// The range of component `n` is `[0, 50]`.
368 /// The range of component `s` is `[0, 50]`.
369 /// The range of component `n` is `[0, 50]`.
370 /// The range of component `s` is `[0, 50]`.
371 /// The range of component `n` is `[0, 50]`.
372 /// The range of component `s` is `[0, 50]`.
373 fn force_set_metadata(n: u32, s: u32, ) -> Weight {
374 // Proof Size summary in bytes:
375 // Measured: `153`
376 // Estimated: `3675`
377 // Minimum execution time: 12_322_000 picoseconds.
378 Weight::from_parts(12_988_255, 0)
379 .saturating_add(Weight::from_parts(0, 3675))
380 // Standard Error: 1_012
381 .saturating_add(Weight::from_parts(1_936, 0).saturating_mul(n.into()))
382 // Standard Error: 1_012
383 .saturating_add(Weight::from_parts(2_627, 0).saturating_mul(s.into()))
384 .saturating_add(T::DbWeight::get().reads(2))
385 .saturating_add(T::DbWeight::get().writes(1))
386 }
387 /// Storage: `Assets::Asset` (r:1 w:0)
388 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
389 /// Storage: `Assets::Metadata` (r:1 w:1)
390 /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`)
391 fn force_clear_metadata() -> Weight {
392 // Proof Size summary in bytes:
393 // Measured: `478`
394 // Estimated: `3675`
395 // Minimum execution time: 27_303_000 picoseconds.
396 Weight::from_parts(28_116_000, 0)
397 .saturating_add(Weight::from_parts(0, 3675))
398 .saturating_add(T::DbWeight::get().reads(2))
399 .saturating_add(T::DbWeight::get().writes(1))
400 }
401 /// Storage: `Assets::Asset` (r:1 w:1)
402 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
403 fn force_asset_status() -> Weight {
404 // Proof Size summary in bytes:
405 // Measured: `314`
406 // Estimated: `3675`
407 // Minimum execution time: 11_193_000 picoseconds.
408 Weight::from_parts(11_800_000, 0)
409 .saturating_add(Weight::from_parts(0, 3675))
410 .saturating_add(T::DbWeight::get().reads(1))
411 .saturating_add(T::DbWeight::get().writes(1))
412 }
413 /// Storage: `Assets::Asset` (r:1 w:1)
414 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
415 /// Storage: `Assets::Approvals` (r:1 w:1)
416 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
417 fn approve_transfer() -> Weight {
418 // Proof Size summary in bytes:
419 // Measured: `348`
420 // Estimated: `3675`
421 // Minimum execution time: 31_558_000 picoseconds.
422 Weight::from_parts(32_461_000, 0)
423 .saturating_add(Weight::from_parts(0, 3675))
424 .saturating_add(T::DbWeight::get().reads(2))
425 .saturating_add(T::DbWeight::get().writes(2))
426 }
427 /// Storage: `Assets::Asset` (r:1 w:1)
428 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
429 /// Storage: `Assets::Approvals` (r:1 w:1)
430 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
431 /// Storage: `Assets::Account` (r:2 w:2)
432 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
433 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
434 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
435 /// Storage: `System::Account` (r:1 w:1)
436 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
437 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
438 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
439 fn transfer_approved() -> Weight {
440 // Proof Size summary in bytes:
441 // Measured: `596`
442 // Estimated: `6208`
443 // Minimum execution time: 78_672_000 picoseconds.
444 Weight::from_parts(80_184_000, 0)
445 .saturating_add(Weight::from_parts(0, 6208))
446 .saturating_add(T::DbWeight::get().reads(7))
447 .saturating_add(T::DbWeight::get().writes(7))
448 }
449 /// Storage: `Assets::Asset` (r:1 w:1)
450 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
451 /// Storage: `Assets::Approvals` (r:1 w:1)
452 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
453 fn cancel_approval() -> Weight {
454 // Proof Size summary in bytes:
455 // Measured: `518`
456 // Estimated: `3675`
457 // Minimum execution time: 33_378_000 picoseconds.
458 Weight::from_parts(34_054_000, 0)
459 .saturating_add(Weight::from_parts(0, 3675))
460 .saturating_add(T::DbWeight::get().reads(2))
461 .saturating_add(T::DbWeight::get().writes(2))
462 }
463 /// Storage: `Assets::Asset` (r:1 w:1)
464 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
465 /// Storage: `Assets::Approvals` (r:1 w:1)
466 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
467 fn force_cancel_approval() -> Weight {
468 // Proof Size summary in bytes:
469 // Measured: `518`
470 // Estimated: `3675`
471 // Minimum execution time: 32_932_000 picoseconds.
472 Weight::from_parts(33_994_000, 0)
473 .saturating_add(Weight::from_parts(0, 3675))
474 .saturating_add(T::DbWeight::get().reads(2))
475 .saturating_add(T::DbWeight::get().writes(2))
476 }
477 /// Storage: `Assets::Asset` (r:1 w:1)
478 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
479 fn set_min_balance() -> Weight {
480 // Proof Size summary in bytes:
481 // Measured: `314`
482 // Estimated: `3675`
483 // Minimum execution time: 12_319_000 picoseconds.
484 Weight::from_parts(12_843_000, 0)
485 .saturating_add(Weight::from_parts(0, 3675))
486 .saturating_add(T::DbWeight::get().reads(1))
487 .saturating_add(T::DbWeight::get().writes(1))
488 }
489 /// Storage: `Assets::Account` (r:1 w:1)
490 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
491 /// Storage: `Assets::Asset` (r:1 w:1)
492 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
493 /// Storage: `System::Account` (r:1 w:1)
494 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
495 fn touch() -> Weight {
496 // Proof Size summary in bytes:
497 // Measured: `417`
498 // Estimated: `3675`
499 // Minimum execution time: 33_017_000 picoseconds.
500 Weight::from_parts(33_654_000, 0)
501 .saturating_add(Weight::from_parts(0, 3675))
502 .saturating_add(T::DbWeight::get().reads(3))
503 .saturating_add(T::DbWeight::get().writes(3))
504 }
505 /// Storage: `Assets::Account` (r:1 w:1)
506 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
507 /// Storage: `Assets::Asset` (r:1 w:1)
508 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
509 fn touch_other() -> Weight {
510 // Proof Size summary in bytes:
511 // Measured: `314`
512 // Estimated: `3675`
513 // Minimum execution time: 31_352_000 picoseconds.
514 Weight::from_parts(32_145_000, 0)
515 .saturating_add(Weight::from_parts(0, 3675))
516 .saturating_add(T::DbWeight::get().reads(2))
517 .saturating_add(T::DbWeight::get().writes(2))
518 }
519 /// Storage: `Assets::Account` (r:1 w:1)
520 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
521 /// Storage: `Assets::Asset` (r:1 w:1)
522 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
523 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
524 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
525 /// Storage: `System::Account` (r:1 w:1)
526 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
527 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
528 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
529 fn refund() -> Weight {
530 // Proof Size summary in bytes:
531 // Measured: `547`
532 // Estimated: `3675`
533 // Minimum execution time: 42_926_000 picoseconds.
534 Weight::from_parts(44_322_000, 0)
535 .saturating_add(Weight::from_parts(0, 3675))
536 .saturating_add(T::DbWeight::get().reads(5))
537 .saturating_add(T::DbWeight::get().writes(5))
538 }
539 /// Storage: `Assets::Account` (r:1 w:1)
540 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
541 /// Storage: `Assets::Asset` (r:1 w:1)
542 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
543 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
544 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
545 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
546 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
547 fn refund_other() -> Weight {
548 // Proof Size summary in bytes:
549 // Measured: `477`
550 // Estimated: `3675`
551 // Minimum execution time: 41_094_000 picoseconds.
552 Weight::from_parts(41_955_000, 0)
553 .saturating_add(Weight::from_parts(0, 3675))
554 .saturating_add(T::DbWeight::get().reads(4))
555 .saturating_add(T::DbWeight::get().writes(4))
556 }
557 /// Storage: `Assets::Asset` (r:1 w:0)
558 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
559 /// Storage: `Assets::Account` (r:1 w:1)
560 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
561 fn block() -> Weight {
562 // Proof Size summary in bytes:
563 // Measured: `422`
564 // Estimated: `3675`
565 // Minimum execution time: 16_295_000 picoseconds.
566 Weight::from_parts(16_900_000, 0)
567 .saturating_add(Weight::from_parts(0, 3675))
568 .saturating_add(T::DbWeight::get().reads(2))
569 .saturating_add(T::DbWeight::get().writes(1))
570 }
571 /// Storage: `Assets::Asset` (r:1 w:1)
572 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
573 /// Storage: `Assets::Account` (r:2 w:2)
574 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
575 /// Storage: `AssetsFreezer::FrozenBalances` (r:1 w:1)
576 /// Proof: `AssetsFreezer::FrozenBalances` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
577 /// Storage: `AssetsFreezer::Freezes` (r:1 w:1)
578 /// Proof: `AssetsFreezer::Freezes` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`)
579 /// Storage: `System::Account` (r:1 w:1)
580 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
581 fn transfer_all() -> Weight {
582 // Proof Size summary in bytes:
583 // Measured: `426`
584 // Estimated: `6208`
585 // Minimum execution time: 71_441_000 picoseconds.
586 Weight::from_parts(72_377_000, 0)
587 .saturating_add(Weight::from_parts(0, 6208))
588 .saturating_add(T::DbWeight::get().reads(6))
589 .saturating_add(T::DbWeight::get().writes(6))
590 }
591 /// Storage: `Assets::Asset` (r:1 w:0)
592 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
593 fn total_issuance() -> Weight {
594 // Proof Size summary in bytes:
595 // Measured: `348`
596 // Estimated: `3675`
597 // Minimum execution time: 5_821_000 picoseconds.
598 Weight::from_parts(6_163_000, 0)
599 .saturating_add(Weight::from_parts(0, 3675))
600 .saturating_add(T::DbWeight::get().reads(1))
601 }
602 /// Storage: `Assets::Account` (r:1 w:0)
603 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
604 fn balance() -> Weight {
605 // Proof Size summary in bytes:
606 // Measured: `222`
607 // Estimated: `3599`
608 // Minimum execution time: 6_840_000 picoseconds.
609 Weight::from_parts(7_154_000, 0)
610 .saturating_add(Weight::from_parts(0, 3599))
611 .saturating_add(T::DbWeight::get().reads(1))
612 }
613 /// Storage: `Assets::Approvals` (r:1 w:0)
614 /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
615 fn allowance() -> Weight {
616 // Proof Size summary in bytes:
617 // Measured: `317`
618 // Estimated: `3613`
619 // Minimum execution time: 9_336_000 picoseconds.
620 Weight::from_parts(9_839_000, 0)
621 .saturating_add(Weight::from_parts(0, 3613))
622 .saturating_add(T::DbWeight::get().reads(1))
623 }
624}