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_inflation_distribution_config() -> Weight;
54
	fn set_total_selected() -> Weight;
55
	fn set_collator_commission() -> Weight;
56
	fn set_blocks_per_round() -> Weight;
57
	fn join_candidates(x: u32, ) -> Weight;
58
	fn schedule_leave_candidates(x: u32, ) -> Weight;
59
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight;
60
	fn execute_leave_candidates_ideal(x: u32, y: u32, ) -> Weight;
61
	fn cancel_leave_candidates(x: u32, ) -> Weight;
62
	fn go_offline(x: u32, ) -> Weight;
63
	fn go_online(x: u32, ) -> Weight;
64
	fn candidate_bond_more(x: u32, ) -> Weight;
65
	fn schedule_candidate_bond_less() -> Weight;
66
	fn execute_candidate_bond_less(x: u32, ) -> Weight;
67
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight;
68
	fn cancel_candidate_bond_less() -> Weight;
69
	fn schedule_revoke_delegation(x: u32, ) -> Weight;
70
	fn delegator_bond_more(x: u32, ) -> Weight;
71
	fn schedule_delegator_bond_less(x: u32, ) -> Weight;
72
	fn execute_revoke_delegation() -> Weight;
73
	fn execute_delegator_revoke_delegation_worst() -> Weight;
74
	fn execute_delegator_bond_less_worst() -> Weight;
75
	fn cancel_delegation_request(x: u32, ) -> Weight;
76
	fn prepare_staking_payouts() -> Weight;
77
	fn get_rewardable_delegators(y: u32, ) -> Weight;
78
	fn select_top_candidates(x: u32, y: u32, ) -> Weight;
79
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight;
80
	fn pay_one_collator_reward(y: u32, ) -> Weight;
81
	fn base_on_initialize() -> Weight;
82
	fn set_auto_compound(x: u32, y: u32, ) -> Weight;
83
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight;
84
	fn delegate_with_auto_compound_worst() -> Weight;
85
	fn mint_collator_reward() -> Weight;
86
	fn notify_inactive_collator() -> Weight;
87
	fn mark_collators_as_inactive(x: u32, ) -> Weight;
88
}
89

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

            
883
// For backwards compatibility and tests.
884
impl WeightInfo for () {
885
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
886
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
887
	fn set_staking_expectations() -> Weight {
888
		// Proof Size summary in bytes:
889
		//  Measured:  `88`
890
		//  Estimated: `1573`
891
		// Minimum execution time: 7_000_000 picoseconds.
892
		Weight::from_parts(7_000_000, 1573)
893
			.saturating_add(RocksDbWeight::get().reads(1_u64))
894
			.saturating_add(RocksDbWeight::get().writes(1_u64))
895
	}
896
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
897
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
898
	fn set_inflation() -> Weight {
899
		// Proof Size summary in bytes:
900
		//  Measured:  `88`
901
		//  Estimated: `1573`
902
		// Minimum execution time: 25_000_000 picoseconds.
903
		Weight::from_parts(25_000_000, 1573)
904
			.saturating_add(RocksDbWeight::get().reads(1_u64))
905
			.saturating_add(RocksDbWeight::get().writes(1_u64))
906
	}
907
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
908
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
909
	fn set_inflation_distribution_config() -> Weight {
910
		// Proof Size summary in bytes:
911
		//  Measured:  `30`
912
		//  Estimated: `1515`
913
		// Minimum execution time: 6_000_000 picoseconds.
914
		Weight::from_parts(6_000_000, 1515)
915
			.saturating_add(RocksDbWeight::get().reads(1_u64))
916
			.saturating_add(RocksDbWeight::get().writes(1_u64))
917
	}
918
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
919
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
920
	fn set_total_selected() -> Weight {
921
		// Proof Size summary in bytes:
922
		//  Measured:  `28`
923
		//  Estimated: `1513`
924
		// Minimum execution time: 6_000_000 picoseconds.
925
		Weight::from_parts(7_000_000, 1513)
926
			.saturating_add(RocksDbWeight::get().reads(1_u64))
927
			.saturating_add(RocksDbWeight::get().writes(1_u64))
928
	}
929
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
930
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
931
	fn set_collator_commission() -> Weight {
932
		// Proof Size summary in bytes:
933
		//  Measured:  `27`
934
		//  Estimated: `1512`
935
		// Minimum execution time: 5_000_000 picoseconds.
936
		Weight::from_parts(6_000_000, 1512)
937
			.saturating_add(RocksDbWeight::get().reads(1_u64))
938
			.saturating_add(RocksDbWeight::get().writes(1_u64))
939
	}
940
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
941
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
942
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
943
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
944
	fn set_blocks_per_round() -> Weight {
945
		// Proof Size summary in bytes:
946
		//  Measured:  `116`
947
		//  Estimated: `1601`
948
		// Minimum execution time: 26_000_000 picoseconds.
949
		Weight::from_parts(26_000_000, 1601)
950
			.saturating_add(RocksDbWeight::get().reads(2_u64))
951
			.saturating_add(RocksDbWeight::get().writes(1_u64))
952
	}
953
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
954
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
955
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
956
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
957
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
958
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
959
	/// Storage: `System::Account` (r:1 w:1)
960
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
961
	/// Storage: `Balances::Locks` (r:1 w:1)
962
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
963
	/// Storage: `Balances::Freezes` (r:1 w:0)
964
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`)
965
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
966
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
967
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
968
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
969
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
970
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
971
	/// The range of component `x` is `[3, 200]`.
972
20
	fn join_candidates(x: u32, ) -> Weight {
973
20
		// Proof Size summary in bytes:
974
20
		//  Measured:  `1362 + x * (38 ±0)`
975
20
		//  Estimated: `4752 + x * (43 ±1)`
976
20
		// Minimum execution time: 43_000_000 picoseconds.
977
20
		Weight::from_parts(51_090_685, 4752)
978
20
			// Standard Error: 39_546
979
20
			.saturating_add(Weight::from_parts(117_022, 0).saturating_mul(x.into()))
980
20
			.saturating_add(RocksDbWeight::get().reads(7_u64))
981
20
			.saturating_add(RocksDbWeight::get().writes(7_u64))
982
20
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
983
20
	}
984
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
985
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
986
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
987
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
988
	/// The range of component `x` is `[3, 200]`.
989
40
	fn schedule_leave_candidates(x: u32, ) -> Weight {
990
40
		// Proof Size summary in bytes:
991
40
		//  Measured:  `659 + x * (37 ±0)`
992
40
		//  Estimated: `3867 + x * (39 ±0)`
993
40
		// Minimum execution time: 12_000_000 picoseconds.
994
40
		Weight::from_parts(14_592_874, 3867)
995
40
			// Standard Error: 13_311
996
40
			.saturating_add(Weight::from_parts(101_519, 0).saturating_mul(x.into()))
997
40
			.saturating_add(RocksDbWeight::get().reads(2_u64))
998
40
			.saturating_add(RocksDbWeight::get().writes(2_u64))
999
40
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
40
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `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]`.
20
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `1372 + x * (432 ±0)`
20
		//  Estimated: `4840 + x * (3762 ±0)`
20
		// Minimum execution time: 102_000_000 picoseconds.
20
		Weight::from_parts(109_000_000, 4840)
20
			// Standard Error: 412_773
20
			.saturating_add(Weight::from_parts(35_314_060, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(5_u64))
20
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
20
			.saturating_add(RocksDbWeight::get().writes(5_u64))
20
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
20
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
20
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `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]`.
42
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
42
		// Proof Size summary in bytes:
42
		//  Measured:  `1372 + x * (432 ±0)`
42
		//  Estimated: `4840 + x * (3762 ±0)`
42
		// Minimum execution time: 92_000_000 picoseconds.
42
		Weight::from_parts(56_572_030, 4840)
42
			// Standard Error: 750_379
42
			.saturating_add(Weight::from_parts(38_488_122, 0).saturating_mul(x.into()))
42
			.saturating_add(RocksDbWeight::get().reads(5_u64))
42
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
42
			.saturating_add(RocksDbWeight::get().writes(5_u64))
42
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
42
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
42
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
20
	fn cancel_leave_candidates(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `627 + x * (37 ±0)`
20
		//  Estimated: `3835 + x * (39 ±0)`
20
		// Minimum execution time: 13_000_000 picoseconds.
20
		Weight::from_parts(10_913_759, 3835)
20
			// Standard Error: 14_043
20
			.saturating_add(Weight::from_parts(119_429, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(2_u64))
20
			.saturating_add(RocksDbWeight::get().writes(2_u64))
20
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
20
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
72
	fn go_offline(x: u32, ) -> Weight {
72
		// Proof Size summary in bytes:
72
		//  Measured:  `562 + x * (38 ±0)`
72
		//  Estimated: `3828 + x * (39 ±0)`
72
		// Minimum execution time: 12_000_000 picoseconds.
72
		Weight::from_parts(16_077_793, 3828)
72
			// Standard Error: 41_344
72
			.saturating_add(Weight::from_parts(118_318, 0).saturating_mul(x.into()))
72
			.saturating_add(RocksDbWeight::get().reads(2_u64))
72
			.saturating_add(RocksDbWeight::get().writes(2_u64))
72
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
72
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
45
	fn go_online(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `526 + x * (38 ±0)`
45
		//  Estimated: `3791 + x * (39 ±0)`
45
		// Minimum execution time: 12_000_000 picoseconds.
45
		Weight::from_parts(12_777_246, 3791)
45
			// Standard Error: 41_252
45
			.saturating_add(Weight::from_parts(155_250, 0).saturating_mul(x.into()))
45
			.saturating_add(RocksDbWeight::get().reads(2_u64))
45
			.saturating_add(RocksDbWeight::get().writes(2_u64))
45
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::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]`.
45
	fn candidate_bond_more(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `888 + x * (44 ±0)`
45
		//  Estimated: `4752 + x * (45 ±1)`
45
		// Minimum execution time: 39_000_000 picoseconds.
45
		Weight::from_parts(80_052_584, 4752)
45
			.saturating_add(RocksDbWeight::get().reads(6_u64))
45
			.saturating_add(RocksDbWeight::get().writes(5_u64))
45
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
40
	fn schedule_candidate_bond_less() -> Weight {
40
		// Proof Size summary in bytes:
40
		//  Measured:  `171`
40
		//  Estimated: `3636`
40
		// Minimum execution time: 11_000_000 picoseconds.
40
		Weight::from_parts(11_000_000, 3636)
40
			.saturating_add(RocksDbWeight::get().reads(1_u64))
40
			.saturating_add(RocksDbWeight::get().writes(1_u64))
40
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `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]`.
45
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `1047 + x * (43 ±0)`
45
		//  Estimated: `4752 + x * (45 ±1)`
45
		// Minimum execution time: 56_000_000 picoseconds.
45
		Weight::from_parts(65_308_750, 4752)
45
			// Standard Error: 27_804
45
			.saturating_add(Weight::from_parts(63_452, 0).saturating_mul(x.into()))
45
			.saturating_add(RocksDbWeight::get().reads(6_u64))
45
			.saturating_add(RocksDbWeight::get().writes(5_u64))
45
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// 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`)
20
	fn cancel_candidate_bond_less() -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `191`
20
		//  Estimated: `3656`
20
		// Minimum execution time: 9_000_000 picoseconds.
20
		Weight::from_parts(10_000_000, 3656)
20
			.saturating_add(RocksDbWeight::get().reads(1_u64))
20
			.saturating_add(RocksDbWeight::get().writes(1_u64))
20
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
165
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
165
		// Proof Size summary in bytes:
165
		//  Measured:  `233 + x * (43 ±0)`
165
		//  Estimated: `3832 + x * (44 ±0)`
165
		// Minimum execution time: 13_000_000 picoseconds.
165
		Weight::from_parts(22_029_927, 3832)
165
			// Standard Error: 29_029
165
			.saturating_add(Weight::from_parts(126_885, 0).saturating_mul(x.into()))
165
			.saturating_add(RocksDbWeight::get().reads(2_u64))
165
			.saturating_add(RocksDbWeight::get().writes(2_u64))
165
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
165
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `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]`.
60
	fn delegator_bond_more(x: u32, ) -> Weight {
60
		// Proof Size summary in bytes:
60
		//  Measured:  `2213 + x * (78 ±0)`
60
		//  Estimated: `5205 + x * (78 ±1)`
60
		// Minimum execution time: 52_000_000 picoseconds.
60
		Weight::from_parts(60_166_622, 5205)
60
			// Standard Error: 12_333
60
			.saturating_add(Weight::from_parts(128_396, 0).saturating_mul(x.into()))
60
			.saturating_add(RocksDbWeight::get().reads(9_u64))
60
			.saturating_add(RocksDbWeight::get().writes(7_u64))
60
			.saturating_add(Weight::from_parts(0, 78).saturating_mul(x.into()))
60
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
107
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
107
		// Proof Size summary in bytes:
107
		//  Measured:  `233 + x * (43 ±0)`
107
		//  Estimated: `3832 + x * (44 ±0)`
107
		// Minimum execution time: 13_000_000 picoseconds.
107
		Weight::from_parts(17_016_506, 3832)
107
			// Standard Error: 7_815
107
			.saturating_add(Weight::from_parts(76_828, 0).saturating_mul(x.into()))
107
			.saturating_add(RocksDbWeight::get().reads(2_u64))
107
			.saturating_add(RocksDbWeight::get().writes(2_u64))
107
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
107
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w: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`)
115
	fn execute_delegator_revoke_delegation_worst() -> Weight {
115
		// Proof Size summary in bytes:
115
		//  Measured:  `37381`
115
		//  Estimated: `40846`
115
		// Minimum execution time: 128_000_000 picoseconds.
115
		Weight::from_parts(138_000_000, 40846)
115
			.saturating_add(RocksDbWeight::get().reads(11_u64))
115
			.saturating_add(RocksDbWeight::get().writes(10_u64))
115
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `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]`.
88
	fn cancel_delegation_request(x: u32, ) -> Weight {
88
		// Proof Size summary in bytes:
88
		//  Measured:  `528 + x * (42 ±0)`
88
		//  Estimated: `3947 + x * (43 ±0)`
88
		// Minimum execution time: 22_000_000 picoseconds.
88
		Weight::from_parts(29_807_614, 3947)
88
			// Standard Error: 3_792
88
			.saturating_add(Weight::from_parts(47_794, 0).saturating_mul(x.into()))
88
			.saturating_add(RocksDbWeight::get().reads(2_u64))
88
			.saturating_add(RocksDbWeight::get().writes(2_u64))
88
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
88
	}
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
570
	fn prepare_staking_payouts() -> Weight {
570
		// Proof Size summary in bytes:
570
		//  Measured:  `3`
570
		//  Estimated: `3468`
570
		// Minimum execution time: 2_000_000 picoseconds.
570
		Weight::from_parts(2_000_000, 3468)
570
			.saturating_add(RocksDbWeight::get().reads(1_u64))
570
	}
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:0)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `y` is `[0, 100]`.
	fn get_rewardable_delegators(y: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `88 + y * (36 ±0)`
		//  Estimated: `3553 + y * (36 ±0)`
		// Minimum execution time: 6_000_000 picoseconds.
		Weight::from_parts(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]`.
2142
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2142
		// Proof Size summary in bytes:
2142
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2142
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2142
		// Minimum execution time: 17_000_000 picoseconds.
2142
		Weight::from_parts(17_000_000, 3710)
2142
			// Standard Error: 511_946
2142
			.saturating_add(Weight::from_parts(14_998_220, 0).saturating_mul(x.into()))
2142
			// Standard Error: 255_604
2142
			.saturating_add(Weight::from_parts(965_856, 0).saturating_mul(y.into()))
2142
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2142
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2142
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2142
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2142
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2142
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2142
	}
	/// Storage: `System::Account` (r:349 w:349)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `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]`.
80
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `609 + x * (23 ±0) + y * (40 ±0)`
80
		//  Estimated: `3801 + x * (24 ±0) + y * (42 ±0)`
80
		// Minimum execution time: 17_000_000 picoseconds.
80
		Weight::from_parts(10_666_666, 3801)
80
			// Standard Error: 2_757
80
			.saturating_add(Weight::from_parts(46_666, 0).saturating_mul(x.into()))
80
			// Standard Error: 8_272
80
			.saturating_add(Weight::from_parts(88_000, 0).saturating_mul(y.into()))
80
			.saturating_add(RocksDbWeight::get().reads(2_u64))
80
			.saturating_add(RocksDbWeight::get().writes(1_u64))
80
			.saturating_add(Weight::from_parts(0, 24).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 42).saturating_mul(y.into()))
80
	}
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::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]`.
80
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `0 + x * (62 ±0) + y * (21 ±0) + z * (83 ±0)`
80
		//  Estimated: `14054 + x * (56 ±2) + y * (21 ±2) + z * (91 ±8)`
80
		// Minimum execution time: 76_000_000 picoseconds.
80
		Weight::from_parts(49_185_312, 14054)
80
			// Standard Error: 6_962
80
			.saturating_add(Weight::from_parts(114_469, 0).saturating_mul(x.into()))
80
			// Standard Error: 6_982
80
			.saturating_add(Weight::from_parts(3_680, 0).saturating_mul(y.into()))
80
			// Standard Error: 24_527
80
			.saturating_add(Weight::from_parts(243_104, 0).saturating_mul(z.into()))
80
			.saturating_add(RocksDbWeight::get().reads(10_u64))
80
			.saturating_add(RocksDbWeight::get().writes(8_u64))
80
			.saturating_add(Weight::from_parts(0, 56).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
80
			.saturating_add(Weight::from_parts(0, 91).saturating_mul(z.into()))
80
	}
	/// Storage: `System::Account` (r:2 w:2)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::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]`.
570
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
570
		// Proof Size summary in bytes:
570
		//  Measured:  `102 + x * (104 ±0)`
570
		//  Estimated: `6051 + x * (2579 ±0)`
570
		// Minimum execution time: 14_000_000 picoseconds.
570
		Weight::from_parts(16_482_552, 6051)
570
			// Standard Error: 82_188
570
			.saturating_add(Weight::from_parts(11_002_047, 0).saturating_mul(x.into()))
570
			.saturating_add(RocksDbWeight::get().reads(3_u64))
570
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
570
			.saturating_add(RocksDbWeight::get().writes(1_u64))
570
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
570
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
570
	}
}