pallet_staking_async_parachain_runtime/weights/pallet_uniques.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_uniques`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
19//! DATE: 2023-07-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `runner-ynta1nyy-project-238-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-next-westend-dev")`, DB CACHE: 1024
23
24// Executed Command:
25// ./target/production/polkadot-parachain
26// benchmark
27// pallet
28// --chain=asset-hub-next-westend-dev
29// --wasm-execution=compiled
30// --pallet=pallet_uniques
31// --no-storage-info
32// --no-median-slopes
33// --no-min-squares
34// --extrinsic=*
35// --steps=50
36// --repeat=20
37// --json
38// --header=./file_header.txt
39// --output=./parachains/runtimes/assets/asset-hub-next-westend/src/weights/
40
41#![cfg_attr(rustfmt, rustfmt_skip)]
42#![allow(unused_parens)]
43#![allow(unused_imports)]
44#![allow(missing_docs)]
45
46use frame_support::{traits::Get, weights::Weight};
47use core::marker::PhantomData;
48
49/// Weight functions for `pallet_uniques`.
50pub struct WeightInfo<T>(PhantomData<T>);
51impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
52 /// Storage: `Uniques::Class` (r:1 w:1)
53 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
54 /// Storage: `Uniques::ClassAccount` (r:0 w:1)
55 /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
56 fn create() -> Weight {
57 // Proof Size summary in bytes:
58 // Measured: `145`
59 // Estimated: `3643`
60 // Minimum execution time: 30_321_000 picoseconds.
61 Weight::from_parts(31_831_000, 0)
62 .saturating_add(Weight::from_parts(0, 3643))
63 .saturating_add(T::DbWeight::get().reads(1))
64 .saturating_add(T::DbWeight::get().writes(2))
65 }
66 /// Storage: `Uniques::Class` (r:1 w:1)
67 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
68 /// Storage: `Uniques::ClassAccount` (r:0 w:1)
69 /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
70 fn force_create() -> Weight {
71 // Proof Size summary in bytes:
72 // Measured: `42`
73 // Estimated: `3643`
74 // Minimum execution time: 13_556_000 picoseconds.
75 Weight::from_parts(13_887_000, 0)
76 .saturating_add(Weight::from_parts(0, 3643))
77 .saturating_add(T::DbWeight::get().reads(1))
78 .saturating_add(T::DbWeight::get().writes(2))
79 }
80 /// Storage: `Uniques::Class` (r:1 w:1)
81 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
82 /// Storage: `Uniques::Asset` (r:1001 w:1000)
83 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
84 /// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
85 /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
86 /// Storage: `Uniques::Attribute` (r:1000 w:1000)
87 /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
88 /// Storage: `Uniques::ClassAccount` (r:0 w:1)
89 /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
90 /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
91 /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
92 /// Storage: `Uniques::Account` (r:0 w:1000)
93 /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
94 /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
95 /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
96 /// The range of component `n` is `[0, 1000]`.
97 /// The range of component `m` is `[0, 1000]`.
98 /// The range of component `a` is `[0, 1000]`.
99 fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
100 // Proof Size summary in bytes:
101 // Measured: `257 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
102 // Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
103 // Minimum execution time: 3_038_253_000 picoseconds.
104 Weight::from_parts(3_097_477_000, 0)
105 .saturating_add(Weight::from_parts(0, 3643))
106 // Standard Error: 36_951
107 .saturating_add(Weight::from_parts(7_368_466, 0).saturating_mul(n.into()))
108 // Standard Error: 36_951
109 .saturating_add(Weight::from_parts(481_367, 0).saturating_mul(m.into()))
110 // Standard Error: 36_951
111 .saturating_add(Weight::from_parts(563_245, 0).saturating_mul(a.into()))
112 .saturating_add(T::DbWeight::get().reads(2))
113 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
115 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
116 .saturating_add(T::DbWeight::get().writes(4))
117 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
118 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
119 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
120 .saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
121 .saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
122 .saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
123 }
124 /// Storage: `Uniques::Asset` (r:1 w:1)
125 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
126 /// Storage: `Uniques::Class` (r:1 w:1)
127 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
128 /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0)
129 /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
130 /// Storage: `Uniques::Account` (r:0 w:1)
131 /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
132 fn mint() -> Weight {
133 // Proof Size summary in bytes:
134 // Measured: `282`
135 // Estimated: `3643`
136 // Minimum execution time: 35_343_000 picoseconds.
137 Weight::from_parts(35_755_000, 0)
138 .saturating_add(Weight::from_parts(0, 3643))
139 .saturating_add(T::DbWeight::get().reads(3))
140 .saturating_add(T::DbWeight::get().writes(3))
141 }
142 /// Storage: `Uniques::Class` (r:1 w:1)
143 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
144 /// Storage: `Uniques::Asset` (r:1 w:1)
145 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
146 /// Storage: `Uniques::Account` (r:0 w:1)
147 /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
148 /// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
149 /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
150 fn burn() -> Weight {
151 // Proof Size summary in bytes:
152 // Measured: `428`
153 // Estimated: `3643`
154 // Minimum execution time: 36_465_000 picoseconds.
155 Weight::from_parts(37_139_000, 0)
156 .saturating_add(Weight::from_parts(0, 3643))
157 .saturating_add(T::DbWeight::get().reads(2))
158 .saturating_add(T::DbWeight::get().writes(4))
159 }
160 /// Storage: `Uniques::Class` (r:1 w:0)
161 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
162 /// Storage: `Uniques::Asset` (r:1 w:1)
163 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
164 /// Storage: `Uniques::Account` (r:0 w:2)
165 /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
166 /// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
167 /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
168 fn transfer() -> Weight {
169 // Proof Size summary in bytes:
170 // Measured: `428`
171 // Estimated: `3643`
172 // Minimum execution time: 26_394_000 picoseconds.
173 Weight::from_parts(26_920_000, 0)
174 .saturating_add(Weight::from_parts(0, 3643))
175 .saturating_add(T::DbWeight::get().reads(2))
176 .saturating_add(T::DbWeight::get().writes(4))
177 }
178 /// Storage: `Uniques::Class` (r:1 w:1)
179 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
180 /// Storage: `Uniques::Asset` (r:5000 w:5000)
181 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
182 /// The range of component `i` is `[0, 5000]`.
183 fn redeposit(i: u32, ) -> Weight {
184 // Proof Size summary in bytes:
185 // Measured: `738 + i * (76 ±0)`
186 // Estimated: `3643 + i * (2597 ±0)`
187 // Minimum execution time: 14_445_000 picoseconds.
188 Weight::from_parts(14_661_000, 0)
189 .saturating_add(Weight::from_parts(0, 3643))
190 // Standard Error: 23_835
191 .saturating_add(Weight::from_parts(17_951_538, 0).saturating_mul(i.into()))
192 .saturating_add(T::DbWeight::get().reads(1))
193 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
194 .saturating_add(T::DbWeight::get().writes(1))
195 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
196 .saturating_add(Weight::from_parts(0, 2597).saturating_mul(i.into()))
197 }
198 /// Storage: `Uniques::Asset` (r:1 w:1)
199 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
200 /// Storage: `Uniques::Class` (r:1 w:0)
201 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
202 fn freeze() -> Weight {
203 // Proof Size summary in bytes:
204 // Measured: `428`
205 // Estimated: `3643`
206 // Minimum execution time: 18_602_000 picoseconds.
207 Weight::from_parts(18_954_000, 0)
208 .saturating_add(Weight::from_parts(0, 3643))
209 .saturating_add(T::DbWeight::get().reads(2))
210 .saturating_add(T::DbWeight::get().writes(1))
211 }
212 /// Storage: `Uniques::Asset` (r:1 w:1)
213 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
214 /// Storage: `Uniques::Class` (r:1 w:0)
215 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
216 fn thaw() -> Weight {
217 // Proof Size summary in bytes:
218 // Measured: `428`
219 // Estimated: `3643`
220 // Minimum execution time: 18_328_000 picoseconds.
221 Weight::from_parts(18_919_000, 0)
222 .saturating_add(Weight::from_parts(0, 3643))
223 .saturating_add(T::DbWeight::get().reads(2))
224 .saturating_add(T::DbWeight::get().writes(1))
225 }
226 /// Storage: `Uniques::Class` (r:1 w:1)
227 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
228 fn freeze_collection() -> Weight {
229 // Proof Size summary in bytes:
230 // Measured: `282`
231 // Estimated: `3643`
232 // Minimum execution time: 13_574_000 picoseconds.
233 Weight::from_parts(13_921_000, 0)
234 .saturating_add(Weight::from_parts(0, 3643))
235 .saturating_add(T::DbWeight::get().reads(1))
236 .saturating_add(T::DbWeight::get().writes(1))
237 }
238 /// Storage: `Uniques::Class` (r:1 w:1)
239 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
240 fn thaw_collection() -> Weight {
241 // Proof Size summary in bytes:
242 // Measured: `282`
243 // Estimated: `3643`
244 // Minimum execution time: 13_469_000 picoseconds.
245 Weight::from_parts(13_999_000, 0)
246 .saturating_add(Weight::from_parts(0, 3643))
247 .saturating_add(T::DbWeight::get().reads(1))
248 .saturating_add(T::DbWeight::get().writes(1))
249 }
250 /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
251 /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
252 /// Storage: `Uniques::Class` (r:1 w:1)
253 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
254 /// Storage: `Uniques::ClassAccount` (r:0 w:2)
255 /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
256 fn transfer_ownership() -> Weight {
257 // Proof Size summary in bytes:
258 // Measured: `356`
259 // Estimated: `3643`
260 // Minimum execution time: 21_962_000 picoseconds.
261 Weight::from_parts(22_330_000, 0)
262 .saturating_add(Weight::from_parts(0, 3643))
263 .saturating_add(T::DbWeight::get().reads(2))
264 .saturating_add(T::DbWeight::get().writes(4))
265 }
266 /// Storage: `Uniques::Class` (r:1 w:1)
267 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
268 fn set_team() -> Weight {
269 // Proof Size summary in bytes:
270 // Measured: `282`
271 // Estimated: `3643`
272 // Minimum execution time: 13_869_000 picoseconds.
273 Weight::from_parts(14_486_000, 0)
274 .saturating_add(Weight::from_parts(0, 3643))
275 .saturating_add(T::DbWeight::get().reads(1))
276 .saturating_add(T::DbWeight::get().writes(1))
277 }
278 /// Storage: `Uniques::Class` (r:1 w:1)
279 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
280 /// Storage: `Uniques::ClassAccount` (r:0 w:1)
281 /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
282 fn force_item_status() -> Weight {
283 // Proof Size summary in bytes:
284 // Measured: `282`
285 // Estimated: `3643`
286 // Minimum execution time: 16_965_000 picoseconds.
287 Weight::from_parts(17_320_000, 0)
288 .saturating_add(Weight::from_parts(0, 3643))
289 .saturating_add(T::DbWeight::get().reads(1))
290 .saturating_add(T::DbWeight::get().writes(2))
291 }
292 /// Storage: `Uniques::Class` (r:1 w:1)
293 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
294 /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
295 /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
296 /// Storage: `Uniques::Attribute` (r:1 w:1)
297 /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
298 fn set_attribute() -> Weight {
299 // Proof Size summary in bytes:
300 // Measured: `559`
301 // Estimated: `3652`
302 // Minimum execution time: 38_300_000 picoseconds.
303 Weight::from_parts(39_057_000, 0)
304 .saturating_add(Weight::from_parts(0, 3652))
305 .saturating_add(T::DbWeight::get().reads(3))
306 .saturating_add(T::DbWeight::get().writes(2))
307 }
308 /// Storage: `Uniques::Class` (r:1 w:1)
309 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
310 /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
311 /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
312 /// Storage: `Uniques::Attribute` (r:1 w:1)
313 /// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
314 fn clear_attribute() -> Weight {
315 // Proof Size summary in bytes:
316 // Measured: `756`
317 // Estimated: `3652`
318 // Minimum execution time: 37_420_000 picoseconds.
319 Weight::from_parts(38_087_000, 0)
320 .saturating_add(Weight::from_parts(0, 3652))
321 .saturating_add(T::DbWeight::get().reads(3))
322 .saturating_add(T::DbWeight::get().writes(2))
323 }
324 /// Storage: `Uniques::Class` (r:1 w:1)
325 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
326 /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
327 /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
328 fn set_metadata() -> Weight {
329 // Proof Size summary in bytes:
330 // Measured: `348`
331 // Estimated: `3652`
332 // Minimum execution time: 29_457_000 picoseconds.
333 Weight::from_parts(30_163_000, 0)
334 .saturating_add(Weight::from_parts(0, 3652))
335 .saturating_add(T::DbWeight::get().reads(2))
336 .saturating_add(T::DbWeight::get().writes(2))
337 }
338 /// Storage: `Uniques::Class` (r:1 w:1)
339 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
340 /// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
341 /// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
342 fn clear_metadata() -> Weight {
343 // Proof Size summary in bytes:
344 // Measured: `559`
345 // Estimated: `3652`
346 // Minimum execution time: 30_471_000 picoseconds.
347 Weight::from_parts(30_893_000, 0)
348 .saturating_add(Weight::from_parts(0, 3652))
349 .saturating_add(T::DbWeight::get().reads(2))
350 .saturating_add(T::DbWeight::get().writes(2))
351 }
352 /// Storage: `Uniques::Class` (r:1 w:1)
353 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
354 /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
355 /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
356 fn set_collection_metadata() -> Weight {
357 // Proof Size summary in bytes:
358 // Measured: `282`
359 // Estimated: `3643`
360 // Minimum execution time: 30_465_000 picoseconds.
361 Weight::from_parts(31_298_000, 0)
362 .saturating_add(Weight::from_parts(0, 3643))
363 .saturating_add(T::DbWeight::get().reads(2))
364 .saturating_add(T::DbWeight::get().writes(2))
365 }
366 /// Storage: `Uniques::Class` (r:1 w:0)
367 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
368 /// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
369 /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
370 fn clear_collection_metadata() -> Weight {
371 // Proof Size summary in bytes:
372 // Measured: `473`
373 // Estimated: `3643`
374 // Minimum execution time: 29_491_000 picoseconds.
375 Weight::from_parts(30_096_000, 0)
376 .saturating_add(Weight::from_parts(0, 3643))
377 .saturating_add(T::DbWeight::get().reads(2))
378 .saturating_add(T::DbWeight::get().writes(1))
379 }
380 /// Storage: `Uniques::Class` (r:1 w:0)
381 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
382 /// Storage: `Uniques::Asset` (r:1 w:1)
383 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
384 fn approve_transfer() -> Weight {
385 // Proof Size summary in bytes:
386 // Measured: `428`
387 // Estimated: `3643`
388 // Minimum execution time: 19_122_000 picoseconds.
389 Weight::from_parts(19_697_000, 0)
390 .saturating_add(Weight::from_parts(0, 3643))
391 .saturating_add(T::DbWeight::get().reads(2))
392 .saturating_add(T::DbWeight::get().writes(1))
393 }
394 /// Storage: `Uniques::Class` (r:1 w:0)
395 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
396 /// Storage: `Uniques::Asset` (r:1 w:1)
397 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
398 fn cancel_approval() -> Weight {
399 // Proof Size summary in bytes:
400 // Measured: `461`
401 // Estimated: `3643`
402 // Minimum execution time: 19_016_000 picoseconds.
403 Weight::from_parts(19_352_000, 0)
404 .saturating_add(Weight::from_parts(0, 3643))
405 .saturating_add(T::DbWeight::get().reads(2))
406 .saturating_add(T::DbWeight::get().writes(1))
407 }
408 /// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
409 /// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
410 fn set_accept_ownership() -> Weight {
411 // Proof Size summary in bytes:
412 // Measured: `42`
413 // Estimated: `3517`
414 // Minimum execution time: 14_955_000 picoseconds.
415 Weight::from_parts(15_463_000, 0)
416 .saturating_add(Weight::from_parts(0, 3517))
417 .saturating_add(T::DbWeight::get().reads(1))
418 .saturating_add(T::DbWeight::get().writes(1))
419 }
420 /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1)
421 /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
422 /// Storage: `Uniques::Class` (r:1 w:0)
423 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
424 fn set_collection_max_supply() -> Weight {
425 // Proof Size summary in bytes:
426 // Measured: `282`
427 // Estimated: `3643`
428 // Minimum execution time: 16_155_000 picoseconds.
429 Weight::from_parts(16_535_000, 0)
430 .saturating_add(Weight::from_parts(0, 3643))
431 .saturating_add(T::DbWeight::get().reads(2))
432 .saturating_add(T::DbWeight::get().writes(1))
433 }
434 /// Storage: `Uniques::Asset` (r:1 w:0)
435 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
436 /// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
437 /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
438 fn set_price() -> Weight {
439 // Proof Size summary in bytes:
440 // Measured: `259`
441 // Estimated: `3587`
442 // Minimum execution time: 16_135_000 picoseconds.
443 Weight::from_parts(16_686_000, 0)
444 .saturating_add(Weight::from_parts(0, 3587))
445 .saturating_add(T::DbWeight::get().reads(1))
446 .saturating_add(T::DbWeight::get().writes(1))
447 }
448 /// Storage: `Uniques::Asset` (r:1 w:1)
449 /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
450 /// Storage: `Uniques::ItemPriceOf` (r:1 w:1)
451 /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
452 /// Storage: `Uniques::Class` (r:1 w:0)
453 /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
454 /// Storage: `Uniques::Account` (r:0 w:2)
455 /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
456 fn buy_item() -> Weight {
457 // Proof Size summary in bytes:
458 // Measured: `540`
459 // Estimated: `3643`
460 // Minimum execution time: 35_899_000 picoseconds.
461 Weight::from_parts(37_432_000, 0)
462 .saturating_add(Weight::from_parts(0, 3643))
463 .saturating_add(T::DbWeight::get().reads(3))
464 .saturating_add(T::DbWeight::get().writes(4))
465 }
466}