1c0e57d984
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
470 lines
23 KiB
Rust
470 lines
23 KiB
Rust
// 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 `pezpallet_uniques`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `73b9817d6032`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pallet
|
|
// --extrinsic=*
|
|
// --runtime=target/production/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.wasm
|
|
// --pallet=pezpallet_uniques
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
|
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/weights
|
|
// --wasm-execution=compiled
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --heap-pages=4096
|
|
// --no-storage-info
|
|
// --no-min-squares
|
|
// --no-median-slopes
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
|
|
use pezframe_support::{traits::Get, weights::Weight};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions for `pezpallet_uniques`.
|
|
pub struct WeightInfo<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> pezpallet_uniques::WeightInfo for WeightInfo<T> {
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
|
|
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
|
|
fn create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `212`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 28_192_000 picoseconds.
|
|
Weight::from_parts(29_250_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
|
|
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
|
|
fn force_create() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 12_923_000 picoseconds.
|
|
Weight::from_parts(13_617_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:1001 w:1000)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::InstanceMetadataOf` (r:1000 w:1000)
|
|
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Attribute` (r:1000 w:1000)
|
|
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
|
|
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassMetadataOf` (r:0 w:1)
|
|
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Account` (r:0 w:1000)
|
|
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1)
|
|
/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
|
|
/// The range of component `n` is `[0, 1000]`.
|
|
/// The range of component `m` is `[0, 1000]`.
|
|
/// The range of component `a` is `[0, 1000]`.
|
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `394 + a * (107 ±0) + m * (56 ±0) + n * (76 ±0)`
|
|
// Estimated: `3643 + a * (2647 ±0) + m * (2662 ±0) + n * (2597 ±0)`
|
|
// Minimum execution time: 3_420_053_000 picoseconds.
|
|
Weight::from_parts(3_447_034_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
// Standard Error: 43_940
|
|
.saturating_add(Weight::from_parts(8_425_741, 0).saturating_mul(n.into()))
|
|
// Standard Error: 43_940
|
|
.saturating_add(Weight::from_parts(477_846, 0).saturating_mul(m.into()))
|
|
// Standard Error: 43_940
|
|
.saturating_add(Weight::from_parts(512_498, 0).saturating_mul(a.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into())))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(m.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into())))
|
|
.saturating_add(Weight::from_parts(0, 2647).saturating_mul(a.into()))
|
|
.saturating_add(Weight::from_parts(0, 2662).saturating_mul(m.into()))
|
|
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0)
|
|
/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Account` (r:0 w:1)
|
|
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
|
|
fn mint() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 35_706_000 picoseconds.
|
|
Weight::from_parts(37_038_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(3))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Account` (r:0 w:1)
|
|
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
|
|
/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
|
|
fn burn() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 36_660_000 picoseconds.
|
|
Weight::from_parts(38_049_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Account` (r:0 w:2)
|
|
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
|
|
/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
|
|
fn transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 26_796_000 picoseconds.
|
|
Weight::from_parts(27_777_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:5000 w:5000)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// The range of component `i` is `[0, 5000]`.
|
|
fn redeposit(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `805 + i * (76 ±0)`
|
|
// Estimated: `3643 + i * (2597 ±0)`
|
|
// Minimum execution time: 13_440_000 picoseconds.
|
|
Weight::from_parts(13_641_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
// Standard Error: 27_594
|
|
.saturating_add(Weight::from_parts(18_683_114, 0).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
|
|
.saturating_add(Weight::from_parts(0, 2597).saturating_mul(i.into()))
|
|
}
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn freeze() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 18_200_000 picoseconds.
|
|
Weight::from_parts(19_185_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn thaw() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 18_356_000 picoseconds.
|
|
Weight::from_parts(19_099_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn freeze_collection() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 12_044_000 picoseconds.
|
|
Weight::from_parts(12_739_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn thaw_collection() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 12_003_000 picoseconds.
|
|
Weight::from_parts(12_737_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
|
|
/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassAccount` (r:0 w:2)
|
|
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
|
|
fn transfer_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `526`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 26_190_000 picoseconds.
|
|
Weight::from_parts(27_183_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(5))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn set_team() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 12_323_000 picoseconds.
|
|
Weight::from_parts(12_995_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassAccount` (r:0 w:1)
|
|
/// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
|
|
fn force_item_status() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 15_616_000 picoseconds.
|
|
Weight::from_parts(16_257_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
|
|
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Attribute` (r:1 w:1)
|
|
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
|
|
fn set_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `626`
|
|
// Estimated: `3652`
|
|
// Minimum execution time: 39_608_000 picoseconds.
|
|
Weight::from_parts(41_080_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3652))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:0)
|
|
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Attribute` (r:1 w:1)
|
|
/// Proof: `Uniques::Attribute` (`max_values`: None, `max_size`: Some(172), added: 2647, mode: `MaxEncodedLen`)
|
|
fn clear_attribute() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `823`
|
|
// Estimated: `3652`
|
|
// Minimum execution time: 42_449_000 picoseconds.
|
|
Weight::from_parts(43_456_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3652))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
|
|
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
|
|
fn set_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `415`
|
|
// Estimated: `3652`
|
|
// Minimum execution time: 29_653_000 picoseconds.
|
|
Weight::from_parts(30_570_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3652))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::InstanceMetadataOf` (r:1 w:1)
|
|
/// Proof: `Uniques::InstanceMetadataOf` (`max_values`: None, `max_size`: Some(187), added: 2662, mode: `MaxEncodedLen`)
|
|
fn clear_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `626`
|
|
// Estimated: `3652`
|
|
// Minimum execution time: 30_909_000 picoseconds.
|
|
Weight::from_parts(32_047_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3652))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
|
|
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
|
|
fn set_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 30_218_000 picoseconds.
|
|
Weight::from_parts(30_912_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:1)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ClassMetadataOf` (r:1 w:1)
|
|
/// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(167), added: 2642, mode: `MaxEncodedLen`)
|
|
fn clear_collection_metadata() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `540`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 29_496_000 picoseconds.
|
|
Weight::from_parts(30_458_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(2))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
fn approve_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `495`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 18_421_000 picoseconds.
|
|
Weight::from_parts(19_417_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
fn cancel_approval() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `528`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 18_286_000 picoseconds.
|
|
Weight::from_parts(19_165_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::OwnershipAcceptance` (r:1 w:1)
|
|
/// Proof: `Uniques::OwnershipAcceptance` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
|
|
fn set_accept_ownership() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `109`
|
|
// Estimated: `3517`
|
|
// Minimum execution time: 13_612_000 picoseconds.
|
|
Weight::from_parts(14_197_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3517))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::CollectionMaxSupply` (r:1 w:1)
|
|
/// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
fn set_collection_max_supply() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `349`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 15_121_000 picoseconds.
|
|
Weight::from_parts(15_561_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(2))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Asset` (r:1 w:0)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ItemPriceOf` (r:0 w:1)
|
|
/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
|
|
fn set_price() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `326`
|
|
// Estimated: `3587`
|
|
// Minimum execution time: 14_797_000 picoseconds.
|
|
Weight::from_parts(15_533_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3587))
|
|
.saturating_add(T::DbWeight::get().reads(1))
|
|
.saturating_add(T::DbWeight::get().writes(1))
|
|
}
|
|
/// Storage: `Uniques::Asset` (r:1 w:1)
|
|
/// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::ItemPriceOf` (r:1 w:1)
|
|
/// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Class` (r:1 w:0)
|
|
/// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(178), added: 2653, mode: `MaxEncodedLen`)
|
|
/// Storage: `Uniques::Account` (r:0 w:2)
|
|
/// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(88), added: 2563, mode: `MaxEncodedLen`)
|
|
fn buy_item() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `607`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 38_688_000 picoseconds.
|
|
Weight::from_parts(40_370_000, 0)
|
|
.saturating_add(Weight::from_parts(0, 3643))
|
|
.saturating_add(T::DbWeight::get().reads(3))
|
|
.saturating_add(T::DbWeight::get().writes(4))
|
|
}
|
|
}
|