referrerpolicy=no-referrer-when-downgrade

pallet_society/
weights.rs

1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// 	http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// 	http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_society`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `0848bec9fe49`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_society
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/society/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
62
63#![cfg_attr(rustfmt, rustfmt_skip)]
64#![allow(unused_parens)]
65#![allow(unused_imports)]
66#![allow(missing_docs)]
67#![allow(dead_code)]
68
69use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
70use core::marker::PhantomData;
71
72/// Weight functions needed for `pallet_society`.
73pub trait WeightInfo {
74	fn bid() -> Weight;
75	fn unbid() -> Weight;
76	fn vouch() -> Weight;
77	fn unvouch() -> Weight;
78	fn vote() -> Weight;
79	fn defender_vote() -> Weight;
80	fn payout() -> Weight;
81	fn waive_repay() -> Weight;
82	fn found_society() -> Weight;
83	fn dissolve() -> Weight;
84	fn judge_suspended_member() -> Weight;
85	fn set_parameters() -> Weight;
86	fn punish_skeptic() -> Weight;
87	fn claim_membership() -> Weight;
88	fn bestow_membership() -> Weight;
89	fn kick_candidate() -> Weight;
90	fn resign_candidacy() -> Weight;
91	fn drop_candidate() -> Weight;
92	fn cleanup_candidacy() -> Weight;
93	fn cleanup_challenge() -> Weight;
94	fn poke_deposit() -> Weight;
95}
96
97/// Weights for `pallet_society` using the Substrate node and recommended hardware.
98pub struct SubstrateWeight<T>(PhantomData<T>);
99impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
100	/// Storage: `Society::Bids` (r:1 w:1)
101	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
102	/// Storage: `Society::Candidates` (r:1 w:0)
103	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
104	/// Storage: `Society::Members` (r:1 w:0)
105	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
106	/// Storage: `Society::SuspendedMembers` (r:1 w:0)
107	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
108	/// Storage: `Society::Parameters` (r:1 w:0)
109	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
110	fn bid() -> Weight {
111		// Proof Size summary in bytes:
112		//  Measured:  `444`
113		//  Estimated: `3591`
114		// Minimum execution time: 37_702_000 picoseconds.
115		Weight::from_parts(38_951_000, 3591)
116			.saturating_add(T::DbWeight::get().reads(5_u64))
117			.saturating_add(T::DbWeight::get().writes(1_u64))
118	}
119	/// Storage: `Society::Bids` (r:1 w:1)
120	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
121	fn unbid() -> Weight {
122		// Proof Size summary in bytes:
123		//  Measured:  `461`
124		//  Estimated: `2456`
125		// Minimum execution time: 28_427_000 picoseconds.
126		Weight::from_parts(29_573_000, 2456)
127			.saturating_add(T::DbWeight::get().reads(1_u64))
128			.saturating_add(T::DbWeight::get().writes(1_u64))
129	}
130	/// Storage: `Society::Bids` (r:1 w:1)
131	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
132	/// Storage: `Society::Candidates` (r:1 w:0)
133	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
134	/// Storage: `Society::Members` (r:2 w:1)
135	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
136	/// Storage: `Society::SuspendedMembers` (r:1 w:0)
137	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
138	fn vouch() -> Weight {
139		// Proof Size summary in bytes:
140		//  Measured:  `481`
141		//  Estimated: `6048`
142		// Minimum execution time: 28_040_000 picoseconds.
143		Weight::from_parts(29_063_000, 6048)
144			.saturating_add(T::DbWeight::get().reads(5_u64))
145			.saturating_add(T::DbWeight::get().writes(2_u64))
146	}
147	/// Storage: `Society::Bids` (r:1 w:1)
148	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
149	/// Storage: `Society::Members` (r:1 w:1)
150	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
151	fn unvouch() -> Weight {
152		// Proof Size summary in bytes:
153		//  Measured:  `535`
154		//  Estimated: `3519`
155		// Minimum execution time: 20_480_000 picoseconds.
156		Weight::from_parts(23_171_000, 3519)
157			.saturating_add(T::DbWeight::get().reads(2_u64))
158			.saturating_add(T::DbWeight::get().writes(2_u64))
159	}
160	/// Storage: `Society::Candidates` (r:1 w:1)
161	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
162	/// Storage: `Society::Members` (r:1 w:0)
163	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
164	/// Storage: `Society::Votes` (r:1 w:1)
165	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
166	fn vote() -> Weight {
167		// Proof Size summary in bytes:
168		//  Measured:  `569`
169		//  Estimated: `3591`
170		// Minimum execution time: 27_478_000 picoseconds.
171		Weight::from_parts(28_524_000, 3591)
172			.saturating_add(T::DbWeight::get().reads(3_u64))
173			.saturating_add(T::DbWeight::get().writes(2_u64))
174	}
175	/// Storage: `Society::Defending` (r:1 w:1)
176	/// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`)
177	/// Storage: `Society::Members` (r:1 w:0)
178	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
179	/// Storage: `Society::ChallengeRoundCount` (r:1 w:0)
180	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
181	/// Storage: `Society::DefenderVotes` (r:1 w:1)
182	/// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
183	fn defender_vote() -> Weight {
184		// Proof Size summary in bytes:
185		//  Measured:  `561`
186		//  Estimated: `3522`
187		// Minimum execution time: 24_458_000 picoseconds.
188		Weight::from_parts(25_690_000, 3522)
189			.saturating_add(T::DbWeight::get().reads(4_u64))
190			.saturating_add(T::DbWeight::get().writes(2_u64))
191	}
192	/// Storage: `Society::Members` (r:1 w:0)
193	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
194	/// Storage: `Society::Payouts` (r:1 w:1)
195	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
196	/// Storage: `System::Account` (r:1 w:1)
197	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
198	fn payout() -> Weight {
199		// Proof Size summary in bytes:
200		//  Measured:  `687`
201		//  Estimated: `3722`
202		// Minimum execution time: 56_406_000 picoseconds.
203		Weight::from_parts(65_030_000, 3722)
204			.saturating_add(T::DbWeight::get().reads(3_u64))
205			.saturating_add(T::DbWeight::get().writes(2_u64))
206	}
207	/// Storage: `Society::Members` (r:1 w:1)
208	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
209	/// Storage: `Society::Payouts` (r:1 w:1)
210	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
211	fn waive_repay() -> Weight {
212		// Proof Size summary in bytes:
213		//  Measured:  `547`
214		//  Estimated: `3722`
215		// Minimum execution time: 24_846_000 picoseconds.
216		Weight::from_parts(25_812_000, 3722)
217			.saturating_add(T::DbWeight::get().reads(2_u64))
218			.saturating_add(T::DbWeight::get().writes(2_u64))
219	}
220	/// Storage: `Society::Head` (r:1 w:1)
221	/// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
222	/// Storage: `Society::MemberCount` (r:1 w:1)
223	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
224	/// Storage: `Society::MemberByIndex` (r:0 w:1)
225	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
226	/// Storage: `Society::Founder` (r:0 w:1)
227	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
228	/// Storage: `Society::Rules` (r:0 w:1)
229	/// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
230	/// Storage: `Society::Members` (r:0 w:1)
231	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
232	/// Storage: `Society::Parameters` (r:0 w:1)
233	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
234	fn found_society() -> Weight {
235		// Proof Size summary in bytes:
236		//  Measured:  `180`
237		//  Estimated: `1517`
238		// Minimum execution time: 15_931_000 picoseconds.
239		Weight::from_parts(16_622_000, 1517)
240			.saturating_add(T::DbWeight::get().reads(2_u64))
241			.saturating_add(T::DbWeight::get().writes(7_u64))
242	}
243	/// Storage: `Society::Founder` (r:1 w:1)
244	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
245	/// Storage: `Society::MemberCount` (r:1 w:1)
246	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
247	/// Storage: `Society::Members` (r:5 w:5)
248	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
249	/// Storage: `Society::MemberByIndex` (r:5 w:5)
250	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
251	/// Storage: `Society::Votes` (r:4 w:4)
252	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
253	/// Storage: `Society::Candidates` (r:4 w:4)
254	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
255	/// Storage: `Society::Head` (r:0 w:1)
256	/// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
257	/// Storage: `Society::Defending` (r:0 w:1)
258	/// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`)
259	/// Storage: `Society::ChallengeRoundCount` (r:0 w:1)
260	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
261	/// Storage: `Society::Skeptic` (r:0 w:1)
262	/// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
263	/// Storage: `Society::Pot` (r:0 w:1)
264	/// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
265	/// Storage: `Society::Rules` (r:0 w:1)
266	/// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
267	/// Storage: `Society::RoundCount` (r:0 w:1)
268	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
269	/// Storage: `Society::Bids` (r:0 w:1)
270	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
271	/// Storage: `Society::Parameters` (r:0 w:1)
272	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
273	/// Storage: `Society::NextHead` (r:0 w:1)
274	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
275	fn dissolve() -> Weight {
276		// Proof Size summary in bytes:
277		//  Measured:  `1654`
278		//  Estimated: `13635`
279		// Minimum execution time: 65_898_000 picoseconds.
280		Weight::from_parts(69_842_000, 13635)
281			.saturating_add(T::DbWeight::get().reads(20_u64))
282			.saturating_add(T::DbWeight::get().writes(30_u64))
283	}
284	/// Storage: `Society::Founder` (r:1 w:0)
285	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
286	/// Storage: `Society::SuspendedMembers` (r:1 w:1)
287	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
288	/// Storage: `Society::Payouts` (r:1 w:0)
289	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
290	/// Storage: `Society::Pot` (r:1 w:1)
291	/// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
292	fn judge_suspended_member() -> Weight {
293		// Proof Size summary in bytes:
294		//  Measured:  `505`
295		//  Estimated: `3722`
296		// Minimum execution time: 25_659_000 picoseconds.
297		Weight::from_parts(26_456_000, 3722)
298			.saturating_add(T::DbWeight::get().reads(4_u64))
299			.saturating_add(T::DbWeight::get().writes(2_u64))
300	}
301	/// Storage: `Society::Founder` (r:1 w:0)
302	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
303	/// Storage: `Society::MemberCount` (r:1 w:0)
304	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
305	/// Storage: `Society::Parameters` (r:0 w:1)
306	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
307	fn set_parameters() -> Weight {
308		// Proof Size summary in bytes:
309		//  Measured:  `387`
310		//  Estimated: `1517`
311		// Minimum execution time: 12_063_000 picoseconds.
312		Weight::from_parts(13_035_000, 1517)
313			.saturating_add(T::DbWeight::get().reads(2_u64))
314			.saturating_add(T::DbWeight::get().writes(1_u64))
315	}
316	/// Storage: `Society::Candidates` (r:1 w:1)
317	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
318	/// Storage: `Society::RoundCount` (r:1 w:0)
319	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
320	/// Storage: `Society::Skeptic` (r:1 w:0)
321	/// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
322	/// Storage: `Society::Votes` (r:1 w:0)
323	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
324	/// Storage: `Society::Members` (r:1 w:1)
325	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
326	/// Storage: `Society::Parameters` (r:1 w:0)
327	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
328	fn punish_skeptic() -> Weight {
329		// Proof Size summary in bytes:
330		//  Measured:  `636`
331		//  Estimated: `3591`
332		// Minimum execution time: 29_789_000 picoseconds.
333		Weight::from_parts(30_860_000, 3591)
334			.saturating_add(T::DbWeight::get().reads(6_u64))
335			.saturating_add(T::DbWeight::get().writes(2_u64))
336	}
337	/// Storage: `Society::Candidates` (r:1 w:1)
338	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
339	/// Storage: `Society::RoundCount` (r:1 w:0)
340	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
341	/// Storage: `Society::Parameters` (r:1 w:0)
342	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
343	/// Storage: `Society::MemberCount` (r:1 w:1)
344	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
345	/// Storage: `Society::NextHead` (r:1 w:1)
346	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
347	/// Storage: `System::Account` (r:1 w:1)
348	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
349	/// Storage: `Society::MemberByIndex` (r:0 w:1)
350	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
351	/// Storage: `Society::Members` (r:0 w:1)
352	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
353	fn claim_membership() -> Weight {
354		// Proof Size summary in bytes:
355		//  Measured:  `632`
356		//  Estimated: `3593`
357		// Minimum execution time: 43_192_000 picoseconds.
358		Weight::from_parts(44_463_000, 3593)
359			.saturating_add(T::DbWeight::get().reads(6_u64))
360			.saturating_add(T::DbWeight::get().writes(6_u64))
361	}
362	/// Storage: `Society::Founder` (r:1 w:0)
363	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
364	/// Storage: `Society::Candidates` (r:1 w:1)
365	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
366	/// Storage: `Society::RoundCount` (r:1 w:0)
367	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
368	/// Storage: `Society::Parameters` (r:1 w:0)
369	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
370	/// Storage: `Society::MemberCount` (r:1 w:1)
371	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
372	/// Storage: `Society::NextHead` (r:1 w:1)
373	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
374	/// Storage: `System::Account` (r:1 w:1)
375	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
376	/// Storage: `Society::MemberByIndex` (r:0 w:1)
377	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
378	/// Storage: `Society::Members` (r:0 w:1)
379	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
380	fn bestow_membership() -> Weight {
381		// Proof Size summary in bytes:
382		//  Measured:  `650`
383		//  Estimated: `3593`
384		// Minimum execution time: 44_050_000 picoseconds.
385		Weight::from_parts(46_458_000, 3593)
386			.saturating_add(T::DbWeight::get().reads(7_u64))
387			.saturating_add(T::DbWeight::get().writes(6_u64))
388	}
389	/// Storage: `Society::Founder` (r:1 w:0)
390	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
391	/// Storage: `Society::Candidates` (r:1 w:1)
392	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
393	/// Storage: `Society::RoundCount` (r:1 w:0)
394	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
395	/// Storage: `System::Account` (r:2 w:2)
396	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
397	fn kick_candidate() -> Weight {
398		// Proof Size summary in bytes:
399		//  Measured:  `776`
400		//  Estimated: `6196`
401		// Minimum execution time: 45_018_000 picoseconds.
402		Weight::from_parts(46_785_000, 6196)
403			.saturating_add(T::DbWeight::get().reads(5_u64))
404			.saturating_add(T::DbWeight::get().writes(3_u64))
405	}
406	/// Storage: `Society::Candidates` (r:1 w:1)
407	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
408	/// Storage: `Society::RoundCount` (r:1 w:0)
409	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
410	/// Storage: `System::Account` (r:2 w:2)
411	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
412	fn resign_candidacy() -> Weight {
413		// Proof Size summary in bytes:
414		//  Measured:  `746`
415		//  Estimated: `6196`
416		// Minimum execution time: 42_297_000 picoseconds.
417		Weight::from_parts(43_475_000, 6196)
418			.saturating_add(T::DbWeight::get().reads(4_u64))
419			.saturating_add(T::DbWeight::get().writes(3_u64))
420	}
421	/// Storage: `Society::Candidates` (r:1 w:1)
422	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
423	/// Storage: `Society::RoundCount` (r:1 w:0)
424	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
425	/// Storage: `System::Account` (r:2 w:2)
426	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
427	fn drop_candidate() -> Weight {
428		// Proof Size summary in bytes:
429		//  Measured:  `758`
430		//  Estimated: `6196`
431		// Minimum execution time: 42_533_000 picoseconds.
432		Weight::from_parts(44_355_000, 6196)
433			.saturating_add(T::DbWeight::get().reads(4_u64))
434			.saturating_add(T::DbWeight::get().writes(3_u64))
435	}
436	/// Storage: `Society::Candidates` (r:1 w:0)
437	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
438	/// Storage: `Society::VoteClearCursor` (r:1 w:0)
439	/// Proof: `Society::VoteClearCursor` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
440	/// Storage: `Society::Votes` (r:2 w:2)
441	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
442	fn cleanup_candidacy() -> Weight {
443		// Proof Size summary in bytes:
444		//  Measured:  `552`
445		//  Estimated: `6110`
446		// Minimum execution time: 20_326_000 picoseconds.
447		Weight::from_parts(21_079_000, 6110)
448			.saturating_add(T::DbWeight::get().reads(4_u64))
449			.saturating_add(T::DbWeight::get().writes(2_u64))
450	}
451	/// Storage: `Society::ChallengeRoundCount` (r:1 w:0)
452	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
453	/// Storage: `Society::DefenderVotes` (r:1 w:1)
454	/// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
455	fn cleanup_challenge() -> Weight {
456		// Proof Size summary in bytes:
457		//  Measured:  `510`
458		//  Estimated: `3522`
459		// Minimum execution time: 13_993_000 picoseconds.
460		Weight::from_parts(14_622_000, 3522)
461			.saturating_add(T::DbWeight::get().reads(2_u64))
462			.saturating_add(T::DbWeight::get().writes(1_u64))
463	}
464	/// Storage: `Society::Bids` (r:1 w:1)
465	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
466	/// Storage: `Society::Parameters` (r:1 w:0)
467	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
468	fn poke_deposit() -> Weight {
469		// Proof Size summary in bytes:
470		//  Measured:  `475`
471		//  Estimated: `2456`
472		// Minimum execution time: 30_463_000 picoseconds.
473		Weight::from_parts(31_422_000, 2456)
474			.saturating_add(T::DbWeight::get().reads(2_u64))
475			.saturating_add(T::DbWeight::get().writes(1_u64))
476	}
477}
478
479// For backwards compatibility and tests.
480impl WeightInfo for () {
481	/// Storage: `Society::Bids` (r:1 w:1)
482	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
483	/// Storage: `Society::Candidates` (r:1 w:0)
484	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
485	/// Storage: `Society::Members` (r:1 w:0)
486	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
487	/// Storage: `Society::SuspendedMembers` (r:1 w:0)
488	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
489	/// Storage: `Society::Parameters` (r:1 w:0)
490	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
491	fn bid() -> Weight {
492		// Proof Size summary in bytes:
493		//  Measured:  `444`
494		//  Estimated: `3591`
495		// Minimum execution time: 37_702_000 picoseconds.
496		Weight::from_parts(38_951_000, 3591)
497			.saturating_add(RocksDbWeight::get().reads(5_u64))
498			.saturating_add(RocksDbWeight::get().writes(1_u64))
499	}
500	/// Storage: `Society::Bids` (r:1 w:1)
501	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
502	fn unbid() -> Weight {
503		// Proof Size summary in bytes:
504		//  Measured:  `461`
505		//  Estimated: `2456`
506		// Minimum execution time: 28_427_000 picoseconds.
507		Weight::from_parts(29_573_000, 2456)
508			.saturating_add(RocksDbWeight::get().reads(1_u64))
509			.saturating_add(RocksDbWeight::get().writes(1_u64))
510	}
511	/// Storage: `Society::Bids` (r:1 w:1)
512	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
513	/// Storage: `Society::Candidates` (r:1 w:0)
514	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
515	/// Storage: `Society::Members` (r:2 w:1)
516	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
517	/// Storage: `Society::SuspendedMembers` (r:1 w:0)
518	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
519	fn vouch() -> Weight {
520		// Proof Size summary in bytes:
521		//  Measured:  `481`
522		//  Estimated: `6048`
523		// Minimum execution time: 28_040_000 picoseconds.
524		Weight::from_parts(29_063_000, 6048)
525			.saturating_add(RocksDbWeight::get().reads(5_u64))
526			.saturating_add(RocksDbWeight::get().writes(2_u64))
527	}
528	/// Storage: `Society::Bids` (r:1 w:1)
529	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
530	/// Storage: `Society::Members` (r:1 w:1)
531	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
532	fn unvouch() -> Weight {
533		// Proof Size summary in bytes:
534		//  Measured:  `535`
535		//  Estimated: `3519`
536		// Minimum execution time: 20_480_000 picoseconds.
537		Weight::from_parts(23_171_000, 3519)
538			.saturating_add(RocksDbWeight::get().reads(2_u64))
539			.saturating_add(RocksDbWeight::get().writes(2_u64))
540	}
541	/// Storage: `Society::Candidates` (r:1 w:1)
542	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
543	/// Storage: `Society::Members` (r:1 w:0)
544	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
545	/// Storage: `Society::Votes` (r:1 w:1)
546	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
547	fn vote() -> Weight {
548		// Proof Size summary in bytes:
549		//  Measured:  `569`
550		//  Estimated: `3591`
551		// Minimum execution time: 27_478_000 picoseconds.
552		Weight::from_parts(28_524_000, 3591)
553			.saturating_add(RocksDbWeight::get().reads(3_u64))
554			.saturating_add(RocksDbWeight::get().writes(2_u64))
555	}
556	/// Storage: `Society::Defending` (r:1 w:1)
557	/// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`)
558	/// Storage: `Society::Members` (r:1 w:0)
559	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
560	/// Storage: `Society::ChallengeRoundCount` (r:1 w:0)
561	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
562	/// Storage: `Society::DefenderVotes` (r:1 w:1)
563	/// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
564	fn defender_vote() -> Weight {
565		// Proof Size summary in bytes:
566		//  Measured:  `561`
567		//  Estimated: `3522`
568		// Minimum execution time: 24_458_000 picoseconds.
569		Weight::from_parts(25_690_000, 3522)
570			.saturating_add(RocksDbWeight::get().reads(4_u64))
571			.saturating_add(RocksDbWeight::get().writes(2_u64))
572	}
573	/// Storage: `Society::Members` (r:1 w:0)
574	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
575	/// Storage: `Society::Payouts` (r:1 w:1)
576	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
577	/// Storage: `System::Account` (r:1 w:1)
578	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
579	fn payout() -> Weight {
580		// Proof Size summary in bytes:
581		//  Measured:  `687`
582		//  Estimated: `3722`
583		// Minimum execution time: 56_406_000 picoseconds.
584		Weight::from_parts(65_030_000, 3722)
585			.saturating_add(RocksDbWeight::get().reads(3_u64))
586			.saturating_add(RocksDbWeight::get().writes(2_u64))
587	}
588	/// Storage: `Society::Members` (r:1 w:1)
589	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
590	/// Storage: `Society::Payouts` (r:1 w:1)
591	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
592	fn waive_repay() -> Weight {
593		// Proof Size summary in bytes:
594		//  Measured:  `547`
595		//  Estimated: `3722`
596		// Minimum execution time: 24_846_000 picoseconds.
597		Weight::from_parts(25_812_000, 3722)
598			.saturating_add(RocksDbWeight::get().reads(2_u64))
599			.saturating_add(RocksDbWeight::get().writes(2_u64))
600	}
601	/// Storage: `Society::Head` (r:1 w:1)
602	/// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
603	/// Storage: `Society::MemberCount` (r:1 w:1)
604	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
605	/// Storage: `Society::MemberByIndex` (r:0 w:1)
606	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
607	/// Storage: `Society::Founder` (r:0 w:1)
608	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
609	/// Storage: `Society::Rules` (r:0 w:1)
610	/// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
611	/// Storage: `Society::Members` (r:0 w:1)
612	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
613	/// Storage: `Society::Parameters` (r:0 w:1)
614	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
615	fn found_society() -> Weight {
616		// Proof Size summary in bytes:
617		//  Measured:  `180`
618		//  Estimated: `1517`
619		// Minimum execution time: 15_931_000 picoseconds.
620		Weight::from_parts(16_622_000, 1517)
621			.saturating_add(RocksDbWeight::get().reads(2_u64))
622			.saturating_add(RocksDbWeight::get().writes(7_u64))
623	}
624	/// Storage: `Society::Founder` (r:1 w:1)
625	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
626	/// Storage: `Society::MemberCount` (r:1 w:1)
627	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
628	/// Storage: `Society::Members` (r:5 w:5)
629	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
630	/// Storage: `Society::MemberByIndex` (r:5 w:5)
631	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
632	/// Storage: `Society::Votes` (r:4 w:4)
633	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
634	/// Storage: `Society::Candidates` (r:4 w:4)
635	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
636	/// Storage: `Society::Head` (r:0 w:1)
637	/// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
638	/// Storage: `Society::Defending` (r:0 w:1)
639	/// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`)
640	/// Storage: `Society::ChallengeRoundCount` (r:0 w:1)
641	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
642	/// Storage: `Society::Skeptic` (r:0 w:1)
643	/// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
644	/// Storage: `Society::Pot` (r:0 w:1)
645	/// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
646	/// Storage: `Society::Rules` (r:0 w:1)
647	/// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
648	/// Storage: `Society::RoundCount` (r:0 w:1)
649	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
650	/// Storage: `Society::Bids` (r:0 w:1)
651	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
652	/// Storage: `Society::Parameters` (r:0 w:1)
653	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
654	/// Storage: `Society::NextHead` (r:0 w:1)
655	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
656	fn dissolve() -> Weight {
657		// Proof Size summary in bytes:
658		//  Measured:  `1654`
659		//  Estimated: `13635`
660		// Minimum execution time: 65_898_000 picoseconds.
661		Weight::from_parts(69_842_000, 13635)
662			.saturating_add(RocksDbWeight::get().reads(20_u64))
663			.saturating_add(RocksDbWeight::get().writes(30_u64))
664	}
665	/// Storage: `Society::Founder` (r:1 w:0)
666	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
667	/// Storage: `Society::SuspendedMembers` (r:1 w:1)
668	/// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
669	/// Storage: `Society::Payouts` (r:1 w:0)
670	/// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`)
671	/// Storage: `Society::Pot` (r:1 w:1)
672	/// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
673	fn judge_suspended_member() -> Weight {
674		// Proof Size summary in bytes:
675		//  Measured:  `505`
676		//  Estimated: `3722`
677		// Minimum execution time: 25_659_000 picoseconds.
678		Weight::from_parts(26_456_000, 3722)
679			.saturating_add(RocksDbWeight::get().reads(4_u64))
680			.saturating_add(RocksDbWeight::get().writes(2_u64))
681	}
682	/// Storage: `Society::Founder` (r:1 w:0)
683	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
684	/// Storage: `Society::MemberCount` (r:1 w:0)
685	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
686	/// Storage: `Society::Parameters` (r:0 w:1)
687	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
688	fn set_parameters() -> Weight {
689		// Proof Size summary in bytes:
690		//  Measured:  `387`
691		//  Estimated: `1517`
692		// Minimum execution time: 12_063_000 picoseconds.
693		Weight::from_parts(13_035_000, 1517)
694			.saturating_add(RocksDbWeight::get().reads(2_u64))
695			.saturating_add(RocksDbWeight::get().writes(1_u64))
696	}
697	/// Storage: `Society::Candidates` (r:1 w:1)
698	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
699	/// Storage: `Society::RoundCount` (r:1 w:0)
700	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
701	/// Storage: `Society::Skeptic` (r:1 w:0)
702	/// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
703	/// Storage: `Society::Votes` (r:1 w:0)
704	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
705	/// Storage: `Society::Members` (r:1 w:1)
706	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
707	/// Storage: `Society::Parameters` (r:1 w:0)
708	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
709	fn punish_skeptic() -> Weight {
710		// Proof Size summary in bytes:
711		//  Measured:  `636`
712		//  Estimated: `3591`
713		// Minimum execution time: 29_789_000 picoseconds.
714		Weight::from_parts(30_860_000, 3591)
715			.saturating_add(RocksDbWeight::get().reads(6_u64))
716			.saturating_add(RocksDbWeight::get().writes(2_u64))
717	}
718	/// Storage: `Society::Candidates` (r:1 w:1)
719	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
720	/// Storage: `Society::RoundCount` (r:1 w:0)
721	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
722	/// Storage: `Society::Parameters` (r:1 w:0)
723	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
724	/// Storage: `Society::MemberCount` (r:1 w:1)
725	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
726	/// Storage: `Society::NextHead` (r:1 w:1)
727	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
728	/// Storage: `System::Account` (r:1 w:1)
729	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
730	/// Storage: `Society::MemberByIndex` (r:0 w:1)
731	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
732	/// Storage: `Society::Members` (r:0 w:1)
733	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
734	fn claim_membership() -> Weight {
735		// Proof Size summary in bytes:
736		//  Measured:  `632`
737		//  Estimated: `3593`
738		// Minimum execution time: 43_192_000 picoseconds.
739		Weight::from_parts(44_463_000, 3593)
740			.saturating_add(RocksDbWeight::get().reads(6_u64))
741			.saturating_add(RocksDbWeight::get().writes(6_u64))
742	}
743	/// Storage: `Society::Founder` (r:1 w:0)
744	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
745	/// Storage: `Society::Candidates` (r:1 w:1)
746	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
747	/// Storage: `Society::RoundCount` (r:1 w:0)
748	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
749	/// Storage: `Society::Parameters` (r:1 w:0)
750	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
751	/// Storage: `Society::MemberCount` (r:1 w:1)
752	/// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
753	/// Storage: `Society::NextHead` (r:1 w:1)
754	/// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`)
755	/// Storage: `System::Account` (r:1 w:1)
756	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
757	/// Storage: `Society::MemberByIndex` (r:0 w:1)
758	/// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
759	/// Storage: `Society::Members` (r:0 w:1)
760	/// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
761	fn bestow_membership() -> Weight {
762		// Proof Size summary in bytes:
763		//  Measured:  `650`
764		//  Estimated: `3593`
765		// Minimum execution time: 44_050_000 picoseconds.
766		Weight::from_parts(46_458_000, 3593)
767			.saturating_add(RocksDbWeight::get().reads(7_u64))
768			.saturating_add(RocksDbWeight::get().writes(6_u64))
769	}
770	/// Storage: `Society::Founder` (r:1 w:0)
771	/// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
772	/// Storage: `Society::Candidates` (r:1 w:1)
773	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
774	/// Storage: `Society::RoundCount` (r:1 w:0)
775	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
776	/// Storage: `System::Account` (r:2 w:2)
777	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
778	fn kick_candidate() -> Weight {
779		// Proof Size summary in bytes:
780		//  Measured:  `776`
781		//  Estimated: `6196`
782		// Minimum execution time: 45_018_000 picoseconds.
783		Weight::from_parts(46_785_000, 6196)
784			.saturating_add(RocksDbWeight::get().reads(5_u64))
785			.saturating_add(RocksDbWeight::get().writes(3_u64))
786	}
787	/// Storage: `Society::Candidates` (r:1 w:1)
788	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
789	/// Storage: `Society::RoundCount` (r:1 w:0)
790	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
791	/// Storage: `System::Account` (r:2 w:2)
792	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
793	fn resign_candidacy() -> Weight {
794		// Proof Size summary in bytes:
795		//  Measured:  `746`
796		//  Estimated: `6196`
797		// Minimum execution time: 42_297_000 picoseconds.
798		Weight::from_parts(43_475_000, 6196)
799			.saturating_add(RocksDbWeight::get().reads(4_u64))
800			.saturating_add(RocksDbWeight::get().writes(3_u64))
801	}
802	/// Storage: `Society::Candidates` (r:1 w:1)
803	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
804	/// Storage: `Society::RoundCount` (r:1 w:0)
805	/// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
806	/// Storage: `System::Account` (r:2 w:2)
807	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
808	fn drop_candidate() -> Weight {
809		// Proof Size summary in bytes:
810		//  Measured:  `758`
811		//  Estimated: `6196`
812		// Minimum execution time: 42_533_000 picoseconds.
813		Weight::from_parts(44_355_000, 6196)
814			.saturating_add(RocksDbWeight::get().reads(4_u64))
815			.saturating_add(RocksDbWeight::get().writes(3_u64))
816	}
817	/// Storage: `Society::Candidates` (r:1 w:0)
818	/// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`)
819	/// Storage: `Society::VoteClearCursor` (r:1 w:0)
820	/// Proof: `Society::VoteClearCursor` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
821	/// Storage: `Society::Votes` (r:2 w:2)
822	/// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
823	fn cleanup_candidacy() -> Weight {
824		// Proof Size summary in bytes:
825		//  Measured:  `552`
826		//  Estimated: `6110`
827		// Minimum execution time: 20_326_000 picoseconds.
828		Weight::from_parts(21_079_000, 6110)
829			.saturating_add(RocksDbWeight::get().reads(4_u64))
830			.saturating_add(RocksDbWeight::get().writes(2_u64))
831	}
832	/// Storage: `Society::ChallengeRoundCount` (r:1 w:0)
833	/// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
834	/// Storage: `Society::DefenderVotes` (r:1 w:1)
835	/// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
836	fn cleanup_challenge() -> Weight {
837		// Proof Size summary in bytes:
838		//  Measured:  `510`
839		//  Estimated: `3522`
840		// Minimum execution time: 13_993_000 picoseconds.
841		Weight::from_parts(14_622_000, 3522)
842			.saturating_add(RocksDbWeight::get().reads(2_u64))
843			.saturating_add(RocksDbWeight::get().writes(1_u64))
844	}
845	/// Storage: `Society::Bids` (r:1 w:1)
846	/// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`)
847	/// Storage: `Society::Parameters` (r:1 w:0)
848	/// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`)
849	fn poke_deposit() -> Weight {
850		// Proof Size summary in bytes:
851		//  Measured:  `475`
852		//  Estimated: `2456`
853		// Minimum execution time: 30_463_000 picoseconds.
854		Weight::from_parts(31_422_000, 2456)
855			.saturating_add(RocksDbWeight::get().reads(2_u64))
856			.saturating_add(RocksDbWeight::get().writes(1_u64))
857	}
858}