1
// Copyright 2019-2022 PureStake Inc.
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

            
18
//! Autogenerated weights for pallet_parachain_staking
19
//!
20
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21
//! DATE: 2023-09-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
22
//! WORST CASE MAP SIZE: `1000000`
23
//! HOSTNAME: `ip-10-0-0-176`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
24
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
25

            
26
// Executed Command:
27
// ./target/release/moonbeam
28
// benchmark
29
// pallet
30
// --execution=wasm
31
// --wasm-execution=compiled
32
// --pallet
33
// pallet-parachain-staking
34
// --extrinsic
35
// *
36
// --steps
37
// 50
38
// --repeat
39
// 20
40
// --template=./benchmarking/frame-weight-template.hbs
41
// --json-file
42
// raw.json
43
// --output
44
// weights.rs
45

            
46
#![cfg_attr(rustfmt, rustfmt_skip)]
47
#![allow(unused_parens)]
48
#![allow(unused_imports)]
49

            
50
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
51
use sp_std::marker::PhantomData;
52

            
53
/// Weight functions needed for pallet_parachain_staking.
54
pub trait WeightInfo {
55
	fn set_staking_expectations() -> Weight;
56
	fn set_inflation() -> Weight;
57
	fn set_parachain_bond_account() -> Weight;
58
	fn set_parachain_bond_reserve_percent() -> Weight;
59
	fn set_inflation_distribution_config() -> Weight;
60
	fn set_total_selected() -> Weight;
61
	fn set_collator_commission() -> Weight;
62
	fn set_blocks_per_round() -> Weight;
63
	fn join_candidates(x: u32, ) -> Weight;
64
	fn schedule_leave_candidates(x: u32, ) -> Weight;
65
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight;
66
	fn execute_leave_candidates_ideal(x: u32, y: u32, ) -> Weight;
67
	fn cancel_leave_candidates(x: u32, ) -> Weight;
68
	fn go_offline(x: u32, ) -> Weight;
69
	fn go_online(x: u32, ) -> Weight;
70
	fn candidate_bond_more(x: u32, ) -> Weight;
71
	fn schedule_candidate_bond_less() -> Weight;
72
	fn execute_candidate_bond_less(x: u32, ) -> Weight;
73
	fn cancel_candidate_bond_less() -> Weight;
74
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight;
75
	fn delegate(x: u32, y: u32, ) -> Weight;
76
	fn schedule_revoke_delegation(x: u32, ) -> Weight;
77
	fn delegator_bond_more(x: u32, ) -> Weight;
78
	fn schedule_delegator_bond_less(x: u32, ) -> Weight;
79
	fn execute_revoke_delegation() -> Weight;
80
	fn execute_delegator_revoke_delegation_worst() -> Weight;
81
	fn execute_delegator_bond_less_worst() -> Weight;
82
	fn cancel_delegation_request(x: u32, ) -> Weight;
83
	fn prepare_staking_payouts() -> Weight;
84
	fn get_rewardable_delegators(y: u32, ) -> Weight;
85
	fn select_top_candidates(x: u32, y: u32, ) -> Weight;
86
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight;
87
	fn pay_one_collator_reward(y: u32, ) -> Weight;
88
	fn base_on_initialize() -> Weight;
89
	fn set_auto_compound(x: u32, y: u32, ) -> Weight;
90
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight;
91
	fn delegate_with_auto_compound_worst() -> Weight;
92
	fn mint_collator_reward() -> Weight;
93
	fn notify_inactive_collator() -> Weight;
94
	fn mark_collators_as_inactive(x: u32) -> Weight;
95
}
96

            
97
/// Weights for pallet_parachain_staking using the Substrate node and recommended hardware.
98
pub struct SubstrateWeight<T>(PhantomData<T>);
99
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
100
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
101
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
102
	fn set_staking_expectations() -> Weight {
103
		// Proof Size summary in bytes:
104
		//  Measured:  `88`
105
		//  Estimated: `1573`
106
		// Minimum execution time: 15_889_000 picoseconds.
107
		Weight::from_parts(16_404_000, 1573)
108
			.saturating_add(T::DbWeight::get().reads(1_u64))
109
			.saturating_add(T::DbWeight::get().writes(1_u64))
110
	}
111
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
112
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
113
	fn set_inflation() -> Weight {
114
		// Proof Size summary in bytes:
115
		//  Measured:  `88`
116
		//  Estimated: `1573`
117
		// Minimum execution time: 44_509_000 picoseconds.
118
		Weight::from_parts(45_011_000, 1573)
119
			.saturating_add(T::DbWeight::get().reads(1_u64))
120
			.saturating_add(T::DbWeight::get().writes(1_u64))
121
	}
122
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
123
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
124
	fn set_parachain_bond_account() -> Weight {
125
		// Proof Size summary in bytes:
126
		//  Measured:  `6`
127
		//  Estimated: `1491`
128
		// Minimum execution time: 14_675_000 picoseconds.
129
		Weight::from_parts(15_094_000, 1491)
130
			.saturating_add(T::DbWeight::get().reads(1_u64))
131
			.saturating_add(T::DbWeight::get().writes(1_u64))
132
	}
133
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
134
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
135
	fn set_parachain_bond_reserve_percent() -> Weight {
136
		// Proof Size summary in bytes:
137
		//  Measured:  `6`
138
		//  Estimated: `1491`
139
		// Minimum execution time: 13_898_000 picoseconds.
140
		Weight::from_parts(14_492_000, 1491)
141
			.saturating_add(T::DbWeight::get().reads(1_u64))
142
			.saturating_add(T::DbWeight::get().writes(1_u64))
143
	}
144
	fn set_inflation_distribution_config() -> Weight {
145
		// TODO: regenerate this file
146
		Weight::from_parts(14_492_000, 1491)
147
			.saturating_add(T::DbWeight::get().reads(1_u64))
148
			.saturating_add(T::DbWeight::get().writes(1_u64))
149
	}
150
	/// Storage: ParachainStaking TotalSelected (r:1 w:1)
151
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
152
	fn set_total_selected() -> Weight {
153
		// Proof Size summary in bytes:
154
		//  Measured:  `28`
155
		//  Estimated: `1513`
156
		// Minimum execution time: 15_666_000 picoseconds.
157
		Weight::from_parts(15_939_000, 1513)
158
			.saturating_add(T::DbWeight::get().reads(1_u64))
159
			.saturating_add(T::DbWeight::get().writes(1_u64))
160
	}
161
	/// Storage: ParachainStaking CollatorCommission (r:1 w:1)
162
	/// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
163
	fn set_collator_commission() -> Weight {
164
		// Proof Size summary in bytes:
165
		//  Measured:  `27`
166
		//  Estimated: `1512`
167
		// Minimum execution time: 13_997_000 picoseconds.
168
		Weight::from_parts(14_320_000, 1512)
169
			.saturating_add(T::DbWeight::get().reads(1_u64))
170
			.saturating_add(T::DbWeight::get().writes(1_u64))
171
	}
172
	/// Storage: ParachainStaking TotalSelected (r:1 w:0)
173
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
174
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
175
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
176
	fn set_blocks_per_round() -> Weight {
177
		// Proof Size summary in bytes:
178
		//  Measured:  `116`
179
		//  Estimated: `1601`
180
		// Minimum execution time: 48_389_000 picoseconds.
181
		Weight::from_parts(49_554_000, 1601)
182
			.saturating_add(T::DbWeight::get().reads(2_u64))
183
			.saturating_add(T::DbWeight::get().writes(1_u64))
184
	}
185
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
186
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
187
	/// Storage: ParachainStaking DelegatorState (r:1 w:0)
188
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
189
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
190
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
191
	/// Storage: System Account (r:1 w:1)
192
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
193
	/// Storage: Balances Locks (r:1 w:1)
194
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
195
	/// Storage: Balances Freezes (r:1 w:0)
196
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
197
	/// Storage: ParachainStaking Total (r:1 w:1)
198
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
199
	/// Storage: ParachainStaking TopDelegations (r:0 w:1)
200
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
201
	/// Storage: ParachainStaking BottomDelegations (r:0 w:1)
202
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
203
	/// The range of component `x` is `[3, 200]`.
204
	fn join_candidates(x: u32, ) -> Weight {
205
		// Proof Size summary in bytes:
206
		//  Measured:  `1421 + x * (38 ±0)`
207
		//  Estimated: `4752 + x * (41 ±0)`
208
		// Minimum execution time: 76_742_000 picoseconds.
209
		Weight::from_parts(88_864_511, 4752)
210
			// Standard Error: 2_004
211
			.saturating_add(Weight::from_parts(88_538, 0).saturating_mul(x.into()))
212
			.saturating_add(T::DbWeight::get().reads(7_u64))
213
			.saturating_add(T::DbWeight::get().writes(7_u64))
214
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(x.into()))
215
	}
216
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
217
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
218
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
219
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
220
	/// The range of component `x` is `[3, 200]`.
221
	fn schedule_leave_candidates(x: u32, ) -> Weight {
222
		// Proof Size summary in bytes:
223
		//  Measured:  `702 + x * (37 ±0)`
224
		//  Estimated: `4060 + x * (38 ±0)`
225
		// Minimum execution time: 27_238_000 picoseconds.
226
		Weight::from_parts(34_109_750, 4060)
227
			// Standard Error: 1_116
228
			.saturating_add(Weight::from_parts(62_292, 0).saturating_mul(x.into()))
229
			.saturating_add(T::DbWeight::get().reads(2_u64))
230
			.saturating_add(T::DbWeight::get().writes(2_u64))
231
			.saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into()))
232
	}
233
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
234
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
235
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
236
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
237
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
238
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
239
	/// Storage: ParachainStaking DelegatorState (r:349 w:349)
240
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
241
	/// Storage: Balances Locks (r:350 w:350)
242
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
243
	/// Storage: Balances Freezes (r:350 w:0)
244
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
245
	/// Storage: System Account (r:350 w:350)
246
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
247
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
248
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
249
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
250
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
251
	/// Storage: ParachainStaking Total (r:1 w:1)
252
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
253
	/// The range of component `x` is `[2, 350]`.
254
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
255
		// Proof Size summary in bytes:
256
		//  Measured:  `1157 + x * (431 ±0)`
257
		//  Estimated: `4696 + x * (3762 ±0)`
258
		// Minimum execution time: 141_946_000 picoseconds.
259
		Weight::from_parts(144_961_000, 4696)
260
			// Standard Error: 79_832
261
			.saturating_add(Weight::from_parts(49_060_154, 0).saturating_mul(x.into()))
262
			.saturating_add(T::DbWeight::get().reads(5_u64))
263
			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into())))
264
			.saturating_add(T::DbWeight::get().writes(5_u64))
265
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
266
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
267
	}
268
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
269
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
270
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
271
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
272
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
273
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
274
	/// Storage: ParachainStaking DelegatorState (r:349 w:349)
275
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
276
	/// Storage: Balances Locks (r:350 w:350)
277
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
278
	/// Storage: Balances Freezes (r:350 w:0)
279
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
280
	/// Storage: System Account (r:350 w:350)
281
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
282
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
283
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
284
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
285
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
286
	/// Storage: ParachainStaking Total (r:1 w:1)
287
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
288
	/// The range of component `x` is `[2, 350]`.
289
	/// The range of component `y` is `[2, 350]`.
290
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
291
		// Proof Size summary in bytes:
292
		//  Measured:  `1149 + x * (431 ±0)`
293
		//  Estimated: `4696 + x * (3762 ±0)`
294
		// Minimum execution time: 133_121_000 picoseconds.
295
		Weight::from_parts(134_388_000, 4696)
296
			// Standard Error: 34_256
297
			.saturating_add(Weight::from_parts(50_828_386, 0).saturating_mul(x.into()))
298
			.saturating_add(T::DbWeight::get().reads(5_u64))
299
			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into())))
300
			.saturating_add(T::DbWeight::get().writes(5_u64))
301
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
302
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
303
	}
304
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
305
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
306
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
307
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
308
	/// The range of component `x` is `[3, 200]`.
309
	fn cancel_leave_candidates(x: u32, ) -> Weight {
310
		// Proof Size summary in bytes:
311
		//  Measured:  `670 + x * (37 ±0)`
312
		//  Estimated: `4028 + x * (38 ±0)`
313
		// Minimum execution time: 25_910_000 picoseconds.
314
		Weight::from_parts(32_465_127, 4028)
315
			// Standard Error: 1_064
316
			.saturating_add(Weight::from_parts(60_655, 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, 38).saturating_mul(x.into()))
320
	}
321
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
322
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
323
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
324
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
325
	/// The range of component `x` is `[1, 200]`.
326
	fn go_offline(x: u32, ) -> Weight {
327
		// Proof Size summary in bytes:
328
		//  Measured:  `567 + x * (38 ±0)`
329
		//  Estimated: `3968 + x * (39 ±0)`
330
		// Minimum execution time: 24_471_000 picoseconds.
331
		Weight::from_parts(30_875_133, 3968)
332
			// Standard Error: 1_124
333
			.saturating_add(Weight::from_parts(66_032, 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 Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
340
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
341
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
342
	/// The range of component `x` is `[1, 200]`.
343
	fn go_online(x: u32, ) -> Weight {
344
		// Proof Size summary in bytes:
345
		//  Measured:  `531 + x * (38 ±0)`
346
		//  Estimated: `3932 + x * (39 ±0)`
347
		// Minimum execution time: 24_249_000 picoseconds.
348
		Weight::from_parts(30_765_292, 3932)
349
			// Standard Error: 1_181
350
			.saturating_add(Weight::from_parts(65_935, 0).saturating_mul(x.into()))
351
			.saturating_add(T::DbWeight::get().reads(2_u64))
352
			.saturating_add(T::DbWeight::get().writes(2_u64))
353
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
354
	}
355
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
356
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
357
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
358
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
359
	/// Storage: System Account (r:1 w:1)
360
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
361
	/// Storage: ParachainStaking Total (r:1 w:1)
362
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
363
	/// Storage: Balances Locks (r:1 w:1)
364
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
365
	/// Storage: Balances Freezes (r:1 w:0)
366
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
367
	/// The range of component `x` is `[1, 200]`.
368
	fn candidate_bond_more(x: u32, ) -> Weight {
369
		// Proof Size summary in bytes:
370
		//  Measured:  `1270 + x * (42 ±0)`
371
		//  Estimated: `4752 + x * (44 ±0)`
372
		// Minimum execution time: 68_720_000 picoseconds.
373
		Weight::from_parts(79_722_709, 4752)
374
			// Standard Error: 2_059
375
			.saturating_add(Weight::from_parts(113_832, 0).saturating_mul(x.into()))
376
			.saturating_add(T::DbWeight::get().reads(6_u64))
377
			.saturating_add(T::DbWeight::get().writes(5_u64))
378
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
379
	}
380
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
381
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
382
	fn schedule_candidate_bond_less() -> Weight {
383
		// Proof Size summary in bytes:
384
		//  Measured:  `171`
385
		//  Estimated: `3636`
386
		// Minimum execution time: 21_049_000 picoseconds.
387
		Weight::from_parts(21_735_000, 3636)
388
			.saturating_add(T::DbWeight::get().reads(1_u64))
389
			.saturating_add(T::DbWeight::get().writes(1_u64))
390
	}
391
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
392
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
393
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
394
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
395
	/// Storage: ParachainStaking Total (r:1 w:1)
396
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
397
	/// Storage: Balances Locks (r:1 w:1)
398
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
399
	/// Storage: Balances Freezes (r:1 w:0)
400
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
401
	/// Storage: System Account (r:1 w:1)
402
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
403
	/// The range of component `x` is `[1, 200]`.
404
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
405
		// Proof Size summary in bytes:
406
		//  Measured:  `1322 + x * (42 ±0)`
407
		//  Estimated: `4752 + x * (43 ±0)`
408
		// Minimum execution time: 71_996_000 picoseconds.
409
		Weight::from_parts(80_620_929, 4752)
410
			// Standard Error: 1_363
411
			.saturating_add(Weight::from_parts(94_580, 0).saturating_mul(x.into()))
412
			.saturating_add(T::DbWeight::get().reads(6_u64))
413
			.saturating_add(T::DbWeight::get().writes(5_u64))
414
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
415
	}
416
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
417
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
418
	fn cancel_candidate_bond_less() -> Weight {
419
		// Proof Size summary in bytes:
420
		//  Measured:  `191`
421
		//  Estimated: `3656`
422
		// Minimum execution time: 18_991_000 picoseconds.
423
		Weight::from_parts(19_491_000, 3656)
424
			.saturating_add(T::DbWeight::get().reads(1_u64))
425
			.saturating_add(T::DbWeight::get().writes(1_u64))
426
	}
427
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight {
428
		// Proof Size summary in bytes:
429
		//  Measured:  `1322 + x * (42 ±0)`
430
		//  Estimated: `4752 + x * (43 ±0)`
431
		// Minimum execution time: 71_996_000 picoseconds.
432
		Weight::from_parts(80_620_929, 4752)
433
			// Standard Error: 1_363
434
			.saturating_add(Weight::from_parts(94_580, 0).saturating_mul(x.into()))
435
			.saturating_add(T::DbWeight::get().reads(6_u64))
436
			.saturating_add(T::DbWeight::get().writes(5_u64))
437
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
438
	}
439
	/// Storage: System Account (r:1 w:1)
440
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
441
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
442
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
443
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
444
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
445
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
446
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
447
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
448
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
449
	/// Storage: Balances Locks (r:1 w:1)
450
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
451
	/// Storage: Balances Freezes (r:1 w:0)
452
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
453
	/// Storage: ParachainStaking Total (r:1 w:1)
454
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
455
	/// The range of component `x` is `[3, 100]`.
456
	/// The range of component `y` is `[2, 300]`.
457
	fn delegate(x: u32, y: u32, ) -> Weight {
458
		// Proof Size summary in bytes:
459
		//  Measured:  `2479 + x * (79 ±0) + y * (38 ±0)`
460
		//  Estimated: `5723 + x * (81 ±0) + y * (39 ±0)`
461
		// Minimum execution time: 120_061_000 picoseconds.
462
		Weight::from_parts(111_894_468, 5723)
463
			// Standard Error: 1_320
464
			.saturating_add(Weight::from_parts(135_446, 0).saturating_mul(x.into()))
465
			// Standard Error: 433
466
			.saturating_add(Weight::from_parts(41_110, 0).saturating_mul(y.into()))
467
			.saturating_add(T::DbWeight::get().reads(8_u64))
468
			.saturating_add(T::DbWeight::get().writes(7_u64))
469
			.saturating_add(Weight::from_parts(0, 81).saturating_mul(x.into()))
470
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(y.into()))
471
	}
472
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
473
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
474
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
475
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
476
	/// The range of component `x` is `[0, 349]`.
477
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
478
		// Proof Size summary in bytes:
479
		//  Measured:  `566 + x * (42 ±0)`
480
		//  Estimated: `4012 + x * (43 ±0)`
481
		// Minimum execution time: 25_479_000 picoseconds.
482
		Weight::from_parts(35_344_986, 4012)
483
			// Standard Error: 803
484
			.saturating_add(Weight::from_parts(60_212, 0).saturating_mul(x.into()))
485
			.saturating_add(T::DbWeight::get().reads(2_u64))
486
			.saturating_add(T::DbWeight::get().writes(2_u64))
487
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
488
	}
489
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
490
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
491
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
492
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
493
	/// Storage: System Account (r:1 w:1)
494
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
495
	/// Storage: Balances Locks (r:1 w:1)
496
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
497
	/// Storage: Balances Freezes (r:1 w:0)
498
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
499
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
500
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
501
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
502
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
503
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
504
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
505
	/// Storage: ParachainStaking Total (r:1 w:1)
506
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
507
	/// The range of component `x` is `[0, 349]`.
508
	fn delegator_bond_more(x: u32, ) -> Weight {
509
		// Proof Size summary in bytes:
510
		//  Measured:  `1996 + x * (79 ±0)`
511
		//  Estimated: `5428 + x * (79 ±0)`
512
		// Minimum execution time: 90_985_000 picoseconds.
513
		Weight::from_parts(111_258_553, 5428)
514
			// Standard Error: 1_580
515
			.saturating_add(Weight::from_parts(109_354, 0).saturating_mul(x.into()))
516
			.saturating_add(T::DbWeight::get().reads(9_u64))
517
			.saturating_add(T::DbWeight::get().writes(7_u64))
518
			.saturating_add(Weight::from_parts(0, 79).saturating_mul(x.into()))
519
	}
520
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
521
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
522
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
523
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
524
	/// The range of component `x` is `[0, 349]`.
525
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
526
		// Proof Size summary in bytes:
527
		//  Measured:  `566 + x * (42 ±0)`
528
		//  Estimated: `4012 + x * (43 ±0)`
529
		// Minimum execution time: 25_784_000 picoseconds.
530
		Weight::from_parts(35_792_924, 4012)
531
			// Standard Error: 793
532
			.saturating_add(Weight::from_parts(60_874, 0).saturating_mul(x.into()))
533
			.saturating_add(T::DbWeight::get().reads(2_u64))
534
			.saturating_add(T::DbWeight::get().writes(2_u64))
535
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
536
	}
537
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
538
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
539
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
540
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
541
	/// Storage: Balances Locks (r:1 w:1)
542
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
543
	/// Storage: Balances Freezes (r:1 w:0)
544
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
545
	/// Storage: System Account (r:1 w:1)
546
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
547
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0)
548
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
549
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
550
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
551
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
552
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
553
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
554
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
555
	/// Storage: ParachainStaking Total (r:1 w:1)
556
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
557
	fn execute_revoke_delegation() -> Weight {
558
		// Proof Size summary in bytes:
559
		//  Measured:  `964`
560
		//  Estimated: `4752`
561
		// Minimum execution time: 113_086_000 picoseconds.
562
		Weight::from_parts(115_421_000, 4752)
563
			.saturating_add(T::DbWeight::get().reads(10_u64))
564
			.saturating_add(T::DbWeight::get().writes(8_u64))
565
	}
566
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
567
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
568
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
569
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
570
	/// Storage: Balances Locks (r:1 w:1)
571
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
572
	/// Storage: Balances Freezes (r:1 w:0)
573
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
574
	/// Storage: System Account (r:1 w:1)
575
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
576
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
577
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
578
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
579
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
580
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
581
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
582
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
583
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
584
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
585
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
586
	/// Storage: ParachainStaking Total (r:1 w:1)
587
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
588
	fn execute_delegator_revoke_delegation_worst() -> Weight {
589
		// Proof Size summary in bytes:
590
		//  Measured:  `37308`
591
		//  Estimated: `40773`
592
		// Minimum execution time: 179_325_000 picoseconds.
593
		Weight::from_parts(182_100_000, 40773)
594
			.saturating_add(T::DbWeight::get().reads(11_u64))
595
			.saturating_add(T::DbWeight::get().writes(10_u64))
596
	}
597
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
598
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
599
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
600
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
601
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
602
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
603
	/// Storage: Balances Locks (r:1 w:1)
604
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
605
	/// Storage: Balances Freezes (r:1 w:0)
606
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
607
	/// Storage: System Account (r:1 w:1)
608
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
609
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
610
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
611
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
612
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
613
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
614
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
615
	/// Storage: ParachainStaking Total (r:1 w:1)
616
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
617
	fn execute_delegator_bond_less_worst() -> Weight {
618
		// Proof Size summary in bytes:
619
		//  Measured:  `29930`
620
		//  Estimated: `33395`
621
		// Minimum execution time: 150_818_000 picoseconds.
622
		Weight::from_parts(152_294_000, 33395)
623
			.saturating_add(T::DbWeight::get().reads(10_u64))
624
			.saturating_add(T::DbWeight::get().writes(9_u64))
625
	}
626
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
627
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
628
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
629
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
630
	/// The range of component `x` is `[0, 349]`.
631
	fn cancel_delegation_request(x: u32, ) -> Weight {
632
		// Proof Size summary in bytes:
633
		//  Measured:  `663 + x * (42 ±0)`
634
		//  Estimated: `4092 + x * (43 ±0)`
635
		// Minimum execution time: 30_062_000 picoseconds.
636
		Weight::from_parts(37_242_991, 4092)
637
			// Standard Error: 767
638
			.saturating_add(Weight::from_parts(62_995, 0).saturating_mul(x.into()))
639
			.saturating_add(T::DbWeight::get().reads(2_u64))
640
			.saturating_add(T::DbWeight::get().writes(2_u64))
641
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
642
	}
643
	/// Storage: ParachainStaking Points (r:1 w:0)
644
	/// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
645
	/// Storage: ParachainStaking Staked (r:1 w:1)
646
	/// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured)
647
	/// Storage: ParachainStaking InflationConfig (r:1 w:0)
648
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
649
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:0)
650
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
651
	/// Storage: System Account (r:1 w:1)
652
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
653
	/// Storage: ParachainStaking CollatorCommission (r:1 w:0)
654
	/// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
655
	/// Storage: ParachainStaking DelayedPayouts (r:0 w:1)
656
	/// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
657
1
	fn prepare_staking_payouts() -> Weight {
658
1
		// Proof Size summary in bytes:
659
1
		//  Measured:  `380`
660
1
		//  Estimated: `3845`
661
1
		// Minimum execution time: 48_260_000 picoseconds.
662
1
		Weight::from_parts(49_856_000, 3845)
663
1
			.saturating_add(T::DbWeight::get().reads(6_u64))
664
1
			.saturating_add(T::DbWeight::get().writes(3_u64))
665
1
	}
666
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
667
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
668
	/// Storage: ParachainStaking TopDelegations (r:1 w:0)
669
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
670
	/// The range of component `y` is `[0, 100]`.
671
	fn get_rewardable_delegators(y: u32, ) -> Weight {
672
		// Proof Size summary in bytes:
673
		//  Measured:  `73 + y * (36 ±0)`
674
		//  Estimated: `3537 + y * (36 ±0)`
675
		// Minimum execution time: 8_183_000 picoseconds.
676
		Weight::from_parts(10_416_160, 3537)
677
			// Standard Error: 780
678
			.saturating_add(Weight::from_parts(44_865, 0).saturating_mul(y.into()))
679
			.saturating_add(T::DbWeight::get().reads(2_u64))
680
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
681
	}
682
	/// Storage: ParachainStaking TotalSelected (r:1 w:0)
683
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
684
	/// Storage: ParachainStaking CandidatePool (r:1 w:0)
685
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
686
	/// Storage: ParachainStaking CandidateInfo (r:51 w:0)
687
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
688
	/// Storage: ParachainStaking DelegationScheduledRequests (r:51 w:0)
689
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
690
	/// Storage: ParachainStaking TopDelegations (r:51 w:0)
691
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
692
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:51 w:0)
693
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
694
	/// Storage: ParachainStaking SelectedCandidates (r:0 w:1)
695
	/// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured)
696
	/// Storage: ParachainStaking AtStake (r:0 w:51)
697
	/// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
698
	/// The range of component `x` is `[0, 50]`.
699
	/// The range of component `y` is `[0, 100]`.
700
1
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
701
1
		// Proof Size summary in bytes:
702
1
		//  Measured:  `0 + x * (3816 ±0) + y * (1800 ±0)`
703
1
		//  Estimated: `3730 + x * (3975 ±39) + y * (639 ±19)`
704
1
		// Minimum execution time: 31_870_000 picoseconds.
705
1
		Weight::from_parts(32_158_000, 3730)
706
1
			// Standard Error: 51_554
707
1
			.saturating_add(Weight::from_parts(22_540_635, 0).saturating_mul(x.into()))
708
1
			// Standard Error: 25_709
709
1
			.saturating_add(Weight::from_parts(957_745, 0).saturating_mul(y.into()))
710
1
			.saturating_add(T::DbWeight::get().reads(6_u64))
711
1
			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into())))
712
1
			.saturating_add(T::DbWeight::get().writes(2_u64))
713
1
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
714
1
			.saturating_add(Weight::from_parts(0, 3975).saturating_mul(x.into()))
715
1
			.saturating_add(Weight::from_parts(0, 639).saturating_mul(y.into()))
716
1
	}
717
	/// Storage: System Account (r:349 w:349)
718
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
719
	/// Storage: ParachainStaking DelegatorState (r:349 w:349)
720
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
721
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
722
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
723
	/// Storage: Balances Locks (r:349 w:349)
724
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
725
	/// Storage: Balances Freezes (r:349 w:0)
726
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
727
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
728
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
729
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
730
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
731
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
732
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
733
	/// Storage: ParachainStaking Total (r:1 w:1)
734
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
735
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
736
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
737
	/// The range of component `x` is `[0, 349]`.
738
	/// The range of component `y` is `[0, 349]`.
739
	/// The range of component `z` is `[0, 349]`.
740
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight {
741
		// Proof Size summary in bytes:
742
		//  Measured:  `0 + x * (395 ±0) + y * (156 ±0) + z * (41 ±0)`
743
		//  Estimated: `125757 + x * (2591 ±19) + y * (2234 ±19) + z * (28 ±0)`
744
		// Minimum execution time: 459_000 picoseconds.
745
		Weight::from_parts(472_000, 125757)
746
			// Standard Error: 685_607
747
			.saturating_add(Weight::from_parts(74_007_162, 0).saturating_mul(x.into()))
748
			// Standard Error: 685_607
749
			.saturating_add(Weight::from_parts(43_825_857, 0).saturating_mul(y.into()))
750
			.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into())))
751
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(y.into())))
752
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(x.into())))
753
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into())))
754
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
755
			.saturating_add(Weight::from_parts(0, 2234).saturating_mul(y.into()))
756
			.saturating_add(Weight::from_parts(0, 28).saturating_mul(z.into()))
757
	}
758
	/// Storage: ParachainStaking DelayedPayouts (r:1 w:0)
759
	/// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
760
	/// Storage: ParachainStaking Points (r:1 w:0)
761
	/// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
762
	/// Storage: ParachainStaking AtStake (r:2 w:1)
763
	/// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
764
	/// Storage: ParachainStaking AwardedPts (r:1 w:1)
765
	/// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured)
766
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
767
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
768
	/// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0)
769
	/// Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured)
770
	/// Storage: System Account (r:301 w:301)
771
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
772
	/// The range of component `y` is `[0, 300]`.
773
	fn pay_one_collator_reward(y: u32, ) -> Weight {
774
		// Proof Size summary in bytes:
775
		//  Measured:  `1208 + y * (160 ±0)`
776
		//  Estimated: `6978 + y * (2591 ±0)`
777
		// Minimum execution time: 65_428_000 picoseconds.
778
		Weight::from_parts(68_535_135, 6978)
779
			// Standard Error: 6_093
780
			.saturating_add(Weight::from_parts(25_186_464, 0).saturating_mul(y.into()))
781
			.saturating_add(T::DbWeight::get().reads(8_u64))
782
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
783
			.saturating_add(T::DbWeight::get().writes(3_u64))
784
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into())))
785
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
786
	}
787
1
	fn base_on_initialize() -> Weight {
788
1
		// Proof Size summary in bytes:
789
1
		//  Measured:  `0`
790
1
		//  Estimated: `0`
791
1
		// Minimum execution time: 2_024_000 picoseconds.
792
1
		Weight::from_parts(2_168_000, 0)
793
1
	}
794
	/// Storage: ParachainStaking DelegatorState (r:1 w:0)
795
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
796
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
797
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
798
	/// The range of component `x` is `[0, 300]`.
799
	/// The range of component `y` is `[0, 100]`.
800
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
801
		// Proof Size summary in bytes:
802
		//  Measured:  `671 + x * (22 ±0) + y * (36 ±0)`
803
		//  Estimated: `4027 + x * (23 ±0) + y * (36 ±0)`
804
		// Minimum execution time: 34_494_000 picoseconds.
805
		Weight::from_parts(33_677_881, 4027)
806
			// Standard Error: 278
807
			.saturating_add(Weight::from_parts(45_734, 0).saturating_mul(x.into()))
808
			// Standard Error: 833
809
			.saturating_add(Weight::from_parts(39_753, 0).saturating_mul(y.into()))
810
			.saturating_add(T::DbWeight::get().reads(2_u64))
811
			.saturating_add(T::DbWeight::get().writes(1_u64))
812
			.saturating_add(Weight::from_parts(0, 23).saturating_mul(x.into()))
813
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
814
	}
815
	/// Storage: System Account (r:1 w:1)
816
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
817
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
818
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
819
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
820
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
821
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
822
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
823
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
824
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
825
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
826
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
827
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
828
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
829
	/// Storage: Balances Locks (r:1 w:1)
830
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
831
	/// Storage: Balances Freezes (r:1 w:0)
832
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
833
	/// Storage: ParachainStaking Total (r:1 w:1)
834
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
835
	/// The range of component `x` is `[0, 350]`.
836
	/// The range of component `y` is `[0, 349]`.
837
	/// The range of component `z` is `[0, 99]`.
838
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
839
		// Proof Size summary in bytes:
840
		//  Measured:  `0 + x * (60 ±0) + y * (21 ±0) + z * (78 ±0)`
841
		//  Estimated: `26253 + x * (44 ±0) + y * (19 ±0) + z * (76 ±1)`
842
		// Minimum execution time: 130_103_000 picoseconds.
843
		Weight::from_parts(116_616_415, 26253)
844
			// Standard Error: 1_141
845
			.saturating_add(Weight::from_parts(117_041, 0).saturating_mul(x.into()))
846
			// Standard Error: 4_030
847
			.saturating_add(Weight::from_parts(178_483, 0).saturating_mul(z.into()))
848
			.saturating_add(T::DbWeight::get().reads(9_u64))
849
			.saturating_add(T::DbWeight::get().writes(8_u64))
850
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
851
			.saturating_add(Weight::from_parts(0, 19).saturating_mul(y.into()))
852
			.saturating_add(Weight::from_parts(0, 76).saturating_mul(z.into()))
853
	}
854
	/// Storage: System Account (r:2 w:2)
855
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
856
	/// Storage: ParachainStaking DelegatorState (r:2 w:2)
857
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
858
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
859
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
860
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
861
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
862
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
863
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
864
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
865
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
866
	/// Storage: Balances Locks (r:2 w:2)
867
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
868
	/// Storage: Balances Freezes (r:2 w:0)
869
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
870
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
871
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
872
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
873
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
874
	/// Storage: ParachainStaking Total (r:1 w:1)
875
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
876
	fn delegate_with_auto_compound_worst() -> Weight {
877
		// Proof Size summary in bytes:
878
		//  Measured:  `48167`
879
		//  Estimated: `54107`
880
		// Minimum execution time: 276_584_000 picoseconds.
881
		Weight::from_parts(279_594_000, 54107)
882
			.saturating_add(T::DbWeight::get().reads(15_u64))
883
			.saturating_add(T::DbWeight::get().writes(13_u64))
884
	}
885
	/// Storage: System Account (r:1 w:1)
886
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
887
	fn mint_collator_reward() -> Weight {
888
		// Proof Size summary in bytes:
889
		//  Measured:  `128`
890
		//  Estimated: `3581`
891
		// Minimum execution time: 28_741_000 picoseconds.
892
		Weight::from_parts(29_344_000, 3581)
893
			.saturating_add(T::DbWeight::get().reads(1_u64))
894
			.saturating_add(T::DbWeight::get().writes(1_u64))
895
	}
896
	/// Storage: ParachainStaking EnableMarkingOffline (r:1 w:0)
897
	/// Proof Skipped: ParachainStaking EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured)
898
	/// Storage: ParachainStaking TotalSelected (r:1 w:0)
899
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
900
	/// Storage: ParachainStaking SelectedCandidates (r:1 w:0)
901
	/// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured)
902
	/// Storage: ParachainStaking AtStake (r:2 w:0)
903
	/// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
904
	/// Storage: ParachainStaking AwardedPts (r:2 w:0)
905
	/// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured)
906
	/// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0)
907
	/// Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured)
908
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
909
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
910
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
911
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
912
	fn notify_inactive_collator() -> Weight {
913
		// Proof Size summary in bytes:
914
		//  Measured:  `11494`
915
		//  Estimated: `17434`
916
		// Minimum execution time: 41_130_000 picoseconds.
917
		Weight::from_parts(41_130_000, 0)
918
			.saturating_add(Weight::from_parts(0, 17434))
919
			.saturating_add(T::DbWeight::get().reads(10_u64))
920
			.saturating_add(T::DbWeight::get().writes(2_u64))
921
	}
922

            
923
	/// Storage: `ParachainStaking::AtStake` (r:52 w:0)
924
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
925
	/// Storage: `ParachainStaking::AwardedPts` (r:51 w:0)
926
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
927
	/// Storage: `ParachainStaking::WasInactive` (r:0 w:51)
928
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
929
	/// The range of component `x` is `[0, 50]`.
930
1
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
931
1
		// Proof Size summary in bytes:
932
1
		//  Measured:  `108 + x * (104 ±0)`
933
1
		//  Estimated: `6050 + x * (2580 ±0)`
934
1
		// Minimum execution time: 16_000_000 picoseconds.
935
1
		Weight::from_parts(27_982_315, 6050)
936
1
			// Standard Error: 27_443
937
1
			.saturating_add(Weight::from_parts(11_819_726, 0).saturating_mul(x.into()))
938
1
			.saturating_add(T::DbWeight::get().reads(3_u64))
939
1
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into())))
940
1
			.saturating_add(T::DbWeight::get().writes(1_u64))
941
1
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
942
1
			.saturating_add(Weight::from_parts(0, 2580).saturating_mul(x.into()))
943
1
	}
944
}
945

            
946
// For backwards compatibility and tests
947
impl WeightInfo for () {
948
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
949
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
950
	fn set_staking_expectations() -> Weight {
951
		// Proof Size summary in bytes:
952
		//  Measured:  `88`
953
		//  Estimated: `1573`
954
		// Minimum execution time: 15_889_000 picoseconds.
955
		Weight::from_parts(16_404_000, 1573)
956
			.saturating_add(RocksDbWeight::get().reads(1_u64))
957
			.saturating_add(RocksDbWeight::get().writes(1_u64))
958
	}
959
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
960
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
961
	fn set_inflation() -> Weight {
962
		// Proof Size summary in bytes:
963
		//  Measured:  `88`
964
		//  Estimated: `1573`
965
		// Minimum execution time: 44_509_000 picoseconds.
966
		Weight::from_parts(45_011_000, 1573)
967
			.saturating_add(RocksDbWeight::get().reads(1_u64))
968
			.saturating_add(RocksDbWeight::get().writes(1_u64))
969
	}
970
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
971
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
972
	fn set_parachain_bond_account() -> Weight {
973
		// Proof Size summary in bytes:
974
		//  Measured:  `6`
975
		//  Estimated: `1491`
976
		// Minimum execution time: 14_675_000 picoseconds.
977
		Weight::from_parts(15_094_000, 1491)
978
			.saturating_add(RocksDbWeight::get().reads(1_u64))
979
			.saturating_add(RocksDbWeight::get().writes(1_u64))
980
	}
981
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
982
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
983
	fn set_parachain_bond_reserve_percent() -> Weight {
984
		// Proof Size summary in bytes:
985
		//  Measured:  `6`
986
		//  Estimated: `1491`
987
		// Minimum execution time: 13_898_000 picoseconds.
988
		Weight::from_parts(14_492_000, 1491)
989
			.saturating_add(RocksDbWeight::get().reads(1_u64))
990
			.saturating_add(RocksDbWeight::get().writes(1_u64))
991
	}
992
	fn set_inflation_distribution_config() -> Weight {
993
		Weight::from_parts(14_492_000, 1491)
994
			.saturating_add(RocksDbWeight::get().reads(1_u64))
995
			.saturating_add(RocksDbWeight::get().writes(1_u64))
996
	}
997
	/// Storage: ParachainStaking TotalSelected (r:1 w:1)
998
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
999
	fn set_total_selected() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `28`
		//  Estimated: `1513`
		// Minimum execution time: 15_666_000 picoseconds.
		Weight::from_parts(15_939_000, 1513)
			.saturating_add(RocksDbWeight::get().reads(1_u64))
			.saturating_add(RocksDbWeight::get().writes(1_u64))
	}
	/// Storage: ParachainStaking CollatorCommission (r:1 w:1)
	/// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
	fn set_collator_commission() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `27`
		//  Estimated: `1512`
		// Minimum execution time: 13_997_000 picoseconds.
		Weight::from_parts(14_320_000, 1512)
			.saturating_add(RocksDbWeight::get().reads(1_u64))
			.saturating_add(RocksDbWeight::get().writes(1_u64))
	}
	/// Storage: ParachainStaking TotalSelected (r:1 w:0)
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking InflationConfig (r:1 w:1)
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
	fn set_blocks_per_round() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `116`
		//  Estimated: `1601`
		// Minimum execution time: 48_389_000 picoseconds.
		Weight::from_parts(49_554_000, 1601)
			.saturating_add(RocksDbWeight::get().reads(2_u64))
			.saturating_add(RocksDbWeight::get().writes(1_u64))
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegatorState (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:0 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:0 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// The range of component `x` is `[3, 200]`.
22
	fn join_candidates(x: u32, ) -> Weight {
22
		// Proof Size summary in bytes:
22
		//  Measured:  `1421 + x * (38 ±0)`
22
		//  Estimated: `4752 + x * (41 ±0)`
22
		// Minimum execution time: 76_742_000 picoseconds.
22
		Weight::from_parts(88_864_511, 4752)
22
			// Standard Error: 2_004
22
			.saturating_add(Weight::from_parts(88_538, 0).saturating_mul(x.into()))
22
			.saturating_add(RocksDbWeight::get().reads(7_u64))
22
			.saturating_add(RocksDbWeight::get().writes(7_u64))
22
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(x.into()))
22
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[3, 200]`.
44
	fn schedule_leave_candidates(x: u32, ) -> Weight {
44
		// Proof Size summary in bytes:
44
		//  Measured:  `702 + x * (37 ±0)`
44
		//  Estimated: `4060 + x * (38 ±0)`
44
		// Minimum execution time: 27_238_000 picoseconds.
44
		Weight::from_parts(34_109_750, 4060)
44
			// Standard Error: 1_116
44
			.saturating_add(Weight::from_parts(62_292, 0).saturating_mul(x.into()))
44
			.saturating_add(RocksDbWeight::get().reads(2_u64))
44
			.saturating_add(RocksDbWeight::get().writes(2_u64))
44
			.saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into()))
44
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegatorState (r:349 w:349)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:350 w:350)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:350 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:350 w:350)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[2, 350]`.
22
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
22
		// Proof Size summary in bytes:
22
		//  Measured:  `1157 + x * (431 ±0)`
22
		//  Estimated: `4696 + x * (3762 ±0)`
22
		// Minimum execution time: 141_946_000 picoseconds.
22
		Weight::from_parts(144_961_000, 4696)
22
			// Standard Error: 79_832
22
			.saturating_add(Weight::from_parts(49_060_154, 0).saturating_mul(x.into()))
22
			.saturating_add(RocksDbWeight::get().reads(5_u64))
22
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
22
			.saturating_add(RocksDbWeight::get().writes(5_u64))
22
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
22
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
22
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegatorState (r:349 w:349)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:350 w:350)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:350 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:350 w:350)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[2, 350]`.
	/// The range of component `y` is `[2, 350]`.
44
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
44
		// Proof Size summary in bytes:
44
		//  Measured:  `1149 + x * (431 ±0)`
44
		//  Estimated: `4696 + x * (3762 ±0)`
44
		// Minimum execution time: 133_121_000 picoseconds.
44
		Weight::from_parts(134_388_000, 4696)
44
			// Standard Error: 34_256
44
			.saturating_add(Weight::from_parts(50_828_386, 0).saturating_mul(x.into()))
44
			.saturating_add(RocksDbWeight::get().reads(5_u64))
44
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
44
			.saturating_add(RocksDbWeight::get().writes(5_u64))
44
			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into())))
44
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
44
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[3, 200]`.
22
	fn cancel_leave_candidates(x: u32, ) -> Weight {
22
		// Proof Size summary in bytes:
22
		//  Measured:  `670 + x * (37 ±0)`
22
		//  Estimated: `4028 + x * (38 ±0)`
22
		// Minimum execution time: 25_910_000 picoseconds.
22
		Weight::from_parts(32_465_127, 4028)
22
			// Standard Error: 1_064
22
			.saturating_add(Weight::from_parts(60_655, 0).saturating_mul(x.into()))
22
			.saturating_add(RocksDbWeight::get().reads(2_u64))
22
			.saturating_add(RocksDbWeight::get().writes(2_u64))
22
			.saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into()))
22
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[1, 200]`.
78
	fn go_offline(x: u32, ) -> Weight {
78
		// Proof Size summary in bytes:
78
		//  Measured:  `567 + x * (38 ±0)`
78
		//  Estimated: `3968 + x * (39 ±0)`
78
		// Minimum execution time: 24_471_000 picoseconds.
78
		Weight::from_parts(30_875_133, 3968)
78
			// Standard Error: 1_124
78
			.saturating_add(Weight::from_parts(66_032, 0).saturating_mul(x.into()))
78
			.saturating_add(RocksDbWeight::get().reads(2_u64))
78
			.saturating_add(RocksDbWeight::get().writes(2_u64))
78
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
78
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[1, 200]`.
49
	fn go_online(x: u32, ) -> Weight {
49
		// Proof Size summary in bytes:
49
		//  Measured:  `531 + x * (38 ±0)`
49
		//  Estimated: `3932 + x * (39 ±0)`
49
		// Minimum execution time: 24_249_000 picoseconds.
49
		Weight::from_parts(30_765_292, 3932)
49
			// Standard Error: 1_181
49
			.saturating_add(Weight::from_parts(65_935, 0).saturating_mul(x.into()))
49
			.saturating_add(RocksDbWeight::get().reads(2_u64))
49
			.saturating_add(RocksDbWeight::get().writes(2_u64))
49
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
49
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// The range of component `x` is `[1, 200]`.
49
	fn candidate_bond_more(x: u32, ) -> Weight {
49
		// Proof Size summary in bytes:
49
		//  Measured:  `1270 + x * (42 ±0)`
49
		//  Estimated: `4752 + x * (44 ±0)`
49
		// Minimum execution time: 68_720_000 picoseconds.
49
		Weight::from_parts(79_722_709, 4752)
49
			// Standard Error: 2_059
49
			.saturating_add(Weight::from_parts(113_832, 0).saturating_mul(x.into()))
49
			.saturating_add(RocksDbWeight::get().reads(6_u64))
49
			.saturating_add(RocksDbWeight::get().writes(5_u64))
49
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
49
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
44
	fn schedule_candidate_bond_less() -> Weight {
44
		// Proof Size summary in bytes:
44
		//  Measured:  `171`
44
		//  Estimated: `3636`
44
		// Minimum execution time: 21_049_000 picoseconds.
44
		Weight::from_parts(21_735_000, 3636)
44
			.saturating_add(RocksDbWeight::get().reads(1_u64))
44
			.saturating_add(RocksDbWeight::get().writes(1_u64))
44
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// The range of component `x` is `[1, 200]`.
49
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
49
		// Proof Size summary in bytes:
49
		//  Measured:  `1322 + x * (42 ±0)`
49
		//  Estimated: `4752 + x * (43 ±0)`
49
		// Minimum execution time: 71_996_000 picoseconds.
49
		Weight::from_parts(80_620_929, 4752)
49
			// Standard Error: 1_363
49
			.saturating_add(Weight::from_parts(94_580, 0).saturating_mul(x.into()))
49
			.saturating_add(RocksDbWeight::get().reads(6_u64))
49
			.saturating_add(RocksDbWeight::get().writes(5_u64))
49
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
49
	}
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
22
	fn cancel_candidate_bond_less() -> Weight {
22
		// Proof Size summary in bytes:
22
		//  Measured:  `191`
22
		//  Estimated: `3656`
22
		// Minimum execution time: 18_991_000 picoseconds.
22
		Weight::from_parts(19_491_000, 3656)
22
			.saturating_add(RocksDbWeight::get().reads(1_u64))
22
			.saturating_add(RocksDbWeight::get().writes(1_u64))
22
	}
	fn set_candidate_bond_to_zero(x: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `1322 + x * (42 ±0)`
		//  Estimated: `4752 + x * (43 ±0)`
		// Minimum execution time: 71_996_000 picoseconds.
		Weight::from_parts(80_620_929, 4752)
			// Standard Error: 1_363
			.saturating_add(Weight::from_parts(94_580, 0).saturating_mul(x.into()))
			.saturating_add(RocksDbWeight::get().reads(6_u64))
			.saturating_add(RocksDbWeight::get().writes(5_u64))
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
	}
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[3, 100]`.
	/// The range of component `y` is `[2, 300]`.
	fn delegate(x: u32, y: u32, ) -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `2479 + x * (79 ±0) + y * (38 ±0)`
		//  Estimated: `5723 + x * (81 ±0) + y * (39 ±0)`
		// Minimum execution time: 120_061_000 picoseconds.
		Weight::from_parts(111_894_468, 5723)
			// Standard Error: 1_320
			.saturating_add(Weight::from_parts(135_446, 0).saturating_mul(x.into()))
			// Standard Error: 433
			.saturating_add(Weight::from_parts(41_110, 0).saturating_mul(y.into()))
			.saturating_add(RocksDbWeight::get().reads(8_u64))
			.saturating_add(RocksDbWeight::get().writes(7_u64))
			.saturating_add(Weight::from_parts(0, 81).saturating_mul(x.into()))
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(y.into()))
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// The range of component `x` is `[0, 349]`.
177
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
177
		// Proof Size summary in bytes:
177
		//  Measured:  `566 + x * (42 ±0)`
177
		//  Estimated: `4012 + x * (43 ±0)`
177
		// Minimum execution time: 25_479_000 picoseconds.
177
		Weight::from_parts(35_344_986, 4012)
177
			// Standard Error: 803
177
			.saturating_add(Weight::from_parts(60_212, 0).saturating_mul(x.into()))
177
			.saturating_add(RocksDbWeight::get().reads(2_u64))
177
			.saturating_add(RocksDbWeight::get().writes(2_u64))
177
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
177
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// The range of component `x` is `[0, 349]`.
64
	fn delegator_bond_more(x: u32, ) -> Weight {
64
		// Proof Size summary in bytes:
64
		//  Measured:  `1996 + x * (79 ±0)`
64
		//  Estimated: `5428 + x * (79 ±0)`
64
		// Minimum execution time: 90_985_000 picoseconds.
64
		Weight::from_parts(111_258_553, 5428)
64
			// Standard Error: 1_580
64
			.saturating_add(Weight::from_parts(109_354, 0).saturating_mul(x.into()))
64
			.saturating_add(RocksDbWeight::get().reads(9_u64))
64
			.saturating_add(RocksDbWeight::get().writes(7_u64))
64
			.saturating_add(Weight::from_parts(0, 79).saturating_mul(x.into()))
64
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// The range of component `x` is `[0, 349]`.
115
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
115
		// Proof Size summary in bytes:
115
		//  Measured:  `566 + x * (42 ±0)`
115
		//  Estimated: `4012 + x * (43 ±0)`
115
		// Minimum execution time: 25_784_000 picoseconds.
115
		Weight::from_parts(35_792_924, 4012)
115
			// Standard Error: 793
115
			.saturating_add(Weight::from_parts(60_874, 0).saturating_mul(x.into()))
115
			.saturating_add(RocksDbWeight::get().reads(2_u64))
115
			.saturating_add(RocksDbWeight::get().writes(2_u64))
115
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
115
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:0)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	fn execute_revoke_delegation() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `964`
		//  Estimated: `4752`
		// Minimum execution time: 113_086_000 picoseconds.
		Weight::from_parts(115_421_000, 4752)
			.saturating_add(RocksDbWeight::get().reads(10_u64))
			.saturating_add(RocksDbWeight::get().writes(8_u64))
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
123
	fn execute_delegator_revoke_delegation_worst() -> Weight {
123
		// Proof Size summary in bytes:
123
		//  Measured:  `37308`
123
		//  Estimated: `40773`
123
		// Minimum execution time: 179_325_000 picoseconds.
123
		Weight::from_parts(182_100_000, 40773)
123
			.saturating_add(RocksDbWeight::get().reads(11_u64))
123
			.saturating_add(RocksDbWeight::get().writes(10_u64))
123
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	fn execute_delegator_bond_less_worst() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `29930`
		//  Estimated: `33395`
		// Minimum execution time: 150_818_000 picoseconds.
		Weight::from_parts(152_294_000, 33395)
			.saturating_add(RocksDbWeight::get().reads(10_u64))
			.saturating_add(RocksDbWeight::get().writes(9_u64))
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// The range of component `x` is `[0, 349]`.
96
	fn cancel_delegation_request(x: u32, ) -> Weight {
96
		// Proof Size summary in bytes:
96
		//  Measured:  `663 + x * (42 ±0)`
96
		//  Estimated: `4092 + x * (43 ±0)`
96
		// Minimum execution time: 30_062_000 picoseconds.
96
		Weight::from_parts(37_242_991, 4092)
96
			// Standard Error: 767
96
			.saturating_add(Weight::from_parts(62_995, 0).saturating_mul(x.into()))
96
			.saturating_add(RocksDbWeight::get().reads(2_u64))
96
			.saturating_add(RocksDbWeight::get().writes(2_u64))
96
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
96
	}
	/// Storage: ParachainStaking Points (r:1 w:0)
	/// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking Staked (r:1 w:1)
	/// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking InflationConfig (r:1 w:0)
	/// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking ParachainBondInfo (r:1 w:0)
	/// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking CollatorCommission (r:1 w:0)
	/// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelayedPayouts (r:0 w:1)
	/// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
604
	fn prepare_staking_payouts() -> Weight {
604
		// Proof Size summary in bytes:
604
		//  Measured:  `380`
604
		//  Estimated: `3845`
604
		// Minimum execution time: 48_260_000 picoseconds.
604
		Weight::from_parts(49_856_000, 3845)
604
			.saturating_add(RocksDbWeight::get().reads(6_u64))
604
			.saturating_add(RocksDbWeight::get().writes(3_u64))
604
	}
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:0)
	/// Proof Skipped: 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:  `73 + y * (36 ±0)`
		//  Estimated: `3537 + y * (36 ±0)`
		// Minimum execution time: 8_183_000 picoseconds.
		Weight::from_parts(10_416_160, 3537)
			// Standard Error: 780
			.saturating_add(Weight::from_parts(44_865, 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 Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:0)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:51 w:0)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:51 w:0)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:51 w:0)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:51 w:0)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking SelectedCandidates (r:0 w:1)
	/// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking AtStake (r:0 w:51)
	/// Proof Skipped: 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]`.
2318
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
2318
		// Proof Size summary in bytes:
2318
		//  Measured:  `0 + x * (3816 ±0) + y * (1800 ±0)`
2318
		//  Estimated: `3730 + x * (3975 ±39) + y * (639 ±19)`
2318
		// Minimum execution time: 31_870_000 picoseconds.
2318
		Weight::from_parts(32_158_000, 3730)
2318
			// Standard Error: 51_554
2318
			.saturating_add(Weight::from_parts(22_540_635, 0).saturating_mul(x.into()))
2318
			// Standard Error: 25_709
2318
			.saturating_add(Weight::from_parts(957_745, 0).saturating_mul(y.into()))
2318
			.saturating_add(RocksDbWeight::get().reads(6_u64))
2318
			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into())))
2318
			.saturating_add(RocksDbWeight::get().writes(2_u64))
2318
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
2318
			.saturating_add(Weight::from_parts(0, 3975).saturating_mul(x.into()))
2318
			.saturating_add(Weight::from_parts(0, 639).saturating_mul(y.into()))
2318
	}
	/// 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 Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:349 w:349)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:349 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: 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 * (395 ±0) + y * (156 ±0) + z * (41 ±0)`
50
		//  Estimated: `125757 + x * (2591 ±19) + y * (2234 ±19) + z * (28 ±0)`
50
		// Minimum execution time: 459_000 picoseconds.
50
		Weight::from_parts(472_000, 125757)
50
			// Standard Error: 685_607
50
			.saturating_add(Weight::from_parts(74_007_162, 0).saturating_mul(x.into()))
50
			// Standard Error: 685_607
50
			.saturating_add(Weight::from_parts(43_825_857, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(x.into())))
50
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
50
			.saturating_add(Weight::from_parts(0, 2234).saturating_mul(y.into()))
50
			.saturating_add(Weight::from_parts(0, 28).saturating_mul(z.into()))
50
	}
	/// Storage: ParachainStaking DelayedPayouts (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking Points (r:1 w:0)
	/// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AtStake (r:2 w:1)
	/// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AwardedPts (r:1 w:1)
	/// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0)
	/// Proof Skipped: 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:  `1208 + y * (160 ±0)`
50
		//  Estimated: `6978 + y * (2591 ±0)`
50
		// Minimum execution time: 65_428_000 picoseconds.
50
		Weight::from_parts(68_535_135, 6978)
50
			// Standard Error: 6_093
50
			.saturating_add(Weight::from_parts(25_186_464, 0).saturating_mul(y.into()))
50
			.saturating_add(RocksDbWeight::get().reads(8_u64))
50
			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
50
			.saturating_add(RocksDbWeight::get().writes(3_u64))
50
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
50
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
50
	}
1231
	fn base_on_initialize() -> Weight {
1231
		// Proof Size summary in bytes:
1231
		//  Measured:  `0`
1231
		//  Estimated: `0`
1231
		// Minimum execution time: 2_024_000 picoseconds.
1231
		Weight::from_parts(2_168_000, 0)
1231
	}
	/// Storage: ParachainStaking DelegatorState (r:1 w:0)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: 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]`.
88
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
88
		// Proof Size summary in bytes:
88
		//  Measured:  `671 + x * (22 ±0) + y * (36 ±0)`
88
		//  Estimated: `4027 + x * (23 ±0) + y * (36 ±0)`
88
		// Minimum execution time: 34_494_000 picoseconds.
88
		Weight::from_parts(33_677_881, 4027)
88
			// Standard Error: 278
88
			.saturating_add(Weight::from_parts(45_734, 0).saturating_mul(x.into()))
88
			// Standard Error: 833
88
			.saturating_add(Weight::from_parts(39_753, 0).saturating_mul(y.into()))
88
			.saturating_add(RocksDbWeight::get().reads(2_u64))
88
			.saturating_add(RocksDbWeight::get().writes(1_u64))
88
			.saturating_add(Weight::from_parts(0, 23).saturating_mul(x.into()))
88
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
88
	}
	/// Storage: System Account (r:1 w:1)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegatorState (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:1 w:1)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:1 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: 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]`.
66
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
66
		// Proof Size summary in bytes:
66
		//  Measured:  `0 + x * (60 ±0) + y * (21 ±0) + z * (78 ±0)`
66
		//  Estimated: `26253 + x * (44 ±0) + y * (19 ±0) + z * (76 ±1)`
66
		// Minimum execution time: 130_103_000 picoseconds.
66
		Weight::from_parts(116_616_415, 26253)
66
			// Standard Error: 1_141
66
			.saturating_add(Weight::from_parts(117_041, 0).saturating_mul(x.into()))
66
			// Standard Error: 4_030
66
			.saturating_add(Weight::from_parts(178_483, 0).saturating_mul(z.into()))
66
			.saturating_add(RocksDbWeight::get().reads(9_u64))
66
			.saturating_add(RocksDbWeight::get().writes(8_u64))
66
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
66
			.saturating_add(Weight::from_parts(0, 19).saturating_mul(y.into()))
66
			.saturating_add(Weight::from_parts(0, 76).saturating_mul(z.into()))
66
	}
	/// Storage: System Account (r:2 w:2)
	/// Proof: System Account (max_values: None, max_size: Some(116), added: 2591, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegatorState (r:2 w:2)
	/// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AutoCompoundingDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking AutoCompoundingDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking TopDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking BottomDelegations (r:1 w:1)
	/// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured)
	/// Storage: Balances Locks (r:2 w:2)
	/// Proof: Balances Locks (max_values: None, max_size: Some(1287), added: 3762, mode: MaxEncodedLen)
	/// Storage: Balances Freezes (r:2 w:0)
	/// Proof: Balances Freezes (max_values: None, max_size: Some(37), added: 2512, mode: MaxEncodedLen)
	/// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
	/// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking Total (r:1 w:1)
	/// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured)
22
	fn delegate_with_auto_compound_worst() -> Weight {
22
		// Proof Size summary in bytes:
22
		//  Measured:  `48167`
22
		//  Estimated: `54107`
22
		// Minimum execution time: 276_584_000 picoseconds.
22
		Weight::from_parts(279_594_000, 54107)
22
			.saturating_add(RocksDbWeight::get().reads(15_u64))
22
			.saturating_add(RocksDbWeight::get().writes(13_u64))
22
	}
	/// 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: 28_741_000 picoseconds.
50
		Weight::from_parts(29_344_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 Skipped: ParachainStaking EnableMarkingOffline (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking TotalSelected (r:1 w:0)
	/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking SelectedCandidates (r:1 w:0)
	/// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured)
	/// Storage: ParachainStaking AtStake (r:2 w:0)
	/// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking AwardedPts (r:2 w:0)
	/// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured)
	/// Storage: MoonbeamOrbiters OrbiterPerRound (r:1 w:0)
	/// Proof Skipped: MoonbeamOrbiters OrbiterPerRound (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidateInfo (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured)
	/// Storage: ParachainStaking CandidatePool (r:1 w:1)
	/// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured)
	fn notify_inactive_collator() -> Weight {
		// Proof Size summary in bytes:
		//  Measured:  `11494`
		//  Estimated: `17434`
		// Minimum execution time: 41_130_000 picoseconds.
		Weight::from_parts(41_130_000, 0)
			.saturating_add(Weight::from_parts(0, 17434))
			.saturating_add(RocksDbWeight::get().reads(10_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]`.
604
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
604
		// Proof Size summary in bytes:
604
		//  Measured:  `108 + x * (104 ±0)`
604
		//  Estimated: `6050 + x * (2580 ±0)`
604
		// Minimum execution time: 16_000_000 picoseconds.
604
		Weight::from_parts(27_982_315, 6050)
604
			// Standard Error: 27_443
604
			.saturating_add(Weight::from_parts(11_819_726, 0).saturating_mul(x.into()))
604
			.saturating_add(RocksDbWeight::get().reads(3_u64))
604
			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
604
			.saturating_add(RocksDbWeight::get().writes(1_u64))
604
			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(x.into())))
604
			.saturating_add(Weight::from_parts(0, 2580).saturating_mul(x.into()))
604
	}
}