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-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`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 delete_token_properties(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn token_owner() -> Weight;58 fn set_allowance_for_all() -> Weight;59 fn allowance_for_all() -> Weight;60 fn repair_item() -> Weight;61}6263/// Weights for pallet_refungible using the Substrate node and recommended hardware.64pub struct SubstrateWeight<T>(PhantomData<T>);65impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {66 /// Storage: Refungible TokensMinted (r:1 w:1)67 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)68 /// Storage: Refungible AccountBalance (r:1 w:1)69 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)70 /// Storage: Refungible TokenProperties (r:1 w:1)71 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)72 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)73 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)74 /// Storage: Refungible Balance (r:0 w:1)75 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)76 /// Storage: Refungible TotalSupply (r:0 w:1)77 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)78 /// Storage: Refungible Owned (r:0 w:1)79 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)80 fn create_item() -> Weight {81 // Proof Size summary in bytes:82 // Measured: `285`83 // Estimated: `63471`84 // Minimum execution time: 30_759_000 picoseconds.85 Weight::from_parts(31_321_000, 63471)86 .saturating_add(T::DbWeight::get().reads(4_u64))87 .saturating_add(T::DbWeight::get().writes(6_u64))88 }89 /// Storage: Refungible TokensMinted (r:1 w:1)90 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)91 /// Storage: Refungible AccountBalance (r:1 w:1)92 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)93 /// Storage: Refungible TokenProperties (r:200 w:200)94 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)95 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)96 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)97 /// Storage: Refungible Balance (r:0 w:200)98 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)99 /// Storage: Refungible TotalSupply (r:0 w:200)100 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)101 /// Storage: Refungible Owned (r:0 w:200)102 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)103 /// The range of component `b` is `[0, 200]`.104 fn create_multiple_items(b: u32, ) -> Weight {105 // Proof Size summary in bytes:106 // Measured: `285`107 // Estimated: `28192 + b * (35279 ±0)`108 // Minimum execution time: 4_024_000 picoseconds.109 Weight::from_parts(4_145_000, 28192)110 // Standard Error: 3_332111 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))112 .saturating_add(T::DbWeight::get().reads(3_u64))113 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))114 .saturating_add(T::DbWeight::get().writes(2_u64))115 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))116 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))117 }118 /// Storage: Refungible TokensMinted (r:1 w:1)119 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)120 /// Storage: Refungible AccountBalance (r:200 w:200)121 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)122 /// Storage: Refungible TokenProperties (r:200 w:200)123 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)124 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)125 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)126 /// Storage: Refungible Balance (r:0 w:200)127 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)128 /// Storage: Refungible TotalSupply (r:0 w:200)129 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)130 /// Storage: Refungible Owned (r:0 w:200)131 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)132 /// The range of component `b` is `[0, 200]`.133 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {134 // Proof Size summary in bytes:135 // Measured: `285`136 // Estimated: `25652 + b * (37819 ±0)`137 // Minimum execution time: 3_715_000 picoseconds.138 Weight::from_parts(3_881_000, 25652)139 // Standard Error: 3_275140 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))141 .saturating_add(T::DbWeight::get().reads(2_u64))142 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))143 .saturating_add(T::DbWeight::get().writes(1_u64))144 .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))145 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))146 }147 /// Storage: Refungible TokensMinted (r:1 w:1)148 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)149 /// Storage: Refungible AccountBalance (r:200 w:200)150 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)151 /// Storage: Refungible TokenProperties (r:1 w:1)152 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)153 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)154 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)155 /// Storage: Refungible Balance (r:0 w:200)156 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)157 /// Storage: Refungible TotalSupply (r:0 w:1)158 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)159 /// Storage: Refungible Owned (r:0 w:200)160 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)161 /// The range of component `b` is `[0, 200]`.162 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {163 // Proof Size summary in bytes:164 // Measured: `285`165 // Estimated: `60931 + b * (2540 ±0)`166 // Minimum execution time: 13_150_000 picoseconds.167 Weight::from_parts(15_655_930, 60931)168 // Standard Error: 4_170169 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))170 .saturating_add(T::DbWeight::get().reads(3_u64))171 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))172 .saturating_add(T::DbWeight::get().writes(3_u64))173 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))174 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))175 }176 /// Storage: Refungible Balance (r:3 w:1)177 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)178 /// Storage: Refungible TotalSupply (r:1 w:1)179 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)180 /// Storage: Refungible AccountBalance (r:1 w:1)181 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)182 /// Storage: Refungible Owned (r:0 w:1)183 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)184 fn burn_item_partial() -> Weight {185 // Proof Size summary in bytes:186 // Measured: `490`187 // Estimated: `15717`188 // Minimum execution time: 28_992_000 picoseconds.189 Weight::from_parts(29_325_000, 15717)190 .saturating_add(T::DbWeight::get().reads(5_u64))191 .saturating_add(T::DbWeight::get().writes(4_u64))192 }193 /// Storage: Refungible Balance (r:1 w:1)194 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)195 /// Storage: Refungible TotalSupply (r:1 w:1)196 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)197 /// Storage: Refungible AccountBalance (r:1 w:1)198 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)199 /// Storage: Refungible TokensBurnt (r:1 w:1)200 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)201 /// Storage: Refungible Owned (r:0 w:1)202 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)203 /// Storage: Refungible TokenProperties (r:0 w:1)204 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)205 fn burn_item_fully() -> Weight {206 // Proof Size summary in bytes:207 // Measured: `375`208 // Estimated: `14070`209 // Minimum execution time: 27_980_000 picoseconds.210 Weight::from_parts(28_582_000, 14070)211 .saturating_add(T::DbWeight::get().reads(4_u64))212 .saturating_add(T::DbWeight::get().writes(6_u64))213 }214 /// Storage: Refungible Balance (r:2 w:2)215 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)216 /// Storage: Refungible TotalSupply (r:1 w:0)217 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)218 fn transfer_normal() -> Weight {219 // Proof Size summary in bytes:220 // Measured: `398`221 // Estimated: `9623`222 // Minimum execution time: 18_746_000 picoseconds.223 Weight::from_parts(19_096_000, 9623)224 .saturating_add(T::DbWeight::get().reads(3_u64))225 .saturating_add(T::DbWeight::get().writes(2_u64))226 }227 /// Storage: Refungible Balance (r:2 w:2)228 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)229 /// Storage: Refungible AccountBalance (r:1 w:1)230 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)231 /// Storage: Refungible TotalSupply (r:1 w:0)232 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)233 /// Storage: Refungible Owned (r:0 w:1)234 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)235 fn transfer_creating() -> Weight {236 // Proof Size summary in bytes:237 // Measured: `375`238 // Estimated: `13153`239 // Minimum execution time: 21_719_000 picoseconds.240 Weight::from_parts(22_219_000, 13153)241 .saturating_add(T::DbWeight::get().reads(4_u64))242 .saturating_add(T::DbWeight::get().writes(4_u64))243 }244 /// Storage: Refungible Balance (r:2 w:2)245 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)246 /// Storage: Refungible AccountBalance (r:1 w:1)247 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)248 /// Storage: Refungible TotalSupply (r:1 w:0)249 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)250 /// Storage: Refungible Owned (r:0 w:1)251 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)252 fn transfer_removing() -> Weight {253 // Proof Size summary in bytes:254 // Measured: `490`255 // Estimated: `13153`256 // Minimum execution time: 24_784_000 picoseconds.257 Weight::from_parts(25_231_000, 13153)258 .saturating_add(T::DbWeight::get().reads(4_u64))259 .saturating_add(T::DbWeight::get().writes(4_u64))260 }261 /// Storage: Refungible Balance (r:2 w:2)262 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)263 /// Storage: Refungible AccountBalance (r:2 w:2)264 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)265 /// Storage: Refungible TotalSupply (r:1 w:0)266 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)267 /// Storage: Refungible Owned (r:0 w:2)268 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)269 fn transfer_creating_removing() -> Weight {270 // Proof Size summary in bytes:271 // Measured: `375`272 // Estimated: `15693`273 // Minimum execution time: 24_865_000 picoseconds.274 Weight::from_parts(25_253_000, 15693)275 .saturating_add(T::DbWeight::get().reads(5_u64))276 .saturating_add(T::DbWeight::get().writes(6_u64))277 }278 /// Storage: Refungible Balance (r:1 w:0)279 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)280 /// Storage: Refungible Allowance (r:0 w:1)281 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)282 fn approve() -> Weight {283 // Proof Size summary in bytes:284 // Measured: `256`285 // Estimated: `3554`286 // Minimum execution time: 12_318_000 picoseconds.287 Weight::from_parts(12_597_000, 3554)288 .saturating_add(T::DbWeight::get().reads(1_u64))289 .saturating_add(T::DbWeight::get().writes(1_u64))290 }291 /// Storage: Refungible Balance (r:1 w:0)292 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)293 /// Storage: Refungible Allowance (r:0 w:1)294 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)295 fn approve_from() -> Weight {296 // Proof Size summary in bytes:297 // Measured: `244`298 // Estimated: `3554`299 // Minimum execution time: 12_276_000 picoseconds.300 Weight::from_parts(12_557_000, 3554)301 .saturating_add(T::DbWeight::get().reads(1_u64))302 .saturating_add(T::DbWeight::get().writes(1_u64))303 }304 /// Storage: Refungible Allowance (r:1 w:1)305 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)306 /// Storage: Refungible Balance (r:2 w:2)307 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)308 /// Storage: Refungible TotalSupply (r:1 w:0)309 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)310 fn transfer_from_normal() -> Weight {311 // Proof Size summary in bytes:312 // Measured: `528`313 // Estimated: `13193`314 // Minimum execution time: 26_852_000 picoseconds.315 Weight::from_parts(27_427_000, 13193)316 .saturating_add(T::DbWeight::get().reads(4_u64))317 .saturating_add(T::DbWeight::get().writes(3_u64))318 }319 /// Storage: Refungible Allowance (r:1 w:1)320 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)321 /// Storage: Refungible Balance (r:2 w:2)322 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)323 /// Storage: Refungible AccountBalance (r:1 w:1)324 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)325 /// Storage: Refungible TotalSupply (r:1 w:0)326 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)327 /// Storage: Refungible Owned (r:0 w:1)328 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)329 fn transfer_from_creating() -> Weight {330 // Proof Size summary in bytes:331 // Measured: `505`332 // Estimated: `16723`333 // Minimum execution time: 29_893_000 picoseconds.334 Weight::from_parts(30_345_000, 16723)335 .saturating_add(T::DbWeight::get().reads(5_u64))336 .saturating_add(T::DbWeight::get().writes(5_u64))337 }338 /// Storage: Refungible Allowance (r:1 w:1)339 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)340 /// Storage: Refungible Balance (r:2 w:2)341 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)342 /// Storage: Refungible AccountBalance (r:1 w:1)343 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)344 /// Storage: Refungible TotalSupply (r:1 w:0)345 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)346 /// Storage: Refungible Owned (r:0 w:1)347 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)348 fn transfer_from_removing() -> Weight {349 // Proof Size summary in bytes:350 // Measured: `620`351 // Estimated: `16723`352 // Minimum execution time: 32_784_000 picoseconds.353 Weight::from_parts(33_322_000, 16723)354 .saturating_add(T::DbWeight::get().reads(5_u64))355 .saturating_add(T::DbWeight::get().writes(5_u64))356 }357 /// Storage: Refungible Allowance (r:1 w:1)358 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)359 /// Storage: Refungible Balance (r:2 w:2)360 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)361 /// Storage: Refungible AccountBalance (r:2 w:2)362 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)363 /// Storage: Refungible TotalSupply (r:1 w:0)364 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)365 /// Storage: Refungible Owned (r:0 w:2)366 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)367 fn transfer_from_creating_removing() -> Weight {368 // Proof Size summary in bytes:369 // Measured: `505`370 // Estimated: `19263`371 // Minimum execution time: 32_987_000 picoseconds.372 Weight::from_parts(33_428_000, 19263)373 .saturating_add(T::DbWeight::get().reads(6_u64))374 .saturating_add(T::DbWeight::get().writes(7_u64))375 }376 /// Storage: Refungible Allowance (r:1 w:1)377 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)378 /// Storage: Refungible Balance (r:1 w:1)379 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)380 /// Storage: Refungible TotalSupply (r:1 w:1)381 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)382 /// Storage: Refungible AccountBalance (r:1 w:1)383 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)384 /// Storage: Refungible TokensBurnt (r:1 w:1)385 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)386 /// Storage: Refungible Owned (r:0 w:1)387 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)388 /// Storage: Refungible TokenProperties (r:0 w:1)389 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)390 fn burn_from() -> Weight {391 // Proof Size summary in bytes:392 // Measured: `505`393 // Estimated: `17640`394 // Minimum execution time: 38_277_000 picoseconds.395 Weight::from_parts(38_983_000, 17640)396 .saturating_add(T::DbWeight::get().reads(5_u64))397 .saturating_add(T::DbWeight::get().writes(7_u64))398 }399 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)400 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)401 /// The range of component `b` is `[0, 64]`.402 fn set_token_property_permissions(b: u32, ) -> Weight {403 // Proof Size summary in bytes:404 // Measured: `281`405 // Estimated: `20191`406 // Minimum execution time: 2_254_000 picoseconds.407 Weight::from_parts(2_335_000, 20191)408 // Standard Error: 44_906409 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))410 .saturating_add(T::DbWeight::get().reads(1_u64))411 .saturating_add(T::DbWeight::get().writes(1_u64))412 }413 /// Storage: Refungible TokenProperties (r:1 w:1)414 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)415 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)416 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)417 /// The range of component `b` is `[0, 64]`.418 fn set_token_properties(b: u32, ) -> Weight {419 // Proof Size summary in bytes:420 // Measured: `458 + b * (261 ±0)`421 // Estimated: `56460`422 // Minimum execution time: 11_249_000 picoseconds.423 Weight::from_parts(11_420_000, 56460)424 // Standard Error: 72_033425 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))426 .saturating_add(T::DbWeight::get().reads(2_u64))427 .saturating_add(T::DbWeight::get().writes(1_u64))428 }429 /// Storage: Refungible TokenProperties (r:1 w:1)430 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)431 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)432 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)433 /// The range of component `b` is `[0, 64]`.434 fn delete_token_properties(b: u32, ) -> Weight {435 // Proof Size summary in bytes:436 // Measured: `463 + b * (33291 ±0)`437 // Estimated: `56460`438 // Minimum execution time: 11_368_000 picoseconds.439 Weight::from_parts(11_546_000, 56460)440 // Standard Error: 85_444441 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))442 .saturating_add(T::DbWeight::get().reads(2_u64))443 .saturating_add(T::DbWeight::get().writes(1_u64))444 }445 /// Storage: Refungible TotalSupply (r:1 w:1)446 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)447 /// Storage: Refungible Balance (r:1 w:1)448 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)449 fn repartition_item() -> Weight {450 // Proof Size summary in bytes:451 // Measured: `321`452 // Estimated: `7059`453 // Minimum execution time: 13_586_000 picoseconds.454 Weight::from_parts(14_489_000, 7059)455 .saturating_add(T::DbWeight::get().reads(2_u64))456 .saturating_add(T::DbWeight::get().writes(2_u64))457 }458 /// Storage: Refungible Balance (r:2 w:0)459 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)460 fn token_owner() -> Weight {461 // Proof Size summary in bytes:462 // Measured: `321`463 // Estimated: `6118`464 // Minimum execution time: 7_049_000 picoseconds.465 Weight::from_parts(7_320_000, 6118)466 .saturating_add(T::DbWeight::get().reads(2_u64))467 }468 /// Storage: Refungible CollectionAllowance (r:0 w:1)469 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)470 fn set_allowance_for_all() -> Weight {471 // Proof Size summary in bytes:472 // Measured: `0`473 // Estimated: `0`474 // Minimum execution time: 6_432_000 picoseconds.475 Weight::from_parts(6_642_000, 0)476 .saturating_add(T::DbWeight::get().writes(1_u64))477 }478 /// Storage: Refungible CollectionAllowance (r:1 w:0)479 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)480 fn allowance_for_all() -> Weight {481 // Proof Size summary in bytes:482 // Measured: `4`483 // Estimated: `3576`484 // Minimum execution time: 3_030_000 picoseconds.485 Weight::from_parts(3_206_000, 3576)486 .saturating_add(T::DbWeight::get().reads(1_u64))487 }488 /// Storage: Refungible TokenProperties (r:1 w:1)489 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)490 fn repair_item() -> Weight {491 // Proof Size summary in bytes:492 // Measured: `174`493 // Estimated: `36269`494 // Minimum execution time: 4_371_000 picoseconds.495 Weight::from_parts(4_555_000, 36269)496 .saturating_add(T::DbWeight::get().reads(1_u64))497 .saturating_add(T::DbWeight::get().writes(1_u64))498 }499}500501// For backwards compatibility and tests502impl WeightInfo for () {503 /// Storage: Refungible TokensMinted (r:1 w:1)504 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)505 /// Storage: Refungible AccountBalance (r:1 w:1)506 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)507 /// Storage: Refungible TokenProperties (r:1 w:1)508 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)509 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)510 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)511 /// Storage: Refungible Balance (r:0 w:1)512 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)513 /// Storage: Refungible TotalSupply (r:0 w:1)514 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)515 /// Storage: Refungible Owned (r:0 w:1)516 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)517 fn create_item() -> Weight {518 // Proof Size summary in bytes:519 // Measured: `285`520 // Estimated: `63471`521 // Minimum execution time: 30_759_000 picoseconds.522 Weight::from_parts(31_321_000, 63471)523 .saturating_add(RocksDbWeight::get().reads(4_u64))524 .saturating_add(RocksDbWeight::get().writes(6_u64))525 }526 /// Storage: Refungible TokensMinted (r:1 w:1)527 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)528 /// Storage: Refungible AccountBalance (r:1 w:1)529 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)530 /// Storage: Refungible TokenProperties (r:200 w:200)531 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)532 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)533 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)534 /// Storage: Refungible Balance (r:0 w:200)535 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)536 /// Storage: Refungible TotalSupply (r:0 w:200)537 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)538 /// Storage: Refungible Owned (r:0 w:200)539 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)540 /// The range of component `b` is `[0, 200]`.541 fn create_multiple_items(b: u32, ) -> Weight {542 // Proof Size summary in bytes:543 // Measured: `285`544 // Estimated: `28192 + b * (35279 ±0)`545 // Minimum execution time: 4_024_000 picoseconds.546 Weight::from_parts(4_145_000, 28192)547 // Standard Error: 3_332548 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))549 .saturating_add(RocksDbWeight::get().reads(3_u64))550 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))551 .saturating_add(RocksDbWeight::get().writes(2_u64))552 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))553 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))554 }555 /// Storage: Refungible TokensMinted (r:1 w:1)556 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)557 /// Storage: Refungible AccountBalance (r:200 w:200)558 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)559 /// Storage: Refungible TokenProperties (r:200 w:200)560 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)561 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)562 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)563 /// Storage: Refungible Balance (r:0 w:200)564 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)565 /// Storage: Refungible TotalSupply (r:0 w:200)566 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)567 /// Storage: Refungible Owned (r:0 w:200)568 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)569 /// The range of component `b` is `[0, 200]`.570 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {571 // Proof Size summary in bytes:572 // Measured: `285`573 // Estimated: `25652 + b * (37819 ±0)`574 // Minimum execution time: 3_715_000 picoseconds.575 Weight::from_parts(3_881_000, 25652)576 // Standard Error: 3_275577 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))578 .saturating_add(RocksDbWeight::get().reads(2_u64))579 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))580 .saturating_add(RocksDbWeight::get().writes(1_u64))581 .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))582 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))583 }584 /// Storage: Refungible TokensMinted (r:1 w:1)585 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)586 /// Storage: Refungible AccountBalance (r:200 w:200)587 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)588 /// Storage: Refungible TokenProperties (r:1 w:1)589 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)590 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)591 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)592 /// Storage: Refungible Balance (r:0 w:200)593 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)594 /// Storage: Refungible TotalSupply (r:0 w:1)595 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)596 /// Storage: Refungible Owned (r:0 w:200)597 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)598 /// The range of component `b` is `[0, 200]`.599 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {600 // Proof Size summary in bytes:601 // Measured: `285`602 // Estimated: `60931 + b * (2540 ±0)`603 // Minimum execution time: 13_150_000 picoseconds.604 Weight::from_parts(15_655_930, 60931)605 // Standard Error: 4_170606 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))607 .saturating_add(RocksDbWeight::get().reads(3_u64))608 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))609 .saturating_add(RocksDbWeight::get().writes(3_u64))610 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))611 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))612 }613 /// Storage: Refungible Balance (r:3 w:1)614 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)615 /// Storage: Refungible TotalSupply (r:1 w:1)616 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)617 /// Storage: Refungible AccountBalance (r:1 w:1)618 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)619 /// Storage: Refungible Owned (r:0 w:1)620 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)621 fn burn_item_partial() -> Weight {622 // Proof Size summary in bytes:623 // Measured: `490`624 // Estimated: `15717`625 // Minimum execution time: 28_992_000 picoseconds.626 Weight::from_parts(29_325_000, 15717)627 .saturating_add(RocksDbWeight::get().reads(5_u64))628 .saturating_add(RocksDbWeight::get().writes(4_u64))629 }630 /// Storage: Refungible Balance (r:1 w:1)631 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)632 /// Storage: Refungible TotalSupply (r:1 w:1)633 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)634 /// Storage: Refungible AccountBalance (r:1 w:1)635 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)636 /// Storage: Refungible TokensBurnt (r:1 w:1)637 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)638 /// Storage: Refungible Owned (r:0 w:1)639 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)640 /// Storage: Refungible TokenProperties (r:0 w:1)641 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)642 fn burn_item_fully() -> Weight {643 // Proof Size summary in bytes:644 // Measured: `375`645 // Estimated: `14070`646 // Minimum execution time: 27_980_000 picoseconds.647 Weight::from_parts(28_582_000, 14070)648 .saturating_add(RocksDbWeight::get().reads(4_u64))649 .saturating_add(RocksDbWeight::get().writes(6_u64))650 }651 /// Storage: Refungible Balance (r:2 w:2)652 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)653 /// Storage: Refungible TotalSupply (r:1 w:0)654 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)655 fn transfer_normal() -> Weight {656 // Proof Size summary in bytes:657 // Measured: `398`658 // Estimated: `9623`659 // Minimum execution time: 18_746_000 picoseconds.660 Weight::from_parts(19_096_000, 9623)661 .saturating_add(RocksDbWeight::get().reads(3_u64))662 .saturating_add(RocksDbWeight::get().writes(2_u64))663 }664 /// Storage: Refungible Balance (r:2 w:2)665 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)666 /// Storage: Refungible AccountBalance (r:1 w:1)667 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)668 /// Storage: Refungible TotalSupply (r:1 w:0)669 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)670 /// Storage: Refungible Owned (r:0 w:1)671 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)672 fn transfer_creating() -> Weight {673 // Proof Size summary in bytes:674 // Measured: `375`675 // Estimated: `13153`676 // Minimum execution time: 21_719_000 picoseconds.677 Weight::from_parts(22_219_000, 13153)678 .saturating_add(RocksDbWeight::get().reads(4_u64))679 .saturating_add(RocksDbWeight::get().writes(4_u64))680 }681 /// Storage: Refungible Balance (r:2 w:2)682 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)683 /// Storage: Refungible AccountBalance (r:1 w:1)684 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)685 /// Storage: Refungible TotalSupply (r:1 w:0)686 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)687 /// Storage: Refungible Owned (r:0 w:1)688 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)689 fn transfer_removing() -> Weight {690 // Proof Size summary in bytes:691 // Measured: `490`692 // Estimated: `13153`693 // Minimum execution time: 24_784_000 picoseconds.694 Weight::from_parts(25_231_000, 13153)695 .saturating_add(RocksDbWeight::get().reads(4_u64))696 .saturating_add(RocksDbWeight::get().writes(4_u64))697 }698 /// Storage: Refungible Balance (r:2 w:2)699 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)700 /// Storage: Refungible AccountBalance (r:2 w:2)701 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)702 /// Storage: Refungible TotalSupply (r:1 w:0)703 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)704 /// Storage: Refungible Owned (r:0 w:2)705 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)706 fn transfer_creating_removing() -> Weight {707 // Proof Size summary in bytes:708 // Measured: `375`709 // Estimated: `15693`710 // Minimum execution time: 24_865_000 picoseconds.711 Weight::from_parts(25_253_000, 15693)712 .saturating_add(RocksDbWeight::get().reads(5_u64))713 .saturating_add(RocksDbWeight::get().writes(6_u64))714 }715 /// Storage: Refungible Balance (r:1 w:0)716 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)717 /// Storage: Refungible Allowance (r:0 w:1)718 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)719 fn approve() -> Weight {720 // Proof Size summary in bytes:721 // Measured: `256`722 // Estimated: `3554`723 // Minimum execution time: 12_318_000 picoseconds.724 Weight::from_parts(12_597_000, 3554)725 .saturating_add(RocksDbWeight::get().reads(1_u64))726 .saturating_add(RocksDbWeight::get().writes(1_u64))727 }728 /// Storage: Refungible Balance (r:1 w:0)729 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)730 /// Storage: Refungible Allowance (r:0 w:1)731 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)732 fn approve_from() -> Weight {733 // Proof Size summary in bytes:734 // Measured: `244`735 // Estimated: `3554`736 // Minimum execution time: 12_276_000 picoseconds.737 Weight::from_parts(12_557_000, 3554)738 .saturating_add(RocksDbWeight::get().reads(1_u64))739 .saturating_add(RocksDbWeight::get().writes(1_u64))740 }741 /// Storage: Refungible Allowance (r:1 w:1)742 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)743 /// Storage: Refungible Balance (r:2 w:2)744 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)745 /// Storage: Refungible TotalSupply (r:1 w:0)746 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)747 fn transfer_from_normal() -> Weight {748 // Proof Size summary in bytes:749 // Measured: `528`750 // Estimated: `13193`751 // Minimum execution time: 26_852_000 picoseconds.752 Weight::from_parts(27_427_000, 13193)753 .saturating_add(RocksDbWeight::get().reads(4_u64))754 .saturating_add(RocksDbWeight::get().writes(3_u64))755 }756 /// Storage: Refungible Allowance (r:1 w:1)757 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)758 /// Storage: Refungible Balance (r:2 w:2)759 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)760 /// Storage: Refungible AccountBalance (r:1 w:1)761 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)762 /// Storage: Refungible TotalSupply (r:1 w:0)763 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)764 /// Storage: Refungible Owned (r:0 w:1)765 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)766 fn transfer_from_creating() -> Weight {767 // Proof Size summary in bytes:768 // Measured: `505`769 // Estimated: `16723`770 // Minimum execution time: 29_893_000 picoseconds.771 Weight::from_parts(30_345_000, 16723)772 .saturating_add(RocksDbWeight::get().reads(5_u64))773 .saturating_add(RocksDbWeight::get().writes(5_u64))774 }775 /// Storage: Refungible Allowance (r:1 w:1)776 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)777 /// Storage: Refungible Balance (r:2 w:2)778 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)779 /// Storage: Refungible AccountBalance (r:1 w:1)780 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)781 /// Storage: Refungible TotalSupply (r:1 w:0)782 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)783 /// Storage: Refungible Owned (r:0 w:1)784 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)785 fn transfer_from_removing() -> Weight {786 // Proof Size summary in bytes:787 // Measured: `620`788 // Estimated: `16723`789 // Minimum execution time: 32_784_000 picoseconds.790 Weight::from_parts(33_322_000, 16723)791 .saturating_add(RocksDbWeight::get().reads(5_u64))792 .saturating_add(RocksDbWeight::get().writes(5_u64))793 }794 /// Storage: Refungible Allowance (r:1 w:1)795 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)796 /// Storage: Refungible Balance (r:2 w:2)797 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)798 /// Storage: Refungible AccountBalance (r:2 w:2)799 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)800 /// Storage: Refungible TotalSupply (r:1 w:0)801 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)802 /// Storage: Refungible Owned (r:0 w:2)803 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)804 fn transfer_from_creating_removing() -> Weight {805 // Proof Size summary in bytes:806 // Measured: `505`807 // Estimated: `19263`808 // Minimum execution time: 32_987_000 picoseconds.809 Weight::from_parts(33_428_000, 19263)810 .saturating_add(RocksDbWeight::get().reads(6_u64))811 .saturating_add(RocksDbWeight::get().writes(7_u64))812 }813 /// Storage: Refungible Allowance (r:1 w:1)814 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)815 /// Storage: Refungible Balance (r:1 w:1)816 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)817 /// Storage: Refungible TotalSupply (r:1 w:1)818 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)819 /// Storage: Refungible AccountBalance (r:1 w:1)820 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)821 /// Storage: Refungible TokensBurnt (r:1 w:1)822 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)823 /// Storage: Refungible Owned (r:0 w:1)824 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)825 /// Storage: Refungible TokenProperties (r:0 w:1)826 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)827 fn burn_from() -> Weight {828 // Proof Size summary in bytes:829 // Measured: `505`830 // Estimated: `17640`831 // Minimum execution time: 38_277_000 picoseconds.832 Weight::from_parts(38_983_000, 17640)833 .saturating_add(RocksDbWeight::get().reads(5_u64))834 .saturating_add(RocksDbWeight::get().writes(7_u64))835 }836 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)837 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)838 /// The range of component `b` is `[0, 64]`.839 fn set_token_property_permissions(b: u32, ) -> Weight {840 // Proof Size summary in bytes:841 // Measured: `281`842 // Estimated: `20191`843 // Minimum execution time: 2_254_000 picoseconds.844 Weight::from_parts(2_335_000, 20191)845 // Standard Error: 44_906846 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))847 .saturating_add(RocksDbWeight::get().reads(1_u64))848 .saturating_add(RocksDbWeight::get().writes(1_u64))849 }850 /// Storage: Refungible TokenProperties (r:1 w:1)851 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)852 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)853 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)854 /// The range of component `b` is `[0, 64]`.855 fn set_token_properties(b: u32, ) -> Weight {856 // Proof Size summary in bytes:857 // Measured: `458 + b * (261 ±0)`858 // Estimated: `56460`859 // Minimum execution time: 11_249_000 picoseconds.860 Weight::from_parts(11_420_000, 56460)861 // Standard Error: 72_033862 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))863 .saturating_add(RocksDbWeight::get().reads(2_u64))864 .saturating_add(RocksDbWeight::get().writes(1_u64))865 }866 /// Storage: Refungible TokenProperties (r:1 w:1)867 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)868 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)869 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)870 /// The range of component `b` is `[0, 64]`.871 fn delete_token_properties(b: u32, ) -> Weight {872 // Proof Size summary in bytes:873 // Measured: `463 + b * (33291 ±0)`874 // Estimated: `56460`875 // Minimum execution time: 11_368_000 picoseconds.876 Weight::from_parts(11_546_000, 56460)877 // Standard Error: 85_444878 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))879 .saturating_add(RocksDbWeight::get().reads(2_u64))880 .saturating_add(RocksDbWeight::get().writes(1_u64))881 }882 /// Storage: Refungible TotalSupply (r:1 w:1)883 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)884 /// Storage: Refungible Balance (r:1 w:1)885 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)886 fn repartition_item() -> Weight {887 // Proof Size summary in bytes:888 // Measured: `321`889 // Estimated: `7059`890 // Minimum execution time: 13_586_000 picoseconds.891 Weight::from_parts(14_489_000, 7059)892 .saturating_add(RocksDbWeight::get().reads(2_u64))893 .saturating_add(RocksDbWeight::get().writes(2_u64))894 }895 /// Storage: Refungible Balance (r:2 w:0)896 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)897 fn token_owner() -> Weight {898 // Proof Size summary in bytes:899 // Measured: `321`900 // Estimated: `6118`901 // Minimum execution time: 7_049_000 picoseconds.902 Weight::from_parts(7_320_000, 6118)903 .saturating_add(RocksDbWeight::get().reads(2_u64))904 }905 /// Storage: Refungible CollectionAllowance (r:0 w:1)906 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)907 fn set_allowance_for_all() -> Weight {908 // Proof Size summary in bytes:909 // Measured: `0`910 // Estimated: `0`911 // Minimum execution time: 6_432_000 picoseconds.912 Weight::from_parts(6_642_000, 0)913 .saturating_add(RocksDbWeight::get().writes(1_u64))914 }915 /// Storage: Refungible CollectionAllowance (r:1 w:0)916 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)917 fn allowance_for_all() -> Weight {918 // Proof Size summary in bytes:919 // Measured: `4`920 // Estimated: `3576`921 // Minimum execution time: 3_030_000 picoseconds.922 Weight::from_parts(3_206_000, 3576)923 .saturating_add(RocksDbWeight::get().reads(1_u64))924 }925 /// Storage: Refungible TokenProperties (r:1 w:1)926 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)927 fn repair_item() -> Weight {928 // Proof Size summary in bytes:929 // Measured: `174`930 // Estimated: `36269`931 // Minimum execution time: 4_371_000 picoseconds.932 Weight::from_parts(4_555_000, 36269)933 .saturating_add(RocksDbWeight::get().reads(1_u64))934 .saturating_add(RocksDbWeight::get().writes(1_u64))935 }936}937difftreelog
source
pallets/refungible/src/weights.rs49.3 KiBsourcehistory