mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 21:57:55 +00:00
0aa79f87ca
Co-authored-by: command-bot <>
433 lines
21 KiB
Rust
Generated
433 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-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! 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
|
|
// --no-storage-info
|
|
// --no-median-slopes
|
|
// --no-min-squares
|
|
// --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)]
|
|
#![allow(missing_docs)]
|
|
|
|
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use core::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: 35_336_000 picoseconds.
|
|
Weight::from_parts(34_290_169, 4764)
|
|
// Standard Error: 1_381
|
|
.saturating_add(Weight::from_parts(76_354, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_457
|
|
.saturating_add(Weight::from_parts(81_362, 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: 38_540_000 picoseconds.
|
|
Weight::from_parts(38_893_820, 4764)
|
|
// Standard Error: 1_710
|
|
.saturating_add(Weight::from_parts(62_106, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_043
|
|
.saturating_add(Weight::from_parts(41_966, 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: 37_529_000 picoseconds.
|
|
Weight::from_parts(36_781_151, 4764)
|
|
// Standard Error: 1_490
|
|
.saturating_add(Weight::from_parts(76_322, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_652
|
|
.saturating_add(Weight::from_parts(76_914, 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: 41_217_000 picoseconds.
|
|
Weight::from_parts(40_942_515, 4764)
|
|
// Standard Error: 2_098
|
|
.saturating_add(Weight::from_parts(65_213, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_733
|
|
.saturating_add(Weight::from_parts(63_326, 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: 76_396_000 picoseconds.
|
|
Weight::from_parts(77_085_336, 4764)
|
|
// Standard Error: 2_795
|
|
.saturating_add(Weight::from_parts(88_995, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_974
|
|
.saturating_add(Weight::from_parts(135_384, 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: 77_312_000 picoseconds.
|
|
Weight::from_parts(79_600_900, 6196)
|
|
// Standard Error: 3_232
|
|
.saturating_add(Weight::from_parts(78_018, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_750
|
|
.saturating_add(Weight::from_parts(100_848, 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: 38_769_000 picoseconds.
|
|
Weight::from_parts(37_752_437, 4764)
|
|
// Standard Error: 1_415
|
|
.saturating_add(Weight::from_parts(78_398, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_614
|
|
.saturating_add(Weight::from_parts(78_922, 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_021_000 picoseconds.
|
|
Weight::from_parts(42_182_858, 4764)
|
|
// Standard Error: 1_747
|
|
.saturating_add(Weight::from_parts(83_938, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_227
|
|
.saturating_add(Weight::from_parts(84_652, 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: 35_336_000 picoseconds.
|
|
Weight::from_parts(34_290_169, 4764)
|
|
// Standard Error: 1_381
|
|
.saturating_add(Weight::from_parts(76_354, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_457
|
|
.saturating_add(Weight::from_parts(81_362, 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: 38_540_000 picoseconds.
|
|
Weight::from_parts(38_893_820, 4764)
|
|
// Standard Error: 1_710
|
|
.saturating_add(Weight::from_parts(62_106, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_043
|
|
.saturating_add(Weight::from_parts(41_966, 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: 37_529_000 picoseconds.
|
|
Weight::from_parts(36_781_151, 4764)
|
|
// Standard Error: 1_490
|
|
.saturating_add(Weight::from_parts(76_322, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_652
|
|
.saturating_add(Weight::from_parts(76_914, 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: 41_217_000 picoseconds.
|
|
Weight::from_parts(40_942_515, 4764)
|
|
// Standard Error: 2_098
|
|
.saturating_add(Weight::from_parts(65_213, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_733
|
|
.saturating_add(Weight::from_parts(63_326, 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: 76_396_000 picoseconds.
|
|
Weight::from_parts(77_085_336, 4764)
|
|
// Standard Error: 2_795
|
|
.saturating_add(Weight::from_parts(88_995, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_974
|
|
.saturating_add(Weight::from_parts(135_384, 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: 77_312_000 picoseconds.
|
|
Weight::from_parts(79_600_900, 6196)
|
|
// Standard Error: 3_232
|
|
.saturating_add(Weight::from_parts(78_018, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_750
|
|
.saturating_add(Weight::from_parts(100_848, 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: 38_769_000 picoseconds.
|
|
Weight::from_parts(37_752_437, 4764)
|
|
// Standard Error: 1_415
|
|
.saturating_add(Weight::from_parts(78_398, 0).saturating_mul(l.into()))
|
|
// Standard Error: 2_614
|
|
.saturating_add(Weight::from_parts(78_922, 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_021_000 picoseconds.
|
|
Weight::from_parts(42_182_858, 4764)
|
|
// Standard Error: 1_747
|
|
.saturating_add(Weight::from_parts(83_938, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_227
|
|
.saturating_add(Weight::from_parts(84_652, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|