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

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

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

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

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

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

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

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

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

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

            
923
// For backwards compatibility and tests.
924
impl WeightInfo for () {
925
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
926
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
927
	fn set_staking_expectations() -> Weight {
928
		// Proof Size summary in bytes:
929
		//  Measured:  `88`
930
		//  Estimated: `1573`
931
		// Minimum execution time: 8_000_000 picoseconds.
932
		Weight::from_parts(10_000_000, 1573)
933
			.saturating_add(RocksDbWeight::get().reads(1_u64))
934
			.saturating_add(RocksDbWeight::get().writes(1_u64))
935
	}
936
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
937
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
938
	fn set_inflation() -> Weight {
939
		// Proof Size summary in bytes:
940
		//  Measured:  `88`
941
		//  Estimated: `1573`
942
		// Minimum execution time: 25_000_000 picoseconds.
943
		Weight::from_parts(27_000_000, 1573)
944
			.saturating_add(RocksDbWeight::get().reads(1_u64))
945
			.saturating_add(RocksDbWeight::get().writes(1_u64))
946
	}
947
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
948
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
949
	fn set_inflation_distribution_config() -> Weight {
950
		// Proof Size summary in bytes:
951
		//  Measured:  `30`
952
		//  Estimated: `1515`
953
		// Minimum execution time: 7_000_000 picoseconds.
954
		Weight::from_parts(7_000_000, 1515)
955
			.saturating_add(RocksDbWeight::get().reads(1_u64))
956
			.saturating_add(RocksDbWeight::get().writes(1_u64))
957
	}
958
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
959
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
960
	fn set_total_selected() -> Weight {
961
		// Proof Size summary in bytes:
962
		//  Measured:  `28`
963
		//  Estimated: `1513`
964
		// Minimum execution time: 8_000_000 picoseconds.
965
		Weight::from_parts(8_000_000, 1513)
966
			.saturating_add(RocksDbWeight::get().reads(1_u64))
967
			.saturating_add(RocksDbWeight::get().writes(1_u64))
968
	}
969
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
970
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
971
	fn set_collator_commission() -> Weight {
972
		// Proof Size summary in bytes:
973
		//  Measured:  `27`
974
		//  Estimated: `1512`
975
		// Minimum execution time: 7_000_000 picoseconds.
976
		Weight::from_parts(8_000_000, 1512)
977
			.saturating_add(RocksDbWeight::get().reads(1_u64))
978
			.saturating_add(RocksDbWeight::get().writes(1_u64))
979
	}
980
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
981
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
982
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
983
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
984
	fn set_blocks_per_round() -> Weight {
985
		// Proof Size summary in bytes:
986
		//  Measured:  `116`
987
		//  Estimated: `1601`
988
		// Minimum execution time: 29_000_000 picoseconds.
989
		Weight::from_parts(29_000_000, 1601)
990
			.saturating_add(RocksDbWeight::get().reads(2_u64))
991
			.saturating_add(RocksDbWeight::get().writes(1_u64))
992
	}
993
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
994
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
995
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
996
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
997
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
998
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
999
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:0)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Locks` (r:1 w:0)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
20
	fn join_candidates(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `1406 + x * (38 ±0)`
20
		//  Estimated: `4752 + x * (43 ±1)`
20
		// Minimum execution time: 57_000_000 picoseconds.
20
		Weight::from_parts(62_371_559, 4752)
20
			// Standard Error: 37_712
20
			.saturating_add(Weight::from_parts(123_469, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(8_u64))
20
			.saturating_add(RocksDbWeight::get().writes(7_u64))
20
			.saturating_add(Weight::from_parts(0, 43).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 `[3, 200]`.
40
	fn schedule_leave_candidates(x: u32, ) -> Weight {
40
		// Proof Size summary in bytes:
40
		//  Measured:  `659 + x * (37 ±0)`
40
		//  Estimated: `3867 + x * (39 ±0)`
40
		// Minimum execution time: 16_000_000 picoseconds.
40
		Weight::from_parts(19_575_089, 3867)
40
			// Standard Error: 13_668
40
			.saturating_add(Weight::from_parts(105_647, 0).saturating_mul(x.into()))
40
			.saturating_add(RocksDbWeight::get().reads(2_u64))
40
			.saturating_add(RocksDbWeight::get().writes(2_u64))
40
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
40
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:350 w:350)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:350 w:350)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Locks` (r:350 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[2, 350]`.
20
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `1169 + x * (456 ±0)`
20
		//  Estimated: `4830 + x * (3762 ±3)`
20
		// Minimum execution time: 137_000_000 picoseconds.
20
		Weight::from_parts(137_000_000, 4830)
20
			// Standard Error: 632_958
20
			.saturating_add(Weight::from_parts(42_365_414, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(4_u64))
20
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
20
			.saturating_add(RocksDbWeight::get().writes(6_u64))
20
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
20
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
20
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:350 w:350)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:350 w:350)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Locks` (r:350 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[2, 350]`.
	/// The range of component `y` is `[2, 350]`.
43
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
43
		// Proof Size summary in bytes:
43
		//  Measured:  `1169 + x * (456 ±0)`
43
		//  Estimated: `4830 + x * (3762 ±0)`
43
		// Minimum execution time: 111_000_000 picoseconds.
43
		Weight::from_parts(149_062_452, 4830)
43
			// Standard Error: 616_234
43
			.saturating_add(Weight::from_parts(43_983_652, 0).saturating_mul(x.into()))
43
			.saturating_add(RocksDbWeight::get().reads(4_u64))
43
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
43
			.saturating_add(RocksDbWeight::get().writes(6_u64))
43
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
43
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
43
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[3, 200]`.
20
	fn cancel_leave_candidates(x: u32, ) -> Weight {
20
		// Proof Size summary in bytes:
20
		//  Measured:  `627 + x * (37 ±0)`
20
		//  Estimated: `3835 + x * (39 ±0)`
20
		// Minimum execution time: 15_000_000 picoseconds.
20
		Weight::from_parts(17_412_225, 3835)
20
			// Standard Error: 9_403
20
			.saturating_add(Weight::from_parts(92_764, 0).saturating_mul(x.into()))
20
			.saturating_add(RocksDbWeight::get().reads(2_u64))
20
			.saturating_add(RocksDbWeight::get().writes(2_u64))
20
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
20
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
72
	fn go_offline(x: u32, ) -> Weight {
72
		// Proof Size summary in bytes:
72
		//  Measured:  `562 + x * (38 ±0)`
72
		//  Estimated: `3828 + x * (39 ±0)`
72
		// Minimum execution time: 15_000_000 picoseconds.
72
		Weight::from_parts(17_962_310, 3828)
72
			// Standard Error: 10_178
72
			.saturating_add(Weight::from_parts(80_881, 0).saturating_mul(x.into()))
72
			.saturating_add(RocksDbWeight::get().reads(2_u64))
72
			.saturating_add(RocksDbWeight::get().writes(2_u64))
72
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
72
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
45
	fn go_online(x: u32, ) -> Weight {
45
		// Proof Size summary in bytes:
45
		//  Measured:  `526 + x * (38 ±0)`
45
		//  Estimated: `3791 + x * (39 ±0)`
45
		// Minimum execution time: 14_000_000 picoseconds.
45
		Weight::from_parts(17_749_962, 3791)
45
			// Standard Error: 12_623
45
			.saturating_add(Weight::from_parts(88_989, 0).saturating_mul(x.into()))
45
			.saturating_add(RocksDbWeight::get().reads(2_u64))
45
			.saturating_add(RocksDbWeight::get().writes(2_u64))
45
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
45
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
47
	fn candidate_bond_more(x: u32, ) -> Weight {
47
		// Proof Size summary in bytes:
47
		//  Measured:  `932 + x * (44 ±0)`
47
		//  Estimated: `4752 + x * (45 ±1)`
47
		// Minimum execution time: 82_000_000 picoseconds.
47
		Weight::from_parts(87_570_121, 4752)
47
			// Standard Error: 22_771
47
			.saturating_add(Weight::from_parts(80_803, 0).saturating_mul(x.into()))
47
			.saturating_add(RocksDbWeight::get().reads(7_u64))
47
			.saturating_add(RocksDbWeight::get().writes(7_u64))
47
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
47
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
40
	fn schedule_candidate_bond_less() -> Weight {
40
		// Proof Size summary in bytes:
40
		//  Measured:  `171`
40
		//  Estimated: `3636`
40
		// Minimum execution time: 12_000_000 picoseconds.
40
		Weight::from_parts(13_000_000, 3636)
40
			.saturating_add(RocksDbWeight::get().reads(1_u64))
40
			.saturating_add(RocksDbWeight::get().writes(1_u64))
40
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
46
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
46
		// Proof Size summary in bytes:
46
		//  Measured:  `1091 + x * (43 ±0)`
46
		//  Estimated: `4752 + x * (45 ±1)`
46
		// Minimum execution time: 87_000_000 picoseconds.
46
		Weight::from_parts(116_267_098, 4752)
46
			.saturating_add(RocksDbWeight::get().reads(7_u64))
46
			.saturating_add(RocksDbWeight::get().writes(7_u64))
46
			.saturating_add(Weight::from_parts(0, 45).saturating_mul(x.into()))
46
	}
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// 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:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[1, 200]`.
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `1071 + x * (43 ±0)`
		//  Estimated: `4752 + x * (45 ±1)`
		// Minimum execution time: 57_000_000 picoseconds.
		Weight::from_parts(71_109_730, 4752)
			// Standard Error: 29_332
			.saturating_add(Weight::from_parts(44_813, 0).saturating_mul(x.into()))
			.saturating_add(RocksDbWeight::get().reads(6_u64))
			.saturating_add(RocksDbWeight::get().writes(6_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: 12_000_000 picoseconds.
20
		Weight::from_parts(12_000_000, 3656)
20
			.saturating_add(RocksDbWeight::get().reads(1_u64))
20
			.saturating_add(RocksDbWeight::get().writes(1_u64))
20
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
165
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
165
		// Proof Size summary in bytes:
165
		//  Measured:  `233 + x * (43 ±0)`
165
		//  Estimated: `3832 + x * (44 ±0)`
165
		// Minimum execution time: 14_000_000 picoseconds.
165
		Weight::from_parts(19_302_147, 3832)
165
			// Standard Error: 13_114
165
			.saturating_add(Weight::from_parts(108_100, 0).saturating_mul(x.into()))
165
			.saturating_add(RocksDbWeight::get().reads(2_u64))
165
			.saturating_add(RocksDbWeight::get().writes(2_u64))
165
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
165
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
60
	fn delegator_bond_more(x: u32, ) -> Weight {
60
		// Proof Size summary in bytes:
60
		//  Measured:  `2205 + x * (78 ±0)`
60
		//  Estimated: `5197 + x * (78 ±1)`
60
		// Minimum execution time: 91_000_000 picoseconds.
60
		Weight::from_parts(99_039_136, 5197)
60
			// Standard Error: 19_700
60
			.saturating_add(Weight::from_parts(165_867, 0).saturating_mul(x.into()))
60
			.saturating_add(RocksDbWeight::get().reads(10_u64))
60
			.saturating_add(RocksDbWeight::get().writes(9_u64))
60
			.saturating_add(Weight::from_parts(0, 78).saturating_mul(x.into()))
60
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
107
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
107
		// Proof Size summary in bytes:
107
		//  Measured:  `233 + x * (43 ±0)`
107
		//  Estimated: `3832 + x * (44 ±0)`
107
		// Minimum execution time: 14_000_000 picoseconds.
107
		Weight::from_parts(19_757_281, 3832)
107
			// Standard Error: 9_837
107
			.saturating_add(Weight::from_parts(107_019, 0).saturating_mul(x.into()))
107
			.saturating_add(RocksDbWeight::get().reads(2_u64))
107
			.saturating_add(RocksDbWeight::get().writes(2_u64))
107
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
107
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115
	fn execute_delegator_revoke_delegation_worst() -> Weight {
115
		// Proof Size summary in bytes:
115
		//  Measured:  `37373`
115
		//  Estimated: `40838`
115
		// Minimum execution time: 136_000_000 picoseconds.
115
		Weight::from_parts(149_000_000, 40838)
115
			.saturating_add(RocksDbWeight::get().reads(11_u64))
115
			.saturating_add(RocksDbWeight::get().writes(11_u64))
115
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn execute_delegator_bond_less_worst() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `29995`
		//  Estimated: `33460`
		// Minimum execution time: 147_000_000 picoseconds.
		Weight::from_parts(164_000_000, 33460)
			.saturating_add(RocksDbWeight::get().reads(11_u64))
			.saturating_add(RocksDbWeight::get().writes(11_u64))
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
88
	fn cancel_delegation_request(x: u32, ) -> Weight {
88
		// Proof Size summary in bytes:
88
		//  Measured:  `528 + x * (42 ±0)`
88
		//  Estimated: `3947 + x * (43 ±0)`
88
		// Minimum execution time: 26_000_000 picoseconds.
88
		Weight::from_parts(34_815_644, 3947)
88
			// Standard Error: 13_381
88
			.saturating_add(Weight::from_parts(57_315, 0).saturating_mul(x.into()))
88
			.saturating_add(RocksDbWeight::get().reads(2_u64))
88
			.saturating_add(RocksDbWeight::get().writes(2_u64))
88
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
88
	}
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
574
	fn prepare_staking_payouts() -> Weight {
574
		// Proof Size summary in bytes:
574
		//  Measured:  `3`
574
		//  Estimated: `3468`
574
		// Minimum execution time: 2_000_000 picoseconds.
574
		Weight::from_parts(3_000_000, 3468)
574
			.saturating_add(RocksDbWeight::get().reads(1_u64))
574
	}
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:0)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `y` is `[0, 100]`.
	fn get_rewardable_delegators(y: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `88 + y * (36 ±0)`
		//  Estimated: `3553 + y * (36 ±0)`
		// Minimum execution time: 6_000_000 picoseconds.
		Weight::from_parts(7_133_333, 3553)
			// Standard Error: 5_951
			.saturating_add(Weight::from_parts(36_000, 0).saturating_mul(y.into()))
			.saturating_add(RocksDbWeight::get().reads(2_u64))
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
	}
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:0)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:51 w:0)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:51 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:51 w:0)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:51 w:0)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1)
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AtStake` (r:0 w:51)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 50]`.
	/// The range of component `y` is `[0, 100]`.
2142
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2142
		// Proof Size summary in bytes:
2142
		//  Measured:  `0 + x * (3818 ±0) + y * (1800 ±0)`
2142
		//  Estimated: `3710 + x * (4038 ±272) + y * (655 ±135)`
2142
		// Minimum execution time: 19_000_000 picoseconds.
2142
		Weight::from_parts(20_000_000, 3710)
2142
			// Standard Error: 507_202
2142
			.saturating_add(Weight::from_parts(16_073_459, 0).saturating_mul(x.into()))
2142
			// Standard Error: 253_235
2142
			.saturating_add(Weight::from_parts(1_074_727, 0).saturating_mul(y.into()))
2142
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2142
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2142
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2142
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2142
			.saturating_add(Weight::from_parts(0, 4038).saturating_mul(x.into()))
2142
			.saturating_add(Weight::from_parts(0, 655).saturating_mul(y.into()))
2142
	}
	/// Storage: `System::Account` (r:349 w:349)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:349)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:349 w:349)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:349 w:349)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 349]`.
	/// The range of component `y` is `[0, 349]`.
	/// The range of component `z` is `[0, 349]`.
50
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `0 + x * (389 ±0) + y * (144 ±0) + z * (41 ±0)`
50
		//  Estimated: `328284 + x * (2591 ±265) + y * (1733 ±265) + z * (41 ±0)`
50
		// Minimum execution time: 0_000 picoseconds.
50
		Weight::from_parts(0, 328284)
50
			// Standard Error: 5_334_461
50
			.saturating_add(Weight::from_parts(76_561_571, 0).saturating_mul(x.into()))
50
			// Standard Error: 5_334_461
50
			.saturating_add(Weight::from_parts(50_346_827, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
50
			.saturating_add(Weight::from_parts(0, 1733).saturating_mul(y.into()))
50
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(z.into()))
50
	}
	/// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0)
	/// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AtStake` (r:2 w:1)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AwardedPts` (r:1 w:1)
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `System::Account` (r:301 w:301)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `y` is `[0, 300]`.
50
	fn pay_one_collator_reward(y: u32, ) -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `1430 + y * (162 ±0)`
50
		//  Estimated: `6996 + y * (2591 ±0)`
50
		// Minimum execution time: 53_000_000 picoseconds.
50
		Weight::from_parts(69_200_000, 6996)
50
			// Standard Error: 254_782
50
			.saturating_add(Weight::from_parts(22_444_888, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads(8_u64))
50
			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes(3_u64))
50
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
50
	}
1249
	fn base_on_initialize() -> Weight {
1249
		// Proof Size summary in bytes:
1249
		//  Measured:  `0`
1249
		//  Estimated: `0`
1249
		// Minimum execution time: 1_000_000 picoseconds.
1249
		Weight::from_parts(1_000_000, 0)
1249
	}
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 300]`.
	/// The range of component `y` is `[0, 100]`.
80
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `427 + x * (23 ±0) + y * (36 ±0)`
80
		//  Estimated: `3802 + x * (24 ±0) + y * (36 ±0)`
80
		// Minimum execution time: 16_000_000 picoseconds.
80
		Weight::from_parts(19_300_000, 3802)
80
			// Standard Error: 11_639
80
			.saturating_add(Weight::from_parts(71_555, 0).saturating_mul(x.into()))
80
			// Standard Error: 34_918
80
			.saturating_add(Weight::from_parts(58_666, 0).saturating_mul(y.into()))
80
			.saturating_add(RocksDbWeight::get().reads(2_u64))
80
			.saturating_add(RocksDbWeight::get().writes(1_u64))
80
			.saturating_add(Weight::from_parts(0, 24).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
80
	}
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:1 w:1)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:1 w:0)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 350]`.
	/// The range of component `y` is `[0, 349]`.
	/// The range of component `z` is `[0, 99]`.
80
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
80
		// Proof Size summary in bytes:
80
		//  Measured:  `0 + x * (61 ±0) + y * (21 ±0) + z * (81 ±0)`
80
		//  Estimated: `13973 + x * (55 ±2) + y * (21 ±2) + z * (86 ±8)`
80
		// Minimum execution time: 79_000_000 picoseconds.
80
		Weight::from_parts(61_282_010, 13973)
80
			// Standard Error: 18_907
80
			.saturating_add(Weight::from_parts(161_692, 0).saturating_mul(x.into()))
80
			// Standard Error: 18_960
80
			.saturating_add(Weight::from_parts(24_780, 0).saturating_mul(y.into()))
80
			// Standard Error: 66_606
80
			.saturating_add(Weight::from_parts(222_324, 0).saturating_mul(z.into()))
80
			.saturating_add(RocksDbWeight::get().reads(11_u64))
80
			.saturating_add(RocksDbWeight::get().writes(8_u64))
80
			.saturating_add(Weight::from_parts(0, 55).saturating_mul(x.into()))
80
			.saturating_add(Weight::from_parts(0, 21).saturating_mul(y.into()))
80
			.saturating_add(Weight::from_parts(0, 86).saturating_mul(z.into()))
80
	}
	/// Storage: `System::Account` (r:2 w:2)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Freezes` (r:2 w:2)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegatorState` (r:2 w:2)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:2 w:1)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn delegate_with_auto_compound_worst() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `48168`
		//  Estimated: `54108`
		// Minimum execution time: 205_000_000 picoseconds.
		Weight::from_parts(212_000_000, 54108)
			.saturating_add(RocksDbWeight::get().reads(16_u64))
			.saturating_add(RocksDbWeight::get().writes(14_u64))
	}
	/// Storage: `System::Account` (r:1 w:1)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
50
	fn mint_collator_reward() -> Weight {
50
		// Proof Size summary in bytes:
50
		//  Measured:  `128`
50
		//  Estimated: `3581`
50
		// Minimum execution time: 23_000_000 picoseconds.
50
		Weight::from_parts(24_000_000, 3581)
50
			.saturating_add(RocksDbWeight::get().reads(1_u64))
50
			.saturating_add(RocksDbWeight::get().writes(1_u64))
50
	}
	/// Storage: `ParachainStaking::EnableMarkingOffline` (r:1 w:0)
	/// Proof: `ParachainStaking::EnableMarkingOffline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0)
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::WasInactive` (r:2 w:0)
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
	fn notify_inactive_collator() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `11212`
		//  Estimated: `17152`
		// Minimum execution time: 52_000_000 picoseconds.
		Weight::from_parts(57_000_000, 17152)
			.saturating_add(RocksDbWeight::get().reads(8_u64))
			.saturating_add(RocksDbWeight::get().writes(2_u64))
	}
	/// Storage: `ParachainStaking::AtStake` (r:52 w:0)
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::AwardedPts` (r:51 w:0)
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::WasInactive` (r:0 w:51)
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// The range of component `x` is `[0, 50]`.
574
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
574
		// Proof Size summary in bytes:
574
		//  Measured:  `102 + x * (104 ±0)`
574
		//  Estimated: `6051 + x * (2579 ±0)`
574
		// Minimum execution time: 16_000_000 picoseconds.
574
		Weight::from_parts(15_394_420, 6051)
574
			// Standard Error: 171_814
574
			.saturating_add(Weight::from_parts(12_954_526, 0).saturating_mul(x.into()))
574
			.saturating_add(RocksDbWeight::get().reads(3_u64))
574
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
574
			.saturating_add(RocksDbWeight::get().writes(1_u64))
574
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
574
			.saturating_add(Weight::from_parts(0, 2579).saturating_mul(x.into()))
574
	}
	/// Storage: `ParachainStaking::MigratedDelegators` (r:100 w:100)
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::DelegatorState` (r:100 w:0)
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:100 w:100)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:100 w:100)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:100 w:100)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `x` is `[1, 100]`.
5
	fn migrate_locks_to_freezes_batch_delegators(x: u32, ) -> Weight {
5
		// Proof Size summary in bytes:
5
		//  Measured:  `463 + x * (329 ±0)`
5
		//  Estimated: `1370 + x * (3762 ±1)`
5
		// Minimum execution time: 50_000_000 picoseconds.
5
		Weight::from_parts(50_000_000, 1370)
5
			// Standard Error: 477_526
5
			.saturating_add(Weight::from_parts(47_495_760, 0).saturating_mul(x.into()))
5
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
5
			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(x.into())))
5
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
5
	}
	/// Storage: `ParachainStaking::MigratedCandidates` (r:100 w:100)
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0)
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
	/// Storage: `Balances::Locks` (r:100 w:100)
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
	/// Storage: `Balances::Freezes` (r:100 w:100)
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
	/// Storage: `System::Account` (r:100 w:100)
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
	/// The range of component `x` is `[1, 100]`.
13
	fn migrate_locks_to_freezes_batch_candidates(x: u32, ) -> Weight {
13
		// Proof Size summary in bytes:
13
		//  Measured:  `357 + x * (326 ±0)`
13
		//  Estimated: `1349 + x * (3762 ±1)`
13
		// Minimum execution time: 55_000_000 picoseconds.
13
		Weight::from_parts(57_000_000, 1349)
13
			// Standard Error: 302_933
13
			.saturating_add(Weight::from_parts(46_808_383, 0).saturating_mul(x.into()))
13
			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(x.into())))
13
			.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(x.into())))
13
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
13
	}
}