mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-06 18:27:21 +00:00
ebfe00d590
* Align log Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use max instead of sum Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make comment ordering deterministic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont add Pov overhead when all is ignored Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update test pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-run weights on bm2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually use new weights Fucked up the merge for this file... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update contract weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
429 lines
21 KiB
Rust
Generated
429 lines
21 KiB
Rust
Generated
// This file is part of Substrate.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
//! Autogenerated weights for pallet_vesting
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
|
//! DATE: 2023-04-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
|
|
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
|
|
|
|
// Executed Command:
|
|
// ./target/production/substrate
|
|
// benchmark
|
|
// pallet
|
|
// --chain=dev
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --pallet=pallet_vesting
|
|
// --extrinsic=*
|
|
// --execution=wasm
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --output=./frame/vesting/src/weights.rs
|
|
// --header=./HEADER-APACHE2
|
|
// --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_vesting.
|
|
pub trait WeightInfo {
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight;
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight;
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight;
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight;
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
|
|
}
|
|
|
|
/// Weights for pallet_vesting using the Substrate node and recommended hardware.
|
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 36_182_000 picoseconds.
|
|
Weight::from_parts(35_159_830, 4764)
|
|
// Standard Error: 952
|
|
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_694
|
|
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_344_000 picoseconds.
|
|
Weight::from_parts(38_921_936, 4764)
|
|
// Standard Error: 1_283
|
|
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_283
|
|
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_461_000 picoseconds.
|
|
Weight::from_parts(38_206_465, 4764)
|
|
// Standard Error: 743
|
|
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_322
|
|
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 42_029_000 picoseconds.
|
|
Weight::from_parts(42_153_438, 4764)
|
|
// Standard Error: 1_108
|
|
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_971
|
|
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 75_223_000 picoseconds.
|
|
Weight::from_parts(76_675_778, 4764)
|
|
// Standard Error: 2_534
|
|
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_509
|
|
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:2 w:2)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `6196`
|
|
// Minimum execution time: 76_922_000 picoseconds.
|
|
Weight::from_parts(78_634_098, 6196)
|
|
// Standard Error: 2_099
|
|
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_736
|
|
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_476_000 picoseconds.
|
|
Weight::from_parts(38_261_747, 4764)
|
|
// Standard Error: 1_794
|
|
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_313
|
|
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 43_764_000 picoseconds.
|
|
Weight::from_parts(42_679_386, 4764)
|
|
// Standard Error: 1_224
|
|
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_261
|
|
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
}
|
|
|
|
// For backwards compatibility and tests
|
|
impl WeightInfo for () {
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 36_182_000 picoseconds.
|
|
Weight::from_parts(35_159_830, 4764)
|
|
// Standard Error: 952
|
|
.saturating_add(Weight::from_parts(63_309, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_694
|
|
.saturating_add(Weight::from_parts(62_244, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `381 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_344_000 picoseconds.
|
|
Weight::from_parts(38_921_936, 4764)
|
|
// Standard Error: 1_283
|
|
.saturating_add(Weight::from_parts(61_531, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_283
|
|
.saturating_add(Weight::from_parts(36_175, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_locked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_461_000 picoseconds.
|
|
Weight::from_parts(38_206_465, 4764)
|
|
// Standard Error: 743
|
|
.saturating_add(Weight::from_parts(56_973, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_322
|
|
.saturating_add(Weight::from_parts(65_059, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[1, 28]`.
|
|
fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `484 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 42_029_000 picoseconds.
|
|
Weight::from_parts(42_153_438, 4764)
|
|
// Standard Error: 1_108
|
|
.saturating_add(Weight::from_parts(50_058, 0).saturating_mul(l.into()))
|
|
// Standard Error: 1_971
|
|
.saturating_add(Weight::from_parts(32_391, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 75_223_000 picoseconds.
|
|
Weight::from_parts(76_675_778, 4764)
|
|
// Standard Error: 2_534
|
|
.saturating_add(Weight::from_parts(70_731, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_509
|
|
.saturating_add(Weight::from_parts(108_866, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:2 w:2)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[0, 27]`.
|
|
fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `658 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `6196`
|
|
// Minimum execution time: 76_922_000 picoseconds.
|
|
Weight::from_parts(78_634_098, 6196)
|
|
// Standard Error: 2_099
|
|
.saturating_add(Weight::from_parts(68_218, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_736
|
|
.saturating_add(Weight::from_parts(95_990, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 39_476_000 picoseconds.
|
|
Weight::from_parts(38_261_747, 4764)
|
|
// Standard Error: 1_794
|
|
.saturating_add(Weight::from_parts(69_639, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_313
|
|
.saturating_add(Weight::from_parts(73_202, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: Vesting Vesting (r:1 w:1)
|
|
/// Proof: Vesting Vesting (max_values: None, max_size: Some(1057), added: 3532, mode: MaxEncodedLen)
|
|
/// Storage: Balances Locks (r:1 w:1)
|
|
/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)
|
|
/// Storage: Balances Freezes (r:1 w:0)
|
|
/// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)
|
|
/// Storage: System Account (r:1 w:1)
|
|
/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
|
|
/// The range of component `l` is `[0, 49]`.
|
|
/// The range of component `s` is `[2, 28]`.
|
|
fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `482 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 43_764_000 picoseconds.
|
|
Weight::from_parts(42_679_386, 4764)
|
|
// Standard Error: 1_224
|
|
.saturating_add(Weight::from_parts(65_857, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_261
|
|
.saturating_add(Weight::from_parts(70_861, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|