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

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

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

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

            
17

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

            
26
// Executed Command:
27
// ./frame-omni-bencher
28
// v1
29
// benchmark
30
// pallet
31
// --runtime=./target/production/wbuild/moonriver-runtime/moonriver_runtime.wasm
32
// --genesis-builder=runtime
33
// --genesis-builder-preset=development
34
// --steps=50
35
// --repeat=20
36
// --pallet=pallet_parachain_staking
37
// --extrinsic=*
38
// --wasm-execution=compiled
39
// --header=./file_header.txt
40
// --template=./benchmarking/frame-weight-template.hbs
41
// --output=./runtime/moonriver/src/weights
42

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

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

            
50
/// Weights for `pallet_parachain_staking`.
51
pub struct WeightInfo<T>(PhantomData<T>);
52
impl<T: frame_system::Config> pallet_parachain_staking::WeightInfo for WeightInfo<T> {
53
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
54
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
55
	fn set_staking_expectations() -> Weight {
56
		// Proof Size summary in bytes:
57
		//  Measured:  `88`
58
		//  Estimated: `1573`
59
		// Minimum execution time: 8_693_000 picoseconds.
60
		Weight::from_parts(9_145_000, 1573)
61
			.saturating_add(T::DbWeight::get().reads(1_u64))
62
			.saturating_add(T::DbWeight::get().writes(1_u64))
63
	}
64
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
65
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
66
	fn set_inflation() -> Weight {
67
		// Proof Size summary in bytes:
68
		//  Measured:  `88`
69
		//  Estimated: `1573`
70
		// Minimum execution time: 36_382_000 picoseconds.
71
		Weight::from_parts(37_381_000, 1573)
72
			.saturating_add(T::DbWeight::get().reads(1_u64))
73
			.saturating_add(T::DbWeight::get().writes(1_u64))
74
	}
75
	/// Storage: `ParachainStaking::InflationDistributionInfo` (r:1 w:1)
76
	/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
77
	fn set_inflation_distribution_config() -> Weight {
78
		// Proof Size summary in bytes:
79
		//  Measured:  `30`
80
		//  Estimated: `1515`
81
		// Minimum execution time: 7_563_000 picoseconds.
82
		Weight::from_parts(7_906_000, 1515)
83
			.saturating_add(T::DbWeight::get().reads(1_u64))
84
			.saturating_add(T::DbWeight::get().writes(1_u64))
85
	}
86
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:1)
87
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
88
	fn set_total_selected() -> Weight {
89
		// Proof Size summary in bytes:
90
		//  Measured:  `28`
91
		//  Estimated: `1513`
92
		// Minimum execution time: 8_194_000 picoseconds.
93
		Weight::from_parts(8_553_000, 1513)
94
			.saturating_add(T::DbWeight::get().reads(1_u64))
95
			.saturating_add(T::DbWeight::get().writes(1_u64))
96
	}
97
	/// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1)
98
	/// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
99
	fn set_collator_commission() -> Weight {
100
		// Proof Size summary in bytes:
101
		//  Measured:  `27`
102
		//  Estimated: `1512`
103
		// Minimum execution time: 7_511_000 picoseconds.
104
		Weight::from_parts(7_751_000, 1512)
105
			.saturating_add(T::DbWeight::get().reads(1_u64))
106
			.saturating_add(T::DbWeight::get().writes(1_u64))
107
	}
108
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
109
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
110
	/// Storage: `ParachainStaking::InflationConfig` (r:1 w:1)
111
	/// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
112
	fn set_blocks_per_round() -> Weight {
113
		// Proof Size summary in bytes:
114
		//  Measured:  `116`
115
		//  Estimated: `1601`
116
		// Minimum execution time: 39_703_000 picoseconds.
117
		Weight::from_parts(40_302_000, 1601)
118
			.saturating_add(T::DbWeight::get().reads(2_u64))
119
			.saturating_add(T::DbWeight::get().writes(1_u64))
120
	}
121
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
122
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
123
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
124
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
125
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
126
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
127
	/// Storage: `System::Account` (r:1 w:1)
128
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
129
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:0)
130
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
131
	/// Storage: `Balances::Freezes` (r:1 w:1)
132
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
133
	/// Storage: `Balances::Locks` (r:1 w:0)
134
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
135
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
136
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
137
	/// Storage: `ParachainStaking::TopDelegations` (r:0 w:1)
138
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
139
	/// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1)
140
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
141
	/// The range of component `x` is `[3, 200]`.
142
	fn join_candidates(x: u32, ) -> Weight {
143
		// Proof Size summary in bytes:
144
		//  Measured:  `1428 + x * (38 ±0)`
145
		//  Estimated: `4752 + x * (41 ±0)`
146
		// Minimum execution time: 57_024_000 picoseconds.
147
		Weight::from_parts(68_342_515, 4752)
148
			// Standard Error: 2_929
149
			.saturating_add(Weight::from_parts(114_865, 0).saturating_mul(x.into()))
150
			.saturating_add(T::DbWeight::get().reads(8_u64))
151
			.saturating_add(T::DbWeight::get().writes(7_u64))
152
			.saturating_add(Weight::from_parts(0, 41).saturating_mul(x.into()))
153
	}
154
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
155
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
156
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
157
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
158
	/// The range of component `x` is `[3, 200]`.
159
	fn schedule_leave_candidates(x: u32, ) -> Weight {
160
		// Proof Size summary in bytes:
161
		//  Measured:  `665 + x * (37 ±0)`
162
		//  Estimated: `4023 + x * (38 ±0)`
163
		// Minimum execution time: 17_355_000 picoseconds.
164
		Weight::from_parts(24_702_596, 4023)
165
			// Standard Error: 1_492
166
			.saturating_add(Weight::from_parts(74_346, 0).saturating_mul(x.into()))
167
			.saturating_add(T::DbWeight::get().reads(2_u64))
168
			.saturating_add(T::DbWeight::get().writes(2_u64))
169
			.saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into()))
170
	}
171
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
172
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
173
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
174
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
175
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
176
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
177
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
178
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
179
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
180
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
181
	/// Storage: `Balances::Freezes` (r:350 w:350)
182
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
183
	/// Storage: `System::Account` (r:350 w:350)
184
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
185
	/// Storage: `Balances::Locks` (r:350 w:1)
186
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
187
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
188
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
189
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
190
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
191
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
192
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193
	/// The range of component `x` is `[2, 350]`.
194
	fn execute_leave_candidates_worst_case(x: u32, ) -> Weight {
195
		// Proof Size summary in bytes:
196
		//  Measured:  `1223 + x * (455 ±0)`
197
		//  Estimated: `4763 + x * (3762 ±0)`
198
		// Minimum execution time: 131_030_000 picoseconds.
199
		Weight::from_parts(136_720_000, 4763)
200
			// Standard Error: 60_328
201
			.saturating_add(Weight::from_parts(39_876_092, 0).saturating_mul(x.into()))
202
			.saturating_add(T::DbWeight::get().reads(4_u64))
203
			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(x.into())))
204
			.saturating_add(T::DbWeight::get().writes(6_u64))
205
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
206
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
207
	}
208
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
209
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
210
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
211
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
212
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
213
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
214
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
215
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
216
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:0)
217
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
218
	/// Storage: `Balances::Freezes` (r:350 w:350)
219
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
220
	/// Storage: `System::Account` (r:350 w:350)
221
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
222
	/// Storage: `Balances::Locks` (r:350 w:1)
223
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
224
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
225
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
226
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
227
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
228
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
229
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230
	/// The range of component `x` is `[2, 350]`.
231
	/// The range of component `y` is `[2, 350]`.
232
	fn execute_leave_candidates_ideal(x: u32, _y: u32, ) -> Weight {
233
		// Proof Size summary in bytes:
234
		//  Measured:  `1216 + x * (455 ±0)`
235
		//  Estimated: `4763 + x * (3762 ±0)`
236
		// Minimum execution time: 120_936_000 picoseconds.
237
		Weight::from_parts(122_226_000, 4763)
238
			// Standard Error: 28_108
239
			.saturating_add(Weight::from_parts(41_214_118, 0).saturating_mul(x.into()))
240
			.saturating_add(T::DbWeight::get().reads(4_u64))
241
			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(x.into())))
242
			.saturating_add(T::DbWeight::get().writes(6_u64))
243
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
244
			.saturating_add(Weight::from_parts(0, 3762).saturating_mul(x.into()))
245
	}
246
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
247
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
248
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
249
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
250
	/// The range of component `x` is `[3, 200]`.
251
	fn cancel_leave_candidates(x: u32, ) -> Weight {
252
		// Proof Size summary in bytes:
253
		//  Measured:  `633 + x * (37 ±0)`
254
		//  Estimated: `3991 + x * (38 ±0)`
255
		// Minimum execution time: 16_523_000 picoseconds.
256
		Weight::from_parts(23_963_407, 3991)
257
			// Standard Error: 1_712
258
			.saturating_add(Weight::from_parts(79_182, 0).saturating_mul(x.into()))
259
			.saturating_add(T::DbWeight::get().reads(2_u64))
260
			.saturating_add(T::DbWeight::get().writes(2_u64))
261
			.saturating_add(Weight::from_parts(0, 38).saturating_mul(x.into()))
262
	}
263
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
264
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
265
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
266
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
267
	/// The range of component `x` is `[1, 200]`.
268
1
	fn go_offline(x: u32, ) -> Weight {
269
1
		// Proof Size summary in bytes:
270
1
		//  Measured:  `530 + x * (38 ±0)`
271
1
		//  Estimated: `3931 + x * (39 ±0)`
272
1
		// Minimum execution time: 15_742_000 picoseconds.
273
1
		Weight::from_parts(21_847_809, 3931)
274
1
			// Standard Error: 1_577
275
1
			.saturating_add(Weight::from_parts(82_002, 0).saturating_mul(x.into()))
276
1
			.saturating_add(T::DbWeight::get().reads(2_u64))
277
1
			.saturating_add(T::DbWeight::get().writes(2_u64))
278
1
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
279
1
	}
280
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
281
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
282
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
283
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
284
	/// The range of component `x` is `[1, 200]`.
285
	fn go_online(x: u32, ) -> Weight {
286
		// Proof Size summary in bytes:
287
		//  Measured:  `494 + x * (38 ±0)`
288
		//  Estimated: `3895 + x * (39 ±0)`
289
		// Minimum execution time: 15_602_000 picoseconds.
290
		Weight::from_parts(21_909_701, 3895)
291
			// Standard Error: 1_691
292
			.saturating_add(Weight::from_parts(86_830, 0).saturating_mul(x.into()))
293
			.saturating_add(T::DbWeight::get().reads(2_u64))
294
			.saturating_add(T::DbWeight::get().writes(2_u64))
295
			.saturating_add(Weight::from_parts(0, 39).saturating_mul(x.into()))
296
	}
297
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
298
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
299
	/// Storage: `System::Account` (r:1 w:1)
300
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
301
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
302
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
303
	/// Storage: `Balances::Locks` (r:1 w:1)
304
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
305
	/// Storage: `Balances::Freezes` (r:1 w:1)
306
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
307
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
308
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
309
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
310
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
311
	/// The range of component `x` is `[1, 200]`.
312
	fn candidate_bond_more(x: u32, ) -> Weight {
313
		// Proof Size summary in bytes:
314
		//  Measured:  `1277 + x * (42 ±0)`
315
		//  Estimated: `4752 + x * (44 ±0)`
316
		// Minimum execution time: 80_161_000 picoseconds.
317
		Weight::from_parts(92_845_637, 4752)
318
			// Standard Error: 2_605
319
			.saturating_add(Weight::from_parts(120_492, 0).saturating_mul(x.into()))
320
			.saturating_add(T::DbWeight::get().reads(7_u64))
321
			.saturating_add(T::DbWeight::get().writes(7_u64))
322
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
323
	}
324
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
325
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
326
	fn schedule_candidate_bond_less() -> Weight {
327
		// Proof Size summary in bytes:
328
		//  Measured:  `171`
329
		//  Estimated: `3636`
330
		// Minimum execution time: 13_609_000 picoseconds.
331
		Weight::from_parts(14_363_000, 3636)
332
			.saturating_add(T::DbWeight::get().reads(1_u64))
333
			.saturating_add(T::DbWeight::get().writes(1_u64))
334
	}
335
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
336
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
337
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
338
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
339
	/// Storage: `ParachainStaking::MigratedCandidates` (r:1 w:1)
340
	/// Proof: `ParachainStaking::MigratedCandidates` (`max_values`: None, `max_size`: None, mode: `Measured`)
341
	/// Storage: `Balances::Locks` (r:1 w:1)
342
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
343
	/// Storage: `Balances::Freezes` (r:1 w:1)
344
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
345
	/// Storage: `System::Account` (r:1 w:1)
346
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
347
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
348
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
349
	/// The range of component `x` is `[1, 200]`.
350
	fn execute_candidate_bond_less(x: u32, ) -> Weight {
351
		// Proof Size summary in bytes:
352
		//  Measured:  `1366 + x * (42 ±0)`
353
		//  Estimated: `4752 + x * (43 ±0)`
354
		// Minimum execution time: 90_185_000 picoseconds.
355
		Weight::from_parts(105_118_231, 4752)
356
			// Standard Error: 3_143
357
			.saturating_add(Weight::from_parts(93_062, 0).saturating_mul(x.into()))
358
			.saturating_add(T::DbWeight::get().reads(7_u64))
359
			.saturating_add(T::DbWeight::get().writes(7_u64))
360
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
361
	}
362
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
363
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
364
	fn cancel_candidate_bond_less() -> Weight {
365
		// Proof Size summary in bytes:
366
		//  Measured:  `191`
367
		//  Estimated: `3656`
368
		// Minimum execution time: 12_776_000 picoseconds.
369
		Weight::from_parts(13_258_000, 3656)
370
			.saturating_add(T::DbWeight::get().reads(1_u64))
371
			.saturating_add(T::DbWeight::get().writes(1_u64))
372
	}
373
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
374
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
375
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
376
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
377
	/// The range of component `x` is `[0, 349]`.
378
	fn schedule_revoke_delegation(x: u32, ) -> Weight {
379
		// Proof Size summary in bytes:
380
		//  Measured:  `606 + x * (42 ±0)`
381
		//  Estimated: `4050 + x * (43 ±0)`
382
		// Minimum execution time: 16_832_000 picoseconds.
383
		Weight::from_parts(26_709_680, 4050)
384
			// Standard Error: 1_420
385
			.saturating_add(Weight::from_parts(77_545, 0).saturating_mul(x.into()))
386
			.saturating_add(T::DbWeight::get().reads(2_u64))
387
			.saturating_add(T::DbWeight::get().writes(2_u64))
388
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
389
	}
390
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
391
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
392
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
393
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
394
	/// Storage: `System::Account` (r:1 w:1)
395
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
396
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
397
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
398
	/// Storage: `Balances::Locks` (r:1 w:1)
399
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
400
	/// Storage: `Balances::Freezes` (r:1 w:1)
401
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
402
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
403
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
404
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
405
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
406
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
407
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
408
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
409
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
410
	/// The range of component `x` is `[0, 349]`.
411
	fn delegator_bond_more(x: u32, ) -> Weight {
412
		// Proof Size summary in bytes:
413
		//  Measured:  `1982 + x * (79 ±0)`
414
		//  Estimated: `5417 + x * (79 ±0)`
415
		// Minimum execution time: 95_675_000 picoseconds.
416
		Weight::from_parts(113_483_008, 5417)
417
			// Standard Error: 2_059
418
			.saturating_add(Weight::from_parts(122_846, 0).saturating_mul(x.into()))
419
			.saturating_add(T::DbWeight::get().reads(10_u64))
420
			.saturating_add(T::DbWeight::get().writes(9_u64))
421
			.saturating_add(Weight::from_parts(0, 79).saturating_mul(x.into()))
422
	}
423
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
424
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
425
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
426
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
427
	/// The range of component `x` is `[0, 349]`.
428
	fn schedule_delegator_bond_less(x: u32, ) -> Weight {
429
		// Proof Size summary in bytes:
430
		//  Measured:  `606 + x * (42 ±0)`
431
		//  Estimated: `4050 + x * (43 ±0)`
432
		// Minimum execution time: 17_584_000 picoseconds.
433
		Weight::from_parts(27_508_146, 4050)
434
			// Standard Error: 1_380
435
			.saturating_add(Weight::from_parts(74_090, 0).saturating_mul(x.into()))
436
			.saturating_add(T::DbWeight::get().reads(2_u64))
437
			.saturating_add(T::DbWeight::get().writes(2_u64))
438
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
439
	}
440
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
441
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
442
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
443
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
444
	/// Storage: `Balances::Locks` (r:1 w:1)
445
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
446
	/// Storage: `Balances::Freezes` (r:1 w:1)
447
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
448
	/// Storage: `System::Account` (r:1 w:1)
449
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
450
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
451
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
452
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
453
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
454
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
455
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
456
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
457
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
458
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
459
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
460
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
461
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
462
	fn execute_delegator_revoke_delegation_worst() -> Weight {
463
		// Proof Size summary in bytes:
464
		//  Measured:  `37340`
465
		//  Estimated: `40805`
466
		// Minimum execution time: 164_802_000 picoseconds.
467
		Weight::from_parts(181_620_000, 40805)
468
			.saturating_add(T::DbWeight::get().reads(11_u64))
469
			.saturating_add(T::DbWeight::get().writes(11_u64))
470
	}
471
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
472
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
473
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
474
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
475
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
476
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
477
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:1)
478
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
479
	/// Storage: `Balances::Locks` (r:1 w:1)
480
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
481
	/// Storage: `Balances::Freezes` (r:1 w:1)
482
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
483
	/// Storage: `System::Account` (r:1 w:1)
484
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
485
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
486
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
487
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
488
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
489
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
490
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
491
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
492
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
493
	fn execute_delegator_bond_less_worst() -> Weight {
494
		// Proof Size summary in bytes:
495
		//  Measured:  `29962`
496
		//  Estimated: `33427`
497
		// Minimum execution time: 163_539_000 picoseconds.
498
		Weight::from_parts(178_805_000, 33427)
499
			.saturating_add(T::DbWeight::get().reads(11_u64))
500
			.saturating_add(T::DbWeight::get().writes(11_u64))
501
	}
502
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
503
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
504
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
505
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
506
	/// The range of component `x` is `[0, 349]`.
507
	fn cancel_delegation_request(x: u32, ) -> Weight {
508
		// Proof Size summary in bytes:
509
		//  Measured:  `703 + x * (42 ±0)`
510
		//  Estimated: `4132 + x * (43 ±0)`
511
		// Minimum execution time: 23_202_000 picoseconds.
512
		Weight::from_parts(29_319_750, 4132)
513
			// Standard Error: 976
514
			.saturating_add(Weight::from_parts(59_845, 0).saturating_mul(x.into()))
515
			.saturating_add(T::DbWeight::get().reads(2_u64))
516
			.saturating_add(T::DbWeight::get().writes(2_u64))
517
			.saturating_add(Weight::from_parts(0, 43).saturating_mul(x.into()))
518
	}
519
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
520
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
521
5
	fn prepare_staking_payouts() -> Weight {
522
5
		// Proof Size summary in bytes:
523
5
		//  Measured:  `3`
524
5
		//  Estimated: `3468`
525
5
		// Minimum execution time: 2_949_000 picoseconds.
526
5
		Weight::from_parts(3_101_000, 3468)
527
5
			.saturating_add(T::DbWeight::get().reads(1_u64))
528
5
	}
529
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
530
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
531
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:0)
532
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
533
	/// The range of component `y` is `[0, 100]`.
534
	fn get_rewardable_delegators(y: u32, ) -> Weight {
535
		// Proof Size summary in bytes:
536
		//  Measured:  `90 + y * (36 ±0)`
537
		//  Estimated: `3554 + y * (36 ±0)`
538
		// Minimum execution time: 7_204_000 picoseconds.
539
		Weight::from_parts(8_811_912, 3554)
540
			// Standard Error: 641
541
			.saturating_add(Weight::from_parts(48_606, 0).saturating_mul(y.into()))
542
			.saturating_add(T::DbWeight::get().reads(2_u64))
543
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
544
	}
545
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
546
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
547
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:0)
548
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
549
	/// Storage: `ParachainStaking::CandidateInfo` (r:51 w:0)
550
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
551
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:51 w:0)
552
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
553
	/// Storage: `ParachainStaking::TopDelegations` (r:51 w:0)
554
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
555
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:51 w:0)
556
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
557
	/// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1)
558
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
559
	/// Storage: `ParachainStaking::AtStake` (r:0 w:51)
560
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
561
	/// The range of component `x` is `[0, 50]`.
562
	/// The range of component `y` is `[0, 100]`.
563
66
	fn select_top_candidates(x: u32, y: u32, ) -> Weight {
564
66
		// Proof Size summary in bytes:
565
66
		//  Measured:  `0 + x * (3816 ±0) + y * (1800 ±0)`
566
66
		//  Estimated: `3710 + x * (3975 ±39) + y * (639 ±19)`
567
66
		// Minimum execution time: 24_303_000 picoseconds.
568
66
		Weight::from_parts(24_652_000, 3710)
569
66
			// Standard Error: 97_116
570
66
			.saturating_add(Weight::from_parts(18_237_044, 0).saturating_mul(x.into()))
571
66
			// Standard Error: 48_429
572
66
			.saturating_add(Weight::from_parts(1_468_685, 0).saturating_mul(y.into()))
573
66
			.saturating_add(T::DbWeight::get().reads(6_u64))
574
66
			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into())))
575
66
			.saturating_add(T::DbWeight::get().writes(2_u64))
576
66
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
577
66
			.saturating_add(Weight::from_parts(0, 3975).saturating_mul(x.into()))
578
66
			.saturating_add(Weight::from_parts(0, 639).saturating_mul(y.into()))
579
66
	}
580
	/// Storage: `System::Account` (r:349 w:349)
581
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
582
	/// Storage: `ParachainStaking::DelegatorState` (r:349 w:349)
583
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
584
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
585
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
586
	/// Storage: `ParachainStaking::MigratedDelegators` (r:349 w:349)
587
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
588
	/// Storage: `Balances::Locks` (r:349 w:349)
589
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
590
	/// Storage: `Balances::Freezes` (r:349 w:349)
591
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
592
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
593
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
594
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
595
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
596
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
597
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
598
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
599
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
600
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
601
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
602
	/// The range of component `x` is `[0, 349]`.
603
	/// The range of component `y` is `[0, 349]`.
604
	/// The range of component `z` is `[0, 349]`.
605
2
	fn pay_one_collator_reward_best(x: u32, y: u32, z: u32, ) -> Weight {
606
2
		// Proof Size summary in bytes:
607
2
		//  Measured:  `0 + x * (387 ±0) + y * (148 ±0) + z * (41 ±0)`
608
2
		//  Estimated: `123445 + x * (2591 ±7) + y * (2234 ±20) + z * (28 ±0)`
609
2
		// Minimum execution time: 233_000 picoseconds.
610
2
		Weight::from_parts(260_000, 123445)
611
2
			// Standard Error: 703_386
612
2
			.saturating_add(Weight::from_parts(72_743_023, 0).saturating_mul(x.into()))
613
2
			// Standard Error: 703_386
614
2
			.saturating_add(Weight::from_parts(46_165_121, 0).saturating_mul(y.into()))
615
2
			.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into())))
616
2
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(y.into())))
617
2
			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into())))
618
2
			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(y.into())))
619
2
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(x.into()))
620
2
			.saturating_add(Weight::from_parts(0, 2234).saturating_mul(y.into()))
621
2
			.saturating_add(Weight::from_parts(0, 28).saturating_mul(z.into()))
622
2
	}
623
	/// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0)
624
	/// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`)
625
	/// Storage: `ParachainStaking::Points` (r:1 w:0)
626
	/// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`)
627
	/// Storage: `ParachainStaking::AtStake` (r:2 w:1)
628
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
629
	/// Storage: `ParachainStaking::AwardedPts` (r:1 w:1)
630
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
631
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0)
632
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
633
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
634
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
635
	/// Storage: `System::Account` (r:301 w:301)
636
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
637
	/// The range of component `y` is `[0, 300]`.
638
2
	fn pay_one_collator_reward(y: u32, ) -> Weight {
639
2
		// Proof Size summary in bytes:
640
2
		//  Measured:  `1321 + y * (160 ±0)`
641
2
		//  Estimated: `7079 + y * (2591 ±0)`
642
2
		// Minimum execution time: 52_794_000 picoseconds.
643
2
		Weight::from_parts(35_546_178, 7079)
644
2
			// Standard Error: 15_935
645
2
			.saturating_add(Weight::from_parts(22_093_944, 0).saturating_mul(y.into()))
646
2
			.saturating_add(T::DbWeight::get().reads(8_u64))
647
2
			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
648
2
			.saturating_add(T::DbWeight::get().writes(3_u64))
649
2
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into())))
650
2
			.saturating_add(Weight::from_parts(0, 2591).saturating_mul(y.into()))
651
2
	}
652
6621
	fn base_on_initialize() -> Weight {
653
6621
		// Proof Size summary in bytes:
654
6621
		//  Measured:  `0`
655
6621
		//  Estimated: `0`
656
6621
		// Minimum execution time: 804_000 picoseconds.
657
6621
		Weight::from_parts(883_000, 0)
658
6621
	}
659
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:0)
660
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
661
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
662
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
663
	/// The range of component `x` is `[0, 300]`.
664
	/// The range of component `y` is `[0, 100]`.
665
	fn set_auto_compound(x: u32, y: u32, ) -> Weight {
666
		// Proof Size summary in bytes:
667
		//  Measured:  `672 + x * (22 ±0) + y * (36 ±0)`
668
		//  Estimated: `4028 + x * (23 ±0) + y * (36 ±0)`
669
		// Minimum execution time: 25_425_000 picoseconds.
670
		Weight::from_parts(28_035_412, 4028)
671
			// Standard Error: 1_511
672
			.saturating_add(Weight::from_parts(48_737, 0).saturating_mul(x.into()))
673
			// Standard Error: 4_523
674
			.saturating_add(Weight::from_parts(57_499, 0).saturating_mul(y.into()))
675
			.saturating_add(T::DbWeight::get().reads(2_u64))
676
			.saturating_add(T::DbWeight::get().writes(1_u64))
677
			.saturating_add(Weight::from_parts(0, 23).saturating_mul(x.into()))
678
			.saturating_add(Weight::from_parts(0, 36).saturating_mul(y.into()))
679
	}
680
	/// Storage: `System::Account` (r:1 w:1)
681
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
682
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
683
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
684
	/// Storage: `ParachainStaking::DelegatorState` (r:1 w:1)
685
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
686
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
687
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
688
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
689
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
690
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
691
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
692
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
693
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
694
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
695
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
696
	/// Storage: `Balances::Freezes` (r:1 w:1)
697
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
698
	/// Storage: `Balances::Locks` (r:1 w:0)
699
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
700
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
701
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
702
	/// The range of component `x` is `[0, 350]`.
703
	/// The range of component `y` is `[0, 349]`.
704
	/// The range of component `z` is `[0, 99]`.
705
	fn delegate_with_auto_compound(x: u32, y: u32, z: u32, ) -> Weight {
706
		// Proof Size summary in bytes:
707
		//  Measured:  `0 + x * (60 ±0) + y * (21 ±0) + z * (78 ±0)`
708
		//  Estimated: `26261 + x * (44 ±0) + y * (19 ±0) + z * (76 ±1)`
709
		// Minimum execution time: 112_716_000 picoseconds.
710
		Weight::from_parts(98_731_544, 26261)
711
			// Standard Error: 2_227
712
			.saturating_add(Weight::from_parts(143_993, 0).saturating_mul(x.into()))
713
			// Standard Error: 2_233
714
			.saturating_add(Weight::from_parts(19_630, 0).saturating_mul(y.into()))
715
			// Standard Error: 7_865
716
			.saturating_add(Weight::from_parts(150_682, 0).saturating_mul(z.into()))
717
			.saturating_add(T::DbWeight::get().reads(10_u64))
718
			.saturating_add(T::DbWeight::get().writes(8_u64))
719
			.saturating_add(Weight::from_parts(0, 44).saturating_mul(x.into()))
720
			.saturating_add(Weight::from_parts(0, 19).saturating_mul(y.into()))
721
			.saturating_add(Weight::from_parts(0, 76).saturating_mul(z.into()))
722
	}
723
	/// Storage: `System::Account` (r:2 w:2)
724
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
725
	/// Storage: `ParachainStaking::MigratedDelegators` (r:1 w:0)
726
	/// Proof: `ParachainStaking::MigratedDelegators` (`max_values`: None, `max_size`: None, mode: `Measured`)
727
	/// Storage: `ParachainStaking::DelegatorState` (r:2 w:2)
728
	/// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`)
729
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
730
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
731
	/// Storage: `ParachainStaking::AutoCompoundingDelegations` (r:1 w:1)
732
	/// Proof: `ParachainStaking::AutoCompoundingDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
733
	/// Storage: `ParachainStaking::TopDelegations` (r:1 w:1)
734
	/// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
735
	/// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1)
736
	/// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`)
737
	/// Storage: `Balances::Locks` (r:2 w:1)
738
	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1287), added: 3762, mode: `MaxEncodedLen`)
739
	/// Storage: `Balances::Freezes` (r:2 w:2)
740
	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
741
	/// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1)
742
	/// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
743
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
744
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
745
	/// Storage: `ParachainStaking::Total` (r:1 w:1)
746
	/// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
747
	fn delegate_with_auto_compound_worst() -> Weight {
748
		// Proof Size summary in bytes:
749
		//  Measured:  `48168`
750
		//  Estimated: `54108`
751
		// Minimum execution time: 251_998_000 picoseconds.
752
		Weight::from_parts(257_023_000, 54108)
753
			.saturating_add(T::DbWeight::get().reads(16_u64))
754
			.saturating_add(T::DbWeight::get().writes(14_u64))
755
	}
756
	/// Storage: `System::Account` (r:1 w:1)
757
	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(116), added: 2591, mode: `MaxEncodedLen`)
758
14
	fn mint_collator_reward() -> Weight {
759
14
		// Proof Size summary in bytes:
760
14
		//  Measured:  `128`
761
14
		//  Estimated: `3581`
762
14
		// Minimum execution time: 22_744_000 picoseconds.
763
14
		Weight::from_parts(23_233_000, 3581)
764
14
			.saturating_add(T::DbWeight::get().reads(1_u64))
765
14
			.saturating_add(T::DbWeight::get().writes(1_u64))
766
14
	}
767
	/// Storage: `ParachainStaking::EnableMarkingOffline` (r:1 w:0)
768
	/// Proof: `ParachainStaking::EnableMarkingOffline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
769
	/// Storage: `ParachainStaking::TotalSelected` (r:1 w:0)
770
	/// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
771
	/// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0)
772
	/// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
773
	/// Storage: `ParachainStaking::WasInactive` (r:2 w:0)
774
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
775
	/// Storage: `MoonbeamOrbiters::OrbiterPerRound` (r:1 w:0)
776
	/// Proof: `MoonbeamOrbiters::OrbiterPerRound` (`max_values`: None, `max_size`: None, mode: `Measured`)
777
	/// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1)
778
	/// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
779
	/// Storage: `ParachainStaking::CandidatePool` (r:1 w:1)
780
	/// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
781
	fn notify_inactive_collator() -> Weight {
782
		// Proof Size summary in bytes:
783
		//  Measured:  `11178`
784
		//  Estimated: `17118`
785
		// Minimum execution time: 70_155_000 picoseconds.
786
		Weight::from_parts(71_157_000, 17118)
787
			.saturating_add(T::DbWeight::get().reads(8_u64))
788
			.saturating_add(T::DbWeight::get().writes(2_u64))
789
	}
790
	/// Storage: `ParachainStaking::AtStake` (r:52 w:0)
791
	/// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`)
792
	/// Storage: `ParachainStaking::AwardedPts` (r:51 w:0)
793
	/// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`)
794
	/// Storage: `ParachainStaking::WasInactive` (r:0 w:51)
795
	/// Proof: `ParachainStaking::WasInactive` (`max_values`: None, `max_size`: None, mode: `Measured`)
796
	/// The range of component `x` is `[0, 50]`.
797
5
	fn mark_collators_as_inactive(x: u32, ) -> Weight {
798
5
		// Proof Size summary in bytes:
799
5
		//  Measured:  `108 + x * (104 ±0)`
800
5
		//  Estimated: `6050 + x * (2580 ±0)`
801
5
		// Minimum execution time: 11_512_000 picoseconds.
802
5
		Weight::from_parts(17_042_114, 6050)
803
5
			// Standard Error: 15_658
804
5
			.saturating_add(Weight::from_parts(9_088_169, 0).saturating_mul(x.into()))
805
5
			.saturating_add(T::DbWeight::get().reads(3_u64))
806
5
			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into())))
807
5
			.saturating_add(T::DbWeight::get().writes(1_u64))
808
5
			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into())))
809
5
			.saturating_add(Weight::from_parts(0, 2580).saturating_mul(x.into()))
810
5
	}
811
}