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 43.0.0
20
//! DATE: 2025-03-13, STEPS: `5`, REPEAT: `5`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21
//! WORST CASE MAP SIZE: `1000000`
22
//! HOSTNAME: `Mac`, 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_parachain_bond_account() -> Weight;
54
	fn set_parachain_bond_reserve_percent() -> Weight;
55
	fn set_inflation_distribution_config() -> Weight;
56
	fn set_total_selected() -> Weight;
57
	fn set_collator_commission() -> Weight;
58
	fn set_blocks_per_round() -> Weight;
59
	fn join_candidates(x: u32, ) -> Weight;
60
	fn schedule_leave_candidates(x: u32, ) -> Weight;
61
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight;
62
	fn execute_leave_candidates_ideal(x: u32, y: u32, ) -> Weight;
63
	fn cancel_leave_candidates(x: u32, ) -> Weight;
64
	fn go_offline(x: u32, ) -> Weight;
65
	fn go_online(x: u32, ) -> Weight;
66
	fn candidate_bond_more(x: u32, ) -> Weight;
67
	fn schedule_candidate_bond_less() -> Weight;
68
	fn execute_candidate_bond_less(x: u32, ) -> Weight;
69
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight;
70
	fn cancel_candidate_bond_less() -> Weight;
71
	fn schedule_revoke_delegation(x: u32, ) -> Weight;
72
	fn delegator_bond_more(x: u32, ) -> Weight;
73
	fn schedule_delegator_bond_less(x: u32, ) -> Weight;
74
	fn execute_revoke_delegation() -> Weight;
75
	fn execute_delegator_revoke_delegation_worst() -> Weight;
76
	fn execute_delegator_bond_less_worst() -> Weight;
77
	fn cancel_delegation_request(x: u32, ) -> Weight;
78
	fn prepare_staking_payouts() -> Weight;
79
	fn get_rewardable_delegators(y: u32, ) -> Weight;
80
	fn select_top_candidates(x: u32, y: u32, ) -> Weight;
81
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight;
82
	fn pay_one_collator_reward(y: u32, ) -> Weight;
83
	fn base_on_initialize() -> Weight;
84
	fn set_auto_compound(x: u32, y: u32, ) -> Weight;
85
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight;
86
	fn delegate_with_auto_compound_worst() -> Weight;
87
	fn mint_collator_reward() -> Weight;
88
	fn notify_inactive_collator() -> Weight;
89
	fn mark_collators_as_inactive(x: u32, ) -> Weight;
90
}
91

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

            
907
// For backwards compatibility and tests.
908
impl WeightInfo for () {
909
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
910
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
911
	fn set_staking_expectations() -> Weight {
912
		// Proof Size summary in bytes:
913
		//  Measured:  `88`
914
		//  Estimated: `1573`
915
		// Minimum execution time: 7_000_000 picoseconds.
916
		Weight::from_parts(7_000_000, 1573)
917
			.saturating_add(RocksDbWeight::get().reads(1_u64))
918
			.saturating_add(RocksDbWeight::get().writes(1_u64))
919
	}
920
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
921
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
922
	fn set_inflation() -> Weight {
923
		// Proof Size summary in bytes:
924
		//  Measured:  `88`
925
		//  Estimated: `1573`
926
		// Minimum execution time: 25_000_000 picoseconds.
927
		Weight::from_parts(25_000_000, 1573)
928
			.saturating_add(RocksDbWeight::get().reads(1_u64))
929
			.saturating_add(RocksDbWeight::get().writes(1_u64))
930
	}
931
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
932
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
933
	fn set_parachain_bond_account() -> Weight {
934
		// Proof Size summary in bytes:
935
		//  Measured:  `30`
936
		//  Estimated: `1515`
937
		// Minimum execution time: 7_000_000 picoseconds.
938
		Weight::from_parts(8_000_000, 1515)
939
			.saturating_add(RocksDbWeight::get().reads(1_u64))
940
			.saturating_add(RocksDbWeight::get().writes(1_u64))
941
	}
942
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
943
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
944
	fn set_parachain_bond_reserve_percent() -> Weight {
945
		// Proof Size summary in bytes:
946
		//  Measured:  `30`
947
		//  Estimated: `1515`
948
		// Minimum execution time: 8_000_000 picoseconds.
949
		Weight::from_parts(8_000_000, 1515)
950
			.saturating_add(RocksDbWeight::get().reads(1_u64))
951
			.saturating_add(RocksDbWeight::get().writes(1_u64))
952
	}
953
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
954
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
955
	fn set_inflation_distribution_config() -> Weight {
956
		// Proof Size summary in bytes:
957
		//  Measured:  `30`
958
		//  Estimated: `1515`
959
		// Minimum execution time: 6_000_000 picoseconds.
960
		Weight::from_parts(6_000_000, 1515)
961
			.saturating_add(RocksDbWeight::get().reads(1_u64))
962
			.saturating_add(RocksDbWeight::get().writes(1_u64))
963
	}
964
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
965
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
966
	fn set_total_selected() -> Weight {
967
		// Proof Size summary in bytes:
968
		//  Measured:  `28`
969
		//  Estimated: `1513`
970
		// Minimum execution time: 6_000_000 picoseconds.
971
		Weight::from_parts(7_000_000, 1513)
972
			.saturating_add(RocksDbWeight::get().reads(1_u64))
973
			.saturating_add(RocksDbWeight::get().writes(1_u64))
974
	}
975
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
976
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
977
	fn set_collator_commission() -> Weight {
978
		// Proof Size summary in bytes:
979
		//  Measured:  `27`
980
		//  Estimated: `1512`
981
		// Minimum execution time: 5_000_000 picoseconds.
982
		Weight::from_parts(6_000_000, 1512)
983
			.saturating_add(RocksDbWeight::get().reads(1_u64))
984
			.saturating_add(RocksDbWeight::get().writes(1_u64))
985
	}
986
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
987
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
988
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
989
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
990
	fn set_blocks_per_round() -> Weight {
991
		// Proof Size summary in bytes:
992
		//  Measured:  `116`
993
		//  Estimated: `1601`
994
		// Minimum execution time: 26_000_000 picoseconds.
995
		Weight::from_parts(26_000_000, 1601)
996
			.saturating_add(RocksDbWeight::get().reads(2_u64))
997
			.saturating_add(RocksDbWeight::get().writes(1_u64))
998
	}
999
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`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: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// 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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
21
	fn join_candidates(x: u32, ) -> Weight {
21
		// Proof Size summary in bytes:
21
		//  Measured:  `1362 + x * (38 ±0)`
21
		//  Estimated: `4752 + x * (43 ±1)`
21
		// Minimum execution time: 43_000_000 picoseconds.
21
		Weight::from_parts(51_090_685, 4752)
21
			// Standard Error: 39_546
21
			.saturating_add(Weight::from_parts(117_022, 0).saturating_mul(x.into()))
21
			.saturating_add(RocksDbWeight::get().reads(7_u64))
21
			.saturating_add(RocksDbWeight::get().writes(7_u64))
21
			.saturating_add(Weight::from_parts(0, 43).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 `[3, 200]`.
42
	fn schedule_leave_candidates(x: u32, ) -> Weight {
42
		// Proof Size summary in bytes:
42
		//  Measured:  `659 + x * (37 ±0)`
42
		//  Estimated: `3867 + x * (39 ±0)`
42
		// Minimum execution time: 12_000_000 picoseconds.
42
		Weight::from_parts(14_592_874, 3867)
42
			// Standard Error: 13_311
42
			.saturating_add(Weight::from_parts(101_519, 0).saturating_mul(x.into()))
42
			.saturating_add(RocksDbWeight::get().reads(2_u64))
42
			.saturating_add(RocksDbWeight::get().writes(2_u64))
42
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
42
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::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: `Balances::Locks` (r:350 w:350)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:350 w:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:350 w:350)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, 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:  `1372 + x * (432 ±0)`
21
		//  Estimated: `4840 + x * (3762 ±0)`
21
		// Minimum execution time: 102_000_000 picoseconds.
21
		Weight::from_parts(109_000_000, 4840)
21
			// Standard Error: 412_773
21
			.saturating_add(Weight::from_parts(35_314_060, 0).saturating_mul(x.into()))
21
			.saturating_add(RocksDbWeight::get().reads(5_u64))
21
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
21
			.saturating_add(RocksDbWeight::get().writes(5_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: `Balances::Locks` (r:350 w:350)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:350 w:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:350 w:350)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[2, 350]`.
	/// The range of component `y` is `[2, 350]`.
43
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
43
		// Proof Size summary in bytes:
43
		//  Measured:  `1372 + x * (432 ±0)`
43
		//  Estimated: `4840 + x * (3762 ±0)`
43
		// Minimum execution time: 92_000_000 picoseconds.
43
		Weight::from_parts(56_572_030, 4840)
43
			// Standard Error: 750_379
43
			.saturating_add(Weight::from_parts(38_488_122, 0).saturating_mul(x.into()))
43
			.saturating_add(RocksDbWeight::get().reads(5_u64))
43
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
43
			.saturating_add(RocksDbWeight::get().writes(5_u64))
43
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
43
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
43
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
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: 13_000_000 picoseconds.
21
		Weight::from_parts(10_913_759, 3835)
21
			// Standard Error: 14_043
21
			.saturating_add(Weight::from_parts(119_429, 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: 12_000_000 picoseconds.
75
		Weight::from_parts(16_077_793, 3828)
75
			// Standard Error: 41_344
75
			.saturating_add(Weight::from_parts(118_318, 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: 12_000_000 picoseconds.
47
		Weight::from_parts(12_777_246, 3791)
47
			// Standard Error: 41_252
47
			.saturating_add(Weight::from_parts(155_250, 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::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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]`.
47
	fn candidate_bond_more(x: u32, ) -> Weight {
47
		// Proof Size summary in bytes:
47
		//  Measured:  `888 + x * (44 ±0)`
47
		//  Estimated: `4752 + x * (45 ±1)`
47
		// Minimum execution time: 39_000_000 picoseconds.
47
		Weight::from_parts(80_052_584, 4752)
47
			.saturating_add(RocksDbWeight::get().reads(6_u64))
47
			.saturating_add(RocksDbWeight::get().writes(5_u64))
47
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
47
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
42
	fn schedule_candidate_bond_less() -> Weight {
42
		// Proof Size summary in bytes:
42
		//  Measured:  `171`
42
		//  Estimated: `3636`
42
		// Minimum execution time: 11_000_000 picoseconds.
42
		Weight::from_parts(11_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: `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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]`.
47
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
47
		// Proof Size summary in bytes:
47
		//  Measured:  `1047 + x * (43 ±0)`
47
		//  Estimated: `4752 + x * (45 ±1)`
47
		// Minimum execution time: 56_000_000 picoseconds.
47
		Weight::from_parts(65_308_750, 4752)
47
			// Standard Error: 27_804
47
			.saturating_add(Weight::from_parts(63_452, 0).saturating_mul(x.into()))
47
			.saturating_add(RocksDbWeight::get().reads(6_u64))
47
			.saturating_add(RocksDbWeight::get().writes(5_u64))
47
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
47
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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]`.
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `1027 + x * (43 ±0)`
		//  Estimated: `4752 + x * (45 ±1)`
		// Minimum execution time: 49_000_000 picoseconds.
		Weight::from_parts(66_235_642, 4752)
			.saturating_add(RocksDbWeight::get().reads(6_u64))
			.saturating_add(RocksDbWeight::get().writes(5_u64))
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
	}
	/// 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: 9_000_000 picoseconds.
21
		Weight::from_parts(10_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: 13_000_000 picoseconds.
171
		Weight::from_parts(22_029_927, 3832)
171
			// Standard Error: 29_029
171
			.saturating_add(Weight::from_parts(126_885, 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: `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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:  `2213 + x * (78 ±0)`
62
		//  Estimated: `5205 + x * (78 ±1)`
62
		// Minimum execution time: 52_000_000 picoseconds.
62
		Weight::from_parts(60_166_622, 5205)
62
			// Standard Error: 12_333
62
			.saturating_add(Weight::from_parts(128_396, 0).saturating_mul(x.into()))
62
			.saturating_add(RocksDbWeight::get().reads(9_u64))
62
			.saturating_add(RocksDbWeight::get().writes(7_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: 13_000_000 picoseconds.
111
		Weight::from_parts(17_016_506, 3832)
111
			// Standard Error: 7_815
111
			.saturating_add(Weight::from_parts(76_828, 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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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::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_revoke_delegation() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `1066`
		//  Estimated: `4752`
		// Minimum execution time: 74_000_000 picoseconds.
		Weight::from_parts(81_000_000, 4752)
			.saturating_add(RocksDbWeight::get().reads(10_u64))
			.saturating_add(RocksDbWeight::get().writes(9_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`)
	/// 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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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:  `37381`
119
		//  Estimated: `40846`
119
		// Minimum execution time: 128_000_000 picoseconds.
119
		Weight::from_parts(138_000_000, 40846)
119
			.saturating_add(RocksDbWeight::get().reads(11_u64))
119
			.saturating_add(RocksDbWeight::get().writes(10_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: `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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:  `30003`
		//  Estimated: `33468`
		// Minimum execution time: 107_000_000 picoseconds.
		Weight::from_parts(119_000_000, 33468)
			.saturating_add(RocksDbWeight::get().reads(10_u64))
			.saturating_add(RocksDbWeight::get().writes(9_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: 22_000_000 picoseconds.
92
		Weight::from_parts(29_807_614, 3947)
92
			// Standard Error: 3_792
92
			.saturating_add(Weight::from_parts(47_794, 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`)
587
	fn prepare_staking_payouts() -> Weight {
587
		// Proof Size summary in bytes:
587
		//  Measured:  `3`
587
		//  Estimated: `3468`
587
		// Minimum execution time: 2_000_000 picoseconds.
587
		Weight::from_parts(2_000_000, 3468)
587
			.saturating_add(RocksDbWeight::get().reads(1_u64))
587
	}
	/// 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(5_933_333, 3553)
			// Standard Error: 3_469
			.saturating_add(Weight::from_parts(40_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]`.
2234
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2234
		// Proof Size summary in bytes:
2234
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2234
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2234
		// Minimum execution time: 17_000_000 picoseconds.
2234
		Weight::from_parts(17_000_000, 3710)
2234
			// Standard Error: 511_946
2234
			.saturating_add(Weight::from_parts(14_998_220, 0).saturating_mul(x.into()))
2234
			// Standard Error: 255_604
2234
			.saturating_add(Weight::from_parts(965_856, 0).saturating_mul(y.into()))
2234
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2234
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2234
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2234
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2234
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2234
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2234
	}
	/// 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: `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:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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 * (397 ±0) + y * (152 ±0) + z * (41 ±0)`
50
		//  Estimated: `328284 + x * (2591 ±16) + y * (1733 ±16) + z * (41 ±0)`
50
		// Minimum execution time: 0_000 picoseconds.
50
		Weight::from_parts(0, 328284)
50
			// Standard Error: 3_399_580
50
			.saturating_add(Weight::from_parts(46_644_731, 0).saturating_mul(x.into()))
50
			// Standard Error: 3_399_580
50
			.saturating_add(Weight::from_parts(27_995_266, 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((2_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().writes((1_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:  `1463 + y * (162 ±0)`
50
		//  Estimated: `7009 + y * (2591 ±0)`
50
		// Minimum execution time: 42_000_000 picoseconds.
50
		Weight::from_parts(34_266_666, 7009)
50
			// Standard Error: 22_925
50
			.saturating_add(Weight::from_parts(15_644_000, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads(8_u64))
50
			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes(3_u64))
50
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
50
	}
1231
	fn base_on_initialize() -> Weight {
1231
		// Proof Size summary in bytes:
1231
		//  Measured:  `0`
1231
		//  Estimated: `0`
1231
		// Minimum execution time: 0_000 picoseconds.
1231
		Weight::from_parts(1_000_000, 0)
1231
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 300]`.
	/// The range of component `y` is `[0, 100]`.
84
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
84
		// Proof Size summary in bytes:
84
		//  Measured:  `609 + x * (23 ±0) + y * (40 ±0)`
84
		//  Estimated: `3801 + x * (24 ±0) + y * (42 ±0)`
84
		// Minimum execution time: 17_000_000 picoseconds.
84
		Weight::from_parts(10_666_666, 3801)
84
			// Standard Error: 2_757
84
			.saturating_add(Weight::from_parts(46_666, 0).saturating_mul(x.into()))
84
			// Standard Error: 8_272
84
			.saturating_add(Weight::from_parts(88_000, 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, 42).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::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:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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 * (62 ±0) + y * (21 ±0) + z * (83 ±0)`
84
		//  Estimated: `14054 + x * (56 ±2) + y * (21 ±2) + z * (91 ±8)`
84
		// Minimum execution time: 76_000_000 picoseconds.
84
		Weight::from_parts(49_185_312, 14054)
84
			// Standard Error: 6_962
84
			.saturating_add(Weight::from_parts(114_469, 0).saturating_mul(x.into()))
84
			// Standard Error: 6_982
84
			.saturating_add(Weight::from_parts(3_680, 0).saturating_mul(y.into()))
84
			// Standard Error: 24_527
84
			.saturating_add(Weight::from_parts(243_104, 0).saturating_mul(z.into()))
84
			.saturating_add(RocksDbWeight::get().reads(10_u64))
84
			.saturating_add(RocksDbWeight::get().writes(8_u64))
84
			.saturating_add(Weight::from_parts(0, 56).saturating_mul(x.into()))
84
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
84
			.saturating_add(Weight::from_parts(0, 91).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::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:2)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:2 w:0)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, 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:  `48170`
		//  Estimated: `54110`
		// Minimum execution time: 179_000_000 picoseconds.
		Weight::from_parts(180_000_000, 54110)
			.saturating_add(RocksDbWeight::get().reads(15_u64))
			.saturating_add(RocksDbWeight::get().writes(13_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: 16_000_000 picoseconds.
50
		Weight::from_parts(17_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: 47_000_000 picoseconds.
		Weight::from_parts(48_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]`.
587
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
587
		// Proof Size summary in bytes:
587
		//  Measured:  `102 + x * (104 ±0)`
587
		//  Estimated: `6051 + x * (2579 ±0)`
587
		// Minimum execution time: 14_000_000 picoseconds.
587
		Weight::from_parts(16_482_552, 6051)
587
			// Standard Error: 82_188
587
			.saturating_add(Weight::from_parts(11_002_047, 0).saturating_mul(x.into()))
587
			.saturating_add(RocksDbWeight::get().reads(3_u64))
587
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
587
			.saturating_add(RocksDbWeight::get().writes(1_u64))
587
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
587
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
587
	}
}