mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 04:11:07 +00:00
3a3d93afee
* Empty commit * ".git/.scripts/commands/bench/bench.sh" all --------- Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: command-bot <>
1453 lines
74 KiB
Rust
1453 lines
74 KiB
Rust
// This file is part of Substrate.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
//! Autogenerated weights for pallet_nfts
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-03-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// ./target/production/substrate
|
|
// benchmark
|
|
// pallet
|
|
// --chain=dev
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --pallet=pallet_nfts
|
|
// --no-storage-info
|
|
// --no-median-slopes
|
|
// --no-min-squares
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --output=./frame/nfts/src/weights.rs
|
|
// --header=./HEADER-APACHE2
|
|
// --template=./.maintain/frame-weight-template.hbs
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use sp_std::marker::PhantomData;
|
|
|
|
/// Weight functions needed for pallet_nfts.
|
|
pub trait WeightInfo {
|
|
fn create() -> Weight;
|
|
fn force_create() -> Weight;
|
|
fn destroy(m: u32, c: u32, a: u32, ) -> Weight;
|
|
fn mint() -> Weight;
|
|
fn force_mint() -> Weight;
|
|
fn burn() -> Weight;
|
|
fn transfer() -> Weight;
|
|
fn redeposit(i: u32, ) -> Weight;
|
|
fn lock_item_transfer() -> Weight;
|
|
fn unlock_item_transfer() -> Weight;
|
|
fn lock_collection() -> Weight;
|
|
fn transfer_ownership() -> Weight;
|
|
fn set_team() -> Weight;
|
|
fn force_collection_owner() -> Weight;
|
|
fn force_collection_config() -> Weight;
|
|
fn lock_item_properties() -> Weight;
|
|
fn set_attribute() -> Weight;
|
|
fn force_set_attribute() -> Weight;
|
|
fn clear_attribute() -> Weight;
|
|
fn approve_item_attributes() -> Weight;
|
|
fn cancel_item_attributes_approval(n: u32, ) -> Weight;
|
|
fn set_metadata() -> Weight;
|
|
fn clear_metadata() -> Weight;
|
|
fn set_collection_metadata() -> Weight;
|
|
fn clear_collection_metadata() -> Weight;
|
|
fn approve_transfer() -> Weight;
|
|
fn cancel_approval() -> Weight;
|
|
fn clear_all_transfer_approvals() -> Weight;
|
|
fn set_accept_ownership() -> Weight;
|
|
fn set_collection_max_supply() -> Weight;
|
|
fn update_mint_settings() -> Weight;
|
|
fn set_price() -> Weight;
|
|
fn buy_item() -> Weight;
|
|
fn pay_tips(n: u32, ) -> Weight;
|
|
fn create_swap() -> Weight;
|
|
fn cancel_swap() -> Weight;
|
|
fn claim_swap() -> Weight;
|
|
fn mint_pre_signed(n: u32, ) -> Weight;
|
|
fn set_attributes_pre_signed(n: u32, ) -> Weight;
|
|
}
|
|
|
|
/// Weights for pallet_nfts using the Substrate node and recommended hardware.
|
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
|
/// Storage: Nfts NextCollectionId (r:1 w:1)
|
|
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `182`
|
|
// Estimated: `5038`
|
|
// Minimum execution time: 36_780_000 picoseconds.
|
|
Weight::from_parts(37_508_000, 5038)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts NextCollectionId (r:1 w:1)
|
|
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn force_create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `42`
|
|
// Estimated: `5038`
|
|
// Minimum execution time: 25_144_000 picoseconds.
|
|
Weight::from_parts(25_800_000, 5038)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:0)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1001 w:1000)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1000 w:1000)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
/// The range of component `m` is `[0, 1000]`.
|
|
/// The range of component `c` is `[0, 1000]`.
|
|
/// The range of component `a` is `[0, 1000]`.
|
|
fn destroy(m: u32, _c: u32, a: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `32186 + a * (332 ±0)`
|
|
// Estimated: `2538589 + a * (2921 ±0)`
|
|
// Minimum execution time: 1_122_858_000 picoseconds.
|
|
Weight::from_parts(1_094_711_913, 2538589)
|
|
// Standard Error: 4_485
|
|
.saturating_add(Weight::from_parts(3_481, 0).saturating_mul(m.into()))
|
|
// Standard Error: 4_485
|
|
.saturating_add(Weight::from_parts(5_520_602, 0).saturating_mul(a.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1004_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(T::DbWeight::get().writes(1005_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(a.into()))
|
|
}
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
fn mint() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `421`
|
|
// Estimated: `18460`
|
|
// Minimum execution time: 48_590_000 picoseconds.
|
|
Weight::from_parts(49_260_000, 18460)
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
fn force_mint() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `421`
|
|
// Estimated: `18460`
|
|
// Minimum execution time: 46_646_000 picoseconds.
|
|
Weight::from_parts(47_331_000, 18460)
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:0)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:0 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn burn() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `530`
|
|
// Estimated: `14993`
|
|
// Minimum execution time: 46_976_000 picoseconds.
|
|
Weight::from_parts(47_606_000, 14993)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(7_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:2)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `559`
|
|
// Estimated: `14926`
|
|
// Minimum execution time: 38_013_000 picoseconds.
|
|
Weight::from_parts(38_420_000, 14926)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:5000 w:5000)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// The range of component `i` is `[0, 5000]`.
|
|
fn redeposit(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `729 + i * (108 ±0)`
|
|
// Estimated: `8077 + i * (3336 ±0)`
|
|
// Minimum execution time: 17_428_000 picoseconds.
|
|
Weight::from_parts(17_664_000, 8077)
|
|
// Standard Error: 16_385
|
|
.saturating_add(Weight::from_parts(14_150_405, 0).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(Weight::from_parts(0, 3336).saturating_mul(i.into()))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn lock_item_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 21_760_000 picoseconds.
|
|
Weight::from_parts(22_063_000, 7047)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn unlock_item_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 21_622_000 picoseconds.
|
|
Weight::from_parts(22_056_000, 7047)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn lock_collection() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `306`
|
|
// Estimated: `7087`
|
|
// Minimum execution time: 18_820_000 picoseconds.
|
|
Weight::from_parts(19_212_000, 7087)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
|
|
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:2)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn transfer_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `354`
|
|
// Estimated: `7066`
|
|
// Minimum execution time: 25_433_000 picoseconds.
|
|
Weight::from_parts(25_793_000, 7066)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:2 w:4)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
fn set_team() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `335`
|
|
// Estimated: `9627`
|
|
// Minimum execution time: 43_368_000 picoseconds.
|
|
Weight::from_parts(43_974_000, 9627)
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:2)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn force_collection_owner() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `277`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 20_009_000 picoseconds.
|
|
Weight::from_parts(20_220_000, 3549)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn force_collection_config() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `242`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 16_048_000 picoseconds.
|
|
Weight::from_parts(16_353_000, 3549)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn lock_item_properties() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 20_890_000 picoseconds.
|
|
Weight::from_parts(21_237_000, 7047)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
fn set_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `505`
|
|
// Estimated: `18045`
|
|
// Minimum execution time: 50_686_000 picoseconds.
|
|
Weight::from_parts(50_981_000, 18045)
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
fn force_set_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `310`
|
|
// Estimated: `7460`
|
|
// Minimum execution time: 28_714_000 picoseconds.
|
|
Weight::from_parts(29_044_000, 7460)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
fn clear_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `916`
|
|
// Estimated: `14507`
|
|
// Minimum execution time: 46_232_000 picoseconds.
|
|
Weight::from_parts(46_738_000, 14507)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
fn approve_item_attributes() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `347`
|
|
// Estimated: `8472`
|
|
// Minimum execution time: 19_332_000 picoseconds.
|
|
Weight::from_parts(19_765_000, 8472)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1001 w:1000)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 1000]`.
|
|
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `803 + n * (364 ±0)`
|
|
// Estimated: `15976 + n * (2921 ±0)`
|
|
// Minimum execution time: 29_227_000 picoseconds.
|
|
Weight::from_parts(29_661_000, 15976)
|
|
// Standard Error: 3_574
|
|
.saturating_add(Weight::from_parts(5_442_937, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
fn set_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `505`
|
|
// Estimated: `17739`
|
|
// Minimum execution time: 41_297_000 picoseconds.
|
|
Weight::from_parts(41_902_000, 17739)
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn clear_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `608`
|
|
// Estimated: `14201`
|
|
// Minimum execution time: 39_312_000 picoseconds.
|
|
Weight::from_parts(40_048_000, 14201)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
fn set_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `364`
|
|
// Estimated: `14173`
|
|
// Minimum execution time: 36_932_000 picoseconds.
|
|
Weight::from_parts(38_207_000, 14173)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
fn clear_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `475`
|
|
// Estimated: `14173`
|
|
// Minimum execution time: 35_264_000 picoseconds.
|
|
Weight::from_parts(35_829_000, 14173)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn approve_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `376`
|
|
// Estimated: `7864`
|
|
// Minimum execution time: 22_819_000 picoseconds.
|
|
Weight::from_parts(23_121_000, 7864)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn cancel_approval() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `384`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 20_377_000 picoseconds.
|
|
Weight::from_parts(20_625_000, 4326)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn clear_all_transfer_approvals() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `384`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 19_180_000 picoseconds.
|
|
Weight::from_parts(19_468_000, 4326)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
|
|
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
fn set_accept_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `42`
|
|
// Estimated: `3517`
|
|
// Minimum execution time: 17_381_000 picoseconds.
|
|
Weight::from_parts(17_718_000, 3517)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
fn set_collection_max_supply() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `306`
|
|
// Estimated: `7087`
|
|
// Minimum execution time: 20_373_000 picoseconds.
|
|
Weight::from_parts(20_662_000, 7087)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn update_mint_settings() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `289`
|
|
// Estimated: `7072`
|
|
// Minimum execution time: 20_154_000 picoseconds.
|
|
Weight::from_parts(20_592_000, 7072)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
fn set_price() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484`
|
|
// Estimated: `11377`
|
|
// Minimum execution time: 25_644_000 picoseconds.
|
|
Weight::from_parts(25_999_000, 11377)
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:1 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:2)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn buy_item() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `671`
|
|
// Estimated: `18480`
|
|
// Minimum execution time: 51_542_000 picoseconds.
|
|
Weight::from_parts(52_203_000, 18480)
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_u64))
|
|
}
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn pay_tips(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_796_000 picoseconds.
|
|
Weight::from_parts(5_517_617, 0)
|
|
// Standard Error: 14_247
|
|
.saturating_add(Weight::from_parts(3_757_796, 0).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts Item (r:2 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn create_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `460`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 23_218_000 picoseconds.
|
|
Weight::from_parts(23_590_000, 7662)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts PendingSwapOf (r:1 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn cancel_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `479`
|
|
// Estimated: `7862`
|
|
// Minimum execution time: 22_536_000 picoseconds.
|
|
Weight::from_parts(22_874_000, 7862)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:2 w:2)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:1 w:2)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:2 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:4)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:2)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
fn claim_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `800`
|
|
// Estimated: `24321`
|
|
// Minimum execution time: 77_372_000 picoseconds.
|
|
Weight::from_parts(78_109_000, 24321)
|
|
.saturating_add(T::DbWeight::get().reads(7_u64))
|
|
.saturating_add(T::DbWeight::get().writes(10_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:2 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:10 w:10)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn mint_pre_signed(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `595`
|
|
// Estimated: `29192 + n * (2921 ±0)`
|
|
// Minimum execution time: 131_935_000 picoseconds.
|
|
Weight::from_parts(137_455_891, 29192)
|
|
// Standard Error: 31_617
|
|
.saturating_add(Weight::from_parts(27_550_750, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(6_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:10 w:10)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn set_attributes_pre_signed(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `625`
|
|
// Estimated: `20142 + n * (2921 ±0)`
|
|
// Minimum execution time: 77_694_000 picoseconds.
|
|
Weight::from_parts(90_089_732, 20142)
|
|
// Standard Error: 71_327
|
|
.saturating_add(Weight::from_parts(27_832_189, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests
|
|
impl WeightInfo for () {
|
|
/// Storage: Nfts NextCollectionId (r:1 w:1)
|
|
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `182`
|
|
// Estimated: `5038`
|
|
// Minimum execution time: 36_780_000 picoseconds.
|
|
Weight::from_parts(37_508_000, 5038)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts NextCollectionId (r:1 w:1)
|
|
/// Proof: Nfts NextCollectionId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn force_create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `42`
|
|
// Estimated: `5038`
|
|
// Minimum execution time: 25_144_000 picoseconds.
|
|
Weight::from_parts(25_800_000, 5038)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:0)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1001 w:1000)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1000 w:1000)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:1)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
/// The range of component `m` is `[0, 1000]`.
|
|
/// The range of component `c` is `[0, 1000]`.
|
|
/// The range of component `a` is `[0, 1000]`.
|
|
fn destroy(m: u32, _c: u32, a: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `32186 + a * (332 ±0)`
|
|
// Estimated: `2538589 + a * (2921 ±0)`
|
|
// Minimum execution time: 1_122_858_000 picoseconds.
|
|
Weight::from_parts(1_094_711_913, 2538589)
|
|
// Standard Error: 4_485
|
|
.saturating_add(Weight::from_parts(3_481, 0).saturating_mul(m.into()))
|
|
// Standard Error: 4_485
|
|
.saturating_add(Weight::from_parts(5_520_602, 0).saturating_mul(a.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1004_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(1005_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(a.into()))
|
|
}
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
fn mint() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `421`
|
|
// Estimated: `18460`
|
|
// Minimum execution time: 48_590_000 picoseconds.
|
|
Weight::from_parts(49_260_000, 18460)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
fn force_mint() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `421`
|
|
// Estimated: `18460`
|
|
// Minimum execution time: 46_646_000 picoseconds.
|
|
Weight::from_parts(47_331_000, 18460)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:0)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:0 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn burn() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `530`
|
|
// Estimated: `14993`
|
|
// Minimum execution time: 46_976_000 picoseconds.
|
|
Weight::from_parts(47_606_000, 14993)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:2)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `559`
|
|
// Estimated: `14926`
|
|
// Minimum execution time: 38_013_000 picoseconds.
|
|
Weight::from_parts(38_420_000, 14926)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:5000 w:5000)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// The range of component `i` is `[0, 5000]`.
|
|
fn redeposit(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `729 + i * (108 ±0)`
|
|
// Estimated: `8077 + i * (3336 ±0)`
|
|
// Minimum execution time: 17_428_000 picoseconds.
|
|
Weight::from_parts(17_664_000, 8077)
|
|
// Standard Error: 16_385
|
|
.saturating_add(Weight::from_parts(14_150_405, 0).saturating_mul(i.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(Weight::from_parts(0, 3336).saturating_mul(i.into()))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn lock_item_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 21_760_000 picoseconds.
|
|
Weight::from_parts(22_063_000, 7047)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn unlock_item_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 21_622_000 picoseconds.
|
|
Weight::from_parts(22_056_000, 7047)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn lock_collection() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `306`
|
|
// Estimated: `7087`
|
|
// Minimum execution time: 18_820_000 picoseconds.
|
|
Weight::from_parts(19_212_000, 7087)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
|
|
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:2)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn transfer_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `354`
|
|
// Estimated: `7066`
|
|
// Minimum execution time: 25_433_000 picoseconds.
|
|
Weight::from_parts(25_793_000, 7066)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:2 w:4)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
fn set_team() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `335`
|
|
// Estimated: `9627`
|
|
// Minimum execution time: 43_368_000 picoseconds.
|
|
Weight::from_parts(43_974_000, 9627)
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionAccount (r:0 w:2)
|
|
/// Proof: Nfts CollectionAccount (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen)
|
|
fn force_collection_owner() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `277`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 20_009_000 picoseconds.
|
|
Weight::from_parts(20_220_000, 3549)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:0 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn force_collection_config() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `242`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 16_048_000 picoseconds.
|
|
Weight::from_parts(16_353_000, 3549)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn lock_item_properties() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `401`
|
|
// Estimated: `7047`
|
|
// Minimum execution time: 20_890_000 picoseconds.
|
|
Weight::from_parts(21_237_000, 7047)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
fn set_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `505`
|
|
// Estimated: `18045`
|
|
// Minimum execution time: 50_686_000 picoseconds.
|
|
Weight::from_parts(50_981_000, 18045)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
fn force_set_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `310`
|
|
// Estimated: `7460`
|
|
// Minimum execution time: 28_714_000 picoseconds.
|
|
Weight::from_parts(29_044_000, 7460)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Attribute (r:1 w:1)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
fn clear_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `916`
|
|
// Estimated: `14507`
|
|
// Minimum execution time: 46_232_000 picoseconds.
|
|
Weight::from_parts(46_738_000, 14507)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
fn approve_item_attributes() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `347`
|
|
// Estimated: `8472`
|
|
// Minimum execution time: 19_332_000 picoseconds.
|
|
Weight::from_parts(19_765_000, 8472)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:1001 w:1000)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 1000]`.
|
|
fn cancel_item_attributes_approval(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `803 + n * (364 ±0)`
|
|
// Estimated: `15976 + n * (2921 ±0)`
|
|
// Minimum execution time: 29_227_000 picoseconds.
|
|
Weight::from_parts(29_661_000, 15976)
|
|
// Standard Error: 3_574
|
|
.saturating_add(Weight::from_parts(5_442_937, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
fn set_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `505`
|
|
// Estimated: `17739`
|
|
// Minimum execution time: 41_297_000 picoseconds.
|
|
Weight::from_parts(41_902_000, 17739)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
fn clear_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `608`
|
|
// Estimated: `14201`
|
|
// Minimum execution time: 39_312_000 picoseconds.
|
|
Weight::from_parts(40_048_000, 14201)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
fn set_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `364`
|
|
// Estimated: `14173`
|
|
// Minimum execution time: 36_932_000 picoseconds.
|
|
Weight::from_parts(38_207_000, 14173)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionMetadataOf (max_values: None, max_size: Some(87), added: 2562, mode: MaxEncodedLen)
|
|
fn clear_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `475`
|
|
// Estimated: `14173`
|
|
// Minimum execution time: 35_264_000 picoseconds.
|
|
Weight::from_parts(35_829_000, 14173)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn approve_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `376`
|
|
// Estimated: `7864`
|
|
// Minimum execution time: 22_819_000 picoseconds.
|
|
Weight::from_parts(23_121_000, 7864)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn cancel_approval() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `384`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 20_377_000 picoseconds.
|
|
Weight::from_parts(20_625_000, 4326)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn clear_all_transfer_approvals() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `384`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 19_180_000 picoseconds.
|
|
Weight::from_parts(19_468_000, 4326)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts OwnershipAcceptance (r:1 w:1)
|
|
/// Proof: Nfts OwnershipAcceptance (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
|
|
fn set_accept_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `42`
|
|
// Estimated: `3517`
|
|
// Minimum execution time: 17_381_000 picoseconds.
|
|
Weight::from_parts(17_718_000, 3517)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
fn set_collection_max_supply() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `306`
|
|
// Estimated: `7087`
|
|
// Minimum execution time: 20_373_000 picoseconds.
|
|
Weight::from_parts(20_662_000, 7087)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:1)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
fn update_mint_settings() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `289`
|
|
// Estimated: `7072`
|
|
// Minimum execution time: 20_154_000 picoseconds.
|
|
Weight::from_parts(20_592_000, 7072)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
fn set_price() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484`
|
|
// Estimated: `11377`
|
|
// Minimum execution time: 25_644_000 picoseconds.
|
|
Weight::from_parts(25_999_000, 11377)
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:1 w:1)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:2)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn buy_item() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `671`
|
|
// Estimated: `18480`
|
|
// Minimum execution time: 51_542_000 picoseconds.
|
|
Weight::from_parts(52_203_000, 18480)
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
|
}
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn pay_tips(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_796_000 picoseconds.
|
|
Weight::from_parts(5_517_617, 0)
|
|
// Standard Error: 14_247
|
|
.saturating_add(Weight::from_parts(3_757_796, 0).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts Item (r:2 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:0 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
fn create_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `460`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 23_218_000 picoseconds.
|
|
Weight::from_parts(23_590_000, 7662)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts PendingSwapOf (r:1 w:1)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
fn cancel_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `479`
|
|
// Estimated: `7862`
|
|
// Minimum execution time: 22_536_000 picoseconds.
|
|
Weight::from_parts(22_874_000, 7862)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: Nfts Item (r:2 w:2)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts PendingSwapOf (r:1 w:2)
|
|
/// Proof: Nfts PendingSwapOf (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:0)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:2 w:0)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:4)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemPriceOf (r:0 w:2)
|
|
/// Proof: Nfts ItemPriceOf (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
|
|
fn claim_swap() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `800`
|
|
// Estimated: `24321`
|
|
// Minimum execution time: 77_372_000 picoseconds.
|
|
Weight::from_parts(78_109_000, 24321)
|
|
.saturating_add(RocksDbWeight::get().reads(7_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(10_u64))
|
|
}
|
|
/// Storage: Nfts CollectionRoleOf (r:2 w:0)
|
|
/// Proof: Nfts CollectionRoleOf (max_values: None, max_size: Some(69), added: 2544, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Item (r:1 w:1)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemConfigOf (r:1 w:1)
|
|
/// Proof: Nfts ItemConfigOf (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:10 w:10)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemMetadataOf (r:1 w:1)
|
|
/// Proof: Nfts ItemMetadataOf (max_values: None, max_size: Some(140), added: 2615, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Account (r:0 w:1)
|
|
/// Proof: Nfts Account (max_values: None, max_size: Some(88), added: 2563, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn mint_pre_signed(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `595`
|
|
// Estimated: `29192 + n * (2921 ±0)`
|
|
// Minimum execution time: 131_935_000 picoseconds.
|
|
Weight::from_parts(137_455_891, 29192)
|
|
// Standard Error: 31_617
|
|
.saturating_add(Weight::from_parts(27_550_750, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: Nfts Item (r:1 w:0)
|
|
/// Proof: Nfts Item (max_values: None, max_size: Some(861), added: 3336, mode: MaxEncodedLen)
|
|
/// Storage: Nfts ItemAttributesApprovalsOf (r:1 w:1)
|
|
/// Proof: Nfts ItemAttributesApprovalsOf (max_values: None, max_size: Some(681), added: 3156, mode: MaxEncodedLen)
|
|
/// Storage: Nfts CollectionConfigOf (r:1 w:0)
|
|
/// Proof: Nfts CollectionConfigOf (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Collection (r:1 w:1)
|
|
/// Proof: Nfts Collection (max_values: None, max_size: Some(84), added: 2559, mode: MaxEncodedLen)
|
|
/// Storage: Nfts Attribute (r:10 w:10)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `n` is `[0, 10]`.
|
|
fn set_attributes_pre_signed(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `625`
|
|
// Estimated: `20142 + n * (2921 ±0)`
|
|
// Minimum execution time: 77_694_000 picoseconds.
|
|
Weight::from_parts(90_089_732, 20142)
|
|
// Standard Error: 71_327
|
|
.saturating_add(Weight::from_parts(27_832_189, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2921).saturating_mul(n.into()))
|
|
}
|
|
}
|