pallet_msa/
weights.rs

1
2//! Autogenerated weights for `pallet_msa`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 48.0.0
5//! DATE: 2025-09-17, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `ip-10-173-5-194`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
9
10// Executed Command:
11// ./scripts/../target/release/frequency
12// benchmark
13// pallet
14// --pallet=pallet_msa
15// --extrinsic
16// *
17// --heap-pages=4096
18// --steps=20
19// --repeat=10
20// --output=./scripts/../pallets/msa/src/weights.rs
21// --template=./scripts/../.maintain/frame-weight-template.hbs
22// --additional-trie-layers=3
23// --runtime=./scripts/../target/release/wbuild/frequency-runtime/frequency_runtime.wasm
24// --genesis-builder=runtime
25
26#![cfg_attr(rustfmt, rustfmt_skip)]
27#![allow(unused_parens)]
28#![allow(unused_imports)]
29#![allow(missing_docs)]
30
31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
32use core::marker::PhantomData;
33
34/// Weight functions needed for `pallet_msa`.
35pub trait WeightInfo {
36	fn create() -> Weight;
37	fn create_sponsored_account_with_delegation(s: u32, ) -> Weight;
38	fn revoke_delegation_by_provider() -> Weight;
39	fn add_public_key_to_msa() -> Weight;
40	fn delete_msa_public_key() -> Weight;
41	fn retire_msa() -> Weight;
42	fn grant_delegation(s: u32, ) -> Weight;
43	fn revoke_delegation_by_delegator() -> Weight;
44	fn create_provider() -> Weight;
45	fn create_provider_via_governance_v2(n: u32, m: u32, ) -> Weight;
46	fn propose_to_be_provider_v2() -> Weight;
47	fn reindex_offchain() -> Weight;
48	fn withdraw_tokens() -> Weight;
49	fn add_recovery_commitment() -> Weight;
50	fn remove_recovery_provider() -> Weight;
51	fn approve_recovery_provider() -> Weight;
52	fn check_free_extrinsic_use_revoke_delegation_by_provider() -> Weight;
53	fn check_free_extrinsic_use_revoke_delegation_by_delegator() -> Weight;
54	fn check_free_extrinsic_use_delete_msa_public_key() -> Weight;
55	fn check_free_extrinsic_use_retire_msa() -> Weight;
56	fn check_free_extrinsic_use_withdraw_tokens() -> Weight;
57	fn recover_account() -> Weight;
58	fn propose_to_add_application(n: u32, m: u32, ) -> Weight;
59	fn create_application_via_governance(n: u32, m: u32, ) -> Weight;
60	fn upload_logo() -> Weight;
61	fn propose_to_update_provider(n: u32, m: u32, ) -> Weight;
62	fn update_application_via_governance(n: u32, m: u32, ) -> Weight;
63	fn propose_to_update_application(n: u32, m: u32, ) -> Weight;
64	fn update_provider_via_governance(n: u32, m: u32, ) -> Weight;
65}
66
67/// Weights for `pallet_msa` using the Substrate node and recommended hardware.
68pub struct SubstrateWeight<T>(PhantomData<T>);
69impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
70	/// Storage: `Msa::CurrentMsaIdentifierMaximum` (r:1 w:1)
71	/// Proof: `Msa::CurrentMsaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
72	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:1)
73	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
74	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
75	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
76	fn create() -> Weight {
77		// Proof Size summary in bytes:
78		//  Measured:  `0`
79		//  Estimated: `4008`
80		// Minimum execution time: 14_298_000 picoseconds.
81		Weight::from_parts(14_823_000, 4008)
82			.saturating_add(T::DbWeight::get().reads(3_u64))
83			.saturating_add(T::DbWeight::get().writes(3_u64))
84	}
85	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
86	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
87	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
88	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
89	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
90	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
91	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
92	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
93	/// Storage: `Msa::CurrentMsaIdentifierMaximum` (r:1 w:1)
94	/// Proof: `Msa::CurrentMsaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
95	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
96	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
97	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
98	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
99	/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:0)
100	/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
101	/// The range of component `s` is `[0, 30]`.
102	fn create_sponsored_account_with_delegation(s: u32, ) -> Weight {
103		// Proof Size summary in bytes:
104		//  Measured:  `1260`
105		//  Estimated: `7722`
106		// Minimum execution time: 153_882_000 picoseconds.
107		Weight::from_parts(157_679_090, 7722)
108			// Standard Error: 36_806
109			.saturating_add(Weight::from_parts(179_725, 0).saturating_mul(s.into()))
110			.saturating_add(T::DbWeight::get().reads(10_u64))
111			.saturating_add(T::DbWeight::get().writes(7_u64))
112	}
113	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
114	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
115	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
116	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
117	fn revoke_delegation_by_provider() -> Weight {
118		// Proof Size summary in bytes:
119		//  Measured:  `161`
120		//  Estimated: `4177`
121		// Minimum execution time: 18_816_000 picoseconds.
122		Weight::from_parts(19_583_000, 4177)
123			.saturating_add(T::DbWeight::get().reads(2_u64))
124			.saturating_add(T::DbWeight::get().writes(1_u64))
125	}
126	/// Storage: `Msa::PayloadSignatureRegistryList` (r:4 w:4)
127	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
128	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
129	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
130	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
131	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
132	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
133	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
134	fn add_public_key_to_msa() -> Weight {
135		// Proof Size summary in bytes:
136		//  Measured:  `1602`
137		//  Estimated: `9981`
138		// Minimum execution time: 265_071_000 picoseconds.
139		Weight::from_parts(267_891_000, 9981)
140			.saturating_add(T::DbWeight::get().reads(8_u64))
141			.saturating_add(T::DbWeight::get().writes(7_u64))
142	}
143	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
144	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
145	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
146	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
147	fn delete_msa_public_key() -> Weight {
148		// Proof Size summary in bytes:
149		//  Measured:  `254`
150		//  Estimated: `6531`
151		// Minimum execution time: 30_844_000 picoseconds.
152		Weight::from_parts(32_169_000, 6531)
153			.saturating_add(T::DbWeight::get().reads(3_u64))
154			.saturating_add(T::DbWeight::get().writes(2_u64))
155	}
156	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:1)
157	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
158	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
159	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
160	fn retire_msa() -> Weight {
161		// Proof Size summary in bytes:
162		//  Measured:  `71`
163		//  Estimated: `4008`
164		// Minimum execution time: 21_318_000 picoseconds.
165		Weight::from_parts(22_096_000, 4008)
166			.saturating_add(T::DbWeight::get().reads(2_u64))
167			.saturating_add(T::DbWeight::get().writes(2_u64))
168	}
169	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
170	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
171	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
172	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
173	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
174	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
175	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
176	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
177	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
178	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
179	/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:0)
180	/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
181	/// The range of component `s` is `[0, 30]`.
182	fn grant_delegation(s: u32, ) -> Weight {
183		// Proof Size summary in bytes:
184		//  Measured:  `1306`
185		//  Estimated: `7722`
186		// Minimum execution time: 147_038_000 picoseconds.
187		Weight::from_parts(150_609_832, 7722)
188			// Standard Error: 35_645
189			.saturating_add(Weight::from_parts(182_971, 0).saturating_mul(s.into()))
190			.saturating_add(T::DbWeight::get().reads(8_u64))
191			.saturating_add(T::DbWeight::get().writes(4_u64))
192	}
193	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
194	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
195	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
196	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
197	fn revoke_delegation_by_delegator() -> Weight {
198		// Proof Size summary in bytes:
199		//  Measured:  `161`
200		//  Estimated: `4177`
201		// Minimum execution time: 18_690_000 picoseconds.
202		Weight::from_parts(19_537_000, 4177)
203			.saturating_add(T::DbWeight::get().reads(2_u64))
204			.saturating_add(T::DbWeight::get().writes(1_u64))
205	}
206	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
207	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
208	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
209	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
210	fn create_provider() -> Weight {
211		// Proof Size summary in bytes:
212		//  Measured:  `67`
213		//  Estimated: `7722`
214		// Minimum execution time: 12_967_000 picoseconds.
215		Weight::from_parts(13_353_000, 7722)
216			.saturating_add(T::DbWeight::get().reads(2_u64))
217			.saturating_add(T::DbWeight::get().writes(1_u64))
218	}
219	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
220	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
221	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
222	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
223	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
224	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
225	/// The range of component `n` is `[0, 10]`.
226	/// The range of component `m` is `[0, 10]`.
227	fn create_provider_via_governance_v2(n: u32, m: u32, ) -> Weight {
228		// Proof Size summary in bytes:
229		//  Measured:  `67`
230		//  Estimated: `7722`
231		// Minimum execution time: 20_485_000 picoseconds.
232		Weight::from_parts(18_766_672, 7722)
233			// Standard Error: 13_364
234			.saturating_add(Weight::from_parts(306_849, 0).saturating_mul(n.into()))
235			// Standard Error: 13_364
236			.saturating_add(Weight::from_parts(1_957_610, 0).saturating_mul(m.into()))
237			.saturating_add(T::DbWeight::get().reads(2_u64))
238			.saturating_add(T::DbWeight::get().writes(2_u64))
239	}
240	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
241	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
242	/// Storage: `Council::ProposalOf` (r:1 w:1)
243	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
244	/// Storage: `Council::Proposals` (r:1 w:1)
245	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
246	/// Storage: `Council::ProposalCount` (r:1 w:1)
247	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
248	/// Storage: `Council::Voting` (r:0 w:1)
249	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
250	fn propose_to_be_provider_v2() -> Weight {
251		// Proof Size summary in bytes:
252		//  Measured:  `147`
253		//  Estimated: `4107`
254		// Minimum execution time: 34_802_000 picoseconds.
255		Weight::from_parts(36_800_000, 4107)
256			.saturating_add(T::DbWeight::get().reads(4_u64))
257			.saturating_add(T::DbWeight::get().writes(4_u64))
258	}
259	fn reindex_offchain() -> Weight {
260		// Proof Size summary in bytes:
261		//  Measured:  `0`
262		//  Estimated: `0`
263		// Minimum execution time: 5_721_000 picoseconds.
264		Weight::from_parts(6_175_000, 0)
265	}
266	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
267	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
268	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
269	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
270	/// Storage: `System::Account` (r:2 w:2)
271	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
272	fn withdraw_tokens() -> Weight {
273		// Proof Size summary in bytes:
274		//  Measured:  `1221`
275		//  Estimated: `6691`
276		// Minimum execution time: 84_692_000 picoseconds.
277		Weight::from_parts(89_302_000, 6691)
278			.saturating_add(T::DbWeight::get().reads(5_u64))
279			.saturating_add(T::DbWeight::get().writes(5_u64))
280	}
281	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
282	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
283	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
284	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
285	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
286	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
287	/// Storage: `Msa::MsaIdToRecoveryCommitment` (r:0 w:1)
288	/// Proof: `Msa::MsaIdToRecoveryCommitment` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
289	fn add_recovery_commitment() -> Weight {
290		// Proof Size summary in bytes:
291		//  Measured:  `1112`
292		//  Estimated: `5733`
293		// Minimum execution time: 143_133_000 picoseconds.
294		Weight::from_parts(145_812_000, 5733)
295			.saturating_add(T::DbWeight::get().reads(4_u64))
296			.saturating_add(T::DbWeight::get().writes(4_u64))
297	}
298	/// Storage: `Msa::RecoveryProviders` (r:0 w:1)
299	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
300	fn remove_recovery_provider() -> Weight {
301		// Proof Size summary in bytes:
302		//  Measured:  `0`
303		//  Estimated: `0`
304		// Minimum execution time: 7_009_000 picoseconds.
305		Weight::from_parts(7_307_000, 0)
306			.saturating_add(T::DbWeight::get().writes(1_u64))
307	}
308	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
309	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
310	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
311	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
312	/// Storage: `Msa::RecoveryProviders` (r:1 w:1)
313	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
314	fn approve_recovery_provider() -> Weight {
315		// Proof Size summary in bytes:
316		//  Measured:  `78`
317		//  Estimated: `7722`
318		// Minimum execution time: 16_555_000 picoseconds.
319		Weight::from_parts(17_430_000, 7722)
320			.saturating_add(T::DbWeight::get().reads(3_u64))
321			.saturating_add(T::DbWeight::get().writes(1_u64))
322	}
323	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
324	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
325	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
326	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
327	fn check_free_extrinsic_use_revoke_delegation_by_provider() -> Weight {
328		// Proof Size summary in bytes:
329		//  Measured:  `161`
330		//  Estimated: `4177`
331		// Minimum execution time: 12_335_000 picoseconds.
332		Weight::from_parts(12_803_000, 4177)
333			.saturating_add(T::DbWeight::get().reads(2_u64))
334	}
335	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
336	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
337	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
338	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
339	fn check_free_extrinsic_use_revoke_delegation_by_delegator() -> Weight {
340		// Proof Size summary in bytes:
341		//  Measured:  `161`
342		//  Estimated: `4177`
343		// Minimum execution time: 12_478_000 picoseconds.
344		Weight::from_parts(12_995_000, 4177)
345			.saturating_add(T::DbWeight::get().reads(2_u64))
346	}
347	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
348	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
349	fn check_free_extrinsic_use_delete_msa_public_key() -> Weight {
350		// Proof Size summary in bytes:
351		//  Measured:  `124`
352		//  Estimated: `6531`
353		// Minimum execution time: 11_503_000 picoseconds.
354		Weight::from_parts(12_342_000, 6531)
355			.saturating_add(T::DbWeight::get().reads(2_u64))
356	}
357	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
358	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
359	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
360	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
361	/// Storage: `Handles::MSAIdToDisplayName` (r:1 w:0)
362	/// Proof: `Handles::MSAIdToDisplayName` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`)
363	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:0)
364	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
365	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
366	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
367	/// Storage: `System::Account` (r:1 w:0)
368	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
369	fn check_free_extrinsic_use_retire_msa() -> Weight {
370		// Proof Size summary in bytes:
371		//  Measured:  `113`
372		//  Estimated: `7722`
373		// Minimum execution time: 23_462_000 picoseconds.
374		Weight::from_parts(24_191_000, 7722)
375			.saturating_add(T::DbWeight::get().reads(6_u64))
376	}
377	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
378	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
379	/// Storage: `Msa::PayloadSignatureRegistryList` (r:1 w:0)
380	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
381	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:0)
382	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
383	/// Storage: `System::Account` (r:1 w:0)
384	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
385	fn check_free_extrinsic_use_withdraw_tokens() -> Weight {
386		// Proof Size summary in bytes:
387		//  Measured:  `791`
388		//  Estimated: `6531`
389		// Minimum execution time: 108_031_000 picoseconds.
390		Weight::from_parts(108_802_000, 6531)
391			.saturating_add(T::DbWeight::get().reads(5_u64))
392	}
393	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
394	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
395	/// Storage: `Msa::RecoveryProviders` (r:1 w:0)
396	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
397	/// Storage: `Msa::MsaIdToRecoveryCommitment` (r:1 w:1)
398	/// Proof: `Msa::MsaIdToRecoveryCommitment` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
399	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
400	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
401	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
402	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
403	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
404	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
405	fn recover_account() -> Weight {
406		// Proof Size summary in bytes:
407		//  Measured:  `1224`
408		//  Estimated: `6531`
409		// Minimum execution time: 158_947_000 picoseconds.
410		Weight::from_parts(163_983_000, 6531)
411			.saturating_add(T::DbWeight::get().reads(8_u64))
412			.saturating_add(T::DbWeight::get().writes(6_u64))
413	}
414	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
415	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
416	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
417	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
418	/// Storage: `Council::ProposalOf` (r:1 w:1)
419	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
420	/// Storage: `Council::Proposals` (r:1 w:1)
421	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
422	/// Storage: `Council::ProposalCount` (r:1 w:1)
423	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
424	/// Storage: `Council::Voting` (r:0 w:1)
425	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
426	/// The range of component `n` is `[0, 10]`.
427	/// The range of component `m` is `[0, 10]`.
428	fn propose_to_add_application(n: u32, m: u32, ) -> Weight {
429		// Proof Size summary in bytes:
430		//  Measured:  `155`
431		//  Estimated: `7722`
432		// Minimum execution time: 32_274_000 picoseconds.
433		Weight::from_parts(30_667_407, 7722)
434			// Standard Error: 16_168
435			.saturating_add(Weight::from_parts(307_492, 0).saturating_mul(n.into()))
436			// Standard Error: 16_168
437			.saturating_add(Weight::from_parts(618_745, 0).saturating_mul(m.into()))
438			.saturating_add(T::DbWeight::get().reads(5_u64))
439			.saturating_add(T::DbWeight::get().writes(4_u64))
440	}
441	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
442	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
443	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
444	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
445	/// Storage: `Msa::NextApplicationIndex` (r:1 w:1)
446	/// Proof: `Msa::NextApplicationIndex` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`)
447	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:1)
448	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
449	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
450	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
451	/// The range of component `n` is `[0, 10]`.
452	/// The range of component `m` is `[0, 10]`.
453	fn create_application_via_governance(n: u32, m: u32, ) -> Weight {
454		// Proof Size summary in bytes:
455		//  Measured:  `79`
456		//  Estimated: `7732`
457		// Minimum execution time: 30_713_000 picoseconds.
458		Weight::from_parts(28_701_808, 7732)
459			// Standard Error: 20_674
460			.saturating_add(Weight::from_parts(394_960, 0).saturating_mul(n.into()))
461			// Standard Error: 20_674
462			.saturating_add(Weight::from_parts(2_056_681, 0).saturating_mul(m.into()))
463			.saturating_add(T::DbWeight::get().reads(4_u64))
464			.saturating_add(T::DbWeight::get().writes(3_u64))
465	}
466	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
467	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
468	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
469	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
470	/// Storage: `Msa::ApprovedLogos` (r:1 w:1)
471	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
472	fn upload_logo() -> Weight {
473		// Proof Size summary in bytes:
474		//  Measured:  `123`
475		//  Estimated: `135110`
476		// Minimum execution time: 291_994_000 picoseconds.
477		Weight::from_parts(314_094_000, 135110)
478			.saturating_add(T::DbWeight::get().reads(3_u64))
479			.saturating_add(T::DbWeight::get().writes(1_u64))
480	}
481	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
482	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
483	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
484	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
485	/// Storage: `Council::ProposalOf` (r:1 w:1)
486	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
487	/// Storage: `Council::Proposals` (r:1 w:1)
488	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
489	/// Storage: `Council::ProposalCount` (r:1 w:1)
490	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
491	/// Storage: `Council::Voting` (r:0 w:1)
492	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
493	/// The range of component `n` is `[0, 10]`.
494	/// The range of component `m` is `[0, 10]`.
495	fn propose_to_update_provider(n: u32, m: u32, ) -> Weight {
496		// Proof Size summary in bytes:
497		//  Measured:  `155`
498		//  Estimated: `7722`
499		// Minimum execution time: 32_188_000 picoseconds.
500		Weight::from_parts(30_381_422, 7722)
501			// Standard Error: 14_671
502			.saturating_add(Weight::from_parts(291_481, 0).saturating_mul(n.into()))
503			// Standard Error: 14_671
504			.saturating_add(Weight::from_parts(639_085, 0).saturating_mul(m.into()))
505			.saturating_add(T::DbWeight::get().reads(5_u64))
506			.saturating_add(T::DbWeight::get().writes(4_u64))
507	}
508	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
509	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
510	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
511	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
512	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:1)
513	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
514	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
515	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
516	/// The range of component `n` is `[0, 10]`.
517	/// The range of component `m` is `[0, 10]`.
518	fn update_application_via_governance(n: u32, m: u32, ) -> Weight {
519		// Proof Size summary in bytes:
520		//  Measured:  `892`
521		//  Estimated: `7732`
522		// Minimum execution time: 49_737_000 picoseconds.
523		Weight::from_parts(47_699_138, 7732)
524			// Standard Error: 22_670
525			.saturating_add(Weight::from_parts(379_865, 0).saturating_mul(n.into()))
526			// Standard Error: 22_670
527			.saturating_add(Weight::from_parts(2_589_270, 0).saturating_mul(m.into()))
528			.saturating_add(T::DbWeight::get().reads(3_u64))
529			.saturating_add(T::DbWeight::get().writes(2_u64))
530	}
531	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
532	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
533	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
534	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
535	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:0)
536	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
537	/// Storage: `Council::ProposalOf` (r:1 w:1)
538	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
539	/// Storage: `Council::Proposals` (r:1 w:1)
540	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
541	/// Storage: `Council::ProposalCount` (r:1 w:1)
542	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
543	/// Storage: `Council::Voting` (r:0 w:1)
544	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
545	/// The range of component `n` is `[0, 10]`.
546	/// The range of component `m` is `[0, 10]`.
547	fn propose_to_update_application(n: u32, m: u32, ) -> Weight {
548		// Proof Size summary in bytes:
549		//  Measured:  `173`
550		//  Estimated: `7732`
551		// Minimum execution time: 38_391_000 picoseconds.
552		Weight::from_parts(35_937_972, 7732)
553			// Standard Error: 39_533
554			.saturating_add(Weight::from_parts(381_373, 0).saturating_mul(n.into()))
555			// Standard Error: 39_533
556			.saturating_add(Weight::from_parts(1_699_368, 0).saturating_mul(m.into()))
557			.saturating_add(T::DbWeight::get().reads(6_u64))
558			.saturating_add(T::DbWeight::get().writes(4_u64))
559	}
560	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
561	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
562	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
563	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
564	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
565	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
566	/// The range of component `n` is `[0, 10]`.
567	/// The range of component `m` is `[0, 10]`.
568	fn update_provider_via_governance(n: u32, m: u32, ) -> Weight {
569		// Proof Size summary in bytes:
570		//  Measured:  `817`
571		//  Estimated: `7722`
572		// Minimum execution time: 43_826_000 picoseconds.
573		Weight::from_parts(40_873_250, 7722)
574			// Standard Error: 29_144
575			.saturating_add(Weight::from_parts(409_149, 0).saturating_mul(n.into()))
576			// Standard Error: 29_144
577			.saturating_add(Weight::from_parts(2_652_571, 0).saturating_mul(m.into()))
578			.saturating_add(T::DbWeight::get().reads(2_u64))
579			.saturating_add(T::DbWeight::get().writes(2_u64))
580	}
581}
582
583// For backwards compatibility and tests.
584impl WeightInfo for () {
585	/// Storage: `Msa::CurrentMsaIdentifierMaximum` (r:1 w:1)
586	/// Proof: `Msa::CurrentMsaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
587	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:1)
588	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
589	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
590	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
591	fn create() -> Weight {
592		// Proof Size summary in bytes:
593		//  Measured:  `0`
594		//  Estimated: `4008`
595		// Minimum execution time: 14_298_000 picoseconds.
596		Weight::from_parts(14_823_000, 4008)
597			.saturating_add(RocksDbWeight::get().reads(3_u64))
598			.saturating_add(RocksDbWeight::get().writes(3_u64))
599	}
600	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
601	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
602	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
603	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
604	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
605	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
606	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
607	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
608	/// Storage: `Msa::CurrentMsaIdentifierMaximum` (r:1 w:1)
609	/// Proof: `Msa::CurrentMsaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
610	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
611	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
612	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
613	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
614	/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:0)
615	/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
616	/// The range of component `s` is `[0, 30]`.
617	fn create_sponsored_account_with_delegation(s: u32, ) -> Weight {
618		// Proof Size summary in bytes:
619		//  Measured:  `1260`
620		//  Estimated: `7722`
621		// Minimum execution time: 153_882_000 picoseconds.
622		Weight::from_parts(157_679_090, 7722)
623			// Standard Error: 36_806
624			.saturating_add(Weight::from_parts(179_725, 0).saturating_mul(s.into()))
625			.saturating_add(RocksDbWeight::get().reads(10_u64))
626			.saturating_add(RocksDbWeight::get().writes(7_u64))
627	}
628	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
629	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
630	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
631	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
632	fn revoke_delegation_by_provider() -> Weight {
633		// Proof Size summary in bytes:
634		//  Measured:  `161`
635		//  Estimated: `4177`
636		// Minimum execution time: 18_816_000 picoseconds.
637		Weight::from_parts(19_583_000, 4177)
638			.saturating_add(RocksDbWeight::get().reads(2_u64))
639			.saturating_add(RocksDbWeight::get().writes(1_u64))
640	}
641	/// Storage: `Msa::PayloadSignatureRegistryList` (r:4 w:4)
642	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
643	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
644	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
645	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
646	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
647	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
648	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
649	fn add_public_key_to_msa() -> Weight {
650		// Proof Size summary in bytes:
651		//  Measured:  `1602`
652		//  Estimated: `9981`
653		// Minimum execution time: 265_071_000 picoseconds.
654		Weight::from_parts(267_891_000, 9981)
655			.saturating_add(RocksDbWeight::get().reads(8_u64))
656			.saturating_add(RocksDbWeight::get().writes(7_u64))
657	}
658	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
659	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
660	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
661	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
662	fn delete_msa_public_key() -> Weight {
663		// Proof Size summary in bytes:
664		//  Measured:  `254`
665		//  Estimated: `6531`
666		// Minimum execution time: 30_844_000 picoseconds.
667		Weight::from_parts(32_169_000, 6531)
668			.saturating_add(RocksDbWeight::get().reads(3_u64))
669			.saturating_add(RocksDbWeight::get().writes(2_u64))
670	}
671	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:1)
672	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
673	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
674	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
675	fn retire_msa() -> Weight {
676		// Proof Size summary in bytes:
677		//  Measured:  `71`
678		//  Estimated: `4008`
679		// Minimum execution time: 21_318_000 picoseconds.
680		Weight::from_parts(22_096_000, 4008)
681			.saturating_add(RocksDbWeight::get().reads(2_u64))
682			.saturating_add(RocksDbWeight::get().writes(2_u64))
683	}
684	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
685	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
686	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
687	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
688	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
689	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
690	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
691	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
692	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
693	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
694	/// Storage: `Schemas::CurrentSchemaIdentifierMaximum` (r:1 w:0)
695	/// Proof: `Schemas::CurrentSchemaIdentifierMaximum` (`max_values`: Some(1), `max_size`: Some(2), added: 497, mode: `MaxEncodedLen`)
696	/// The range of component `s` is `[0, 30]`.
697	fn grant_delegation(s: u32, ) -> Weight {
698		// Proof Size summary in bytes:
699		//  Measured:  `1306`
700		//  Estimated: `7722`
701		// Minimum execution time: 147_038_000 picoseconds.
702		Weight::from_parts(150_609_832, 7722)
703			// Standard Error: 35_645
704			.saturating_add(Weight::from_parts(182_971, 0).saturating_mul(s.into()))
705			.saturating_add(RocksDbWeight::get().reads(8_u64))
706			.saturating_add(RocksDbWeight::get().writes(4_u64))
707	}
708	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
709	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
710	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:1)
711	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
712	fn revoke_delegation_by_delegator() -> Weight {
713		// Proof Size summary in bytes:
714		//  Measured:  `161`
715		//  Estimated: `4177`
716		// Minimum execution time: 18_690_000 picoseconds.
717		Weight::from_parts(19_537_000, 4177)
718			.saturating_add(RocksDbWeight::get().reads(2_u64))
719			.saturating_add(RocksDbWeight::get().writes(1_u64))
720	}
721	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
722	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
723	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
724	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
725	fn create_provider() -> Weight {
726		// Proof Size summary in bytes:
727		//  Measured:  `67`
728		//  Estimated: `7722`
729		// Minimum execution time: 12_967_000 picoseconds.
730		Weight::from_parts(13_353_000, 7722)
731			.saturating_add(RocksDbWeight::get().reads(2_u64))
732			.saturating_add(RocksDbWeight::get().writes(1_u64))
733	}
734	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
735	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
736	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
737	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
738	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
739	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
740	/// The range of component `n` is `[0, 10]`.
741	/// The range of component `m` is `[0, 10]`.
742	fn create_provider_via_governance_v2(n: u32, m: u32, ) -> Weight {
743		// Proof Size summary in bytes:
744		//  Measured:  `67`
745		//  Estimated: `7722`
746		// Minimum execution time: 20_485_000 picoseconds.
747		Weight::from_parts(18_766_672, 7722)
748			// Standard Error: 13_364
749			.saturating_add(Weight::from_parts(306_849, 0).saturating_mul(n.into()))
750			// Standard Error: 13_364
751			.saturating_add(Weight::from_parts(1_957_610, 0).saturating_mul(m.into()))
752			.saturating_add(RocksDbWeight::get().reads(2_u64))
753			.saturating_add(RocksDbWeight::get().writes(2_u64))
754	}
755	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
756	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
757	/// Storage: `Council::ProposalOf` (r:1 w:1)
758	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
759	/// Storage: `Council::Proposals` (r:1 w:1)
760	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
761	/// Storage: `Council::ProposalCount` (r:1 w:1)
762	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
763	/// Storage: `Council::Voting` (r:0 w:1)
764	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
765	fn propose_to_be_provider_v2() -> Weight {
766		// Proof Size summary in bytes:
767		//  Measured:  `147`
768		//  Estimated: `4107`
769		// Minimum execution time: 34_802_000 picoseconds.
770		Weight::from_parts(36_800_000, 4107)
771			.saturating_add(RocksDbWeight::get().reads(4_u64))
772			.saturating_add(RocksDbWeight::get().writes(4_u64))
773	}
774	fn reindex_offchain() -> Weight {
775		// Proof Size summary in bytes:
776		//  Measured:  `0`
777		//  Estimated: `0`
778		// Minimum execution time: 5_721_000 picoseconds.
779		Weight::from_parts(6_175_000, 0)
780	}
781	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
782	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
783	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
784	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
785	/// Storage: `System::Account` (r:2 w:2)
786	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
787	fn withdraw_tokens() -> Weight {
788		// Proof Size summary in bytes:
789		//  Measured:  `1221`
790		//  Estimated: `6691`
791		// Minimum execution time: 84_692_000 picoseconds.
792		Weight::from_parts(89_302_000, 6691)
793			.saturating_add(RocksDbWeight::get().reads(5_u64))
794			.saturating_add(RocksDbWeight::get().writes(5_u64))
795	}
796	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
797	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
798	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
799	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
800	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
801	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
802	/// Storage: `Msa::MsaIdToRecoveryCommitment` (r:0 w:1)
803	/// Proof: `Msa::MsaIdToRecoveryCommitment` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
804	fn add_recovery_commitment() -> Weight {
805		// Proof Size summary in bytes:
806		//  Measured:  `1112`
807		//  Estimated: `5733`
808		// Minimum execution time: 143_133_000 picoseconds.
809		Weight::from_parts(145_812_000, 5733)
810			.saturating_add(RocksDbWeight::get().reads(4_u64))
811			.saturating_add(RocksDbWeight::get().writes(4_u64))
812	}
813	/// Storage: `Msa::RecoveryProviders` (r:0 w:1)
814	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
815	fn remove_recovery_provider() -> Weight {
816		// Proof Size summary in bytes:
817		//  Measured:  `0`
818		//  Estimated: `0`
819		// Minimum execution time: 7_009_000 picoseconds.
820		Weight::from_parts(7_307_000, 0)
821			.saturating_add(RocksDbWeight::get().writes(1_u64))
822	}
823	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
824	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
825	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
826	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
827	/// Storage: `Msa::RecoveryProviders` (r:1 w:1)
828	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
829	fn approve_recovery_provider() -> Weight {
830		// Proof Size summary in bytes:
831		//  Measured:  `78`
832		//  Estimated: `7722`
833		// Minimum execution time: 16_555_000 picoseconds.
834		Weight::from_parts(17_430_000, 7722)
835			.saturating_add(RocksDbWeight::get().reads(3_u64))
836			.saturating_add(RocksDbWeight::get().writes(1_u64))
837	}
838	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
839	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
840	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
841	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
842	fn check_free_extrinsic_use_revoke_delegation_by_provider() -> Weight {
843		// Proof Size summary in bytes:
844		//  Measured:  `161`
845		//  Estimated: `4177`
846		// Minimum execution time: 12_335_000 picoseconds.
847		Weight::from_parts(12_803_000, 4177)
848			.saturating_add(RocksDbWeight::get().reads(2_u64))
849	}
850	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
851	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
852	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
853	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
854	fn check_free_extrinsic_use_revoke_delegation_by_delegator() -> Weight {
855		// Proof Size summary in bytes:
856		//  Measured:  `161`
857		//  Estimated: `4177`
858		// Minimum execution time: 12_478_000 picoseconds.
859		Weight::from_parts(12_995_000, 4177)
860			.saturating_add(RocksDbWeight::get().reads(2_u64))
861	}
862	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
863	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
864	fn check_free_extrinsic_use_delete_msa_public_key() -> Weight {
865		// Proof Size summary in bytes:
866		//  Measured:  `124`
867		//  Estimated: `6531`
868		// Minimum execution time: 11_503_000 picoseconds.
869		Weight::from_parts(12_342_000, 6531)
870			.saturating_add(RocksDbWeight::get().reads(2_u64))
871	}
872	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
873	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
874	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
875	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
876	/// Storage: `Handles::MSAIdToDisplayName` (r:1 w:0)
877	/// Proof: `Handles::MSAIdToDisplayName` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`)
878	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:0)
879	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
880	/// Storage: `Msa::DelegatorAndProviderToDelegation` (r:1 w:0)
881	/// Proof: `Msa::DelegatorAndProviderToDelegation` (`max_values`: None, `max_size`: Some(217), added: 2692, mode: `MaxEncodedLen`)
882	/// Storage: `System::Account` (r:1 w:0)
883	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
884	fn check_free_extrinsic_use_retire_msa() -> Weight {
885		// Proof Size summary in bytes:
886		//  Measured:  `113`
887		//  Estimated: `7722`
888		// Minimum execution time: 23_462_000 picoseconds.
889		Weight::from_parts(24_191_000, 7722)
890			.saturating_add(RocksDbWeight::get().reads(6_u64))
891	}
892	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:0)
893	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
894	/// Storage: `Msa::PayloadSignatureRegistryList` (r:1 w:0)
895	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
896	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:0)
897	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
898	/// Storage: `System::Account` (r:1 w:0)
899	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
900	fn check_free_extrinsic_use_withdraw_tokens() -> Weight {
901		// Proof Size summary in bytes:
902		//  Measured:  `791`
903		//  Estimated: `6531`
904		// Minimum execution time: 108_031_000 picoseconds.
905		Weight::from_parts(108_802_000, 6531)
906			.saturating_add(RocksDbWeight::get().reads(5_u64))
907	}
908	/// Storage: `Msa::PublicKeyToMsaId` (r:2 w:1)
909	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
910	/// Storage: `Msa::RecoveryProviders` (r:1 w:0)
911	/// Proof: `Msa::RecoveryProviders` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
912	/// Storage: `Msa::MsaIdToRecoveryCommitment` (r:1 w:1)
913	/// Proof: `Msa::MsaIdToRecoveryCommitment` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
914	/// Storage: `Msa::PayloadSignatureRegistryList` (r:2 w:2)
915	/// Proof: `Msa::PayloadSignatureRegistryList` (`max_values`: Some(50000), `max_size`: Some(144), added: 2124, mode: `MaxEncodedLen`)
916	/// Storage: `Msa::PayloadSignatureRegistryPointer` (r:1 w:1)
917	/// Proof: `Msa::PayloadSignatureRegistryPointer` (`max_values`: Some(1), `max_size`: Some(140), added: 635, mode: `MaxEncodedLen`)
918	/// Storage: `Msa::PublicKeyCountForMsaId` (r:1 w:1)
919	/// Proof: `Msa::PublicKeyCountForMsaId` (`max_values`: None, `max_size`: Some(17), added: 2492, mode: `MaxEncodedLen`)
920	fn recover_account() -> Weight {
921		// Proof Size summary in bytes:
922		//  Measured:  `1224`
923		//  Estimated: `6531`
924		// Minimum execution time: 158_947_000 picoseconds.
925		Weight::from_parts(163_983_000, 6531)
926			.saturating_add(RocksDbWeight::get().reads(8_u64))
927			.saturating_add(RocksDbWeight::get().writes(6_u64))
928	}
929	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
930	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
931	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
932	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
933	/// Storage: `Council::ProposalOf` (r:1 w:1)
934	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
935	/// Storage: `Council::Proposals` (r:1 w:1)
936	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
937	/// Storage: `Council::ProposalCount` (r:1 w:1)
938	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
939	/// Storage: `Council::Voting` (r:0 w:1)
940	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
941	/// The range of component `n` is `[0, 10]`.
942	/// The range of component `m` is `[0, 10]`.
943	fn propose_to_add_application(n: u32, m: u32, ) -> Weight {
944		// Proof Size summary in bytes:
945		//  Measured:  `155`
946		//  Estimated: `7722`
947		// Minimum execution time: 32_274_000 picoseconds.
948		Weight::from_parts(30_667_407, 7722)
949			// Standard Error: 16_168
950			.saturating_add(Weight::from_parts(307_492, 0).saturating_mul(n.into()))
951			// Standard Error: 16_168
952			.saturating_add(Weight::from_parts(618_745, 0).saturating_mul(m.into()))
953			.saturating_add(RocksDbWeight::get().reads(5_u64))
954			.saturating_add(RocksDbWeight::get().writes(4_u64))
955	}
956	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
957	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
958	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
959	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
960	/// Storage: `Msa::NextApplicationIndex` (r:1 w:1)
961	/// Proof: `Msa::NextApplicationIndex` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`)
962	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:1)
963	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
964	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
965	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
966	/// The range of component `n` is `[0, 10]`.
967	/// The range of component `m` is `[0, 10]`.
968	fn create_application_via_governance(n: u32, m: u32, ) -> Weight {
969		// Proof Size summary in bytes:
970		//  Measured:  `79`
971		//  Estimated: `7732`
972		// Minimum execution time: 30_713_000 picoseconds.
973		Weight::from_parts(28_701_808, 7732)
974			// Standard Error: 20_674
975			.saturating_add(Weight::from_parts(394_960, 0).saturating_mul(n.into()))
976			// Standard Error: 20_674
977			.saturating_add(Weight::from_parts(2_056_681, 0).saturating_mul(m.into()))
978			.saturating_add(RocksDbWeight::get().reads(4_u64))
979			.saturating_add(RocksDbWeight::get().writes(3_u64))
980	}
981	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
982	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
983	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
984	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
985	/// Storage: `Msa::ApprovedLogos` (r:1 w:1)
986	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
987	fn upload_logo() -> Weight {
988		// Proof Size summary in bytes:
989		//  Measured:  `123`
990		//  Estimated: `135110`
991		// Minimum execution time: 291_994_000 picoseconds.
992		Weight::from_parts(314_094_000, 135110)
993			.saturating_add(RocksDbWeight::get().reads(3_u64))
994			.saturating_add(RocksDbWeight::get().writes(1_u64))
995	}
996	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
997	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
998	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
999	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
1000	/// Storage: `Council::ProposalOf` (r:1 w:1)
1001	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
1002	/// Storage: `Council::Proposals` (r:1 w:1)
1003	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1004	/// Storage: `Council::ProposalCount` (r:1 w:1)
1005	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1006	/// Storage: `Council::Voting` (r:0 w:1)
1007	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
1008	/// The range of component `n` is `[0, 10]`.
1009	/// The range of component `m` is `[0, 10]`.
1010	fn propose_to_update_provider(n: u32, m: u32, ) -> Weight {
1011		// Proof Size summary in bytes:
1012		//  Measured:  `155`
1013		//  Estimated: `7722`
1014		// Minimum execution time: 32_188_000 picoseconds.
1015		Weight::from_parts(30_381_422, 7722)
1016			// Standard Error: 14_671
1017			.saturating_add(Weight::from_parts(291_481, 0).saturating_mul(n.into()))
1018			// Standard Error: 14_671
1019			.saturating_add(Weight::from_parts(639_085, 0).saturating_mul(m.into()))
1020			.saturating_add(RocksDbWeight::get().reads(5_u64))
1021			.saturating_add(RocksDbWeight::get().writes(4_u64))
1022	}
1023	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
1024	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
1025	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
1026	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
1027	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:1)
1028	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
1029	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
1030	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
1031	/// The range of component `n` is `[0, 10]`.
1032	/// The range of component `m` is `[0, 10]`.
1033	fn update_application_via_governance(n: u32, m: u32, ) -> Weight {
1034		// Proof Size summary in bytes:
1035		//  Measured:  `892`
1036		//  Estimated: `7732`
1037		// Minimum execution time: 49_737_000 picoseconds.
1038		Weight::from_parts(47_699_138, 7732)
1039			// Standard Error: 22_670
1040			.saturating_add(Weight::from_parts(379_865, 0).saturating_mul(n.into()))
1041			// Standard Error: 22_670
1042			.saturating_add(Weight::from_parts(2_589_270, 0).saturating_mul(m.into()))
1043			.saturating_add(RocksDbWeight::get().reads(3_u64))
1044			.saturating_add(RocksDbWeight::get().writes(2_u64))
1045	}
1046	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
1047	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
1048	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:0)
1049	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
1050	/// Storage: `Msa::ProviderToApplicationRegistry` (r:1 w:0)
1051	/// Proof: `Msa::ProviderToApplicationRegistry` (`max_values`: None, `max_size`: Some(3772), added: 6247, mode: `MaxEncodedLen`)
1052	/// Storage: `Council::ProposalOf` (r:1 w:1)
1053	/// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
1054	/// Storage: `Council::Proposals` (r:1 w:1)
1055	/// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1056	/// Storage: `Council::ProposalCount` (r:1 w:1)
1057	/// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1058	/// Storage: `Council::Voting` (r:0 w:1)
1059	/// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
1060	/// The range of component `n` is `[0, 10]`.
1061	/// The range of component `m` is `[0, 10]`.
1062	fn propose_to_update_application(n: u32, m: u32, ) -> Weight {
1063		// Proof Size summary in bytes:
1064		//  Measured:  `173`
1065		//  Estimated: `7732`
1066		// Minimum execution time: 38_391_000 picoseconds.
1067		Weight::from_parts(35_937_972, 7732)
1068			// Standard Error: 39_533
1069			.saturating_add(Weight::from_parts(381_373, 0).saturating_mul(n.into()))
1070			// Standard Error: 39_533
1071			.saturating_add(Weight::from_parts(1_699_368, 0).saturating_mul(m.into()))
1072			.saturating_add(RocksDbWeight::get().reads(6_u64))
1073			.saturating_add(RocksDbWeight::get().writes(4_u64))
1074	}
1075	/// Storage: `Msa::PublicKeyToMsaId` (r:1 w:0)
1076	/// Proof: `Msa::PublicKeyToMsaId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
1077	/// Storage: `Msa::ProviderToRegistryEntryV2` (r:1 w:1)
1078	/// Proof: `Msa::ProviderToRegistryEntryV2` (`max_values`: None, `max_size`: Some(3762), added: 6237, mode: `MaxEncodedLen`)
1079	/// Storage: `Msa::ApprovedLogos` (r:0 w:1)
1080	/// Proof: `Msa::ApprovedLogos` (`max_values`: None, `max_size`: Some(131150), added: 133625, mode: `MaxEncodedLen`)
1081	/// The range of component `n` is `[0, 10]`.
1082	/// The range of component `m` is `[0, 10]`.
1083	fn update_provider_via_governance(n: u32, m: u32, ) -> Weight {
1084		// Proof Size summary in bytes:
1085		//  Measured:  `817`
1086		//  Estimated: `7722`
1087		// Minimum execution time: 43_826_000 picoseconds.
1088		Weight::from_parts(40_873_250, 7722)
1089			// Standard Error: 29_144
1090			.saturating_add(Weight::from_parts(409_149, 0).saturating_mul(n.into()))
1091			// Standard Error: 29_144
1092			.saturating_add(Weight::from_parts(2_652_571, 0).saturating_mul(m.into()))
1093			.saturating_add(RocksDbWeight::get().reads(2_u64))
1094			.saturating_add(RocksDbWeight::get().writes(2_u64))
1095	}
1096}
1097
1098
1099#[cfg(test)]
1100mod tests {
1101  use frame_support::{traits::Get, weights::Weight, dispatch::DispatchClass};
1102  use common_runtime::constants::{MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO};
1103  use common_runtime::weights::extrinsic_weights::ExtrinsicBaseWeight;
1104
1105  #[allow(dead_code)]
1106  struct BlockWeights;
1107  impl Get<frame_system::limits::BlockWeights> for BlockWeights {
1108  	fn get() -> frame_system::limits::BlockWeights {
1109  		frame_system::limits::BlockWeights::builder()
1110  			.base_block(Weight::zero())
1111  			.for_class(DispatchClass::all(), |weights| {
1112  				weights.base_extrinsic = ExtrinsicBaseWeight::get();
1113  			})
1114  			.for_class(DispatchClass::non_mandatory(), |weights| {
1115  				weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);
1116  			})
1117  			.build_or_panic()
1118  	}
1119  }
1120
1121	#[test]
1122	fn test_create() {
1123		assert!(
1124			BlockWeights::get()
1125				.per_class
1126				.get(frame_support::dispatch::DispatchClass::Normal)
1127				.max_extrinsic
1128				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1129				.proof_size()
1130				> 4008
1131		);
1132	}
1133	#[test]
1134	fn test_create_sponsored_account_with_delegation() {
1135		assert!(
1136			BlockWeights::get()
1137				.per_class
1138				.get(frame_support::dispatch::DispatchClass::Normal)
1139				.max_extrinsic
1140				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1141				.proof_size()
1142				> 7722
1143		);
1144	}
1145	#[test]
1146	fn test_revoke_delegation_by_provider() {
1147		assert!(
1148			BlockWeights::get()
1149				.per_class
1150				.get(frame_support::dispatch::DispatchClass::Normal)
1151				.max_extrinsic
1152				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1153				.proof_size()
1154				> 4177
1155		);
1156	}
1157	#[test]
1158	fn test_add_public_key_to_msa() {
1159		assert!(
1160			BlockWeights::get()
1161				.per_class
1162				.get(frame_support::dispatch::DispatchClass::Normal)
1163				.max_extrinsic
1164				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1165				.proof_size()
1166				> 9981
1167		);
1168	}
1169	#[test]
1170	fn test_delete_msa_public_key() {
1171		assert!(
1172			BlockWeights::get()
1173				.per_class
1174				.get(frame_support::dispatch::DispatchClass::Normal)
1175				.max_extrinsic
1176				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1177				.proof_size()
1178				> 6531
1179		);
1180	}
1181	#[test]
1182	fn test_retire_msa() {
1183		assert!(
1184			BlockWeights::get()
1185				.per_class
1186				.get(frame_support::dispatch::DispatchClass::Normal)
1187				.max_extrinsic
1188				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1189				.proof_size()
1190				> 4008
1191		);
1192	}
1193	#[test]
1194	fn test_grant_delegation() {
1195		assert!(
1196			BlockWeights::get()
1197				.per_class
1198				.get(frame_support::dispatch::DispatchClass::Normal)
1199				.max_extrinsic
1200				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1201				.proof_size()
1202				> 7722
1203		);
1204	}
1205	#[test]
1206	fn test_revoke_delegation_by_delegator() {
1207		assert!(
1208			BlockWeights::get()
1209				.per_class
1210				.get(frame_support::dispatch::DispatchClass::Normal)
1211				.max_extrinsic
1212				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1213				.proof_size()
1214				> 4177
1215		);
1216	}
1217	#[test]
1218	fn test_create_provider() {
1219		assert!(
1220			BlockWeights::get()
1221				.per_class
1222				.get(frame_support::dispatch::DispatchClass::Normal)
1223				.max_extrinsic
1224				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1225				.proof_size()
1226				> 7722
1227		);
1228	}
1229	#[test]
1230	fn test_create_provider_via_governance_v2() {
1231		assert!(
1232			BlockWeights::get()
1233				.per_class
1234				.get(frame_support::dispatch::DispatchClass::Normal)
1235				.max_extrinsic
1236				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1237				.proof_size()
1238				> 7722
1239		);
1240	}
1241	#[test]
1242	fn test_propose_to_be_provider_v2() {
1243		assert!(
1244			BlockWeights::get()
1245				.per_class
1246				.get(frame_support::dispatch::DispatchClass::Normal)
1247				.max_extrinsic
1248				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1249				.proof_size()
1250				> 4107
1251		);
1252	}
1253	#[test]
1254	fn test_withdraw_tokens() {
1255		assert!(
1256			BlockWeights::get()
1257				.per_class
1258				.get(frame_support::dispatch::DispatchClass::Normal)
1259				.max_extrinsic
1260				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1261				.proof_size()
1262				> 6691
1263		);
1264	}
1265	#[test]
1266	fn test_add_recovery_commitment() {
1267		assert!(
1268			BlockWeights::get()
1269				.per_class
1270				.get(frame_support::dispatch::DispatchClass::Normal)
1271				.max_extrinsic
1272				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1273				.proof_size()
1274				> 5733
1275		);
1276	}
1277	#[test]
1278	fn test_approve_recovery_provider() {
1279		assert!(
1280			BlockWeights::get()
1281				.per_class
1282				.get(frame_support::dispatch::DispatchClass::Normal)
1283				.max_extrinsic
1284				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1285				.proof_size()
1286				> 7722
1287		);
1288	}
1289	#[test]
1290	fn test_check_free_extrinsic_use_revoke_delegation_by_provider() {
1291		assert!(
1292			BlockWeights::get()
1293				.per_class
1294				.get(frame_support::dispatch::DispatchClass::Normal)
1295				.max_extrinsic
1296				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1297				.proof_size()
1298				> 4177
1299		);
1300	}
1301	#[test]
1302	fn test_check_free_extrinsic_use_revoke_delegation_by_delegator() {
1303		assert!(
1304			BlockWeights::get()
1305				.per_class
1306				.get(frame_support::dispatch::DispatchClass::Normal)
1307				.max_extrinsic
1308				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1309				.proof_size()
1310				> 4177
1311		);
1312	}
1313	#[test]
1314	fn test_check_free_extrinsic_use_delete_msa_public_key() {
1315		assert!(
1316			BlockWeights::get()
1317				.per_class
1318				.get(frame_support::dispatch::DispatchClass::Normal)
1319				.max_extrinsic
1320				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1321				.proof_size()
1322				> 6531
1323		);
1324	}
1325	#[test]
1326	fn test_check_free_extrinsic_use_retire_msa() {
1327		assert!(
1328			BlockWeights::get()
1329				.per_class
1330				.get(frame_support::dispatch::DispatchClass::Normal)
1331				.max_extrinsic
1332				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1333				.proof_size()
1334				> 7722
1335		);
1336	}
1337	#[test]
1338	fn test_check_free_extrinsic_use_withdraw_tokens() {
1339		assert!(
1340			BlockWeights::get()
1341				.per_class
1342				.get(frame_support::dispatch::DispatchClass::Normal)
1343				.max_extrinsic
1344				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1345				.proof_size()
1346				> 6531
1347		);
1348	}
1349	#[test]
1350	fn test_recover_account() {
1351		assert!(
1352			BlockWeights::get()
1353				.per_class
1354				.get(frame_support::dispatch::DispatchClass::Normal)
1355				.max_extrinsic
1356				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1357				.proof_size()
1358				> 6531
1359		);
1360	}
1361	#[test]
1362	fn test_propose_to_add_application() {
1363		assert!(
1364			BlockWeights::get()
1365				.per_class
1366				.get(frame_support::dispatch::DispatchClass::Normal)
1367				.max_extrinsic
1368				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1369				.proof_size()
1370				> 7722
1371		);
1372	}
1373	#[test]
1374	fn test_create_application_via_governance() {
1375		assert!(
1376			BlockWeights::get()
1377				.per_class
1378				.get(frame_support::dispatch::DispatchClass::Normal)
1379				.max_extrinsic
1380				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1381				.proof_size()
1382				> 7732
1383		);
1384	}
1385	#[test]
1386	fn test_upload_logo() {
1387		assert!(
1388			BlockWeights::get()
1389				.per_class
1390				.get(frame_support::dispatch::DispatchClass::Normal)
1391				.max_extrinsic
1392				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1393				.proof_size()
1394				> 135110
1395		);
1396	}
1397	#[test]
1398	fn test_propose_to_update_provider() {
1399		assert!(
1400			BlockWeights::get()
1401				.per_class
1402				.get(frame_support::dispatch::DispatchClass::Normal)
1403				.max_extrinsic
1404				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1405				.proof_size()
1406				> 7722
1407		);
1408	}
1409	#[test]
1410	fn test_update_application_via_governance() {
1411		assert!(
1412			BlockWeights::get()
1413				.per_class
1414				.get(frame_support::dispatch::DispatchClass::Normal)
1415				.max_extrinsic
1416				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1417				.proof_size()
1418				> 7732
1419		);
1420	}
1421	#[test]
1422	fn test_propose_to_update_application() {
1423		assert!(
1424			BlockWeights::get()
1425				.per_class
1426				.get(frame_support::dispatch::DispatchClass::Normal)
1427				.max_extrinsic
1428				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1429				.proof_size()
1430				> 7732
1431		);
1432	}
1433	#[test]
1434	fn test_update_provider_via_governance() {
1435		assert!(
1436			BlockWeights::get()
1437				.per_class
1438				.get(frame_support::dispatch::DispatchClass::Normal)
1439				.max_extrinsic
1440				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
1441				.proof_size()
1442				> 7722
1443		);
1444	}
1445}