1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!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-refungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/refungible/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_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn approve_from() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn set_token_property_permissions(b: u32, ) -> Weight;54 fn set_token_properties(b: u32, ) -> Weight;55 fn reset_token_properties(b: u32, ) -> Weight;56 fn delete_token_properties(b: u32, ) -> Weight;57 fn repartition_item() -> Weight;58 fn token_owner() -> Weight;59 fn set_allowance_for_all() -> Weight;60 fn allowance_for_all() -> Weight;61 fn repair_item() -> Weight;62}6364/// Weights for pallet_refungible using the Substrate node and recommended hardware.65pub struct SubstrateWeight<T>(PhantomData<T>);66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {67 /// Storage: Refungible TokensMinted (r:1 w:1)68 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)69 /// Storage: Refungible AccountBalance (r:1 w:1)70 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)71 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)72 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)73 /// Storage: Refungible Balance (r:0 w:1)74 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)75 /// Storage: Refungible TotalSupply (r:0 w:1)76 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)77 /// Storage: Refungible Owned (r:0 w:1)78 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)79 fn create_item() -> Weight {80 // Proof Size summary in bytes:81 // Measured: `318`82 // Estimated: `20191`83 // Minimum execution time: 11_620_000 picoseconds.84 Weight::from_parts(12_110_000, 20191)85 .saturating_add(T::DbWeight::get().reads(3_u64))86 .saturating_add(T::DbWeight::get().writes(5_u64))87 }88 /// Storage: Refungible TokensMinted (r:1 w:1)89 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)90 /// Storage: Refungible AccountBalance (r:1 w:1)91 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)92 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)93 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)94 /// Storage: Refungible Balance (r:0 w:200)95 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)96 /// Storage: Refungible TotalSupply (r:0 w:200)97 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)98 /// Storage: Refungible Owned (r:0 w:200)99 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)100 /// The range of component `b` is `[0, 200]`.101 fn create_multiple_items(b: u32, ) -> Weight {102 // Proof Size summary in bytes:103 // Measured: `318`104 // Estimated: `20191`105 // Minimum execution time: 1_690_000 picoseconds.106 Weight::from_parts(1_750_000, 20191)107 // Standard Error: 1_647108 .saturating_add(Weight::from_parts(4_876_194, 0).saturating_mul(b.into()))109 .saturating_add(T::DbWeight::get().reads(3_u64))110 .saturating_add(T::DbWeight::get().writes(2_u64))111 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))112 }113 /// Storage: Refungible TokensMinted (r:1 w:1)114 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)115 /// Storage: Refungible AccountBalance (r:200 w:200)116 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)117 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)118 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)119 /// Storage: Refungible Balance (r:0 w:200)120 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)121 /// Storage: Refungible TotalSupply (r:0 w:200)122 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)123 /// Storage: Refungible Owned (r:0 w:200)124 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)125 /// The range of component `b` is `[0, 200]`.126 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {127 // Proof Size summary in bytes:128 // Measured: `318`129 // Estimated: `20191 + b * (2540 ±0)`130 // Minimum execution time: 1_730_000 picoseconds.131 Weight::from_parts(1_790_000, 20191)132 // Standard Error: 1_611133 .saturating_add(Weight::from_parts(6_002_948, 0).saturating_mul(b.into()))134 .saturating_add(T::DbWeight::get().reads(2_u64))135 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))136 .saturating_add(T::DbWeight::get().writes(1_u64))137 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))138 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))139 }140 /// Storage: Refungible TokensMinted (r:1 w:1)141 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)142 /// Storage: Refungible AccountBalance (r:200 w:200)143 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)144 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)145 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)146 /// Storage: Refungible Balance (r:0 w:200)147 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)148 /// Storage: Refungible TotalSupply (r:0 w:1)149 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)150 /// Storage: Refungible Owned (r:0 w:200)151 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)152 /// The range of component `b` is `[0, 200]`.153 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {154 // Proof Size summary in bytes:155 // Measured: `318`156 // Estimated: `20191 + b * (2540 ±0)`157 // Minimum execution time: 6_260_000 picoseconds.158 Weight::from_parts(2_297_892, 20191)159 // Standard Error: 1_302160 .saturating_add(Weight::from_parts(4_093_180, 0).saturating_mul(b.into()))161 .saturating_add(T::DbWeight::get().reads(2_u64))162 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))163 .saturating_add(T::DbWeight::get().writes(2_u64))164 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))165 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))166 }167 /// Storage: Refungible Balance (r:3 w:1)168 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)169 /// Storage: Refungible TotalSupply (r:1 w:1)170 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)171 /// Storage: Refungible AccountBalance (r:1 w:1)172 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)173 /// Storage: Refungible Owned (r:0 w:1)174 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)175 fn burn_item_partial() -> Weight {176 // Proof Size summary in bytes:177 // Measured: `456`178 // Estimated: `8682`179 // Minimum execution time: 17_330_000 picoseconds.180 Weight::from_parts(17_910_000, 8682)181 .saturating_add(T::DbWeight::get().reads(5_u64))182 .saturating_add(T::DbWeight::get().writes(4_u64))183 }184 /// Storage: Refungible Balance (r:1 w:1)185 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)186 /// Storage: Refungible TotalSupply (r:1 w:1)187 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)188 /// Storage: Refungible AccountBalance (r:1 w:1)189 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)190 /// Storage: Refungible TokensBurnt (r:1 w:1)191 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)192 /// Storage: Refungible Owned (r:0 w:1)193 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)194 /// Storage: Refungible TokenProperties (r:0 w:1)195 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)196 fn burn_item_fully() -> Weight {197 // Proof Size summary in bytes:198 // Measured: `341`199 // Estimated: `3554`200 // Minimum execution time: 16_920_000 picoseconds.201 Weight::from_parts(17_630_000, 3554)202 .saturating_add(T::DbWeight::get().reads(4_u64))203 .saturating_add(T::DbWeight::get().writes(6_u64))204 }205 /// Storage: Refungible Balance (r:2 w:2)206 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)207 /// Storage: Refungible TotalSupply (r:1 w:0)208 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)209 fn transfer_normal() -> Weight {210 // Proof Size summary in bytes:211 // Measured: `365`212 // Estimated: `6118`213 // Minimum execution time: 10_600_000 picoseconds.214 Weight::from_parts(10_950_000, 6118)215 .saturating_add(T::DbWeight::get().reads(3_u64))216 .saturating_add(T::DbWeight::get().writes(2_u64))217 }218 /// Storage: Refungible Balance (r:2 w:2)219 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)220 /// Storage: Refungible AccountBalance (r:1 w:1)221 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)222 /// Storage: Refungible TotalSupply (r:1 w:0)223 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)224 /// Storage: Refungible Owned (r:0 w:1)225 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)226 fn transfer_creating() -> Weight {227 // Proof Size summary in bytes:228 // Measured: `341`229 // Estimated: `6118`230 // Minimum execution time: 12_160_000 picoseconds.231 Weight::from_parts(12_570_000, 6118)232 .saturating_add(T::DbWeight::get().reads(4_u64))233 .saturating_add(T::DbWeight::get().writes(4_u64))234 }235 /// Storage: Refungible Balance (r:2 w:2)236 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)237 /// Storage: Refungible AccountBalance (r:1 w:1)238 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)239 /// Storage: Refungible TotalSupply (r:1 w:0)240 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)241 /// Storage: Refungible Owned (r:0 w:1)242 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)243 fn transfer_removing() -> Weight {244 // Proof Size summary in bytes:245 // Measured: `456`246 // Estimated: `6118`247 // Minimum execution time: 14_300_000 picoseconds.248 Weight::from_parts(14_760_000, 6118)249 .saturating_add(T::DbWeight::get().reads(4_u64))250 .saturating_add(T::DbWeight::get().writes(4_u64))251 }252 /// Storage: Refungible Balance (r:2 w:2)253 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)254 /// Storage: Refungible AccountBalance (r:2 w:2)255 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)256 /// Storage: Refungible TotalSupply (r:1 w:0)257 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)258 /// Storage: Refungible Owned (r:0 w:2)259 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)260 fn transfer_creating_removing() -> Weight {261 // Proof Size summary in bytes:262 // Measured: `341`263 // Estimated: `6118`264 // Minimum execution time: 14_050_000 picoseconds.265 Weight::from_parts(14_490_000, 6118)266 .saturating_add(T::DbWeight::get().reads(5_u64))267 .saturating_add(T::DbWeight::get().writes(6_u64))268 }269 /// Storage: Refungible Balance (r:1 w:0)270 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)271 /// Storage: Refungible Allowance (r:0 w:1)272 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)273 fn approve() -> Weight {274 // Proof Size summary in bytes:275 // Measured: `223`276 // Estimated: `3554`277 // Minimum execution time: 6_210_000 picoseconds.278 Weight::from_parts(6_500_000, 3554)279 .saturating_add(T::DbWeight::get().reads(1_u64))280 .saturating_add(T::DbWeight::get().writes(1_u64))281 }282 /// Storage: Refungible Balance (r:1 w:0)283 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)284 /// Storage: Refungible Allowance (r:0 w:1)285 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)286 fn approve_from() -> Weight {287 // Proof Size summary in bytes:288 // Measured: `211`289 // Estimated: `3554`290 // Minimum execution time: 6_280_000 picoseconds.291 Weight::from_parts(6_540_000, 3554)292 .saturating_add(T::DbWeight::get().reads(1_u64))293 .saturating_add(T::DbWeight::get().writes(1_u64))294 }295 /// Storage: Refungible Allowance (r:1 w:1)296 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)297 /// Storage: Refungible Balance (r:2 w:2)298 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)299 /// Storage: Refungible TotalSupply (r:1 w:0)300 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)301 fn transfer_from_normal() -> Weight {302 // Proof Size summary in bytes:303 // Measured: `495`304 // Estimated: `6118`305 // Minimum execution time: 15_570_000 picoseconds.306 Weight::from_parts(15_990_000, 6118)307 .saturating_add(T::DbWeight::get().reads(4_u64))308 .saturating_add(T::DbWeight::get().writes(3_u64))309 }310 /// Storage: Refungible Allowance (r:1 w:1)311 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)312 /// Storage: Refungible Balance (r:2 w:2)313 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)314 /// Storage: Refungible AccountBalance (r:1 w:1)315 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)316 /// Storage: Refungible TotalSupply (r:1 w:0)317 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)318 /// Storage: Refungible Owned (r:0 w:1)319 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)320 fn transfer_from_creating() -> Weight {321 // Proof Size summary in bytes:322 // Measured: `471`323 // Estimated: `6118`324 // Minimum execution time: 17_030_000 picoseconds.325 Weight::from_parts(17_430_000, 6118)326 .saturating_add(T::DbWeight::get().reads(5_u64))327 .saturating_add(T::DbWeight::get().writes(5_u64))328 }329 /// Storage: Refungible Allowance (r:1 w:1)330 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)331 /// Storage: Refungible Balance (r:2 w:2)332 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)333 /// Storage: Refungible AccountBalance (r:1 w:1)334 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)335 /// Storage: Refungible TotalSupply (r:1 w:0)336 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)337 /// Storage: Refungible Owned (r:0 w:1)338 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)339 fn transfer_from_removing() -> Weight {340 // Proof Size summary in bytes:341 // Measured: `586`342 // Estimated: `6118`343 // Minimum execution time: 19_300_000 picoseconds.344 Weight::from_parts(19_760_000, 6118)345 .saturating_add(T::DbWeight::get().reads(5_u64))346 .saturating_add(T::DbWeight::get().writes(5_u64))347 }348 /// Storage: Refungible Allowance (r:1 w:1)349 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)350 /// Storage: Refungible Balance (r:2 w:2)351 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)352 /// Storage: Refungible AccountBalance (r:2 w:2)353 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)354 /// Storage: Refungible TotalSupply (r:1 w:0)355 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)356 /// Storage: Refungible Owned (r:0 w:2)357 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)358 fn transfer_from_creating_removing() -> Weight {359 // Proof Size summary in bytes:360 // Measured: `471`361 // Estimated: `6118`362 // Minimum execution time: 19_190_000 picoseconds.363 Weight::from_parts(19_560_000, 6118)364 .saturating_add(T::DbWeight::get().reads(6_u64))365 .saturating_add(T::DbWeight::get().writes(7_u64))366 }367 /// Storage: Refungible Allowance (r:1 w:1)368 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)369 /// Storage: Refungible Balance (r:1 w:1)370 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)371 /// Storage: Refungible TotalSupply (r:1 w:1)372 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)373 /// Storage: Refungible AccountBalance (r:1 w:1)374 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)375 /// Storage: Refungible TokensBurnt (r:1 w:1)376 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)377 /// Storage: Refungible Owned (r:0 w:1)378 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)379 /// Storage: Refungible TokenProperties (r:0 w:1)380 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)381 fn burn_from() -> Weight {382 // Proof Size summary in bytes:383 // Measured: `471`384 // Estimated: `3570`385 // Minimum execution time: 22_590_000 picoseconds.386 Weight::from_parts(23_290_000, 3570)387 .saturating_add(T::DbWeight::get().reads(5_u64))388 .saturating_add(T::DbWeight::get().writes(7_u64))389 }390 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)391 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)392 /// The range of component `b` is `[0, 64]`.393 fn set_token_property_permissions(b: u32, ) -> Weight {394 // Proof Size summary in bytes:395 // Measured: `314`396 // Estimated: `20191`397 // Minimum execution time: 780_000 picoseconds.398 Weight::from_parts(850_000, 20191)399 // Standard Error: 38_209400 .saturating_add(Weight::from_parts(9_042_866, 0).saturating_mul(b.into()))401 .saturating_add(T::DbWeight::get().reads(1_u64))402 .saturating_add(T::DbWeight::get().writes(1_u64))403 }404 /// Storage: Refungible TokenProperties (r:1 w:1)405 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)406 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)407 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)408 /// Storage: Refungible TotalSupply (r:1 w:0)409 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)410 /// The range of component `b` is `[0, 64]`.411 fn set_token_properties(b: u32, ) -> Weight {412 // Proof Size summary in bytes:413 // Measured: `502 + b * (261 ±0)`414 // Estimated: `36269`415 // Minimum execution time: 5_160_000 picoseconds.416 Weight::from_parts(15_283_437, 36269)417 // Standard Error: 12_988418 .saturating_add(Weight::from_parts(2_757_274, 0).saturating_mul(b.into()))419 .saturating_add(T::DbWeight::get().reads(3_u64))420 .saturating_add(T::DbWeight::get().writes(1_u64))421 }422 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)423 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)424 /// Storage: Refungible TokenProperties (r:0 w:1)425 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)426 /// The range of component `b` is `[0, 64]`.427 fn reset_token_properties(b: u32, ) -> Weight {428 // Proof Size summary in bytes:429 // Measured: `317 + b * (261 ±0)`430 // Estimated: `20191`431 // Minimum execution time: 3_560_000 picoseconds.432 Weight::from_parts(6_788_279, 20191)433 // Standard Error: 5_443434 .saturating_add(Weight::from_parts(2_641_825, 0).saturating_mul(b.into()))435 .saturating_add(T::DbWeight::get().reads(1_u64))436 .saturating_add(T::DbWeight::get().writes(1_u64))437 }438 /// Storage: Refungible TokenProperties (r:1 w:1)439 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)440 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)441 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)442 /// Storage: Refungible TotalSupply (r:1 w:0)443 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)444 /// The range of component `b` is `[0, 64]`.445 fn delete_token_properties(b: u32, ) -> Weight {446 // Proof Size summary in bytes:447 // Measured: `561 + b * (33291 ±0)`448 // Estimated: `36269`449 // Minimum execution time: 4_650_000 picoseconds.450 Weight::from_parts(4_820_000, 36269)451 // Standard Error: 24_035452 .saturating_add(Weight::from_parts(8_828_039, 0).saturating_mul(b.into()))453 .saturating_add(T::DbWeight::get().reads(3_u64))454 .saturating_add(T::DbWeight::get().writes(1_u64))455 }456 /// Storage: Refungible TotalSupply (r:1 w:1)457 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)458 /// Storage: Refungible Balance (r:1 w:1)459 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)460 fn repartition_item() -> Weight {461 // Proof Size summary in bytes:462 // Measured: `288`463 // Estimated: `3554`464 // Minimum execution time: 7_260_000 picoseconds.465 Weight::from_parts(7_520_000, 3554)466 .saturating_add(T::DbWeight::get().reads(2_u64))467 .saturating_add(T::DbWeight::get().writes(2_u64))468 }469 /// Storage: Refungible Balance (r:2 w:0)470 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)471 fn token_owner() -> Weight {472 // Proof Size summary in bytes:473 // Measured: `288`474 // Estimated: `6118`475 // Minimum execution time: 3_200_000 picoseconds.476 Weight::from_parts(3_360_000, 6118)477 .saturating_add(T::DbWeight::get().reads(2_u64))478 }479 /// Storage: Refungible CollectionAllowance (r:0 w:1)480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)481 fn set_allowance_for_all() -> Weight {482 // Proof Size summary in bytes:483 // Measured: `0`484 // Estimated: `0`485 // Minimum execution time: 2_420_000 picoseconds.486 Weight::from_parts(2_540_000, 0)487 .saturating_add(T::DbWeight::get().writes(1_u64))488 }489 /// Storage: Refungible CollectionAllowance (r:1 w:0)490 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)491 fn allowance_for_all() -> Weight {492 // Proof Size summary in bytes:493 // Measured: `4`494 // Estimated: `3576`495 // Minimum execution time: 1_370_000 picoseconds.496 Weight::from_parts(1_470_000, 3576)497 .saturating_add(T::DbWeight::get().reads(1_u64))498 }499 /// Storage: Refungible TokenProperties (r:1 w:1)500 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)501 fn repair_item() -> Weight {502 // Proof Size summary in bytes:503 // Measured: `120`504 // Estimated: `36269`505 // Minimum execution time: 1_350_000 picoseconds.506 Weight::from_parts(1_420_000, 36269)507 .saturating_add(T::DbWeight::get().reads(1_u64))508 .saturating_add(T::DbWeight::get().writes(1_u64))509 }510}511512// For backwards compatibility and tests513impl WeightInfo for () {514 /// Storage: Refungible TokensMinted (r:1 w:1)515 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)516 /// Storage: Refungible AccountBalance (r:1 w:1)517 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)518 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)519 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)520 /// Storage: Refungible Balance (r:0 w:1)521 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)522 /// Storage: Refungible TotalSupply (r:0 w:1)523 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)524 /// Storage: Refungible Owned (r:0 w:1)525 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)526 fn create_item() -> Weight {527 // Proof Size summary in bytes:528 // Measured: `318`529 // Estimated: `20191`530 // Minimum execution time: 11_620_000 picoseconds.531 Weight::from_parts(12_110_000, 20191)532 .saturating_add(RocksDbWeight::get().reads(3_u64))533 .saturating_add(RocksDbWeight::get().writes(5_u64))534 }535 /// Storage: Refungible TokensMinted (r:1 w:1)536 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)537 /// Storage: Refungible AccountBalance (r:1 w:1)538 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)539 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)540 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)541 /// Storage: Refungible Balance (r:0 w:200)542 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)543 /// Storage: Refungible TotalSupply (r:0 w:200)544 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)545 /// Storage: Refungible Owned (r:0 w:200)546 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)547 /// The range of component `b` is `[0, 200]`.548 fn create_multiple_items(b: u32, ) -> Weight {549 // Proof Size summary in bytes:550 // Measured: `318`551 // Estimated: `20191`552 // Minimum execution time: 1_690_000 picoseconds.553 Weight::from_parts(1_750_000, 20191)554 // Standard Error: 1_647555 .saturating_add(Weight::from_parts(4_876_194, 0).saturating_mul(b.into()))556 .saturating_add(RocksDbWeight::get().reads(3_u64))557 .saturating_add(RocksDbWeight::get().writes(2_u64))558 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))559 }560 /// Storage: Refungible TokensMinted (r:1 w:1)561 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)562 /// Storage: Refungible AccountBalance (r:200 w:200)563 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)564 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)565 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)566 /// Storage: Refungible Balance (r:0 w:200)567 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)568 /// Storage: Refungible TotalSupply (r:0 w:200)569 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)570 /// Storage: Refungible Owned (r:0 w:200)571 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)572 /// The range of component `b` is `[0, 200]`.573 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {574 // Proof Size summary in bytes:575 // Measured: `318`576 // Estimated: `20191 + b * (2540 ±0)`577 // Minimum execution time: 1_730_000 picoseconds.578 Weight::from_parts(1_790_000, 20191)579 // Standard Error: 1_611580 .saturating_add(Weight::from_parts(6_002_948, 0).saturating_mul(b.into()))581 .saturating_add(RocksDbWeight::get().reads(2_u64))582 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))583 .saturating_add(RocksDbWeight::get().writes(1_u64))584 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))585 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))586 }587 /// Storage: Refungible TokensMinted (r:1 w:1)588 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)589 /// Storage: Refungible AccountBalance (r:200 w:200)590 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)591 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)592 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)593 /// Storage: Refungible Balance (r:0 w:200)594 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)595 /// Storage: Refungible TotalSupply (r:0 w:1)596 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)597 /// Storage: Refungible Owned (r:0 w:200)598 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)599 /// The range of component `b` is `[0, 200]`.600 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {601 // Proof Size summary in bytes:602 // Measured: `318`603 // Estimated: `20191 + b * (2540 ±0)`604 // Minimum execution time: 6_260_000 picoseconds.605 Weight::from_parts(2_297_892, 20191)606 // Standard Error: 1_302607 .saturating_add(Weight::from_parts(4_093_180, 0).saturating_mul(b.into()))608 .saturating_add(RocksDbWeight::get().reads(2_u64))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))610 .saturating_add(RocksDbWeight::get().writes(2_u64))611 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))612 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))613 }614 /// Storage: Refungible Balance (r:3 w:1)615 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)616 /// Storage: Refungible TotalSupply (r:1 w:1)617 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)618 /// Storage: Refungible AccountBalance (r:1 w:1)619 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)620 /// Storage: Refungible Owned (r:0 w:1)621 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)622 fn burn_item_partial() -> Weight {623 // Proof Size summary in bytes:624 // Measured: `456`625 // Estimated: `8682`626 // Minimum execution time: 17_330_000 picoseconds.627 Weight::from_parts(17_910_000, 8682)628 .saturating_add(RocksDbWeight::get().reads(5_u64))629 .saturating_add(RocksDbWeight::get().writes(4_u64))630 }631 /// Storage: Refungible Balance (r:1 w:1)632 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)633 /// Storage: Refungible TotalSupply (r:1 w:1)634 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)635 /// Storage: Refungible AccountBalance (r:1 w:1)636 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)637 /// Storage: Refungible TokensBurnt (r:1 w:1)638 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)639 /// Storage: Refungible Owned (r:0 w:1)640 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)641 /// Storage: Refungible TokenProperties (r:0 w:1)642 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)643 fn burn_item_fully() -> Weight {644 // Proof Size summary in bytes:645 // Measured: `341`646 // Estimated: `3554`647 // Minimum execution time: 16_920_000 picoseconds.648 Weight::from_parts(17_630_000, 3554)649 .saturating_add(RocksDbWeight::get().reads(4_u64))650 .saturating_add(RocksDbWeight::get().writes(6_u64))651 }652 /// Storage: Refungible Balance (r:2 w:2)653 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)654 /// Storage: Refungible TotalSupply (r:1 w:0)655 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)656 fn transfer_normal() -> Weight {657 // Proof Size summary in bytes:658 // Measured: `365`659 // Estimated: `6118`660 // Minimum execution time: 10_600_000 picoseconds.661 Weight::from_parts(10_950_000, 6118)662 .saturating_add(RocksDbWeight::get().reads(3_u64))663 .saturating_add(RocksDbWeight::get().writes(2_u64))664 }665 /// Storage: Refungible Balance (r:2 w:2)666 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)667 /// Storage: Refungible AccountBalance (r:1 w:1)668 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)669 /// Storage: Refungible TotalSupply (r:1 w:0)670 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)671 /// Storage: Refungible Owned (r:0 w:1)672 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)673 fn transfer_creating() -> Weight {674 // Proof Size summary in bytes:675 // Measured: `341`676 // Estimated: `6118`677 // Minimum execution time: 12_160_000 picoseconds.678 Weight::from_parts(12_570_000, 6118)679 .saturating_add(RocksDbWeight::get().reads(4_u64))680 .saturating_add(RocksDbWeight::get().writes(4_u64))681 }682 /// Storage: Refungible Balance (r:2 w:2)683 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)684 /// Storage: Refungible AccountBalance (r:1 w:1)685 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)686 /// Storage: Refungible TotalSupply (r:1 w:0)687 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)688 /// Storage: Refungible Owned (r:0 w:1)689 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)690 fn transfer_removing() -> Weight {691 // Proof Size summary in bytes:692 // Measured: `456`693 // Estimated: `6118`694 // Minimum execution time: 14_300_000 picoseconds.695 Weight::from_parts(14_760_000, 6118)696 .saturating_add(RocksDbWeight::get().reads(4_u64))697 .saturating_add(RocksDbWeight::get().writes(4_u64))698 }699 /// Storage: Refungible Balance (r:2 w:2)700 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)701 /// Storage: Refungible AccountBalance (r:2 w:2)702 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)703 /// Storage: Refungible TotalSupply (r:1 w:0)704 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)705 /// Storage: Refungible Owned (r:0 w:2)706 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)707 fn transfer_creating_removing() -> Weight {708 // Proof Size summary in bytes:709 // Measured: `341`710 // Estimated: `6118`711 // Minimum execution time: 14_050_000 picoseconds.712 Weight::from_parts(14_490_000, 6118)713 .saturating_add(RocksDbWeight::get().reads(5_u64))714 .saturating_add(RocksDbWeight::get().writes(6_u64))715 }716 /// Storage: Refungible Balance (r:1 w:0)717 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)718 /// Storage: Refungible Allowance (r:0 w:1)719 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)720 fn approve() -> Weight {721 // Proof Size summary in bytes:722 // Measured: `223`723 // Estimated: `3554`724 // Minimum execution time: 6_210_000 picoseconds.725 Weight::from_parts(6_500_000, 3554)726 .saturating_add(RocksDbWeight::get().reads(1_u64))727 .saturating_add(RocksDbWeight::get().writes(1_u64))728 }729 /// Storage: Refungible Balance (r:1 w:0)730 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)731 /// Storage: Refungible Allowance (r:0 w:1)732 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)733 fn approve_from() -> Weight {734 // Proof Size summary in bytes:735 // Measured: `211`736 // Estimated: `3554`737 // Minimum execution time: 6_280_000 picoseconds.738 Weight::from_parts(6_540_000, 3554)739 .saturating_add(RocksDbWeight::get().reads(1_u64))740 .saturating_add(RocksDbWeight::get().writes(1_u64))741 }742 /// Storage: Refungible Allowance (r:1 w:1)743 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)744 /// Storage: Refungible Balance (r:2 w:2)745 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)746 /// Storage: Refungible TotalSupply (r:1 w:0)747 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)748 fn transfer_from_normal() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `495`751 // Estimated: `6118`752 // Minimum execution time: 15_570_000 picoseconds.753 Weight::from_parts(15_990_000, 6118)754 .saturating_add(RocksDbWeight::get().reads(4_u64))755 .saturating_add(RocksDbWeight::get().writes(3_u64))756 }757 /// Storage: Refungible Allowance (r:1 w:1)758 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)759 /// Storage: Refungible Balance (r:2 w:2)760 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)761 /// Storage: Refungible AccountBalance (r:1 w:1)762 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)763 /// Storage: Refungible TotalSupply (r:1 w:0)764 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)765 /// Storage: Refungible Owned (r:0 w:1)766 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)767 fn transfer_from_creating() -> Weight {768 // Proof Size summary in bytes:769 // Measured: `471`770 // Estimated: `6118`771 // Minimum execution time: 17_030_000 picoseconds.772 Weight::from_parts(17_430_000, 6118)773 .saturating_add(RocksDbWeight::get().reads(5_u64))774 .saturating_add(RocksDbWeight::get().writes(5_u64))775 }776 /// Storage: Refungible Allowance (r:1 w:1)777 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)778 /// Storage: Refungible Balance (r:2 w:2)779 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)780 /// Storage: Refungible AccountBalance (r:1 w:1)781 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)782 /// Storage: Refungible TotalSupply (r:1 w:0)783 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)784 /// Storage: Refungible Owned (r:0 w:1)785 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)786 fn transfer_from_removing() -> Weight {787 // Proof Size summary in bytes:788 // Measured: `586`789 // Estimated: `6118`790 // Minimum execution time: 19_300_000 picoseconds.791 Weight::from_parts(19_760_000, 6118)792 .saturating_add(RocksDbWeight::get().reads(5_u64))793 .saturating_add(RocksDbWeight::get().writes(5_u64))794 }795 /// Storage: Refungible Allowance (r:1 w:1)796 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)797 /// Storage: Refungible Balance (r:2 w:2)798 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)799 /// Storage: Refungible AccountBalance (r:2 w:2)800 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)801 /// Storage: Refungible TotalSupply (r:1 w:0)802 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)803 /// Storage: Refungible Owned (r:0 w:2)804 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)805 fn transfer_from_creating_removing() -> Weight {806 // Proof Size summary in bytes:807 // Measured: `471`808 // Estimated: `6118`809 // Minimum execution time: 19_190_000 picoseconds.810 Weight::from_parts(19_560_000, 6118)811 .saturating_add(RocksDbWeight::get().reads(6_u64))812 .saturating_add(RocksDbWeight::get().writes(7_u64))813 }814 /// Storage: Refungible Allowance (r:1 w:1)815 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)816 /// Storage: Refungible Balance (r:1 w:1)817 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)818 /// Storage: Refungible TotalSupply (r:1 w:1)819 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)820 /// Storage: Refungible AccountBalance (r:1 w:1)821 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)822 /// Storage: Refungible TokensBurnt (r:1 w:1)823 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)824 /// Storage: Refungible Owned (r:0 w:1)825 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)826 /// Storage: Refungible TokenProperties (r:0 w:1)827 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)828 fn burn_from() -> Weight {829 // Proof Size summary in bytes:830 // Measured: `471`831 // Estimated: `3570`832 // Minimum execution time: 22_590_000 picoseconds.833 Weight::from_parts(23_290_000, 3570)834 .saturating_add(RocksDbWeight::get().reads(5_u64))835 .saturating_add(RocksDbWeight::get().writes(7_u64))836 }837 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)838 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)839 /// The range of component `b` is `[0, 64]`.840 fn set_token_property_permissions(b: u32, ) -> Weight {841 // Proof Size summary in bytes:842 // Measured: `314`843 // Estimated: `20191`844 // Minimum execution time: 780_000 picoseconds.845 Weight::from_parts(850_000, 20191)846 // Standard Error: 38_209847 .saturating_add(Weight::from_parts(9_042_866, 0).saturating_mul(b.into()))848 .saturating_add(RocksDbWeight::get().reads(1_u64))849 .saturating_add(RocksDbWeight::get().writes(1_u64))850 }851 /// Storage: Refungible TokenProperties (r:1 w:1)852 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)853 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)854 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)855 /// Storage: Refungible TotalSupply (r:1 w:0)856 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)857 /// The range of component `b` is `[0, 64]`.858 fn set_token_properties(b: u32, ) -> Weight {859 // Proof Size summary in bytes:860 // Measured: `502 + b * (261 ±0)`861 // Estimated: `36269`862 // Minimum execution time: 5_160_000 picoseconds.863 Weight::from_parts(15_283_437, 36269)864 // Standard Error: 12_988865 .saturating_add(Weight::from_parts(2_757_274, 0).saturating_mul(b.into()))866 .saturating_add(RocksDbWeight::get().reads(3_u64))867 .saturating_add(RocksDbWeight::get().writes(1_u64))868 }869 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)870 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)871 /// Storage: Refungible TokenProperties (r:0 w:1)872 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)873 /// The range of component `b` is `[0, 64]`.874 fn reset_token_properties(b: u32, ) -> Weight {875 // Proof Size summary in bytes:876 // Measured: `317 + b * (261 ±0)`877 // Estimated: `20191`878 // Minimum execution time: 3_560_000 picoseconds.879 Weight::from_parts(6_788_279, 20191)880 // Standard Error: 5_443881 .saturating_add(Weight::from_parts(2_641_825, 0).saturating_mul(b.into()))882 .saturating_add(RocksDbWeight::get().reads(1_u64))883 .saturating_add(RocksDbWeight::get().writes(1_u64))884 }885 /// Storage: Refungible TokenProperties (r:1 w:1)886 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)887 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)888 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)889 /// Storage: Refungible TotalSupply (r:1 w:0)890 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)891 /// The range of component `b` is `[0, 64]`.892 fn delete_token_properties(b: u32, ) -> Weight {893 // Proof Size summary in bytes:894 // Measured: `561 + b * (33291 ±0)`895 // Estimated: `36269`896 // Minimum execution time: 4_650_000 picoseconds.897 Weight::from_parts(4_820_000, 36269)898 // Standard Error: 24_035899 .saturating_add(Weight::from_parts(8_828_039, 0).saturating_mul(b.into()))900 .saturating_add(RocksDbWeight::get().reads(3_u64))901 .saturating_add(RocksDbWeight::get().writes(1_u64))902 }903 /// Storage: Refungible TotalSupply (r:1 w:1)904 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)905 /// Storage: Refungible Balance (r:1 w:1)906 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)907 fn repartition_item() -> Weight {908 // Proof Size summary in bytes:909 // Measured: `288`910 // Estimated: `3554`911 // Minimum execution time: 7_260_000 picoseconds.912 Weight::from_parts(7_520_000, 3554)913 .saturating_add(RocksDbWeight::get().reads(2_u64))914 .saturating_add(RocksDbWeight::get().writes(2_u64))915 }916 /// Storage: Refungible Balance (r:2 w:0)917 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)918 fn token_owner() -> Weight {919 // Proof Size summary in bytes:920 // Measured: `288`921 // Estimated: `6118`922 // Minimum execution time: 3_200_000 picoseconds.923 Weight::from_parts(3_360_000, 6118)924 .saturating_add(RocksDbWeight::get().reads(2_u64))925 }926 /// Storage: Refungible CollectionAllowance (r:0 w:1)927 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)928 fn set_allowance_for_all() -> Weight {929 // Proof Size summary in bytes:930 // Measured: `0`931 // Estimated: `0`932 // Minimum execution time: 2_420_000 picoseconds.933 Weight::from_parts(2_540_000, 0)934 .saturating_add(RocksDbWeight::get().writes(1_u64))935 }936 /// Storage: Refungible CollectionAllowance (r:1 w:0)937 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)938 fn allowance_for_all() -> Weight {939 // Proof Size summary in bytes:940 // Measured: `4`941 // Estimated: `3576`942 // Minimum execution time: 1_370_000 picoseconds.943 Weight::from_parts(1_470_000, 3576)944 .saturating_add(RocksDbWeight::get().reads(1_u64))945 }946 /// Storage: Refungible TokenProperties (r:1 w:1)947 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)948 fn repair_item() -> Weight {949 // Proof Size summary in bytes:950 // Measured: `120`951 // Estimated: `36269`952 // Minimum execution time: 1_350_000 picoseconds.953 Weight::from_parts(1_420_000, 36269)954 .saturating_add(RocksDbWeight::get().reads(1_u64))955 .saturating_add(RocksDbWeight::get().writes(1_u64))956 }957}958difftreelog
source
pallets/refungible/src/weights.rs49.9 KiBsourcehistory