git.delta.rocks / unique-network / refs/commits / dc6f0e24d331

difftreelog

source

pallets/app-promotion/src/weights.rs21.1 KiBsourcehistory
1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_app_promotion4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/release/unique-collator13// benchmark14// pallet15// --pallet16// pallet-app-promotion17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/app-promotion/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_app_promotion.35pub trait WeightInfo {36	fn on_initialize(b: u32, ) -> Weight;37	fn set_admin_address() -> Weight;38	fn payout_stakers(b: u32, ) -> Weight;39	fn stake() -> Weight;40	fn unstake_all() -> Weight;41	fn unstake_partial() -> Weight;42	fn sponsor_collection() -> Weight;43	fn stop_sponsoring_collection() -> Weight;44	fn sponsor_contract() -> Weight;45	fn stop_sponsoring_contract() -> Weight;46}4748/// Weights for pallet_app_promotion using the Substrate node and recommended hardware.49pub struct SubstrateWeight<T>(PhantomData<T>);50impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {51	/// Storage: AppPromotion PendingUnstake (r:1 w:1)52	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)53	/// Storage: Balances Locks (r:3 w:3)54	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)55	/// Storage: System Account (r:3 w:3)56	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)57	/// The range of component `b` is `[0, 3]`.58	fn on_initialize(b: u32, ) -> Weight {59		// Proof Size summary in bytes:60		//  Measured:  `180 + b * (277 ±0)`61		//  Estimated: `5602 + b * (6377 ±0)`62		// Minimum execution time: 3_724_000 picoseconds.63		Weight::from_parts(4_538_653, 5602)64			// Standard Error: 14_77465			.saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))66			.saturating_add(T::DbWeight::get().reads(1_u64))67			.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))68			.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))69			.saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))70	}71	/// Storage: AppPromotion Admin (r:0 w:1)72	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)73	fn set_admin_address() -> Weight {74		// Proof Size summary in bytes:75		//  Measured:  `0`76		//  Estimated: `0`77		// Minimum execution time: 5_426_000 picoseconds.78		Weight::from_parts(6_149_000, 0)79			.saturating_add(T::DbWeight::get().writes(1_u64))80	}81	/// Storage: AppPromotion Admin (r:1 w:0)82	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)83	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)84	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)85	/// Storage: ParachainSystem ValidationData (r:1 w:0)86	/// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)87	/// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)88	/// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)89	/// Storage: AppPromotion Staked (r:1001 w:1000)90	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)91	/// Storage: System Account (r:101 w:101)92	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)93	/// Storage: Balances Locks (r:100 w:100)94	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)95	/// Storage: AppPromotion TotalStaked (r:1 w:1)96	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)97	/// The range of component `b` is `[1, 100]`.98	fn payout_stakers(b: u32, ) -> Weight {99		// Proof Size summary in bytes:100		//  Measured:  `531 + b * (633 ±0)`101		//  Estimated: `16194 + b * (32560 ±0)`102		// Minimum execution time: 84_632_000 picoseconds.103		Weight::from_parts(800_384, 16194)104			// Standard Error: 19_457105			.saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))106			.saturating_add(T::DbWeight::get().reads(7_u64))107			.saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(b.into())))108			.saturating_add(T::DbWeight::get().writes(3_u64))109			.saturating_add(T::DbWeight::get().writes((12_u64).saturating_mul(b.into())))110			.saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))111	}112	/// Storage: AppPromotion StakesPerAccount (r:1 w:1)113	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)114	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)115	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)116	/// Storage: System Account (r:1 w:1)117	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)118	/// Storage: Balances Locks (r:1 w:1)119	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)120	/// Storage: ParachainSystem ValidationData (r:1 w:0)121	/// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)122	/// Storage: AppPromotion Staked (r:1 w:1)123	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)124	/// Storage: AppPromotion TotalStaked (r:1 w:1)125	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)126	fn stake() -> Weight {127		// Proof Size summary in bytes:128		//  Measured:  `356`129		//  Estimated: `20260`130		// Minimum execution time: 24_750_000 picoseconds.131		Weight::from_parts(25_157_000, 20260)132			.saturating_add(T::DbWeight::get().reads(7_u64))133			.saturating_add(T::DbWeight::get().writes(5_u64))134	}135	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)136	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)137	/// Storage: AppPromotion PendingUnstake (r:1 w:1)138	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)139	/// Storage: AppPromotion Staked (r:11 w:10)140	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)141	/// Storage: AppPromotion TotalStaked (r:1 w:1)142	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)143	/// Storage: AppPromotion StakesPerAccount (r:0 w:1)144	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)145	fn unstake_all() -> Weight {146		// Proof Size summary in bytes:147		//  Measured:  `796`148		//  Estimated: `35720`149		// Minimum execution time: 53_670_000 picoseconds.150		Weight::from_parts(54_376_000, 35720)151			.saturating_add(T::DbWeight::get().reads(14_u64))152			.saturating_add(T::DbWeight::get().writes(13_u64))153	}154	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)155	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)156	/// Storage: AppPromotion PendingUnstake (r:1 w:1)157	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)158	/// Storage: AppPromotion Staked (r:11 w:10)159	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)160	/// Storage: AppPromotion TotalStaked (r:1 w:1)161	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)162	/// Storage: AppPromotion StakesPerAccount (r:1 w:1)163	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)164	fn unstake_partial() -> Weight {165		// Proof Size summary in bytes:166		//  Measured:  `796`167		//  Estimated: `39234`168		// Minimum execution time: 58_317_000 picoseconds.169		Weight::from_parts(59_059_000, 39234)170			.saturating_add(T::DbWeight::get().reads(15_u64))171			.saturating_add(T::DbWeight::get().writes(13_u64))172	}173	/// Storage: AppPromotion Admin (r:1 w:0)174	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)175	/// Storage: Common CollectionById (r:1 w:1)176	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)177	fn sponsor_collection() -> Weight {178		// Proof Size summary in bytes:179		//  Measured:  `1027`180		//  Estimated: `5842`181		// Minimum execution time: 18_117_000 picoseconds.182		Weight::from_parts(18_634_000, 5842)183			.saturating_add(T::DbWeight::get().reads(2_u64))184			.saturating_add(T::DbWeight::get().writes(1_u64))185	}186	/// Storage: AppPromotion Admin (r:1 w:0)187	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)188	/// Storage: Common CollectionById (r:1 w:1)189	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)190	fn stop_sponsoring_collection() -> Weight {191		// Proof Size summary in bytes:192		//  Measured:  `1059`193		//  Estimated: `5842`194		// Minimum execution time: 16_999_000 picoseconds.195		Weight::from_parts(17_417_000, 5842)196			.saturating_add(T::DbWeight::get().reads(2_u64))197			.saturating_add(T::DbWeight::get().writes(1_u64))198	}199	/// Storage: AppPromotion Admin (r:1 w:0)200	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)201	/// Storage: EvmContractHelpers Sponsoring (r:0 w:1)202	/// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)203	fn sponsor_contract() -> Weight {204		// Proof Size summary in bytes:205		//  Measured:  `198`206		//  Estimated: `1517`207		// Minimum execution time: 14_438_000 picoseconds.208		Weight::from_parts(14_931_000, 1517)209			.saturating_add(T::DbWeight::get().reads(1_u64))210			.saturating_add(T::DbWeight::get().writes(1_u64))211	}212	/// Storage: AppPromotion Admin (r:1 w:0)213	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)214	/// Storage: EvmContractHelpers Sponsoring (r:1 w:1)215	/// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)216	fn stop_sponsoring_contract() -> Weight {217		// Proof Size summary in bytes:218		//  Measured:  `363`219		//  Estimated: `5044`220		// Minimum execution time: 14_786_000 picoseconds.221		Weight::from_parts(15_105_000, 5044)222			.saturating_add(T::DbWeight::get().reads(2_u64))223			.saturating_add(T::DbWeight::get().writes(1_u64))224	}225}226227// For backwards compatibility and tests228impl WeightInfo for () {229	/// Storage: AppPromotion PendingUnstake (r:1 w:1)230	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)231	/// Storage: Balances Locks (r:3 w:3)232	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)233	/// Storage: System Account (r:3 w:3)234	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)235	/// The range of component `b` is `[0, 3]`.236	fn on_initialize(b: u32, ) -> Weight {237		// Proof Size summary in bytes:238		//  Measured:  `180 + b * (277 ±0)`239		//  Estimated: `5602 + b * (6377 ±0)`240		// Minimum execution time: 3_724_000 picoseconds.241		Weight::from_parts(4_538_653, 5602)242			// Standard Error: 14_774243			.saturating_add(Weight::from_parts(10_368_686, 0).saturating_mul(b.into()))244			.saturating_add(RocksDbWeight::get().reads(1_u64))245			.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))246			.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))247			.saturating_add(Weight::from_parts(0, 6377).saturating_mul(b.into()))248	}249	/// Storage: AppPromotion Admin (r:0 w:1)250	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)251	fn set_admin_address() -> Weight {252		// Proof Size summary in bytes:253		//  Measured:  `0`254		//  Estimated: `0`255		// Minimum execution time: 5_426_000 picoseconds.256		Weight::from_parts(6_149_000, 0)257			.saturating_add(RocksDbWeight::get().writes(1_u64))258	}259	/// Storage: AppPromotion Admin (r:1 w:0)260	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)261	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)262	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)263	/// Storage: ParachainSystem ValidationData (r:1 w:0)264	/// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)265	/// Storage: AppPromotion PreviousCalculatedRecord (r:1 w:1)266	/// Proof: AppPromotion PreviousCalculatedRecord (max_values: Some(1), max_size: Some(36), added: 531, mode: MaxEncodedLen)267	/// Storage: AppPromotion Staked (r:1001 w:1000)268	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)269	/// Storage: System Account (r:101 w:101)270	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)271	/// Storage: Balances Locks (r:100 w:100)272	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)273	/// Storage: AppPromotion TotalStaked (r:1 w:1)274	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)275	/// The range of component `b` is `[1, 100]`.276	fn payout_stakers(b: u32, ) -> Weight {277		// Proof Size summary in bytes:278		//  Measured:  `531 + b * (633 ±0)`279		//  Estimated: `16194 + b * (32560 ±0)`280		// Minimum execution time: 84_632_000 picoseconds.281		Weight::from_parts(800_384, 16194)282			// Standard Error: 19_457283			.saturating_add(Weight::from_parts(49_393_958, 0).saturating_mul(b.into()))284			.saturating_add(RocksDbWeight::get().reads(7_u64))285			.saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(b.into())))286			.saturating_add(RocksDbWeight::get().writes(3_u64))287			.saturating_add(RocksDbWeight::get().writes((12_u64).saturating_mul(b.into())))288			.saturating_add(Weight::from_parts(0, 32560).saturating_mul(b.into()))289	}290	/// Storage: AppPromotion StakesPerAccount (r:1 w:1)291	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)292	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)293	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)294	/// Storage: System Account (r:1 w:1)295	/// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)296	/// Storage: Balances Locks (r:1 w:1)297	/// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen)298	/// Storage: ParachainSystem ValidationData (r:1 w:0)299	/// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured)300	/// Storage: AppPromotion Staked (r:1 w:1)301	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)302	/// Storage: AppPromotion TotalStaked (r:1 w:1)303	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)304	fn stake() -> Weight {305		// Proof Size summary in bytes:306		//  Measured:  `356`307		//  Estimated: `20260`308		// Minimum execution time: 24_750_000 picoseconds.309		Weight::from_parts(25_157_000, 20260)310			.saturating_add(RocksDbWeight::get().reads(7_u64))311			.saturating_add(RocksDbWeight::get().writes(5_u64))312	}313	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)314	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)315	/// Storage: AppPromotion PendingUnstake (r:1 w:1)316	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)317	/// Storage: AppPromotion Staked (r:11 w:10)318	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)319	/// Storage: AppPromotion TotalStaked (r:1 w:1)320	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)321	/// Storage: AppPromotion StakesPerAccount (r:0 w:1)322	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)323	fn unstake_all() -> Weight {324		// Proof Size summary in bytes:325		//  Measured:  `796`326		//  Estimated: `35720`327		// Minimum execution time: 53_670_000 picoseconds.328		Weight::from_parts(54_376_000, 35720)329			.saturating_add(RocksDbWeight::get().reads(14_u64))330			.saturating_add(RocksDbWeight::get().writes(13_u64))331	}332	/// Storage: Configuration AppPromomotionConfigurationOverride (r:1 w:0)333	/// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)334	/// Storage: AppPromotion PendingUnstake (r:1 w:1)335	/// Proof: AppPromotion PendingUnstake (max_values: None, max_size: Some(157), added: 2632, mode: MaxEncodedLen)336	/// Storage: AppPromotion Staked (r:11 w:10)337	/// Proof: AppPromotion Staked (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)338	/// Storage: AppPromotion TotalStaked (r:1 w:1)339	/// Proof: AppPromotion TotalStaked (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)340	/// Storage: AppPromotion StakesPerAccount (r:1 w:1)341	/// Proof: AppPromotion StakesPerAccount (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)342	fn unstake_partial() -> Weight {343		// Proof Size summary in bytes:344		//  Measured:  `796`345		//  Estimated: `39234`346		// Minimum execution time: 58_317_000 picoseconds.347		Weight::from_parts(59_059_000, 39234)348			.saturating_add(RocksDbWeight::get().reads(15_u64))349			.saturating_add(RocksDbWeight::get().writes(13_u64))350	}351	/// Storage: AppPromotion Admin (r:1 w:0)352	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)353	/// Storage: Common CollectionById (r:1 w:1)354	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)355	fn sponsor_collection() -> Weight {356		// Proof Size summary in bytes:357		//  Measured:  `1027`358		//  Estimated: `5842`359		// Minimum execution time: 18_117_000 picoseconds.360		Weight::from_parts(18_634_000, 5842)361			.saturating_add(RocksDbWeight::get().reads(2_u64))362			.saturating_add(RocksDbWeight::get().writes(1_u64))363	}364	/// Storage: AppPromotion Admin (r:1 w:0)365	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)366	/// Storage: Common CollectionById (r:1 w:1)367	/// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)368	fn stop_sponsoring_collection() -> Weight {369		// Proof Size summary in bytes:370		//  Measured:  `1059`371		//  Estimated: `5842`372		// Minimum execution time: 16_999_000 picoseconds.373		Weight::from_parts(17_417_000, 5842)374			.saturating_add(RocksDbWeight::get().reads(2_u64))375			.saturating_add(RocksDbWeight::get().writes(1_u64))376	}377	/// Storage: AppPromotion Admin (r:1 w:0)378	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)379	/// Storage: EvmContractHelpers Sponsoring (r:0 w:1)380	/// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)381	fn sponsor_contract() -> Weight {382		// Proof Size summary in bytes:383		//  Measured:  `198`384		//  Estimated: `1517`385		// Minimum execution time: 14_438_000 picoseconds.386		Weight::from_parts(14_931_000, 1517)387			.saturating_add(RocksDbWeight::get().reads(1_u64))388			.saturating_add(RocksDbWeight::get().writes(1_u64))389	}390	/// Storage: AppPromotion Admin (r:1 w:0)391	/// Proof: AppPromotion Admin (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)392	/// Storage: EvmContractHelpers Sponsoring (r:1 w:1)393	/// Proof: EvmContractHelpers Sponsoring (max_values: None, max_size: Some(62), added: 2537, mode: MaxEncodedLen)394	fn stop_sponsoring_contract() -> Weight {395		// Proof Size summary in bytes:396		//  Measured:  `363`397		//  Estimated: `5044`398		// Minimum execution time: 14_786_000 picoseconds.399		Weight::from_parts(15_105_000, 5044)400			.saturating_add(RocksDbWeight::get().reads(2_u64))401			.saturating_add(RocksDbWeight::get().writes(1_u64))402	}403}404