referrerpolicy=no-referrer-when-downgrade

collectives_westend_runtime/weights/
pallet_alliance.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// 	http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `pallet_alliance`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `e0f303704c84`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/collectives-westend-runtime/collectives_westend_runtime.wasm
31// --pallet=pallet_alliance
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/collectives/collectives-westend/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_alliance`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
53	/// Storage: `Alliance::Members` (r:1 w:0)
54	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
55	/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
56	/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
57	/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
58	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
59	/// Storage: `AllianceMotion::ProposalCount` (r:1 w:1)
60	/// Proof: `AllianceMotion::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
61	/// Storage: `AllianceMotion::Voting` (r:0 w:1)
62	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
63	/// The range of component `b` is `[1, 1024]`.
64	/// The range of component `m` is `[2, 100]`.
65	/// The range of component `p` is `[1, 100]`.
66	fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
67		// Proof Size summary in bytes:
68		//  Measured:  `476 + m * (32 ±0) + p * (36 ±0)`
69		//  Estimated: `6676 + m * (32 ±0) + p * (36 ±0)`
70		// Minimum execution time: 33_747_000 picoseconds.
71		Weight::from_parts(37_704_811, 0)
72			.saturating_add(Weight::from_parts(0, 6676))
73			// Standard Error: 192
74			.saturating_add(Weight::from_parts(1_404, 0).saturating_mul(b.into()))
75			// Standard Error: 2_015
76			.saturating_add(Weight::from_parts(41_691, 0).saturating_mul(m.into()))
77			// Standard Error: 1_989
78			.saturating_add(Weight::from_parts(193_120, 0).saturating_mul(p.into()))
79			.saturating_add(T::DbWeight::get().reads(4))
80			.saturating_add(T::DbWeight::get().writes(4))
81			.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
82			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
83	}
84	/// Storage: `Alliance::Members` (r:1 w:0)
85	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
86	/// Storage: `AllianceMotion::Voting` (r:1 w:1)
87	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
88	/// The range of component `m` is `[5, 100]`.
89	fn vote(m: u32, ) -> Weight {
90		// Proof Size summary in bytes:
91		//  Measured:  `905 + m * (64 ±0)`
92		//  Estimated: `6676 + m * (64 ±0)`
93		// Minimum execution time: 35_702_000 picoseconds.
94		Weight::from_parts(36_097_764, 0)
95			.saturating_add(Weight::from_parts(0, 6676))
96			// Standard Error: 6_828
97			.saturating_add(Weight::from_parts(79_803, 0).saturating_mul(m.into()))
98			.saturating_add(T::DbWeight::get().reads(2))
99			.saturating_add(T::DbWeight::get().writes(1))
100			.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
101	}
102	/// Storage: `Alliance::Members` (r:1 w:0)
103	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
104	/// Storage: `AllianceMotion::Voting` (r:1 w:1)
105	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
106	/// Storage: `AllianceMotion::Members` (r:1 w:0)
107	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
108	/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
109	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
110	/// Storage: `AllianceMotion::ProposalOf` (r:0 w:1)
111	/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
112	/// The range of component `m` is `[4, 100]`.
113	/// The range of component `p` is `[1, 100]`.
114	fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
115		// Proof Size summary in bytes:
116		//  Measured:  `349 + m * (96 ±0) + p * (36 ±0)`
117		//  Estimated: `6676 + m * (97 ±0) + p * (36 ±0)`
118		// Minimum execution time: 45_494_000 picoseconds.
119		Weight::from_parts(45_373_510, 0)
120			.saturating_add(Weight::from_parts(0, 6676))
121			// Standard Error: 1_314
122			.saturating_add(Weight::from_parts(47_248, 0).saturating_mul(m.into()))
123			// Standard Error: 1_282
124			.saturating_add(Weight::from_parts(157_090, 0).saturating_mul(p.into()))
125			.saturating_add(T::DbWeight::get().reads(4))
126			.saturating_add(T::DbWeight::get().writes(3))
127			.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
128			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
129	}
130	/// Storage: `Alliance::Members` (r:1 w:0)
131	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
132	/// Storage: `AllianceMotion::Voting` (r:1 w:1)
133	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
134	/// Storage: `AllianceMotion::Members` (r:1 w:0)
135	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
136	/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
137	/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
138	/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
139	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
140	/// The range of component `b` is `[1, 1024]`.
141	/// The range of component `m` is `[4, 100]`.
142	/// The range of component `p` is `[1, 100]`.
143	fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
144		// Proof Size summary in bytes:
145		//  Measured:  `799 + m * (96 ±0) + p * (41 ±0)`
146		//  Estimated: `6676 + m * (97 ±0) + p * (40 ±0)`
147		// Minimum execution time: 57_219_000 picoseconds.
148		Weight::from_parts(58_939_652, 0)
149			.saturating_add(Weight::from_parts(0, 6676))
150			// Standard Error: 192
151			.saturating_add(Weight::from_parts(180, 0).saturating_mul(b.into()))
152			// Standard Error: 2_031
153			.saturating_add(Weight::from_parts(58_445, 0).saturating_mul(m.into()))
154			// Standard Error: 1_980
155			.saturating_add(Weight::from_parts(158_385, 0).saturating_mul(p.into()))
156			.saturating_add(T::DbWeight::get().reads(5))
157			.saturating_add(T::DbWeight::get().writes(3))
158			.saturating_add(Weight::from_parts(0, 97).saturating_mul(m.into()))
159			.saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into()))
160	}
161	/// Storage: `Alliance::Members` (r:1 w:0)
162	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
163	/// Storage: `AllianceMotion::Voting` (r:1 w:1)
164	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
165	/// Storage: `AllianceMotion::Members` (r:1 w:0)
166	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
167	/// Storage: `AllianceMotion::Prime` (r:1 w:0)
168	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
169	/// Storage: `AllianceMotion::ProposalOf` (r:1 w:1)
170	/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
171	/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
172	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
173	/// Storage: `Alliance::Rule` (r:0 w:1)
174	/// Proof: `Alliance::Rule` (`max_values`: Some(1), `max_size`: Some(87), added: 582, mode: `MaxEncodedLen`)
175	/// The range of component `m` is `[2, 100]`.
176	/// The range of component `p` is `[1, 100]`.
177	fn close_disapproved(m: u32, p: u32, ) -> Weight {
178		// Proof Size summary in bytes:
179		//  Measured:  `555 + m * (96 ±0) + p * (41 ±0)`
180		//  Estimated: `6676 + m * (109 ±0) + p * (43 ±0)`
181		// Minimum execution time: 60_124_000 picoseconds.
182		Weight::from_parts(58_232_090, 0)
183			.saturating_add(Weight::from_parts(0, 6676))
184			// Standard Error: 3_989
185			.saturating_add(Weight::from_parts(121_406, 0).saturating_mul(m.into()))
186			// Standard Error: 3_940
187			.saturating_add(Weight::from_parts(170_916, 0).saturating_mul(p.into()))
188			.saturating_add(T::DbWeight::get().reads(6))
189			.saturating_add(T::DbWeight::get().writes(4))
190			.saturating_add(Weight::from_parts(0, 109).saturating_mul(m.into()))
191			.saturating_add(Weight::from_parts(0, 43).saturating_mul(p.into()))
192	}
193	/// Storage: `Alliance::Members` (r:1 w:0)
194	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
195	/// Storage: `AllianceMotion::Voting` (r:1 w:1)
196	/// Proof: `AllianceMotion::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
197	/// Storage: `AllianceMotion::Members` (r:1 w:0)
198	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
199	/// Storage: `AllianceMotion::Prime` (r:1 w:0)
200	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
201	/// Storage: `AllianceMotion::Proposals` (r:1 w:1)
202	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
203	/// Storage: `AllianceMotion::ProposalOf` (r:0 w:1)
204	/// Proof: `AllianceMotion::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
205	/// The range of component `b` is `[1, 1024]`.
206	/// The range of component `m` is `[5, 100]`.
207	/// The range of component `p` is `[1, 100]`.
208	fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
209		// Proof Size summary in bytes:
210		//  Measured:  `454 + m * (96 ±0) + p * (36 ±0)`
211		//  Estimated: `6676 + m * (96 ±0) + p * (36 ±0)`
212		// Minimum execution time: 47_597_000 picoseconds.
213		Weight::from_parts(45_630_204, 0)
214			.saturating_add(Weight::from_parts(0, 6676))
215			// Standard Error: 137
216			.saturating_add(Weight::from_parts(558, 0).saturating_mul(b.into()))
217			// Standard Error: 1_467
218			.saturating_add(Weight::from_parts(57_705, 0).saturating_mul(m.into()))
219			// Standard Error: 1_414
220			.saturating_add(Weight::from_parts(154_447, 0).saturating_mul(p.into()))
221			.saturating_add(T::DbWeight::get().reads(5))
222			.saturating_add(T::DbWeight::get().writes(3))
223			.saturating_add(Weight::from_parts(0, 96).saturating_mul(m.into()))
224			.saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into()))
225	}
226	/// Storage: `Alliance::Members` (r:2 w:2)
227	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
228	/// Storage: `AllianceMotion::Members` (r:1 w:1)
229	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
230	/// The range of component `m` is `[1, 100]`.
231	/// The range of component `z` is `[0, 100]`.
232	fn init_members(m: u32, z: u32, ) -> Weight {
233		// Proof Size summary in bytes:
234		//  Measured:  `48`
235		//  Estimated: `12362`
236		// Minimum execution time: 30_473_000 picoseconds.
237		Weight::from_parts(21_657_476, 0)
238			.saturating_add(Weight::from_parts(0, 12362))
239			// Standard Error: 856
240			.saturating_add(Weight::from_parts(117_668, 0).saturating_mul(m.into()))
241			// Standard Error: 846
242			.saturating_add(Weight::from_parts(104_452, 0).saturating_mul(z.into()))
243			.saturating_add(T::DbWeight::get().reads(3))
244			.saturating_add(T::DbWeight::get().writes(3))
245	}
246	/// Storage: `Alliance::Members` (r:2 w:2)
247	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
248	/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
249	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
250	/// Storage: `Alliance::DepositOf` (r:200 w:50)
251	/// Proof: `Alliance::DepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
252	/// Storage: `System::Account` (r:50 w:50)
253	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
254	/// Storage: `AllianceMotion::Members` (r:0 w:1)
255	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
256	/// Storage: `AllianceMotion::Prime` (r:0 w:1)
257	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
258	/// The range of component `x` is `[1, 100]`.
259	/// The range of component `y` is `[0, 100]`.
260	/// The range of component `z` is `[0, 50]`.
261	fn disband(x: u32, y: u32, z: u32, ) -> Weight {
262		// Proof Size summary in bytes:
263		//  Measured:  `0 + x * (52 ±0) + y * (53 ±0) + z * (250 ±0)`
264		//  Estimated: `12362 + x * (2539 ±0) + y * (2539 ±0) + z * (2603 ±1)`
265		// Minimum execution time: 388_921_000 picoseconds.
266		Weight::from_parts(402_549_000, 0)
267			.saturating_add(Weight::from_parts(0, 12362))
268			// Standard Error: 33_130
269			.saturating_add(Weight::from_parts(781_314, 0).saturating_mul(x.into()))
270			// Standard Error: 32_970
271			.saturating_add(Weight::from_parts(772_186, 0).saturating_mul(y.into()))
272			// Standard Error: 65_881
273			.saturating_add(Weight::from_parts(15_421_636, 0).saturating_mul(z.into()))
274			.saturating_add(T::DbWeight::get().reads(3))
275			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(x.into())))
276			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
277			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(z.into())))
278			.saturating_add(T::DbWeight::get().writes(4))
279			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(z.into())))
280			.saturating_add(Weight::from_parts(0, 2539).saturating_mul(x.into()))
281			.saturating_add(Weight::from_parts(0, 2539).saturating_mul(y.into()))
282			.saturating_add(Weight::from_parts(0, 2603).saturating_mul(z.into()))
283	}
284	/// Storage: `Alliance::Rule` (r:0 w:1)
285	/// Proof: `Alliance::Rule` (`max_values`: Some(1), `max_size`: Some(87), added: 582, mode: `MaxEncodedLen`)
286	fn set_rule() -> Weight {
287		// Proof Size summary in bytes:
288		//  Measured:  `0`
289		//  Estimated: `0`
290		// Minimum execution time: 6_444_000 picoseconds.
291		Weight::from_parts(6_820_000, 0)
292			.saturating_add(Weight::from_parts(0, 0))
293			.saturating_add(T::DbWeight::get().writes(1))
294	}
295	/// Storage: `Alliance::Announcements` (r:1 w:1)
296	/// Proof: `Alliance::Announcements` (`max_values`: Some(1), `max_size`: Some(8702), added: 9197, mode: `MaxEncodedLen`)
297	fn announce() -> Weight {
298		// Proof Size summary in bytes:
299		//  Measured:  `76`
300		//  Estimated: `10187`
301		// Minimum execution time: 9_778_000 picoseconds.
302		Weight::from_parts(10_288_000, 0)
303			.saturating_add(Weight::from_parts(0, 10187))
304			.saturating_add(T::DbWeight::get().reads(1))
305			.saturating_add(T::DbWeight::get().writes(1))
306	}
307	/// Storage: `Alliance::Announcements` (r:1 w:1)
308	/// Proof: `Alliance::Announcements` (`max_values`: Some(1), `max_size`: Some(8702), added: 9197, mode: `MaxEncodedLen`)
309	fn remove_announcement() -> Weight {
310		// Proof Size summary in bytes:
311		//  Measured:  `149`
312		//  Estimated: `10187`
313		// Minimum execution time: 11_342_000 picoseconds.
314		Weight::from_parts(11_930_000, 0)
315			.saturating_add(Weight::from_parts(0, 10187))
316			.saturating_add(T::DbWeight::get().reads(1))
317			.saturating_add(T::DbWeight::get().writes(1))
318	}
319	/// Storage: `Alliance::Members` (r:3 w:1)
320	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
321	/// Storage: `Alliance::UnscrupulousAccounts` (r:1 w:0)
322	/// Proof: `Alliance::UnscrupulousAccounts` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`)
323	/// Storage: `System::Account` (r:1 w:1)
324	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
325	/// Storage: `Alliance::DepositOf` (r:0 w:1)
326	/// Proof: `Alliance::DepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
327	fn join_alliance() -> Weight {
328		// Proof Size summary in bytes:
329		//  Measured:  `300`
330		//  Estimated: `18048`
331		// Minimum execution time: 45_028_000 picoseconds.
332		Weight::from_parts(45_950_000, 0)
333			.saturating_add(Weight::from_parts(0, 18048))
334			.saturating_add(T::DbWeight::get().reads(5))
335			.saturating_add(T::DbWeight::get().writes(3))
336	}
337	/// Storage: `Alliance::Members` (r:3 w:1)
338	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
339	/// Storage: `Alliance::UnscrupulousAccounts` (r:1 w:0)
340	/// Proof: `Alliance::UnscrupulousAccounts` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`)
341	fn nominate_ally() -> Weight {
342		// Proof Size summary in bytes:
343		//  Measured:  `199`
344		//  Estimated: `18048`
345		// Minimum execution time: 25_601_000 picoseconds.
346		Weight::from_parts(26_467_000, 0)
347			.saturating_add(Weight::from_parts(0, 18048))
348			.saturating_add(T::DbWeight::get().reads(4))
349			.saturating_add(T::DbWeight::get().writes(1))
350	}
351	/// Storage: `Alliance::Members` (r:2 w:2)
352	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
353	/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
354	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
355	/// Storage: `AllianceMotion::Members` (r:0 w:1)
356	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
357	/// Storage: `AllianceMotion::Prime` (r:0 w:1)
358	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
359	fn elevate_ally() -> Weight {
360		// Proof Size summary in bytes:
361		//  Measured:  `273`
362		//  Estimated: `12362`
363		// Minimum execution time: 25_838_000 picoseconds.
364		Weight::from_parts(26_960_000, 0)
365			.saturating_add(Weight::from_parts(0, 12362))
366			.saturating_add(T::DbWeight::get().reads(3))
367			.saturating_add(T::DbWeight::get().writes(4))
368	}
369	/// Storage: `Alliance::Members` (r:4 w:2)
370	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
371	/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
372	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
373	/// Storage: `AllianceMotion::Members` (r:0 w:1)
374	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
375	/// Storage: `AllianceMotion::Prime` (r:0 w:1)
376	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
377	/// Storage: `Alliance::RetiringMembers` (r:0 w:1)
378	/// Proof: `Alliance::RetiringMembers` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
379	fn give_retirement_notice() -> Weight {
380		// Proof Size summary in bytes:
381		//  Measured:  `273`
382		//  Estimated: `23734`
383		// Minimum execution time: 31_072_000 picoseconds.
384		Weight::from_parts(32_514_000, 0)
385			.saturating_add(Weight::from_parts(0, 23734))
386			.saturating_add(T::DbWeight::get().reads(5))
387			.saturating_add(T::DbWeight::get().writes(5))
388	}
389	/// Storage: `Alliance::RetiringMembers` (r:1 w:1)
390	/// Proof: `Alliance::RetiringMembers` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
391	/// Storage: `Alliance::Members` (r:1 w:1)
392	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
393	/// Storage: `Alliance::DepositOf` (r:1 w:1)
394	/// Proof: `Alliance::DepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
395	/// Storage: `System::Account` (r:1 w:1)
396	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
397	fn retire() -> Weight {
398		// Proof Size summary in bytes:
399		//  Measured:  `517`
400		//  Estimated: `6676`
401		// Minimum execution time: 44_011_000 picoseconds.
402		Weight::from_parts(45_646_000, 0)
403			.saturating_add(Weight::from_parts(0, 6676))
404			.saturating_add(T::DbWeight::get().reads(4))
405			.saturating_add(T::DbWeight::get().writes(4))
406	}
407	/// Storage: `Alliance::Members` (r:3 w:1)
408	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
409	/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
410	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
411	/// Storage: `Alliance::DepositOf` (r:1 w:1)
412	/// Proof: `Alliance::DepositOf` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`)
413	/// Storage: `System::Account` (r:1 w:1)
414	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
415	/// Storage: `AllianceMotion::Members` (r:0 w:1)
416	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
417	/// Storage: `AllianceMotion::Prime` (r:0 w:1)
418	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
419	fn kick_member() -> Weight {
420		// Proof Size summary in bytes:
421		//  Measured:  `537`
422		//  Estimated: `18048`
423		// Minimum execution time: 55_014_000 picoseconds.
424		Weight::from_parts(57_979_000, 0)
425			.saturating_add(Weight::from_parts(0, 18048))
426			.saturating_add(T::DbWeight::get().reads(6))
427			.saturating_add(T::DbWeight::get().writes(5))
428	}
429	/// Storage: `Alliance::UnscrupulousAccounts` (r:1 w:1)
430	/// Proof: `Alliance::UnscrupulousAccounts` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`)
431	/// Storage: `Alliance::UnscrupulousWebsites` (r:1 w:1)
432	/// Proof: `Alliance::UnscrupulousWebsites` (`max_values`: Some(1), `max_size`: Some(25702), added: 26197, mode: `MaxEncodedLen`)
433	/// The range of component `n` is `[0, 100]`.
434	/// The range of component `l` is `[0, 255]`.
435	fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
436		// Proof Size summary in bytes:
437		//  Measured:  `76`
438		//  Estimated: `27187`
439		// Minimum execution time: 5_950_000 picoseconds.
440		Weight::from_parts(6_113_000, 0)
441			.saturating_add(Weight::from_parts(0, 27187))
442			// Standard Error: 4_302
443			.saturating_add(Weight::from_parts(1_160_818, 0).saturating_mul(n.into()))
444			// Standard Error: 1_684
445			.saturating_add(Weight::from_parts(76_012, 0).saturating_mul(l.into()))
446			.saturating_add(T::DbWeight::get().reads(2))
447			.saturating_add(T::DbWeight::get().writes(2))
448	}
449	/// Storage: `Alliance::UnscrupulousAccounts` (r:1 w:1)
450	/// Proof: `Alliance::UnscrupulousAccounts` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`)
451	/// Storage: `Alliance::UnscrupulousWebsites` (r:1 w:1)
452	/// Proof: `Alliance::UnscrupulousWebsites` (`max_values`: Some(1), `max_size`: Some(25702), added: 26197, mode: `MaxEncodedLen`)
453	/// The range of component `n` is `[0, 100]`.
454	/// The range of component `l` is `[0, 255]`.
455	fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
456		// Proof Size summary in bytes:
457		//  Measured:  `0 + l * (100 ±0) + n * (289 ±0)`
458		//  Estimated: `27187`
459		// Minimum execution time: 6_058_000 picoseconds.
460		Weight::from_parts(6_147_000, 0)
461			.saturating_add(Weight::from_parts(0, 27187))
462			// Standard Error: 177_005
463			.saturating_add(Weight::from_parts(18_061_081, 0).saturating_mul(n.into()))
464			// Standard Error: 69_323
465			.saturating_add(Weight::from_parts(89_539, 0).saturating_mul(l.into()))
466			.saturating_add(T::DbWeight::get().reads(2))
467			.saturating_add(T::DbWeight::get().writes(2))
468	}
469	/// Storage: `Alliance::Members` (r:3 w:2)
470	/// Proof: `Alliance::Members` (`max_values`: None, `max_size`: Some(3211), added: 5686, mode: `MaxEncodedLen`)
471	/// Storage: `AllianceMotion::Proposals` (r:1 w:0)
472	/// Proof: `AllianceMotion::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
473	/// Storage: `AllianceMotion::Members` (r:0 w:1)
474	/// Proof: `AllianceMotion::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
475	/// Storage: `AllianceMotion::Prime` (r:0 w:1)
476	/// Proof: `AllianceMotion::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
477	fn abdicate_fellow_status() -> Weight {
478		// Proof Size summary in bytes:
479		//  Measured:  `273`
480		//  Estimated: `18048`
481		// Minimum execution time: 29_918_000 picoseconds.
482		Weight::from_parts(31_599_000, 0)
483			.saturating_add(Weight::from_parts(0, 18048))
484			.saturating_add(T::DbWeight::get().reads(4))
485			.saturating_add(T::DbWeight::get().writes(4))
486	}
487}