referrerpolicy=no-referrer-when-downgrade

asset_hub_rococo_runtime/weights/
pallet_nfts.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_nfts`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `ef4134d66388`, 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-rococo-runtime/asset_hub_rococo_runtime.wasm
31// --pallet=pallet_nfts
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/assets/asset-hub-rococo/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_nfts`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_nfts::WeightInfo for WeightInfo<T> {
53	/// Storage: `Nfts::NextCollectionId` (r:1 w:1)
54	/// Proof: `Nfts::NextCollectionId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
55	/// Storage: `Nfts::Collection` (r:1 w:1)
56	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
57	/// Storage: `Nfts::CollectionRoleOf` (r:0 w:1)
58	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
59	/// Storage: `Nfts::CollectionConfigOf` (r:0 w:1)
60	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
61	/// Storage: `Nfts::CollectionAccount` (r:0 w:1)
62	/// Proof: `Nfts::CollectionAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
63	fn create() -> Weight {
64		// Proof Size summary in bytes:
65		//  Measured:  `106`
66		//  Estimated: `3549`
67		// Minimum execution time: 34_883_000 picoseconds.
68		Weight::from_parts(36_018_000, 0)
69			.saturating_add(Weight::from_parts(0, 3549))
70			.saturating_add(T::DbWeight::get().reads(2))
71			.saturating_add(T::DbWeight::get().writes(5))
72	}
73	/// Storage: `Nfts::NextCollectionId` (r:1 w:1)
74	/// Proof: `Nfts::NextCollectionId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
75	/// Storage: `Nfts::Collection` (r:1 w:1)
76	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
77	/// Storage: `Nfts::CollectionRoleOf` (r:0 w:1)
78	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
79	/// Storage: `Nfts::CollectionConfigOf` (r:0 w:1)
80	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
81	/// Storage: `Nfts::CollectionAccount` (r:0 w:1)
82	/// Proof: `Nfts::CollectionAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
83	fn force_create() -> Weight {
84		// Proof Size summary in bytes:
85		//  Measured:  `3`
86		//  Estimated: `3549`
87		// Minimum execution time: 19_860_000 picoseconds.
88		Weight::from_parts(20_333_000, 0)
89			.saturating_add(Weight::from_parts(0, 3549))
90			.saturating_add(T::DbWeight::get().reads(2))
91			.saturating_add(T::DbWeight::get().writes(5))
92	}
93	/// Storage: `Nfts::Collection` (r:1 w:1)
94	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
95	/// Storage: `Nfts::ItemMetadataOf` (r:1 w:0)
96	/// Proof: `Nfts::ItemMetadataOf` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
97	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:1)
98	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
99	/// Storage: `Nfts::Attribute` (r:1001 w:1000)
100	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
101	/// Storage: `Nfts::ItemConfigOf` (r:1000 w:1000)
102	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
103	/// Storage: `Nfts::CollectionMetadataOf` (r:0 w:1)
104	/// Proof: `Nfts::CollectionMetadataOf` (`max_values`: None, `max_size`: Some(294), added: 2769, mode: `MaxEncodedLen`)
105	/// Storage: `Nfts::CollectionConfigOf` (r:0 w:1)
106	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
107	/// Storage: `Nfts::CollectionAccount` (r:0 w:1)
108	/// Proof: `Nfts::CollectionAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
109	/// The range of component `m` is `[0, 1000]`.
110	/// The range of component `c` is `[0, 1000]`.
111	/// The range of component `a` is `[0, 1000]`.
112	fn destroy(m: u32, c: u32, a: u32, ) -> Weight {
113		// Proof Size summary in bytes:
114		//  Measured:  `32131 + a * (366 ±0)`
115		//  Estimated: `2523990 + a * (2954 ±0)`
116		// Minimum execution time: 1_330_754_000 picoseconds.
117		Weight::from_parts(321_502_400, 0)
118			.saturating_add(Weight::from_parts(0, 2523990))
119			// Standard Error: 52_363
120			.saturating_add(Weight::from_parts(1_048_849, 0).saturating_mul(m.into()))
121			// Standard Error: 52_363
122			.saturating_add(Weight::from_parts(801_982, 0).saturating_mul(c.into()))
123			// Standard Error: 52_363
124			.saturating_add(Weight::from_parts(7_105_707, 0).saturating_mul(a.into()))
125			.saturating_add(T::DbWeight::get().reads(1004))
126			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
127			.saturating_add(T::DbWeight::get().writes(1005))
128			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
129			.saturating_add(Weight::from_parts(0, 2954).saturating_mul(a.into()))
130	}
131	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
132	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
133	/// Storage: `Nfts::Item` (r:1 w:1)
134	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
135	/// Storage: `Nfts::Collection` (r:1 w:1)
136	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
137	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
138	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
139	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
140	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
141	/// Storage: `Nfts::Account` (r:0 w:1)
142	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
143	fn mint() -> Weight {
144		// Proof Size summary in bytes:
145		//  Measured:  `382`
146		//  Estimated: `4326`
147		// Minimum execution time: 51_460_000 picoseconds.
148		Weight::from_parts(53_447_000, 0)
149			.saturating_add(Weight::from_parts(0, 4326))
150			.saturating_add(T::DbWeight::get().reads(5))
151			.saturating_add(T::DbWeight::get().writes(4))
152	}
153	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
154	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
155	/// Storage: `Nfts::Item` (r:1 w:1)
156	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
157	/// Storage: `Nfts::Collection` (r:1 w:1)
158	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
159	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
160	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
161	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
162	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
163	/// Storage: `Nfts::Account` (r:0 w:1)
164	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
165	fn force_mint() -> Weight {
166		// Proof Size summary in bytes:
167		//  Measured:  `382`
168		//  Estimated: `4326`
169		// Minimum execution time: 50_143_000 picoseconds.
170		Weight::from_parts(51_510_000, 0)
171			.saturating_add(Weight::from_parts(0, 4326))
172			.saturating_add(T::DbWeight::get().reads(5))
173			.saturating_add(T::DbWeight::get().writes(4))
174	}
175	/// Storage: `Nfts::Attribute` (r:1 w:0)
176	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
177	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
178	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
179	/// Storage: `Nfts::Collection` (r:1 w:1)
180	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
181	/// Storage: `Nfts::Item` (r:1 w:1)
182	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
183	/// Storage: `Nfts::ItemMetadataOf` (r:1 w:0)
184	/// Proof: `Nfts::ItemMetadataOf` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
185	/// Storage: `Nfts::Account` (r:0 w:1)
186	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
187	/// Storage: `Nfts::ItemPriceOf` (r:0 w:1)
188	/// Proof: `Nfts::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
189	/// Storage: `Nfts::ItemAttributesApprovalsOf` (r:0 w:1)
190	/// Proof: `Nfts::ItemAttributesApprovalsOf` (`max_values`: None, `max_size`: Some(1001), added: 3476, mode: `MaxEncodedLen`)
191	/// Storage: `Nfts::PendingSwapOf` (r:0 w:1)
192	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
193	fn burn() -> Weight {
194		// Proof Size summary in bytes:
195		//  Measured:  `491`
196		//  Estimated: `4326`
197		// Minimum execution time: 58_855_000 picoseconds.
198		Weight::from_parts(60_025_000, 0)
199			.saturating_add(Weight::from_parts(0, 4326))
200			.saturating_add(T::DbWeight::get().reads(5))
201			.saturating_add(T::DbWeight::get().writes(7))
202	}
203	/// Storage: `Nfts::Collection` (r:1 w:0)
204	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
205	/// Storage: `Nfts::Attribute` (r:1 w:0)
206	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
207	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
208	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
209	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
210	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
211	/// Storage: `Nfts::Item` (r:1 w:1)
212	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
213	/// Storage: `Nfts::Account` (r:0 w:2)
214	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
215	/// Storage: `Nfts::ItemPriceOf` (r:0 w:1)
216	/// Proof: `Nfts::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
217	/// Storage: `Nfts::PendingSwapOf` (r:0 w:1)
218	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
219	fn transfer() -> Weight {
220		// Proof Size summary in bytes:
221		//  Measured:  `520`
222		//  Estimated: `4326`
223		// Minimum execution time: 46_689_000 picoseconds.
224		Weight::from_parts(48_831_000, 0)
225			.saturating_add(Weight::from_parts(0, 4326))
226			.saturating_add(T::DbWeight::get().reads(5))
227			.saturating_add(T::DbWeight::get().writes(5))
228	}
229	/// Storage: `Nfts::Collection` (r:1 w:0)
230	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
231	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
232	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
233	/// Storage: `Nfts::Item` (r:5000 w:5000)
234	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
235	/// The range of component `i` is `[0, 5000]`.
236	fn redeposit(i: u32, ) -> Weight {
237		// Proof Size summary in bytes:
238		//  Measured:  `690 + i * (108 ±0)`
239		//  Estimated: `3549 + i * (3336 ±0)`
240		// Minimum execution time: 15_586_000 picoseconds.
241		Weight::from_parts(15_760_000, 0)
242			.saturating_add(Weight::from_parts(0, 3549))
243			// Standard Error: 39_105
244			.saturating_add(Weight::from_parts(19_035_710, 0).saturating_mul(i.into()))
245			.saturating_add(T::DbWeight::get().reads(2))
246			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
247			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
248			.saturating_add(Weight::from_parts(0, 3336).saturating_mul(i.into()))
249	}
250	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
251	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
252	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
253	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
254	fn lock_item_transfer() -> Weight {
255		// Proof Size summary in bytes:
256		//  Measured:  `362`
257		//  Estimated: `3534`
258		// Minimum execution time: 20_193_000 picoseconds.
259		Weight::from_parts(20_808_000, 0)
260			.saturating_add(Weight::from_parts(0, 3534))
261			.saturating_add(T::DbWeight::get().reads(2))
262			.saturating_add(T::DbWeight::get().writes(1))
263	}
264	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
265	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
266	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
267	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
268	fn unlock_item_transfer() -> Weight {
269		// Proof Size summary in bytes:
270		//  Measured:  `362`
271		//  Estimated: `3534`
272		// Minimum execution time: 20_063_000 picoseconds.
273		Weight::from_parts(20_896_000, 0)
274			.saturating_add(Weight::from_parts(0, 3534))
275			.saturating_add(T::DbWeight::get().reads(2))
276			.saturating_add(T::DbWeight::get().writes(1))
277	}
278	/// Storage: `Nfts::Collection` (r:1 w:0)
279	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
280	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:1)
281	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
282	fn lock_collection() -> Weight {
283		// Proof Size summary in bytes:
284		//  Measured:  `267`
285		//  Estimated: `3549`
286		// Minimum execution time: 16_152_000 picoseconds.
287		Weight::from_parts(16_679_000, 0)
288			.saturating_add(Weight::from_parts(0, 3549))
289			.saturating_add(T::DbWeight::get().reads(2))
290			.saturating_add(T::DbWeight::get().writes(1))
291	}
292	/// Storage: `Nfts::OwnershipAcceptance` (r:1 w:1)
293	/// Proof: `Nfts::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
294	/// Storage: `Nfts::Collection` (r:1 w:1)
295	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
296	/// Storage: `System::Account` (r:1 w:1)
297	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
298	/// Storage: `Nfts::CollectionAccount` (r:0 w:2)
299	/// Proof: `Nfts::CollectionAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
300	fn transfer_ownership() -> Weight {
301		// Proof Size summary in bytes:
302		//  Measured:  `418`
303		//  Estimated: `3593`
304		// Minimum execution time: 31_117_000 picoseconds.
305		Weight::from_parts(32_431_000, 0)
306			.saturating_add(Weight::from_parts(0, 3593))
307			.saturating_add(T::DbWeight::get().reads(3))
308			.saturating_add(T::DbWeight::get().writes(5))
309	}
310	/// Storage: `Nfts::Collection` (r:1 w:1)
311	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
312	/// Storage: `Nfts::CollectionRoleOf` (r:2 w:4)
313	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
314	fn set_team() -> Weight {
315		// Proof Size summary in bytes:
316		//  Measured:  `296`
317		//  Estimated: `6078`
318		// Minimum execution time: 40_132_000 picoseconds.
319		Weight::from_parts(41_760_000, 0)
320			.saturating_add(Weight::from_parts(0, 6078))
321			.saturating_add(T::DbWeight::get().reads(3))
322			.saturating_add(T::DbWeight::get().writes(5))
323	}
324	/// Storage: `Nfts::Collection` (r:1 w:1)
325	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
326	/// Storage: `Nfts::CollectionAccount` (r:0 w:2)
327	/// Proof: `Nfts::CollectionAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
328	fn force_collection_owner() -> Weight {
329		// Proof Size summary in bytes:
330		//  Measured:  `238`
331		//  Estimated: `3549`
332		// Minimum execution time: 16_163_000 picoseconds.
333		Weight::from_parts(16_846_000, 0)
334			.saturating_add(Weight::from_parts(0, 3549))
335			.saturating_add(T::DbWeight::get().reads(1))
336			.saturating_add(T::DbWeight::get().writes(3))
337	}
338	/// Storage: `Nfts::Collection` (r:1 w:0)
339	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
340	/// Storage: `Nfts::CollectionConfigOf` (r:0 w:1)
341	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
342	fn force_collection_config() -> Weight {
343		// Proof Size summary in bytes:
344		//  Measured:  `203`
345		//  Estimated: `3549`
346		// Minimum execution time: 12_957_000 picoseconds.
347		Weight::from_parts(13_489_000, 0)
348			.saturating_add(Weight::from_parts(0, 3549))
349			.saturating_add(T::DbWeight::get().reads(1))
350			.saturating_add(T::DbWeight::get().writes(1))
351	}
352	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
353	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
354	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
355	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
356	fn lock_item_properties() -> Weight {
357		// Proof Size summary in bytes:
358		//  Measured:  `362`
359		//  Estimated: `3534`
360		// Minimum execution time: 18_801_000 picoseconds.
361		Weight::from_parts(19_635_000, 0)
362			.saturating_add(Weight::from_parts(0, 3534))
363			.saturating_add(T::DbWeight::get().reads(2))
364			.saturating_add(T::DbWeight::get().writes(1))
365	}
366	/// Storage: `Nfts::Collection` (r:1 w:1)
367	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
368	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
369	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
370	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
371	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
372	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
373	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
374	/// Storage: `Nfts::Attribute` (r:1 w:1)
375	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
376	fn set_attribute() -> Weight {
377		// Proof Size summary in bytes:
378		//  Measured:  `466`
379		//  Estimated: `3944`
380		// Minimum execution time: 56_576_000 picoseconds.
381		Weight::from_parts(58_329_000, 0)
382			.saturating_add(Weight::from_parts(0, 3944))
383			.saturating_add(T::DbWeight::get().reads(5))
384			.saturating_add(T::DbWeight::get().writes(2))
385	}
386	/// Storage: `Nfts::Collection` (r:1 w:1)
387	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
388	/// Storage: `Nfts::Attribute` (r:1 w:1)
389	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
390	fn force_set_attribute() -> Weight {
391		// Proof Size summary in bytes:
392		//  Measured:  `271`
393		//  Estimated: `3944`
394		// Minimum execution time: 25_682_000 picoseconds.
395		Weight::from_parts(26_430_000, 0)
396			.saturating_add(Weight::from_parts(0, 3944))
397			.saturating_add(T::DbWeight::get().reads(2))
398			.saturating_add(T::DbWeight::get().writes(2))
399	}
400	/// Storage: `Nfts::Attribute` (r:1 w:1)
401	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
402	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
403	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
404	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
405	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
406	/// Storage: `Nfts::Collection` (r:1 w:1)
407	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
408	fn clear_attribute() -> Weight {
409		// Proof Size summary in bytes:
410		//  Measured:  `910`
411		//  Estimated: `3944`
412		// Minimum execution time: 52_307_000 picoseconds.
413		Weight::from_parts(54_136_000, 0)
414			.saturating_add(Weight::from_parts(0, 3944))
415			.saturating_add(T::DbWeight::get().reads(4))
416			.saturating_add(T::DbWeight::get().writes(2))
417	}
418	/// Storage: `Nfts::Item` (r:1 w:0)
419	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
420	/// Storage: `Nfts::ItemAttributesApprovalsOf` (r:1 w:1)
421	/// Proof: `Nfts::ItemAttributesApprovalsOf` (`max_values`: None, `max_size`: Some(1001), added: 3476, mode: `MaxEncodedLen`)
422	fn approve_item_attributes() -> Weight {
423		// Proof Size summary in bytes:
424		//  Measured:  `308`
425		//  Estimated: `4466`
426		// Minimum execution time: 16_635_000 picoseconds.
427		Weight::from_parts(17_460_000, 0)
428			.saturating_add(Weight::from_parts(0, 4466))
429			.saturating_add(T::DbWeight::get().reads(2))
430			.saturating_add(T::DbWeight::get().writes(1))
431	}
432	/// Storage: `Nfts::Item` (r:1 w:0)
433	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
434	/// Storage: `Nfts::ItemAttributesApprovalsOf` (r:1 w:1)
435	/// Proof: `Nfts::ItemAttributesApprovalsOf` (`max_values`: None, `max_size`: Some(1001), added: 3476, mode: `MaxEncodedLen`)
436	/// Storage: `Nfts::Attribute` (r:1001 w:1000)
437	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
438	/// Storage: `System::Account` (r:1 w:1)
439	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
440	/// The range of component `n` is `[0, 1000]`.
441	fn cancel_item_attributes_approval(n: u32, ) -> Weight {
442		// Proof Size summary in bytes:
443		//  Measured:  `687 + n * (398 ±0)`
444		//  Estimated: `4466 + n * (2954 ±0)`
445		// Minimum execution time: 26_486_000 picoseconds.
446		Weight::from_parts(26_874_000, 0)
447			.saturating_add(Weight::from_parts(0, 4466))
448			// Standard Error: 5_460
449			.saturating_add(Weight::from_parts(7_368_067, 0).saturating_mul(n.into()))
450			.saturating_add(T::DbWeight::get().reads(4))
451			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
452			.saturating_add(T::DbWeight::get().writes(2))
453			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
454			.saturating_add(Weight::from_parts(0, 2954).saturating_mul(n.into()))
455	}
456	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
457	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
458	/// Storage: `Nfts::Collection` (r:1 w:1)
459	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
460	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
461	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
462	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
463	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
464	/// Storage: `Nfts::ItemMetadataOf` (r:1 w:1)
465	/// Proof: `Nfts::ItemMetadataOf` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
466	fn set_metadata() -> Weight {
467		// Proof Size summary in bytes:
468		//  Measured:  `466`
469		//  Estimated: `3812`
470		// Minimum execution time: 47_106_000 picoseconds.
471		Weight::from_parts(47_999_000, 0)
472			.saturating_add(Weight::from_parts(0, 3812))
473			.saturating_add(T::DbWeight::get().reads(5))
474			.saturating_add(T::DbWeight::get().writes(2))
475	}
476	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
477	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
478	/// Storage: `Nfts::ItemMetadataOf` (r:1 w:1)
479	/// Proof: `Nfts::ItemMetadataOf` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
480	/// Storage: `Nfts::Collection` (r:1 w:1)
481	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
482	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
483	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
484	fn clear_metadata() -> Weight {
485		// Proof Size summary in bytes:
486		//  Measured:  `776`
487		//  Estimated: `3812`
488		// Minimum execution time: 44_996_000 picoseconds.
489		Weight::from_parts(46_287_000, 0)
490			.saturating_add(Weight::from_parts(0, 3812))
491			.saturating_add(T::DbWeight::get().reads(4))
492			.saturating_add(T::DbWeight::get().writes(2))
493	}
494	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
495	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
496	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
497	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
498	/// Storage: `Nfts::Collection` (r:1 w:1)
499	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
500	/// Storage: `Nfts::CollectionMetadataOf` (r:1 w:1)
501	/// Proof: `Nfts::CollectionMetadataOf` (`max_values`: None, `max_size`: Some(294), added: 2769, mode: `MaxEncodedLen`)
502	fn set_collection_metadata() -> Weight {
503		// Proof Size summary in bytes:
504		//  Measured:  `325`
505		//  Estimated: `3759`
506		// Minimum execution time: 38_137_000 picoseconds.
507		Weight::from_parts(38_970_000, 0)
508			.saturating_add(Weight::from_parts(0, 3759))
509			.saturating_add(T::DbWeight::get().reads(4))
510			.saturating_add(T::DbWeight::get().writes(2))
511	}
512	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
513	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
514	/// Storage: `Nfts::Collection` (r:1 w:1)
515	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
516	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
517	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
518	/// Storage: `Nfts::CollectionMetadataOf` (r:1 w:1)
519	/// Proof: `Nfts::CollectionMetadataOf` (`max_values`: None, `max_size`: Some(294), added: 2769, mode: `MaxEncodedLen`)
520	fn clear_collection_metadata() -> Weight {
521		// Proof Size summary in bytes:
522		//  Measured:  `643`
523		//  Estimated: `3759`
524		// Minimum execution time: 41_582_000 picoseconds.
525		Weight::from_parts(43_640_000, 0)
526			.saturating_add(Weight::from_parts(0, 3759))
527			.saturating_add(T::DbWeight::get().reads(4))
528			.saturating_add(T::DbWeight::get().writes(2))
529	}
530	/// Storage: `Nfts::Item` (r:1 w:1)
531	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
532	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
533	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
534	fn approve_transfer() -> Weight {
535		// Proof Size summary in bytes:
536		//  Measured:  `337`
537		//  Estimated: `4326`
538		// Minimum execution time: 19_880_000 picoseconds.
539		Weight::from_parts(20_501_000, 0)
540			.saturating_add(Weight::from_parts(0, 4326))
541			.saturating_add(T::DbWeight::get().reads(2))
542			.saturating_add(T::DbWeight::get().writes(1))
543	}
544	/// Storage: `Nfts::Item` (r:1 w:1)
545	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
546	fn cancel_approval() -> Weight {
547		// Proof Size summary in bytes:
548		//  Measured:  `345`
549		//  Estimated: `4326`
550		// Minimum execution time: 16_740_000 picoseconds.
551		Weight::from_parts(17_562_000, 0)
552			.saturating_add(Weight::from_parts(0, 4326))
553			.saturating_add(T::DbWeight::get().reads(1))
554			.saturating_add(T::DbWeight::get().writes(1))
555	}
556	/// Storage: `Nfts::Item` (r:1 w:1)
557	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
558	fn clear_all_transfer_approvals() -> Weight {
559		// Proof Size summary in bytes:
560		//  Measured:  `345`
561		//  Estimated: `4326`
562		// Minimum execution time: 16_112_000 picoseconds.
563		Weight::from_parts(16_883_000, 0)
564			.saturating_add(Weight::from_parts(0, 4326))
565			.saturating_add(T::DbWeight::get().reads(1))
566			.saturating_add(T::DbWeight::get().writes(1))
567	}
568	/// Storage: `Nfts::OwnershipAcceptance` (r:1 w:1)
569	/// Proof: `Nfts::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
570	fn set_accept_ownership() -> Weight {
571		// Proof Size summary in bytes:
572		//  Measured:  `3`
573		//  Estimated: `3517`
574		// Minimum execution time: 12_763_000 picoseconds.
575		Weight::from_parts(13_412_000, 0)
576			.saturating_add(Weight::from_parts(0, 3517))
577			.saturating_add(T::DbWeight::get().reads(1))
578			.saturating_add(T::DbWeight::get().writes(1))
579	}
580	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:1)
581	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
582	/// Storage: `Nfts::Collection` (r:1 w:0)
583	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
584	fn set_collection_max_supply() -> Weight {
585		// Proof Size summary in bytes:
586		//  Measured:  `267`
587		//  Estimated: `3549`
588		// Minimum execution time: 17_842_000 picoseconds.
589		Weight::from_parts(18_541_000, 0)
590			.saturating_add(Weight::from_parts(0, 3549))
591			.saturating_add(T::DbWeight::get().reads(2))
592			.saturating_add(T::DbWeight::get().writes(1))
593	}
594	/// Storage: `Nfts::CollectionRoleOf` (r:1 w:0)
595	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
596	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:1)
597	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
598	fn update_mint_settings() -> Weight {
599		// Proof Size summary in bytes:
600		//  Measured:  `250`
601		//  Estimated: `3538`
602		// Minimum execution time: 17_327_000 picoseconds.
603		Weight::from_parts(17_847_000, 0)
604			.saturating_add(Weight::from_parts(0, 3538))
605			.saturating_add(T::DbWeight::get().reads(2))
606			.saturating_add(T::DbWeight::get().writes(1))
607	}
608	/// Storage: `Nfts::Item` (r:1 w:0)
609	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
610	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
611	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
612	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
613	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
614	/// Storage: `Nfts::ItemPriceOf` (r:0 w:1)
615	/// Proof: `Nfts::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
616	fn set_price() -> Weight {
617		// Proof Size summary in bytes:
618		//  Measured:  `445`
619		//  Estimated: `4326`
620		// Minimum execution time: 23_836_000 picoseconds.
621		Weight::from_parts(24_978_000, 0)
622			.saturating_add(Weight::from_parts(0, 4326))
623			.saturating_add(T::DbWeight::get().reads(3))
624			.saturating_add(T::DbWeight::get().writes(1))
625	}
626	/// Storage: `Nfts::Item` (r:1 w:1)
627	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
628	/// Storage: `Nfts::ItemPriceOf` (r:1 w:1)
629	/// Proof: `Nfts::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
630	/// Storage: `Nfts::Collection` (r:1 w:0)
631	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
632	/// Storage: `Nfts::Attribute` (r:1 w:0)
633	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
634	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
635	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
636	/// Storage: `Nfts::ItemConfigOf` (r:1 w:0)
637	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
638	/// Storage: `Nfts::Account` (r:0 w:2)
639	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
640	/// Storage: `Nfts::PendingSwapOf` (r:0 w:1)
641	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
642	fn buy_item() -> Weight {
643		// Proof Size summary in bytes:
644		//  Measured:  `632`
645		//  Estimated: `4326`
646		// Minimum execution time: 56_280_000 picoseconds.
647		Weight::from_parts(57_527_000, 0)
648			.saturating_add(Weight::from_parts(0, 4326))
649			.saturating_add(T::DbWeight::get().reads(6))
650			.saturating_add(T::DbWeight::get().writes(5))
651	}
652	/// The range of component `n` is `[0, 10]`.
653	fn pay_tips(n: u32, ) -> Weight {
654		// Proof Size summary in bytes:
655		//  Measured:  `0`
656		//  Estimated: `0`
657		// Minimum execution time: 2_178_000 picoseconds.
658		Weight::from_parts(3_494_930, 0)
659			.saturating_add(Weight::from_parts(0, 0))
660			// Standard Error: 6_995
661			.saturating_add(Weight::from_parts(2_059_892, 0).saturating_mul(n.into()))
662	}
663	/// Storage: `Nfts::Item` (r:2 w:0)
664	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
665	/// Storage: `Nfts::PendingSwapOf` (r:0 w:1)
666	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
667	fn create_swap() -> Weight {
668		// Proof Size summary in bytes:
669		//  Measured:  `421`
670		//  Estimated: `7662`
671		// Minimum execution time: 20_957_000 picoseconds.
672		Weight::from_parts(21_845_000, 0)
673			.saturating_add(Weight::from_parts(0, 7662))
674			.saturating_add(T::DbWeight::get().reads(2))
675			.saturating_add(T::DbWeight::get().writes(1))
676	}
677	/// Storage: `Nfts::PendingSwapOf` (r:1 w:1)
678	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
679	/// Storage: `Nfts::Item` (r:1 w:0)
680	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
681	fn cancel_swap() -> Weight {
682		// Proof Size summary in bytes:
683		//  Measured:  `440`
684		//  Estimated: `4326`
685		// Minimum execution time: 24_881_000 picoseconds.
686		Weight::from_parts(25_701_000, 0)
687			.saturating_add(Weight::from_parts(0, 4326))
688			.saturating_add(T::DbWeight::get().reads(2))
689			.saturating_add(T::DbWeight::get().writes(1))
690	}
691	/// Storage: `Nfts::Item` (r:2 w:2)
692	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
693	/// Storage: `Nfts::PendingSwapOf` (r:1 w:2)
694	/// Proof: `Nfts::PendingSwapOf` (`max_values`: None, `max_size`: Some(71), added: 2546, mode: `MaxEncodedLen`)
695	/// Storage: `Nfts::Collection` (r:1 w:0)
696	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
697	/// Storage: `Nfts::Attribute` (r:2 w:0)
698	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
699	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
700	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
701	/// Storage: `Nfts::ItemConfigOf` (r:2 w:0)
702	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
703	/// Storage: `Nfts::Account` (r:0 w:4)
704	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
705	/// Storage: `Nfts::ItemPriceOf` (r:0 w:2)
706	/// Proof: `Nfts::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
707	fn claim_swap() -> Weight {
708		// Proof Size summary in bytes:
709		//  Measured:  `761`
710		//  Estimated: `7662`
711		// Minimum execution time: 90_772_000 picoseconds.
712		Weight::from_parts(92_780_000, 0)
713			.saturating_add(Weight::from_parts(0, 7662))
714			.saturating_add(T::DbWeight::get().reads(9))
715			.saturating_add(T::DbWeight::get().writes(10))
716	}
717	/// Storage: `Nfts::CollectionRoleOf` (r:2 w:0)
718	/// Proof: `Nfts::CollectionRoleOf` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`)
719	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
720	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
721	/// Storage: `Nfts::Item` (r:1 w:1)
722	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
723	/// Storage: `Nfts::Collection` (r:1 w:1)
724	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
725	/// Storage: `Nfts::ItemConfigOf` (r:1 w:1)
726	/// Proof: `Nfts::ItemConfigOf` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
727	/// Storage: `System::Account` (r:1 w:1)
728	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
729	/// Storage: `Nfts::Attribute` (r:10 w:10)
730	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
731	/// Storage: `Nfts::ItemMetadataOf` (r:1 w:1)
732	/// Proof: `Nfts::ItemMetadataOf` (`max_values`: None, `max_size`: Some(347), added: 2822, mode: `MaxEncodedLen`)
733	/// Storage: `Nfts::Account` (r:0 w:1)
734	/// Proof: `Nfts::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
735	/// The range of component `n` is `[0, 10]`.
736	fn mint_pre_signed(n: u32, ) -> Weight {
737		// Proof Size summary in bytes:
738		//  Measured:  `485`
739		//  Estimated: `6078 + n * (2954 ±0)`
740		// Minimum execution time: 133_774_000 picoseconds.
741		Weight::from_parts(143_151_611, 0)
742			.saturating_add(Weight::from_parts(0, 6078))
743			// Standard Error: 48_361
744			.saturating_add(Weight::from_parts(33_731_738, 0).saturating_mul(n.into()))
745			.saturating_add(T::DbWeight::get().reads(8))
746			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
747			.saturating_add(T::DbWeight::get().writes(6))
748			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
749			.saturating_add(Weight::from_parts(0, 2954).saturating_mul(n.into()))
750	}
751	/// Storage: `Nfts::Item` (r:1 w:0)
752	/// Proof: `Nfts::Item` (`max_values`: None, `max_size`: Some(861), added: 3336, mode: `MaxEncodedLen`)
753	/// Storage: `Nfts::ItemAttributesApprovalsOf` (r:1 w:1)
754	/// Proof: `Nfts::ItemAttributesApprovalsOf` (`max_values`: None, `max_size`: Some(1001), added: 3476, mode: `MaxEncodedLen`)
755	/// Storage: `Nfts::CollectionConfigOf` (r:1 w:0)
756	/// Proof: `Nfts::CollectionConfigOf` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
757	/// Storage: `Nfts::Collection` (r:1 w:1)
758	/// Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(84), added: 2559, mode: `MaxEncodedLen`)
759	/// Storage: `Nfts::Attribute` (r:10 w:10)
760	/// Proof: `Nfts::Attribute` (`max_values`: None, `max_size`: Some(479), added: 2954, mode: `MaxEncodedLen`)
761	/// Storage: `System::Account` (r:1 w:1)
762	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
763	/// The range of component `n` is `[0, 10]`.
764	fn set_attributes_pre_signed(n: u32, ) -> Weight {
765		// Proof Size summary in bytes:
766		//  Measured:  `515`
767		//  Estimated: `4466 + n * (2954 ±0)`
768		// Minimum execution time: 68_777_000 picoseconds.
769		Weight::from_parts(81_584_710, 0)
770			.saturating_add(Weight::from_parts(0, 4466))
771			// Standard Error: 73_511
772			.saturating_add(Weight::from_parts(33_342_515, 0).saturating_mul(n.into()))
773			.saturating_add(T::DbWeight::get().reads(4))
774			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
775			.saturating_add(T::DbWeight::get().writes(2))
776			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
777			.saturating_add(Weight::from_parts(0, 2954).saturating_mul(n.into()))
778	}
779}