1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_proxy_rmrk_core4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2022-06-10, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 102489// Executed Command:10// target/release/unique-collator11// benchmark12// pallet13// --pallet14// pallet-proxy-rmrk-core15// --wasm-execution16// compiled17// --extrinsic18// *19// --template20// .maintain/frame-weight-template.hbs21// --steps=5022// --repeat=20023// --heap-pages=409624// --output=./pallets/proxy-rmrk-core/src/weights.rs2526#![cfg_attr(rustfmt, rustfmt_skip)]27#![allow(unused_parens)]28#![allow(unused_imports)]29#![allow(clippy::unnecessary_cast)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_proxy_rmrk_core.35pub trait WeightInfo {36 fn create_collection() -> Weight;37 fn destroy_collection() -> Weight;38 fn change_collection_issuer() -> Weight;39 fn lock_collection() -> Weight;40 fn mint_nft() -> Weight;41 fn send() -> Weight;42 fn accept_nft() -> Weight;43 fn reject_nft() -> Weight;44 fn set_property() -> Weight;45 fn set_priority() -> Weight;46 fn add_basic_resource() -> Weight;47 fn add_composable_resource() -> Weight;48 fn add_slot_resource() -> Weight;49 fn remove_resource() -> Weight;50 fn accept_resource() -> Weight;51 fn accept_resource_removal() -> Weight;52}5354/// Weights for pallet_proxy_rmrk_core using the Substrate node and recommended hardware.55pub struct SubstrateWeight<T>(PhantomData<T>);56impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {57 // Storage: Common CreatedCollectionCount (r:1 w:1)58 // Storage: Common DestroyedCollectionCount (r:1 w:0)59 // Storage: System Account (r:2 w:2)60 // Storage: RmrkCore CollectionIndex (r:1 w:1)61 // Storage: Common CollectionPropertyPermissions (r:0 w:1)62 // Storage: Common CollectionProperties (r:0 w:1)63 // Storage: Common CollectionById (r:0 w:1)64 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)65 fn create_collection() -> Weight {66 (40_456_000 as Weight)67 .saturating_add(T::DbWeight::get().reads(5 as Weight))68 .saturating_add(T::DbWeight::get().writes(8 as Weight))69 }70 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)71 // Storage: Common CollectionProperties (r:1 w:1)72 // Storage: Common CollectionById (r:1 w:1)73 // Storage: Nonfungible TokenData (r:1 w:0)74 // Storage: Common DestroyedCollectionCount (r:1 w:1)75 // Storage: Nonfungible TokensMinted (r:0 w:1)76 // Storage: Nonfungible TokensBurnt (r:0 w:1)77 // Storage: Common AdminAmount (r:0 w:1)78 fn destroy_collection() -> Weight {79 (43_812_000 as Weight)80 .saturating_add(T::DbWeight::get().reads(5 as Weight))81 .saturating_add(T::DbWeight::get().writes(6 as Weight))82 }83 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)84 // Storage: Common CollectionById (r:1 w:1)85 // Storage: Common CollectionProperties (r:1 w:0)86 fn change_collection_issuer() -> Weight {87 (22_032_000 as Weight)88 .saturating_add(T::DbWeight::get().reads(3 as Weight))89 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 }91 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)92 // Storage: Common CollectionProperties (r:1 w:0)93 // Storage: Common CollectionById (r:1 w:1)94 // Storage: Nonfungible TokensMinted (r:1 w:0)95 // Storage: Nonfungible TokensBurnt (r:1 w:0)96 fn lock_collection() -> Weight {97 (23_314_000 as Weight)98 .saturating_add(T::DbWeight::get().reads(5 as Weight))99 .saturating_add(T::DbWeight::get().writes(1 as Weight))100 }101 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)102 // Storage: Common CollectionProperties (r:1 w:0)103 // Storage: Common CollectionById (r:1 w:0)104 // Storage: Nonfungible TokensMinted (r:1 w:1)105 // Storage: Nonfungible AccountBalance (r:1 w:1)106 // Storage: Nonfungible TokenProperties (r:1 w:1)107 // Storage: Nonfungible TokenData (r:0 w:1)108 // Storage: Nonfungible Owned (r:0 w:1)109 fn mint_nft() -> Weight {110 (40_075_000 as Weight)111 .saturating_add(T::DbWeight::get().reads(6 as Weight))112 .saturating_add(T::DbWeight::get().writes(5 as Weight))113 }114 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)115 // Storage: Common CollectionProperties (r:1 w:0)116 // Storage: Common CollectionById (r:1 w:0)117 // Storage: Nonfungible TokenData (r:5 w:1)118 // Storage: Nonfungible TokenProperties (r:1 w:0)119 // Storage: Nonfungible AccountBalance (r:2 w:2)120 // Storage: Nonfungible Allowance (r:1 w:0)121 // Storage: Nonfungible TokenChildren (r:0 w:1)122 // Storage: Nonfungible Owned (r:0 w:2)123 fn send() -> Weight {124 (71_474_000 as Weight)125 .saturating_add(T::DbWeight::get().reads(12 as Weight))126 .saturating_add(T::DbWeight::get().writes(6 as Weight))127 }128 // Storage: RmrkCore UniqueCollectionId (r:2 w:0)129 // Storage: Common CollectionProperties (r:1 w:0)130 // Storage: Common CollectionById (r:2 w:0)131 // Storage: Nonfungible TokenData (r:6 w:1)132 // Storage: Nonfungible AccountBalance (r:2 w:2)133 // Storage: Nonfungible Allowance (r:1 w:0)134 // Storage: Nonfungible TokenProperties (r:1 w:1)135 // Storage: Nonfungible TokenChildren (r:0 w:1)136 // Storage: Nonfungible Owned (r:0 w:2)137 fn accept_nft() -> Weight {138 (79_890_000 as Weight)139 .saturating_add(T::DbWeight::get().reads(15 as Weight))140 .saturating_add(T::DbWeight::get().writes(7 as Weight))141 }142 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)143 // Storage: Common CollectionProperties (r:1 w:0)144 // Storage: Common CollectionById (r:1 w:0)145 // Storage: Nonfungible TokenProperties (r:1 w:5)146 // Storage: Nonfungible TokenData (r:5 w:5)147 // Storage: Nonfungible TokenChildren (r:9 w:4)148 // Storage: Nonfungible TokensBurnt (r:1 w:1)149 // Storage: Nonfungible AccountBalance (r:5 w:5)150 // Storage: Nonfungible Allowance (r:5 w:0)151 // Storage: Nonfungible Owned (r:0 w:5)152 fn reject_nft() -> Weight {153 (236_754_000 as Weight)154 .saturating_add(T::DbWeight::get().reads(29 as Weight))155 .saturating_add(T::DbWeight::get().writes(25 as Weight))156 }157 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)158 // Storage: Common CollectionProperties (r:1 w:0)159 // Storage: Common CollectionById (r:1 w:0)160 // Storage: Nonfungible TokenProperties (r:1 w:1)161 // Storage: Nonfungible TokenData (r:5 w:0)162 fn set_property() -> Weight {163 (48_370_000 as Weight)164 .saturating_add(T::DbWeight::get().reads(9 as Weight))165 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 }167 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)168 // Storage: Common CollectionProperties (r:1 w:0)169 // Storage: Common CollectionById (r:1 w:0)170 // Storage: Nonfungible TokenProperties (r:1 w:1)171 // Storage: Nonfungible TokenData (r:5 w:0)172 fn set_priority() -> Weight {173 (47_128_000 as Weight)174 .saturating_add(T::DbWeight::get().reads(9 as Weight))175 .saturating_add(T::DbWeight::get().writes(1 as Weight))176 }177 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)178 // Storage: Common CollectionProperties (r:1 w:1)179 // Storage: Common CollectionById (r:1 w:1)180 // Storage: Nonfungible TokenData (r:5 w:1)181 // Storage: Nonfungible TokenProperties (r:2 w:2)182 // Storage: Common CreatedCollectionCount (r:1 w:1)183 // Storage: Common DestroyedCollectionCount (r:1 w:0)184 // Storage: System Account (r:2 w:2)185 // Storage: Nonfungible TokensMinted (r:1 w:1)186 // Storage: Nonfungible AccountBalance (r:1 w:1)187 // Storage: Nonfungible Owned (r:0 w:1)188 // Storage: Common CollectionPropertyPermissions (r:0 w:1)189 fn add_basic_resource() -> Weight {190 (101_501_000 as Weight)191 .saturating_add(T::DbWeight::get().reads(16 as Weight))192 .saturating_add(T::DbWeight::get().writes(12 as Weight))193 }194 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)195 // Storage: Common CollectionProperties (r:1 w:1)196 // Storage: Common CollectionById (r:1 w:1)197 // Storage: Nonfungible TokenData (r:5 w:1)198 // Storage: Nonfungible TokenProperties (r:2 w:2)199 // Storage: Common CreatedCollectionCount (r:1 w:1)200 // Storage: Common DestroyedCollectionCount (r:1 w:0)201 // Storage: System Account (r:2 w:2)202 // Storage: Nonfungible TokensMinted (r:1 w:1)203 // Storage: Nonfungible AccountBalance (r:1 w:1)204 // Storage: Nonfungible Owned (r:0 w:1)205 // Storage: Common CollectionPropertyPermissions (r:0 w:1)206 fn add_composable_resource() -> Weight {207 (103_004_000 as Weight)208 .saturating_add(T::DbWeight::get().reads(16 as Weight))209 .saturating_add(T::DbWeight::get().writes(12 as Weight))210 }211 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)212 // Storage: Common CollectionProperties (r:1 w:1)213 // Storage: Common CollectionById (r:1 w:1)214 // Storage: Nonfungible TokenData (r:5 w:1)215 // Storage: Nonfungible TokenProperties (r:2 w:2)216 // Storage: Common CreatedCollectionCount (r:1 w:1)217 // Storage: Common DestroyedCollectionCount (r:1 w:0)218 // Storage: System Account (r:2 w:2)219 // Storage: Nonfungible TokensMinted (r:1 w:1)220 // Storage: Nonfungible AccountBalance (r:1 w:1)221 // Storage: Nonfungible Owned (r:0 w:1)222 // Storage: Common CollectionPropertyPermissions (r:0 w:1)223 fn add_slot_resource() -> Weight {224 (102_613_000 as Weight)225 .saturating_add(T::DbWeight::get().reads(16 as Weight))226 .saturating_add(T::DbWeight::get().writes(12 as Weight))227 }228 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)229 // Storage: Common CollectionProperties (r:2 w:0)230 // Storage: Common CollectionById (r:2 w:0)231 // Storage: Nonfungible TokenProperties (r:1 w:1)232 // Storage: Nonfungible TokenData (r:6 w:1)233 // Storage: Nonfungible TokenChildren (r:1 w:0)234 // Storage: Nonfungible TokensBurnt (r:1 w:1)235 // Storage: Nonfungible AccountBalance (r:1 w:1)236 // Storage: Nonfungible Allowance (r:1 w:0)237 // Storage: Nonfungible Owned (r:0 w:1)238 fn remove_resource() -> Weight {239 (82_084_000 as Weight)240 .saturating_add(T::DbWeight::get().reads(16 as Weight))241 .saturating_add(T::DbWeight::get().writes(5 as Weight))242 }243 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)244 // Storage: Common CollectionProperties (r:1 w:0)245 // Storage: Common CollectionById (r:1 w:0)246 // Storage: Nonfungible TokenData (r:5 w:0)247 // Storage: Nonfungible TokenProperties (r:2 w:1)248 fn accept_resource() -> Weight {249 (56_426_000 as Weight)250 .saturating_add(T::DbWeight::get().reads(10 as Weight))251 .saturating_add(T::DbWeight::get().writes(1 as Weight))252 }253 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)254 // Storage: Common CollectionProperties (r:2 w:0)255 // Storage: Common CollectionById (r:2 w:0)256 // Storage: Nonfungible TokenData (r:6 w:1)257 // Storage: Nonfungible TokenProperties (r:2 w:1)258 // Storage: Nonfungible TokenChildren (r:1 w:0)259 // Storage: Nonfungible TokensBurnt (r:1 w:1)260 // Storage: Nonfungible AccountBalance (r:1 w:1)261 // Storage: Nonfungible Allowance (r:1 w:0)262 // Storage: Nonfungible Owned (r:0 w:1)263 fn accept_resource_removal() -> Weight {264 (85_631_000 as Weight)265 .saturating_add(T::DbWeight::get().reads(17 as Weight))266 .saturating_add(T::DbWeight::get().writes(5 as Weight))267 }268}269270// For backwards compatibility and tests271impl WeightInfo for () {272 // Storage: Common CreatedCollectionCount (r:1 w:1)273 // Storage: Common DestroyedCollectionCount (r:1 w:0)274 // Storage: System Account (r:2 w:2)275 // Storage: RmrkCore CollectionIndex (r:1 w:1)276 // Storage: Common CollectionPropertyPermissions (r:0 w:1)277 // Storage: Common CollectionProperties (r:0 w:1)278 // Storage: Common CollectionById (r:0 w:1)279 // Storage: RmrkCore UniqueCollectionId (r:0 w:1)280 fn create_collection() -> Weight {281 (40_456_000 as Weight)282 .saturating_add(RocksDbWeight::get().reads(5 as Weight))283 .saturating_add(RocksDbWeight::get().writes(8 as Weight))284 }285 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)286 // Storage: Common CollectionProperties (r:1 w:1)287 // Storage: Common CollectionById (r:1 w:1)288 // Storage: Nonfungible TokenData (r:1 w:0)289 // Storage: Common DestroyedCollectionCount (r:1 w:1)290 // Storage: Nonfungible TokensMinted (r:0 w:1)291 // Storage: Nonfungible TokensBurnt (r:0 w:1)292 // Storage: Common AdminAmount (r:0 w:1)293 fn destroy_collection() -> Weight {294 (43_812_000 as Weight)295 .saturating_add(RocksDbWeight::get().reads(5 as Weight))296 .saturating_add(RocksDbWeight::get().writes(6 as Weight))297 }298 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)299 // Storage: Common CollectionById (r:1 w:1)300 // Storage: Common CollectionProperties (r:1 w:0)301 fn change_collection_issuer() -> Weight {302 (22_032_000 as Weight)303 .saturating_add(RocksDbWeight::get().reads(3 as Weight))304 .saturating_add(RocksDbWeight::get().writes(1 as Weight))305 }306 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)307 // Storage: Common CollectionProperties (r:1 w:0)308 // Storage: Common CollectionById (r:1 w:1)309 // Storage: Nonfungible TokensMinted (r:1 w:0)310 // Storage: Nonfungible TokensBurnt (r:1 w:0)311 fn lock_collection() -> Weight {312 (23_314_000 as Weight)313 .saturating_add(RocksDbWeight::get().reads(5 as Weight))314 .saturating_add(RocksDbWeight::get().writes(1 as Weight))315 }316 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)317 // Storage: Common CollectionProperties (r:1 w:0)318 // Storage: Common CollectionById (r:1 w:0)319 // Storage: Nonfungible TokensMinted (r:1 w:1)320 // Storage: Nonfungible AccountBalance (r:1 w:1)321 // Storage: Nonfungible TokenProperties (r:1 w:1)322 // Storage: Nonfungible TokenData (r:0 w:1)323 // Storage: Nonfungible Owned (r:0 w:1)324 fn mint_nft() -> Weight {325 (40_075_000 as Weight)326 .saturating_add(RocksDbWeight::get().reads(6 as Weight))327 .saturating_add(RocksDbWeight::get().writes(5 as Weight))328 }329 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)330 // Storage: Common CollectionProperties (r:1 w:0)331 // Storage: Common CollectionById (r:1 w:0)332 // Storage: Nonfungible TokenData (r:5 w:1)333 // Storage: Nonfungible TokenProperties (r:1 w:0)334 // Storage: Nonfungible AccountBalance (r:2 w:2)335 // Storage: Nonfungible Allowance (r:1 w:0)336 // Storage: Nonfungible TokenChildren (r:0 w:1)337 // Storage: Nonfungible Owned (r:0 w:2)338 fn send() -> Weight {339 (71_474_000 as Weight)340 .saturating_add(RocksDbWeight::get().reads(12 as Weight))341 .saturating_add(RocksDbWeight::get().writes(6 as Weight))342 }343 // Storage: RmrkCore UniqueCollectionId (r:2 w:0)344 // Storage: Common CollectionProperties (r:1 w:0)345 // Storage: Common CollectionById (r:2 w:0)346 // Storage: Nonfungible TokenData (r:6 w:1)347 // Storage: Nonfungible AccountBalance (r:2 w:2)348 // Storage: Nonfungible Allowance (r:1 w:0)349 // Storage: Nonfungible TokenProperties (r:1 w:1)350 // Storage: Nonfungible TokenChildren (r:0 w:1)351 // Storage: Nonfungible Owned (r:0 w:2)352 fn accept_nft() -> Weight {353 (79_890_000 as Weight)354 .saturating_add(RocksDbWeight::get().reads(15 as Weight))355 .saturating_add(RocksDbWeight::get().writes(7 as Weight))356 }357 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)358 // Storage: Common CollectionProperties (r:1 w:0)359 // Storage: Common CollectionById (r:1 w:0)360 // Storage: Nonfungible TokenProperties (r:1 w:5)361 // Storage: Nonfungible TokenData (r:5 w:5)362 // Storage: Nonfungible TokenChildren (r:9 w:4)363 // Storage: Nonfungible TokensBurnt (r:1 w:1)364 // Storage: Nonfungible AccountBalance (r:5 w:5)365 // Storage: Nonfungible Allowance (r:5 w:0)366 // Storage: Nonfungible Owned (r:0 w:5)367 fn reject_nft() -> Weight {368 (236_754_000 as Weight)369 .saturating_add(RocksDbWeight::get().reads(29 as Weight))370 .saturating_add(RocksDbWeight::get().writes(25 as Weight))371 }372 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)373 // Storage: Common CollectionProperties (r:1 w:0)374 // Storage: Common CollectionById (r:1 w:0)375 // Storage: Nonfungible TokenProperties (r:1 w:1)376 // Storage: Nonfungible TokenData (r:5 w:0)377 fn set_property() -> Weight {378 (48_370_000 as Weight)379 .saturating_add(RocksDbWeight::get().reads(9 as Weight))380 .saturating_add(RocksDbWeight::get().writes(1 as Weight))381 }382 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)383 // Storage: Common CollectionProperties (r:1 w:0)384 // Storage: Common CollectionById (r:1 w:0)385 // Storage: Nonfungible TokenProperties (r:1 w:1)386 // Storage: Nonfungible TokenData (r:5 w:0)387 fn set_priority() -> Weight {388 (47_128_000 as Weight)389 .saturating_add(RocksDbWeight::get().reads(9 as Weight))390 .saturating_add(RocksDbWeight::get().writes(1 as Weight))391 }392 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)393 // Storage: Common CollectionProperties (r:1 w:1)394 // Storage: Common CollectionById (r:1 w:1)395 // Storage: Nonfungible TokenData (r:5 w:1)396 // Storage: Nonfungible TokenProperties (r:2 w:2)397 // Storage: Common CreatedCollectionCount (r:1 w:1)398 // Storage: Common DestroyedCollectionCount (r:1 w:0)399 // Storage: System Account (r:2 w:2)400 // Storage: Nonfungible TokensMinted (r:1 w:1)401 // Storage: Nonfungible AccountBalance (r:1 w:1)402 // Storage: Nonfungible Owned (r:0 w:1)403 // Storage: Common CollectionPropertyPermissions (r:0 w:1)404 fn add_basic_resource() -> Weight {405 (101_501_000 as Weight)406 .saturating_add(RocksDbWeight::get().reads(16 as Weight))407 .saturating_add(RocksDbWeight::get().writes(12 as Weight))408 }409 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)410 // Storage: Common CollectionProperties (r:1 w:1)411 // Storage: Common CollectionById (r:1 w:1)412 // Storage: Nonfungible TokenData (r:5 w:1)413 // Storage: Nonfungible TokenProperties (r:2 w:2)414 // Storage: Common CreatedCollectionCount (r:1 w:1)415 // Storage: Common DestroyedCollectionCount (r:1 w:0)416 // Storage: System Account (r:2 w:2)417 // Storage: Nonfungible TokensMinted (r:1 w:1)418 // Storage: Nonfungible AccountBalance (r:1 w:1)419 // Storage: Nonfungible Owned (r:0 w:1)420 // Storage: Common CollectionPropertyPermissions (r:0 w:1)421 fn add_composable_resource() -> Weight {422 (103_004_000 as Weight)423 .saturating_add(RocksDbWeight::get().reads(16 as Weight))424 .saturating_add(RocksDbWeight::get().writes(12 as Weight))425 }426 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)427 // Storage: Common CollectionProperties (r:1 w:1)428 // Storage: Common CollectionById (r:1 w:1)429 // Storage: Nonfungible TokenData (r:5 w:1)430 // Storage: Nonfungible TokenProperties (r:2 w:2)431 // Storage: Common CreatedCollectionCount (r:1 w:1)432 // Storage: Common DestroyedCollectionCount (r:1 w:0)433 // Storage: System Account (r:2 w:2)434 // Storage: Nonfungible TokensMinted (r:1 w:1)435 // Storage: Nonfungible AccountBalance (r:1 w:1)436 // Storage: Nonfungible Owned (r:0 w:1)437 // Storage: Common CollectionPropertyPermissions (r:0 w:1)438 fn add_slot_resource() -> Weight {439 (102_613_000 as Weight)440 .saturating_add(RocksDbWeight::get().reads(16 as Weight))441 .saturating_add(RocksDbWeight::get().writes(12 as Weight))442 }443 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)444 // Storage: Common CollectionProperties (r:2 w:0)445 // Storage: Common CollectionById (r:2 w:0)446 // Storage: Nonfungible TokenProperties (r:1 w:1)447 // Storage: Nonfungible TokenData (r:6 w:1)448 // Storage: Nonfungible TokenChildren (r:1 w:0)449 // Storage: Nonfungible TokensBurnt (r:1 w:1)450 // Storage: Nonfungible AccountBalance (r:1 w:1)451 // Storage: Nonfungible Allowance (r:1 w:0)452 // Storage: Nonfungible Owned (r:0 w:1)453 fn remove_resource() -> Weight {454 (82_084_000 as Weight)455 .saturating_add(RocksDbWeight::get().reads(16 as Weight))456 .saturating_add(RocksDbWeight::get().writes(5 as Weight))457 }458 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)459 // Storage: Common CollectionProperties (r:1 w:0)460 // Storage: Common CollectionById (r:1 w:0)461 // Storage: Nonfungible TokenData (r:5 w:0)462 // Storage: Nonfungible TokenProperties (r:2 w:1)463 fn accept_resource() -> Weight {464 (56_426_000 as Weight)465 .saturating_add(RocksDbWeight::get().reads(10 as Weight))466 .saturating_add(RocksDbWeight::get().writes(1 as Weight))467 }468 // Storage: RmrkCore UniqueCollectionId (r:1 w:0)469 // Storage: Common CollectionProperties (r:2 w:0)470 // Storage: Common CollectionById (r:2 w:0)471 // Storage: Nonfungible TokenData (r:6 w:1)472 // Storage: Nonfungible TokenProperties (r:2 w:1)473 // Storage: Nonfungible TokenChildren (r:1 w:0)474 // Storage: Nonfungible TokensBurnt (r:1 w:1)475 // Storage: Nonfungible AccountBalance (r:1 w:1)476 // Storage: Nonfungible Allowance (r:1 w:0)477 // Storage: Nonfungible Owned (r:0 w:1)478 fn accept_resource_removal() -> Weight {479 (85_631_000 as Weight)480 .saturating_add(RocksDbWeight::get().reads(17 as Weight))481 .saturating_add(RocksDbWeight::get().writes(5 as Weight))482 }483}difftreelog
source
pallets/proxy-rmrk-core/src/weights.rs19.9 KiBsourcehistory