mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-26 22:45:43 +00:00
318e5969c7
This PR exposes a `force_remove_vesting` through a ROOT call. See linked [issue](https://github.com/paritytech/polkadot-sdk/issues/269) --------- Co-authored-by: georgepisaltu <52418509+georgepisaltu@users.noreply.github.com> Co-authored-by: command-bot <> Co-authored-by: Dónal Murray <donal.murray@parity.io>
477 lines
24 KiB
Rust
Generated
477 lines
24 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-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `runner-vmdtonbz-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
|
|
|
|
// Executed Command:
|
|
// target/production/substrate-node
|
|
// benchmark
|
|
// pallet
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --extrinsic=*
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
|
|
// --pallet=pallet_vesting
|
|
// --chain=dev
|
|
// --header=./substrate/HEADER-APACHE2
|
|
// --output=./substrate/frame/vesting/src/weights.rs
|
|
// --template=./substrate/.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;
|
|
fn force_remove_vesting_schedule(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(67), added: 2542, 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: 32_846_000 picoseconds.
|
|
Weight::from_parts(30_974_459, 4764)
|
|
// Standard Error: 1_755
|
|
.saturating_add(Weight::from_parts(73_138, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_123
|
|
.saturating_add(Weight::from_parts(82_417, 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(67), added: 2542, 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: 34_360_000 picoseconds.
|
|
Weight::from_parts(34_964_080, 4764)
|
|
// Standard Error: 1_996
|
|
.saturating_add(Weight::from_parts(48_024, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_552
|
|
.saturating_add(Weight::from_parts(34_411, 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(67), added: 2542, 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: 33_859_000 picoseconds.
|
|
Weight::from_parts(32_950_681, 4764)
|
|
// Standard Error: 1_745
|
|
.saturating_add(Weight::from_parts(69_323, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_105
|
|
.saturating_add(Weight::from_parts(86_370, 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(67), added: 2542, 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: 36_239_000 picoseconds.
|
|
Weight::from_parts(36_459_756, 4764)
|
|
// Standard Error: 2_051
|
|
.saturating_add(Weight::from_parts(56_670, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_650
|
|
.saturating_add(Weight::from_parts(49_663, 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(67), added: 2542, 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: 70_330_000 picoseconds.
|
|
Weight::from_parts(71_196_328, 4764)
|
|
// Standard Error: 2_923
|
|
.saturating_add(Weight::from_parts(67_238, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_201
|
|
.saturating_add(Weight::from_parts(89_102, 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(67), added: 2542, 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: 70_235_000 picoseconds.
|
|
Weight::from_parts(71_960_020, 6196)
|
|
// Standard Error: 2_493
|
|
.saturating_add(Weight::from_parts(64_835, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_436
|
|
.saturating_add(Weight::from_parts(102_159, 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(67), added: 2542, 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: 34_352_000 picoseconds.
|
|
Weight::from_parts(33_697_027, 4764)
|
|
// Standard Error: 2_008
|
|
.saturating_add(Weight::from_parts(79_270, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_710
|
|
.saturating_add(Weight::from_parts(60_691, 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(67), added: 2542, 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: 37_467_000 picoseconds.
|
|
Weight::from_parts(36_866_847, 4764)
|
|
// Standard Error: 1_692
|
|
.saturating_add(Weight::from_parts(57_882, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_124
|
|
.saturating_add(Weight::from_parts(80_266, 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(67), added: 2542, 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 force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 41_497_000 picoseconds.
|
|
Weight::from_parts(38_763_834, 4764)
|
|
// Standard Error: 2_030
|
|
.saturating_add(Weight::from_parts(99_580, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_750
|
|
.saturating_add(Weight::from_parts(132_188, 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(67), added: 2542, 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: 32_846_000 picoseconds.
|
|
Weight::from_parts(30_974_459, 4764)
|
|
// Standard Error: 1_755
|
|
.saturating_add(Weight::from_parts(73_138, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_123
|
|
.saturating_add(Weight::from_parts(82_417, 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(67), added: 2542, 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: 34_360_000 picoseconds.
|
|
Weight::from_parts(34_964_080, 4764)
|
|
// Standard Error: 1_996
|
|
.saturating_add(Weight::from_parts(48_024, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_552
|
|
.saturating_add(Weight::from_parts(34_411, 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(67), added: 2542, 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: 33_859_000 picoseconds.
|
|
Weight::from_parts(32_950_681, 4764)
|
|
// Standard Error: 1_745
|
|
.saturating_add(Weight::from_parts(69_323, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_105
|
|
.saturating_add(Weight::from_parts(86_370, 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(67), added: 2542, 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: 36_239_000 picoseconds.
|
|
Weight::from_parts(36_459_756, 4764)
|
|
// Standard Error: 2_051
|
|
.saturating_add(Weight::from_parts(56_670, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_650
|
|
.saturating_add(Weight::from_parts(49_663, 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(67), added: 2542, 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: 70_330_000 picoseconds.
|
|
Weight::from_parts(71_196_328, 4764)
|
|
// Standard Error: 2_923
|
|
.saturating_add(Weight::from_parts(67_238, 0).saturating_mul(l.into()))
|
|
// Standard Error: 5_201
|
|
.saturating_add(Weight::from_parts(89_102, 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(67), added: 2542, 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: 70_235_000 picoseconds.
|
|
Weight::from_parts(71_960_020, 6196)
|
|
// Standard Error: 2_493
|
|
.saturating_add(Weight::from_parts(64_835, 0).saturating_mul(l.into()))
|
|
// Standard Error: 4_436
|
|
.saturating_add(Weight::from_parts(102_159, 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(67), added: 2542, 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: 34_352_000 picoseconds.
|
|
Weight::from_parts(33_697_027, 4764)
|
|
// Standard Error: 2_008
|
|
.saturating_add(Weight::from_parts(79_270, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_710
|
|
.saturating_add(Weight::from_parts(60_691, 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(67), added: 2542, 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: 37_467_000 picoseconds.
|
|
Weight::from_parts(36_866_847, 4764)
|
|
// Standard Error: 1_692
|
|
.saturating_add(Weight::from_parts(57_882, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_124
|
|
.saturating_add(Weight::from_parts(80_266, 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(67), added: 2542, 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 force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `555 + l * (25 ±0) + s * (36 ±0)`
|
|
// Estimated: `4764`
|
|
// Minimum execution time: 41_497_000 picoseconds.
|
|
Weight::from_parts(38_763_834, 4764)
|
|
// Standard Error: 2_030
|
|
.saturating_add(Weight::from_parts(99_580, 0).saturating_mul(l.into()))
|
|
// Standard Error: 3_750
|
|
.saturating_add(Weight::from_parts(132_188, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
}
|