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-10-13, 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: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// ./target/production/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 load_token_properties() -> Weight;54 fn write_token_properties(b: u32, ) -> Weight;55 fn set_token_property_permissions(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn set_allowance_for_all() -> Weight;58 fn allowance_for_all() -> Weight;59 fn repair_item() -> Weight;60}6162/// Weights for pallet_refungible using the Substrate node and recommended hardware.63pub struct SubstrateWeight<T>(PhantomData<T>);64impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {65 /// Storage: `Refungible::TokensMinted` (r:1 w:1)66 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)67 /// Storage: `Refungible::AccountBalance` (r:1 w:1)68 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)69 /// Storage: `Refungible::Balance` (r:0 w:1)70 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)71 /// Storage: `Refungible::TotalSupply` (r:0 w:1)72 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)73 /// Storage: `Refungible::Owned` (r:0 w:1)74 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)75 fn create_item() -> Weight {76 // Proof Size summary in bytes:77 // Measured: `4`78 // Estimated: `3530`79 // Minimum execution time: 29_966_000 picoseconds.80 Weight::from_parts(30_393_000, 3530)81 .saturating_add(T::DbWeight::get().reads(2_u64))82 .saturating_add(T::DbWeight::get().writes(5_u64))83 }84 /// Storage: `Refungible::TokensMinted` (r:1 w:1)85 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)86 /// Storage: `Refungible::AccountBalance` (r:1 w:1)87 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)88 /// Storage: `Refungible::Balance` (r:0 w:200)89 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)90 /// Storage: `Refungible::TotalSupply` (r:0 w:200)91 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)92 /// Storage: `Refungible::Owned` (r:0 w:200)93 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)94 /// The range of component `b` is `[0, 200]`.95 fn create_multiple_items(b: u32, ) -> Weight {96 // Proof Size summary in bytes:97 // Measured: `4`98 // Estimated: `3530`99 // Minimum execution time: 5_693_000 picoseconds.100 Weight::from_parts(109_204, 3530)101 // Standard Error: 5_369102 .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))103 .saturating_add(T::DbWeight::get().reads(2_u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))106 }107 /// Storage: `Refungible::TokensMinted` (r:1 w:1)108 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)109 /// Storage: `Refungible::AccountBalance` (r:200 w:200)110 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)111 /// Storage: `Refungible::Balance` (r:0 w:200)112 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)113 /// Storage: `Refungible::TotalSupply` (r:0 w:200)114 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)115 /// Storage: `Refungible::Owned` (r:0 w:200)116 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)117 /// The range of component `b` is `[0, 200]`.118 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {119 // Proof Size summary in bytes:120 // Measured: `4`121 // Estimated: `3481 + b * (2540 ±0)`122 // Minimum execution time: 5_758_000 picoseconds.123 Weight::from_parts(7_034_227, 3481)124 // Standard Error: 3_531125 .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))126 .saturating_add(T::DbWeight::get().reads(1_u64))127 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))128 .saturating_add(T::DbWeight::get().writes(1_u64))129 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))130 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))131 }132 /// Storage: `Refungible::TokensMinted` (r:1 w:1)133 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)134 /// Storage: `Refungible::AccountBalance` (r:200 w:200)135 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)136 /// Storage: `Refungible::Balance` (r:0 w:200)137 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)138 /// Storage: `Refungible::TotalSupply` (r:0 w:1)139 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)140 /// Storage: `Refungible::Owned` (r:0 w:200)141 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)142 /// The range of component `b` is `[0, 200]`.143 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {144 // Proof Size summary in bytes:145 // Measured: `4`146 // Estimated: `3481 + b * (2540 ±0)`147 // Minimum execution time: 8_857_000 picoseconds.148 Weight::from_parts(9_650_186, 3481)149 // Standard Error: 3_518150 .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))151 .saturating_add(T::DbWeight::get().reads(1_u64))152 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))153 .saturating_add(T::DbWeight::get().writes(2_u64))154 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))155 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))156 }157 /// Storage: `Refungible::Balance` (r:3 w:1)158 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)159 /// Storage: `Refungible::TotalSupply` (r:1 w:1)160 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)161 /// Storage: `Refungible::AccountBalance` (r:1 w:1)162 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)163 /// Storage: `Refungible::Owned` (r:0 w:1)164 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)165 fn burn_item_partial() -> Weight {166 // Proof Size summary in bytes:167 // Measured: `456`168 // Estimated: `8682`169 // Minimum execution time: 44_423_000 picoseconds.170 Weight::from_parts(45_092_000, 8682)171 .saturating_add(T::DbWeight::get().reads(5_u64))172 .saturating_add(T::DbWeight::get().writes(4_u64))173 }174 /// Storage: `Refungible::Balance` (r:1 w:1)175 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)176 /// Storage: `Refungible::TotalSupply` (r:1 w:1)177 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)178 /// Storage: `Refungible::AccountBalance` (r:1 w:1)179 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)180 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)181 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, 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 /// Storage: `Refungible::TokenProperties` (r:0 w:1)185 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)186 fn burn_item_fully() -> Weight {187 // Proof Size summary in bytes:188 // Measured: `341`189 // Estimated: `3554`190 // Minimum execution time: 44_902_000 picoseconds.191 Weight::from_parts(45_473_000, 3554)192 .saturating_add(T::DbWeight::get().reads(4_u64))193 .saturating_add(T::DbWeight::get().writes(6_u64))194 }195 /// Storage: `Refungible::Balance` (r:2 w:2)196 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)197 /// Storage: `Refungible::TotalSupply` (r:1 w:0)198 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)199 fn transfer_normal() -> Weight {200 // Proof Size summary in bytes:201 // Measured: `365`202 // Estimated: `6118`203 // Minimum execution time: 27_627_000 picoseconds.204 Weight::from_parts(28_046_000, 6118)205 .saturating_add(T::DbWeight::get().reads(3_u64))206 .saturating_add(T::DbWeight::get().writes(2_u64))207 }208 /// Storage: `Refungible::Balance` (r:2 w:2)209 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)210 /// Storage: `Refungible::AccountBalance` (r:1 w:1)211 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)212 /// Storage: `Refungible::TotalSupply` (r:1 w:0)213 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)214 /// Storage: `Refungible::Owned` (r:0 w:1)215 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)216 fn transfer_creating() -> Weight {217 // Proof Size summary in bytes:218 // Measured: `341`219 // Estimated: `6118`220 // Minimum execution time: 35_866_000 picoseconds.221 Weight::from_parts(36_441_000, 6118)222 .saturating_add(T::DbWeight::get().reads(4_u64))223 .saturating_add(T::DbWeight::get().writes(4_u64))224 }225 /// Storage: `Refungible::Balance` (r:2 w:2)226 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)227 /// Storage: `Refungible::AccountBalance` (r:1 w:1)228 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)229 /// Storage: `Refungible::TotalSupply` (r:1 w:0)230 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)231 /// Storage: `Refungible::Owned` (r:0 w:1)232 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)233 fn transfer_removing() -> Weight {234 // Proof Size summary in bytes:235 // Measured: `456`236 // Estimated: `6118`237 // Minimum execution time: 38_370_000 picoseconds.238 Weight::from_parts(38_855_000, 6118)239 .saturating_add(T::DbWeight::get().reads(4_u64))240 .saturating_add(T::DbWeight::get().writes(4_u64))241 }242 /// Storage: `Refungible::Balance` (r:2 w:2)243 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)244 /// Storage: `Refungible::AccountBalance` (r:2 w:2)245 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)246 /// Storage: `Refungible::TotalSupply` (r:1 w:0)247 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)248 /// Storage: `Refungible::Owned` (r:0 w:2)249 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)250 fn transfer_creating_removing() -> Weight {251 // Proof Size summary in bytes:252 // Measured: `341`253 // Estimated: `6118`254 // Minimum execution time: 43_244_000 picoseconds.255 Weight::from_parts(43_649_000, 6118)256 .saturating_add(T::DbWeight::get().reads(5_u64))257 .saturating_add(T::DbWeight::get().writes(6_u64))258 }259 /// Storage: `Refungible::Balance` (r:1 w:0)260 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)261 /// Storage: `Refungible::Allowance` (r:0 w:1)262 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)263 fn approve() -> Weight {264 // Proof Size summary in bytes:265 // Measured: `223`266 // Estimated: `3554`267 // Minimum execution time: 17_775_000 picoseconds.268 Weight::from_parts(18_062_000, 3554)269 .saturating_add(T::DbWeight::get().reads(1_u64))270 .saturating_add(T::DbWeight::get().writes(1_u64))271 }272 /// Storage: `Refungible::Balance` (r:1 w:0)273 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)274 /// Storage: `Refungible::Allowance` (r:0 w:1)275 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)276 fn approve_from() -> Weight {277 // Proof Size summary in bytes:278 // Measured: `211`279 // Estimated: `3554`280 // Minimum execution time: 18_304_000 picoseconds.281 Weight::from_parts(18_534_000, 3554)282 .saturating_add(T::DbWeight::get().reads(1_u64))283 .saturating_add(T::DbWeight::get().writes(1_u64))284 }285 /// Storage: `Refungible::Allowance` (r:1 w:1)286 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)287 /// Storage: `Refungible::Balance` (r:2 w:2)288 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)289 /// Storage: `Refungible::TotalSupply` (r:1 w:0)290 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)291 fn transfer_from_normal() -> Weight {292 // Proof Size summary in bytes:293 // Measured: `495`294 // Estimated: `6118`295 // Minimum execution time: 42_123_000 picoseconds.296 Weight::from_parts(42_887_000, 6118)297 .saturating_add(T::DbWeight::get().reads(4_u64))298 .saturating_add(T::DbWeight::get().writes(3_u64))299 }300 /// Storage: `Refungible::Allowance` (r:1 w:1)301 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)302 /// Storage: `Refungible::Balance` (r:2 w:2)303 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)304 /// Storage: `Refungible::AccountBalance` (r:1 w:1)305 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)306 /// Storage: `Refungible::TotalSupply` (r:1 w:0)307 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)308 /// Storage: `Refungible::Owned` (r:0 w:1)309 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)310 fn transfer_from_creating() -> Weight {311 // Proof Size summary in bytes:312 // Measured: `471`313 // Estimated: `6118`314 // Minimum execution time: 50_549_000 picoseconds.315 Weight::from_parts(51_144_000, 6118)316 .saturating_add(T::DbWeight::get().reads(5_u64))317 .saturating_add(T::DbWeight::get().writes(5_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_removing() -> Weight {330 // Proof Size summary in bytes:331 // Measured: `586`332 // Estimated: `6118`333 // Minimum execution time: 52_978_000 picoseconds.334 Weight::from_parts(53_931_000, 6118)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:2 w:2)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:2)347 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)348 fn transfer_from_creating_removing() -> Weight {349 // Proof Size summary in bytes:350 // Measured: `471`351 // Estimated: `6118`352 // Minimum execution time: 57_512_000 picoseconds.353 Weight::from_parts(58_148_000, 6118)354 .saturating_add(T::DbWeight::get().reads(6_u64))355 .saturating_add(T::DbWeight::get().writes(7_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:1 w:1)360 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)361 /// Storage: `Refungible::TotalSupply` (r:1 w:1)362 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)363 /// Storage: `Refungible::AccountBalance` (r:1 w:1)364 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)365 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)366 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)367 /// Storage: `Refungible::Owned` (r:0 w:1)368 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)369 /// Storage: `Refungible::TokenProperties` (r:0 w:1)370 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)371 fn burn_from() -> Weight {372 // Proof Size summary in bytes:373 // Measured: `471`374 // Estimated: `3570`375 // Minimum execution time: 59_841_000 picoseconds.376 Weight::from_parts(60_643_000, 3570)377 .saturating_add(T::DbWeight::get().reads(5_u64))378 .saturating_add(T::DbWeight::get().writes(7_u64))379 }380 /// Storage: `Refungible::TokenProperties` (r:1 w:0)381 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)382 fn load_token_properties() -> Weight {383 // Proof Size summary in bytes:384 // Measured: `120`385 // Estimated: `36269`386 // Minimum execution time: 3_752_000 picoseconds.387 Weight::from_parts(3_933_000, 36269)388 .saturating_add(T::DbWeight::get().reads(1_u64))389 }390 /// Storage: `Refungible::TokenProperties` (r:0 w:1)391 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)392 /// The range of component `b` is `[0, 64]`.393 fn write_token_properties(b: u32, ) -> Weight {394 // Proof Size summary in bytes:395 // Measured: `0`396 // Estimated: `0`397 // Minimum execution time: 851_000 picoseconds.398 Weight::from_parts(879_000, 0)399 // Standard Error: 27_977400 .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))401 .saturating_add(T::DbWeight::get().writes(1_u64))402 }403 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)404 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)405 /// The range of component `b` is `[0, 64]`.406 fn set_token_property_permissions(b: u32, ) -> Weight {407 // Proof Size summary in bytes:408 // Measured: `314`409 // Estimated: `20191`410 // Minimum execution time: 3_212_000 picoseconds.411 Weight::from_parts(3_312_000, 20191)412 // Standard Error: 169_099413 .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))414 .saturating_add(T::DbWeight::get().reads(1_u64))415 .saturating_add(T::DbWeight::get().writes(1_u64))416 }417 /// Storage: `Refungible::TotalSupply` (r:1 w:1)418 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)419 /// Storage: `Refungible::Balance` (r:1 w:1)420 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)421 fn repartition_item() -> Weight {422 // Proof Size summary in bytes:423 // Measured: `288`424 // Estimated: `3554`425 // Minimum execution time: 21_917_000 picoseconds.426 Weight::from_parts(22_248_000, 3554)427 .saturating_add(T::DbWeight::get().reads(2_u64))428 .saturating_add(T::DbWeight::get().writes(2_u64))429 }430 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)431 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)432 fn set_allowance_for_all() -> Weight {433 // Proof Size summary in bytes:434 // Measured: `0`435 // Estimated: `0`436 // Minimum execution time: 11_167_000 picoseconds.437 Weight::from_parts(11_372_000, 0)438 .saturating_add(T::DbWeight::get().writes(1_u64))439 }440 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)441 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)442 fn allowance_for_all() -> Weight {443 // Proof Size summary in bytes:444 // Measured: `4`445 // Estimated: `3576`446 // Minimum execution time: 4_851_000 picoseconds.447 Weight::from_parts(4_988_000, 3576)448 .saturating_add(T::DbWeight::get().reads(1_u64))449 }450 /// Storage: `Refungible::TokenProperties` (r:1 w:1)451 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)452 fn repair_item() -> Weight {453 // Proof Size summary in bytes:454 // Measured: `120`455 // Estimated: `36269`456 // Minimum execution time: 4_130_000 picoseconds.457 Weight::from_parts(4_267_000, 36269)458 .saturating_add(T::DbWeight::get().reads(1_u64))459 .saturating_add(T::DbWeight::get().writes(1_u64))460 }461}462463// For backwards compatibility and tests464impl WeightInfo for () {465 /// Storage: `Refungible::TokensMinted` (r:1 w:1)466 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)467 /// Storage: `Refungible::AccountBalance` (r:1 w:1)468 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)469 /// Storage: `Refungible::Balance` (r:0 w:1)470 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)471 /// Storage: `Refungible::TotalSupply` (r:0 w:1)472 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)473 /// Storage: `Refungible::Owned` (r:0 w:1)474 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)475 fn create_item() -> Weight {476 // Proof Size summary in bytes:477 // Measured: `4`478 // Estimated: `3530`479 // Minimum execution time: 29_966_000 picoseconds.480 Weight::from_parts(30_393_000, 3530)481 .saturating_add(RocksDbWeight::get().reads(2_u64))482 .saturating_add(RocksDbWeight::get().writes(5_u64))483 }484 /// Storage: `Refungible::TokensMinted` (r:1 w:1)485 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)486 /// Storage: `Refungible::AccountBalance` (r:1 w:1)487 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)488 /// Storage: `Refungible::Balance` (r:0 w:200)489 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)490 /// Storage: `Refungible::TotalSupply` (r:0 w:200)491 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)492 /// Storage: `Refungible::Owned` (r:0 w:200)493 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)494 /// The range of component `b` is `[0, 200]`.495 fn create_multiple_items(b: u32, ) -> Weight {496 // Proof Size summary in bytes:497 // Measured: `4`498 // Estimated: `3530`499 // Minimum execution time: 5_693_000 picoseconds.500 Weight::from_parts(109_204, 3530)501 // Standard Error: 5_369502 .saturating_add(Weight::from_parts(13_553_747, 0).saturating_mul(b.into()))503 .saturating_add(RocksDbWeight::get().reads(2_u64))504 .saturating_add(RocksDbWeight::get().writes(2_u64))505 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))506 }507 /// Storage: `Refungible::TokensMinted` (r:1 w:1)508 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)509 /// Storage: `Refungible::AccountBalance` (r:200 w:200)510 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)511 /// Storage: `Refungible::Balance` (r:0 w:200)512 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)513 /// Storage: `Refungible::TotalSupply` (r:0 w:200)514 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)515 /// Storage: `Refungible::Owned` (r:0 w:200)516 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)517 /// The range of component `b` is `[0, 200]`.518 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {519 // Proof Size summary in bytes:520 // Measured: `4`521 // Estimated: `3481 + b * (2540 ±0)`522 // Minimum execution time: 5_758_000 picoseconds.523 Weight::from_parts(7_034_227, 3481)524 // Standard Error: 3_531525 .saturating_add(Weight::from_parts(17_131_873, 0).saturating_mul(b.into()))526 .saturating_add(RocksDbWeight::get().reads(1_u64))527 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))528 .saturating_add(RocksDbWeight::get().writes(1_u64))529 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))530 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))531 }532 /// Storage: `Refungible::TokensMinted` (r:1 w:1)533 /// Proof: `Refungible::TokensMinted` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)534 /// Storage: `Refungible::AccountBalance` (r:200 w:200)535 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)536 /// Storage: `Refungible::Balance` (r:0 w:200)537 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)538 /// Storage: `Refungible::TotalSupply` (r:0 w:1)539 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)540 /// Storage: `Refungible::Owned` (r:0 w:200)541 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)542 /// The range of component `b` is `[0, 200]`.543 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {544 // Proof Size summary in bytes:545 // Measured: `4`546 // Estimated: `3481 + b * (2540 ±0)`547 // Minimum execution time: 8_857_000 picoseconds.548 Weight::from_parts(9_650_186, 3481)549 // Standard Error: 3_518550 .saturating_add(Weight::from_parts(13_536_987, 0).saturating_mul(b.into()))551 .saturating_add(RocksDbWeight::get().reads(1_u64))552 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))553 .saturating_add(RocksDbWeight::get().writes(2_u64))554 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))555 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))556 }557 /// Storage: `Refungible::Balance` (r:3 w:1)558 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)559 /// Storage: `Refungible::TotalSupply` (r:1 w:1)560 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)561 /// Storage: `Refungible::AccountBalance` (r:1 w:1)562 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)563 /// Storage: `Refungible::Owned` (r:0 w:1)564 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)565 fn burn_item_partial() -> Weight {566 // Proof Size summary in bytes:567 // Measured: `456`568 // Estimated: `8682`569 // Minimum execution time: 44_423_000 picoseconds.570 Weight::from_parts(45_092_000, 8682)571 .saturating_add(RocksDbWeight::get().reads(5_u64))572 .saturating_add(RocksDbWeight::get().writes(4_u64))573 }574 /// Storage: `Refungible::Balance` (r:1 w:1)575 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)576 /// Storage: `Refungible::TotalSupply` (r:1 w:1)577 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)578 /// Storage: `Refungible::AccountBalance` (r:1 w:1)579 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)580 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)581 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)582 /// Storage: `Refungible::Owned` (r:0 w:1)583 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)584 /// Storage: `Refungible::TokenProperties` (r:0 w:1)585 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)586 fn burn_item_fully() -> Weight {587 // Proof Size summary in bytes:588 // Measured: `341`589 // Estimated: `3554`590 // Minimum execution time: 44_902_000 picoseconds.591 Weight::from_parts(45_473_000, 3554)592 .saturating_add(RocksDbWeight::get().reads(4_u64))593 .saturating_add(RocksDbWeight::get().writes(6_u64))594 }595 /// Storage: `Refungible::Balance` (r:2 w:2)596 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)597 /// Storage: `Refungible::TotalSupply` (r:1 w:0)598 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)599 fn transfer_normal() -> Weight {600 // Proof Size summary in bytes:601 // Measured: `365`602 // Estimated: `6118`603 // Minimum execution time: 27_627_000 picoseconds.604 Weight::from_parts(28_046_000, 6118)605 .saturating_add(RocksDbWeight::get().reads(3_u64))606 .saturating_add(RocksDbWeight::get().writes(2_u64))607 }608 /// Storage: `Refungible::Balance` (r:2 w:2)609 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)610 /// Storage: `Refungible::AccountBalance` (r:1 w:1)611 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)612 /// Storage: `Refungible::TotalSupply` (r:1 w:0)613 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)614 /// Storage: `Refungible::Owned` (r:0 w:1)615 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)616 fn transfer_creating() -> Weight {617 // Proof Size summary in bytes:618 // Measured: `341`619 // Estimated: `6118`620 // Minimum execution time: 35_866_000 picoseconds.621 Weight::from_parts(36_441_000, 6118)622 .saturating_add(RocksDbWeight::get().reads(4_u64))623 .saturating_add(RocksDbWeight::get().writes(4_u64))624 }625 /// Storage: `Refungible::Balance` (r:2 w:2)626 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)627 /// Storage: `Refungible::AccountBalance` (r:1 w:1)628 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)629 /// Storage: `Refungible::TotalSupply` (r:1 w:0)630 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)631 /// Storage: `Refungible::Owned` (r:0 w:1)632 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)633 fn transfer_removing() -> Weight {634 // Proof Size summary in bytes:635 // Measured: `456`636 // Estimated: `6118`637 // Minimum execution time: 38_370_000 picoseconds.638 Weight::from_parts(38_855_000, 6118)639 .saturating_add(RocksDbWeight::get().reads(4_u64))640 .saturating_add(RocksDbWeight::get().writes(4_u64))641 }642 /// Storage: `Refungible::Balance` (r:2 w:2)643 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)644 /// Storage: `Refungible::AccountBalance` (r:2 w:2)645 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)646 /// Storage: `Refungible::TotalSupply` (r:1 w:0)647 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)648 /// Storage: `Refungible::Owned` (r:0 w:2)649 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)650 fn transfer_creating_removing() -> Weight {651 // Proof Size summary in bytes:652 // Measured: `341`653 // Estimated: `6118`654 // Minimum execution time: 43_244_000 picoseconds.655 Weight::from_parts(43_649_000, 6118)656 .saturating_add(RocksDbWeight::get().reads(5_u64))657 .saturating_add(RocksDbWeight::get().writes(6_u64))658 }659 /// Storage: `Refungible::Balance` (r:1 w:0)660 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)661 /// Storage: `Refungible::Allowance` (r:0 w:1)662 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)663 fn approve() -> Weight {664 // Proof Size summary in bytes:665 // Measured: `223`666 // Estimated: `3554`667 // Minimum execution time: 17_775_000 picoseconds.668 Weight::from_parts(18_062_000, 3554)669 .saturating_add(RocksDbWeight::get().reads(1_u64))670 .saturating_add(RocksDbWeight::get().writes(1_u64))671 }672 /// Storage: `Refungible::Balance` (r:1 w:0)673 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)674 /// Storage: `Refungible::Allowance` (r:0 w:1)675 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)676 fn approve_from() -> Weight {677 // Proof Size summary in bytes:678 // Measured: `211`679 // Estimated: `3554`680 // Minimum execution time: 18_304_000 picoseconds.681 Weight::from_parts(18_534_000, 3554)682 .saturating_add(RocksDbWeight::get().reads(1_u64))683 .saturating_add(RocksDbWeight::get().writes(1_u64))684 }685 /// Storage: `Refungible::Allowance` (r:1 w:1)686 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)687 /// Storage: `Refungible::Balance` (r:2 w:2)688 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)689 /// Storage: `Refungible::TotalSupply` (r:1 w:0)690 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)691 fn transfer_from_normal() -> Weight {692 // Proof Size summary in bytes:693 // Measured: `495`694 // Estimated: `6118`695 // Minimum execution time: 42_123_000 picoseconds.696 Weight::from_parts(42_887_000, 6118)697 .saturating_add(RocksDbWeight::get().reads(4_u64))698 .saturating_add(RocksDbWeight::get().writes(3_u64))699 }700 /// Storage: `Refungible::Allowance` (r:1 w:1)701 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)702 /// Storage: `Refungible::Balance` (r:2 w:2)703 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)704 /// Storage: `Refungible::AccountBalance` (r:1 w:1)705 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)706 /// Storage: `Refungible::TotalSupply` (r:1 w:0)707 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)708 /// Storage: `Refungible::Owned` (r:0 w:1)709 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)710 fn transfer_from_creating() -> Weight {711 // Proof Size summary in bytes:712 // Measured: `471`713 // Estimated: `6118`714 // Minimum execution time: 50_549_000 picoseconds.715 Weight::from_parts(51_144_000, 6118)716 .saturating_add(RocksDbWeight::get().reads(5_u64))717 .saturating_add(RocksDbWeight::get().writes(5_u64))718 }719 /// Storage: `Refungible::Allowance` (r:1 w:1)720 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)721 /// Storage: `Refungible::Balance` (r:2 w:2)722 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)723 /// Storage: `Refungible::AccountBalance` (r:1 w:1)724 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)725 /// Storage: `Refungible::TotalSupply` (r:1 w:0)726 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)727 /// Storage: `Refungible::Owned` (r:0 w:1)728 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)729 fn transfer_from_removing() -> Weight {730 // Proof Size summary in bytes:731 // Measured: `586`732 // Estimated: `6118`733 // Minimum execution time: 52_978_000 picoseconds.734 Weight::from_parts(53_931_000, 6118)735 .saturating_add(RocksDbWeight::get().reads(5_u64))736 .saturating_add(RocksDbWeight::get().writes(5_u64))737 }738 /// Storage: `Refungible::Allowance` (r:1 w:1)739 /// Proof: `Refungible::Allowance` (`max_values`: None, `max_size`: Some(105), added: 2580, mode: `MaxEncodedLen`)740 /// Storage: `Refungible::Balance` (r:2 w:2)741 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)742 /// Storage: `Refungible::AccountBalance` (r:2 w:2)743 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)744 /// Storage: `Refungible::TotalSupply` (r:1 w:0)745 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)746 /// Storage: `Refungible::Owned` (r:0 w:2)747 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)748 fn transfer_from_creating_removing() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `471`751 // Estimated: `6118`752 // Minimum execution time: 57_512_000 picoseconds.753 Weight::from_parts(58_148_000, 6118)754 .saturating_add(RocksDbWeight::get().reads(6_u64))755 .saturating_add(RocksDbWeight::get().writes(7_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:1 w:1)760 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)761 /// Storage: `Refungible::TotalSupply` (r:1 w:1)762 /// Proof: `Refungible::TotalSupply` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)763 /// Storage: `Refungible::AccountBalance` (r:1 w:1)764 /// Proof: `Refungible::AccountBalance` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`)765 /// Storage: `Refungible::TokensBurnt` (r:1 w:1)766 /// Proof: `Refungible::TokensBurnt` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)767 /// Storage: `Refungible::Owned` (r:0 w:1)768 /// Proof: `Refungible::Owned` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`)769 /// Storage: `Refungible::TokenProperties` (r:0 w:1)770 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)771 fn burn_from() -> Weight {772 // Proof Size summary in bytes:773 // Measured: `471`774 // Estimated: `3570`775 // Minimum execution time: 59_841_000 picoseconds.776 Weight::from_parts(60_643_000, 3570)777 .saturating_add(RocksDbWeight::get().reads(5_u64))778 .saturating_add(RocksDbWeight::get().writes(7_u64))779 }780 /// Storage: `Refungible::TokenProperties` (r:1 w:0)781 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)782 fn load_token_properties() -> Weight {783 // Proof Size summary in bytes:784 // Measured: `120`785 // Estimated: `36269`786 // Minimum execution time: 3_752_000 picoseconds.787 Weight::from_parts(3_933_000, 36269)788 .saturating_add(RocksDbWeight::get().reads(1_u64))789 }790 /// Storage: `Refungible::TokenProperties` (r:0 w:1)791 /// Proof: `Refungible::TokenProperties` (`max_values`: None, `max_size`: Some(32804), added: 35279, mode: `MaxEncodedLen`)792 /// The range of component `b` is `[0, 64]`.793 fn write_token_properties(b: u32, ) -> Weight {794 // Proof Size summary in bytes:795 // Measured: `0`796 // Estimated: `0`797 // Minimum execution time: 851_000 picoseconds.798 Weight::from_parts(879_000, 0)799 // Standard Error: 27_977800 .saturating_add(Weight::from_parts(37_787_661, 0).saturating_mul(b.into()))801 .saturating_add(RocksDbWeight::get().writes(1_u64))802 }803 /// Storage: `Common::CollectionPropertyPermissions` (r:1 w:1)804 /// Proof: `Common::CollectionPropertyPermissions` (`max_values`: None, `max_size`: Some(16726), added: 19201, mode: `MaxEncodedLen`)805 /// The range of component `b` is `[0, 64]`.806 fn set_token_property_permissions(b: u32, ) -> Weight {807 // Proof Size summary in bytes:808 // Measured: `314`809 // Estimated: `20191`810 // Minimum execution time: 3_212_000 picoseconds.811 Weight::from_parts(3_312_000, 20191)812 // Standard Error: 169_099813 .saturating_add(Weight::from_parts(37_467_090, 0).saturating_mul(b.into()))814 .saturating_add(RocksDbWeight::get().reads(1_u64))815 .saturating_add(RocksDbWeight::get().writes(1_u64))816 }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::Balance` (r:1 w:1)820 /// Proof: `Refungible::Balance` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)821 fn repartition_item() -> Weight {822 // Proof Size summary in bytes:823 // Measured: `288`824 // Estimated: `3554`825 // Minimum execution time: 21_917_000 picoseconds.826 Weight::from_parts(22_248_000, 3554)827 .saturating_add(RocksDbWeight::get().reads(2_u64))828 .saturating_add(RocksDbWeight::get().writes(2_u64))829 }830 /// Storage: `Refungible::CollectionAllowance` (r:0 w:1)831 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)832 fn set_allowance_for_all() -> Weight {833 // Proof Size summary in bytes:834 // Measured: `0`835 // Estimated: `0`836 // Minimum execution time: 11_167_000 picoseconds.837 Weight::from_parts(11_372_000, 0)838 .saturating_add(RocksDbWeight::get().writes(1_u64))839 }840 /// Storage: `Refungible::CollectionAllowance` (r:1 w:0)841 /// Proof: `Refungible::CollectionAllowance` (`max_values`: None, `max_size`: Some(111), added: 2586, mode: `MaxEncodedLen`)842 fn allowance_for_all() -> Weight {843 // Proof Size summary in bytes:844 // Measured: `4`845 // Estimated: `3576`846 // Minimum execution time: 4_851_000 picoseconds.847 Weight::from_parts(4_988_000, 3576)848 .saturating_add(RocksDbWeight::get().reads(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 fn repair_item() -> Weight {853 // Proof Size summary in bytes:854 // Measured: `120`855 // Estimated: `36269`856 // Minimum execution time: 4_130_000 picoseconds.857 Weight::from_parts(4_267_000, 36269)858 .saturating_add(RocksDbWeight::get().reads(1_u64))859 .saturating_add(RocksDbWeight::get().writes(1_u64))860 }861}862difftreelog
source
pallets/refungible/src/weights.rs45.8 KiBsourcehistory