Files
pezkuwi-subxt/substrate/frame/contracts/src/weights.rs
T
Alexander Theißen d786e623df Update contract weights (#12192)
* Dummy commit

* ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts

Co-authored-by: command-bot <>
2022-09-07 14:49:44 +01:00

2362 lines
103 KiB
Rust

// This file is part of Substrate.
// Copyright (C) 2022 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for pallet_contracts
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-06, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// /home/benchbot/cargo_target_dir/production/substrate
// benchmark
// pallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --pallet=pallet_contracts
// --chain=dev
// --output=./frame/contracts/src/weights.rs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
/// Weight functions needed for pallet_contracts.
pub trait WeightInfo {
fn on_process_deletion_queue_batch() -> Weight;
fn on_initialize_per_trie_key(k: u32, ) -> Weight;
fn on_initialize_per_queue_item(q: u32, ) -> Weight;
fn reinstrument(c: u32, ) -> Weight;
fn call_with_code_per_byte(c: u32, ) -> Weight;
fn instantiate_with_code(c: u32, s: u32, ) -> Weight;
fn instantiate(s: u32, ) -> Weight;
fn call() -> Weight;
fn upload_code(c: u32, ) -> Weight;
fn remove_code() -> Weight;
fn set_code() -> Weight;
fn seal_caller(r: u32, ) -> Weight;
fn seal_is_contract(r: u32, ) -> Weight;
fn seal_code_hash(r: u32, ) -> Weight;
fn seal_own_code_hash(r: u32, ) -> Weight;
fn seal_caller_is_origin(r: u32, ) -> Weight;
fn seal_address(r: u32, ) -> Weight;
fn seal_gas_left(r: u32, ) -> Weight;
fn seal_balance(r: u32, ) -> Weight;
fn seal_value_transferred(r: u32, ) -> Weight;
fn seal_minimum_balance(r: u32, ) -> Weight;
fn seal_block_number(r: u32, ) -> Weight;
fn seal_now(r: u32, ) -> Weight;
fn seal_weight_to_fee(r: u32, ) -> Weight;
fn seal_gas(r: u32, ) -> Weight;
fn seal_input(r: u32, ) -> Weight;
fn seal_input_per_kb(n: u32, ) -> Weight;
fn seal_return(r: u32, ) -> Weight;
fn seal_return_per_kb(n: u32, ) -> Weight;
fn seal_terminate(r: u32, ) -> Weight;
fn seal_random(r: u32, ) -> Weight;
fn seal_deposit_event(r: u32, ) -> Weight;
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight;
fn seal_debug_message(r: u32, ) -> Weight;
fn seal_set_storage(r: u32, ) -> Weight;
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight;
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight;
fn seal_clear_storage(r: u32, ) -> Weight;
fn seal_clear_storage_per_kb(n: u32, ) -> Weight;
fn seal_get_storage(r: u32, ) -> Weight;
fn seal_get_storage_per_kb(n: u32, ) -> Weight;
fn seal_contains_storage(r: u32, ) -> Weight;
fn seal_contains_storage_per_kb(n: u32, ) -> Weight;
fn seal_take_storage(r: u32, ) -> Weight;
fn seal_take_storage_per_kb(n: u32, ) -> Weight;
fn seal_transfer(r: u32, ) -> Weight;
fn seal_call(r: u32, ) -> Weight;
fn seal_delegate_call(r: u32, ) -> Weight;
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight;
fn seal_instantiate(r: u32, ) -> Weight;
fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight;
fn seal_hash_sha2_256(r: u32, ) -> Weight;
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_keccak_256(r: u32, ) -> Weight;
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_blake2_256(r: u32, ) -> Weight;
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_blake2_128(r: u32, ) -> Weight;
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight;
fn seal_ecdsa_recover(r: u32, ) -> Weight;
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight;
fn seal_set_code_hash(r: u32, ) -> Weight;
fn instr_i64const(r: u32, ) -> Weight;
fn instr_i64load(r: u32, ) -> Weight;
fn instr_i64store(r: u32, ) -> Weight;
fn instr_select(r: u32, ) -> Weight;
fn instr_if(r: u32, ) -> Weight;
fn instr_br(r: u32, ) -> Weight;
fn instr_br_if(r: u32, ) -> Weight;
fn instr_br_table(r: u32, ) -> Weight;
fn instr_br_table_per_entry(e: u32, ) -> Weight;
fn instr_call(r: u32, ) -> Weight;
fn instr_call_indirect(r: u32, ) -> Weight;
fn instr_call_indirect_per_param(p: u32, ) -> Weight;
fn instr_local_get(r: u32, ) -> Weight;
fn instr_local_set(r: u32, ) -> Weight;
fn instr_local_tee(r: u32, ) -> Weight;
fn instr_global_get(r: u32, ) -> Weight;
fn instr_global_set(r: u32, ) -> Weight;
fn instr_memory_current(r: u32, ) -> Weight;
fn instr_memory_grow(r: u32, ) -> Weight;
fn instr_i64clz(r: u32, ) -> Weight;
fn instr_i64ctz(r: u32, ) -> Weight;
fn instr_i64popcnt(r: u32, ) -> Weight;
fn instr_i64eqz(r: u32, ) -> Weight;
fn instr_i64extendsi32(r: u32, ) -> Weight;
fn instr_i64extendui32(r: u32, ) -> Weight;
fn instr_i32wrapi64(r: u32, ) -> Weight;
fn instr_i64eq(r: u32, ) -> Weight;
fn instr_i64ne(r: u32, ) -> Weight;
fn instr_i64lts(r: u32, ) -> Weight;
fn instr_i64ltu(r: u32, ) -> Weight;
fn instr_i64gts(r: u32, ) -> Weight;
fn instr_i64gtu(r: u32, ) -> Weight;
fn instr_i64les(r: u32, ) -> Weight;
fn instr_i64leu(r: u32, ) -> Weight;
fn instr_i64ges(r: u32, ) -> Weight;
fn instr_i64geu(r: u32, ) -> Weight;
fn instr_i64add(r: u32, ) -> Weight;
fn instr_i64sub(r: u32, ) -> Weight;
fn instr_i64mul(r: u32, ) -> Weight;
fn instr_i64divs(r: u32, ) -> Weight;
fn instr_i64divu(r: u32, ) -> Weight;
fn instr_i64rems(r: u32, ) -> Weight;
fn instr_i64remu(r: u32, ) -> Weight;
fn instr_i64and(r: u32, ) -> Weight;
fn instr_i64or(r: u32, ) -> Weight;
fn instr_i64xor(r: u32, ) -> Weight;
fn instr_i64shl(r: u32, ) -> Weight;
fn instr_i64shrs(r: u32, ) -> Weight;
fn instr_i64shru(r: u32, ) -> Weight;
fn instr_i64rotl(r: u32, ) -> Weight;
fn instr_i64rotr(r: u32, ) -> Weight;
}
/// Weights for pallet_contracts using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_process_deletion_queue_batch() -> Weight {
Weight::from_ref_time(2_948_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `k` is `[0, 1024]`.
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
Weight::from_ref_time(14_858_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(k as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
}
// Storage: Contracts DeletionQueue (r:1 w:0)
/// The range of component `q` is `[0, 128]`.
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
Weight::from_ref_time(14_778_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_228_000 as u64).saturating_mul(q as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Contracts PristineCode (r:1 w:0)
// Storage: Contracts CodeStorage (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
fn reinstrument(c: u32, ) -> Weight {
Weight::from_ref_time(21_622_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(1 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `c` is `[0, 131072]`.
fn call_with_code_per_byte(c: u32, ) -> Weight {
Weight::from_ref_time(207_601_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:3 w:3)
// Storage: Contracts PristineCode (r:0 w:1)
// Storage: Contracts OwnerInfoOf (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate_with_code(c: u32, s: u32, ) -> Weight {
Weight::from_ref_time(287_355_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(c as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `s` is `[0, 1048576]`.
fn instantiate(s: u32, ) -> Weight {
Weight::from_ref_time(178_912_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
fn call() -> Weight {
Weight::from_ref_time(159_188_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: System EventTopics (r:1 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
// Storage: Contracts OwnerInfoOf (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
fn upload_code(c: u32, ) -> Weight {
Weight::from_ref_time(52_177_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:1 w:1)
// Storage: Contracts CodeStorage (r:0 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
fn remove_code() -> Weight {
Weight::from_ref_time(37_011_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:2 w:2)
// Storage: System EventTopics (r:3 w:3)
fn set_code() -> Weight {
Weight::from_ref_time(40_206_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_caller(r: u32, ) -> Weight {
Weight::from_ref_time(224_309_000 as u64)
// Standard Error: 53_000
.saturating_add(Weight::from_ref_time(36_885_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_is_contract(r: u32, ) -> Weight {
Weight::from_ref_time(166_137_000 as u64)
// Standard Error: 428_000
.saturating_add(Weight::from_ref_time(214_063_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(174_069_000 as u64)
// Standard Error: 443_000
.saturating_add(Weight::from_ref_time(272_524_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_own_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(225_577_000 as u64)
// Standard Error: 39_000
.saturating_add(Weight::from_ref_time(40_425_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_caller_is_origin(r: u32, ) -> Weight {
Weight::from_ref_time(221_162_000 as u64)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(15_192_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_address(r: u32, ) -> Weight {
Weight::from_ref_time(224_517_000 as u64)
// Standard Error: 38_000
.saturating_add(Weight::from_ref_time(36_722_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_gas_left(r: u32, ) -> Weight {
Weight::from_ref_time(223_864_000 as u64)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(36_355_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_balance(r: u32, ) -> Weight {
Weight::from_ref_time(226_396_000 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(112_018_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_value_transferred(r: u32, ) -> Weight {
Weight::from_ref_time(222_775_000 as u64)
// Standard Error: 45_000
.saturating_add(Weight::from_ref_time(36_691_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_minimum_balance(r: u32, ) -> Weight {
Weight::from_ref_time(223_202_000 as u64)
// Standard Error: 42_000
.saturating_add(Weight::from_ref_time(36_393_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_block_number(r: u32, ) -> Weight {
Weight::from_ref_time(223_507_000 as u64)
// Standard Error: 44_000
.saturating_add(Weight::from_ref_time(36_211_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_now(r: u32, ) -> Weight {
Weight::from_ref_time(225_500_000 as u64)
// Standard Error: 58_000
.saturating_add(Weight::from_ref_time(36_290_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
/// The range of component `r` is `[0, 20]`.
fn seal_weight_to_fee(r: u32, ) -> Weight {
Weight::from_ref_time(225_310_000 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(98_714_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_gas(r: u32, ) -> Weight {
Weight::from_ref_time(149_071_000 as u64)
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(18_084_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_input(r: u32, ) -> Weight {
Weight::from_ref_time(222_918_000 as u64)
// Standard Error: 48_000
.saturating_add(Weight::from_ref_time(34_848_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_input_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(280_543_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(9_599_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 1]`.
fn seal_return(r: u32, ) -> Weight {
Weight::from_ref_time(219_310_000 as u64)
// Standard Error: 303_000
.saturating_add(Weight::from_ref_time(1_187_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_return_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(221_399_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(182_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts DeletionQueue (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
/// The range of component `r` is `[0, 1]`.
fn seal_terminate(r: u32, ) -> Weight {
Weight::from_ref_time(222_285_000 as u64)
// Standard Error: 163_000
.saturating_add(Weight::from_ref_time(52_104_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((6 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
/// The range of component `r` is `[0, 20]`.
fn seal_random(r: u32, ) -> Weight {
Weight::from_ref_time(233_586_000 as u64)
// Standard Error: 90_000
.saturating_add(Weight::from_ref_time(133_209_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_deposit_event(r: u32, ) -> Weight {
Weight::from_ref_time(231_267_000 as u64)
// Standard Error: 118_000
.saturating_add(Weight::from_ref_time(232_306_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `t` is `[0, 4]`.
/// The range of component `n` is `[0, 16]`.
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
Weight::from_ref_time(438_016_000 as u64)
// Standard Error: 538_000
.saturating_add(Weight::from_ref_time(179_846_000 as u64).saturating_mul(t as u64))
// Standard Error: 147_000
.saturating_add(Weight::from_ref_time(66_893_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(t as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((80 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_debug_message(r: u32, ) -> Weight {
Weight::from_ref_time(156_730_000 as u64)
// Standard Error: 48_000
.saturating_add(Weight::from_ref_time(29_019_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_set_storage(r: u32, ) -> Weight {
Weight::from_ref_time(185_733_000 as u64)
// Standard Error: 384_000
.saturating_add(Weight::from_ref_time(427_052_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight {
Weight::from_ref_time(520_776_000 as u64)
// Standard Error: 1_346_000
.saturating_add(Weight::from_ref_time(93_389_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(52 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(50 as u64))
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight {
Weight::from_ref_time(504_262_000 as u64)
// Standard Error: 1_198_000
.saturating_add(Weight::from_ref_time(68_581_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(52 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(50 as u64))
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_clear_storage(r: u32, ) -> Weight {
Weight::from_ref_time(188_507_000 as u64)
// Standard Error: 514_000
.saturating_add(Weight::from_ref_time(416_965_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_clear_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(481_328_000 as u64)
// Standard Error: 1_304_000
.saturating_add(Weight::from_ref_time(70_798_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(51 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(49 as u64))
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_get_storage(r: u32, ) -> Weight {
Weight::from_ref_time(200_040_000 as u64)
// Standard Error: 292_000
.saturating_add(Weight::from_ref_time(341_568_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(443_969_000 as u64)
// Standard Error: 1_076_000
.saturating_add(Weight::from_ref_time(154_674_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(51 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_contains_storage(r: u32, ) -> Weight {
Weight::from_ref_time(194_849_000 as u64)
// Standard Error: 310_000
.saturating_add(Weight::from_ref_time(320_113_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_contains_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(416_712_000 as u64)
// Standard Error: 932_000
.saturating_add(Weight::from_ref_time(63_903_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(51 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_take_storage(r: u32, ) -> Weight {
Weight::from_ref_time(194_760_000 as u64)
// Standard Error: 375_000
.saturating_add(Weight::from_ref_time(438_855_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_take_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(509_485_000 as u64)
// Standard Error: 1_486_000
.saturating_add(Weight::from_ref_time(162_250_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(52 as u64))
.saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().writes(49 as u64))
.saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_transfer(r: u32, ) -> Weight {
Weight::from_ref_time(162_740_000 as u64)
// Standard Error: 691_000
.saturating_add(Weight::from_ref_time(1_338_567_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(4 as u64))
.saturating_add(T::DbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_call(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 8_018_000
.saturating_add(Weight::from_ref_time(16_181_274_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().reads((160 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((160 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_delegate_call(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 8_806_000
.saturating_add(Weight::from_ref_time(15_988_209_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads((158 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes((79 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:81 w:81)
// Storage: Contracts CodeStorage (r:2 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:82 w:82)
/// The range of component `t` is `[0, 1]`.
/// The range of component `c` is `[0, 1024]`.
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight {
Weight::from_ref_time(9_685_415_000 as u64)
// Standard Error: 6_048_000
.saturating_add(Weight::from_ref_time(1_132_315_000 as u64).saturating_mul(t as u64))
// Standard Error: 9_000
.saturating_add(Weight::from_ref_time(9_753_000 as u64).saturating_mul(c as u64))
.saturating_add(T::DbWeight::get().reads(167 as u64))
.saturating_add(T::DbWeight::get().reads((81 as u64).saturating_mul(t as u64)))
.saturating_add(T::DbWeight::get().writes(163 as u64))
.saturating_add(T::DbWeight::get().writes((81 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:80 w:80)
/// The range of component `r` is `[0, 20]`.
fn seal_instantiate(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 30_079_000
.saturating_add(Weight::from_ref_time(21_155_990_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().reads((400 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes(5 as u64))
.saturating_add(T::DbWeight::get().writes((400 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:81 w:81)
// Storage: Contracts ContractInfoOf (r:81 w:81)
// Storage: Contracts CodeStorage (r:2 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:82 w:82)
/// The range of component `t` is `[0, 1]`.
/// The range of component `s` is `[0, 960]`.
fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight {
Weight::from_ref_time(12_321_649_000 as u64)
// Standard Error: 77_000
.saturating_add(Weight::from_ref_time(125_883_000 as u64).saturating_mul(s as u64))
.saturating_add(T::DbWeight::get().reads(249 as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(t as u64)))
.saturating_add(T::DbWeight::get().writes(247 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_sha2_256(r: u32, ) -> Weight {
Weight::from_ref_time(224_020_000 as u64)
// Standard Error: 63_000
.saturating_add(Weight::from_ref_time(57_966_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(319_801_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_keccak_256(r: u32, ) -> Weight {
Weight::from_ref_time(222_308_000 as u64)
// Standard Error: 78_000
.saturating_add(Weight::from_ref_time(70_579_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 97_000
.saturating_add(Weight::from_ref_time(247_328_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_blake2_256(r: u32, ) -> Weight {
Weight::from_ref_time(221_851_000 as u64)
// Standard Error: 57_000
.saturating_add(Weight::from_ref_time(48_446_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 93_000
.saturating_add(Weight::from_ref_time(97_258_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_blake2_128(r: u32, ) -> Weight {
Weight::from_ref_time(221_346_000 as u64)
// Standard Error: 46_000
.saturating_add(Weight::from_ref_time(47_910_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 116_000
.saturating_add(Weight::from_ref_time(97_458_000 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_ecdsa_recover(r: u32, ) -> Weight {
Weight::from_ref_time(355_672_000 as u64)
// Standard Error: 678_000
.saturating_add(Weight::from_ref_time(2_970_861_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
Weight::from_ref_time(232_179_000 as u64)
// Standard Error: 463_000
.saturating_add(Weight::from_ref_time(2_059_953_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts OwnerInfoOf (r:16 w:16)
/// The range of component `r` is `[0, 20]`.
fn seal_set_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 1_725_000
.saturating_add(Weight::from_ref_time(1_107_351_000 as u64).saturating_mul(r as u64))
.saturating_add(T::DbWeight::get().reads((158 as u64).saturating_mul(r as u64)))
.saturating_add(T::DbWeight::get().writes((158 as u64).saturating_mul(r as u64)))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64const(r: u32, ) -> Weight {
Weight::from_ref_time(70_023_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(848_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64load(r: u32, ) -> Weight {
Weight::from_ref_time(70_335_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(1_761_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64store(r: u32, ) -> Weight {
Weight::from_ref_time(69_875_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_289_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_select(r: u32, ) -> Weight {
Weight::from_ref_time(71_128_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(2_288_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_if(r: u32, ) -> Weight {
Weight::from_ref_time(68_850_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_558_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br(r: u32, ) -> Weight {
Weight::from_ref_time(69_585_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_293_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br_if(r: u32, ) -> Weight {
Weight::from_ref_time(69_492_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br_table(r: u32, ) -> Weight {
Weight::from_ref_time(69_344_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_089_000 as u64).saturating_mul(r as u64))
}
/// The range of component `e` is `[1, 256]`.
fn instr_br_table_per_entry(e: u32, ) -> Weight {
Weight::from_ref_time(72_833_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(e as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_call(r: u32, ) -> Weight {
Weight::from_ref_time(70_722_000 as u64)
// Standard Error: 10_000
.saturating_add(Weight::from_ref_time(6_545_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_call_indirect(r: u32, ) -> Weight {
Weight::from_ref_time(84_465_000 as u64)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(8_307_000 as u64).saturating_mul(r as u64))
}
/// The range of component `p` is `[0, 128]`.
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
Weight::from_ref_time(93_185_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(599_000 as u64).saturating_mul(p as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_get(r: u32, ) -> Weight {
Weight::from_ref_time(70_473_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(875_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_set(r: u32, ) -> Weight {
Weight::from_ref_time(70_352_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(907_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_tee(r: u32, ) -> Weight {
Weight::from_ref_time(70_239_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_219_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_global_get(r: u32, ) -> Weight {
Weight::from_ref_time(72_049_000 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(1_543_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_global_set(r: u32, ) -> Weight {
Weight::from_ref_time(72_551_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_693_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_memory_current(r: u32, ) -> Weight {
Weight::from_ref_time(70_228_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 1]`.
fn instr_memory_grow(r: u32, ) -> Weight {
Weight::from_ref_time(70_987_000 as u64)
// Standard Error: 88_000
.saturating_add(Weight::from_ref_time(186_348_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64clz(r: u32, ) -> Weight {
Weight::from_ref_time(70_186_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_304_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ctz(r: u32, ) -> Weight {
Weight::from_ref_time(69_796_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_324_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64popcnt(r: u32, ) -> Weight {
Weight::from_ref_time(70_184_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(1_315_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64eqz(r: u32, ) -> Weight {
Weight::from_ref_time(70_059_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_316_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64extendsi32(r: u32, ) -> Weight {
Weight::from_ref_time(70_066_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_282_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64extendui32(r: u32, ) -> Weight {
Weight::from_ref_time(70_100_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_285_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i32wrapi64(r: u32, ) -> Weight {
Weight::from_ref_time(69_992_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_330_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64eq(r: u32, ) -> Weight {
Weight::from_ref_time(69_935_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_829_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ne(r: u32, ) -> Weight {
Weight::from_ref_time(70_024_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(1_820_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64lts(r: u32, ) -> Weight {
Weight::from_ref_time(69_794_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_831_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ltu(r: u32, ) -> Weight {
Weight::from_ref_time(69_997_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_817_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64gts(r: u32, ) -> Weight {
Weight::from_ref_time(70_610_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_804_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64gtu(r: u32, ) -> Weight {
Weight::from_ref_time(69_759_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_846_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64les(r: u32, ) -> Weight {
Weight::from_ref_time(70_405_000 as u64)
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(1_808_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64leu(r: u32, ) -> Weight {
Weight::from_ref_time(69_968_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_838_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ges(r: u32, ) -> Weight {
Weight::from_ref_time(69_825_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_854_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64geu(r: u32, ) -> Weight {
Weight::from_ref_time(69_973_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_822_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64add(r: u32, ) -> Weight {
Weight::from_ref_time(69_907_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_824_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64sub(r: u32, ) -> Weight {
Weight::from_ref_time(72_280_000 as u64)
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(1_756_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64mul(r: u32, ) -> Weight {
Weight::from_ref_time(69_827_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64divs(r: u32, ) -> Weight {
Weight::from_ref_time(69_995_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_461_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64divu(r: u32, ) -> Weight {
Weight::from_ref_time(69_627_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(2_453_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rems(r: u32, ) -> Weight {
Weight::from_ref_time(70_040_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(2_456_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64remu(r: u32, ) -> Weight {
Weight::from_ref_time(69_754_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_450_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64and(r: u32, ) -> Weight {
Weight::from_ref_time(69_848_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_836_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64or(r: u32, ) -> Weight {
Weight::from_ref_time(69_904_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_837_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64xor(r: u32, ) -> Weight {
Weight::from_ref_time(69_912_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_839_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shl(r: u32, ) -> Weight {
Weight::from_ref_time(69_656_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_858_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shrs(r: u32, ) -> Weight {
Weight::from_ref_time(69_927_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shru(r: u32, ) -> Weight {
Weight::from_ref_time(70_025_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rotl(r: u32, ) -> Weight {
Weight::from_ref_time(69_916_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_843_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rotr(r: u32, ) -> Weight {
Weight::from_ref_time(69_988_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_842_000 as u64).saturating_mul(r as u64))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_process_deletion_queue_batch() -> Weight {
Weight::from_ref_time(2_948_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `k` is `[0, 1024]`.
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
Weight::from_ref_time(14_858_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(k as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(k as u64)))
}
// Storage: Contracts DeletionQueue (r:1 w:0)
/// The range of component `q` is `[0, 128]`.
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
Weight::from_ref_time(14_778_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_228_000 as u64).saturating_mul(q as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Contracts PristineCode (r:1 w:0)
// Storage: Contracts CodeStorage (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
fn reinstrument(c: u32, ) -> Weight {
Weight::from_ref_time(21_622_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64))
.saturating_add(RocksDbWeight::get().reads(1 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `c` is `[0, 131072]`.
fn call_with_code_per_byte(c: u32, ) -> Weight {
Weight::from_ref_time(207_601_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:3 w:3)
// Storage: Contracts PristineCode (r:0 w:1)
// Storage: Contracts OwnerInfoOf (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate_with_code(c: u32, s: u32, ) -> Weight {
Weight::from_ref_time(287_355_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(c as u64))
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(9 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `s` is `[0, 1048576]`.
fn instantiate(s: u32, ) -> Weight {
Weight::from_ref_time(178_912_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: System EventTopics (r:2 w:2)
fn call() -> Weight {
Weight::from_ref_time(159_188_000 as u64)
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: System EventTopics (r:1 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
// Storage: Contracts OwnerInfoOf (r:0 w:1)
/// The range of component `c` is `[0, 64226]`.
fn upload_code(c: u32, ) -> Weight {
Weight::from_ref_time(52_177_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(c as u64))
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:1 w:1)
// Storage: Contracts CodeStorage (r:0 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
fn remove_code() -> Weight {
Weight::from_ref_time(37_011_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:2 w:2)
// Storage: System EventTopics (r:3 w:3)
fn set_code() -> Weight {
Weight::from_ref_time(40_206_000 as u64)
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_caller(r: u32, ) -> Weight {
Weight::from_ref_time(224_309_000 as u64)
// Standard Error: 53_000
.saturating_add(Weight::from_ref_time(36_885_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_is_contract(r: u32, ) -> Weight {
Weight::from_ref_time(166_137_000 as u64)
// Standard Error: 428_000
.saturating_add(Weight::from_ref_time(214_063_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(174_069_000 as u64)
// Standard Error: 443_000
.saturating_add(Weight::from_ref_time(272_524_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_own_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(225_577_000 as u64)
// Standard Error: 39_000
.saturating_add(Weight::from_ref_time(40_425_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_caller_is_origin(r: u32, ) -> Weight {
Weight::from_ref_time(221_162_000 as u64)
// Standard Error: 20_000
.saturating_add(Weight::from_ref_time(15_192_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_address(r: u32, ) -> Weight {
Weight::from_ref_time(224_517_000 as u64)
// Standard Error: 38_000
.saturating_add(Weight::from_ref_time(36_722_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_gas_left(r: u32, ) -> Weight {
Weight::from_ref_time(223_864_000 as u64)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(36_355_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_balance(r: u32, ) -> Weight {
Weight::from_ref_time(226_396_000 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(112_018_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_value_transferred(r: u32, ) -> Weight {
Weight::from_ref_time(222_775_000 as u64)
// Standard Error: 45_000
.saturating_add(Weight::from_ref_time(36_691_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_minimum_balance(r: u32, ) -> Weight {
Weight::from_ref_time(223_202_000 as u64)
// Standard Error: 42_000
.saturating_add(Weight::from_ref_time(36_393_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_block_number(r: u32, ) -> Weight {
Weight::from_ref_time(223_507_000 as u64)
// Standard Error: 44_000
.saturating_add(Weight::from_ref_time(36_211_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_now(r: u32, ) -> Weight {
Weight::from_ref_time(225_500_000 as u64)
// Standard Error: 58_000
.saturating_add(Weight::from_ref_time(36_290_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
/// The range of component `r` is `[0, 20]`.
fn seal_weight_to_fee(r: u32, ) -> Weight {
Weight::from_ref_time(225_310_000 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(98_714_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_gas(r: u32, ) -> Weight {
Weight::from_ref_time(149_071_000 as u64)
// Standard Error: 30_000
.saturating_add(Weight::from_ref_time(18_084_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_input(r: u32, ) -> Weight {
Weight::from_ref_time(222_918_000 as u64)
// Standard Error: 48_000
.saturating_add(Weight::from_ref_time(34_848_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_input_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(280_543_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(9_599_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 1]`.
fn seal_return(r: u32, ) -> Weight {
Weight::from_ref_time(219_310_000 as u64)
// Standard Error: 303_000
.saturating_add(Weight::from_ref_time(1_187_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_return_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(221_399_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(182_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts DeletionQueue (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
/// The range of component `r` is `[0, 1]`.
fn seal_terminate(r: u32, ) -> Weight {
Weight::from_ref_time(222_285_000 as u64)
// Standard Error: 163_000
.saturating_add(Weight::from_ref_time(52_104_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((5 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((6 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
/// The range of component `r` is `[0, 20]`.
fn seal_random(r: u32, ) -> Weight {
Weight::from_ref_time(233_586_000 as u64)
// Standard Error: 90_000
.saturating_add(Weight::from_ref_time(133_209_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_deposit_event(r: u32, ) -> Weight {
Weight::from_ref_time(231_267_000 as u64)
// Standard Error: 118_000
.saturating_add(Weight::from_ref_time(232_306_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `t` is `[0, 4]`.
/// The range of component `n` is `[0, 16]`.
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
Weight::from_ref_time(438_016_000 as u64)
// Standard Error: 538_000
.saturating_add(Weight::from_ref_time(179_846_000 as u64).saturating_mul(t as u64))
// Standard Error: 147_000
.saturating_add(Weight::from_ref_time(66_893_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(t as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((80 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_debug_message(r: u32, ) -> Weight {
Weight::from_ref_time(156_730_000 as u64)
// Standard Error: 48_000
.saturating_add(Weight::from_ref_time(29_019_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_set_storage(r: u32, ) -> Weight {
Weight::from_ref_time(185_733_000 as u64)
// Standard Error: 384_000
.saturating_add(Weight::from_ref_time(427_052_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_set_storage_per_new_kb(n: u32, ) -> Weight {
Weight::from_ref_time(520_776_000 as u64)
// Standard Error: 1_346_000
.saturating_add(Weight::from_ref_time(93_389_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(52 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(50 as u64))
.saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_set_storage_per_old_kb(n: u32, ) -> Weight {
Weight::from_ref_time(504_262_000 as u64)
// Standard Error: 1_198_000
.saturating_add(Weight::from_ref_time(68_581_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(52 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(50 as u64))
.saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_clear_storage(r: u32, ) -> Weight {
Weight::from_ref_time(188_507_000 as u64)
// Standard Error: 514_000
.saturating_add(Weight::from_ref_time(416_965_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
.saturating_add(RocksDbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_clear_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(481_328_000 as u64)
// Standard Error: 1_304_000
.saturating_add(Weight::from_ref_time(70_798_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(51 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(49 as u64))
.saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_get_storage(r: u32, ) -> Weight {
Weight::from_ref_time(200_040_000 as u64)
// Standard Error: 292_000
.saturating_add(Weight::from_ref_time(341_568_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(443_969_000 as u64)
// Standard Error: 1_076_000
.saturating_add(Weight::from_ref_time(154_674_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(51 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_contains_storage(r: u32, ) -> Weight {
Weight::from_ref_time(194_849_000 as u64)
// Standard Error: 310_000
.saturating_add(Weight::from_ref_time(320_113_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_contains_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(416_712_000 as u64)
// Standard Error: 932_000
.saturating_add(Weight::from_ref_time(63_903_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(51 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `r` is `[0, 10]`.
fn seal_take_storage(r: u32, ) -> Weight {
Weight::from_ref_time(194_760_000 as u64)
// Standard Error: 375_000
.saturating_add(Weight::from_ref_time(438_855_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
.saturating_add(RocksDbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `n` is `[0, 8]`.
fn seal_take_storage_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(509_485_000 as u64)
// Standard Error: 1_486_000
.saturating_add(Weight::from_ref_time(162_250_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(52 as u64))
.saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64)))
.saturating_add(RocksDbWeight::get().writes(49 as u64))
.saturating_add(RocksDbWeight::get().writes((7 as u64).saturating_mul(n as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_transfer(r: u32, ) -> Weight {
Weight::from_ref_time(162_740_000 as u64)
// Standard Error: 691_000
.saturating_add(Weight::from_ref_time(1_338_567_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
.saturating_add(RocksDbWeight::get().writes((80 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_call(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 8_018_000
.saturating_add(Weight::from_ref_time(16_181_274_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().reads((160 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((160 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_delegate_call(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 8_806_000
.saturating_add(Weight::from_ref_time(15_988_209_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads((158 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes((79 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:81 w:81)
// Storage: Contracts CodeStorage (r:2 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:82 w:82)
/// The range of component `t` is `[0, 1]`.
/// The range of component `c` is `[0, 1024]`.
fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight {
Weight::from_ref_time(9_685_415_000 as u64)
// Standard Error: 6_048_000
.saturating_add(Weight::from_ref_time(1_132_315_000 as u64).saturating_mul(t as u64))
// Standard Error: 9_000
.saturating_add(Weight::from_ref_time(9_753_000 as u64).saturating_mul(c as u64))
.saturating_add(RocksDbWeight::get().reads(167 as u64))
.saturating_add(RocksDbWeight::get().reads((81 as u64).saturating_mul(t as u64)))
.saturating_add(RocksDbWeight::get().writes(163 as u64))
.saturating_add(RocksDbWeight::get().writes((81 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:80 w:80)
/// The range of component `r` is `[0, 20]`.
fn seal_instantiate(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 30_079_000
.saturating_add(Weight::from_ref_time(21_155_990_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().reads((400 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes(5 as u64))
.saturating_add(RocksDbWeight::get().writes((400 as u64).saturating_mul(r as u64)))
}
// Storage: System Account (r:81 w:81)
// Storage: Contracts ContractInfoOf (r:81 w:81)
// Storage: Contracts CodeStorage (r:2 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts Nonce (r:1 w:1)
// Storage: Contracts OwnerInfoOf (r:1 w:1)
// Storage: System EventTopics (r:82 w:82)
/// The range of component `t` is `[0, 1]`.
/// The range of component `s` is `[0, 960]`.
fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight {
Weight::from_ref_time(12_321_649_000 as u64)
// Standard Error: 77_000
.saturating_add(Weight::from_ref_time(125_883_000 as u64).saturating_mul(s as u64))
.saturating_add(RocksDbWeight::get().reads(249 as u64))
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(t as u64)))
.saturating_add(RocksDbWeight::get().writes(247 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(t as u64)))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_sha2_256(r: u32, ) -> Weight {
Weight::from_ref_time(224_020_000 as u64)
// Standard Error: 63_000
.saturating_add(Weight::from_ref_time(57_966_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 86_000
.saturating_add(Weight::from_ref_time(319_801_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_keccak_256(r: u32, ) -> Weight {
Weight::from_ref_time(222_308_000 as u64)
// Standard Error: 78_000
.saturating_add(Weight::from_ref_time(70_579_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 97_000
.saturating_add(Weight::from_ref_time(247_328_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_blake2_256(r: u32, ) -> Weight {
Weight::from_ref_time(221_851_000 as u64)
// Standard Error: 57_000
.saturating_add(Weight::from_ref_time(48_446_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 93_000
.saturating_add(Weight::from_ref_time(97_258_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_hash_blake2_128(r: u32, ) -> Weight {
Weight::from_ref_time(221_346_000 as u64)
// Standard Error: 46_000
.saturating_add(Weight::from_ref_time(47_910_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `n` is `[0, 1024]`.
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 116_000
.saturating_add(Weight::from_ref_time(97_458_000 as u64).saturating_mul(n as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_ecdsa_recover(r: u32, ) -> Weight {
Weight::from_ref_time(355_672_000 as u64)
// Standard Error: 678_000
.saturating_add(Weight::from_ref_time(2_970_861_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
/// The range of component `r` is `[0, 20]`.
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
Weight::from_ref_time(232_179_000 as u64)
// Standard Error: 463_000
.saturating_add(Weight::from_ref_time(2_059_953_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
// Storage: System Account (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:2 w:2)
// Storage: Contracts OwnerInfoOf (r:16 w:16)
/// The range of component `r` is `[0, 20]`.
fn seal_set_code_hash(r: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 1_725_000
.saturating_add(Weight::from_ref_time(1_107_351_000 as u64).saturating_mul(r as u64))
.saturating_add(RocksDbWeight::get().reads((158 as u64).saturating_mul(r as u64)))
.saturating_add(RocksDbWeight::get().writes((158 as u64).saturating_mul(r as u64)))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64const(r: u32, ) -> Weight {
Weight::from_ref_time(70_023_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(848_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64load(r: u32, ) -> Weight {
Weight::from_ref_time(70_335_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(1_761_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64store(r: u32, ) -> Weight {
Weight::from_ref_time(69_875_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_289_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_select(r: u32, ) -> Weight {
Weight::from_ref_time(71_128_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(2_288_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_if(r: u32, ) -> Weight {
Weight::from_ref_time(68_850_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_558_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br(r: u32, ) -> Weight {
Weight::from_ref_time(69_585_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_293_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br_if(r: u32, ) -> Weight {
Weight::from_ref_time(69_492_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_br_table(r: u32, ) -> Weight {
Weight::from_ref_time(69_344_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_089_000 as u64).saturating_mul(r as u64))
}
/// The range of component `e` is `[1, 256]`.
fn instr_br_table_per_entry(e: u32, ) -> Weight {
Weight::from_ref_time(72_833_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(e as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_call(r: u32, ) -> Weight {
Weight::from_ref_time(70_722_000 as u64)
// Standard Error: 10_000
.saturating_add(Weight::from_ref_time(6_545_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_call_indirect(r: u32, ) -> Weight {
Weight::from_ref_time(84_465_000 as u64)
// Standard Error: 13_000
.saturating_add(Weight::from_ref_time(8_307_000 as u64).saturating_mul(r as u64))
}
/// The range of component `p` is `[0, 128]`.
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
Weight::from_ref_time(93_185_000 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(599_000 as u64).saturating_mul(p as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_get(r: u32, ) -> Weight {
Weight::from_ref_time(70_473_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(875_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_set(r: u32, ) -> Weight {
Weight::from_ref_time(70_352_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(907_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_local_tee(r: u32, ) -> Weight {
Weight::from_ref_time(70_239_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_219_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_global_get(r: u32, ) -> Weight {
Weight::from_ref_time(72_049_000 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(1_543_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_global_set(r: u32, ) -> Weight {
Weight::from_ref_time(72_551_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_693_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_memory_current(r: u32, ) -> Weight {
Weight::from_ref_time(70_228_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 1]`.
fn instr_memory_grow(r: u32, ) -> Weight {
Weight::from_ref_time(70_987_000 as u64)
// Standard Error: 88_000
.saturating_add(Weight::from_ref_time(186_348_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64clz(r: u32, ) -> Weight {
Weight::from_ref_time(70_186_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_304_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ctz(r: u32, ) -> Weight {
Weight::from_ref_time(69_796_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_324_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64popcnt(r: u32, ) -> Weight {
Weight::from_ref_time(70_184_000 as u64)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(1_315_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64eqz(r: u32, ) -> Weight {
Weight::from_ref_time(70_059_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_316_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64extendsi32(r: u32, ) -> Weight {
Weight::from_ref_time(70_066_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_282_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64extendui32(r: u32, ) -> Weight {
Weight::from_ref_time(70_100_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_285_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i32wrapi64(r: u32, ) -> Weight {
Weight::from_ref_time(69_992_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_330_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64eq(r: u32, ) -> Weight {
Weight::from_ref_time(69_935_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_829_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ne(r: u32, ) -> Weight {
Weight::from_ref_time(70_024_000 as u64)
// Standard Error: 5_000
.saturating_add(Weight::from_ref_time(1_820_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64lts(r: u32, ) -> Weight {
Weight::from_ref_time(69_794_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_831_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ltu(r: u32, ) -> Weight {
Weight::from_ref_time(69_997_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_817_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64gts(r: u32, ) -> Weight {
Weight::from_ref_time(70_610_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_804_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64gtu(r: u32, ) -> Weight {
Weight::from_ref_time(69_759_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_846_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64les(r: u32, ) -> Weight {
Weight::from_ref_time(70_405_000 as u64)
// Standard Error: 8_000
.saturating_add(Weight::from_ref_time(1_808_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64leu(r: u32, ) -> Weight {
Weight::from_ref_time(69_968_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_838_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64ges(r: u32, ) -> Weight {
Weight::from_ref_time(69_825_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_854_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64geu(r: u32, ) -> Weight {
Weight::from_ref_time(69_973_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_822_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64add(r: u32, ) -> Weight {
Weight::from_ref_time(69_907_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_824_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64sub(r: u32, ) -> Weight {
Weight::from_ref_time(72_280_000 as u64)
// Standard Error: 16_000
.saturating_add(Weight::from_ref_time(1_756_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64mul(r: u32, ) -> Weight {
Weight::from_ref_time(69_827_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64divs(r: u32, ) -> Weight {
Weight::from_ref_time(69_995_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(2_461_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64divu(r: u32, ) -> Weight {
Weight::from_ref_time(69_627_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(2_453_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rems(r: u32, ) -> Weight {
Weight::from_ref_time(70_040_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(2_456_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64remu(r: u32, ) -> Weight {
Weight::from_ref_time(69_754_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(2_450_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64and(r: u32, ) -> Weight {
Weight::from_ref_time(69_848_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_836_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64or(r: u32, ) -> Weight {
Weight::from_ref_time(69_904_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_837_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64xor(r: u32, ) -> Weight {
Weight::from_ref_time(69_912_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_839_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shl(r: u32, ) -> Weight {
Weight::from_ref_time(69_656_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_858_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shrs(r: u32, ) -> Weight {
Weight::from_ref_time(69_927_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64shru(r: u32, ) -> Weight {
Weight::from_ref_time(70_025_000 as u64)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rotl(r: u32, ) -> Weight {
Weight::from_ref_time(69_916_000 as u64)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(1_843_000 as u64).saturating_mul(r as u64))
}
/// The range of component `r` is `[0, 50]`.
fn instr_i64rotr(r: u32, ) -> Weight {
Weight::from_ref_time(69_988_000 as u64)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(1_842_000 as u64).saturating_mul(r as u64))
}
}