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-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024910// Executed Command:11// target/release/unique-collator12// benchmark13// pallet14// --pallet15// pallet-refungible16// --wasm-execution17// compiled18// --extrinsic19// *20// --template=.maintain/frame-weight-template.hbs21// --steps=5022// --repeat=8023// --heap-pages=409624// --output=./pallets/refungible/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(missing_docs)]30#![allow(clippy::unnecessary_cast)]3132use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};33use sp_std::marker::PhantomData;3435/// Weight functions needed for pallet_refungible.36pub trait WeightInfo {37 fn create_item() -> Weight;38 fn create_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;40 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;41 fn burn_item_partial() -> Weight;42 fn burn_item_fully() -> Weight;43 fn transfer_normal() -> Weight;44 fn transfer_creating() -> Weight;45 fn transfer_removing() -> Weight;46 fn transfer_creating_removing() -> Weight;47 fn approve() -> Weight;48 fn approve_from() -> Weight;49 fn transfer_from_normal() -> Weight;50 fn transfer_from_creating() -> Weight;51 fn transfer_from_removing() -> Weight;52 fn transfer_from_creating_removing() -> Weight;53 fn burn_from() -> Weight;54 fn set_token_property_permissions(b: u32, ) -> Weight;55 fn set_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: Refungible TokenProperties (r:1 w:1)72 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)73 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)74 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)75 /// Storage: Refungible Balance (r:0 w:1)76 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)77 /// Storage: Refungible TotalSupply (r:0 w:1)78 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)79 /// Storage: Refungible Owned (r:0 w:1)80 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)81 fn create_item() -> Weight {82 // Proof Size summary in bytes:83 // Measured: `285`84 // Estimated: `59511`85 // Minimum execution time: 25_287_000 picoseconds.86 Weight::from_parts(25_741_000, 59511)87 .saturating_add(T::DbWeight::get().reads(4_u64))88 .saturating_add(T::DbWeight::get().writes(6_u64))89 }90 /// Storage: Refungible TokensMinted (r:1 w:1)91 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)92 /// Storage: Refungible AccountBalance (r:1 w:1)93 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)94 /// Storage: Refungible TokenProperties (r:200 w:200)95 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)96 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)97 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)98 /// Storage: Refungible Balance (r:0 w:200)99 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)100 /// Storage: Refungible TotalSupply (r:0 w:200)101 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)102 /// Storage: Refungible Owned (r:0 w:200)103 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)104 /// The range of component `b` is `[0, 200]`.105 fn create_multiple_items(b: u32, ) -> Weight {106 // Proof Size summary in bytes:107 // Measured: `285`108 // Estimated: `24232 + b * (35279 ±0)`109 // Minimum execution time: 4_618_000 picoseconds.110 Weight::from_parts(1_425_218, 24232)111 // Standard Error: 4_343112 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))113 .saturating_add(T::DbWeight::get().reads(3_u64))114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))115 .saturating_add(T::DbWeight::get().writes(2_u64))116 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))117 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))118 }119 /// Storage: Refungible TokensMinted (r:1 w:1)120 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)121 /// Storage: Refungible AccountBalance (r:200 w:200)122 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)123 /// Storage: Refungible TokenProperties (r:200 w:200)124 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)125 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)126 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)127 /// Storage: Refungible Balance (r:0 w:200)128 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)129 /// Storage: Refungible TotalSupply (r:0 w:200)130 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)131 /// Storage: Refungible Owned (r:0 w:200)132 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)133 /// The range of component `b` is `[0, 200]`.134 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {135 // Proof Size summary in bytes:136 // Measured: `285`137 // Estimated: `21692 + b * (37819 ±0)`138 // Minimum execution time: 4_063_000 picoseconds.139 Weight::from_parts(4_160_000, 21692)140 // Standard Error: 2_386141 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))142 .saturating_add(T::DbWeight::get().reads(2_u64))143 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))144 .saturating_add(T::DbWeight::get().writes(1_u64))145 .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))146 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))147 }148 /// Storage: Refungible TokensMinted (r:1 w:1)149 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)150 /// Storage: Refungible AccountBalance (r:200 w:200)151 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)152 /// Storage: Refungible TokenProperties (r:1 w:1)153 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)154 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)155 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)156 /// Storage: Refungible Balance (r:0 w:200)157 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)158 /// Storage: Refungible TotalSupply (r:0 w:1)159 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)160 /// Storage: Refungible Owned (r:0 w:200)161 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)162 /// The range of component `b` is `[0, 200]`.163 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {164 // Proof Size summary in bytes:165 // Measured: `285`166 // Estimated: `56971 + b * (2540 ±0)`167 // Minimum execution time: 14_637_000 picoseconds.168 Weight::from_parts(19_042_423, 56971)169 // Standard Error: 1_632170 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))171 .saturating_add(T::DbWeight::get().reads(3_u64))172 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))173 .saturating_add(T::DbWeight::get().writes(3_u64))174 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))175 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))176 }177 /// Storage: Refungible Balance (r:3 w:1)178 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)179 /// Storage: Refungible TotalSupply (r:1 w:1)180 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)181 /// Storage: Refungible AccountBalance (r:1 w:1)182 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)183 /// Storage: Refungible Owned (r:0 w:1)184 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)185 fn burn_item_partial() -> Weight {186 // Proof Size summary in bytes:187 // Measured: `490`188 // Estimated: `12747`189 // Minimum execution time: 35_018_000 picoseconds.190 Weight::from_parts(35_596_000, 12747)191 .saturating_add(T::DbWeight::get().reads(5_u64))192 .saturating_add(T::DbWeight::get().writes(4_u64))193 }194 /// Storage: Refungible Balance (r:1 w:1)195 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)196 /// Storage: Refungible TotalSupply (r:1 w:1)197 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)198 /// Storage: Refungible AccountBalance (r:1 w:1)199 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)200 /// Storage: Refungible TokensBurnt (r:1 w:1)201 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)202 /// Storage: Refungible Owned (r:0 w:1)203 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)204 /// Storage: Refungible TokenProperties (r:0 w:1)205 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)206 fn burn_item_fully() -> Weight {207 // Proof Size summary in bytes:208 // Measured: `375`209 // Estimated: `10110`210 // Minimum execution time: 30_441_000 picoseconds.211 Weight::from_parts(31_000_000, 10110)212 .saturating_add(T::DbWeight::get().reads(4_u64))213 .saturating_add(T::DbWeight::get().writes(6_u64))214 }215 /// Storage: Refungible Balance (r:2 w:2)216 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)217 /// Storage: Refungible TotalSupply (r:1 w:0)218 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)219 fn transfer_normal() -> Weight {220 // Proof Size summary in bytes:221 // Measured: `398`222 // Estimated: `7643`223 // Minimum execution time: 20_055_000 picoseconds.224 Weight::from_parts(20_533_000, 7643)225 .saturating_add(T::DbWeight::get().reads(3_u64))226 .saturating_add(T::DbWeight::get().writes(2_u64))227 }228 /// Storage: Refungible Balance (r:2 w:2)229 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)230 /// Storage: Refungible AccountBalance (r:1 w:1)231 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)232 /// Storage: Refungible TotalSupply (r:1 w:0)233 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)234 /// Storage: Refungible Owned (r:0 w:1)235 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)236 fn transfer_creating() -> Weight {237 // Proof Size summary in bytes:238 // Measured: `375`239 // Estimated: `10183`240 // Minimum execution time: 23_443_000 picoseconds.241 Weight::from_parts(23_791_000, 10183)242 .saturating_add(T::DbWeight::get().reads(4_u64))243 .saturating_add(T::DbWeight::get().writes(4_u64))244 }245 /// Storage: Refungible Balance (r:2 w:2)246 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)247 /// Storage: Refungible AccountBalance (r:1 w:1)248 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)249 /// Storage: Refungible TotalSupply (r:1 w:0)250 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)251 /// Storage: Refungible Owned (r:0 w:1)252 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)253 fn transfer_removing() -> Weight {254 // Proof Size summary in bytes:255 // Measured: `490`256 // Estimated: `10183`257 // Minimum execution time: 26_489_000 picoseconds.258 Weight::from_parts(27_103_000, 10183)259 .saturating_add(T::DbWeight::get().reads(4_u64))260 .saturating_add(T::DbWeight::get().writes(4_u64))261 }262 /// Storage: Refungible Balance (r:2 w:2)263 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)264 /// Storage: Refungible AccountBalance (r:2 w:2)265 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)266 /// Storage: Refungible TotalSupply (r:1 w:0)267 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)268 /// Storage: Refungible Owned (r:0 w:2)269 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)270 fn transfer_creating_removing() -> Weight {271 // Proof Size summary in bytes:272 // Measured: `375`273 // Estimated: `12723`274 // Minimum execution time: 26_719_000 picoseconds.275 Weight::from_parts(27_038_000, 12723)276 .saturating_add(T::DbWeight::get().reads(5_u64))277 .saturating_add(T::DbWeight::get().writes(6_u64))278 }279 /// Storage: Refungible Balance (r:1 w:0)280 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)281 /// Storage: Refungible Allowance (r:0 w:1)282 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)283 fn approve() -> Weight {284 // Proof Size summary in bytes:285 // Measured: `256`286 // Estimated: `2564`287 // Minimum execution time: 12_949_000 picoseconds.288 Weight::from_parts(13_181_000, 2564)289 .saturating_add(T::DbWeight::get().reads(1_u64))290 .saturating_add(T::DbWeight::get().writes(1_u64))291 }292 /// Storage: Refungible Balance (r:1 w:0)293 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)294 /// Storage: Refungible Allowance (r:0 w:1)295 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)296 fn approve_from() -> Weight {297 // Proof Size summary in bytes:298 // Measured: `244`299 // Estimated: `2564`300 // Minimum execution time: 12_942_000 picoseconds.301 Weight::from_parts(13_268_000, 2564)302 .saturating_add(T::DbWeight::get().reads(1_u64))303 .saturating_add(T::DbWeight::get().writes(1_u64))304 }305 /// Storage: Refungible Allowance (r:1 w:1)306 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)307 /// Storage: Refungible Balance (r:2 w:2)308 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)309 /// Storage: Refungible TotalSupply (r:1 w:0)310 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)311 fn transfer_from_normal() -> Weight {312 // Proof Size summary in bytes:313 // Measured: `528`314 // Estimated: `10223`315 // Minimum execution time: 28_907_000 picoseconds.316 Weight::from_parts(29_487_000, 10223)317 .saturating_add(T::DbWeight::get().reads(4_u64))318 .saturating_add(T::DbWeight::get().writes(3_u64))319 }320 /// Storage: Refungible Allowance (r:1 w:1)321 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)322 /// Storage: Refungible Balance (r:2 w:2)323 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)324 /// Storage: Refungible AccountBalance (r:1 w:1)325 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)326 /// Storage: Refungible TotalSupply (r:1 w:0)327 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)328 /// Storage: Refungible Owned (r:0 w:1)329 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)330 fn transfer_from_creating() -> Weight {331 // Proof Size summary in bytes:332 // Measured: `505`333 // Estimated: `12763`334 // Minimum execution time: 31_271_000 picoseconds.335 Weight::from_parts(32_293_000, 12763)336 .saturating_add(T::DbWeight::get().reads(5_u64))337 .saturating_add(T::DbWeight::get().writes(5_u64))338 }339 /// Storage: Refungible Allowance (r:1 w:1)340 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)341 /// Storage: Refungible Balance (r:2 w:2)342 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)343 /// Storage: Refungible AccountBalance (r:1 w:1)344 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)345 /// Storage: Refungible TotalSupply (r:1 w:0)346 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)347 /// Storage: Refungible Owned (r:0 w:1)348 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)349 fn transfer_from_removing() -> Weight {350 // Proof Size summary in bytes:351 // Measured: `620`352 // Estimated: `12763`353 // Minimum execution time: 34_295_000 picoseconds.354 Weight::from_parts(34_924_000, 12763)355 .saturating_add(T::DbWeight::get().reads(5_u64))356 .saturating_add(T::DbWeight::get().writes(5_u64))357 }358 /// Storage: Refungible Allowance (r:1 w:1)359 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)360 /// Storage: Refungible Balance (r:2 w:2)361 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)362 /// Storage: Refungible AccountBalance (r:2 w:2)363 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)364 /// Storage: Refungible TotalSupply (r:1 w:0)365 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)366 /// Storage: Refungible Owned (r:0 w:2)367 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)368 fn transfer_from_creating_removing() -> Weight {369 // Proof Size summary in bytes:370 // Measured: `505`371 // Estimated: `15303`372 // Minimum execution time: 35_447_000 picoseconds.373 Weight::from_parts(35_896_000, 15303)374 .saturating_add(T::DbWeight::get().reads(6_u64))375 .saturating_add(T::DbWeight::get().writes(7_u64))376 }377 /// Storage: Refungible Allowance (r:1 w:1)378 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)379 /// Storage: Refungible Balance (r:1 w:1)380 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)381 /// Storage: Refungible TotalSupply (r:1 w:1)382 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)383 /// Storage: Refungible AccountBalance (r:1 w:1)384 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)385 /// Storage: Refungible TokensBurnt (r:1 w:1)386 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)387 /// Storage: Refungible Owned (r:0 w:1)388 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)389 /// Storage: Refungible TokenProperties (r:0 w:1)390 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)391 fn burn_from() -> Weight {392 // Proof Size summary in bytes:393 // Measured: `505`394 // Estimated: `12690`395 // Minimum execution time: 39_395_000 picoseconds.396 Weight::from_parts(40_119_000, 12690)397 .saturating_add(T::DbWeight::get().reads(5_u64))398 .saturating_add(T::DbWeight::get().writes(7_u64))399 }400 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)401 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)402 /// The range of component `b` is `[0, 64]`.403 fn set_token_property_permissions(b: u32, ) -> Weight {404 // Proof Size summary in bytes:405 // Measured: `281`406 // Estimated: `19201`407 // Minimum execution time: 2_337_000 picoseconds.408 Weight::from_parts(2_434_000, 19201)409 // Standard Error: 43_425410 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))411 .saturating_add(T::DbWeight::get().reads(1_u64))412 .saturating_add(T::DbWeight::get().writes(1_u64))413 }414 /// Storage: Refungible TokenProperties (r:1 w:1)415 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)416 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)417 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)418 /// The range of component `b` is `[0, 64]`.419 fn set_token_properties(b: u32, ) -> Weight {420 // Proof Size summary in bytes:421 // Measured: `490 + b * (261 ±0)`422 // Estimated: `54480`423 // Minimum execution time: 11_857_000 picoseconds.424 Weight::from_parts(12_007_000, 54480)425 // Standard Error: 22_963426 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))427 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(1_u64))429 }430 /// Storage: Refungible TokenProperties (r:1 w:1)431 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)432 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)433 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)434 /// The range of component `b` is `[0, 64]`.435 fn delete_token_properties(b: u32, ) -> Weight {436 // Proof Size summary in bytes:437 // Measured: `527 + b * (33291 ±0)`438 // Estimated: `54480`439 // Minimum execution time: 12_001_000 picoseconds.440 Weight::from_parts(12_197_000, 54480)441 // Standard Error: 70_580442 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))443 .saturating_add(T::DbWeight::get().reads(2_u64))444 .saturating_add(T::DbWeight::get().writes(1_u64))445 }446 /// Storage: Refungible TotalSupply (r:1 w:1)447 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)448 /// Storage: Refungible Balance (r:1 w:1)449 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)450 fn repartition_item() -> Weight {451 // Proof Size summary in bytes:452 // Measured: `321`453 // Estimated: `5079`454 // Minimum execution time: 14_497_000 picoseconds.455 Weight::from_parts(14_825_000, 5079)456 .saturating_add(T::DbWeight::get().reads(2_u64))457 .saturating_add(T::DbWeight::get().writes(2_u64))458 }459 /// Storage: Refungible Balance (r:2 w:0)460 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)461 fn token_owner() -> Weight {462 // Proof Size summary in bytes:463 // Measured: `321`464 // Estimated: `5128`465 // Minimum execution time: 8_888_000 picoseconds.466 Weight::from_parts(9_373_000, 5128)467 .saturating_add(T::DbWeight::get().reads(2_u64))468 }469 /// Storage: Refungible CollectionAllowance (r:0 w:1)470 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)471 fn set_allowance_for_all() -> Weight {472 // Proof Size summary in bytes:473 // Measured: `0`474 // Estimated: `0`475 // Minimum execution time: 7_042_000 picoseconds.476 Weight::from_parts(7_245_000, 0)477 .saturating_add(T::DbWeight::get().writes(1_u64))478 }479 /// Storage: Refungible CollectionAllowance (r:1 w:0)480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)481 fn allowance_for_all() -> Weight {482 // Proof Size summary in bytes:483 // Measured: `4`484 // Estimated: `2586`485 // Minimum execution time: 3_425_000 picoseconds.486 Weight::from_parts(3_554_000, 2586)487 .saturating_add(T::DbWeight::get().reads(1_u64))488 }489 /// Storage: Refungible TokenProperties (r:1 w:1)490 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)491 fn repair_item() -> Weight {492 // Proof Size summary in bytes:493 // Measured: `174`494 // Estimated: `35279`495 // Minimum execution time: 4_684_000 picoseconds.496 Weight::from_parts(4_805_000, 35279)497 .saturating_add(T::DbWeight::get().reads(1_u64))498 .saturating_add(T::DbWeight::get().writes(1_u64))499 }500}501502// For backwards compatibility and tests503impl WeightInfo for () {504 /// Storage: Refungible TokensMinted (r:1 w:1)505 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)506 /// Storage: Refungible AccountBalance (r:1 w:1)507 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)508 /// Storage: Refungible TokenProperties (r:1 w:1)509 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)510 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)511 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)512 /// Storage: Refungible Balance (r:0 w:1)513 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)514 /// Storage: Refungible TotalSupply (r:0 w:1)515 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)516 /// Storage: Refungible Owned (r:0 w:1)517 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)518 fn create_item() -> Weight {519 // Proof Size summary in bytes:520 // Measured: `285`521 // Estimated: `59511`522 // Minimum execution time: 25_287_000 picoseconds.523 Weight::from_parts(25_741_000, 59511)524 .saturating_add(RocksDbWeight::get().reads(4_u64))525 .saturating_add(RocksDbWeight::get().writes(6_u64))526 }527 /// Storage: Refungible TokensMinted (r:1 w:1)528 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)529 /// Storage: Refungible AccountBalance (r:1 w:1)530 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)531 /// Storage: Refungible TokenProperties (r:200 w:200)532 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)533 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)534 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)535 /// Storage: Refungible Balance (r:0 w:200)536 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)537 /// Storage: Refungible TotalSupply (r:0 w:200)538 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)539 /// Storage: Refungible Owned (r:0 w:200)540 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)541 /// The range of component `b` is `[0, 200]`.542 fn create_multiple_items(b: u32, ) -> Weight {543 // Proof Size summary in bytes:544 // Measured: `285`545 // Estimated: `24232 + b * (35279 ±0)`546 // Minimum execution time: 4_618_000 picoseconds.547 Weight::from_parts(1_425_218, 24232)548 // Standard Error: 4_343549 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))550 .saturating_add(RocksDbWeight::get().reads(3_u64))551 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))552 .saturating_add(RocksDbWeight::get().writes(2_u64))553 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))554 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))555 }556 /// Storage: Refungible TokensMinted (r:1 w:1)557 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)558 /// Storage: Refungible AccountBalance (r:200 w:200)559 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)560 /// Storage: Refungible TokenProperties (r:200 w:200)561 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)562 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)563 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)564 /// Storage: Refungible Balance (r:0 w:200)565 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)566 /// Storage: Refungible TotalSupply (r:0 w:200)567 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)568 /// Storage: Refungible Owned (r:0 w:200)569 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)570 /// The range of component `b` is `[0, 200]`.571 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {572 // Proof Size summary in bytes:573 // Measured: `285`574 // Estimated: `21692 + b * (37819 ±0)`575 // Minimum execution time: 4_063_000 picoseconds.576 Weight::from_parts(4_160_000, 21692)577 // Standard Error: 2_386578 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))579 .saturating_add(RocksDbWeight::get().reads(2_u64))580 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))581 .saturating_add(RocksDbWeight::get().writes(1_u64))582 .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))583 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))584 }585 /// Storage: Refungible TokensMinted (r:1 w:1)586 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)587 /// Storage: Refungible AccountBalance (r:200 w:200)588 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)589 /// Storage: Refungible TokenProperties (r:1 w:1)590 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, 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: `285`603 // Estimated: `56971 + b * (2540 ±0)`604 // Minimum execution time: 14_637_000 picoseconds.605 Weight::from_parts(19_042_423, 56971)606 // Standard Error: 1_632607 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))608 .saturating_add(RocksDbWeight::get().reads(3_u64))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))610 .saturating_add(RocksDbWeight::get().writes(3_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: `490`625 // Estimated: `12747`626 // Minimum execution time: 35_018_000 picoseconds.627 Weight::from_parts(35_596_000, 12747)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: `375`646 // Estimated: `10110`647 // Minimum execution time: 30_441_000 picoseconds.648 Weight::from_parts(31_000_000, 10110)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: `398`659 // Estimated: `7643`660 // Minimum execution time: 20_055_000 picoseconds.661 Weight::from_parts(20_533_000, 7643)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: `375`676 // Estimated: `10183`677 // Minimum execution time: 23_443_000 picoseconds.678 Weight::from_parts(23_791_000, 10183)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: `490`693 // Estimated: `10183`694 // Minimum execution time: 26_489_000 picoseconds.695 Weight::from_parts(27_103_000, 10183)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: `375`710 // Estimated: `12723`711 // Minimum execution time: 26_719_000 picoseconds.712 Weight::from_parts(27_038_000, 12723)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: `256`723 // Estimated: `2564`724 // Minimum execution time: 12_949_000 picoseconds.725 Weight::from_parts(13_181_000, 2564)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: `244`736 // Estimated: `2564`737 // Minimum execution time: 12_942_000 picoseconds.738 Weight::from_parts(13_268_000, 2564)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: `528`751 // Estimated: `10223`752 // Minimum execution time: 28_907_000 picoseconds.753 Weight::from_parts(29_487_000, 10223)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: `505`770 // Estimated: `12763`771 // Minimum execution time: 31_271_000 picoseconds.772 Weight::from_parts(32_293_000, 12763)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: `620`789 // Estimated: `12763`790 // Minimum execution time: 34_295_000 picoseconds.791 Weight::from_parts(34_924_000, 12763)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: `505`808 // Estimated: `15303`809 // Minimum execution time: 35_447_000 picoseconds.810 Weight::from_parts(35_896_000, 15303)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: `505`831 // Estimated: `12690`832 // Minimum execution time: 39_395_000 picoseconds.833 Weight::from_parts(40_119_000, 12690)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: `281`843 // Estimated: `19201`844 // Minimum execution time: 2_337_000 picoseconds.845 Weight::from_parts(2_434_000, 19201)846 // Standard Error: 43_425847 .saturating_add(Weight::from_parts(12_286_502, 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 /// The range of component `b` is `[0, 64]`.856 fn set_token_properties(b: u32, ) -> Weight {857 // Proof Size summary in bytes:858 // Measured: `490 + b * (261 ±0)`859 // Estimated: `54480`860 // Minimum execution time: 11_857_000 picoseconds.861 Weight::from_parts(12_007_000, 54480)862 // Standard Error: 22_963863 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))864 .saturating_add(RocksDbWeight::get().reads(2_u64))865 .saturating_add(RocksDbWeight::get().writes(1_u64))866 }867 /// Storage: Refungible TokenProperties (r:1 w:1)868 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)869 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)870 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)871 /// The range of component `b` is `[0, 64]`.872 fn delete_token_properties(b: u32, ) -> Weight {873 // Proof Size summary in bytes:874 // Measured: `527 + b * (33291 ±0)`875 // Estimated: `54480`876 // Minimum execution time: 12_001_000 picoseconds.877 Weight::from_parts(12_197_000, 54480)878 // Standard Error: 70_580879 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))880 .saturating_add(RocksDbWeight::get().reads(2_u64))881 .saturating_add(RocksDbWeight::get().writes(1_u64))882 }883 /// Storage: Refungible TotalSupply (r:1 w:1)884 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)885 /// Storage: Refungible Balance (r:1 w:1)886 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)887 fn repartition_item() -> Weight {888 // Proof Size summary in bytes:889 // Measured: `321`890 // Estimated: `5079`891 // Minimum execution time: 14_497_000 picoseconds.892 Weight::from_parts(14_825_000, 5079)893 .saturating_add(RocksDbWeight::get().reads(2_u64))894 .saturating_add(RocksDbWeight::get().writes(2_u64))895 }896 /// Storage: Refungible Balance (r:2 w:0)897 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)898 fn token_owner() -> Weight {899 // Proof Size summary in bytes:900 // Measured: `321`901 // Estimated: `5128`902 // Minimum execution time: 8_888_000 picoseconds.903 Weight::from_parts(9_373_000, 5128)904 .saturating_add(RocksDbWeight::get().reads(2_u64))905 }906 /// Storage: Refungible CollectionAllowance (r:0 w:1)907 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)908 fn set_allowance_for_all() -> Weight {909 // Proof Size summary in bytes:910 // Measured: `0`911 // Estimated: `0`912 // Minimum execution time: 7_042_000 picoseconds.913 Weight::from_parts(7_245_000, 0)914 .saturating_add(RocksDbWeight::get().writes(1_u64))915 }916 /// Storage: Refungible CollectionAllowance (r:1 w:0)917 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)918 fn allowance_for_all() -> Weight {919 // Proof Size summary in bytes:920 // Measured: `4`921 // Estimated: `2586`922 // Minimum execution time: 3_425_000 picoseconds.923 Weight::from_parts(3_554_000, 2586)924 .saturating_add(RocksDbWeight::get().reads(1_u64))925 }926 /// Storage: Refungible TokenProperties (r:1 w:1)927 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)928 fn repair_item() -> Weight {929 // Proof Size summary in bytes:930 // Measured: `174`931 // Estimated: `35279`932 // Minimum execution time: 4_684_000 picoseconds.933 Weight::from_parts(4_805_000, 35279)934 .saturating_add(RocksDbWeight::get().reads(1_u64))935 .saturating_add(RocksDbWeight::get().writes(1_u64))936 }937}938difftreelog
source
pallets/refungible/src/weights.rs49.3 KiBsourcehistory