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
	fn migrate_locks_to_freezes_batch_delegators(x: u32, ) -> Weight;
87
	fn migrate_locks_to_freezes_batch_candidates(x: u32, ) -> Weight;
88
}
89

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

            
897
// For backwards compatibility and tests.
898
impl WeightInfo for () {
899
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
900
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
901
	fn set_staking_expectations() -> Weight {
902
		// Proof Size summary in bytes:
903
		//  Measured:  `88`
904
		//  Estimated: `1573`
905
		// Minimum execution time: 8_000_000 picoseconds.
906
		Weight::from_parts(10_000_000, 1573)
907
			.saturating_add(RocksDbWeight::get().reads(1_u64))
908
			.saturating_add(RocksDbWeight::get().writes(1_u64))
909
	}
910
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
911
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
912
	fn set_inflation() -> Weight {
913
		// Proof Size summary in bytes:
914
		//  Measured:  `88`
915
		//  Estimated: `1573`
916
		// Minimum execution time: 25_000_000 picoseconds.
917
		Weight::from_parts(27_000_000, 1573)
918
			.saturating_add(RocksDbWeight::get().reads(1_u64))
919
			.saturating_add(RocksDbWeight::get().writes(1_u64))
920
	}
921
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
922
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
923
	fn set_inflation_distribution_config() -> Weight {
924
		// Proof Size summary in bytes:
925
		//  Measured:  `30`
926
		//  Estimated: `1515`
927
		// Minimum execution time: 7_000_000 picoseconds.
928
		Weight::from_parts(7_000_000, 1515)
929
			.saturating_add(RocksDbWeight::get().reads(1_u64))
930
			.saturating_add(RocksDbWeight::get().writes(1_u64))
931
	}
932
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
933
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
934
	fn set_total_selected() -> Weight {
935
		// Proof Size summary in bytes:
936
		//  Measured:  `28`
937
		//  Estimated: `1513`
938
		// Minimum execution time: 8_000_000 picoseconds.
939
		Weight::from_parts(8_000_000, 1513)
940
			.saturating_add(RocksDbWeight::get().reads(1_u64))
941
			.saturating_add(RocksDbWeight::get().writes(1_u64))
942
	}
943
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
944
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
945
	fn set_collator_commission() -> Weight {
946
		// Proof Size summary in bytes:
947
		//  Measured:  `27`
948
		//  Estimated: `1512`
949
		// Minimum execution time: 7_000_000 picoseconds.
950
		Weight::from_parts(8_000_000, 1512)
951
			.saturating_add(RocksDbWeight::get().reads(1_u64))
952
			.saturating_add(RocksDbWeight::get().writes(1_u64))
953
	}
954
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
955
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
956
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
957
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
958
	fn set_blocks_per_round() -> Weight {
959
		// Proof Size summary in bytes:
960
		//  Measured:  `116`
961
		//  Estimated: `1601`
962
		// Minimum execution time: 29_000_000 picoseconds.
963
		Weight::from_parts(29_000_000, 1601)
964
			.saturating_add(RocksDbWeight::get().reads(2_u64))
965
			.saturating_add(RocksDbWeight::get().writes(1_u64))
966
	}
967
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
968
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
969
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
970
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
971
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
972
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
973
	/// Storage: `System::Account` (r:1 w:1)
974
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
975
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:0)
976
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
977
	/// Storage: `Balances::Freezes` (r:1 w:1)
978
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
979
	/// Storage: `Balances::Locks` (r:1 w:0)
980
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
981
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
982
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
983
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
984
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
985
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
986
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
987
	/// The range of component `x` is `[3, 200]`.
988
20
	fn join_candidates(x: u32, ) -> Weight {
989
20
		// Proof Size summary in bytes:
990
20
		//  Measured:  `1406 + x * (38 ±0)`
991
20
		//  Estimated: `4752 + x * (43 ±1)`
992
20
		// Minimum execution time: 57_000_000 picoseconds.
993
20
		Weight::from_parts(62_371_559, 4752)
994
20
			// Standard Error: 37_712
995
20
			.saturating_add(Weight::from_parts(123_469, 0).saturating_mul(x.into()))
996
20
			.saturating_add(RocksDbWeight::get().reads(8_u64))
997
20
			.saturating_add(RocksDbWeight::get().writes(7_u64))
998
20
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
999
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 `[3, 200]`.
40
	fn schedule_leave_candidates(x: u32, ) -> Weight {
40
		// Proof Size summary in bytes:
40
		//  Measured:  `659 + x * (37 ±0)`
40
		//  Estimated: `3867 + x * (39 ±0)`
40
		// Minimum execution time: 16_000_000 picoseconds.
40
		Weight::from_parts(19_575_089, 3867)
40
			// Standard Error: 13_668
40
			.saturating_add(Weight::from_parts(105_647, 0).saturating_mul(x.into()))
40
			.saturating_add(RocksDbWeight::get().reads(2_u64))
40
			.saturating_add(RocksDbWeight::get().writes(2_u64))
40
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
40
	}
	/// 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::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:350 w:350)
	/// 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]`.
20
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `1169 + x * (456 ±0)`
20
		//  Estimated: `4830 + x * (3762 ±3)`
20
		// Minimum execution time: 137_000_000 picoseconds.
20
		Weight::from_parts(137_000_000, 4830)
20
			// Standard Error: 632_958
20
			.saturating_add(Weight::from_parts(42_365_414, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(4_u64))
20
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
20
			.saturating_add(RocksDbWeight::get().writes(6_u64))
20
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
20
			.saturating_add(Weight::from_parts(0, 3762).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::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::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:350 w:350)
	/// 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]`.
43
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
43
		// Proof Size summary in bytes:
43
		//  Measured:  `1169 + x * (456 ±0)`
43
		//  Estimated: `4830 + x * (3762 ±0)`
43
		// Minimum execution time: 111_000_000 picoseconds.
43
		Weight::from_parts(149_062_452, 4830)
43
			// Standard Error: 616_234
43
			.saturating_add(Weight::from_parts(43_983_652, 0).saturating_mul(x.into()))
43
			.saturating_add(RocksDbWeight::get().reads(4_u64))
43
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
43
			.saturating_add(RocksDbWeight::get().writes(6_u64))
43
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
43
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
43
	}
	/// 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]`.
47
	fn candidate_bond_more(x: u32, ) -> Weight {
47
		// Proof Size summary in bytes:
47
		//  Measured:  `932 + x * (44 ±0)`
47
		//  Estimated: `4752 + x * (45 ±1)`
47
		// Minimum execution time: 82_000_000 picoseconds.
47
		Weight::from_parts(87_570_121, 4752)
47
			// Standard Error: 22_771
47
			.saturating_add(Weight::from_parts(80_803, 0).saturating_mul(x.into()))
47
			.saturating_add(RocksDbWeight::get().reads(7_u64))
47
			.saturating_add(RocksDbWeight::get().writes(7_u64))
47
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
47
	}
	/// 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]`.
46
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
46
		// Proof Size summary in bytes:
46
		//  Measured:  `1091 + x * (43 ±0)`
46
		//  Estimated: `4752 + x * (45 ±1)`
46
		// Minimum execution time: 87_000_000 picoseconds.
46
		Weight::from_parts(116_267_098, 4752)
46
			.saturating_add(RocksDbWeight::get().reads(7_u64))
46
			.saturating_add(RocksDbWeight::get().writes(7_u64))
46
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
46
	}
	/// 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`)
574
	fn prepare_staking_payouts() -> Weight {
574
		// Proof Size summary in bytes:
574
		//  Measured:  `3`
574
		//  Estimated: `3468`
574
		// Minimum execution time: 2_000_000 picoseconds.
574
		Weight::from_parts(3_000_000, 3468)
574
			.saturating_add(RocksDbWeight::get().reads(1_u64))
574
	}
	/// 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]`.
2142
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2142
		// Proof Size summary in bytes:
2142
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2142
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2142
		// Minimum execution time: 19_000_000 picoseconds.
2142
		Weight::from_parts(20_000_000, 3710)
2142
			// Standard Error: 507_202
2142
			.saturating_add(Weight::from_parts(16_073_459, 0).saturating_mul(x.into()))
2142
			// Standard Error: 253_235
2142
			.saturating_add(Weight::from_parts(1_074_727, 0).saturating_mul(y.into()))
2142
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2142
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2142
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2142
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2142
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2142
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2142
	}
	/// 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
	}
1249
	fn base_on_initialize() -> Weight {
1249
		// Proof Size summary in bytes:
1249
		//  Measured:  `0`
1249
		//  Estimated: `0`
1249
		// Minimum execution time: 1_000_000 picoseconds.
1249
		Weight::from_parts(1_000_000, 0)
1249
	}
	/// 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]`.
574
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
574
		// Proof Size summary in bytes:
574
		//  Measured:  `102 + x * (104 ±0)`
574
		//  Estimated: `6051 + x * (2579 ±0)`
574
		// Minimum execution time: 16_000_000 picoseconds.
574
		Weight::from_parts(15_394_420, 6051)
574
			// Standard Error: 171_814
574
			.saturating_add(Weight::from_parts(12_954_526, 0).saturating_mul(x.into()))
574
			.saturating_add(RocksDbWeight::get().reads(3_u64))
574
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
574
			.saturating_add(RocksDbWeight::get().writes(1_u64))
574
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
574
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
574
	}
	/// Storage: `ParachainStaking::MigratedDelegators` (r:100 w:100)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:100 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:100 w:100)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:100 w:100)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:100 w:100)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `x` is `[1, 100]`.
5
	fn migrate_locks_to_freezes_batch_delegators(x: u32, ) -> Weight {
5
		// Proof Size summary in bytes:
5
		//  Measured:  `463 + x * (329 ±0)`
5
		//  Estimated: `1370 + x * (3762 ±1)`
5
		// Minimum execution time: 50_000_000 picoseconds.
5
		Weight::from_parts(50_000_000, 1370)
5
			// Standard Error: 477_526
5
			.saturating_add(Weight::from_parts(47_495_760, 0).saturating_mul(x.into()))
5
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
5
			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(x.into())))
5
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
5
	}
	/// Storage: `ParachainStaking::MigratedCandidates` (r:100 w:100)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:100 w:100)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:100 w:100)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:100 w:100)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `x` is `[1, 100]`.
13
	fn migrate_locks_to_freezes_batch_candidates(x: u32, ) -> Weight {
13
		// Proof Size summary in bytes:
13
		//  Measured:  `357 + x * (326 ±0)`
13
		//  Estimated: `1349 + x * (3762 ±1)`
13
		// Minimum execution time: 55_000_000 picoseconds.
13
		Weight::from_parts(57_000_000, 1349)
13
			// Standard Error: 302_933
13
			.saturating_add(Weight::from_parts(46_808_383, 0).saturating_mul(x.into()))
13
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
13
			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(x.into())))
13
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
13
	}
}