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

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

            
873
// For backwards compatibility and tests.
874
impl WeightInfo for () {
875
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
876
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
877
	fn set_staking_expectations() -> Weight {
878
		// Proof Size summary in bytes:
879
		//  Measured:  `88`
880
		//  Estimated: `1573`
881
		// Minimum execution time: 8_000_000 picoseconds.
882
		Weight::from_parts(10_000_000, 1573)
883
			.saturating_add(RocksDbWeight::get().reads(1_u64))
884
			.saturating_add(RocksDbWeight::get().writes(1_u64))
885
	}
886
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
887
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
888
	fn set_inflation() -> Weight {
889
		// Proof Size summary in bytes:
890
		//  Measured:  `88`
891
		//  Estimated: `1573`
892
		// Minimum execution time: 25_000_000 picoseconds.
893
		Weight::from_parts(27_000_000, 1573)
894
			.saturating_add(RocksDbWeight::get().reads(1_u64))
895
			.saturating_add(RocksDbWeight::get().writes(1_u64))
896
	}
897
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
898
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
899
	fn set_inflation_distribution_config() -> Weight {
900
		// Proof Size summary in bytes:
901
		//  Measured:  `30`
902
		//  Estimated: `1515`
903
		// Minimum execution time: 7_000_000 picoseconds.
904
		Weight::from_parts(7_000_000, 1515)
905
			.saturating_add(RocksDbWeight::get().reads(1_u64))
906
			.saturating_add(RocksDbWeight::get().writes(1_u64))
907
	}
908
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
909
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
910
	fn set_total_selected() -> Weight {
911
		// Proof Size summary in bytes:
912
		//  Measured:  `28`
913
		//  Estimated: `1513`
914
		// Minimum execution time: 8_000_000 picoseconds.
915
		Weight::from_parts(8_000_000, 1513)
916
			.saturating_add(RocksDbWeight::get().reads(1_u64))
917
			.saturating_add(RocksDbWeight::get().writes(1_u64))
918
	}
919
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
920
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
921
	fn set_collator_commission() -> Weight {
922
		// Proof Size summary in bytes:
923
		//  Measured:  `27`
924
		//  Estimated: `1512`
925
		// Minimum execution time: 7_000_000 picoseconds.
926
		Weight::from_parts(8_000_000, 1512)
927
			.saturating_add(RocksDbWeight::get().reads(1_u64))
928
			.saturating_add(RocksDbWeight::get().writes(1_u64))
929
	}
930
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
931
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
932
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
933
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
934
	fn set_blocks_per_round() -> Weight {
935
		// Proof Size summary in bytes:
936
		//  Measured:  `116`
937
		//  Estimated: `1601`
938
		// Minimum execution time: 29_000_000 picoseconds.
939
		Weight::from_parts(29_000_000, 1601)
940
			.saturating_add(RocksDbWeight::get().reads(2_u64))
941
			.saturating_add(RocksDbWeight::get().writes(1_u64))
942
	}
943
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
944
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
945
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
946
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
947
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
948
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
949
	/// Storage: `System::Account` (r:1 w:1)
950
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
951
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:0)
952
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
953
	/// Storage: `Balances::Freezes` (r:1 w:1)
954
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
955
	/// Storage: `Balances::Locks` (r:1 w:0)
956
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
957
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
958
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
959
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
960
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
961
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
962
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
963
	/// The range of component `x` is `[3, 200]`.
964
21
	fn join_candidates(x: u32, ) -> Weight {
965
21
		// Proof Size summary in bytes:
966
21
		//  Measured:  `1406 + x * (38 ±0)`
967
21
		//  Estimated: `4752 + x * (43 ±1)`
968
21
		// Minimum execution time: 57_000_000 picoseconds.
969
21
		Weight::from_parts(62_371_559, 4752)
970
21
			// Standard Error: 37_712
971
21
			.saturating_add(Weight::from_parts(123_469, 0).saturating_mul(x.into()))
972
21
			.saturating_add(RocksDbWeight::get().reads(8_u64))
973
21
			.saturating_add(RocksDbWeight::get().writes(7_u64))
974
21
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
975
21
	}
976
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
977
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
978
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
979
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
980
	/// The range of component `x` is `[3, 200]`.
981
42
	fn schedule_leave_candidates(x: u32, ) -> Weight {
982
42
		// Proof Size summary in bytes:
983
42
		//  Measured:  `659 + x * (37 ±0)`
984
42
		//  Estimated: `3867 + x * (39 ±0)`
985
42
		// Minimum execution time: 16_000_000 picoseconds.
986
42
		Weight::from_parts(19_575_089, 3867)
987
42
			// Standard Error: 13_668
988
42
			.saturating_add(Weight::from_parts(105_647, 0).saturating_mul(x.into()))
989
42
			.saturating_add(RocksDbWeight::get().reads(2_u64))
990
42
			.saturating_add(RocksDbWeight::get().writes(2_u64))
991
42
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
992
42
	}
993
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
994
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
995
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
996
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
997
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
998
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
999
	/// 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]`.
21
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
21
		// Proof Size summary in bytes:
21
		//  Measured:  `1169 + x * (456 ±0)`
21
		//  Estimated: `4830 + x * (3762 ±3)`
21
		// Minimum execution time: 137_000_000 picoseconds.
21
		Weight::from_parts(137_000_000, 4830)
21
			// Standard Error: 632_958
21
			.saturating_add(Weight::from_parts(42_365_414, 0).saturating_mul(x.into()))
21
			.saturating_add(RocksDbWeight::get().reads(4_u64))
21
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
21
			.saturating_add(RocksDbWeight::get().writes(6_u64))
21
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
21
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
21
	}
	/// 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]`.
44
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
44
		// Proof Size summary in bytes:
44
		//  Measured:  `1169 + x * (456 ±0)`
44
		//  Estimated: `4830 + x * (3762 ±0)`
44
		// Minimum execution time: 111_000_000 picoseconds.
44
		Weight::from_parts(149_062_452, 4830)
44
			// Standard Error: 616_234
44
			.saturating_add(Weight::from_parts(43_983_652, 0).saturating_mul(x.into()))
44
			.saturating_add(RocksDbWeight::get().reads(4_u64))
44
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
44
			.saturating_add(RocksDbWeight::get().writes(6_u64))
44
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
44
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
44
	}
	/// 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]`.
21
	fn cancel_leave_candidates(x: u32, ) -> Weight {
21
		// Proof Size summary in bytes:
21
		//  Measured:  `627 + x * (37 ±0)`
21
		//  Estimated: `3835 + x * (39 ±0)`
21
		// Minimum execution time: 15_000_000 picoseconds.
21
		Weight::from_parts(17_412_225, 3835)
21
			// Standard Error: 9_403
21
			.saturating_add(Weight::from_parts(92_764, 0).saturating_mul(x.into()))
21
			.saturating_add(RocksDbWeight::get().reads(2_u64))
21
			.saturating_add(RocksDbWeight::get().writes(2_u64))
21
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
21
	}
	/// 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]`.
75
	fn go_offline(x: u32, ) -> Weight {
75
		// Proof Size summary in bytes:
75
		//  Measured:  `562 + x * (38 ±0)`
75
		//  Estimated: `3828 + x * (39 ±0)`
75
		// Minimum execution time: 15_000_000 picoseconds.
75
		Weight::from_parts(17_962_310, 3828)
75
			// Standard Error: 10_178
75
			.saturating_add(Weight::from_parts(80_881, 0).saturating_mul(x.into()))
75
			.saturating_add(RocksDbWeight::get().reads(2_u64))
75
			.saturating_add(RocksDbWeight::get().writes(2_u64))
75
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
75
	}
	/// 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]`.
47
	fn go_online(x: u32, ) -> Weight {
47
		// Proof Size summary in bytes:
47
		//  Measured:  `526 + x * (38 ±0)`
47
		//  Estimated: `3791 + x * (39 ±0)`
47
		// Minimum execution time: 14_000_000 picoseconds.
47
		Weight::from_parts(17_749_962, 3791)
47
			// Standard Error: 12_623
47
			.saturating_add(Weight::from_parts(88_989, 0).saturating_mul(x.into()))
47
			.saturating_add(RocksDbWeight::get().reads(2_u64))
47
			.saturating_add(RocksDbWeight::get().writes(2_u64))
47
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
47
	}
	/// 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]`.
49
	fn candidate_bond_more(x: u32, ) -> Weight {
49
		// Proof Size summary in bytes:
49
		//  Measured:  `932 + x * (44 ±0)`
49
		//  Estimated: `4752 + x * (45 ±1)`
49
		// Minimum execution time: 82_000_000 picoseconds.
49
		Weight::from_parts(87_570_121, 4752)
49
			// Standard Error: 22_771
49
			.saturating_add(Weight::from_parts(80_803, 0).saturating_mul(x.into()))
49
			.saturating_add(RocksDbWeight::get().reads(7_u64))
49
			.saturating_add(RocksDbWeight::get().writes(7_u64))
49
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
49
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
42
	fn schedule_candidate_bond_less() -> Weight {
42
		// Proof Size summary in bytes:
42
		//  Measured:  `171`
42
		//  Estimated: `3636`
42
		// Minimum execution time: 12_000_000 picoseconds.
42
		Weight::from_parts(13_000_000, 3636)
42
			.saturating_add(RocksDbWeight::get().reads(1_u64))
42
			.saturating_add(RocksDbWeight::get().writes(1_u64))
42
	}
	/// 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]`.
48
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
48
		// Proof Size summary in bytes:
48
		//  Measured:  `1091 + x * (43 ±0)`
48
		//  Estimated: `4752 + x * (45 ±1)`
48
		// Minimum execution time: 87_000_000 picoseconds.
48
		Weight::from_parts(116_267_098, 4752)
48
			.saturating_add(RocksDbWeight::get().reads(7_u64))
48
			.saturating_add(RocksDbWeight::get().writes(7_u64))
48
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
48
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
21
	fn cancel_candidate_bond_less() -> Weight {
21
		// Proof Size summary in bytes:
21
		//  Measured:  `191`
21
		//  Estimated: `3656`
21
		// Minimum execution time: 12_000_000 picoseconds.
21
		Weight::from_parts(12_000_000, 3656)
21
			.saturating_add(RocksDbWeight::get().reads(1_u64))
21
			.saturating_add(RocksDbWeight::get().writes(1_u64))
21
	}
	/// 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]`.
171
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
171
		// Proof Size summary in bytes:
171
		//  Measured:  `233 + x * (43 ±0)`
171
		//  Estimated: `3832 + x * (44 ±0)`
171
		// Minimum execution time: 14_000_000 picoseconds.
171
		Weight::from_parts(19_302_147, 3832)
171
			// Standard Error: 13_114
171
			.saturating_add(Weight::from_parts(108_100, 0).saturating_mul(x.into()))
171
			.saturating_add(RocksDbWeight::get().reads(2_u64))
171
			.saturating_add(RocksDbWeight::get().writes(2_u64))
171
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
171
	}
	/// 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]`.
62
	fn delegator_bond_more(x: u32, ) -> Weight {
62
		// Proof Size summary in bytes:
62
		//  Measured:  `2205 + x * (78 ±0)`
62
		//  Estimated: `5197 + x * (78 ±1)`
62
		// Minimum execution time: 91_000_000 picoseconds.
62
		Weight::from_parts(99_039_136, 5197)
62
			// Standard Error: 19_700
62
			.saturating_add(Weight::from_parts(165_867, 0).saturating_mul(x.into()))
62
			.saturating_add(RocksDbWeight::get().reads(10_u64))
62
			.saturating_add(RocksDbWeight::get().writes(9_u64))
62
			.saturating_add(Weight::from_parts(0, 78).saturating_mul(x.into()))
62
	}
	/// 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]`.
111
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
111
		// Proof Size summary in bytes:
111
		//  Measured:  `233 + x * (43 ±0)`
111
		//  Estimated: `3832 + x * (44 ±0)`
111
		// Minimum execution time: 14_000_000 picoseconds.
111
		Weight::from_parts(19_757_281, 3832)
111
			// Standard Error: 9_837
111
			.saturating_add(Weight::from_parts(107_019, 0).saturating_mul(x.into()))
111
			.saturating_add(RocksDbWeight::get().reads(2_u64))
111
			.saturating_add(RocksDbWeight::get().writes(2_u64))
111
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
111
	}
	/// 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`)
119
	fn execute_delegator_revoke_delegation_worst() -> Weight {
119
		// Proof Size summary in bytes:
119
		//  Measured:  `37373`
119
		//  Estimated: `40838`
119
		// Minimum execution time: 136_000_000 picoseconds.
119
		Weight::from_parts(149_000_000, 40838)
119
			.saturating_add(RocksDbWeight::get().reads(11_u64))
119
			.saturating_add(RocksDbWeight::get().writes(11_u64))
119
	}
	/// 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]`.
92
	fn cancel_delegation_request(x: u32, ) -> Weight {
92
		// Proof Size summary in bytes:
92
		//  Measured:  `528 + x * (42 ±0)`
92
		//  Estimated: `3947 + x * (43 ±0)`
92
		// Minimum execution time: 26_000_000 picoseconds.
92
		Weight::from_parts(34_815_644, 3947)
92
			// Standard Error: 13_381
92
			.saturating_add(Weight::from_parts(57_315, 0).saturating_mul(x.into()))
92
			.saturating_add(RocksDbWeight::get().reads(2_u64))
92
			.saturating_add(RocksDbWeight::get().writes(2_u64))
92
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
92
	}
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
591
	fn prepare_staking_payouts() -> Weight {
591
		// Proof Size summary in bytes:
591
		//  Measured:  `3`
591
		//  Estimated: `3468`
591
		// Minimum execution time: 2_000_000 picoseconds.
591
		Weight::from_parts(3_000_000, 3468)
591
			.saturating_add(RocksDbWeight::get().reads(1_u64))
591
	}
	/// 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]`.
2224
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2224
		// Proof Size summary in bytes:
2224
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2224
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2224
		// Minimum execution time: 19_000_000 picoseconds.
2224
		Weight::from_parts(20_000_000, 3710)
2224
			// Standard Error: 507_202
2224
			.saturating_add(Weight::from_parts(16_073_459, 0).saturating_mul(x.into()))
2224
			// Standard Error: 253_235
2224
			.saturating_add(Weight::from_parts(1_074_727, 0).saturating_mul(y.into()))
2224
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2224
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2224
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2224
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2224
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2224
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2224
	}
	/// 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]`.
84
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
84
		// Proof Size summary in bytes:
84
		//  Measured:  `427 + x * (23 ±0) + y * (36 ±0)`
84
		//  Estimated: `3802 + x * (24 ±0) + y * (36 ±0)`
84
		// Minimum execution time: 16_000_000 picoseconds.
84
		Weight::from_parts(19_300_000, 3802)
84
			// Standard Error: 11_639
84
			.saturating_add(Weight::from_parts(71_555, 0).saturating_mul(x.into()))
84
			// Standard Error: 34_918
84
			.saturating_add(Weight::from_parts(58_666, 0).saturating_mul(y.into()))
84
			.saturating_add(RocksDbWeight::get().reads(2_u64))
84
			.saturating_add(RocksDbWeight::get().writes(1_u64))
84
			.saturating_add(Weight::from_parts(0, 24).saturating_mul(x.into()))
84
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
84
	}
	/// 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]`.
84
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
84
		// Proof Size summary in bytes:
84
		//  Measured:  `0 + x * (61 ±0) + y * (21 ±0) + z * (81 ±0)`
84
		//  Estimated: `13973 + x * (55 ±2) + y * (21 ±2) + z * (86 ±8)`
84
		// Minimum execution time: 79_000_000 picoseconds.
84
		Weight::from_parts(61_282_010, 13973)
84
			// Standard Error: 18_907
84
			.saturating_add(Weight::from_parts(161_692, 0).saturating_mul(x.into()))
84
			// Standard Error: 18_960
84
			.saturating_add(Weight::from_parts(24_780, 0).saturating_mul(y.into()))
84
			// Standard Error: 66_606
84
			.saturating_add(Weight::from_parts(222_324, 0).saturating_mul(z.into()))
84
			.saturating_add(RocksDbWeight::get().reads(11_u64))
84
			.saturating_add(RocksDbWeight::get().writes(8_u64))
84
			.saturating_add(Weight::from_parts(0, 55).saturating_mul(x.into()))
84
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
84
			.saturating_add(Weight::from_parts(0, 86).saturating_mul(z.into()))
84
	}
	/// 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]`.
591
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
591
		// Proof Size summary in bytes:
591
		//  Measured:  `102 + x * (104 ±0)`
591
		//  Estimated: `6051 + x * (2579 ±0)`
591
		// Minimum execution time: 16_000_000 picoseconds.
591
		Weight::from_parts(15_394_420, 6051)
591
			// Standard Error: 171_814
591
			.saturating_add(Weight::from_parts(12_954_526, 0).saturating_mul(x.into()))
591
			.saturating_add(RocksDbWeight::get().reads(3_u64))
591
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
591
			.saturating_add(RocksDbWeight::get().writes(1_u64))
591
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
591
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
591
	}
	/// 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]`.
	fn migrate_locks_to_freezes_batch(x: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `357 + x * (326 ±0)`
		//  Estimated: `1349 + x * (3762 ±1)`
		// Minimum execution time: 55_000_000 picoseconds.
		Weight::from_parts(57_000_000, 1349)
			// Standard Error: 302_933
			.saturating_add(Weight::from_parts(46_808_383, 0).saturating_mul(x.into()))
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(x.into())))
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
	}
}