// 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_settlement
//!
//! 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_settlement using the Substrate node and recommended hardware.
pub struct SubstrateWeight;
impl pallet_settlement::WeightInfo for SubstrateWeight {
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueCounter (r:1 w:1)
    // Proof Skipped: Settlement VenueCounter (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:0 w:1)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement Details (r:0 w:1)
    // Proof Skipped: Settlement Details (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement NumberOfVenueSigners (r:0 w:1)
    // Proof Skipped: Settlement NumberOfVenueSigners (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueSigners (r:0 w:49)
    // Proof Skipped: Settlement VenueSigners (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserVenues (r:0 w:1)
    // Proof Skipped: Settlement UserVenues (max_values: None, max_size: None, mode: Measured)
    /// The range of component `d` is `[1, 2048]`.
    /// The range of component `s` is `[0, 50]`.
    fn create_venue(d: u32, s: u32) -> Weight {
        // Minimum execution time: 37_928 nanoseconds.
        Weight::from_ref_time(41_392_871)
            // Standard Error: 437
            .saturating_add(Weight::from_ref_time(1_844).saturating_mul(d.into()))
            // Standard Error: 17_777
            .saturating_add(Weight::from_ref_time(2_429_716).saturating_mul(s.into()))
            .saturating_add(DbWeight::get().reads(2))
            .saturating_add(DbWeight::get().writes(5))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(s.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement Details (r:0 w:1)
    // Proof Skipped: Settlement Details (max_values: None, max_size: None, mode: Measured)
    /// The range of component `d` is `[1, 2048]`.
    fn update_venue_details(d: u32) -> Weight {
        // Minimum execution time: 27_210 nanoseconds.
        Weight::from_ref_time(33_131_772)
            // Standard Error: 523
            .saturating_add(Weight::from_ref_time(3_465).saturating_mul(d.into()))
            .saturating_add(DbWeight::get().reads(2))
            .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: Settlement VenueInfo (r:1 w:1)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    fn update_venue_type() -> Weight {
        // Minimum execution time: 26_940 nanoseconds.
        Weight::from_ref_time(28_553_000)
            .saturating_add(DbWeight::get().reads(2))
            .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: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement NumberOfVenueSigners (r:1 w:1)
    // Proof Skipped: Settlement NumberOfVenueSigners (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueSigners (r:49 w:49)
    // Proof Skipped: Settlement VenueSigners (max_values: None, max_size: None, mode: Measured)
    /// The range of component `s` is `[0, 50]`.
    fn update_venue_signers(s: u32) -> Weight {
        // Minimum execution time: 28_023 nanoseconds.
        Weight::from_ref_time(39_323_202)
            // Standard Error: 16_564
            .saturating_add(Weight::from_ref_time(4_739_463).saturating_mul(s.into()))
            .saturating_add(DbWeight::get().reads(3))
            .saturating_add(DbWeight::get().reads((1_u64).saturating_mul(s.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(s.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: Settlement VenueFiltering (r:0 w:1)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    fn set_venue_filtering() -> Weight {
        // Minimum execution time: 32_779 nanoseconds.
        Weight::from_ref_time(35_734_000)
            .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: Settlement VenueAllowList (r:0 w:99)
    // Proof Skipped: Settlement VenueAllowList (max_values: None, max_size: None, mode: Measured)
    /// The range of component `v` is `[0, 100]`.
    fn allow_venues(v: u32) -> Weight {
        // Minimum execution time: 30_106 nanoseconds.
        Weight::from_ref_time(35_593_739)
            // Standard Error: 21_347
            .saturating_add(Weight::from_ref_time(2_569_840).saturating_mul(v.into()))
            .saturating_add(DbWeight::get().reads(4))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(v.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: Settlement VenueAllowList (r:0 w:99)
    // Proof Skipped: Settlement VenueAllowList (max_values: None, max_size: None, mode: Measured)
    /// The range of component `v` is `[0, 100]`.
    fn disallow_venues(v: u32) -> Weight {
        // Minimum execution time: 31_668 nanoseconds.
        Weight::from_ref_time(36_544_323)
            // Standard Error: 16_905
            .saturating_add(Weight::from_ref_time(2_478_106).saturating_mul(v.into()))
            .saturating_add(DbWeight::get().reads(4))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(v.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueSigners (r:1 w:0)
    // Proof Skipped: Settlement VenueSigners (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement ReceiptsUsed (r:10 w:10)
    // Proof Skipped: Settlement ReceiptsUsed (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:10 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:0)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:10 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:10 w:0)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:0 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn affirm_with_receipts(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 1_335_088 nanoseconds.
        Weight::from_ref_time(33_645_457)
            // Standard Error: 603_838
            .saturating_add(Weight::from_ref_time(47_439_618).saturating_mul(f.into()))
            // Standard Error: 55_856
            .saturating_add(Weight::from_ref_time(37_288_196).saturating_mul(n.into()))
            // Standard Error: 546_984
            .saturating_add(Weight::from_ref_time(86_780_332).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().reads((6_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((5_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (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: Settlement InstructionMediatorsAffirmations (r:445 w:444)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:10 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:220 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:220 w:220)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:1 w:0)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:120 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:10 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:20 w:20)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:20 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:20 w:20)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:110 w:0)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    // Storage: Instance2Group ActiveMembers (r:1 w:0)
    // Proof Skipped: Instance2Group ActiveMembers (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Identity Claims (r:205 w:0)
    // Proof Skipped: Identity Claims (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics AssetTransferCompliances (r:10 w:0)
    // Proof Skipped: Statistics AssetTransferCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics AssetStats (r:140 w:100)
    // Proof Skipped: Statistics AssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: ComplianceManager AssetCompliances (r:110 w:0)
    // Proof Skipped: ComplianceManager AssetCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:10 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:10 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:10 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT CollectionAsset (r:100 w:0)
    // Proof Skipped: NFT CollectionAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NumberOfNFTs (r:200 w:200)
    // Proof Skipped: NFT NumberOfNFTs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:200)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NFTOwner (r:0 w:100)
    // Proof Skipped: NFT NFTOwner (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn execute_manual_instruction(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 4_259_612 nanoseconds.
        Weight::from_ref_time(4_263_199_000)
            // Standard Error: 5_047_832
            .saturating_add(Weight::from_ref_time(256_577_437).saturating_mul(f.into()))
            // Standard Error: 487_402
            .saturating_add(Weight::from_ref_time(180_105_919).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(19))
            .saturating_add(DbWeight::get().reads((60_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((18_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((26_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((16_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:110 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetsExemptFromAffirmation (r:110 w:0)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:110 w:0)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PreApprovedPortfolios (r:110 w:0)
    // Proof Skipped: Portfolio PreApprovedPortfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:110 w:0)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionCounter (r:1 w:1)
    // Proof Skipped: Settlement InstructionCounter (max_values: Some(1), 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: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionLegs (r:0 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:0 w:1)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:0 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:0 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:0 w:440)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn add_instruction(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 545_975 nanoseconds.
        Weight::from_ref_time(75_121_847)
            // Standard Error: 1_045_622
            .saturating_add(Weight::from_ref_time(43_499_535).saturating_mul(f.into()))
            // Standard Error: 96_722
            .saturating_add(Weight::from_ref_time(39_909_201).saturating_mul(n.into()))
            // Standard Error: 947_172
            .saturating_add(Weight::from_ref_time(10_927_000).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().reads((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(o.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:110 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:220 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetsExemptFromAffirmation (r:110 w:0)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:110 w:0)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PreApprovedPortfolios (r:110 w:0)
    // Proof Skipped: Portfolio PreApprovedPortfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:110 w:0)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionCounter (r:1 w:1)
    // Proof Skipped: Settlement InstructionCounter (max_values: Some(1), 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: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:0)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:10 w:0)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:0 w:1)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:0 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:0 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:0 w:440)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:0 w:110)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn add_and_affirm_instruction(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 997_857 nanoseconds.
        Weight::from_ref_time(142_626_684)
            // Standard Error: 1_127_764
            .saturating_add(Weight::from_ref_time(71_088_545).saturating_mul(f.into()))
            // Standard Error: 104_321
            .saturating_add(Weight::from_ref_time(75_355_020).saturating_mul(n.into()))
            // Standard Error: 1_021_580
            .saturating_add(Weight::from_ref_time(10_921_825).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().reads((11_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((11_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((1_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((10_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((10_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(o.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:0)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:10 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:10 w:0)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:0 w:110)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[1, 100]`.
    fn affirm_instruction(f: u32, n: u32) -> Weight {
        // Minimum execution time: 569_802 nanoseconds.
        Weight::from_ref_time(196_654_540)
            // Standard Error: 530_079
            .saturating_add(Weight::from_ref_time(37_050_823).saturating_mul(f.into()))
            // Standard Error: 49_810
            .saturating_add(Weight::from_ref_time(36_527_098).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(15))
            .saturating_add(DbWeight::get().reads((6_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((5_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(n.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:110 w:110)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn withdraw_affirmation(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 484_983 nanoseconds.
        Weight::from_ref_time(154_659_367)
            // Standard Error: 609_841
            .saturating_add(Weight::from_ref_time(32_312_130).saturating_mul(f.into()))
            // Standard Error: 56_411
            .saturating_add(Weight::from_ref_time(37_416_966).saturating_mul(n.into()))
            // Standard Error: 552_422
            .saturating_add(Weight::from_ref_time(2_976_286).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().reads((5_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((5_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((1_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((4_u64).saturating_mul(n.into())))
    }
    // Storage: Settlement InstructionStatuses (r:1 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (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: Portfolio PortfolioCustodian (r:1 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:120 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionDetails (r:1 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:5 w:4)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:220)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn reject_instruction(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 597_544 nanoseconds.
        Weight::from_ref_time(85_555_757)
            // Standard Error: 999_167
            .saturating_add(Weight::from_ref_time(28_937_319).saturating_mul(f.into()))
            // Standard Error: 92_425
            .saturating_add(Weight::from_ref_time(36_036_141).saturating_mul(n.into()))
            // Standard Error: 905_091
            .saturating_add(Weight::from_ref_time(14_488_349).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(12))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((2_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(10))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:1)
    // Proof Skipped: Settlement InstructionStatuses (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: Settlement InstructionMediatorsAffirmations (r:445 w:444)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:10 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:220 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:220 w:220)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:1 w:0)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:120 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:10 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:20 w:20)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:20 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:20 w:20)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:110 w:0)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    // 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:10 w:0)
    // Proof Skipped: Statistics AssetTransferCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: ComplianceManager AssetCompliances (r:110 w:0)
    // Proof Skipped: ComplianceManager AssetCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:10 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:10 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:10 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT CollectionAsset (r:100 w:0)
    // Proof Skipped: NFT CollectionAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NumberOfNFTs (r:200 w:200)
    // Proof Skipped: NFT NumberOfNFTs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:200)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NFTOwner (r:0 w:100)
    // Proof Skipped: NFT NFTOwner (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn execute_instruction_paused(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 2_340_277 nanoseconds.
        Weight::from_ref_time(2_353_216_000)
            // Standard Error: 3_438_739
            .saturating_add(Weight::from_ref_time(137_729_800).saturating_mul(f.into()))
            // Standard Error: 332_033
            .saturating_add(Weight::from_ref_time(176_750_854).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(16))
            .saturating_add(DbWeight::get().reads((26_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((18_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((16_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((16_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:1)
    // Proof Skipped: Settlement InstructionStatuses (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: Settlement InstructionMediatorsAffirmations (r:445 w:444)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:10 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:220 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:220 w:220)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:1 w:0)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:120 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:10 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset BalanceOf (r:20 w:20)
    // Proof Skipped: Asset BalanceOf (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio Portfolios (r:20 w:0)
    // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:20 w:20)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Frozen (r:110 w:0)
    // Proof Skipped: Asset Frozen (max_values: None, max_size: None, mode: Measured)
    // Storage: Instance2Group ActiveMembers (r:1 w:0)
    // Proof Skipped: Instance2Group ActiveMembers (max_values: Some(1), max_size: None, mode: Measured)
    // Storage: Identity Claims (r:205 w:0)
    // Proof Skipped: Identity Claims (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics AssetTransferCompliances (r:10 w:0)
    // Proof Skipped: Statistics AssetTransferCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics AssetStats (r:140 w:100)
    // Proof Skipped: Statistics AssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: ComplianceManager AssetCompliances (r:110 w:0)
    // Proof Skipped: ComplianceManager AssetCompliances (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CachedNextCheckpoints (r:10 w:0)
    // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
    // Storage: Checkpoint CheckpointIdSequence (r:10 w:0)
    // Proof Skipped: Checkpoint CheckpointIdSequence (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetCount (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioAssetCount (max_values: None, max_size: None, mode: Measured)
    // Storage: Statistics ActiveAssetStats (r:10 w:0)
    // Proof Skipped: Statistics ActiveAssetStats (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT CollectionAsset (r:100 w:0)
    // Proof Skipped: NFT CollectionAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NumberOfNFTs (r:200 w:200)
    // Proof Skipped: NFT NumberOfNFTs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:200)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: NFT NFTOwner (r:0 w:100)
    // Proof Skipped: NFT NFTOwner (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn execute_scheduled_instruction(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 4_224_725 nanoseconds.
        Weight::from_ref_time(4_233_959_000)
            // Standard Error: 4_947_896
            .saturating_add(Weight::from_ref_time(232_909_306).saturating_mul(f.into()))
            // Standard Error: 477_753
            .saturating_add(Weight::from_ref_time(176_794_270).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(17))
            .saturating_add(DbWeight::get().reads((60_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((18_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((26_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((16_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    fn ensure_root_origin() -> Weight {
        // Minimum execution time: 601 nanoseconds.
        Weight::from_ref_time(751_000)
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueSigners (r:1 w:0)
    // Proof Skipped: Settlement VenueSigners (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement ReceiptsUsed (r:10 w:10)
    // Proof Skipped: Settlement ReceiptsUsed (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:10 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:0 w:10)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn affirm_with_receipts_rcv(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 1_158_891 nanoseconds.
        Weight::from_ref_time(127_233_925)
            // Standard Error: 420_567
            .saturating_add(Weight::from_ref_time(20_435_425).saturating_mul(f.into()))
            // Standard Error: 38_903
            .saturating_add(Weight::from_ref_time(21_804_985).saturating_mul(n.into()))
            // Standard Error: 380_969
            .saturating_add(Weight::from_ref_time(86_522_877).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[1, 100]`.
    fn affirm_instruction_rcv(f: u32, n: u32) -> Weight {
        // Minimum execution time: 370_040 nanoseconds.
        Weight::from_ref_time(176_180_986)
            // Standard Error: 317_403
            .saturating_add(Weight::from_ref_time(21_310_692).saturating_mul(f.into()))
            // Standard Error: 29_825
            .saturating_add(Weight::from_ref_time(21_264_601).saturating_mul(n.into()))
            .saturating_add(DbWeight::get().reads(15))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(n.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:110 w:110)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:0)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn withdraw_affirmation_rcv(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 325_532 nanoseconds.
        Weight::from_ref_time(50_718_198)
            // Standard Error: 509_797
            .saturating_add(Weight::from_ref_time(23_152_496).saturating_mul(f.into()))
            // Standard Error: 47_157
            .saturating_add(Weight::from_ref_time(21_859_328).saturating_mul(n.into()))
            // Standard Error: 461_797
            .saturating_add(Weight::from_ref_time(5_797_311).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((1_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(1))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(n.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:110 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:110 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetsExemptFromAffirmation (r:110 w:0)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:110 w:0)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PreApprovedPortfolios (r:110 w:0)
    // Proof Skipped: Portfolio PreApprovedPortfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:110 w:0)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionCounter (r:1 w:1)
    // Proof Skipped: Settlement InstructionCounter (max_values: Some(1), 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: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionLegs (r:0 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:0 w:1)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:0 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:0 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:0 w:444)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    /// The range of component `m` is `[0, 4]`.
    fn add_instruction_with_mediators(f: u32, n: u32, o: u32, m: u32) -> Weight {
        // Minimum execution time: 546_758 nanoseconds.
        Weight::from_ref_time(55_821_110)
            // Standard Error: 576_861
            .saturating_add(Weight::from_ref_time(41_207_413).saturating_mul(f.into()))
            // Standard Error: 53_232
            .saturating_add(Weight::from_ref_time(40_101_527).saturating_mul(n.into()))
            // Standard Error: 522_717
            .saturating_add(Weight::from_ref_time(9_966_080).saturating_mul(o.into()))
            // Standard Error: 1_210_418
            .saturating_add(Weight::from_ref_time(6_247_280).saturating_mul(m.into()))
            .saturating_add(DbWeight::get().reads(6))
            .saturating_add(DbWeight::get().reads((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(m.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInfo (r:1 w:0)
    // Proof Skipped: Settlement VenueInfo (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset Assets (r:110 w:0)
    // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueFiltering (r:110 w:0)
    // Proof Skipped: Settlement VenueFiltering (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioCustodian (r:220 w:0)
    // Proof Skipped: Portfolio PortfolioCustodian (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset AssetsExemptFromAffirmation (r:110 w:0)
    // Proof Skipped: Asset AssetsExemptFromAffirmation (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset PreApprovedAsset (r:110 w:0)
    // Proof Skipped: Asset PreApprovedAsset (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PreApprovedPortfolios (r:110 w:0)
    // Proof Skipped: Portfolio PreApprovedPortfolios (max_values: None, max_size: None, mode: Measured)
    // Storage: Asset MandatoryMediators (r:110 w:0)
    // Proof Skipped: Asset MandatoryMediators (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionCounter (r:1 w:1)
    // Proof Skipped: Settlement InstructionCounter (max_values: Some(1), 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: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioNFT (r:100 w:0)
    // Proof Skipped: Portfolio PortfolioNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioAssetBalances (r:10 w:0)
    // Proof Skipped: Portfolio PortfolioAssetBalances (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMemos (r:0 w:1)
    // Proof Skipped: Settlement InstructionMemos (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:0 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:0 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:0 w:444)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:110)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:0 w:110)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    /// The range of component `m` is `[0, 4]`.
    fn add_and_affirm_with_mediators(f: u32, n: u32, o: u32, m: u32) -> Weight {
        // Minimum execution time: 992_612 nanoseconds.
        Weight::from_ref_time(105_714_951)
            // Standard Error: 878_722
            .saturating_add(Weight::from_ref_time(75_258_616).saturating_mul(f.into()))
            // Standard Error: 81_087
            .saturating_add(Weight::from_ref_time(75_682_102).saturating_mul(n.into()))
            // Standard Error: 796_245
            .saturating_add(Weight::from_ref_time(10_871_013).saturating_mul(o.into()))
            // Standard Error: 1_843_808
            .saturating_add(Weight::from_ref_time(435_706).saturating_mul(m.into()))
            .saturating_add(DbWeight::get().reads(7))
            .saturating_add(DbWeight::get().reads((11_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((11_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((1_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(8))
            .saturating_add(DbWeight::get().writes((10_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((10_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((2_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes((1_u64).saturating_mul(m.into())))
    }
    // Storage: Identity KeyRecords (r:1 w:0)
    // Proof Skipped: Identity KeyRecords (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:1 w:1)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    fn affirm_instruction_as_mediator() -> Weight {
        // Minimum execution time: 91_348 nanoseconds.
        Weight::from_ref_time(99_651_000)
            .saturating_add(DbWeight::get().reads(5))
            .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: Settlement InstructionDetails (r:1 w:0)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionStatuses (r:1 w:0)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionMediatorsAffirmations (r:1 w:1)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:1 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    fn withdraw_affirmation_as_mediator() -> Weight {
        // Minimum execution time: 85_610 nanoseconds.
        Weight::from_ref_time(88_193_000)
            .saturating_add(DbWeight::get().reads(5))
            .saturating_add(DbWeight::get().writes(2))
    }
    // Storage: Settlement InstructionStatuses (r:1 w:1)
    // Proof Skipped: Settlement InstructionStatuses (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegs (r:121 w:120)
    // Proof Skipped: Settlement InstructionLegs (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: Settlement InstructionMediatorsAffirmations (r:6 w:4)
    // Proof Skipped: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionLegStatus (r:120 w:120)
    // Proof Skipped: Settlement InstructionLegStatus (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedNFT (r:100 w:100)
    // Proof Skipped: Portfolio PortfolioLockedNFT (max_values: None, max_size: None, mode: Measured)
    // Storage: Portfolio PortfolioLockedAssets (r:10 w:10)
    // Proof Skipped: Portfolio PortfolioLockedAssets (max_values: None, max_size: None, mode: Measured)
    // Storage: Scheduler Lookup (r:1 w:1)
    // Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
    // Storage: Scheduler Agenda (r:1 w:1)
    // Proof: Scheduler Agenda (max_values: None, max_size: Some(10463), added: 12938, mode: MaxEncodedLen)
    // Storage: Settlement InstructionDetails (r:1 w:1)
    // Proof Skipped: Settlement InstructionDetails (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement UserAffirmations (r:0 w:220)
    // Proof Skipped: Settlement UserAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement OffChainAffirmations (r:0 w:10)
    // Proof Skipped: Settlement OffChainAffirmations (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement InstructionAffirmsPending (r:0 w:1)
    // Proof Skipped: Settlement InstructionAffirmsPending (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement VenueInstructions (r:0 w:1)
    // Proof Skipped: Settlement VenueInstructions (max_values: None, max_size: None, mode: Measured)
    // Storage: Settlement AffirmsReceived (r:0 w:220)
    // Proof Skipped: Settlement AffirmsReceived (max_values: None, max_size: None, mode: Measured)
    /// The range of component `f` is `[1, 10]`.
    /// The range of component `n` is `[0, 100]`.
    /// The range of component `o` is `[0, 10]`.
    fn reject_instruction_as_mediator(f: u32, n: u32, o: u32) -> Weight {
        // Minimum execution time: 577_653 nanoseconds.
        Weight::from_ref_time(113_192_538)
            // Standard Error: 990_446
            .saturating_add(Weight::from_ref_time(27_867_625).saturating_mul(f.into()))
            // Standard Error: 91_618
            .saturating_add(Weight::from_ref_time(36_227_507).saturating_mul(n.into()))
            // Standard Error: 897_191
            .saturating_add(Weight::from_ref_time(12_790_417).saturating_mul(o.into()))
            .saturating_add(DbWeight::get().reads(12))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().reads((3_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().reads((2_u64).saturating_mul(o.into())))
            .saturating_add(DbWeight::get().writes(10))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(f.into())))
            .saturating_add(DbWeight::get().writes((7_u64).saturating_mul(n.into())))
            .saturating_add(DbWeight::get().writes((3_u64).saturating_mul(o.into())))
    }
}
