referrerpolicy=no-referrer-when-downgrade

pallet_uniques/
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_uniques`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, 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_uniques
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/uniques/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// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_uniques`.
74pub trait WeightInfo {
75	fn create() -> Weight;
76	fn force_create() -> Weight;
77	fn destroy(n: u32, m: u32, a: u32, ) -> Weight;
78	fn mint() -> Weight;
79	fn burn() -> Weight;
80	fn transfer() -> Weight;
81	fn redeposit(i: u32, ) -> Weight;
82	fn freeze() -> Weight;
83	fn thaw() -> Weight;
84	fn freeze_collection() -> Weight;
85	fn thaw_collection() -> Weight;
86	fn transfer_ownership() -> Weight;
87	fn set_team() -> Weight;
88	fn force_item_status() -> Weight;
89	fn set_attribute() -> Weight;
90	fn clear_attribute() -> Weight;
91	fn set_metadata() -> Weight;
92	fn clear_metadata() -> Weight;
93	fn set_collection_metadata() -> Weight;
94	fn clear_collection_metadata() -> Weight;
95	fn approve_transfer() -> Weight;
96	fn cancel_approval() -> Weight;
97	fn set_accept_ownership() -> Weight;
98	fn set_collection_max_supply() -> Weight;
99	fn set_price() -> Weight;
100	fn buy_item() -> Weight;
101}
102
103/// Weights for `pallet_uniques` using the Substrate node and recommended hardware.
104pub struct SubstrateWeight<T>(PhantomData<T>);
105impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
106	/// Storage: `Uniques::Class` (r:1 w:1)
107	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
108	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
109	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
110	fn create() -> Weight {
111		// Proof Size summary in bytes:
112		//  Measured:  `52`
113		//  Estimated: `3643`
114		// Minimum execution time: 23_579_000 picoseconds.
115		Weight::from_parts(23_892_000, 3643)
116			.saturating_add(T::DbWeight::get().reads(1_u64))
117			.saturating_add(T::DbWeight::get().writes(2_u64))
118	}
119	/// Storage: `Uniques::Class` (r:1 w:1)
120	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
121	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
122	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
123	fn force_create() -> Weight {
124		// Proof Size summary in bytes:
125		//  Measured:  `0`
126		//  Estimated: `3643`
127		// Minimum execution time: 8_824_000 picoseconds.
128		Weight::from_parts(9_273_000, 3643)
129			.saturating_add(T::DbWeight::get().reads(1_u64))
130			.saturating_add(T::DbWeight::get().writes(2_u64))
131	}
132	/// Storage: `Uniques::Class` (r:1 w:1)
133	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
134	/// Storage: `Uniques::Asset` (r:1001 w:1000)
135	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
136	/// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
137	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
138	/// Storage: `Uniques::Attribute` (r:1000 w:1000)
139	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
140	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
141	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
142	/// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
143	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
144	/// Storage: `Uniques::Account` (r:0 w:1000)
145	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
146	/// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
147	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
148	/// The range of component `n` is `[0, 1000]`.
149	/// The range of component `m` is `[0, 1000]`.
150	/// The range of component `a` is `[0, 1000]`.
151	fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
152		// Proof Size summary in bytes:
153		//  Measured:  `193 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
154		//  Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
155		// Minimum execution time: 3_216_909_000 picoseconds.
156		Weight::from_parts(3_239_261_000, 3643)
157			// Standard Error: 36_234
158			.saturating_add(Weight::from_parts(7_818_751, 0).saturating_mul(n.into()))
159			// Standard Error: 36_234
160			.saturating_add(Weight::from_parts(406_951, 0).saturating_mul(m.into()))
161			// Standard Error: 36_234
162			.saturating_add(Weight::from_parts(454_646, 0).saturating_mul(a.into()))
163			.saturating_add(T::DbWeight::get().reads(2_u64))
164			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
165			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
166			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
167			.saturating_add(T::DbWeight::get().writes(4_u64))
168			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
169			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
170			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
171			.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
172			.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
173			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
174	}
175	/// Storage: `Uniques::Asset` (r:1 w:1)
176	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
177	/// Storage: `Uniques::Class` (r:1 w:1)
178	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
179	/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0)
180	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
181	/// Storage: `Uniques::Account` (r:0 w:1)
182	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
183	fn mint() -> Weight {
184		// Proof Size summary in bytes:
185		//  Measured:  `223`
186		//  Estimated: `3643`
187		// Minimum execution time: 33_268_000 picoseconds.
188		Weight::from_parts(33_717_000, 3643)
189			.saturating_add(T::DbWeight::get().reads(3_u64))
190			.saturating_add(T::DbWeight::get().writes(3_u64))
191	}
192	/// Storage: `Uniques::Class` (r:1 w:1)
193	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
194	/// Storage: `Uniques::Asset` (r:1 w:1)
195	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
196	/// Storage: `Uniques::Account` (r:0 w:1)
197	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
198	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
199	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
200	fn burn() -> Weight {
201		// Proof Size summary in bytes:
202		//  Measured:  `370`
203		//  Estimated: `3643`
204		// Minimum execution time: 33_685_000 picoseconds.
205		Weight::from_parts(34_446_000, 3643)
206			.saturating_add(T::DbWeight::get().reads(2_u64))
207			.saturating_add(T::DbWeight::get().writes(4_u64))
208	}
209	/// Storage: `Uniques::Class` (r:1 w:0)
210	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
211	/// Storage: `Uniques::Asset` (r:1 w:1)
212	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
213	/// Storage: `Uniques::Account` (r:0 w:2)
214	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
215	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
216	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
217	fn transfer() -> Weight {
218		// Proof Size summary in bytes:
219		//  Measured:  `370`
220		//  Estimated: `3643`
221		// Minimum execution time: 24_208_000 picoseconds.
222		Weight::from_parts(24_695_000, 3643)
223			.saturating_add(T::DbWeight::get().reads(2_u64))
224			.saturating_add(T::DbWeight::get().writes(4_u64))
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	/// Storage: `Uniques::Asset` (r:5000 w:5000)
229	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
230	/// The range of component `i` is `[0, 5000]`.
231	fn redeposit(i: u32, ) -> Weight {
232		// Proof Size summary in bytes:
233		//  Measured:  `680 + i * (76 ±0)`
234		//  Estimated: `3643 + i * (2597 ±0)`
235		// Minimum execution time: 11_501_000 picoseconds.
236		Weight::from_parts(11_717_000, 3643)
237			// Standard Error: 23_188
238			.saturating_add(Weight::from_parts(18_283_630, 0).saturating_mul(i.into()))
239			.saturating_add(T::DbWeight::get().reads(1_u64))
240			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
241			.saturating_add(T::DbWeight::get().writes(1_u64))
242			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
243			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(i.into()))
244	}
245	/// Storage: `Uniques::Asset` (r:1 w:1)
246	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
247	/// Storage: `Uniques::Class` (r:1 w:0)
248	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
249	fn freeze() -> Weight {
250		// Proof Size summary in bytes:
251		//  Measured:  `370`
252		//  Estimated: `3643`
253		// Minimum execution time: 16_069_000 picoseconds.
254		Weight::from_parts(16_631_000, 3643)
255			.saturating_add(T::DbWeight::get().reads(2_u64))
256			.saturating_add(T::DbWeight::get().writes(1_u64))
257	}
258	/// Storage: `Uniques::Asset` (r:1 w:1)
259	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
260	/// Storage: `Uniques::Class` (r:1 w:0)
261	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
262	fn thaw() -> Weight {
263		// Proof Size summary in bytes:
264		//  Measured:  `370`
265		//  Estimated: `3643`
266		// Minimum execution time: 15_884_000 picoseconds.
267		Weight::from_parts(16_431_000, 3643)
268			.saturating_add(T::DbWeight::get().reads(2_u64))
269			.saturating_add(T::DbWeight::get().writes(1_u64))
270	}
271	/// Storage: `Uniques::Class` (r:1 w:1)
272	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
273	fn freeze_collection() -> Weight {
274		// Proof Size summary in bytes:
275		//  Measured:  `223`
276		//  Estimated: `3643`
277		// Minimum execution time: 10_389_000 picoseconds.
278		Weight::from_parts(10_623_000, 3643)
279			.saturating_add(T::DbWeight::get().reads(1_u64))
280			.saturating_add(T::DbWeight::get().writes(1_u64))
281	}
282	/// Storage: `Uniques::Class` (r:1 w:1)
283	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
284	fn thaw_collection() -> Weight {
285		// Proof Size summary in bytes:
286		//  Measured:  `223`
287		//  Estimated: `3643`
288		// Minimum execution time: 10_392_000 picoseconds.
289		Weight::from_parts(10_673_000, 3643)
290			.saturating_add(T::DbWeight::get().reads(1_u64))
291			.saturating_add(T::DbWeight::get().writes(1_u64))
292	}
293	/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
294	/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
295	/// Storage: `Uniques::Class` (r:1 w:1)
296	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
297	/// Storage: `System::Account` (r:1 w:1)
298	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
299	/// Storage: `Uniques::ClassAccount` (r:0 w:2)
300	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
301	fn transfer_ownership() -> Weight {
302		// Proof Size summary in bytes:
303		//  Measured:  `400`
304		//  Estimated: `3643`
305		// Minimum execution time: 23_165_000 picoseconds.
306		Weight::from_parts(24_074_000, 3643)
307			.saturating_add(T::DbWeight::get().reads(3_u64))
308			.saturating_add(T::DbWeight::get().writes(5_u64))
309	}
310	/// Storage: `Uniques::Class` (r:1 w:1)
311	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
312	fn set_team() -> Weight {
313		// Proof Size summary in bytes:
314		//  Measured:  `223`
315		//  Estimated: `3643`
316		// Minimum execution time: 10_564_000 picoseconds.
317		Weight::from_parts(10_800_000, 3643)
318			.saturating_add(T::DbWeight::get().reads(1_u64))
319			.saturating_add(T::DbWeight::get().writes(1_u64))
320	}
321	/// Storage: `Uniques::Class` (r:1 w:1)
322	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
323	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
324	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
325	fn force_item_status() -> Weight {
326		// Proof Size summary in bytes:
327		//  Measured:  `223`
328		//  Estimated: `3643`
329		// Minimum execution time: 14_180_000 picoseconds.
330		Weight::from_parts(14_571_000, 3643)
331			.saturating_add(T::DbWeight::get().reads(1_u64))
332			.saturating_add(T::DbWeight::get().writes(2_u64))
333	}
334	/// Storage: `Uniques::Class` (r:1 w:1)
335	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
336	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
337	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
338	/// Storage: `Uniques::Attribute` (r:1 w:1)
339	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
340	fn set_attribute() -> Weight {
341		// Proof Size summary in bytes:
342		//  Measured:  `501`
343		//  Estimated: `3652`
344		// Minimum execution time: 36_623_000 picoseconds.
345		Weight::from_parts(37_377_000, 3652)
346			.saturating_add(T::DbWeight::get().reads(3_u64))
347			.saturating_add(T::DbWeight::get().writes(2_u64))
348	}
349	/// Storage: `Uniques::Class` (r:1 w:1)
350	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
351	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
352	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
353	/// Storage: `Uniques::Attribute` (r:1 w:1)
354	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
355	fn clear_attribute() -> Weight {
356		// Proof Size summary in bytes:
357		//  Measured:  `698`
358		//  Estimated: `3652`
359		// Minimum execution time: 35_248_000 picoseconds.
360		Weight::from_parts(36_162_000, 3652)
361			.saturating_add(T::DbWeight::get().reads(3_u64))
362			.saturating_add(T::DbWeight::get().writes(2_u64))
363	}
364	/// Storage: `Uniques::Class` (r:1 w:1)
365	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
366	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
367	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
368	fn set_metadata() -> Weight {
369		// Proof Size summary in bytes:
370		//  Measured:  `290`
371		//  Estimated: `3652`
372		// Minimum execution time: 26_740_000 picoseconds.
373		Weight::from_parts(27_339_000, 3652)
374			.saturating_add(T::DbWeight::get().reads(2_u64))
375			.saturating_add(T::DbWeight::get().writes(2_u64))
376	}
377	/// Storage: `Uniques::Class` (r:1 w:1)
378	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
379	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
380	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
381	fn clear_metadata() -> Weight {
382		// Proof Size summary in bytes:
383		//  Measured:  `501`
384		//  Estimated: `3652`
385		// Minimum execution time: 28_165_000 picoseconds.
386		Weight::from_parts(28_960_000, 3652)
387			.saturating_add(T::DbWeight::get().reads(2_u64))
388			.saturating_add(T::DbWeight::get().writes(2_u64))
389	}
390	/// Storage: `Uniques::Class` (r:1 w:1)
391	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
392	/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
393	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
394	fn set_collection_metadata() -> Weight {
395		// Proof Size summary in bytes:
396		//  Measured:  `223`
397		//  Estimated: `3643`
398		// Minimum execution time: 27_430_000 picoseconds.
399		Weight::from_parts(27_965_000, 3643)
400			.saturating_add(T::DbWeight::get().reads(2_u64))
401			.saturating_add(T::DbWeight::get().writes(2_u64))
402	}
403	/// Storage: `Uniques::Class` (r:1 w:1)
404	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
405	/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
406	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
407	fn clear_collection_metadata() -> Weight {
408		// Proof Size summary in bytes:
409		//  Measured:  `414`
410		//  Estimated: `3643`
411		// Minimum execution time: 26_863_000 picoseconds.
412		Weight::from_parts(27_498_000, 3643)
413			.saturating_add(T::DbWeight::get().reads(2_u64))
414			.saturating_add(T::DbWeight::get().writes(2_u64))
415	}
416	/// Storage: `Uniques::Class` (r:1 w:0)
417	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
418	/// Storage: `Uniques::Asset` (r:1 w:1)
419	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
420	fn approve_transfer() -> Weight {
421		// Proof Size summary in bytes:
422		//  Measured:  `370`
423		//  Estimated: `3643`
424		// Minimum execution time: 16_303_000 picoseconds.
425		Weight::from_parts(16_577_000, 3643)
426			.saturating_add(T::DbWeight::get().reads(2_u64))
427			.saturating_add(T::DbWeight::get().writes(1_u64))
428	}
429	/// Storage: `Uniques::Class` (r:1 w:0)
430	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
431	/// Storage: `Uniques::Asset` (r:1 w:1)
432	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
433	fn cancel_approval() -> Weight {
434		// Proof Size summary in bytes:
435		//  Measured:  `403`
436		//  Estimated: `3643`
437		// Minimum execution time: 15_982_000 picoseconds.
438		Weight::from_parts(16_566_000, 3643)
439			.saturating_add(T::DbWeight::get().reads(2_u64))
440			.saturating_add(T::DbWeight::get().writes(1_u64))
441	}
442	/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
443	/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
444	fn set_accept_ownership() -> Weight {
445		// Proof Size summary in bytes:
446		//  Measured:  `0`
447		//  Estimated: `3517`
448		// Minimum execution time: 9_885_000 picoseconds.
449		Weight::from_parts(10_204_000, 3517)
450			.saturating_add(T::DbWeight::get().reads(1_u64))
451			.saturating_add(T::DbWeight::get().writes(1_u64))
452	}
453	/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1)
454	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
455	/// Storage: `Uniques::Class` (r:1 w:0)
456	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
457	fn set_collection_max_supply() -> Weight {
458		// Proof Size summary in bytes:
459		//  Measured:  `223`
460		//  Estimated: `3643`
461		// Minimum execution time: 13_280_000 picoseconds.
462		Weight::from_parts(13_587_000, 3643)
463			.saturating_add(T::DbWeight::get().reads(2_u64))
464			.saturating_add(T::DbWeight::get().writes(1_u64))
465	}
466	/// Storage: `Uniques::Asset` (r:1 w:0)
467	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
468	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
469	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
470	fn set_price() -> Weight {
471		// Proof Size summary in bytes:
472		//  Measured:  `201`
473		//  Estimated: `3587`
474		// Minimum execution time: 12_823_000 picoseconds.
475		Weight::from_parts(13_131_000, 3587)
476			.saturating_add(T::DbWeight::get().reads(1_u64))
477			.saturating_add(T::DbWeight::get().writes(1_u64))
478	}
479	/// Storage: `Uniques::Asset` (r:1 w:1)
480	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
481	/// Storage: `Uniques::ItemPriceOf` (r:1 w:1)
482	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
483	/// Storage: `Uniques::Class` (r:1 w:0)
484	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
485	/// Storage: `Uniques::Account` (r:0 w:2)
486	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
487	fn buy_item() -> Weight {
488		// Proof Size summary in bytes:
489		//  Measured:  `482`
490		//  Estimated: `3643`
491		// Minimum execution time: 32_336_000 picoseconds.
492		Weight::from_parts(32_973_000, 3643)
493			.saturating_add(T::DbWeight::get().reads(3_u64))
494			.saturating_add(T::DbWeight::get().writes(4_u64))
495	}
496}
497
498// For backwards compatibility and tests.
499impl WeightInfo for () {
500	/// Storage: `Uniques::Class` (r:1 w:1)
501	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
502	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
503	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
504	fn create() -> Weight {
505		// Proof Size summary in bytes:
506		//  Measured:  `52`
507		//  Estimated: `3643`
508		// Minimum execution time: 23_579_000 picoseconds.
509		Weight::from_parts(23_892_000, 3643)
510			.saturating_add(RocksDbWeight::get().reads(1_u64))
511			.saturating_add(RocksDbWeight::get().writes(2_u64))
512	}
513	/// Storage: `Uniques::Class` (r:1 w:1)
514	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
515	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
516	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
517	fn force_create() -> Weight {
518		// Proof Size summary in bytes:
519		//  Measured:  `0`
520		//  Estimated: `3643`
521		// Minimum execution time: 8_824_000 picoseconds.
522		Weight::from_parts(9_273_000, 3643)
523			.saturating_add(RocksDbWeight::get().reads(1_u64))
524			.saturating_add(RocksDbWeight::get().writes(2_u64))
525	}
526	/// Storage: `Uniques::Class` (r:1 w:1)
527	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
528	/// Storage: `Uniques::Asset` (r:1001 w:1000)
529	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
530	/// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
531	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
532	/// Storage: `Uniques::Attribute` (r:1000 w:1000)
533	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
534	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
535	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
536	/// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
537	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
538	/// Storage: `Uniques::Account` (r:0 w:1000)
539	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
540	/// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
541	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
542	/// The range of component `n` is `[0, 1000]`.
543	/// The range of component `m` is `[0, 1000]`.
544	/// The range of component `a` is `[0, 1000]`.
545	fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
546		// Proof Size summary in bytes:
547		//  Measured:  `193 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
548		//  Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
549		// Minimum execution time: 3_216_909_000 picoseconds.
550		Weight::from_parts(3_239_261_000, 3643)
551			// Standard Error: 36_234
552			.saturating_add(Weight::from_parts(7_818_751, 0).saturating_mul(n.into()))
553			// Standard Error: 36_234
554			.saturating_add(Weight::from_parts(406_951, 0).saturating_mul(m.into()))
555			// Standard Error: 36_234
556			.saturating_add(Weight::from_parts(454_646, 0).saturating_mul(a.into()))
557			.saturating_add(RocksDbWeight::get().reads(2_u64))
558			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
559			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(m.into())))
560			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
561			.saturating_add(RocksDbWeight::get().writes(4_u64))
562			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(n.into())))
563			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(m.into())))
564			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into())))
565			.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
566			.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
567			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
568	}
569	/// Storage: `Uniques::Asset` (r:1 w:1)
570	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
571	/// Storage: `Uniques::Class` (r:1 w:1)
572	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
573	/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0)
574	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
575	/// Storage: `Uniques::Account` (r:0 w:1)
576	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
577	fn mint() -> Weight {
578		// Proof Size summary in bytes:
579		//  Measured:  `223`
580		//  Estimated: `3643`
581		// Minimum execution time: 33_268_000 picoseconds.
582		Weight::from_parts(33_717_000, 3643)
583			.saturating_add(RocksDbWeight::get().reads(3_u64))
584			.saturating_add(RocksDbWeight::get().writes(3_u64))
585	}
586	/// Storage: `Uniques::Class` (r:1 w:1)
587	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
588	/// Storage: `Uniques::Asset` (r:1 w:1)
589	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
590	/// Storage: `Uniques::Account` (r:0 w:1)
591	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
592	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
593	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
594	fn burn() -> Weight {
595		// Proof Size summary in bytes:
596		//  Measured:  `370`
597		//  Estimated: `3643`
598		// Minimum execution time: 33_685_000 picoseconds.
599		Weight::from_parts(34_446_000, 3643)
600			.saturating_add(RocksDbWeight::get().reads(2_u64))
601			.saturating_add(RocksDbWeight::get().writes(4_u64))
602	}
603	/// Storage: `Uniques::Class` (r:1 w:0)
604	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
605	/// Storage: `Uniques::Asset` (r:1 w:1)
606	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
607	/// Storage: `Uniques::Account` (r:0 w:2)
608	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
609	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
610	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
611	fn transfer() -> Weight {
612		// Proof Size summary in bytes:
613		//  Measured:  `370`
614		//  Estimated: `3643`
615		// Minimum execution time: 24_208_000 picoseconds.
616		Weight::from_parts(24_695_000, 3643)
617			.saturating_add(RocksDbWeight::get().reads(2_u64))
618			.saturating_add(RocksDbWeight::get().writes(4_u64))
619	}
620	/// Storage: `Uniques::Class` (r:1 w:1)
621	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
622	/// Storage: `Uniques::Asset` (r:5000 w:5000)
623	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
624	/// The range of component `i` is `[0, 5000]`.
625	fn redeposit(i: u32, ) -> Weight {
626		// Proof Size summary in bytes:
627		//  Measured:  `680 + i * (76 ±0)`
628		//  Estimated: `3643 + i * (2597 ±0)`
629		// Minimum execution time: 11_501_000 picoseconds.
630		Weight::from_parts(11_717_000, 3643)
631			// Standard Error: 23_188
632			.saturating_add(Weight::from_parts(18_283_630, 0).saturating_mul(i.into()))
633			.saturating_add(RocksDbWeight::get().reads(1_u64))
634			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
635			.saturating_add(RocksDbWeight::get().writes(1_u64))
636			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
637			.saturating_add(Weight::from_parts(0, 2597).saturating_mul(i.into()))
638	}
639	/// Storage: `Uniques::Asset` (r:1 w:1)
640	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
641	/// Storage: `Uniques::Class` (r:1 w:0)
642	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
643	fn freeze() -> Weight {
644		// Proof Size summary in bytes:
645		//  Measured:  `370`
646		//  Estimated: `3643`
647		// Minimum execution time: 16_069_000 picoseconds.
648		Weight::from_parts(16_631_000, 3643)
649			.saturating_add(RocksDbWeight::get().reads(2_u64))
650			.saturating_add(RocksDbWeight::get().writes(1_u64))
651	}
652	/// Storage: `Uniques::Asset` (r:1 w:1)
653	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
654	/// Storage: `Uniques::Class` (r:1 w:0)
655	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
656	fn thaw() -> Weight {
657		// Proof Size summary in bytes:
658		//  Measured:  `370`
659		//  Estimated: `3643`
660		// Minimum execution time: 15_884_000 picoseconds.
661		Weight::from_parts(16_431_000, 3643)
662			.saturating_add(RocksDbWeight::get().reads(2_u64))
663			.saturating_add(RocksDbWeight::get().writes(1_u64))
664	}
665	/// Storage: `Uniques::Class` (r:1 w:1)
666	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
667	fn freeze_collection() -> Weight {
668		// Proof Size summary in bytes:
669		//  Measured:  `223`
670		//  Estimated: `3643`
671		// Minimum execution time: 10_389_000 picoseconds.
672		Weight::from_parts(10_623_000, 3643)
673			.saturating_add(RocksDbWeight::get().reads(1_u64))
674			.saturating_add(RocksDbWeight::get().writes(1_u64))
675	}
676	/// Storage: `Uniques::Class` (r:1 w:1)
677	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
678	fn thaw_collection() -> Weight {
679		// Proof Size summary in bytes:
680		//  Measured:  `223`
681		//  Estimated: `3643`
682		// Minimum execution time: 10_392_000 picoseconds.
683		Weight::from_parts(10_673_000, 3643)
684			.saturating_add(RocksDbWeight::get().reads(1_u64))
685			.saturating_add(RocksDbWeight::get().writes(1_u64))
686	}
687	/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
688	/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
689	/// Storage: `Uniques::Class` (r:1 w:1)
690	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
691	/// Storage: `System::Account` (r:1 w:1)
692	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
693	/// Storage: `Uniques::ClassAccount` (r:0 w:2)
694	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
695	fn transfer_ownership() -> Weight {
696		// Proof Size summary in bytes:
697		//  Measured:  `400`
698		//  Estimated: `3643`
699		// Minimum execution time: 23_165_000 picoseconds.
700		Weight::from_parts(24_074_000, 3643)
701			.saturating_add(RocksDbWeight::get().reads(3_u64))
702			.saturating_add(RocksDbWeight::get().writes(5_u64))
703	}
704	/// Storage: `Uniques::Class` (r:1 w:1)
705	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
706	fn set_team() -> Weight {
707		// Proof Size summary in bytes:
708		//  Measured:  `223`
709		//  Estimated: `3643`
710		// Minimum execution time: 10_564_000 picoseconds.
711		Weight::from_parts(10_800_000, 3643)
712			.saturating_add(RocksDbWeight::get().reads(1_u64))
713			.saturating_add(RocksDbWeight::get().writes(1_u64))
714	}
715	/// Storage: `Uniques::Class` (r:1 w:1)
716	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
717	/// Storage: `Uniques::ClassAccount` (r:0 w:1)
718	/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
719	fn force_item_status() -> Weight {
720		// Proof Size summary in bytes:
721		//  Measured:  `223`
722		//  Estimated: `3643`
723		// Minimum execution time: 14_180_000 picoseconds.
724		Weight::from_parts(14_571_000, 3643)
725			.saturating_add(RocksDbWeight::get().reads(1_u64))
726			.saturating_add(RocksDbWeight::get().writes(2_u64))
727	}
728	/// Storage: `Uniques::Class` (r:1 w:1)
729	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
730	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
731	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
732	/// Storage: `Uniques::Attribute` (r:1 w:1)
733	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
734	fn set_attribute() -> Weight {
735		// Proof Size summary in bytes:
736		//  Measured:  `501`
737		//  Estimated: `3652`
738		// Minimum execution time: 36_623_000 picoseconds.
739		Weight::from_parts(37_377_000, 3652)
740			.saturating_add(RocksDbWeight::get().reads(3_u64))
741			.saturating_add(RocksDbWeight::get().writes(2_u64))
742	}
743	/// Storage: `Uniques::Class` (r:1 w:1)
744	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
745	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
746	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
747	/// Storage: `Uniques::Attribute` (r:1 w:1)
748	/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
749	fn clear_attribute() -> Weight {
750		// Proof Size summary in bytes:
751		//  Measured:  `698`
752		//  Estimated: `3652`
753		// Minimum execution time: 35_248_000 picoseconds.
754		Weight::from_parts(36_162_000, 3652)
755			.saturating_add(RocksDbWeight::get().reads(3_u64))
756			.saturating_add(RocksDbWeight::get().writes(2_u64))
757	}
758	/// Storage: `Uniques::Class` (r:1 w:1)
759	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
760	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
761	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
762	fn set_metadata() -> Weight {
763		// Proof Size summary in bytes:
764		//  Measured:  `290`
765		//  Estimated: `3652`
766		// Minimum execution time: 26_740_000 picoseconds.
767		Weight::from_parts(27_339_000, 3652)
768			.saturating_add(RocksDbWeight::get().reads(2_u64))
769			.saturating_add(RocksDbWeight::get().writes(2_u64))
770	}
771	/// Storage: `Uniques::Class` (r:1 w:1)
772	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
773	/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
774	/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
775	fn clear_metadata() -> Weight {
776		// Proof Size summary in bytes:
777		//  Measured:  `501`
778		//  Estimated: `3652`
779		// Minimum execution time: 28_165_000 picoseconds.
780		Weight::from_parts(28_960_000, 3652)
781			.saturating_add(RocksDbWeight::get().reads(2_u64))
782			.saturating_add(RocksDbWeight::get().writes(2_u64))
783	}
784	/// Storage: `Uniques::Class` (r:1 w:1)
785	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
786	/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
787	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
788	fn set_collection_metadata() -> Weight {
789		// Proof Size summary in bytes:
790		//  Measured:  `223`
791		//  Estimated: `3643`
792		// Minimum execution time: 27_430_000 picoseconds.
793		Weight::from_parts(27_965_000, 3643)
794			.saturating_add(RocksDbWeight::get().reads(2_u64))
795			.saturating_add(RocksDbWeight::get().writes(2_u64))
796	}
797	/// Storage: `Uniques::Class` (r:1 w:1)
798	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
799	/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
800	/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
801	fn clear_collection_metadata() -> Weight {
802		// Proof Size summary in bytes:
803		//  Measured:  `414`
804		//  Estimated: `3643`
805		// Minimum execution time: 26_863_000 picoseconds.
806		Weight::from_parts(27_498_000, 3643)
807			.saturating_add(RocksDbWeight::get().reads(2_u64))
808			.saturating_add(RocksDbWeight::get().writes(2_u64))
809	}
810	/// Storage: `Uniques::Class` (r:1 w:0)
811	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
812	/// Storage: `Uniques::Asset` (r:1 w:1)
813	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
814	fn approve_transfer() -> Weight {
815		// Proof Size summary in bytes:
816		//  Measured:  `370`
817		//  Estimated: `3643`
818		// Minimum execution time: 16_303_000 picoseconds.
819		Weight::from_parts(16_577_000, 3643)
820			.saturating_add(RocksDbWeight::get().reads(2_u64))
821			.saturating_add(RocksDbWeight::get().writes(1_u64))
822	}
823	/// Storage: `Uniques::Class` (r:1 w:0)
824	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
825	/// Storage: `Uniques::Asset` (r:1 w:1)
826	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
827	fn cancel_approval() -> Weight {
828		// Proof Size summary in bytes:
829		//  Measured:  `403`
830		//  Estimated: `3643`
831		// Minimum execution time: 15_982_000 picoseconds.
832		Weight::from_parts(16_566_000, 3643)
833			.saturating_add(RocksDbWeight::get().reads(2_u64))
834			.saturating_add(RocksDbWeight::get().writes(1_u64))
835	}
836	/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
837	/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
838	fn set_accept_ownership() -> Weight {
839		// Proof Size summary in bytes:
840		//  Measured:  `0`
841		//  Estimated: `3517`
842		// Minimum execution time: 9_885_000 picoseconds.
843		Weight::from_parts(10_204_000, 3517)
844			.saturating_add(RocksDbWeight::get().reads(1_u64))
845			.saturating_add(RocksDbWeight::get().writes(1_u64))
846	}
847	/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1)
848	/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
849	/// Storage: `Uniques::Class` (r:1 w:0)
850	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
851	fn set_collection_max_supply() -> Weight {
852		// Proof Size summary in bytes:
853		//  Measured:  `223`
854		//  Estimated: `3643`
855		// Minimum execution time: 13_280_000 picoseconds.
856		Weight::from_parts(13_587_000, 3643)
857			.saturating_add(RocksDbWeight::get().reads(2_u64))
858			.saturating_add(RocksDbWeight::get().writes(1_u64))
859	}
860	/// Storage: `Uniques::Asset` (r:1 w:0)
861	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
862	/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
863	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
864	fn set_price() -> Weight {
865		// Proof Size summary in bytes:
866		//  Measured:  `201`
867		//  Estimated: `3587`
868		// Minimum execution time: 12_823_000 picoseconds.
869		Weight::from_parts(13_131_000, 3587)
870			.saturating_add(RocksDbWeight::get().reads(1_u64))
871			.saturating_add(RocksDbWeight::get().writes(1_u64))
872	}
873	/// Storage: `Uniques::Asset` (r:1 w:1)
874	/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
875	/// Storage: `Uniques::ItemPriceOf` (r:1 w:1)
876	/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
877	/// Storage: `Uniques::Class` (r:1 w:0)
878	/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
879	/// Storage: `Uniques::Account` (r:0 w:2)
880	/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
881	fn buy_item() -> Weight {
882		// Proof Size summary in bytes:
883		//  Measured:  `482`
884		//  Estimated: `3643`
885		// Minimum execution time: 32_336_000 picoseconds.
886		Weight::from_parts(32_973_000, 3643)
887			.saturating_add(RocksDbWeight::get().reads(3_u64))
888			.saturating_add(RocksDbWeight::get().writes(4_u64))
889	}
890}