// Copyright 2022-2024 Forecasting Technologies LTD.
// Copyright 2021-2022 Zeitgeist PM LLC.
//
// This file is part of Zeitgeist.
//
// Zeitgeist is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation, either version 3 of the License, or (at
// your option) any later version.
//
// Zeitgeist is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Zeitgeist. If not, see <https://www.gnu.org/licenses/>.

//! Autogenerated weights for pallet_contracts
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: `2024-08-27`, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `zeitgeist-benchmark`, CPU: `AMD EPYC 7601 32-Core Processor`
//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`

// Executed Command:
// ./target/production/zeitgeist
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_contracts
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --template=./misc/frame_weight_template.hbs
// --header=./HEADER_GPL3
// --output=./runtime/common/src/weights/

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

use core::marker::PhantomData;
use frame_support::{
    traits::Get,
    weights::{constants::RocksDbWeight, Weight},
};

/// Weight functions for pallet_contracts (automatically generated)
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_contracts::weights::WeightInfo for WeightInfo<T> {
    /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:0)
    /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    fn on_process_deletion_queue_batch() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `42`
        //  Estimated: `1527`
        // Minimum execution time: 4_240 nanoseconds.
        Weight::from_parts(4_470_000, 1527).saturating_add(T::DbWeight::get().reads(1))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `k` is `[0, 1024]`.
    fn on_initialize_per_trie_key(k: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `351 + k * (69 ±0)`
        //  Estimated: `341 + k * (70 ±0)`
        // Minimum execution time: 14_770 nanoseconds.
        Weight::from_parts(2_531_288, 341)
            // Standard Error: 7_794
            .saturating_add(Weight::from_parts(1_242_502, 0).saturating_mul(k.into()))
            .saturating_add(T::DbWeight::get().reads(2))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
            .saturating_add(T::DbWeight::get().writes(2))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
            .saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
    }
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
    /// The range of component `c` is `[0, 125952]`.
    fn v9_migration_step(c: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `111 + c * (1 ±0)`
        //  Estimated: `6049 + c * (1 ±0)`
        // Minimum execution time: 11_340 nanoseconds.
        Weight::from_parts(12_148_709, 6049)
            // Standard Error: 1
            .saturating_add(Weight::from_parts(1_057, 0).saturating_mul(c.into()))
            .saturating_add(T::DbWeight::get().reads(2))
            .saturating_add(T::DbWeight::get().writes(1))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
    }
    /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    fn v10_migration_step() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `415`
        //  Estimated: `6355`
        // Minimum execution time: 19_800 nanoseconds.
        Weight::from_parts(20_660_000, 6355)
            .saturating_add(T::DbWeight::get().reads(3))
            .saturating_add(T::DbWeight::get().writes(1))
    }
    /// Storage: `Contracts::DeletionQueue` (r:1 w:1025)
    /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
    /// Storage: `Contracts::DeletionQueueCounter` (r:0 w:1)
    /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// The range of component `k` is `[0, 1024]`.
    fn v11_migration_step(k: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `71 + k * (1 ±0)`
        //  Estimated: `3535 + k * (1 ±0)`
        // Minimum execution time: 5_861 nanoseconds.
        Weight::from_parts(6_131_000, 3535)
            // Standard Error: 1_162
            .saturating_add(Weight::from_parts(1_474_918, 0).saturating_mul(k.into()))
            .saturating_add(T::DbWeight::get().reads(1))
            .saturating_add(T::DbWeight::get().writes(2))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
    }
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// The range of component `c` is `[0, 125952]`.
    fn v12_migration_step(c: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `225 + c * (1 ±0)`
        //  Estimated: `6163 + c * (1 ±0)`
        // Minimum execution time: 19_911 nanoseconds.
        Weight::from_parts(21_538_356, 6163)
            // Standard Error: 2
            .saturating_add(Weight::from_parts(436, 0).saturating_mul(c.into()))
            .saturating_add(T::DbWeight::get().reads(4))
            .saturating_add(T::DbWeight::get().writes(2))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
    }
    /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    fn v13_migration_step() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `340`
        //  Estimated: `6280`
        // Minimum execution time: 15_281 nanoseconds.
        Weight::from_parts(16_080_000, 6280)
            .saturating_add(T::DbWeight::get().reads(2))
            .saturating_add(T::DbWeight::get().writes(1))
    }
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:0)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    fn v14_migration_step() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `212`
        //  Estimated: `6152`
        // Minimum execution time: 55_871 nanoseconds.
        Weight::from_parts(59_161_000, 6152)
            .saturating_add(T::DbWeight::get().reads(4))
            .saturating_add(T::DbWeight::get().writes(1))
    }
    /// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `System::Account` (r:2 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    fn v15_migration_step() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `499`
        //  Estimated: `6439`
        // Minimum execution time: 104_312 nanoseconds.
        Weight::from_parts(106_714_000, 6439)
            .saturating_add(T::DbWeight::get().reads(4))
            .saturating_add(T::DbWeight::get().writes(2))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    fn migration_noop() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `42`
        //  Estimated: `1527`
        // Minimum execution time: 5_210 nanoseconds.
        Weight::from_parts(5_410_000, 1527)
            .saturating_add(T::DbWeight::get().reads(1))
            .saturating_add(T::DbWeight::get().writes(1))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
    fn migrate() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `66`
        //  Estimated: `3531`
        // Minimum execution time: 16_191 nanoseconds.
        Weight::from_parts(16_710_000, 3531)
            .saturating_add(T::DbWeight::get().reads(2))
            .saturating_add(T::DbWeight::get().writes(2))
    }
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    fn on_runtime_upgrade_noop() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `42`
        //  Estimated: `3507`
        // Minimum execution time: 7_110 nanoseconds.
        Weight::from_parts(8_400_000, 3507).saturating_add(T::DbWeight::get().reads(1))
    }
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    fn on_runtime_upgrade_in_progress() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `67`
        //  Estimated: `3532`
        // Minimum execution time: 9_150 nanoseconds.
        Weight::from_parts(9_871_000, 3532).saturating_add(T::DbWeight::get().reads(2))
    }
    /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    fn on_runtime_upgrade() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `42`
        //  Estimated: `3507`
        // Minimum execution time: 9_611 nanoseconds.
        Weight::from_parts(9_990_000, 3507)
            .saturating_add(T::DbWeight::get().reads(2))
            .saturating_add(T::DbWeight::get().writes(1))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `c` is `[0, 125952]`.
    fn call_with_code_per_byte(c: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `630`
        //  Estimated: `6582 + c * (1 ±0)`
        // Minimum execution time: 329_437 nanoseconds.
        Weight::from_parts(336_773_149, 6582)
            // Standard Error: 57
            .saturating_add(Weight::from_parts(35_962, 0).saturating_mul(c.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:2 w:2)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:3 w:3)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Contracts::Nonce` (r:1 w:1)
    /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:0 w:1)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// The range of component `c` is `[0, 125952]`.
    /// The range of component `i` is `[0, 1048576]`.
    /// The range of component `s` is `[0, 1048576]`.
    fn instantiate_with_code(c: u32, i: u32, s: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `157`
        //  Estimated: `8578`
        // Minimum execution time: 4_630_041 nanoseconds.
        Weight::from_parts(4_692_483_000, 8578)
            // Standard Error: 354
            .saturating_add(Weight::from_parts(96_070, 0).saturating_mul(c.into()))
            // Standard Error: 42
            .saturating_add(Weight::from_parts(709, 0).saturating_mul(i.into()))
            // Standard Error: 42
            .saturating_add(Weight::from_parts(391, 0).saturating_mul(s.into()))
            .saturating_add(T::DbWeight::get().reads(11))
            .saturating_add(T::DbWeight::get().writes(10))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Contracts::Nonce` (r:1 w:1)
    /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:1)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// The range of component `i` is `[0, 1048576]`.
    /// The range of component `s` is `[0, 1048576]`.
    fn instantiate(i: u32, s: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `394`
        //  Estimated: `6339`
        // Minimum execution time: 2_283_341 nanoseconds.
        Weight::from_parts(348_189_605, 6339)
            // Standard Error: 9
            .saturating_add(Weight::from_parts(1_874, 0).saturating_mul(i.into()))
            // Standard Error: 9
            .saturating_add(Weight::from_parts(1_878, 0).saturating_mul(s.into()))
            .saturating_add(T::DbWeight::get().reads(10))
            .saturating_add(T::DbWeight::get().writes(7))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:1)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    fn call() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `665`
        //  Estimated: `6605`
        // Minimum execution time: 245_395 nanoseconds.
        Weight::from_parts(249_765_000, 6605)
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(4))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:1)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:1 w:1)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:0 w:1)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// The range of component `c` is `[0, 125952]`.
    fn upload_code(c: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `42`
        //  Estimated: `3507`
        // Minimum execution time: 308_408 nanoseconds.
        Weight::from_parts(302_712_589, 3507)
            // Standard Error: 126
            .saturating_add(Weight::from_parts(70_654, 0).saturating_mul(c.into()))
            .saturating_add(T::DbWeight::get().reads(4))
            .saturating_add(T::DbWeight::get().writes(4))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:1)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:1 w:1)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:0 w:1)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    fn remove_code() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `212`
        //  Estimated: `3677`
        // Minimum execution time: 54_051 nanoseconds.
        Weight::from_parts(55_181_000, 3677)
            .saturating_add(T::DbWeight::get().reads(4))
            .saturating_add(T::DbWeight::get().writes(4))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:3 w:3)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    fn set_code() -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `452`
        //  Estimated: `8867`
        // Minimum execution time: 38_641 nanoseconds.
        Weight::from_parts(39_581_000, 8867)
            .saturating_add(T::DbWeight::get().reads(7))
            .saturating_add(T::DbWeight::get().writes(6))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_caller(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `652 + r * (6 ±0)`
        //  Estimated: `6592 + r * (6 ±0)`
        // Minimum execution time: 297_037 nanoseconds.
        Weight::from_parts(307_110_769, 6592)
            // Standard Error: 1_553
            .saturating_add(Weight::from_parts(468_166, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_is_contract(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `706 + r * (209 ±0)`
        //  Estimated: `6608 + r * (2684 ±0)`
        // Minimum execution time: 296_857 nanoseconds.
        Weight::from_parts(113_335_627, 6608)
            // Standard Error: 9_347
            .saturating_add(Weight::from_parts(4_410_562, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 2684).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_code_hash(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `717 + r * (213 ±0)`
        //  Estimated: `6619 + r * (2688 ±0)`
        // Minimum execution time: 301_236 nanoseconds.
        Weight::from_parts(120_935_152, 6619)
            // Standard Error: 9_010
            .saturating_add(Weight::from_parts(5_493_758, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 2688).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_own_code_hash(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `659 + r * (6 ±0)`
        //  Estimated: `6599 + r * (6 ±0)`
        // Minimum execution time: 304_177 nanoseconds.
        Weight::from_parts(317_318_891, 6599)
            // Standard Error: 1_160
            .saturating_add(Weight::from_parts(617_959, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_caller_is_origin(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `649 + r * (3 ±0)`
        //  Estimated: `6589 + r * (3 ±0)`
        // Minimum execution time: 295_256 nanoseconds.
        Weight::from_parts(308_595_177, 6589)
            // Standard Error: 885
            .saturating_add(Weight::from_parts(225_876, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_caller_is_root(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `587 + r * (3 ±0)`
        //  Estimated: `6527 + r * (3 ±0)`
        // Minimum execution time: 283_286 nanoseconds.
        Weight::from_parts(293_211_225, 6527)
            // Standard Error: 968
            .saturating_add(Weight::from_parts(200_715, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(7))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_address(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `653 + r * (6 ±0)`
        //  Estimated: `6593 + r * (6 ±0)`
        // Minimum execution time: 295_546 nanoseconds.
        Weight::from_parts(304_435_571, 6593)
            // Standard Error: 1_421
            .saturating_add(Weight::from_parts(458_930, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_gas_left(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `649 + r * (6 ±0)`
        //  Estimated: `6588 + r * (6 ±0)`
        // Minimum execution time: 297_407 nanoseconds.
        Weight::from_parts(316_757_599, 6588)
            // Standard Error: 3_124
            .saturating_add(Weight::from_parts(507_310, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:2 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_balance(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `797 + r * (6 ±0)`
        //  Estimated: `6716 + r * (6 ±0)`
        // Minimum execution time: 296_527 nanoseconds.
        Weight::from_parts(321_948_414, 6716)
            // Standard Error: 1_904
            .saturating_add(Weight::from_parts(2_107_368, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_value_transferred(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `663 + r * (6 ±0)`
        //  Estimated: `6603 + r * (6 ±0)`
        // Minimum execution time: 294_687 nanoseconds.
        Weight::from_parts(307_718_352, 6603)
            // Standard Error: 1_433
            .saturating_add(Weight::from_parts(456_149, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_minimum_balance(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `661 + r * (6 ±0)`
        //  Estimated: `6601 + r * (6 ±0)`
        // Minimum execution time: 296_586 nanoseconds.
        Weight::from_parts(315_602_534, 6601)
            // Standard Error: 1_306
            .saturating_add(Weight::from_parts(430_940, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_block_number(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `658 + r * (6 ±0)`
        //  Estimated: `6601 + r * (6 ±0)`
        // Minimum execution time: 299_127 nanoseconds.
        Weight::from_parts(313_291_701, 6601)
            // Standard Error: 1_453
            .saturating_add(Weight::from_parts(448_916, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_now(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `649 + r * (6 ±0)`
        //  Estimated: `6589 + r * (6 ±0)`
        // Minimum execution time: 300_617 nanoseconds.
        Weight::from_parts(306_378_716, 6589)
            // Standard Error: 1_447
            .saturating_add(Weight::from_parts(461_375, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
    /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_weight_to_fee(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `722 + r * (14 ±0)`
        //  Estimated: `6655 + r * (14 ±0)`
        // Minimum execution time: 296_376 nanoseconds.
        Weight::from_parts(320_750_742, 6655)
            // Standard Error: 1_775
            .saturating_add(Weight::from_parts(1_482_420, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_input(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `651 + r * (6 ±0)`
        //  Estimated: `6591 + r * (6 ±0)`
        // Minimum execution time: 295_217 nanoseconds.
        Weight::from_parts(308_011_494, 6591)
            // Standard Error: 1_320
            .saturating_add(Weight::from_parts(372_981, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_input_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `655`
        //  Estimated: `6595`
        // Minimum execution time: 299_587 nanoseconds.
        Weight::from_parts(312_534_173, 6595)
            // Standard Error: 1
            .saturating_add(Weight::from_parts(682, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1]`.
    fn seal_return(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `639 + r * (8 ±0)`
        //  Estimated: `6579 + r * (8 ±0)`
        // Minimum execution time: 289_176 nanoseconds.
        Weight::from_parts(302_862_122, 6579)
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_return_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `649`
        //  Estimated: `6589`
        // Minimum execution time: 292_717 nanoseconds.
        Weight::from_parts(313_598_259, 6589)
            // Standard Error: 5
            .saturating_add(Weight::from_parts(418, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:3 w:3)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
    /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:4 w:4)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:1)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// Storage: `Contracts::DeletionQueue` (r:0 w:1)
    /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
    /// The range of component `r` is `[0, 1]`.
    fn seal_terminate(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `2758 + r * (319 ±0)`
        //  Estimated: `8698 + r * (5269 ±0)`
        // Minimum execution time: 312_397 nanoseconds.
        Weight::from_parts(325_311_114, 8698)
            // Standard Error: 1_894_983
            .saturating_add(Weight::from_parts(151_059_185, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 5269).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
    /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_random(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `730 + r * (10 ±0)`
        //  Estimated: `6664 + r * (10 ±0)`
        // Minimum execution time: 296_967 nanoseconds.
        Weight::from_parts(331_491_554, 6664)
            // Standard Error: 2_889
            .saturating_add(Weight::from_parts(2_475_715, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_deposit_event(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `649 + r * (10 ±0)`
        //  Estimated: `6589 + r * (10 ±0)`
        // Minimum execution time: 290_676 nanoseconds.
        Weight::from_parts(302_681_212, 6589)
            // Standard Error: 9_494
            .saturating_add(Weight::from_parts(4_496_062, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:6 w:6)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `t` is `[0, 4]`.
    /// The range of component `n` is `[0, 16384]`.
    fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `666 + t * (32 ±0)`
        //  Estimated: `6607 + t * (2508 ±0)`
        // Minimum execution time: 312_876 nanoseconds.
        Weight::from_parts(315_123_943, 6607)
            // Standard Error: 224_081
            .saturating_add(Weight::from_parts(3_111_318, 0).saturating_mul(t.into()))
            // Standard Error: 62
            .saturating_add(Weight::from_parts(589, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
            .saturating_add(Weight::from_parts(0, 2508).saturating_mul(t.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_debug_message(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `648 + r * (7 ±0)`
        //  Estimated: `6588 + r * (7 ±0)`
        // Minimum execution time: 203_334 nanoseconds.
        Weight::from_parts(210_011_266, 6588)
            // Standard Error: 1_028
            .saturating_add(Weight::from_parts(287_881, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `i` is `[0, 1048576]`.
    fn seal_debug_message_per_byte(i: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `125599`
        //  Estimated: `131539`
        // Minimum execution time: 441_849 nanoseconds.
        Weight::from_parts(460_552_839, 131539)
            // Standard Error: 2
            .saturating_add(Weight::from_parts(1_092, 0).saturating_mul(i.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_set_storage(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `702 + r * (292 ±0)`
        //  Estimated: `706 + r * (293 ±0)`
        // Minimum execution time: 294_846 nanoseconds.
        Weight::from_parts(177_111_907, 706)
            // Standard Error: 15_040
            .saturating_add(Weight::from_parts(7_418_990, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 293).saturating_mul(r.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_set_storage_per_new_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1235`
        //  Estimated: `1219`
        // Minimum execution time: 319_896 nanoseconds.
        Weight::from_parts(387_042_761, 1219)
            // Standard Error: 125
            .saturating_add(Weight::from_parts(239, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(12))
            .saturating_add(T::DbWeight::get().writes(8))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_set_storage_per_old_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1038 + n * (1 ±0)`
        //  Estimated: `1038 + n * (1 ±0)`
        // Minimum execution time: 318_586 nanoseconds.
        Weight::from_parts(339_833_840, 1038)
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_clear_storage(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `702 + r * (288 ±0)`
        //  Estimated: `706 + r * (289 ±0)`
        // Minimum execution time: 294_936 nanoseconds.
        Weight::from_parts(171_107_020, 706)
            // Standard Error: 15_269
            .saturating_add(Weight::from_parts(7_392_364, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_clear_storage_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1034 + n * (1 ±0)`
        //  Estimated: `1034 + n * (1 ±0)`
        // Minimum execution time: 317_576 nanoseconds.
        Weight::from_parts(332_646_981, 1034)
            // Standard Error: 79
            .saturating_add(Weight::from_parts(131, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_get_storage(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `698 + r * (296 ±0)`
        //  Estimated: `707 + r * (297 ±0)`
        // Minimum execution time: 296_837 nanoseconds.
        Weight::from_parts(208_513_319, 707)
            // Standard Error: 13_186
            .saturating_add(Weight::from_parts(6_161_944, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_get_storage_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1050 + n * (1 ±0)`
        //  Estimated: `1050 + n * (1 ±0)`
        // Minimum execution time: 315_596 nanoseconds.
        Weight::from_parts(330_275_721, 1050)
            // Standard Error: 85
            .saturating_add(Weight::from_parts(876, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_contains_storage(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `705 + r * (288 ±0)`
        //  Estimated: `709 + r * (289 ±0)`
        // Minimum execution time: 298_735 nanoseconds.
        Weight::from_parts(218_944_421, 709)
            // Standard Error: 12_191
            .saturating_add(Weight::from_parts(5_822_279, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_contains_storage_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1037 + n * (1 ±0)`
        //  Estimated: `1037 + n * (1 ±0)`
        // Minimum execution time: 313_946 nanoseconds.
        Weight::from_parts(327_050_283, 1037)
            // Standard Error: 137
            .saturating_add(Weight::from_parts(314, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_take_storage(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `699 + r * (296 ±0)`
        //  Estimated: `706 + r * (297 ±0)`
        // Minimum execution time: 296_526 nanoseconds.
        Weight::from_parts(184_551_113, 706)
            // Standard Error: 14_698
            .saturating_add(Weight::from_parts(7_571_507, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
    }
    /// Storage: `Skipped::Metadata` (r:0 w:0)
    /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 16384]`.
    fn seal_take_storage_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1051 + n * (1 ±0)`
        //  Estimated: `1051 + n * (1 ±0)`
        // Minimum execution time: 322_647 nanoseconds.
        Weight::from_parts(335_704_596, 1051)
            // Standard Error: 79
            .saturating_add(Weight::from_parts(832, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1602 w:1601)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_transfer(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1233 + r * (45 ±0)`
        //  Estimated: `7124 + r * (2520 ±0)`
        // Minimum execution time: 301_096 nanoseconds.
        Weight::from_parts(140_091_134, 7124)
            // Standard Error: 29_695
            .saturating_add(Weight::from_parts(48_165_237, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2520).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:2 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:803 w:803)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_call(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `684 + r * (245 ±0)`
        //  Estimated: `8943 + r * (2721 ±0)`
        // Minimum execution time: 304_986 nanoseconds.
        Weight::from_parts(308_216_000, 8943)
            // Standard Error: 596_005
            .saturating_add(Weight::from_parts(273_098_699, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(11))
            .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2721).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:736 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:736 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:737 w:737)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 800]`.
    fn seal_delegate_call(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `0 + r * (576 ±0)`
        //  Estimated: `6598 + r * (2637 ±10)`
        // Minimum execution time: 298_526 nanoseconds.
        Weight::from_parts(302_586_000, 6598)
            // Standard Error: 215_251
            .saturating_add(Weight::from_parts(269_327_525, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2637).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:3 w:2)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:2 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:4 w:4)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `t` is `[0, 1]`.
    /// The range of component `c` is `[0, 1048576]`.
    fn seal_call_per_transfer_clone_byte(t: u32, c: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1093 + t * (285 ±0)`
        //  Estimated: `11983 + t * (5235 ±0)`
        // Minimum execution time: 529_312 nanoseconds.
        Weight::from_parts(504_452_664, 11983)
            // Standard Error: 1_835_232
            .saturating_add(Weight::from_parts(53_123_569, 0).saturating_mul(t.into()))
            // Standard Error: 2
            .saturating_add(Weight::from_parts(686, 0).saturating_mul(c.into()))
            .saturating_add(T::DbWeight::get().reads(13))
            .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into())))
            .saturating_add(T::DbWeight::get().writes(6))
            .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into())))
            .saturating_add(Weight::from_parts(0, 5235).saturating_mul(t.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:802 w:802)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:801 w:800)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:801 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::Nonce` (r:1 w:1)
    /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:803 w:803)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:800 w:800)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// The range of component `r` is `[1, 800]`.
    fn seal_instantiate(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1118 + r * (255 ±0)`
        //  Estimated: `9443 + r * (2731 ±0)`
        // Minimum execution time: 718_106 nanoseconds.
        Weight::from_parts(721_614_000, 9443)
            // Standard Error: 407_901
            .saturating_add(Weight::from_parts(437_259_812, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(11))
            .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(7))
            .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2731).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:3 w:3)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:2 w:1)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:2 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::Nonce` (r:1 w:1)
    /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:4 w:4)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// Storage: `Balances::Holds` (r:1 w:1)
    /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `Measured`)
    /// The range of component `t` is `[0, 1]`.
    /// The range of component `i` is `[0, 983040]`.
    /// The range of component `s` is `[0, 983040]`.
    fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1051 + t * (145 ±0)`
        //  Estimated: `11964 + t * (2591 ±2)`
        // Minimum execution time: 2_288_859 nanoseconds.
        Weight::from_parts(566_918_434, 11964)
            // Standard Error: 4_314_027
            .saturating_add(Weight::from_parts(77_974_693, 0).saturating_mul(t.into()))
            // Standard Error: 6
            .saturating_add(Weight::from_parts(1_738, 0).saturating_mul(i.into()))
            // Standard Error: 6
            .saturating_add(Weight::from_parts(1_795, 0).saturating_mul(s.into()))
            .saturating_add(T::DbWeight::get().reads(16))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
            .saturating_add(T::DbWeight::get().writes(11))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
            .saturating_add(Weight::from_parts(0, 2591).saturating_mul(t.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_hash_sha2_256(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `648 + r * (8 ±0)`
        //  Estimated: `6588 + r * (8 ±0)`
        // Minimum execution time: 291_297 nanoseconds.
        Weight::from_parts(307_595_353, 6588)
            // Standard Error: 1_126
            .saturating_add(Weight::from_parts(491_564, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_hash_sha2_256_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `656`
        //  Estimated: `6596`
        // Minimum execution time: 296_977 nanoseconds.
        Weight::from_parts(304_722_630, 6596)
            // Standard Error: 2
            .saturating_add(Weight::from_parts(999, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_hash_keccak_256(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `650 + r * (8 ±0)`
        //  Estimated: `6590 + r * (8 ±0)`
        // Minimum execution time: 292_546 nanoseconds.
        Weight::from_parts(307_188_611, 6590)
            // Standard Error: 1_211
            .saturating_add(Weight::from_parts(888_225, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_hash_keccak_256_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `658`
        //  Estimated: `6598`
        // Minimum execution time: 295_046 nanoseconds.
        Weight::from_parts(307_144_750, 6598)
            // Standard Error: 3
            .saturating_add(Weight::from_parts(3_337, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_hash_blake2_256(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `650 + r * (8 ±0)`
        //  Estimated: `6593 + r * (8 ±0)`
        // Minimum execution time: 291_236 nanoseconds.
        Weight::from_parts(315_543_506, 6593)
            // Standard Error: 1_521
            .saturating_add(Weight::from_parts(597_614, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_hash_blake2_256_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `658`
        //  Estimated: `6598`
        // Minimum execution time: 293_057 nanoseconds.
        Weight::from_parts(295_127_880, 6598)
            // Standard Error: 4
            .saturating_add(Weight::from_parts(1_404, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_hash_blake2_128(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `650 + r * (8 ±0)`
        //  Estimated: `6590 + r * (8 ±0)`
        // Minimum execution time: 293_087 nanoseconds.
        Weight::from_parts(309_221_379, 6590)
            // Standard Error: 1_396
            .saturating_add(Weight::from_parts(557_679, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 1048576]`.
    fn seal_hash_blake2_128_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `658`
        //  Estimated: `6598`
        // Minimum execution time: 293_626 nanoseconds.
        Weight::from_parts(305_848_869, 6598)
            // Standard Error: 1
            .saturating_add(Weight::from_parts(1_370, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `n` is `[0, 125697]`.
    fn seal_sr25519_verify_per_byte(n: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `783 + n * (1 ±0)`
        //  Estimated: `6720 + n * (1 ±0)`
        // Minimum execution time: 372_717 nanoseconds.
        Weight::from_parts(384_935_036, 6720)
            // Standard Error: 14
            .saturating_add(Weight::from_parts(6_598, 0).saturating_mul(n.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 160]`.
    fn seal_sr25519_verify(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `589 + r * (112 ±0)`
        //  Estimated: `6534 + r * (112 ±0)`
        // Minimum execution time: 296_616 nanoseconds.
        Weight::from_parts(323_922_200, 6534)
            // Standard Error: 46_765
            .saturating_add(Weight::from_parts(67_123_432, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 160]`.
    fn seal_ecdsa_recover(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `693 + r * (76 ±0)`
        //  Estimated: `6587 + r * (77 ±0)`
        // Minimum execution time: 295_726 nanoseconds.
        Weight::from_parts(349_229_460, 6587)
            // Standard Error: 194_822
            .saturating_add(Weight::from_parts(55_117_133, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 160]`.
    fn seal_ecdsa_to_eth_address(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `663 + r * (42 ±0)`
        //  Estimated: `6602 + r * (42 ±0)`
        // Minimum execution time: 297_326 nanoseconds.
        Weight::from_parts(338_872_213, 6602)
            // Standard Error: 26_541
            .saturating_add(Weight::from_parts(12_444_935, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1536 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:1538 w:1538)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_set_code_hash(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `0 + r * (965 ±0)`
        //  Estimated: `6593 + r * (3090 ±7)`
        // Minimum execution time: 296_406 nanoseconds.
        Weight::from_parts(301_676_000, 6593)
            // Standard Error: 92_994
            .saturating_add(Weight::from_parts(33_492_066, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 3090).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 32]`.
    fn add_delegate_dependency(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `715 + r * (131 ±0)`
        //  Estimated: `6664 + r * (2606 ±0)`
        // Minimum execution time: 297_206 nanoseconds.
        Weight::from_parts(319_531_470, 6664)
            // Standard Error: 50_175
            .saturating_add(Weight::from_parts(7_520_497, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2606).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 32]`.
    fn remove_delegate_dependency(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `754 + r * (183 ±0)`
        //  Estimated: `129453 + r * (2568 ±0)`
        // Minimum execution time: 300_916 nanoseconds.
        Weight::from_parts(322_216_180, 129453)
            // Standard Error: 49_418
            .saturating_add(Weight::from_parts(6_312_841, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
            .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_reentrance_count(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `644 + r * (3 ±0)`
        //  Estimated: `6584 + r * (3 ±0)`
        // Minimum execution time: 292_696 nanoseconds.
        Weight::from_parts(308_241_185, 6584)
            // Standard Error: 984
            .saturating_add(Weight::from_parts(225_005, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_account_reentrance_count(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `1382 + r * (39 ±0)`
        //  Estimated: `7282 + r * (39 ±0)`
        // Minimum execution time: 297_267 nanoseconds.
        Weight::from_parts(339_255_149, 7282)
            // Standard Error: 4_082
            .saturating_add(Weight::from_parts(333_959, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(8))
            .saturating_add(T::DbWeight::get().writes(3))
            .saturating_add(Weight::from_parts(0, 39).saturating_mul(r.into()))
    }
    /// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
    /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
    /// Storage: `System::Account` (r:1 w:0)
    /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `Measured`)
    /// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
    /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
    /// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
    /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
    /// Storage: `Contracts::PristineCode` (r:1 w:0)
    /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
    /// Storage: `Timestamp::Now` (r:1 w:0)
    /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `Contracts::Nonce` (r:1 w:1)
    /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
    /// Storage: `System::EventTopics` (r:2 w:2)
    /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
    /// The range of component `r` is `[0, 1600]`.
    fn seal_instantiation_nonce(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `647 + r * (3 ±0)`
        //  Estimated: `6587 + r * (3 ±0)`
        // Minimum execution time: 293_016 nanoseconds.
        Weight::from_parts(312_745_195, 6587)
            // Standard Error: 957
            .saturating_add(Weight::from_parts(187_244, 0).saturating_mul(r.into()))
            .saturating_add(T::DbWeight::get().reads(9))
            .saturating_add(T::DbWeight::get().writes(4))
            .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
    }
    /// The range of component `r` is `[0, 5000]`.
    fn instr_i64const(r: u32) -> Weight {
        // Proof Size summary in bytes:
        //  Measured:  `0`
        //  Estimated: `0`
        // Minimum execution time: 2_160 nanoseconds.
        Weight::from_parts(3_284_722, 0)
            // Standard Error: 36
            .saturating_add(Weight::from_parts(30_771, 0).saturating_mul(r.into()))
    }
}
