// This file is part of Substrate. // Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // This file is part of Substrate. // Copyright (C) Parity Technologies (UK) Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //! Autogenerated weights for `pallet_society` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-03-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `0848bec9fe49`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: // frame-omni-bencher // v1 // benchmark // pallet // --extrinsic=* // --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm // --pallet=pallet_society // --header=/__w/pezkuwi-sdk/pezkuwi-sdk/substrate/HEADER-APACHE2 // --output=/__w/pezkuwi-sdk/pezkuwi-sdk/substrate/frame/society/src/weights.rs // --wasm-execution=compiled // --steps=50 // --repeat=20 // --heap-pages=4096 // --template=substrate/.maintain/frame-weight-template.hbs // --no-storage-info // --no-min-squares // --no-median-slopes // --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] #![allow(dead_code)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; /// Weight functions needed for `pallet_society`. pub trait WeightInfo { fn bid() -> Weight; fn unbid() -> Weight; fn vouch() -> Weight; fn unvouch() -> Weight; fn vote() -> Weight; fn defender_vote() -> Weight; fn payout() -> Weight; fn waive_repay() -> Weight; fn found_society() -> Weight; fn dissolve() -> Weight; fn judge_suspended_member() -> Weight; fn set_parameters() -> Weight; fn punish_skeptic() -> Weight; fn claim_membership() -> Weight; fn bestow_membership() -> Weight; fn kick_candidate() -> Weight; fn resign_candidacy() -> Weight; fn drop_candidate() -> Weight; fn cleanup_candidacy() -> Weight; fn cleanup_challenge() -> Weight; fn poke_deposit() -> Weight; } /// Weights for `pallet_society` using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:0) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3591` // Minimum execution time: 37_702_000 picoseconds. Weight::from_parts(38_951_000, 3591) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) fn unbid() -> Weight { // Proof Size summary in bytes: // Measured: `461` // Estimated: `2456` // Minimum execution time: 28_427_000 picoseconds. Weight::from_parts(29_573_000, 2456) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:2 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:0) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn vouch() -> Weight { // Proof Size summary in bytes: // Measured: `481` // Estimated: `6048` // Minimum execution time: 28_040_000 picoseconds. Weight::from_parts(29_063_000, 6048) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn unvouch() -> Weight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3519` // Minimum execution time: 20_480_000 picoseconds. Weight::from_parts(23_171_000, 3519) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:1 w:1) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn vote() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `3591` // Minimum execution time: 27_478_000 picoseconds. Weight::from_parts(28_524_000, 3591) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Defending` (r:1 w:1) /// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::ChallengeRoundCount` (r:1 w:0) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::DefenderVotes` (r:1 w:1) /// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn defender_vote() -> Weight { // Proof Size summary in bytes: // Measured: `561` // Estimated: `3522` // Minimum execution time: 24_458_000 picoseconds. Weight::from_parts(25_690_000, 3522) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:1) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: // Measured: `687` // Estimated: `3722` // Minimum execution time: 56_406_000 picoseconds. Weight::from_parts(65_030_000, 3722) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:1) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) fn waive_repay() -> Weight { // Proof Size summary in bytes: // Measured: `547` // Estimated: `3722` // Minimum execution time: 24_846_000 picoseconds. Weight::from_parts(25_812_000, 3722) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Head` (r:1 w:1) /// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Founder` (r:0 w:1) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Rules` (r:0 w:1) /// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn found_society() -> Weight { // Proof Size summary in bytes: // Measured: `180` // Estimated: `1517` // Minimum execution time: 15_931_000 picoseconds. Weight::from_parts(16_622_000, 1517) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Society::Founder` (r:1 w:1) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:5 w:5) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:5 w:5) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:4 w:4) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:4 w:4) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Head` (r:0 w:1) /// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Defending` (r:0 w:1) /// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`) /// Storage: `Society::ChallengeRoundCount` (r:0 w:1) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Skeptic` (r:0 w:1) /// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Pot` (r:0 w:1) /// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Society::Rules` (r:0 w:1) /// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:0 w:1) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Bids` (r:0 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:0 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) fn dissolve() -> Weight { // Proof Size summary in bytes: // Measured: `1654` // Estimated: `13635` // Minimum execution time: 65_898_000 picoseconds. Weight::from_parts(69_842_000, 13635) .saturating_add(T::DbWeight::get().reads(20_u64)) .saturating_add(T::DbWeight::get().writes(30_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:1) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:0) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) /// Storage: `Society::Pot` (r:1 w:1) /// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn judge_suspended_member() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `3722` // Minimum execution time: 25_659_000 picoseconds. Weight::from_parts(26_456_000, 3722) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:0) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn set_parameters() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `1517` // Minimum execution time: 12_063_000 picoseconds. Weight::from_parts(13_035_000, 1517) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Skeptic` (r:1 w:0) /// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:1 w:0) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn punish_skeptic() -> Weight { // Proof Size summary in bytes: // Measured: `636` // Estimated: `3591` // Minimum execution time: 29_789_000 picoseconds. Weight::from_parts(30_860_000, 3591) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:1 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn claim_membership() -> Weight { // Proof Size summary in bytes: // Measured: `632` // Estimated: `3593` // Minimum execution time: 43_192_000 picoseconds. Weight::from_parts(44_463_000, 3593) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:1 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn bestow_membership() -> Weight { // Proof Size summary in bytes: // Measured: `650` // Estimated: `3593` // Minimum execution time: 44_050_000 picoseconds. Weight::from_parts(46_458_000, 3593) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn kick_candidate() -> Weight { // Proof Size summary in bytes: // Measured: `776` // Estimated: `6196` // Minimum execution time: 45_018_000 picoseconds. Weight::from_parts(46_785_000, 6196) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resign_candidacy() -> Weight { // Proof Size summary in bytes: // Measured: `746` // Estimated: `6196` // Minimum execution time: 42_297_000 picoseconds. Weight::from_parts(43_475_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn drop_candidate() -> Weight { // Proof Size summary in bytes: // Measured: `758` // Estimated: `6196` // Minimum execution time: 42_533_000 picoseconds. Weight::from_parts(44_355_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::VoteClearCursor` (r:1 w:0) /// Proof: `Society::VoteClearCursor` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:2 w:2) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn cleanup_candidacy() -> Weight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6110` // Minimum execution time: 20_326_000 picoseconds. Weight::from_parts(21_079_000, 6110) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Society::ChallengeRoundCount` (r:1 w:0) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::DefenderVotes` (r:1 w:1) /// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn cleanup_challenge() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3522` // Minimum execution time: 13_993_000 picoseconds. Weight::from_parts(14_622_000, 3522) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn poke_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `475` // Estimated: `2456` // Minimum execution time: 30_463_000 picoseconds. Weight::from_parts(31_422_000, 2456) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests. impl WeightInfo for () { /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:0) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3591` // Minimum execution time: 37_702_000 picoseconds. Weight::from_parts(38_951_000, 3591) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) fn unbid() -> Weight { // Proof Size summary in bytes: // Measured: `461` // Estimated: `2456` // Minimum execution time: 28_427_000 picoseconds. Weight::from_parts(29_573_000, 2456) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:2 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:0) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn vouch() -> Weight { // Proof Size summary in bytes: // Measured: `481` // Estimated: `6048` // Minimum execution time: 28_040_000 picoseconds. Weight::from_parts(29_063_000, 6048) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn unvouch() -> Weight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `3519` // Minimum execution time: 20_480_000 picoseconds. Weight::from_parts(23_171_000, 3519) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:1 w:1) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn vote() -> Weight { // Proof Size summary in bytes: // Measured: `569` // Estimated: `3591` // Minimum execution time: 27_478_000 picoseconds. Weight::from_parts(28_524_000, 3591) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Defending` (r:1 w:1) /// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::ChallengeRoundCount` (r:1 w:0) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::DefenderVotes` (r:1 w:1) /// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn defender_vote() -> Weight { // Proof Size summary in bytes: // Measured: `561` // Estimated: `3522` // Minimum execution time: 24_458_000 picoseconds. Weight::from_parts(25_690_000, 3522) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Members` (r:1 w:0) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:1) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: // Measured: `687` // Estimated: `3722` // Minimum execution time: 56_406_000 picoseconds. Weight::from_parts(65_030_000, 3722) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:1) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) fn waive_repay() -> Weight { // Proof Size summary in bytes: // Measured: `547` // Estimated: `3722` // Minimum execution time: 24_846_000 picoseconds. Weight::from_parts(25_812_000, 3722) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Head` (r:1 w:1) /// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Founder` (r:0 w:1) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Rules` (r:0 w:1) /// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn found_society() -> Weight { // Proof Size summary in bytes: // Measured: `180` // Estimated: `1517` // Minimum execution time: 15_931_000 picoseconds. Weight::from_parts(16_622_000, 1517) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Society::Founder` (r:1 w:1) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:5 w:5) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:5 w:5) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:4 w:4) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:4 w:4) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::Head` (r:0 w:1) /// Proof: `Society::Head` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Defending` (r:0 w:1) /// Proof: `Society::Defending` (`max_values`: Some(1), `max_size`: Some(72), added: 567, mode: `MaxEncodedLen`) /// Storage: `Society::ChallengeRoundCount` (r:0 w:1) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Skeptic` (r:0 w:1) /// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Pot` (r:0 w:1) /// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Society::Rules` (r:0 w:1) /// Proof: `Society::Rules` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:0 w:1) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Bids` (r:0 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:0 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) fn dissolve() -> Weight { // Proof Size summary in bytes: // Measured: `1654` // Estimated: `13635` // Minimum execution time: 65_898_000 picoseconds. Weight::from_parts(69_842_000, 13635) .saturating_add(RocksDbWeight::get().reads(20_u64)) .saturating_add(RocksDbWeight::get().writes(30_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::SuspendedMembers` (r:1 w:1) /// Proof: `Society::SuspendedMembers` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Payouts` (r:1 w:0) /// Proof: `Society::Payouts` (`max_values`: None, `max_size`: Some(257), added: 2732, mode: `MaxEncodedLen`) /// Storage: `Society::Pot` (r:1 w:1) /// Proof: `Society::Pot` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn judge_suspended_member() -> Weight { // Proof Size summary in bytes: // Measured: `505` // Estimated: `3722` // Minimum execution time: 25_659_000 picoseconds. Weight::from_parts(26_456_000, 3722) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:0) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:0 w:1) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn set_parameters() -> Weight { // Proof Size summary in bytes: // Measured: `387` // Estimated: `1517` // Minimum execution time: 12_063_000 picoseconds. Weight::from_parts(13_035_000, 1517) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Skeptic` (r:1 w:0) /// Proof: `Society::Skeptic` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:1 w:0) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:1 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn punish_skeptic() -> Weight { // Proof Size summary in bytes: // Measured: `636` // Estimated: `3591` // Minimum execution time: 29_789_000 picoseconds. Weight::from_parts(30_860_000, 3591) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:1 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn claim_membership() -> Weight { // Proof Size summary in bytes: // Measured: `632` // Estimated: `3593` // Minimum execution time: 43_192_000 picoseconds. Weight::from_parts(44_463_000, 3593) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) /// Storage: `Society::MemberCount` (r:1 w:1) /// Proof: `Society::MemberCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::NextHead` (r:1 w:1) /// Proof: `Society::NextHead` (`max_values`: Some(1), `max_size`: Some(52), added: 547, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Society::MemberByIndex` (r:0 w:1) /// Proof: `Society::MemberByIndex` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `Society::Members` (r:0 w:1) /// Proof: `Society::Members` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn bestow_membership() -> Weight { // Proof Size summary in bytes: // Measured: `650` // Estimated: `3593` // Minimum execution time: 44_050_000 picoseconds. Weight::from_parts(46_458_000, 3593) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Society::Founder` (r:1 w:0) /// Proof: `Society::Founder` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn kick_candidate() -> Weight { // Proof Size summary in bytes: // Measured: `776` // Estimated: `6196` // Minimum execution time: 45_018_000 picoseconds. Weight::from_parts(46_785_000, 6196) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resign_candidacy() -> Weight { // Proof Size summary in bytes: // Measured: `746` // Estimated: `6196` // Minimum execution time: 42_297_000 picoseconds. Weight::from_parts(43_475_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:1) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::RoundCount` (r:1 w:0) /// Proof: `Society::RoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn drop_candidate() -> Weight { // Proof Size summary in bytes: // Measured: `758` // Estimated: `6196` // Minimum execution time: 42_533_000 picoseconds. Weight::from_parts(44_355_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Society::Candidates` (r:1 w:0) /// Proof: `Society::Candidates` (`max_values`: None, `max_size`: Some(126), added: 2601, mode: `MaxEncodedLen`) /// Storage: `Society::VoteClearCursor` (r:1 w:0) /// Proof: `Society::VoteClearCursor` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `Society::Votes` (r:2 w:2) /// Proof: `Society::Votes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn cleanup_candidacy() -> Weight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6110` // Minimum execution time: 20_326_000 picoseconds. Weight::from_parts(21_079_000, 6110) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Society::ChallengeRoundCount` (r:1 w:0) /// Proof: `Society::ChallengeRoundCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Society::DefenderVotes` (r:1 w:1) /// Proof: `Society::DefenderVotes` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) fn cleanup_challenge() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3522` // Minimum execution time: 13_993_000 picoseconds. Weight::from_parts(14_622_000, 3522) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Society::Bids` (r:1 w:1) /// Proof: `Society::Bids` (`max_values`: Some(1), `max_size`: Some(971), added: 1466, mode: `MaxEncodedLen`) /// Storage: `Society::Parameters` (r:1 w:0) /// Proof: `Society::Parameters` (`max_values`: Some(1), `max_size`: Some(28), added: 523, mode: `MaxEncodedLen`) fn poke_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `475` // Estimated: `2456` // Minimum execution time: 30_463_000 picoseconds. Weight::from_parts(31_422_000, 2456) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } }