mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
bbd51ce867
This PR reverts #2280 which introduced `TransactionExtension` to replace `SignedExtension`. As a result of the discussion [here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700), the changes will be reverted for now with plans to reintroduce the concept in the future. --------- Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
1461 lines
74 KiB
Rust
Generated
1461 lines
74 KiB
Rust
Generated
// 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-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! 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=*
|
|
// --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)]
|
|
#![allow(missing_docs)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use core::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: `216`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 40_489_000 picoseconds.
|
|
Weight::from_parts(41_320_000, 3549)
|
|
.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: `76`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 23_257_000 picoseconds.
|
|
Weight::from_parts(23_770_000, 3549)
|
|
.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: `32220 + a * (332 ±0)`
|
|
// Estimated: `2523990 + a * (2921 ±0)`
|
|
// Minimum execution time: 1_310_198_000 picoseconds.
|
|
Weight::from_parts(1_479_261_043, 2523990)
|
|
// Standard Error: 4_415
|
|
.saturating_add(Weight::from_parts(6_016_212, 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: `455`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 51_910_000 picoseconds.
|
|
Weight::from_parts(53_441_000, 4326)
|
|
.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: `455`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 50_168_000 picoseconds.
|
|
Weight::from_parts(51_380_000, 4326)
|
|
.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: `564`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 50_738_000 picoseconds.
|
|
Weight::from_parts(51_850_000, 4326)
|
|
.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 Attribute (r:1 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `593`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 41_055_000 picoseconds.
|
|
Weight::from_parts(42_336_000, 4326)
|
|
.saturating_add(T::DbWeight::get().reads(5_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: `763 + i * (108 ±0)`
|
|
// Estimated: `3549 + i * (3336 ±0)`
|
|
// Minimum execution time: 15_688_000 picoseconds.
|
|
Weight::from_parts(15_921_000, 3549)
|
|
// Standard Error: 14_827
|
|
.saturating_add(Weight::from_parts(17_105_395, 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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_981_000 picoseconds.
|
|
Weight::from_parts(20_676_000, 3534)
|
|
.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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_911_000 picoseconds.
|
|
Weight::from_parts(20_612_000, 3534)
|
|
.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: `340`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 16_441_000 picoseconds.
|
|
Weight::from_parts(16_890_000, 3549)
|
|
.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: `388`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 22_610_000 picoseconds.
|
|
Weight::from_parts(23_422_000, 3549)
|
|
.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: `369`
|
|
// Estimated: `6078`
|
|
// Minimum execution time: 39_739_000 picoseconds.
|
|
Weight::from_parts(41_306_000, 6078)
|
|
.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: `311`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 17_685_000 picoseconds.
|
|
Weight::from_parts(18_258_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: `276`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 13_734_000 picoseconds.
|
|
Weight::from_parts(14_337_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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_269_000 picoseconds.
|
|
Weight::from_parts(19_859_000, 3534)
|
|
.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: `539`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 51_540_000 picoseconds.
|
|
Weight::from_parts(52_663_000, 3911)
|
|
.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: `344`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 26_529_000 picoseconds.
|
|
Weight::from_parts(27_305_000, 3911)
|
|
.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: `950`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 46_951_000 picoseconds.
|
|
Weight::from_parts(48_481_000, 3911)
|
|
.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: `381`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 17_222_000 picoseconds.
|
|
Weight::from_parts(17_819_000, 4326)
|
|
.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: `837 + n * (364 ±0)`
|
|
// Estimated: `4326 + n * (2921 ±0)`
|
|
// Minimum execution time: 26_185_000 picoseconds.
|
|
Weight::from_parts(27_038_000, 4326)
|
|
// Standard Error: 2_378
|
|
.saturating_add(Weight::from_parts(6_067_888, 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: `539`
|
|
// Estimated: `3605`
|
|
// Minimum execution time: 42_120_000 picoseconds.
|
|
Weight::from_parts(43_627_000, 3605)
|
|
.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: `642`
|
|
// Estimated: `3605`
|
|
// Minimum execution time: 40_732_000 picoseconds.
|
|
Weight::from_parts(42_760_000, 3605)
|
|
.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: `398`
|
|
// Estimated: `3552`
|
|
// Minimum execution time: 39_443_000 picoseconds.
|
|
Weight::from_parts(40_482_000, 3552)
|
|
.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: `509`
|
|
// Estimated: `3552`
|
|
// Minimum execution time: 37_676_000 picoseconds.
|
|
Weight::from_parts(39_527_000, 3552)
|
|
.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: `410`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 20_787_000 picoseconds.
|
|
Weight::from_parts(21_315_000, 4326)
|
|
.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: `418`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 18_200_000 picoseconds.
|
|
Weight::from_parts(19_064_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: `418`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 17_128_000 picoseconds.
|
|
Weight::from_parts(17_952_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: `76`
|
|
// Estimated: `3517`
|
|
// Minimum execution time: 14_667_000 picoseconds.
|
|
Weight::from_parts(15_262_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: `340`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 18_435_000 picoseconds.
|
|
Weight::from_parts(18_775_000, 3549)
|
|
.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: `323`
|
|
// Estimated: `3538`
|
|
// Minimum execution time: 18_125_000 picoseconds.
|
|
Weight::from_parts(18_415_000, 3538)
|
|
.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: `518`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 23_237_000 picoseconds.
|
|
Weight::from_parts(24_128_000, 4326)
|
|
.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 Attribute (r:1 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `705`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 53_291_000 picoseconds.
|
|
Weight::from_parts(54_614_000, 4326)
|
|
.saturating_add(T::DbWeight::get().reads(6_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_192_000 picoseconds.
|
|
Weight::from_parts(4_039_901, 0)
|
|
// Standard Error: 10_309
|
|
.saturating_add(Weight::from_parts(3_934_017, 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: `494`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 21_011_000 picoseconds.
|
|
Weight::from_parts(22_065_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: `513`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 21_423_000 picoseconds.
|
|
Weight::from_parts(21_743_000, 4326)
|
|
.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 Attribute (r:2 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `834`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 86_059_000 picoseconds.
|
|
Weight::from_parts(88_401_000, 7662)
|
|
.saturating_add(T::DbWeight::get().reads(9_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: `629`
|
|
// Estimated: `6078 + n * (2921 ±0)`
|
|
// Minimum execution time: 146_746_000 picoseconds.
|
|
Weight::from_parts(152_885_862, 6078)
|
|
// Standard Error: 40_442
|
|
.saturating_add(Weight::from_parts(32_887_800, 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: `659`
|
|
// Estimated: `4326 + n * (2921 ±0)`
|
|
// Minimum execution time: 83_960_000 picoseconds.
|
|
Weight::from_parts(98_609_885, 4326)
|
|
// Standard Error: 85_991
|
|
.saturating_add(Weight::from_parts(32_633_495, 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: `216`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 40_489_000 picoseconds.
|
|
Weight::from_parts(41_320_000, 3549)
|
|
.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: `76`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 23_257_000 picoseconds.
|
|
Weight::from_parts(23_770_000, 3549)
|
|
.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: `32220 + a * (332 ±0)`
|
|
// Estimated: `2523990 + a * (2921 ±0)`
|
|
// Minimum execution time: 1_310_198_000 picoseconds.
|
|
Weight::from_parts(1_479_261_043, 2523990)
|
|
// Standard Error: 4_415
|
|
.saturating_add(Weight::from_parts(6_016_212, 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: `455`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 51_910_000 picoseconds.
|
|
Weight::from_parts(53_441_000, 4326)
|
|
.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: `455`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 50_168_000 picoseconds.
|
|
Weight::from_parts(51_380_000, 4326)
|
|
.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: `564`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 50_738_000 picoseconds.
|
|
Weight::from_parts(51_850_000, 4326)
|
|
.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 Attribute (r:1 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `593`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 41_055_000 picoseconds.
|
|
Weight::from_parts(42_336_000, 4326)
|
|
.saturating_add(RocksDbWeight::get().reads(5_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: `763 + i * (108 ±0)`
|
|
// Estimated: `3549 + i * (3336 ±0)`
|
|
// Minimum execution time: 15_688_000 picoseconds.
|
|
Weight::from_parts(15_921_000, 3549)
|
|
// Standard Error: 14_827
|
|
.saturating_add(Weight::from_parts(17_105_395, 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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_981_000 picoseconds.
|
|
Weight::from_parts(20_676_000, 3534)
|
|
.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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_911_000 picoseconds.
|
|
Weight::from_parts(20_612_000, 3534)
|
|
.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: `340`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 16_441_000 picoseconds.
|
|
Weight::from_parts(16_890_000, 3549)
|
|
.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: `388`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 22_610_000 picoseconds.
|
|
Weight::from_parts(23_422_000, 3549)
|
|
.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: `369`
|
|
// Estimated: `6078`
|
|
// Minimum execution time: 39_739_000 picoseconds.
|
|
Weight::from_parts(41_306_000, 6078)
|
|
.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: `311`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 17_685_000 picoseconds.
|
|
Weight::from_parts(18_258_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: `276`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 13_734_000 picoseconds.
|
|
Weight::from_parts(14_337_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: `435`
|
|
// Estimated: `3534`
|
|
// Minimum execution time: 19_269_000 picoseconds.
|
|
Weight::from_parts(19_859_000, 3534)
|
|
.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: `539`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 51_540_000 picoseconds.
|
|
Weight::from_parts(52_663_000, 3911)
|
|
.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: `344`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 26_529_000 picoseconds.
|
|
Weight::from_parts(27_305_000, 3911)
|
|
.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: `950`
|
|
// Estimated: `3911`
|
|
// Minimum execution time: 46_951_000 picoseconds.
|
|
Weight::from_parts(48_481_000, 3911)
|
|
.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: `381`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 17_222_000 picoseconds.
|
|
Weight::from_parts(17_819_000, 4326)
|
|
.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: `837 + n * (364 ±0)`
|
|
// Estimated: `4326 + n * (2921 ±0)`
|
|
// Minimum execution time: 26_185_000 picoseconds.
|
|
Weight::from_parts(27_038_000, 4326)
|
|
// Standard Error: 2_378
|
|
.saturating_add(Weight::from_parts(6_067_888, 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: `539`
|
|
// Estimated: `3605`
|
|
// Minimum execution time: 42_120_000 picoseconds.
|
|
Weight::from_parts(43_627_000, 3605)
|
|
.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: `642`
|
|
// Estimated: `3605`
|
|
// Minimum execution time: 40_732_000 picoseconds.
|
|
Weight::from_parts(42_760_000, 3605)
|
|
.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: `398`
|
|
// Estimated: `3552`
|
|
// Minimum execution time: 39_443_000 picoseconds.
|
|
Weight::from_parts(40_482_000, 3552)
|
|
.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: `509`
|
|
// Estimated: `3552`
|
|
// Minimum execution time: 37_676_000 picoseconds.
|
|
Weight::from_parts(39_527_000, 3552)
|
|
.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: `410`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 20_787_000 picoseconds.
|
|
Weight::from_parts(21_315_000, 4326)
|
|
.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: `418`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 18_200_000 picoseconds.
|
|
Weight::from_parts(19_064_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: `418`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 17_128_000 picoseconds.
|
|
Weight::from_parts(17_952_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: `76`
|
|
// Estimated: `3517`
|
|
// Minimum execution time: 14_667_000 picoseconds.
|
|
Weight::from_parts(15_262_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: `340`
|
|
// Estimated: `3549`
|
|
// Minimum execution time: 18_435_000 picoseconds.
|
|
Weight::from_parts(18_775_000, 3549)
|
|
.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: `323`
|
|
// Estimated: `3538`
|
|
// Minimum execution time: 18_125_000 picoseconds.
|
|
Weight::from_parts(18_415_000, 3538)
|
|
.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: `518`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 23_237_000 picoseconds.
|
|
Weight::from_parts(24_128_000, 4326)
|
|
.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 Attribute (r:1 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `705`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 53_291_000 picoseconds.
|
|
Weight::from_parts(54_614_000, 4326)
|
|
.saturating_add(RocksDbWeight::get().reads(6_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_192_000 picoseconds.
|
|
Weight::from_parts(4_039_901, 0)
|
|
// Standard Error: 10_309
|
|
.saturating_add(Weight::from_parts(3_934_017, 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: `494`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 21_011_000 picoseconds.
|
|
Weight::from_parts(22_065_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: `513`
|
|
// Estimated: `4326`
|
|
// Minimum execution time: 21_423_000 picoseconds.
|
|
Weight::from_parts(21_743_000, 4326)
|
|
.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 Attribute (r:2 w:0)
|
|
/// Proof: Nfts Attribute (max_values: None, max_size: Some(446), added: 2921, 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: `834`
|
|
// Estimated: `7662`
|
|
// Minimum execution time: 86_059_000 picoseconds.
|
|
Weight::from_parts(88_401_000, 7662)
|
|
.saturating_add(RocksDbWeight::get().reads(9_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: `629`
|
|
// Estimated: `6078 + n * (2921 ±0)`
|
|
// Minimum execution time: 146_746_000 picoseconds.
|
|
Weight::from_parts(152_885_862, 6078)
|
|
// Standard Error: 40_442
|
|
.saturating_add(Weight::from_parts(32_887_800, 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: `659`
|
|
// Estimated: `4326 + n * (2921 ±0)`
|
|
// Minimum execution time: 83_960_000 picoseconds.
|
|
Weight::from_parts(98_609_885, 4326)
|
|
// Standard Error: 85_991
|
|
.saturating_add(Weight::from_parts(32_633_495, 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()))
|
|
}
|
|
}
|