git.delta.rocks / unique-network / refs/commits / 5ec8b824c3ad

difftreelog

source

pallets/nonfungible/src/weights.rs37.7 KiBsourcehistory
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_nonfungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/release/unique-collator13// benchmark14// pallet15// --pallet16// pallet-nonfungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/nonfungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_nonfungible.35pub trait WeightInfo {36	fn create_item() -> Weight;37	fn create_multiple_items(b: u32, ) -> Weight;38	fn create_multiple_items_ex(b: u32, ) -> Weight;39	fn burn_item() -> Weight;40	fn burn_recursively_self_raw() -> Weight;41	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight;42	fn transfer_raw() -> Weight;43	fn approve() -> Weight;44	fn approve_from() -> Weight;45	fn check_allowed_raw() -> Weight;46	fn burn_from() -> Weight;47	fn set_token_property_permissions(b: u32, ) -> Weight;48	fn set_token_properties(b: u32, ) -> Weight;49	fn reset_token_properties(b: u32, ) -> Weight;50	fn delete_token_properties(b: u32, ) -> Weight;51	fn token_owner() -> Weight;52	fn set_allowance_for_all() -> Weight;53	fn allowance_for_all() -> Weight;54	fn repair_item() -> Weight;55}5657/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.58pub struct SubstrateWeight<T>(PhantomData<T>);59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {60	/// Storage: Nonfungible TokensMinted (r:1 w:1)61	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)62	/// Storage: Nonfungible AccountBalance (r:1 w:1)63	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)64	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)65	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)66	/// Storage: Nonfungible TokenData (r:0 w:1)67	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)68	/// Storage: Nonfungible Owned (r:0 w:1)69	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)70	fn create_item() -> Weight {71		// Proof Size summary in bytes:72		//  Measured:  `456`73		//  Estimated: `20191`74		// Minimum execution time: 10_660_000 picoseconds.75		Weight::from_parts(10_960_000, 20191)76			.saturating_add(T::DbWeight::get().reads(3_u64))77			.saturating_add(T::DbWeight::get().writes(4_u64))78	}79	/// Storage: Nonfungible TokensMinted (r:1 w:1)80	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)81	/// Storage: Nonfungible AccountBalance (r:1 w:1)82	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)83	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)84	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)85	/// Storage: Nonfungible TokenData (r:0 w:200)86	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)87	/// Storage: Nonfungible Owned (r:0 w:200)88	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)89	/// The range of component `b` is `[0, 200]`.90	fn create_multiple_items(b: u32, ) -> Weight {91		// Proof Size summary in bytes:92		//  Measured:  `456`93		//  Estimated: `20191`94		// Minimum execution time: 2_200_000 picoseconds.95		Weight::from_parts(612_529, 20191)96			// Standard Error: 73797			.saturating_add(Weight::from_parts(3_807_625, 0).saturating_mul(b.into()))98			.saturating_add(T::DbWeight::get().reads(3_u64))99			.saturating_add(T::DbWeight::get().writes(2_u64))100			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))101	}102	/// Storage: Nonfungible TokensMinted (r:1 w:1)103	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)104	/// Storage: Nonfungible AccountBalance (r:200 w:200)105	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)106	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)107	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)108	/// Storage: Nonfungible TokenData (r:0 w:200)109	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)110	/// Storage: Nonfungible Owned (r:0 w:200)111	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)112	/// The range of component `b` is `[0, 200]`.113	fn create_multiple_items_ex(b: u32, ) -> Weight {114		// Proof Size summary in bytes:115		//  Measured:  `456`116		//  Estimated: `20191 + b * (2540 ±0)`117		// Minimum execution time: 2_190_000 picoseconds.118		Weight::from_parts(2_280_000, 20191)119			// Standard Error: 1_011120			.saturating_add(Weight::from_parts(4_931_681, 0).saturating_mul(b.into()))121			.saturating_add(T::DbWeight::get().reads(2_u64))122			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))123			.saturating_add(T::DbWeight::get().writes(1_u64))124			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))125			.saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))126	}127	/// Storage: Nonfungible TokenData (r:1 w:1)128	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)129	/// Storage: Nonfungible TokenChildren (r:1 w:0)130	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)131	/// Storage: Nonfungible TokensBurnt (r:1 w:1)132	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)133	/// Storage: Nonfungible AccountBalance (r:1 w:1)134	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)135	/// Storage: Nonfungible Allowance (r:1 w:0)136	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)137	/// Storage: Nonfungible Owned (r:0 w:1)138	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)139	/// Storage: Nonfungible TokenProperties (r:0 w:1)140	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)141	fn burn_item() -> Weight {142		// Proof Size summary in bytes:143		//  Measured:  `380`144		//  Estimated: `3530`145		// Minimum execution time: 13_470_000 picoseconds.146		Weight::from_parts(13_840_000, 3530)147			.saturating_add(T::DbWeight::get().reads(5_u64))148			.saturating_add(T::DbWeight::get().writes(5_u64))149	}150	/// Storage: Nonfungible TokenChildren (r:1 w:0)151	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)152	/// Storage: Nonfungible TokenData (r:1 w:1)153	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)154	/// Storage: Nonfungible TokensBurnt (r:1 w:1)155	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)156	/// Storage: Nonfungible AccountBalance (r:1 w:1)157	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)158	/// Storage: Nonfungible Allowance (r:1 w:0)159	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)160	/// Storage: Nonfungible Owned (r:0 w:1)161	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)162	/// Storage: Nonfungible TokenProperties (r:0 w:1)163	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)164	fn burn_recursively_self_raw() -> Weight {165		// Proof Size summary in bytes:166		//  Measured:  `380`167		//  Estimated: `3530`168		// Minimum execution time: 16_940_000 picoseconds.169		Weight::from_parts(17_340_000, 3530)170			.saturating_add(T::DbWeight::get().reads(5_u64))171			.saturating_add(T::DbWeight::get().writes(5_u64))172	}173	/// Storage: Nonfungible TokenChildren (r:401 w:200)174	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)175	/// Storage: Common CollectionById (r:1 w:0)176	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)177	/// Storage: Nonfungible TokenData (r:201 w:201)178	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)179	/// Storage: Nonfungible TokensBurnt (r:1 w:1)180	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)181	/// Storage: Nonfungible AccountBalance (r:2 w:2)182	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)183	/// Storage: Nonfungible Allowance (r:201 w:0)184	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)185	/// Storage: Nonfungible Owned (r:0 w:201)186	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)187	/// Storage: Nonfungible TokenProperties (r:0 w:201)188	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)189	/// The range of component `b` is `[0, 200]`.190	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {191		// Proof Size summary in bytes:192		//  Measured:  `1500 + b * (58 ±0)`193		//  Estimated: `5874 + b * (5032 ±0)`194		// Minimum execution time: 16_910_000 picoseconds.195		Weight::from_parts(17_170_000, 5874)196			// Standard Error: 102_760197			.saturating_add(Weight::from_parts(45_644_966, 0).saturating_mul(b.into()))198			.saturating_add(T::DbWeight::get().reads(7_u64))199			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))200			.saturating_add(T::DbWeight::get().writes(6_u64))201			.saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))202			.saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))203	}204	/// Storage: Nonfungible TokenData (r:1 w:1)205	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)206	/// Storage: Nonfungible AccountBalance (r:2 w:2)207	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)208	/// Storage: Nonfungible Allowance (r:1 w:0)209	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)210	/// Storage: Nonfungible Owned (r:0 w:2)211	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)212	fn transfer_raw() -> Weight {213		// Proof Size summary in bytes:214		//  Measured:  `380`215		//  Estimated: `6070`216		// Minimum execution time: 9_420_000 picoseconds.217		Weight::from_parts(9_710_000, 6070)218			.saturating_add(T::DbWeight::get().reads(4_u64))219			.saturating_add(T::DbWeight::get().writes(5_u64))220	}221	/// Storage: Nonfungible TokenData (r:1 w:0)222	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)223	/// Storage: Nonfungible Allowance (r:1 w:1)224	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)225	fn approve() -> Weight {226		// Proof Size summary in bytes:227		//  Measured:  `326`228		//  Estimated: `3522`229		// Minimum execution time: 5_400_000 picoseconds.230		Weight::from_parts(5_640_000, 3522)231			.saturating_add(T::DbWeight::get().reads(2_u64))232			.saturating_add(T::DbWeight::get().writes(1_u64))233	}234	/// Storage: Nonfungible TokenData (r:1 w:0)235	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)236	/// Storage: Nonfungible Allowance (r:1 w:1)237	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)238	fn approve_from() -> Weight {239		// Proof Size summary in bytes:240		//  Measured:  `313`241		//  Estimated: `3522`242		// Minimum execution time: 5_390_000 picoseconds.243		Weight::from_parts(5_610_000, 3522)244			.saturating_add(T::DbWeight::get().reads(2_u64))245			.saturating_add(T::DbWeight::get().writes(1_u64))246	}247	/// Storage: Nonfungible Allowance (r:1 w:0)248	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)249	fn check_allowed_raw() -> Weight {250		// Proof Size summary in bytes:251		//  Measured:  `362`252		//  Estimated: `3522`253		// Minimum execution time: 2_970_000 picoseconds.254		Weight::from_parts(3_170_000, 3522)255			.saturating_add(T::DbWeight::get().reads(1_u64))256	}257	/// Storage: Nonfungible Allowance (r:1 w:1)258	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)259	/// Storage: Nonfungible TokenData (r:1 w:1)260	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)261	/// Storage: Nonfungible TokenChildren (r:1 w:0)262	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)263	/// Storage: Nonfungible TokensBurnt (r:1 w:1)264	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)265	/// Storage: Nonfungible AccountBalance (r:1 w:1)266	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)267	/// Storage: Nonfungible Owned (r:0 w:1)268	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)269	/// Storage: Nonfungible TokenProperties (r:0 w:1)270	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)271	fn burn_from() -> Weight {272		// Proof Size summary in bytes:273		//  Measured:  `463`274		//  Estimated: `3530`275		// Minimum execution time: 15_400_000 picoseconds.276		Weight::from_parts(15_850_000, 3530)277			.saturating_add(T::DbWeight::get().reads(5_u64))278			.saturating_add(T::DbWeight::get().writes(6_u64))279	}280	/// Storage: Common CollectionPropertyPermissions (r:1 w:1)281	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)282	/// The range of component `b` is `[0, 64]`.283	fn set_token_property_permissions(b: u32, ) -> Weight {284		// Proof Size summary in bytes:285		//  Measured:  `314`286		//  Estimated: `20191`287		// Minimum execution time: 780_000 picoseconds.288		Weight::from_parts(830_000, 20191)289			// Standard Error: 35_354290			.saturating_add(Weight::from_parts(8_422_695, 0).saturating_mul(b.into()))291			.saturating_add(T::DbWeight::get().reads(1_u64))292			.saturating_add(T::DbWeight::get().writes(1_u64))293	}294	/// Storage: Nonfungible TokenProperties (r:1 w:1)295	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)296	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)297	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)298	/// Storage: Nonfungible TokenData (r:1 w:0)299	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)300	/// The range of component `b` is `[0, 64]`.301	fn set_token_properties(b: u32, ) -> Weight {302		// Proof Size summary in bytes:303		//  Measured:  `640 + b * (261 ±0)`304		//  Estimated: `36269`305		// Minimum execution time: 5_530_000 picoseconds.306		Weight::from_parts(10_829_898, 36269)307			// Standard Error: 5_106308			.saturating_add(Weight::from_parts(2_601_900, 0).saturating_mul(b.into()))309			.saturating_add(T::DbWeight::get().reads(3_u64))310			.saturating_add(T::DbWeight::get().writes(1_u64))311	}312	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)313	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)314	/// Storage: Nonfungible TokenProperties (r:0 w:1)315	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)316	/// The range of component `b` is `[0, 64]`.317	fn reset_token_properties(b: u32, ) -> Weight {318		// Proof Size summary in bytes:319		//  Measured:  `317 + b * (261 ±0)`320		//  Estimated: `20191`321		// Minimum execution time: 3_690_000 picoseconds.322		Weight::from_parts(9_633_879, 20191)323			// Standard Error: 6_573324			.saturating_add(Weight::from_parts(2_694_801, 0).saturating_mul(b.into()))325			.saturating_add(T::DbWeight::get().reads(1_u64))326			.saturating_add(T::DbWeight::get().writes(1_u64))327	}328	/// Storage: Nonfungible TokenProperties (r:1 w:1)329	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)330	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)331	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)332	/// Storage: Nonfungible TokenData (r:1 w:0)333	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)334	/// The range of component `b` is `[0, 64]`.335	fn delete_token_properties(b: u32, ) -> Weight {336		// Proof Size summary in bytes:337		//  Measured:  `699 + b * (33291 ±0)`338		//  Estimated: `36269`339		// Minimum execution time: 5_860_000 picoseconds.340		Weight::from_parts(6_000_000, 36269)341			// Standard Error: 26_204342			.saturating_add(Weight::from_parts(9_601_645, 0).saturating_mul(b.into()))343			.saturating_add(T::DbWeight::get().reads(3_u64))344			.saturating_add(T::DbWeight::get().writes(1_u64))345	}346	/// Storage: Nonfungible TokenData (r:1 w:0)347	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)348	fn token_owner() -> Weight {349		// Proof Size summary in bytes:350		//  Measured:  `326`351		//  Estimated: `3522`352		// Minimum execution time: 2_930_000 picoseconds.353		Weight::from_parts(3_060_000, 3522)354			.saturating_add(T::DbWeight::get().reads(1_u64))355	}356	/// Storage: Nonfungible CollectionAllowance (r:0 w:1)357	/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)358	fn set_allowance_for_all() -> Weight {359		// Proof Size summary in bytes:360		//  Measured:  `0`361		//  Estimated: `0`362		// Minimum execution time: 2_680_000 picoseconds.363		Weight::from_parts(2_780_000, 0)364			.saturating_add(T::DbWeight::get().writes(1_u64))365	}366	/// Storage: Nonfungible CollectionAllowance (r:1 w:0)367	/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)368	fn allowance_for_all() -> Weight {369		// Proof Size summary in bytes:370		//  Measured:  `142`371		//  Estimated: `3576`372		// Minimum execution time: 2_000_000 picoseconds.373		Weight::from_parts(2_110_000, 3576)374			.saturating_add(T::DbWeight::get().reads(1_u64))375	}376	/// Storage: Nonfungible TokenProperties (r:1 w:1)377	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)378	fn repair_item() -> Weight {379		// Proof Size summary in bytes:380		//  Measured:  `279`381		//  Estimated: `36269`382		// Minimum execution time: 2_200_000 picoseconds.383		Weight::from_parts(2_340_000, 36269)384			.saturating_add(T::DbWeight::get().reads(1_u64))385			.saturating_add(T::DbWeight::get().writes(1_u64))386	}387}388389// For backwards compatibility and tests390impl WeightInfo for () {391	/// Storage: Nonfungible TokensMinted (r:1 w:1)392	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)393	/// Storage: Nonfungible AccountBalance (r:1 w:1)394	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)395	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)396	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)397	/// Storage: Nonfungible TokenData (r:0 w:1)398	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)399	/// Storage: Nonfungible Owned (r:0 w:1)400	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)401	fn create_item() -> Weight {402		// Proof Size summary in bytes:403		//  Measured:  `456`404		//  Estimated: `20191`405		// Minimum execution time: 10_660_000 picoseconds.406		Weight::from_parts(10_960_000, 20191)407			.saturating_add(RocksDbWeight::get().reads(3_u64))408			.saturating_add(RocksDbWeight::get().writes(4_u64))409	}410	/// Storage: Nonfungible TokensMinted (r:1 w:1)411	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)412	/// Storage: Nonfungible AccountBalance (r:1 w:1)413	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)414	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)415	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)416	/// Storage: Nonfungible TokenData (r:0 w:200)417	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)418	/// Storage: Nonfungible Owned (r:0 w:200)419	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)420	/// The range of component `b` is `[0, 200]`.421	fn create_multiple_items(b: u32, ) -> Weight {422		// Proof Size summary in bytes:423		//  Measured:  `456`424		//  Estimated: `20191`425		// Minimum execution time: 2_200_000 picoseconds.426		Weight::from_parts(612_529, 20191)427			// Standard Error: 737428			.saturating_add(Weight::from_parts(3_807_625, 0).saturating_mul(b.into()))429			.saturating_add(RocksDbWeight::get().reads(3_u64))430			.saturating_add(RocksDbWeight::get().writes(2_u64))431			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))432	}433	/// Storage: Nonfungible TokensMinted (r:1 w:1)434	/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)435	/// Storage: Nonfungible AccountBalance (r:200 w:200)436	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)437	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)438	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)439	/// Storage: Nonfungible TokenData (r:0 w:200)440	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)441	/// Storage: Nonfungible Owned (r:0 w:200)442	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)443	/// The range of component `b` is `[0, 200]`.444	fn create_multiple_items_ex(b: u32, ) -> Weight {445		// Proof Size summary in bytes:446		//  Measured:  `456`447		//  Estimated: `20191 + b * (2540 ±0)`448		// Minimum execution time: 2_190_000 picoseconds.449		Weight::from_parts(2_280_000, 20191)450			// Standard Error: 1_011451			.saturating_add(Weight::from_parts(4_931_681, 0).saturating_mul(b.into()))452			.saturating_add(RocksDbWeight::get().reads(2_u64))453			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))454			.saturating_add(RocksDbWeight::get().writes(1_u64))455			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))456			.saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))457	}458	/// Storage: Nonfungible TokenData (r:1 w:1)459	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)460	/// Storage: Nonfungible TokenChildren (r:1 w:0)461	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)462	/// Storage: Nonfungible TokensBurnt (r:1 w:1)463	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)464	/// Storage: Nonfungible AccountBalance (r:1 w:1)465	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)466	/// Storage: Nonfungible Allowance (r:1 w:0)467	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)468	/// Storage: Nonfungible Owned (r:0 w:1)469	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)470	/// Storage: Nonfungible TokenProperties (r:0 w:1)471	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)472	fn burn_item() -> Weight {473		// Proof Size summary in bytes:474		//  Measured:  `380`475		//  Estimated: `3530`476		// Minimum execution time: 13_470_000 picoseconds.477		Weight::from_parts(13_840_000, 3530)478			.saturating_add(RocksDbWeight::get().reads(5_u64))479			.saturating_add(RocksDbWeight::get().writes(5_u64))480	}481	/// Storage: Nonfungible TokenChildren (r:1 w:0)482	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)483	/// Storage: Nonfungible TokenData (r:1 w:1)484	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)485	/// Storage: Nonfungible TokensBurnt (r:1 w:1)486	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)487	/// Storage: Nonfungible AccountBalance (r:1 w:1)488	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)489	/// Storage: Nonfungible Allowance (r:1 w:0)490	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)491	/// Storage: Nonfungible Owned (r:0 w:1)492	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)493	/// Storage: Nonfungible TokenProperties (r:0 w:1)494	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)495	fn burn_recursively_self_raw() -> Weight {496		// Proof Size summary in bytes:497		//  Measured:  `380`498		//  Estimated: `3530`499		// Minimum execution time: 16_940_000 picoseconds.500		Weight::from_parts(17_340_000, 3530)501			.saturating_add(RocksDbWeight::get().reads(5_u64))502			.saturating_add(RocksDbWeight::get().writes(5_u64))503	}504	/// Storage: Nonfungible TokenChildren (r:401 w:200)505	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)506	/// Storage: Common CollectionById (r:1 w:0)507	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)508	/// Storage: Nonfungible TokenData (r:201 w:201)509	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)510	/// Storage: Nonfungible TokensBurnt (r:1 w:1)511	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)512	/// Storage: Nonfungible AccountBalance (r:2 w:2)513	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)514	/// Storage: Nonfungible Allowance (r:201 w:0)515	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)516	/// Storage: Nonfungible Owned (r:0 w:201)517	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)518	/// Storage: Nonfungible TokenProperties (r:0 w:201)519	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)520	/// The range of component `b` is `[0, 200]`.521	fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {522		// Proof Size summary in bytes:523		//  Measured:  `1500 + b * (58 ±0)`524		//  Estimated: `5874 + b * (5032 ±0)`525		// Minimum execution time: 16_910_000 picoseconds.526		Weight::from_parts(17_170_000, 5874)527			// Standard Error: 102_760528			.saturating_add(Weight::from_parts(45_644_966, 0).saturating_mul(b.into()))529			.saturating_add(RocksDbWeight::get().reads(7_u64))530			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))531			.saturating_add(RocksDbWeight::get().writes(6_u64))532			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))533			.saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))534	}535	/// Storage: Nonfungible TokenData (r:1 w:1)536	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)537	/// Storage: Nonfungible AccountBalance (r:2 w:2)538	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)539	/// Storage: Nonfungible Allowance (r:1 w:0)540	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)541	/// Storage: Nonfungible Owned (r:0 w:2)542	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)543	fn transfer_raw() -> Weight {544		// Proof Size summary in bytes:545		//  Measured:  `380`546		//  Estimated: `6070`547		// Minimum execution time: 9_420_000 picoseconds.548		Weight::from_parts(9_710_000, 6070)549			.saturating_add(RocksDbWeight::get().reads(4_u64))550			.saturating_add(RocksDbWeight::get().writes(5_u64))551	}552	/// Storage: Nonfungible TokenData (r:1 w:0)553	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)554	/// Storage: Nonfungible Allowance (r:1 w:1)555	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)556	fn approve() -> Weight {557		// Proof Size summary in bytes:558		//  Measured:  `326`559		//  Estimated: `3522`560		// Minimum execution time: 5_400_000 picoseconds.561		Weight::from_parts(5_640_000, 3522)562			.saturating_add(RocksDbWeight::get().reads(2_u64))563			.saturating_add(RocksDbWeight::get().writes(1_u64))564	}565	/// Storage: Nonfungible TokenData (r:1 w:0)566	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)567	/// Storage: Nonfungible Allowance (r:1 w:1)568	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)569	fn approve_from() -> Weight {570		// Proof Size summary in bytes:571		//  Measured:  `313`572		//  Estimated: `3522`573		// Minimum execution time: 5_390_000 picoseconds.574		Weight::from_parts(5_610_000, 3522)575			.saturating_add(RocksDbWeight::get().reads(2_u64))576			.saturating_add(RocksDbWeight::get().writes(1_u64))577	}578	/// Storage: Nonfungible Allowance (r:1 w:0)579	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)580	fn check_allowed_raw() -> Weight {581		// Proof Size summary in bytes:582		//  Measured:  `362`583		//  Estimated: `3522`584		// Minimum execution time: 2_970_000 picoseconds.585		Weight::from_parts(3_170_000, 3522)586			.saturating_add(RocksDbWeight::get().reads(1_u64))587	}588	/// Storage: Nonfungible Allowance (r:1 w:1)589	/// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)590	/// Storage: Nonfungible TokenData (r:1 w:1)591	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)592	/// Storage: Nonfungible TokenChildren (r:1 w:0)593	/// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)594	/// Storage: Nonfungible TokensBurnt (r:1 w:1)595	/// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)596	/// Storage: Nonfungible AccountBalance (r:1 w:1)597	/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)598	/// Storage: Nonfungible Owned (r:0 w:1)599	/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)600	/// Storage: Nonfungible TokenProperties (r:0 w:1)601	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)602	fn burn_from() -> Weight {603		// Proof Size summary in bytes:604		//  Measured:  `463`605		//  Estimated: `3530`606		// Minimum execution time: 15_400_000 picoseconds.607		Weight::from_parts(15_850_000, 3530)608			.saturating_add(RocksDbWeight::get().reads(5_u64))609			.saturating_add(RocksDbWeight::get().writes(6_u64))610	}611	/// Storage: Common CollectionPropertyPermissions (r:1 w:1)612	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)613	/// The range of component `b` is `[0, 64]`.614	fn set_token_property_permissions(b: u32, ) -> Weight {615		// Proof Size summary in bytes:616		//  Measured:  `314`617		//  Estimated: `20191`618		// Minimum execution time: 780_000 picoseconds.619		Weight::from_parts(830_000, 20191)620			// Standard Error: 35_354621			.saturating_add(Weight::from_parts(8_422_695, 0).saturating_mul(b.into()))622			.saturating_add(RocksDbWeight::get().reads(1_u64))623			.saturating_add(RocksDbWeight::get().writes(1_u64))624	}625	/// Storage: Nonfungible TokenProperties (r:1 w:1)626	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)627	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)628	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)629	/// Storage: Nonfungible TokenData (r:1 w:0)630	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)631	/// The range of component `b` is `[0, 64]`.632	fn set_token_properties(b: u32, ) -> Weight {633		// Proof Size summary in bytes:634		//  Measured:  `640 + b * (261 ±0)`635		//  Estimated: `36269`636		// Minimum execution time: 5_530_000 picoseconds.637		Weight::from_parts(10_829_898, 36269)638			// Standard Error: 5_106639			.saturating_add(Weight::from_parts(2_601_900, 0).saturating_mul(b.into()))640			.saturating_add(RocksDbWeight::get().reads(3_u64))641			.saturating_add(RocksDbWeight::get().writes(1_u64))642	}643	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)644	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)645	/// Storage: Nonfungible TokenProperties (r:0 w:1)646	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)647	/// The range of component `b` is `[0, 64]`.648	fn reset_token_properties(b: u32, ) -> Weight {649		// Proof Size summary in bytes:650		//  Measured:  `317 + b * (261 ±0)`651		//  Estimated: `20191`652		// Minimum execution time: 3_690_000 picoseconds.653		Weight::from_parts(9_633_879, 20191)654			// Standard Error: 6_573655			.saturating_add(Weight::from_parts(2_694_801, 0).saturating_mul(b.into()))656			.saturating_add(RocksDbWeight::get().reads(1_u64))657			.saturating_add(RocksDbWeight::get().writes(1_u64))658	}659	/// Storage: Nonfungible TokenProperties (r:1 w:1)660	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)661	/// Storage: Common CollectionPropertyPermissions (r:1 w:0)662	/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)663	/// Storage: Nonfungible TokenData (r:1 w:0)664	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)665	/// The range of component `b` is `[0, 64]`.666	fn delete_token_properties(b: u32, ) -> Weight {667		// Proof Size summary in bytes:668		//  Measured:  `699 + b * (33291 ±0)`669		//  Estimated: `36269`670		// Minimum execution time: 5_860_000 picoseconds.671		Weight::from_parts(6_000_000, 36269)672			// Standard Error: 26_204673			.saturating_add(Weight::from_parts(9_601_645, 0).saturating_mul(b.into()))674			.saturating_add(RocksDbWeight::get().reads(3_u64))675			.saturating_add(RocksDbWeight::get().writes(1_u64))676	}677	/// Storage: Nonfungible TokenData (r:1 w:0)678	/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)679	fn token_owner() -> Weight {680		// Proof Size summary in bytes:681		//  Measured:  `326`682		//  Estimated: `3522`683		// Minimum execution time: 2_930_000 picoseconds.684		Weight::from_parts(3_060_000, 3522)685			.saturating_add(RocksDbWeight::get().reads(1_u64))686	}687	/// Storage: Nonfungible CollectionAllowance (r:0 w:1)688	/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)689	fn set_allowance_for_all() -> Weight {690		// Proof Size summary in bytes:691		//  Measured:  `0`692		//  Estimated: `0`693		// Minimum execution time: 2_680_000 picoseconds.694		Weight::from_parts(2_780_000, 0)695			.saturating_add(RocksDbWeight::get().writes(1_u64))696	}697	/// Storage: Nonfungible CollectionAllowance (r:1 w:0)698	/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)699	fn allowance_for_all() -> Weight {700		// Proof Size summary in bytes:701		//  Measured:  `142`702		//  Estimated: `3576`703		// Minimum execution time: 2_000_000 picoseconds.704		Weight::from_parts(2_110_000, 3576)705			.saturating_add(RocksDbWeight::get().reads(1_u64))706	}707	/// Storage: Nonfungible TokenProperties (r:1 w:1)708	/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)709	fn repair_item() -> Weight {710		// Proof Size summary in bytes:711		//  Measured:  `279`712		//  Estimated: `36269`713		// Minimum execution time: 2_200_000 picoseconds.714		Weight::from_parts(2_340_000, 36269)715			.saturating_add(RocksDbWeight::get().reads(1_u64))716			.saturating_add(RocksDbWeight::get().writes(1_u64))717	}718}719