pallet_vesting/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_vesting`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_vesting
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/vesting/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_vesting`.
74pub trait WeightInfo {
75 fn vest_locked(l: u32, s: u32, ) -> Weight;
76 fn vest_unlocked(l: u32, s: u32, ) -> Weight;
77 fn vest_other_locked(l: u32, s: u32, ) -> Weight;
78 fn vest_other_unlocked(l: u32, s: u32, ) -> Weight;
79 fn vested_transfer(l: u32, s: u32, ) -> Weight;
80 fn force_vested_transfer(l: u32, s: u32, ) -> Weight;
81 fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
82 fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight;
83 fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight;
84}
85
86/// Weights for `pallet_vesting` using the Substrate node and recommended hardware.
87pub struct SubstrateWeight<T>(PhantomData<T>);
88impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
89 /// Storage: `Vesting::Vesting` (r:1 w:1)
90 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
91 /// Storage: `Balances::Locks` (r:1 w:1)
92 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
93 /// Storage: `Balances::Freezes` (r:1 w:0)
94 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
95 /// The range of component `l` is `[0, 49]`.
96 /// The range of component `s` is `[1, 28]`.
97 fn vest_locked(l: u32, s: u32, ) -> Weight {
98 // Proof Size summary in bytes:
99 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
100 // Estimated: `4764`
101 // Minimum execution time: 29_108_000 picoseconds.
102 Weight::from_parts(28_662_441, 4764)
103 // Standard Error: 954
104 .saturating_add(Weight::from_parts(30_514, 0).saturating_mul(l.into()))
105 // Standard Error: 1_698
106 .saturating_add(Weight::from_parts(62_299, 0).saturating_mul(s.into()))
107 .saturating_add(T::DbWeight::get().reads(3_u64))
108 .saturating_add(T::DbWeight::get().writes(2_u64))
109 }
110 /// Storage: `Vesting::Vesting` (r:1 w:1)
111 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
112 /// Storage: `Balances::Locks` (r:1 w:1)
113 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
114 /// Storage: `Balances::Freezes` (r:1 w:0)
115 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
116 /// The range of component `l` is `[0, 49]`.
117 /// The range of component `s` is `[1, 28]`.
118 fn vest_unlocked(l: u32, s: u32, ) -> Weight {
119 // Proof Size summary in bytes:
120 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
121 // Estimated: `4764`
122 // Minimum execution time: 30_994_000 picoseconds.
123 Weight::from_parts(30_464_494, 4764)
124 // Standard Error: 1_481
125 .saturating_add(Weight::from_parts(28_285, 0).saturating_mul(l.into()))
126 // Standard Error: 2_636
127 .saturating_add(Weight::from_parts(66_703, 0).saturating_mul(s.into()))
128 .saturating_add(T::DbWeight::get().reads(3_u64))
129 .saturating_add(T::DbWeight::get().writes(2_u64))
130 }
131 /// Storage: `Vesting::Vesting` (r:1 w:1)
132 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
133 /// Storage: `Balances::Locks` (r:1 w:1)
134 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
135 /// Storage: `Balances::Freezes` (r:1 w:0)
136 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
137 /// Storage: `System::Account` (r:1 w:1)
138 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
139 /// The range of component `l` is `[0, 49]`.
140 /// The range of component `s` is `[1, 28]`.
141 fn vest_other_locked(l: u32, s: u32, ) -> Weight {
142 // Proof Size summary in bytes:
143 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
144 // Estimated: `4764`
145 // Minimum execution time: 31_696_000 picoseconds.
146 Weight::from_parts(31_191_832, 4764)
147 // Standard Error: 1_199
148 .saturating_add(Weight::from_parts(29_734, 0).saturating_mul(l.into()))
149 // Standard Error: 2_133
150 .saturating_add(Weight::from_parts(65_658, 0).saturating_mul(s.into()))
151 .saturating_add(T::DbWeight::get().reads(4_u64))
152 .saturating_add(T::DbWeight::get().writes(3_u64))
153 }
154 /// Storage: `Vesting::Vesting` (r:1 w:1)
155 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
156 /// Storage: `Balances::Locks` (r:1 w:1)
157 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
158 /// Storage: `Balances::Freezes` (r:1 w:0)
159 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
160 /// Storage: `System::Account` (r:1 w:1)
161 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
162 /// The range of component `l` is `[0, 49]`.
163 /// The range of component `s` is `[1, 28]`.
164 fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
165 // Proof Size summary in bytes:
166 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
167 // Estimated: `4764`
168 // Minimum execution time: 33_388_000 picoseconds.
169 Weight::from_parts(32_877_344, 4764)
170 // Standard Error: 1_245
171 .saturating_add(Weight::from_parts(34_308, 0).saturating_mul(l.into()))
172 // Standard Error: 2_216
173 .saturating_add(Weight::from_parts(58_989, 0).saturating_mul(s.into()))
174 .saturating_add(T::DbWeight::get().reads(4_u64))
175 .saturating_add(T::DbWeight::get().writes(3_u64))
176 }
177 /// Storage: `Vesting::Vesting` (r:1 w:1)
178 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
179 /// Storage: `System::Account` (r:1 w:1)
180 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
181 /// Storage: `Balances::Locks` (r:1 w:1)
182 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
183 /// Storage: `Balances::Freezes` (r:1 w:0)
184 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
185 /// The range of component `l` is `[0, 49]`.
186 /// The range of component `s` is `[0, 27]`.
187 fn vested_transfer(l: u32, s: u32, ) -> Weight {
188 // Proof Size summary in bytes:
189 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
190 // Estimated: `4764`
191 // Minimum execution time: 67_470_000 picoseconds.
192 Weight::from_parts(68_202_160, 4764)
193 // Standard Error: 2_799
194 .saturating_add(Weight::from_parts(48_357, 0).saturating_mul(l.into()))
195 // Standard Error: 4_979
196 .saturating_add(Weight::from_parts(102_560, 0).saturating_mul(s.into()))
197 .saturating_add(T::DbWeight::get().reads(4_u64))
198 .saturating_add(T::DbWeight::get().writes(3_u64))
199 }
200 /// Storage: `Vesting::Vesting` (r:1 w:1)
201 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
202 /// Storage: `System::Account` (r:2 w:2)
203 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
204 /// Storage: `Balances::Locks` (r:1 w:1)
205 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
206 /// Storage: `Balances::Freezes` (r:1 w:0)
207 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
208 /// The range of component `l` is `[0, 49]`.
209 /// The range of component `s` is `[0, 27]`.
210 fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
211 // Proof Size summary in bytes:
212 // Measured: `328 + l * (25 ±0) + s * (36 ±0)`
213 // Estimated: `6196`
214 // Minimum execution time: 69_510_000 picoseconds.
215 Weight::from_parts(69_862_164, 6196)
216 // Standard Error: 2_523
217 .saturating_add(Weight::from_parts(49_783, 0).saturating_mul(l.into()))
218 // Standard Error: 4_489
219 .saturating_add(Weight::from_parts(114_991, 0).saturating_mul(s.into()))
220 .saturating_add(T::DbWeight::get().reads(5_u64))
221 .saturating_add(T::DbWeight::get().writes(4_u64))
222 }
223 /// Storage: `Vesting::Vesting` (r:1 w:1)
224 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
225 /// Storage: `Balances::Locks` (r:1 w:1)
226 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
227 /// Storage: `Balances::Freezes` (r:1 w:0)
228 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
229 /// The range of component `l` is `[0, 49]`.
230 /// The range of component `s` is `[2, 28]`.
231 fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
232 // Proof Size summary in bytes:
233 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
234 // Estimated: `4764`
235 // Minimum execution time: 29_865_000 picoseconds.
236 Weight::from_parts(29_471_812, 4764)
237 // Standard Error: 1_177
238 .saturating_add(Weight::from_parts(30_158, 0).saturating_mul(l.into()))
239 // Standard Error: 2_174
240 .saturating_add(Weight::from_parts(65_109, 0).saturating_mul(s.into()))
241 .saturating_add(T::DbWeight::get().reads(3_u64))
242 .saturating_add(T::DbWeight::get().writes(2_u64))
243 }
244 /// Storage: `Vesting::Vesting` (r:1 w:1)
245 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
246 /// Storage: `Balances::Locks` (r:1 w:1)
247 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
248 /// Storage: `Balances::Freezes` (r:1 w:0)
249 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
250 /// The range of component `l` is `[0, 49]`.
251 /// The range of component `s` is `[2, 28]`.
252 fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
253 // Proof Size summary in bytes:
254 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
255 // Estimated: `4764`
256 // Minimum execution time: 32_137_000 picoseconds.
257 Weight::from_parts(31_237_719, 4764)
258 // Standard Error: 1_135
259 .saturating_add(Weight::from_parts(35_827, 0).saturating_mul(l.into()))
260 // Standard Error: 2_097
261 .saturating_add(Weight::from_parts(79_394, 0).saturating_mul(s.into()))
262 .saturating_add(T::DbWeight::get().reads(3_u64))
263 .saturating_add(T::DbWeight::get().writes(2_u64))
264 }
265 /// Storage: `Vesting::Vesting` (r:1 w:1)
266 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
267 /// Storage: `Balances::Locks` (r:1 w:1)
268 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
269 /// Storage: `Balances::Freezes` (r:1 w:0)
270 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
271 /// Storage: `System::Account` (r:1 w:1)
272 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
273 /// The range of component `l` is `[0, 49]`.
274 /// The range of component `s` is `[2, 28]`.
275 fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight {
276 // Proof Size summary in bytes:
277 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
278 // Estimated: `4764`
279 // Minimum execution time: 35_493_000 picoseconds.
280 Weight::from_parts(34_502_101, 4764)
281 // Standard Error: 1_833
282 .saturating_add(Weight::from_parts(40_786, 0).saturating_mul(l.into()))
283 // Standard Error: 3_385
284 .saturating_add(Weight::from_parts(81_931, 0).saturating_mul(s.into()))
285 .saturating_add(T::DbWeight::get().reads(4_u64))
286 .saturating_add(T::DbWeight::get().writes(3_u64))
287 }
288}
289
290// For backwards compatibility and tests.
291impl WeightInfo for () {
292 /// Storage: `Vesting::Vesting` (r:1 w:1)
293 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
294 /// Storage: `Balances::Locks` (r:1 w:1)
295 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
296 /// Storage: `Balances::Freezes` (r:1 w:0)
297 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
298 /// The range of component `l` is `[0, 49]`.
299 /// The range of component `s` is `[1, 28]`.
300 fn vest_locked(l: u32, s: u32, ) -> Weight {
301 // Proof Size summary in bytes:
302 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
303 // Estimated: `4764`
304 // Minimum execution time: 29_108_000 picoseconds.
305 Weight::from_parts(28_662_441, 4764)
306 // Standard Error: 954
307 .saturating_add(Weight::from_parts(30_514, 0).saturating_mul(l.into()))
308 // Standard Error: 1_698
309 .saturating_add(Weight::from_parts(62_299, 0).saturating_mul(s.into()))
310 .saturating_add(RocksDbWeight::get().reads(3_u64))
311 .saturating_add(RocksDbWeight::get().writes(2_u64))
312 }
313 /// Storage: `Vesting::Vesting` (r:1 w:1)
314 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
315 /// Storage: `Balances::Locks` (r:1 w:1)
316 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
317 /// Storage: `Balances::Freezes` (r:1 w:0)
318 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
319 /// The range of component `l` is `[0, 49]`.
320 /// The range of component `s` is `[1, 28]`.
321 fn vest_unlocked(l: u32, s: u32, ) -> Weight {
322 // Proof Size summary in bytes:
323 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
324 // Estimated: `4764`
325 // Minimum execution time: 30_994_000 picoseconds.
326 Weight::from_parts(30_464_494, 4764)
327 // Standard Error: 1_481
328 .saturating_add(Weight::from_parts(28_285, 0).saturating_mul(l.into()))
329 // Standard Error: 2_636
330 .saturating_add(Weight::from_parts(66_703, 0).saturating_mul(s.into()))
331 .saturating_add(RocksDbWeight::get().reads(3_u64))
332 .saturating_add(RocksDbWeight::get().writes(2_u64))
333 }
334 /// Storage: `Vesting::Vesting` (r:1 w:1)
335 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
336 /// Storage: `Balances::Locks` (r:1 w:1)
337 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
338 /// Storage: `Balances::Freezes` (r:1 w:0)
339 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
340 /// Storage: `System::Account` (r:1 w:1)
341 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
342 /// The range of component `l` is `[0, 49]`.
343 /// The range of component `s` is `[1, 28]`.
344 fn vest_other_locked(l: u32, s: u32, ) -> Weight {
345 // Proof Size summary in bytes:
346 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
347 // Estimated: `4764`
348 // Minimum execution time: 31_696_000 picoseconds.
349 Weight::from_parts(31_191_832, 4764)
350 // Standard Error: 1_199
351 .saturating_add(Weight::from_parts(29_734, 0).saturating_mul(l.into()))
352 // Standard Error: 2_133
353 .saturating_add(Weight::from_parts(65_658, 0).saturating_mul(s.into()))
354 .saturating_add(RocksDbWeight::get().reads(4_u64))
355 .saturating_add(RocksDbWeight::get().writes(3_u64))
356 }
357 /// Storage: `Vesting::Vesting` (r:1 w:1)
358 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
359 /// Storage: `Balances::Locks` (r:1 w:1)
360 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
361 /// Storage: `Balances::Freezes` (r:1 w:0)
362 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
363 /// Storage: `System::Account` (r:1 w:1)
364 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
365 /// The range of component `l` is `[0, 49]`.
366 /// The range of component `s` is `[1, 28]`.
367 fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {
368 // Proof Size summary in bytes:
369 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
370 // Estimated: `4764`
371 // Minimum execution time: 33_388_000 picoseconds.
372 Weight::from_parts(32_877_344, 4764)
373 // Standard Error: 1_245
374 .saturating_add(Weight::from_parts(34_308, 0).saturating_mul(l.into()))
375 // Standard Error: 2_216
376 .saturating_add(Weight::from_parts(58_989, 0).saturating_mul(s.into()))
377 .saturating_add(RocksDbWeight::get().reads(4_u64))
378 .saturating_add(RocksDbWeight::get().writes(3_u64))
379 }
380 /// Storage: `Vesting::Vesting` (r:1 w:1)
381 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
382 /// Storage: `System::Account` (r:1 w:1)
383 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
384 /// Storage: `Balances::Locks` (r:1 w:1)
385 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
386 /// Storage: `Balances::Freezes` (r:1 w:0)
387 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
388 /// The range of component `l` is `[0, 49]`.
389 /// The range of component `s` is `[0, 27]`.
390 fn vested_transfer(l: u32, s: u32, ) -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
393 // Estimated: `4764`
394 // Minimum execution time: 67_470_000 picoseconds.
395 Weight::from_parts(68_202_160, 4764)
396 // Standard Error: 2_799
397 .saturating_add(Weight::from_parts(48_357, 0).saturating_mul(l.into()))
398 // Standard Error: 4_979
399 .saturating_add(Weight::from_parts(102_560, 0).saturating_mul(s.into()))
400 .saturating_add(RocksDbWeight::get().reads(4_u64))
401 .saturating_add(RocksDbWeight::get().writes(3_u64))
402 }
403 /// Storage: `Vesting::Vesting` (r:1 w:1)
404 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
405 /// Storage: `System::Account` (r:2 w:2)
406 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
407 /// Storage: `Balances::Locks` (r:1 w:1)
408 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
409 /// Storage: `Balances::Freezes` (r:1 w:0)
410 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
411 /// The range of component `l` is `[0, 49]`.
412 /// The range of component `s` is `[0, 27]`.
413 fn force_vested_transfer(l: u32, s: u32, ) -> Weight {
414 // Proof Size summary in bytes:
415 // Measured: `328 + l * (25 ±0) + s * (36 ±0)`
416 // Estimated: `6196`
417 // Minimum execution time: 69_510_000 picoseconds.
418 Weight::from_parts(69_862_164, 6196)
419 // Standard Error: 2_523
420 .saturating_add(Weight::from_parts(49_783, 0).saturating_mul(l.into()))
421 // Standard Error: 4_489
422 .saturating_add(Weight::from_parts(114_991, 0).saturating_mul(s.into()))
423 .saturating_add(RocksDbWeight::get().reads(5_u64))
424 .saturating_add(RocksDbWeight::get().writes(4_u64))
425 }
426 /// Storage: `Vesting::Vesting` (r:1 w:1)
427 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
428 /// Storage: `Balances::Locks` (r:1 w:1)
429 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
430 /// Storage: `Balances::Freezes` (r:1 w:0)
431 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
432 /// The range of component `l` is `[0, 49]`.
433 /// The range of component `s` is `[2, 28]`.
434 fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
435 // Proof Size summary in bytes:
436 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
437 // Estimated: `4764`
438 // Minimum execution time: 29_865_000 picoseconds.
439 Weight::from_parts(29_471_812, 4764)
440 // Standard Error: 1_177
441 .saturating_add(Weight::from_parts(30_158, 0).saturating_mul(l.into()))
442 // Standard Error: 2_174
443 .saturating_add(Weight::from_parts(65_109, 0).saturating_mul(s.into()))
444 .saturating_add(RocksDbWeight::get().reads(3_u64))
445 .saturating_add(RocksDbWeight::get().writes(2_u64))
446 }
447 /// Storage: `Vesting::Vesting` (r:1 w:1)
448 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
449 /// Storage: `Balances::Locks` (r:1 w:1)
450 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
451 /// Storage: `Balances::Freezes` (r:1 w:0)
452 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
453 /// The range of component `l` is `[0, 49]`.
454 /// The range of component `s` is `[2, 28]`.
455 fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {
456 // Proof Size summary in bytes:
457 // Measured: `123 + l * (25 ±0) + s * (36 ±0)`
458 // Estimated: `4764`
459 // Minimum execution time: 32_137_000 picoseconds.
460 Weight::from_parts(31_237_719, 4764)
461 // Standard Error: 1_135
462 .saturating_add(Weight::from_parts(35_827, 0).saturating_mul(l.into()))
463 // Standard Error: 2_097
464 .saturating_add(Weight::from_parts(79_394, 0).saturating_mul(s.into()))
465 .saturating_add(RocksDbWeight::get().reads(3_u64))
466 .saturating_add(RocksDbWeight::get().writes(2_u64))
467 }
468 /// Storage: `Vesting::Vesting` (r:1 w:1)
469 /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
470 /// Storage: `Balances::Locks` (r:1 w:1)
471 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
472 /// Storage: `Balances::Freezes` (r:1 w:0)
473 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
474 /// Storage: `System::Account` (r:1 w:1)
475 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
476 /// The range of component `l` is `[0, 49]`.
477 /// The range of component `s` is `[2, 28]`.
478 fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight {
479 // Proof Size summary in bytes:
480 // Measured: `225 + l * (25 ±0) + s * (36 ±0)`
481 // Estimated: `4764`
482 // Minimum execution time: 35_493_000 picoseconds.
483 Weight::from_parts(34_502_101, 4764)
484 // Standard Error: 1_833
485 .saturating_add(Weight::from_parts(40_786, 0).saturating_mul(l.into()))
486 // Standard Error: 3_385
487 .saturating_add(Weight::from_parts(81_931, 0).saturating_mul(s.into()))
488 .saturating_add(RocksDbWeight::get().reads(4_u64))
489 .saturating_add(RocksDbWeight::get().writes(3_u64))
490 }
491}