// This file is part of Substrate.

// Copyright (C) 2021 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_asset
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2024-08-21, STEPS: `100`, REPEAT: 5, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 512
//! HOSTNAME: `ubuntu-8gb-nbg1-1-bench2`, CPU: `AMD EPYC-Milan Processor`

// Executed Command:
// ./polymesh
// benchmark
// pallet
// -s
// 100
// -r
// 5
// -p=*
// -e=*
// --heap-pages
// 4096
// --db-cache
// 512
// --execution
// wasm
// --wasm-execution
// compiled
// --output
// ./Polymesh/pallets/weights/src/
// --template
// ./Polymesh/.maintain/frame-weight-template.hbs

#![allow(unused_parens)]
#![allow(unused_imports)]

use polymesh_runtime_common::{RocksDbWeight as DbWeight, Weight};

/// Weights for pallet_asset using the Substrate node and recommended hardware.
pub struct SubstrateWeight;
impl pallet_asset::WeightInfo for SubstrateWeight {
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickerConfig (r:1 w:0)
    // Proof Skipped: Asset TickerConfig (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset TickerAssetId (r:1 w:0)
    // Proof Skipped: Asset TickerAssetId (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset UniqueTickerRegistration (r:1 w:1)
    // Proof Skipped: Asset UniqueTickerRegistration (max_values: None, max_size: None, mode: Measured)
    // Storage: Timestamp Now (r:1 w:0)
    // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
    // Storage: ProtocolFee Coefficient (r:1 w:0)
    // Proof Skipped: ProtocolFee Coefficient (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: ProtocolFee BaseFees (r:1 w:0)
    // Proof Skipped: ProtocolFee BaseFees (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity CurrentPayer (r:1 w:0)
    // Proof Skipped: Identity CurrentPayer (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset TickersOwnedByUser (r:0 w:1)
    // Proof Skipped: Asset TickersOwnedByUser (max_values: None, max_size: None, mode: Measured)
    fn register_unique_ticker() -> Weight {
        // Minimum execution time: 49_555 nanoseconds.
        Weight::from_ref_time(56_696_000)
            .saturating_add(DbWeight::get().reads(8))
            .saturating_add(DbWeight::get().writes(2))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity Authorizations (r:1 w:1)
    // Proof Skipped: Identity Authorizations (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity OutdatedAuthorizations (r:1 w:0)
    // Proof Skipped: Identity OutdatedAuthorizations (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickerAssetId (r:1 w:0)
    // Proof Skipped: Asset TickerAssetId (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset UniqueTickerRegistration (r:1 w:1)
    // Proof Skipped: Asset UniqueTickerRegistration (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity NumberOfGivenAuths (r:1 w:1)
    // Proof Skipped: Identity NumberOfGivenAuths (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity AuthorizationsGiven (r:0 w:1)
    // Proof Skipped: Identity AuthorizationsGiven (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickersOwnedByUser (r:0 w:2)
    // Proof Skipped: Asset TickersOwnedByUser (max_values: None, max_size: None, mode: Measured)
    fn accept_ticker_transfer() -> Weight {
        // Minimum execution time: 62_075 nanoseconds.
        Weight::from_ref_time(68_074_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(6))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity Authorizations (r:1 w:1)
    // Proof Skipped: Identity Authorizations (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity OutdatedAuthorizations (r:1 w:0)
    // Proof Skipped: Identity OutdatedAuthorizations (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetIdTicker (r:1 w:0)
    // Proof Skipped: Asset AssetIdTicker (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset UniqueTickerRegistration (r:1 w:1)
    // Proof Skipped: Asset UniqueTickerRegistration (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity NumberOfGivenAuths (r:1 w:1)
    // Proof Skipped: Identity NumberOfGivenAuths (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity AuthorizationsGiven (r:0 w:1)
    // Proof Skipped: Identity AuthorizationsGiven (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickersOwnedByUser (r:0 w:2)
    // Proof Skipped: Asset TickersOwnedByUser (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset SecurityTokensOwnedByUser (r:0 w:2)
    // Proof Skipped: Asset SecurityTokensOwnedByUser (max_values: None, max_size: None, mode: Measured)
    fn accept_asset_ownership_transfer() -> Weight {
        // Minimum execution time: 92_651 nanoseconds.
        Weight::from_ref_time(93_461_000)
            .saturating_add(DbWeight::get().reads(10))
            .saturating_add(DbWeight::get().writes(9))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetNonce (r:1 w:1)
    // Proof Skipped: Asset AssetNonce (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: ProtocolFee Coefficient (r:1 w:0)
    // Proof Skipped: ProtocolFee Coefficient (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: ProtocolFee BaseFees (r:1 w:0)
    // Proof Skipped: ProtocolFee BaseFees (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity CurrentPayer (r:1 w:0)
    // Proof Skipped: Identity CurrentPayer (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: ExternalAgents NumFullAgents (r:1 w:1)
    // Proof Skipped: ExternalAgents NumFullAgents (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset FundingRound (r:0 w:1)
    // Proof Skipped: Asset FundingRound (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetNames (r:0 w:1)
    // Proof Skipped: Asset AssetNames (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset SecurityTokensOwnedByUser (r:0 w:1)
    // Proof Skipped: Asset SecurityTokensOwnedByUser (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetIdentifiers (r:0 w:1)
    // Proof Skipped: Asset AssetIdentifiers (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents AgentOf (r:0 w:1)
    // Proof Skipped: ExternalAgents AgentOf (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:0 w:1)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    /// The range of component `n` is `[1, 128]`.
    /// The range of component `i` is `[1, 512]`.
    /// The range of component `f` is `[1, 128]`.
    fn create_asset(n: u32, i: u32, f: u32) -> Weight {
        // Minimum execution time: 74_112 nanoseconds.
        Weight::from_ref_time(74_372_383)
            // Standard Error: 9_098
            .saturating_add(Weight::from_ref_time(20_181).saturating_mul(n.into()))
            // Standard Error: 2_269
            .saturating_add(Weight::from_ref_time(71_655).saturating_mul(i.into()))
            // Standard Error: 9_098
            .saturating_add(Weight::from_ref_time(23_666).saturating_mul(f.into()))
            .saturating_add(DbWeight::get().reads(8))
            .saturating_add(DbWeight::get().writes(9))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:1 w:1)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    fn freeze() -> Weight {
        // Minimum execution time: 40_662 nanoseconds.
        Weight::from_ref_time(41_112_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:1 w:1)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    fn unfreeze() -> Weight {
        // Minimum execution time: 39_469 nanoseconds.
        Weight::from_ref_time(42_545_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Asset Assets (r:1 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetNames (r:0 w:1)
    // Proof Skipped: Asset AssetNames (max_values: None, max_size: None, mode: Measured)
    /// The range of component `n` is `[1, 128]`.
    fn rename_asset(n: u32) -> Weight {
        // Minimum execution time: 35_945 nanoseconds.
        Weight::from_ref_time(40_142_791)
            // Standard Error: 5_513
            .saturating_add(Weight::from_ref_time(10_697).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:1 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: ProtocolFee Coefficient (r:1 w:0)
    // Proof Skipped: ProtocolFee Coefficient (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: ProtocolFee BaseFees (r:1 w:0)
    // Proof Skipped: ProtocolFee BaseFees (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:1 w:1)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:1 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:1 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:1 w:1)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:1 w:1)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:1 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset FundingRound (r:1 w:0)
    // Proof Skipped: Asset FundingRound (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset IssuedInFundingRound (r:1 w:1)
    // Proof Skipped: Asset IssuedInFundingRound (max_values: None, max_size: None, mode: Measured)
    fn issue() -> Weight {
        // Minimum execution time: 86_962 nanoseconds.
        Weight::from_ref_time(89_305_000)
            .saturating_add(DbWeight::get().reads(16))
            .saturating_add(DbWeight::get().writes(5))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:1 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:1 w:1)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:1 w:1)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:1 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:1 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:1 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    fn redeem() -> Weight {
        // Minimum execution time: 79_190 nanoseconds.
        Weight::from_ref_time(80_462_000)
            .saturating_add(DbWeight::get().reads(13))
            .saturating_add(DbWeight::get().writes(3))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    fn make_divisible() -> Weight {
        // Minimum execution time: 35_033 nanoseconds.
        Weight::from_ref_time(37_087_000)
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetDocumentsIdSequence (r:1 w:1)
    // Proof Skipped: Asset AssetDocumentsIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: ProtocolFee Coefficient (r:1 w:0)
    // Proof Skipped: ProtocolFee Coefficient (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: ProtocolFee BaseFees (r:1 w:0)
    // Proof Skipped: ProtocolFee BaseFees (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetDocuments (r:0 w:64)
    // Proof Skipped: Asset AssetDocuments (max_values: None, max_size: None, mode: Measured)
    /// The range of component `d` is `[1, 64]`.
    fn add_documents(d: u32) -> Weight {
        // Minimum execution time: 49_906 nanoseconds.
        Weight::from_ref_time(45_589_230)
            // Standard Error: 64_922
            .saturating_add(Weight::from_ref_time(11_544_807).saturating_mul(d.into()))
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(d.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetDocuments (r:0 w:63)
    // Proof Skipped: Asset AssetDocuments (max_values: None, max_size: None, mode: Measured)
    /// The range of component `d` is `[1, 64]`.
    fn remove_documents(d: u32) -> Weight {
        // Minimum execution time: 22_034 nanoseconds.
        Weight::from_ref_time(21_090_366)
            // Standard Error: 21_604
            .saturating_add(Weight::from_ref_time(6_637_567).saturating_mul(d.into()))
            .saturating_add(DbWeight::get().reads(4))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(d.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset FundingRound (r:0 w:1)
    // Proof Skipped: Asset FundingRound (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 128]`.
    fn set_funding_round(f: u32) -> Weight {
        // Minimum execution time: 30_456 nanoseconds.
        Weight::from_ref_time(34_101_571)
            // Standard Error: 3_419
            .saturating_add(Weight::from_ref_time(3_296).saturating_mul(f.into()))
            .saturating_add(DbWeight::get().reads(4))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetIdentifiers (r:0 w:1)
    // Proof Skipped: Asset AssetIdentifiers (max_values: None, max_size: None, mode: Measured)
    /// The range of component `i` is `[1, 512]`.
    fn update_identifiers(i: u32) -> Weight {
        // Minimum execution time: 30_195 nanoseconds.
        Weight::from_ref_time(35_474_743)
            // Standard Error: 1_670
            .saturating_add(Weight::from_ref_time(51_237).saturating_mul(i.into()))
            .saturating_add(DbWeight::get().reads(4))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset Assets (r:1 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:2 w:2)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:2 w:2)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:1 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:1 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:1 w:1)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:1 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    fn controller_transfer() -> Weight {
        // Minimum execution time: 93_922 nanoseconds.
        Weight::from_ref_time(95_605_000)
            .saturating_add(DbWeight::get().reads(14))
            .saturating_add(DbWeight::get().writes(5))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset CustomTypesInverse (r:1 w:1)
    // Proof Skipped: Asset CustomTypesInverse (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset CustomTypeIdSequence (r:1 w:1)
    // Proof Skipped: Asset CustomTypeIdSequence (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset CustomTypes (r:0 w:1)
    // Proof Skipped: Asset CustomTypes (max_values: None, max_size: None, mode: Measured)
    /// The range of component `n` is `[1, 2048]`.
    fn register_custom_asset_type(n: u32) -> Weight {
        // Minimum execution time: 29_244 nanoseconds.
        Weight::from_ref_time(32_732_921)
            // Standard Error: 281
            .saturating_add(Weight::from_ref_time(6_154).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(3))
            .saturating_add(DbWeight::get().writes(3))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataGlobalKeyToName (r:1 w:0)
    // Proof Skipped: Asset AssetMetadataGlobalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValueDetails (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataValueDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValues (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataValues (max_values: None, max_size: None, mode: Measured)
    fn set_asset_metadata() -> Weight {
        // Minimum execution time: 55_544 nanoseconds.
        Weight::from_ref_time(57_347_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(2))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataGlobalKeyToName (r:1 w:0)
    // Proof Skipped: Asset AssetMetadataGlobalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValueDetails (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataValueDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Timestamp Now (r:1 w:0)
    // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
    fn set_asset_metadata_details() -> Weight {
        // Minimum execution time: 47_282 nanoseconds.
        Weight::from_ref_time(51_208_000)
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalNameToKey (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataLocalNameToKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset CurrentAssetMetadataLocalKey (r:1 w:1)
    // Proof Skipped: Asset CurrentAssetMetadataLocalKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValueDetails (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataValueDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValues (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataValues (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalKeyToName (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalSpecs (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalSpecs (max_values: None, max_size: None, mode: Measured)
    fn register_and_set_local_asset_metadata() -> Weight {
        // Minimum execution time: 83_958 nanoseconds.
        Weight::from_ref_time(85_029_000)
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().writes(6))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalNameToKey (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataLocalNameToKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset CurrentAssetMetadataLocalKey (r:1 w:1)
    // Proof Skipped: Asset CurrentAssetMetadataLocalKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalKeyToName (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalSpecs (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalSpecs (max_values: None, max_size: None, mode: Measured)
    fn register_asset_metadata_local_type() -> Weight {
        // Minimum execution time: 56_646 nanoseconds.
        Weight::from_ref_time(59_822_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(4))
    }
    // Storage: Asset AssetMetadataGlobalNameToKey (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataGlobalNameToKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset CurrentAssetMetadataGlobalKey (r:1 w:1)
    // Proof Skipped: Asset CurrentAssetMetadataGlobalKey (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataGlobalKeyToName (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataGlobalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataGlobalSpecs (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataGlobalSpecs (max_values: None, max_size: None, mode: Measured)
    fn register_asset_metadata_global_type() -> Weight {
        // Minimum execution time: 35_965 nanoseconds.
        Weight::from_ref_time(38_499_000)
            .saturating_add(DbWeight::get().reads(2))
            .saturating_add(DbWeight::get().writes(4))
    }
    // Storage: Asset Assets (r:1 w:1)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    fn update_asset_type() -> Weight {
        // Minimum execution time: 36_905 nanoseconds.
        Weight::from_ref_time(41_273_000)
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalKeyToName (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataLocalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValueDetails (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataValueDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT CollectionAsset (r:1 w:0)
    // Proof Skipped: NFT CollectionAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT CollectionKeys (r:1 w:0)
    // Proof Skipped: NFT CollectionKeys (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValues (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataValues (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalNameToKey (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalNameToKey (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalSpecs (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataLocalSpecs (max_values: None, max_size: None, mode: Measured)
    fn remove_local_metadata_key() -> Weight {
        // Minimum execution time: 66_581 nanoseconds.
        Weight::from_ref_time(68_013_000)
            .saturating_add(DbWeight::get().reads(8))
            .saturating_add(DbWeight::get().writes(5))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataLocalKeyToName (r:1 w:0)
    // Proof Skipped: Asset AssetMetadataLocalKeyToName (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValueDetails (r:1 w:1)
    // Proof Skipped: Asset AssetMetadataValueDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetMetadataValues (r:0 w:1)
    // Proof Skipped: Asset AssetMetadataValues (max_values: None, max_size: None, mode: Measured)
    fn remove_metadata_value() -> Weight {
        // Minimum execution time: 46_199 nanoseconds.
        Weight::from_ref_time(47_712_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(2))
    }
    // Storage: Asset Assets (r:1 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:2 w:2)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:2 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:2 w:2)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:1 w:0)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    // Storage: Timestamp Now (r:1 w:0)
    // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
    // Storage: Instance2Group ActiveMembers (r:1 w:0)
    // Proof Skipped: Instance2Group ActiveMembers (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Identity Claims (r:4 w:0)
    // Proof Skipped: Identity Claims (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics AssetTransferCompliances (r:1 w:0)
    // Proof Skipped: Statistics AssetTransferCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: ComplianceManager AssetCompliances (r:1 w:0)
    // Proof Skipped: ComplianceManager AssetCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:1 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:1 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:1 w:1)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:1 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    fn base_transfer() -> Weight {
        // Minimum execution time: 167_905 nanoseconds.
        Weight::from_ref_time(168_706_000)
            .saturating_add(DbWeight::get().reads(21))
            .saturating_add(DbWeight::get().writes(5))
    }
    // Storage: Asset AssetsExemptFromAffirmation (r:0 w:1)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    fn exempt_asset_affirmation() -> Weight {
        // Minimum execution time: 12_329 nanoseconds.
        Weight::from_ref_time(13_781_000).saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Asset AssetsExemptFromAffirmation (r:0 w:1)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    fn remove_asset_affirmation_exemption() -> Weight {
        // Minimum execution time: 12_969 nanoseconds.
        Weight::from_ref_time(13_492_000).saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:0 w:1)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    fn pre_approve_asset() -> Weight {
        // Minimum execution time: 20_522 nanoseconds.
        Weight::from_ref_time(22_423_000)
            .saturating_add(DbWeight::get().reads(1))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:0 w:1)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    fn remove_asset_pre_approval() -> Weight {
        // Minimum execution time: 21_272 nanoseconds.
        Weight::from_ref_time(23_124_000)
            .saturating_add(DbWeight::get().reads(1))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:1 w:1)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    /// The range of component `n` is `[1, 4]`.
    fn add_mandatory_mediators(n: u32) -> Weight {
        // Minimum execution time: 34_282 nanoseconds.
        Weight::from_ref_time(38_142_950)
            .saturating_add(Weight::from_ref_time(281_996).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:1 w:1)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    /// The range of component `n` is `[1, 4]`.
    fn remove_mandatory_mediators(n: u32) -> Weight {
        // Minimum execution time: 35_434 nanoseconds.
        Weight::from_ref_time(38_665_400)
            // Standard Error: 93_418
            .saturating_add(Weight::from_ref_time(558_061).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(1))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset UniqueTickerRegistration (r:1 w:1)
    // Proof Skipped: Asset UniqueTickerRegistration (max_values: None, max_size: None, mode: Measured)
    // Storage: Timestamp Now (r:1 w:0)
    // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
    // Storage: Asset TickerAssetId (r:1 w:1)
    // Proof Skipped: Asset TickerAssetId (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetIdTicker (r:0 w:1)
    // Proof Skipped: Asset AssetIdTicker (max_values: None, max_size: None, mode: Measured)
    fn link_ticker_to_asset_id() -> Weight {
        // Minimum execution time: 50_587 nanoseconds.
        Weight::from_ref_time(53_381_000)
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().writes(3))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: ExternalAgents GroupOfAgent (r:1 w:0)
    // Proof Skipped: ExternalAgents GroupOfAgent (max_values: None, max_size: None, mode: Measured)
    // Storage: Permissions CurrentPalletName (r:1 w:0)
    // Proof Skipped: Permissions CurrentPalletName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Permissions CurrentDispatchableName (r:1 w:0)
    // Proof Skipped: Permissions CurrentDispatchableName (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Asset UniqueTickerRegistration (r:1 w:1)
    // Proof Skipped: Asset UniqueTickerRegistration (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickerAssetId (r:1 w:1)
    // Proof Skipped: Asset TickerAssetId (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset TickersOwnedByUser (r:0 w:1)
    // Proof Skipped: Asset TickersOwnedByUser (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetIdTicker (r:0 w:1)
    // Proof Skipped: Asset AssetIdTicker (max_values: None, max_size: None, mode: Measured)
    fn unlink_ticker_from_asset_id() -> Weight {
        // Minimum execution time: 50_587 nanoseconds.
        Weight::from_ref_time(53_381_000)
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().writes(4))
    }
}
