1
// Copyright 2025 Moonbeam foundation
2
// This file is part of Moonbeam.
3

            
4
// Moonbeam is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8

            
9
// Moonbeam is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13

            
14
// You should have received a copy of the GNU General Public License
15
// along with Moonbeam.  If not, see <http://www.gnu.org/licenses/>.
16

            
17
//! Autogenerated weights for `pallet_parachain_staking`
18
//!
19
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 46.1.0
20
//! DATE: 2025-06-19, STEPS: `5`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
//! WORST CASE MAP SIZE: `1000000`
22
//! HOSTNAME: `Michaels-MacBook-Pro-2.local`, CPU: `<UNKNOWN>`
23
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
24

            
25
// Executed Command:
26
// ./target/release/moonbeam
27
// benchmark
28
// pallet
29
// --runtime=./target/release/wbuild/moonbase-runtime/moonbase_runtime.wasm
30
// --genesis-builder=runtime
31
// --genesis-builder-preset=development
32
// --steps=5
33
// --repeat=5
34
// --pallet=pallet-parachain-staking
35
// --extrinsic=
36
// --wasm-execution=compiled
37
// --header=./file_header.txt
38
// --template=../polkadot-sdk/substrate/.maintain/frame-weight-template.hbs
39
// --output=./pallets/parachain-staking/src/weights.rs
40

            
41
#![cfg_attr(rustfmt, rustfmt_skip)]
42
#![allow(unused_parens)]
43
#![allow(unused_imports)]
44
#![allow(missing_docs)]
45

            
46
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
47
use core::marker::PhantomData;
48

            
49
/// Weight functions needed for `pallet_parachain_staking`.
50
pub trait WeightInfo {
51
	fn set_staking_expectations() -> Weight;
52
	fn set_inflation() -> Weight;
53
	fn set_inflation_distribution_config() -> Weight;
54
	fn set_total_selected() -> Weight;
55
	fn set_collator_commission() -> Weight;
56
	fn set_blocks_per_round() -> Weight;
57
	fn join_candidates(x: u32, ) -> Weight;
58
	fn schedule_leave_candidates(x: u32, ) -> Weight;
59
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight;
60
	fn execute_leave_candidates_ideal(x: u32, y: u32, ) -> Weight;
61
	fn cancel_leave_candidates(x: u32, ) -> Weight;
62
	fn go_offline(x: u32, ) -> Weight;
63
	fn go_online(x: u32, ) -> Weight;
64
	fn candidate_bond_more(x: u32, ) -> Weight;
65
	fn schedule_candidate_bond_less() -> Weight;
66
	fn execute_candidate_bond_less(x: u32, ) -> Weight;
67
	fn cancel_candidate_bond_less() -> Weight;
68
	fn schedule_revoke_delegation(x: u32, ) -> Weight;
69
	fn delegator_bond_more(x: u32, ) -> Weight;
70
	fn schedule_delegator_bond_less(x: u32, ) -> Weight;
71
	fn execute_delegator_revoke_delegation_worst() -> Weight;
72
	fn execute_delegator_bond_less_worst() -> Weight;
73
	fn cancel_delegation_request(x: u32, ) -> Weight;
74
	fn prepare_staking_payouts() -> Weight;
75
	fn get_rewardable_delegators(y: u32, ) -> Weight;
76
	fn select_top_candidates(x: u32, y: u32, ) -> Weight;
77
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight;
78
	fn pay_one_collator_reward(y: u32, ) -> Weight;
79
	fn base_on_initialize() -> Weight;
80
	fn set_auto_compound(x: u32, y: u32, ) -> Weight;
81
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight;
82
	fn delegate_with_auto_compound_worst() -> Weight;
83
	fn mint_collator_reward() -> Weight;
84
	fn notify_inactive_collator() -> Weight;
85
	fn mark_collators_as_inactive(x: u32, ) -> Weight;
86
}
87

            
88
/// Weights for `pallet_parachain_staking` using the Substrate node and recommended hardware.
89
pub struct SubstrateWeight<T>(PhantomData<T>);
90
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
91
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
92
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
93
	fn set_staking_expectations() -> Weight {
94
		// Proof Size summary in bytes:
95
		//  Measured:  `88`
96
		//  Estimated: `1573`
97
		// Minimum execution time: 8_000_000 picoseconds.
98
		Weight::from_parts(10_000_000, 1573)
99
			.saturating_add(T::DbWeight::get().reads(1_u64))
100
			.saturating_add(T::DbWeight::get().writes(1_u64))
101
	}
102
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
103
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
104
	fn set_inflation() -> Weight {
105
		// Proof Size summary in bytes:
106
		//  Measured:  `88`
107
		//  Estimated: `1573`
108
		// Minimum execution time: 25_000_000 picoseconds.
109
		Weight::from_parts(27_000_000, 1573)
110
			.saturating_add(T::DbWeight::get().reads(1_u64))
111
			.saturating_add(T::DbWeight::get().writes(1_u64))
112
	}
113
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
114
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115
	fn set_inflation_distribution_config() -> Weight {
116
		// Proof Size summary in bytes:
117
		//  Measured:  `30`
118
		//  Estimated: `1515`
119
		// Minimum execution time: 7_000_000 picoseconds.
120
		Weight::from_parts(7_000_000, 1515)
121
			.saturating_add(T::DbWeight::get().reads(1_u64))
122
			.saturating_add(T::DbWeight::get().writes(1_u64))
123
	}
124
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
125
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
126
	fn set_total_selected() -> Weight {
127
		// Proof Size summary in bytes:
128
		//  Measured:  `28`
129
		//  Estimated: `1513`
130
		// Minimum execution time: 8_000_000 picoseconds.
131
		Weight::from_parts(8_000_000, 1513)
132
			.saturating_add(T::DbWeight::get().reads(1_u64))
133
			.saturating_add(T::DbWeight::get().writes(1_u64))
134
	}
135
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
136
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
137
	fn set_collator_commission() -> Weight {
138
		// Proof Size summary in bytes:
139
		//  Measured:  `27`
140
		//  Estimated: `1512`
141
		// Minimum execution time: 7_000_000 picoseconds.
142
		Weight::from_parts(8_000_000, 1512)
143
			.saturating_add(T::DbWeight::get().reads(1_u64))
144
			.saturating_add(T::DbWeight::get().writes(1_u64))
145
	}
146
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
147
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
148
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
149
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
150
	fn set_blocks_per_round() -> Weight {
151
		// Proof Size summary in bytes:
152
		//  Measured:  `116`
153
		//  Estimated: `1601`
154
		// Minimum execution time: 29_000_000 picoseconds.
155
		Weight::from_parts(29_000_000, 1601)
156
			.saturating_add(T::DbWeight::get().reads(2_u64))
157
			.saturating_add(T::DbWeight::get().writes(1_u64))
158
	}
159
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
160
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
161
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
162
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
163
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
164
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
165
	/// Storage: `System::Account` (r:1 w:1)
166
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
167
	/// Storage: `Balances::Freezes` (r:1 w:1)
168
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
169
	/// Storage: `Balances::Locks` (r:1 w:0)
170
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
171
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
172
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
173
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
174
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
175
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
176
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
177
	/// The range of component `x` is `[3, 200]`.
178
	fn join_candidates(x: u32, ) -> Weight {
179
		// Proof Size summary in bytes:
180
		//  Measured:  `1406 + x * (38 ±0)`
181
		//  Estimated: `4752 + x * (43 ±1)`
182
		// Minimum execution time: 57_000_000 picoseconds.
183
		Weight::from_parts(62_371_559, 4752)
184
			// Standard Error: 37_712
185
			.saturating_add(Weight::from_parts(123_469, 0).saturating_mul(x.into()))
186
			.saturating_add(T::DbWeight::get().reads(8_u64))
187
			.saturating_add(T::DbWeight::get().writes(7_u64))
188
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
189
	}
190
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
191
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
192
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
193
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
194
	/// The range of component `x` is `[3, 200]`.
195
	fn schedule_leave_candidates(x: u32, ) -> Weight {
196
		// Proof Size summary in bytes:
197
		//  Measured:  `659 + x * (37 ±0)`
198
		//  Estimated: `3867 + x * (39 ±0)`
199
		// Minimum execution time: 16_000_000 picoseconds.
200
		Weight::from_parts(19_575_089, 3867)
201
			// Standard Error: 13_668
202
			.saturating_add(Weight::from_parts(105_647, 0).saturating_mul(x.into()))
203
			.saturating_add(T::DbWeight::get().reads(2_u64))
204
			.saturating_add(T::DbWeight::get().writes(2_u64))
205
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
206
	}
207
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
208
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
209
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
210
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
211
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
212
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
213
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
214
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
215
	/// Storage: `Balances::Freezes` (r:350 w:350)
216
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
217
	/// Storage: `System::Account` (r:350 w:350)
218
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
219
	/// Storage: `Balances::Locks` (r:350 w:1)
220
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
221
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
222
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
223
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
224
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
225
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
226
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
227
	/// The range of component `x` is `[2, 350]`.
228
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
229
		// Proof Size summary in bytes:
230
		//  Measured:  `1169 + x * (456 ±0)`
231
		//  Estimated: `4830 + x * (3762 ±3)`
232
		// Minimum execution time: 137_000_000 picoseconds.
233
		Weight::from_parts(137_000_000, 4830)
234
			// Standard Error: 632_958
235
			.saturating_add(Weight::from_parts(42_365_414, 0).saturating_mul(x.into()))
236
			.saturating_add(T::DbWeight::get().reads(4_u64))
237
			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(x.into())))
238
			.saturating_add(T::DbWeight::get().writes(6_u64))
239
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
240
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
241
	}
242
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
243
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
244
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
245
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
246
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
247
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
248
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
249
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
250
	/// Storage: `Balances::Freezes` (r:350 w:350)
251
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
252
	/// Storage: `System::Account` (r:350 w:350)
253
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
254
	/// Storage: `Balances::Locks` (r:350 w:1)
255
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
256
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
257
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
258
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
259
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
260
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
261
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
262
	/// The range of component `x` is `[2, 350]`.
263
	/// The range of component `y` is `[2, 350]`.
264
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
265
		// Proof Size summary in bytes:
266
		//  Measured:  `1169 + x * (456 ±0)`
267
		//  Estimated: `4830 + x * (3762 ±0)`
268
		// Minimum execution time: 111_000_000 picoseconds.
269
		Weight::from_parts(149_062_452, 4830)
270
			// Standard Error: 616_234
271
			.saturating_add(Weight::from_parts(43_983_652, 0).saturating_mul(x.into()))
272
			.saturating_add(T::DbWeight::get().reads(4_u64))
273
			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(x.into())))
274
			.saturating_add(T::DbWeight::get().writes(6_u64))
275
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
276
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
277
	}
278
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
279
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
280
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
281
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282
	/// The range of component `x` is `[3, 200]`.
283
	fn cancel_leave_candidates(x: u32, ) -> Weight {
284
		// Proof Size summary in bytes:
285
		//  Measured:  `627 + x * (37 ±0)`
286
		//  Estimated: `3835 + x * (39 ±0)`
287
		// Minimum execution time: 15_000_000 picoseconds.
288
		Weight::from_parts(17_412_225, 3835)
289
			// Standard Error: 9_403
290
			.saturating_add(Weight::from_parts(92_764, 0).saturating_mul(x.into()))
291
			.saturating_add(T::DbWeight::get().reads(2_u64))
292
			.saturating_add(T::DbWeight::get().writes(2_u64))
293
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
294
	}
295
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
296
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
297
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
298
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
299
	/// The range of component `x` is `[1, 200]`.
300
	fn go_offline(x: u32, ) -> Weight {
301
		// Proof Size summary in bytes:
302
		//  Measured:  `562 + x * (38 ±0)`
303
		//  Estimated: `3828 + x * (39 ±0)`
304
		// Minimum execution time: 15_000_000 picoseconds.
305
		Weight::from_parts(17_962_310, 3828)
306
			// Standard Error: 10_178
307
			.saturating_add(Weight::from_parts(80_881, 0).saturating_mul(x.into()))
308
			.saturating_add(T::DbWeight::get().reads(2_u64))
309
			.saturating_add(T::DbWeight::get().writes(2_u64))
310
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
311
	}
312
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
313
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
314
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
315
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
316
	/// The range of component `x` is `[1, 200]`.
317
	fn go_online(x: u32, ) -> Weight {
318
		// Proof Size summary in bytes:
319
		//  Measured:  `526 + x * (38 ±0)`
320
		//  Estimated: `3791 + x * (39 ±0)`
321
		// Minimum execution time: 14_000_000 picoseconds.
322
		Weight::from_parts(17_749_962, 3791)
323
			// Standard Error: 12_623
324
			.saturating_add(Weight::from_parts(88_989, 0).saturating_mul(x.into()))
325
			.saturating_add(T::DbWeight::get().reads(2_u64))
326
			.saturating_add(T::DbWeight::get().writes(2_u64))
327
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
328
	}
329
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
330
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
331
	/// Storage: `System::Account` (r:1 w:1)
332
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
333
	/// Storage: `Balances::Locks` (r:1 w:1)
334
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
335
	/// Storage: `Balances::Freezes` (r:1 w:1)
336
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
337
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
338
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
339
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
340
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
341
	/// The range of component `x` is `[1, 200]`.
342
	fn candidate_bond_more(x: u32, ) -> Weight {
343
		// Proof Size summary in bytes:
344
		//  Measured:  `932 + x * (44 ±0)`
345
		//  Estimated: `4752 + x * (45 ±1)`
346
		// Minimum execution time: 82_000_000 picoseconds.
347
		Weight::from_parts(87_570_121, 4752)
348
			// Standard Error: 22_771
349
			.saturating_add(Weight::from_parts(80_803, 0).saturating_mul(x.into()))
350
			.saturating_add(T::DbWeight::get().reads(7_u64))
351
			.saturating_add(T::DbWeight::get().writes(7_u64))
352
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
353
	}
354
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
355
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
356
	fn schedule_candidate_bond_less() -> Weight {
357
		// Proof Size summary in bytes:
358
		//  Measured:  `171`
359
		//  Estimated: `3636`
360
		// Minimum execution time: 12_000_000 picoseconds.
361
		Weight::from_parts(13_000_000, 3636)
362
			.saturating_add(T::DbWeight::get().reads(1_u64))
363
			.saturating_add(T::DbWeight::get().writes(1_u64))
364
	}
365
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
366
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
367
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
368
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
369
	/// Storage: `Balances::Locks` (r:1 w:1)
370
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
371
	/// Storage: `Balances::Freezes` (r:1 w:1)
372
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
373
	/// Storage: `System::Account` (r:1 w:1)
374
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
375
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
376
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
377
	/// The range of component `x` is `[1, 200]`.
378
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
379
		// Proof Size summary in bytes:
380
		//  Measured:  `1091 + x * (43 ±0)`
381
		//  Estimated: `4752 + x * (45 ±1)`
382
		// Minimum execution time: 87_000_000 picoseconds.
383
		Weight::from_parts(116_267_098, 4752)
384
			.saturating_add(T::DbWeight::get().reads(7_u64))
385
			.saturating_add(T::DbWeight::get().writes(7_u64))
386
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
387
	}
388
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
389
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
390
	fn cancel_candidate_bond_less() -> Weight {
391
		// Proof Size summary in bytes:
392
		//  Measured:  `191`
393
		//  Estimated: `3656`
394
		// Minimum execution time: 12_000_000 picoseconds.
395
		Weight::from_parts(12_000_000, 3656)
396
			.saturating_add(T::DbWeight::get().reads(1_u64))
397
			.saturating_add(T::DbWeight::get().writes(1_u64))
398
	}
399
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
400
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
401
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
402
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
403
	/// The range of component `x` is `[0, 349]`.
404
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
405
		// Proof Size summary in bytes:
406
		//  Measured:  `233 + x * (43 ±0)`
407
		//  Estimated: `3832 + x * (44 ±0)`
408
		// Minimum execution time: 14_000_000 picoseconds.
409
		Weight::from_parts(19_302_147, 3832)
410
			// Standard Error: 13_114
411
			.saturating_add(Weight::from_parts(108_100, 0).saturating_mul(x.into()))
412
			.saturating_add(T::DbWeight::get().reads(2_u64))
413
			.saturating_add(T::DbWeight::get().writes(2_u64))
414
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
415
	}
416
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
417
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
418
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
419
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
420
	/// Storage: `System::Account` (r:1 w:1)
421
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
422
	/// Storage: `Balances::Locks` (r:1 w:1)
423
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
424
	/// Storage: `Balances::Freezes` (r:1 w:1)
425
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
426
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
427
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
428
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
429
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
430
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
431
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
432
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
433
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
434
	/// The range of component `x` is `[0, 349]`.
435
	fn delegator_bond_more(x: u32, ) -> Weight {
436
		// Proof Size summary in bytes:
437
		//  Measured:  `2205 + x * (78 ±0)`
438
		//  Estimated: `5197 + x * (78 ±1)`
439
		// Minimum execution time: 91_000_000 picoseconds.
440
		Weight::from_parts(99_039_136, 5197)
441
			// Standard Error: 19_700
442
			.saturating_add(Weight::from_parts(165_867, 0).saturating_mul(x.into()))
443
			.saturating_add(T::DbWeight::get().reads(10_u64))
444
			.saturating_add(T::DbWeight::get().writes(9_u64))
445
			.saturating_add(Weight::from_parts(0, 78).saturating_mul(x.into()))
446
	}
447
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
448
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
449
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
450
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
451
	/// The range of component `x` is `[0, 349]`.
452
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
453
		// Proof Size summary in bytes:
454
		//  Measured:  `233 + x * (43 ±0)`
455
		//  Estimated: `3832 + x * (44 ±0)`
456
		// Minimum execution time: 14_000_000 picoseconds.
457
		Weight::from_parts(19_757_281, 3832)
458
			// Standard Error: 9_837
459
			.saturating_add(Weight::from_parts(107_019, 0).saturating_mul(x.into()))
460
			.saturating_add(T::DbWeight::get().reads(2_u64))
461
			.saturating_add(T::DbWeight::get().writes(2_u64))
462
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
463
	}
464
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
465
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
466
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
467
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
468
	/// Storage: `Balances::Locks` (r:1 w:1)
469
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
470
	/// Storage: `Balances::Freezes` (r:1 w:1)
471
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
472
	/// Storage: `System::Account` (r:1 w:1)
473
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
474
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
475
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
476
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
477
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
478
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
479
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
480
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
481
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
482
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
483
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
484
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
485
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
486
	fn execute_delegator_revoke_delegation_worst() -> Weight {
487
		// Proof Size summary in bytes:
488
		//  Measured:  `37373`
489
		//  Estimated: `40838`
490
		// Minimum execution time: 136_000_000 picoseconds.
491
		Weight::from_parts(149_000_000, 40838)
492
			.saturating_add(T::DbWeight::get().reads(11_u64))
493
			.saturating_add(T::DbWeight::get().writes(11_u64))
494
	}
495
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
496
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
497
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
498
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
499
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
500
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
501
	/// Storage: `Balances::Locks` (r:1 w:1)
502
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
503
	/// Storage: `Balances::Freezes` (r:1 w:1)
504
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
505
	/// Storage: `System::Account` (r:1 w:1)
506
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
507
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
508
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
509
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
510
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
511
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
512
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
513
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
514
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
515
	fn execute_delegator_bond_less_worst() -> Weight {
516
		// Proof Size summary in bytes:
517
		//  Measured:  `29995`
518
		//  Estimated: `33460`
519
		// Minimum execution time: 147_000_000 picoseconds.
520
		Weight::from_parts(164_000_000, 33460)
521
			.saturating_add(T::DbWeight::get().reads(11_u64))
522
			.saturating_add(T::DbWeight::get().writes(11_u64))
523
	}
524
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
525
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
526
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
527
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
528
	/// The range of component `x` is `[0, 349]`.
529
	fn cancel_delegation_request(x: u32, ) -> Weight {
530
		// Proof Size summary in bytes:
531
		//  Measured:  `528 + x * (42 ±0)`
532
		//  Estimated: `3947 + x * (43 ±0)`
533
		// Minimum execution time: 26_000_000 picoseconds.
534
		Weight::from_parts(34_815_644, 3947)
535
			// Standard Error: 13_381
536
			.saturating_add(Weight::from_parts(57_315, 0).saturating_mul(x.into()))
537
			.saturating_add(T::DbWeight::get().reads(2_u64))
538
			.saturating_add(T::DbWeight::get().writes(2_u64))
539
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
540
	}
541
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
542
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
543
1
	fn prepare_staking_payouts() -> Weight {
544
1
		// Proof Size summary in bytes:
545
1
		//  Measured:  `3`
546
1
		//  Estimated: `3468`
547
1
		// Minimum execution time: 2_000_000 picoseconds.
548
1
		Weight::from_parts(3_000_000, 3468)
549
1
			.saturating_add(T::DbWeight::get().reads(1_u64))
550
1
	}
551
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
552
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
553
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:0)
554
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
555
	/// The range of component `y` is `[0, 100]`.
556
	fn get_rewardable_delegators(y: u32, ) -> Weight {
557
		// Proof Size summary in bytes:
558
		//  Measured:  `88 + y * (36 ±0)`
559
		//  Estimated: `3553 + y * (36 ±0)`
560
		// Minimum execution time: 6_000_000 picoseconds.
561
		Weight::from_parts(7_133_333, 3553)
562
			// Standard Error: 5_951
563
			.saturating_add(Weight::from_parts(36_000, 0).saturating_mul(y.into()))
564
			.saturating_add(T::DbWeight::get().reads(2_u64))
565
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
566
	}
567
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
568
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
569
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:0)
570
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
571
	/// Storage: `ParachainStaking::CandidateInfo` (r:51 w:0)
572
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
573
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:51 w:0)
574
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
575
	/// Storage: `ParachainStaking::TopDelegations` (r:51 w:0)
576
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
577
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:51 w:0)
578
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
579
	/// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1)
580
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
581
	/// Storage: `ParachainStaking::AtStake` (r:0 w:51)
582
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
583
	/// The range of component `x` is `[0, 50]`.
584
	/// The range of component `y` is `[0, 100]`.
585
1
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
586
1
		// Proof Size summary in bytes:
587
1
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
588
1
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
589
1
		// Minimum execution time: 19_000_000 picoseconds.
590
1
		Weight::from_parts(20_000_000, 3710)
591
1
			// Standard Error: 507_202
592
1
			.saturating_add(Weight::from_parts(16_073_459, 0).saturating_mul(x.into()))
593
1
			// Standard Error: 253_235
594
1
			.saturating_add(Weight::from_parts(1_074_727, 0).saturating_mul(y.into()))
595
1
			.saturating_add(T::DbWeight::get().reads(6_u64))
596
1
			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into())))
597
1
			.saturating_add(T::DbWeight::get().writes(2_u64))
598
1
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
599
1
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
600
1
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
601
1
	}
602
	/// Storage: `System::Account` (r:349 w:349)
603
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
604
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
605
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
606
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
607
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
608
	/// Storage: `Balances::Locks` (r:349 w:349)
609
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
610
	/// Storage: `Balances::Freezes` (r:349 w:349)
611
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
612
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
613
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
614
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
615
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
616
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
617
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
618
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
619
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
620
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
621
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
622
	/// The range of component `x` is `[0, 349]`.
623
	/// The range of component `y` is `[0, 349]`.
624
	/// The range of component `z` is `[0, 349]`.
625
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight {
626
		// Proof Size summary in bytes:
627
		//  Measured:  `0 + x * (389 ±0) + y * (144 ±0) + z * (41 ±0)`
628
		//  Estimated: `328284 + x * (2591 ±265) + y * (1733 ±265) + z * (41 ±0)`
629
		// Minimum execution time: 0_000 picoseconds.
630
		Weight::from_parts(0, 328284)
631
			// Standard Error: 5_334_461
632
			.saturating_add(Weight::from_parts(76_561_571, 0).saturating_mul(x.into()))
633
			// Standard Error: 5_334_461
634
			.saturating_add(Weight::from_parts(50_346_827, 0).saturating_mul(y.into()))
635
			.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into())))
636
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(y.into())))
637
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
638
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(y.into())))
639
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
640
			.saturating_add(Weight::from_parts(0, 1733).saturating_mul(y.into()))
641
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(z.into()))
642
	}
643
	/// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0)
644
	/// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`)
645
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
646
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
647
	/// Storage: `ParachainStaking::AtStake` (r:2 w:1)
648
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
649
	/// Storage: `ParachainStaking::AwardedPts` (r:1 w:1)
650
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
651
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
652
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
653
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
654
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
655
	/// Storage: `System::Account` (r:301 w:301)
656
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
657
	/// The range of component `y` is `[0, 300]`.
658
	fn pay_one_collator_reward(y: u32, ) -> Weight {
659
		// Proof Size summary in bytes:
660
		//  Measured:  `1430 + y * (162 ±0)`
661
		//  Estimated: `6996 + y * (2591 ±0)`
662
		// Minimum execution time: 53_000_000 picoseconds.
663
		Weight::from_parts(69_200_000, 6996)
664
			// Standard Error: 254_782
665
			.saturating_add(Weight::from_parts(22_444_888, 0).saturating_mul(y.into()))
666
			.saturating_add(T::DbWeight::get().reads(8_u64))
667
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
668
			.saturating_add(T::DbWeight::get().writes(3_u64))
669
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into())))
670
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
671
	}
672
1
	fn base_on_initialize() -> Weight {
673
1
		// Proof Size summary in bytes:
674
1
		//  Measured:  `0`
675
1
		//  Estimated: `0`
676
1
		// Minimum execution time: 1_000_000 picoseconds.
677
1
		Weight::from_parts(1_000_000, 0)
678
1
	}
679
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
680
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
681
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
682
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
683
	/// The range of component `x` is `[0, 300]`.
684
	/// The range of component `y` is `[0, 100]`.
685
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
686
		// Proof Size summary in bytes:
687
		//  Measured:  `427 + x * (23 ±0) + y * (36 ±0)`
688
		//  Estimated: `3802 + x * (24 ±0) + y * (36 ±0)`
689
		// Minimum execution time: 16_000_000 picoseconds.
690
		Weight::from_parts(19_300_000, 3802)
691
			// Standard Error: 11_639
692
			.saturating_add(Weight::from_parts(71_555, 0).saturating_mul(x.into()))
693
			// Standard Error: 34_918
694
			.saturating_add(Weight::from_parts(58_666, 0).saturating_mul(y.into()))
695
			.saturating_add(T::DbWeight::get().reads(2_u64))
696
			.saturating_add(T::DbWeight::get().writes(1_u64))
697
			.saturating_add(Weight::from_parts(0, 24).saturating_mul(x.into()))
698
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
699
	}
700
	/// Storage: `System::Account` (r:1 w:1)
701
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
702
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
703
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
704
	/// Storage: `Balances::Freezes` (r:1 w:1)
705
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
706
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
707
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
708
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
709
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
710
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
711
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
712
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
713
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
714
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
715
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
716
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
717
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
718
	/// Storage: `Balances::Locks` (r:1 w:0)
719
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
720
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
721
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
722
	/// The range of component `x` is `[0, 350]`.
723
	/// The range of component `y` is `[0, 349]`.
724
	/// The range of component `z` is `[0, 99]`.
725
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
726
		// Proof Size summary in bytes:
727
		//  Measured:  `0 + x * (61 ±0) + y * (21 ±0) + z * (81 ±0)`
728
		//  Estimated: `13973 + x * (55 ±2) + y * (21 ±2) + z * (86 ±8)`
729
		// Minimum execution time: 79_000_000 picoseconds.
730
		Weight::from_parts(61_282_010, 13973)
731
			// Standard Error: 18_907
732
			.saturating_add(Weight::from_parts(161_692, 0).saturating_mul(x.into()))
733
			// Standard Error: 18_960
734
			.saturating_add(Weight::from_parts(24_780, 0).saturating_mul(y.into()))
735
			// Standard Error: 66_606
736
			.saturating_add(Weight::from_parts(222_324, 0).saturating_mul(z.into()))
737
			.saturating_add(T::DbWeight::get().reads(11_u64))
738
			.saturating_add(T::DbWeight::get().writes(8_u64))
739
			.saturating_add(Weight::from_parts(0, 55).saturating_mul(x.into()))
740
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
741
			.saturating_add(Weight::from_parts(0, 86).saturating_mul(z.into()))
742
	}
743
	/// Storage: `System::Account` (r:2 w:2)
744
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
745
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
746
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
747
	/// Storage: `Balances::Freezes` (r:2 w:2)
748
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
749
	/// Storage: `ParachainStaking::DelegatorState` (r:2 w:2)
750
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
751
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
752
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
753
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
754
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
755
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
756
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
757
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
758
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
759
	/// Storage: `Balances::Locks` (r:2 w:1)
760
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
761
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
762
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
763
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
764
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
765
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
766
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
767
	fn delegate_with_auto_compound_worst() -> Weight {
768
		// Proof Size summary in bytes:
769
		//  Measured:  `48168`
770
		//  Estimated: `54108`
771
		// Minimum execution time: 205_000_000 picoseconds.
772
		Weight::from_parts(212_000_000, 54108)
773
			.saturating_add(T::DbWeight::get().reads(16_u64))
774
			.saturating_add(T::DbWeight::get().writes(14_u64))
775
	}
776
	/// Storage: `System::Account` (r:1 w:1)
777
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
778
	fn mint_collator_reward() -> Weight {
779
		// Proof Size summary in bytes:
780
		//  Measured:  `128`
781
		//  Estimated: `3581`
782
		// Minimum execution time: 23_000_000 picoseconds.
783
		Weight::from_parts(24_000_000, 3581)
784
			.saturating_add(T::DbWeight::get().reads(1_u64))
785
			.saturating_add(T::DbWeight::get().writes(1_u64))
786
	}
787
	/// Storage: `ParachainStaking::EnableMarkingOffline` (r:1 w:0)
788
	/// Proof: `ParachainStaking::EnableMarkingOffline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
789
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
790
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
791
	/// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0)
792
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
793
	/// Storage: `ParachainStaking::WasInactive` (r:2 w:0)
794
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
795
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
796
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
797
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
798
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
799
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
800
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
801
	fn notify_inactive_collator() -> Weight {
802
		// Proof Size summary in bytes:
803
		//  Measured:  `11212`
804
		//  Estimated: `17152`
805
		// Minimum execution time: 52_000_000 picoseconds.
806
		Weight::from_parts(57_000_000, 17152)
807
			.saturating_add(T::DbWeight::get().reads(8_u64))
808
			.saturating_add(T::DbWeight::get().writes(2_u64))
809
	}
810
	/// Storage: `ParachainStaking::AtStake` (r:52 w:0)
811
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
812
	/// Storage: `ParachainStaking::AwardedPts` (r:51 w:0)
813
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
814
	/// Storage: `ParachainStaking::WasInactive` (r:0 w:51)
815
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
816
	/// The range of component `x` is `[0, 50]`.
817
1
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
818
1
		// Proof Size summary in bytes:
819
1
		//  Measured:  `102 + x * (104 ±0)`
820
1
		//  Estimated: `6051 + x * (2579 ±0)`
821
1
		// Minimum execution time: 16_000_000 picoseconds.
822
1
		Weight::from_parts(15_394_420, 6051)
823
1
			// Standard Error: 171_814
824
1
			.saturating_add(Weight::from_parts(12_954_526, 0).saturating_mul(x.into()))
825
1
			.saturating_add(T::DbWeight::get().reads(3_u64))
826
1
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into())))
827
1
			.saturating_add(T::DbWeight::get().writes(1_u64))
828
1
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
829
1
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
830
1
	}
831
}
832

            
833
// For backwards compatibility and tests.
834
impl WeightInfo for () {
835
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
836
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
837
	fn set_staking_expectations() -> Weight {
838
		// Proof Size summary in bytes:
839
		//  Measured:  `88`
840
		//  Estimated: `1573`
841
		// Minimum execution time: 8_000_000 picoseconds.
842
		Weight::from_parts(10_000_000, 1573)
843
			.saturating_add(RocksDbWeight::get().reads(1_u64))
844
			.saturating_add(RocksDbWeight::get().writes(1_u64))
845
	}
846
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
847
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
848
	fn set_inflation() -> Weight {
849
		// Proof Size summary in bytes:
850
		//  Measured:  `88`
851
		//  Estimated: `1573`
852
		// Minimum execution time: 25_000_000 picoseconds.
853
		Weight::from_parts(27_000_000, 1573)
854
			.saturating_add(RocksDbWeight::get().reads(1_u64))
855
			.saturating_add(RocksDbWeight::get().writes(1_u64))
856
	}
857
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
858
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
859
	fn set_inflation_distribution_config() -> Weight {
860
		// Proof Size summary in bytes:
861
		//  Measured:  `30`
862
		//  Estimated: `1515`
863
		// Minimum execution time: 7_000_000 picoseconds.
864
		Weight::from_parts(7_000_000, 1515)
865
			.saturating_add(RocksDbWeight::get().reads(1_u64))
866
			.saturating_add(RocksDbWeight::get().writes(1_u64))
867
	}
868
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
869
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
870
	fn set_total_selected() -> Weight {
871
		// Proof Size summary in bytes:
872
		//  Measured:  `28`
873
		//  Estimated: `1513`
874
		// Minimum execution time: 8_000_000 picoseconds.
875
		Weight::from_parts(8_000_000, 1513)
876
			.saturating_add(RocksDbWeight::get().reads(1_u64))
877
			.saturating_add(RocksDbWeight::get().writes(1_u64))
878
	}
879
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
880
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
881
	fn set_collator_commission() -> Weight {
882
		// Proof Size summary in bytes:
883
		//  Measured:  `27`
884
		//  Estimated: `1512`
885
		// Minimum execution time: 7_000_000 picoseconds.
886
		Weight::from_parts(8_000_000, 1512)
887
			.saturating_add(RocksDbWeight::get().reads(1_u64))
888
			.saturating_add(RocksDbWeight::get().writes(1_u64))
889
	}
890
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
891
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
892
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
893
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
894
	fn set_blocks_per_round() -> Weight {
895
		// Proof Size summary in bytes:
896
		//  Measured:  `116`
897
		//  Estimated: `1601`
898
		// Minimum execution time: 29_000_000 picoseconds.
899
		Weight::from_parts(29_000_000, 1601)
900
			.saturating_add(RocksDbWeight::get().reads(2_u64))
901
			.saturating_add(RocksDbWeight::get().writes(1_u64))
902
	}
903
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
904
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
905
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
906
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
907
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
908
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
909
	/// Storage: `System::Account` (r:1 w:1)
910
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
911
	/// Storage: `Balances::Freezes` (r:1 w:1)
912
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
913
	/// Storage: `Balances::Locks` (r:1 w:0)
914
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
915
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
916
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
917
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
918
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
919
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
920
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
921
	/// The range of component `x` is `[3, 200]`.
922
20
	fn join_candidates(x: u32, ) -> Weight {
923
20
		// Proof Size summary in bytes:
924
20
		//  Measured:  `1406 + x * (38 ±0)`
925
20
		//  Estimated: `4752 + x * (43 ±1)`
926
20
		// Minimum execution time: 57_000_000 picoseconds.
927
20
		Weight::from_parts(62_371_559, 4752)
928
20
			// Standard Error: 37_712
929
20
			.saturating_add(Weight::from_parts(123_469, 0).saturating_mul(x.into()))
930
20
			.saturating_add(RocksDbWeight::get().reads(8_u64))
931
20
			.saturating_add(RocksDbWeight::get().writes(7_u64))
932
20
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
933
20
	}
934
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
935
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
936
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
937
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
938
	/// The range of component `x` is `[3, 200]`.
939
40
	fn schedule_leave_candidates(x: u32, ) -> Weight {
940
40
		// Proof Size summary in bytes:
941
40
		//  Measured:  `659 + x * (37 ±0)`
942
40
		//  Estimated: `3867 + x * (39 ±0)`
943
40
		// Minimum execution time: 16_000_000 picoseconds.
944
40
		Weight::from_parts(19_575_089, 3867)
945
40
			// Standard Error: 13_668
946
40
			.saturating_add(Weight::from_parts(105_647, 0).saturating_mul(x.into()))
947
40
			.saturating_add(RocksDbWeight::get().reads(2_u64))
948
40
			.saturating_add(RocksDbWeight::get().writes(2_u64))
949
40
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
950
40
	}
951
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
952
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
953
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
954
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
955
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
956
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
957
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
958
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
959
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
960
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
961
	/// Storage: `Balances::Freezes` (r:350 w:350)
962
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
963
	/// Storage: `System::Account` (r:350 w:350)
964
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
965
	/// Storage: `Balances::Locks` (r:350 w:1)
966
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
967
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
968
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
969
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
970
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
971
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
972
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
973
	/// The range of component `x` is `[2, 350]`.
974
20
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
975
20
		// Proof Size summary in bytes:
976
20
		//  Measured:  `1169 + x * (456 ±0)`
977
20
		//  Estimated: `4830 + x * (3762 ±3)`
978
20
		// Minimum execution time: 137_000_000 picoseconds.
979
20
		Weight::from_parts(137_000_000, 4830)
980
20
			// Standard Error: 632_958
981
20
			.saturating_add(Weight::from_parts(42_365_414, 0).saturating_mul(x.into()))
982
20
			.saturating_add(RocksDbWeight::get().reads(4_u64))
983
20
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
984
20
			.saturating_add(RocksDbWeight::get().writes(6_u64))
985
20
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
986
20
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
987
20
	}
988
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
989
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
990
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
991
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
992
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
993
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
994
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
995
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
996
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
997
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
998
	/// Storage: `Balances::Freezes` (r:350 w:350)
999
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:350 w:350)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Locks` (r:350 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[2, 350]`.
	/// The range of component `y` is `[2, 350]`.
42
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
42
		// Proof Size summary in bytes:
42
		//  Measured:  `1169 + x * (456 ±0)`
42
		//  Estimated: `4830 + x * (3762 ±0)`
42
		// Minimum execution time: 111_000_000 picoseconds.
42
		Weight::from_parts(149_062_452, 4830)
42
			// Standard Error: 616_234
42
			.saturating_add(Weight::from_parts(43_983_652, 0).saturating_mul(x.into()))
42
			.saturating_add(RocksDbWeight::get().reads(4_u64))
42
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
42
			.saturating_add(RocksDbWeight::get().writes(6_u64))
42
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
42
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
42
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
20
	fn cancel_leave_candidates(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `627 + x * (37 ±0)`
20
		//  Estimated: `3835 + x * (39 ±0)`
20
		// Minimum execution time: 15_000_000 picoseconds.
20
		Weight::from_parts(17_412_225, 3835)
20
			// Standard Error: 9_403
20
			.saturating_add(Weight::from_parts(92_764, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(2_u64))
20
			.saturating_add(RocksDbWeight::get().writes(2_u64))
20
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
20
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
72
	fn go_offline(x: u32, ) -> Weight {
72
		// Proof Size summary in bytes:
72
		//  Measured:  `562 + x * (38 ±0)`
72
		//  Estimated: `3828 + x * (39 ±0)`
72
		// Minimum execution time: 15_000_000 picoseconds.
72
		Weight::from_parts(17_962_310, 3828)
72
			// Standard Error: 10_178
72
			.saturating_add(Weight::from_parts(80_881, 0).saturating_mul(x.into()))
72
			.saturating_add(RocksDbWeight::get().reads(2_u64))
72
			.saturating_add(RocksDbWeight::get().writes(2_u64))
72
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
72
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
45
	fn go_online(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `526 + x * (38 ±0)`
45
		//  Estimated: `3791 + x * (39 ±0)`
45
		// Minimum execution time: 14_000_000 picoseconds.
45
		Weight::from_parts(17_749_962, 3791)
45
			// Standard Error: 12_623
45
			.saturating_add(Weight::from_parts(88_989, 0).saturating_mul(x.into()))
45
			.saturating_add(RocksDbWeight::get().reads(2_u64))
45
			.saturating_add(RocksDbWeight::get().writes(2_u64))
45
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
45
	fn candidate_bond_more(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `932 + x * (44 ±0)`
45
		//  Estimated: `4752 + x * (45 ±1)`
45
		// Minimum execution time: 82_000_000 picoseconds.
45
		Weight::from_parts(87_570_121, 4752)
45
			// Standard Error: 22_771
45
			.saturating_add(Weight::from_parts(80_803, 0).saturating_mul(x.into()))
45
			.saturating_add(RocksDbWeight::get().reads(7_u64))
45
			.saturating_add(RocksDbWeight::get().writes(7_u64))
45
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
40
	fn schedule_candidate_bond_less() -> Weight {
40
		// Proof Size summary in bytes:
40
		//  Measured:  `171`
40
		//  Estimated: `3636`
40
		// Minimum execution time: 12_000_000 picoseconds.
40
		Weight::from_parts(13_000_000, 3636)
40
			.saturating_add(RocksDbWeight::get().reads(1_u64))
40
			.saturating_add(RocksDbWeight::get().writes(1_u64))
40
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
45
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `1091 + x * (43 ±0)`
45
		//  Estimated: `4752 + x * (45 ±1)`
45
		// Minimum execution time: 87_000_000 picoseconds.
45
		Weight::from_parts(116_267_098, 4752)
45
			.saturating_add(RocksDbWeight::get().reads(7_u64))
45
			.saturating_add(RocksDbWeight::get().writes(7_u64))
45
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
20
	fn cancel_candidate_bond_less() -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `191`
20
		//  Estimated: `3656`
20
		// Minimum execution time: 12_000_000 picoseconds.
20
		Weight::from_parts(12_000_000, 3656)
20
			.saturating_add(RocksDbWeight::get().reads(1_u64))
20
			.saturating_add(RocksDbWeight::get().writes(1_u64))
20
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
165
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
165
		// Proof Size summary in bytes:
165
		//  Measured:  `233 + x * (43 ±0)`
165
		//  Estimated: `3832 + x * (44 ±0)`
165
		// Minimum execution time: 14_000_000 picoseconds.
165
		Weight::from_parts(19_302_147, 3832)
165
			// Standard Error: 13_114
165
			.saturating_add(Weight::from_parts(108_100, 0).saturating_mul(x.into()))
165
			.saturating_add(RocksDbWeight::get().reads(2_u64))
165
			.saturating_add(RocksDbWeight::get().writes(2_u64))
165
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
165
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
60
	fn delegator_bond_more(x: u32, ) -> Weight {
60
		// Proof Size summary in bytes:
60
		//  Measured:  `2205 + x * (78 ±0)`
60
		//  Estimated: `5197 + x * (78 ±1)`
60
		// Minimum execution time: 91_000_000 picoseconds.
60
		Weight::from_parts(99_039_136, 5197)
60
			// Standard Error: 19_700
60
			.saturating_add(Weight::from_parts(165_867, 0).saturating_mul(x.into()))
60
			.saturating_add(RocksDbWeight::get().reads(10_u64))
60
			.saturating_add(RocksDbWeight::get().writes(9_u64))
60
			.saturating_add(Weight::from_parts(0, 78).saturating_mul(x.into()))
60
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
107
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
107
		// Proof Size summary in bytes:
107
		//  Measured:  `233 + x * (43 ±0)`
107
		//  Estimated: `3832 + x * (44 ±0)`
107
		// Minimum execution time: 14_000_000 picoseconds.
107
		Weight::from_parts(19_757_281, 3832)
107
			// Standard Error: 9_837
107
			.saturating_add(Weight::from_parts(107_019, 0).saturating_mul(x.into()))
107
			.saturating_add(RocksDbWeight::get().reads(2_u64))
107
			.saturating_add(RocksDbWeight::get().writes(2_u64))
107
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
107
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115
	fn execute_delegator_revoke_delegation_worst() -> Weight {
115
		// Proof Size summary in bytes:
115
		//  Measured:  `37373`
115
		//  Estimated: `40838`
115
		// Minimum execution time: 136_000_000 picoseconds.
115
		Weight::from_parts(149_000_000, 40838)
115
			.saturating_add(RocksDbWeight::get().reads(11_u64))
115
			.saturating_add(RocksDbWeight::get().writes(11_u64))
115
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn execute_delegator_bond_less_worst() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `29995`
		//  Estimated: `33460`
		// Minimum execution time: 147_000_000 picoseconds.
		Weight::from_parts(164_000_000, 33460)
			.saturating_add(RocksDbWeight::get().reads(11_u64))
			.saturating_add(RocksDbWeight::get().writes(11_u64))
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
88
	fn cancel_delegation_request(x: u32, ) -> Weight {
88
		// Proof Size summary in bytes:
88
		//  Measured:  `528 + x * (42 ±0)`
88
		//  Estimated: `3947 + x * (43 ±0)`
88
		// Minimum execution time: 26_000_000 picoseconds.
88
		Weight::from_parts(34_815_644, 3947)
88
			// Standard Error: 13_381
88
			.saturating_add(Weight::from_parts(57_315, 0).saturating_mul(x.into()))
88
			.saturating_add(RocksDbWeight::get().reads(2_u64))
88
			.saturating_add(RocksDbWeight::get().writes(2_u64))
88
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
88
	}
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
570
	fn prepare_staking_payouts() -> Weight {
570
		// Proof Size summary in bytes:
570
		//  Measured:  `3`
570
		//  Estimated: `3468`
570
		// Minimum execution time: 2_000_000 picoseconds.
570
		Weight::from_parts(3_000_000, 3468)
570
			.saturating_add(RocksDbWeight::get().reads(1_u64))
570
	}
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:0)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `y` is `[0, 100]`.
	fn get_rewardable_delegators(y: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `88 + y * (36 ±0)`
		//  Estimated: `3553 + y * (36 ±0)`
		// Minimum execution time: 6_000_000 picoseconds.
		Weight::from_parts(7_133_333, 3553)
			// Standard Error: 5_951
			.saturating_add(Weight::from_parts(36_000, 0).saturating_mul(y.into()))
			.saturating_add(RocksDbWeight::get().reads(2_u64))
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
	}
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:0)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:51 w:0)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:51 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:51 w:0)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:51 w:0)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1)
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AtStake` (r:0 w:51)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 50]`.
	/// The range of component `y` is `[0, 100]`.
2121
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2121
		// Proof Size summary in bytes:
2121
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2121
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2121
		// Minimum execution time: 19_000_000 picoseconds.
2121
		Weight::from_parts(20_000_000, 3710)
2121
			// Standard Error: 507_202
2121
			.saturating_add(Weight::from_parts(16_073_459, 0).saturating_mul(x.into()))
2121
			// Standard Error: 253_235
2121
			.saturating_add(Weight::from_parts(1_074_727, 0).saturating_mul(y.into()))
2121
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2121
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2121
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2121
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2121
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2121
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2121
	}
	/// Storage: `System::Account` (r:349 w:349)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:349)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:349 w:349)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:349 w:349)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
	/// The range of component `y` is `[0, 349]`.
	/// The range of component `z` is `[0, 349]`.
50
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `0 + x * (389 ±0) + y * (144 ±0) + z * (41 ±0)`
50
		//  Estimated: `328284 + x * (2591 ±265) + y * (1733 ±265) + z * (41 ±0)`
50
		// Minimum execution time: 0_000 picoseconds.
50
		Weight::from_parts(0, 328284)
50
			// Standard Error: 5_334_461
50
			.saturating_add(Weight::from_parts(76_561_571, 0).saturating_mul(x.into()))
50
			// Standard Error: 5_334_461
50
			.saturating_add(Weight::from_parts(50_346_827, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
50
			.saturating_add(Weight::from_parts(0, 1733).saturating_mul(y.into()))
50
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(z.into()))
50
	}
	/// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0)
	/// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AtStake` (r:2 w:1)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AwardedPts` (r:1 w:1)
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:301 w:301)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `y` is `[0, 300]`.
50
	fn pay_one_collator_reward(y: u32, ) -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `1430 + y * (162 ±0)`
50
		//  Estimated: `6996 + y * (2591 ±0)`
50
		// Minimum execution time: 53_000_000 picoseconds.
50
		Weight::from_parts(69_200_000, 6996)
50
			// Standard Error: 254_782
50
			.saturating_add(Weight::from_parts(22_444_888, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads(8_u64))
50
			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes(3_u64))
50
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
50
	}
1231
	fn base_on_initialize() -> Weight {
1231
		// Proof Size summary in bytes:
1231
		//  Measured:  `0`
1231
		//  Estimated: `0`
1231
		// Minimum execution time: 1_000_000 picoseconds.
1231
		Weight::from_parts(1_000_000, 0)
1231
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 300]`.
	/// The range of component `y` is `[0, 100]`.
80
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `427 + x * (23 ±0) + y * (36 ±0)`
80
		//  Estimated: `3802 + x * (24 ±0) + y * (36 ±0)`
80
		// Minimum execution time: 16_000_000 picoseconds.
80
		Weight::from_parts(19_300_000, 3802)
80
			// Standard Error: 11_639
80
			.saturating_add(Weight::from_parts(71_555, 0).saturating_mul(x.into()))
80
			// Standard Error: 34_918
80
			.saturating_add(Weight::from_parts(58_666, 0).saturating_mul(y.into()))
80
			.saturating_add(RocksDbWeight::get().reads(2_u64))
80
			.saturating_add(RocksDbWeight::get().writes(1_u64))
80
			.saturating_add(Weight::from_parts(0, 24).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
80
	}
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:0)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 350]`.
	/// The range of component `y` is `[0, 349]`.
	/// The range of component `z` is `[0, 99]`.
80
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `0 + x * (61 ±0) + y * (21 ±0) + z * (81 ±0)`
80
		//  Estimated: `13973 + x * (55 ±2) + y * (21 ±2) + z * (86 ±8)`
80
		// Minimum execution time: 79_000_000 picoseconds.
80
		Weight::from_parts(61_282_010, 13973)
80
			// Standard Error: 18_907
80
			.saturating_add(Weight::from_parts(161_692, 0).saturating_mul(x.into()))
80
			// Standard Error: 18_960
80
			.saturating_add(Weight::from_parts(24_780, 0).saturating_mul(y.into()))
80
			// Standard Error: 66_606
80
			.saturating_add(Weight::from_parts(222_324, 0).saturating_mul(z.into()))
80
			.saturating_add(RocksDbWeight::get().reads(11_u64))
80
			.saturating_add(RocksDbWeight::get().writes(8_u64))
80
			.saturating_add(Weight::from_parts(0, 55).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
80
			.saturating_add(Weight::from_parts(0, 86).saturating_mul(z.into()))
80
	}
	/// Storage: `System::Account` (r:2 w:2)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:2 w:2)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:2 w:2)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:2 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn delegate_with_auto_compound_worst() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `48168`
		//  Estimated: `54108`
		// Minimum execution time: 205_000_000 picoseconds.
		Weight::from_parts(212_000_000, 54108)
			.saturating_add(RocksDbWeight::get().reads(16_u64))
			.saturating_add(RocksDbWeight::get().writes(14_u64))
	}
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
50
	fn mint_collator_reward() -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `128`
50
		//  Estimated: `3581`
50
		// Minimum execution time: 23_000_000 picoseconds.
50
		Weight::from_parts(24_000_000, 3581)
50
			.saturating_add(RocksDbWeight::get().reads(1_u64))
50
			.saturating_add(RocksDbWeight::get().writes(1_u64))
50
	}
	/// Storage: `ParachainStaking::EnableMarkingOffline` (r:1 w:0)
	/// Proof: `ParachainStaking::EnableMarkingOffline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0)
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::WasInactive` (r:2 w:0)
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn notify_inactive_collator() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `11212`
		//  Estimated: `17152`
		// Minimum execution time: 52_000_000 picoseconds.
		Weight::from_parts(57_000_000, 17152)
			.saturating_add(RocksDbWeight::get().reads(8_u64))
			.saturating_add(RocksDbWeight::get().writes(2_u64))
	}
	/// Storage: `ParachainStaking::AtStake` (r:52 w:0)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AwardedPts` (r:51 w:0)
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::WasInactive` (r:0 w:51)
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 50]`.
570
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
570
		// Proof Size summary in bytes:
570
		//  Measured:  `102 + x * (104 ±0)`
570
		//  Estimated: `6051 + x * (2579 ±0)`
570
		// Minimum execution time: 16_000_000 picoseconds.
570
		Weight::from_parts(15_394_420, 6051)
570
			// Standard Error: 171_814
570
			.saturating_add(Weight::from_parts(12_954_526, 0).saturating_mul(x.into()))
570
			.saturating_add(RocksDbWeight::get().reads(3_u64))
570
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
570
			.saturating_add(RocksDbWeight::get().writes(1_u64))
570
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
570
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
570
	}
}