Struct pallet_society::weights::SubstrateWeight
source · pub struct SubstrateWeight<T>(/* private fields */);
Expand description
Weights for pallet_society
using the Substrate node and recommended hardware.
Trait Implementations§
source§impl<T: Config> WeightInfo for SubstrateWeight<T>
impl<T: Config> WeightInfo for SubstrateWeight<T>
source§fn bid() -> Weight
fn bid() -> Weight
Storage: Society::Bids
(r:1 w:1)
Proof: Society::Bids
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Candidates
(r:1 w:0)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Members
(r:1 w:0)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::SuspendedMembers
(r:1 w:0)
Proof: Society::SuspendedMembers
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:1 w:0)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn unbid() -> Weight
fn unbid() -> Weight
Storage: Society::Bids
(r:1 w:1)
Proof: Society::Bids
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn vouch() -> Weight
fn vouch() -> Weight
Storage: Society::Bids
(r:1 w:1)
Proof: Society::Bids
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Candidates
(r:1 w:0)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Members
(r:2 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::SuspendedMembers
(r:1 w:0)
Proof: Society::SuspendedMembers
(max_values
: None, max_size
: None, mode: Measured
)
source§fn unvouch() -> Weight
fn unvouch() -> Weight
Storage: Society::Bids
(r:1 w:1)
Proof: Society::Bids
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Members
(r:1 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
source§fn vote() -> Weight
fn vote() -> Weight
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Members
(r:1 w:0)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Votes
(r:1 w:1)
Proof: Society::Votes
(max_values
: None, max_size
: None, mode: Measured
)
source§fn defender_vote() -> Weight
fn defender_vote() -> Weight
Storage: Society::Defending
(r:1 w:1)
Proof: Society::Defending
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Members
(r:1 w:0)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::ChallengeRoundCount
(r:1 w:0)
Proof: Society::ChallengeRoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::DefenderVotes
(r:1 w:1)
Proof: Society::DefenderVotes
(max_values
: None, max_size
: None, mode: Measured
)
source§fn payout() -> Weight
fn payout() -> Weight
Storage: Society::Members
(r:1 w:0)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Payouts
(r:1 w:1)
Proof: Society::Payouts
(max_values
: None, max_size
: None, mode: Measured
)
Storage: System::Account
(r:1 w:1)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
source§fn waive_repay() -> Weight
fn waive_repay() -> Weight
Storage: Society::Members
(r:1 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Payouts
(r:1 w:1)
Proof: Society::Payouts
(max_values
: None, max_size
: None, mode: Measured
)
source§fn found_society() -> Weight
fn found_society() -> Weight
Storage: Society::Head
(r:1 w:1)
Proof: Society::Head
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberCount
(r:1 w:1)
Proof: Society::MemberCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberByIndex
(r:0 w:1)
Proof: Society::MemberByIndex
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Founder
(r:0 w:1)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Rules
(r:0 w:1)
Proof: Society::Rules
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Members
(r:0 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:0 w:1)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn dissolve() -> Weight
fn dissolve() -> Weight
Storage: Society::Founder
(r:1 w:1)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberCount
(r:1 w:1)
Proof: Society::MemberCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Members
(r:5 w:5)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::MemberByIndex
(r:5 w:5)
Proof: Society::MemberByIndex
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Votes
(r:4 w:4)
Proof: Society::Votes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Candidates
(r:4 w:4)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Head
(r:0 w:1)
Proof: Society::Head
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Defending
(r:0 w:1)
Proof: Society::Defending
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::ChallengeRoundCount
(r:0 w:1)
Proof: Society::ChallengeRoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Skeptic
(r:0 w:1)
Proof: Society::Skeptic
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Pot
(r:0 w:1)
Proof: Society::Pot
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Rules
(r:0 w:1)
Proof: Society::Rules
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:0 w:1)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Bids
(r:0 w:1)
Proof: Society::Bids
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:0 w:1)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::NextHead
(r:0 w:1)
Proof: Society::NextHead
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn judge_suspended_member() -> Weight
fn judge_suspended_member() -> Weight
Storage: Society::Founder
(r:1 w:0)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::SuspendedMembers
(r:1 w:1)
Proof: Society::SuspendedMembers
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Payouts
(r:1 w:0)
Proof: Society::Payouts
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Pot
(r:1 w:1)
Proof: Society::Pot
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn set_parameters() -> Weight
fn set_parameters() -> Weight
Storage: Society::Founder
(r:1 w:0)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberCount
(r:1 w:0)
Proof: Society::MemberCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:0 w:1)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn punish_skeptic() -> Weight
fn punish_skeptic() -> Weight
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Skeptic
(r:1 w:0)
Proof: Society::Skeptic
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Votes
(r:1 w:0)
Proof: Society::Votes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Members
(r:1 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:1 w:0)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn claim_membership() -> Weight
fn claim_membership() -> Weight
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:1 w:0)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberCount
(r:1 w:1)
Proof: Society::MemberCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::NextHead
(r:1 w:1)
Proof: Society::NextHead
(max_values
: Some(1), max_size
: None, mode: Measured
)
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
: None, mode: Measured
)
Storage: Society::Members
(r:0 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
source§fn bestow_membership() -> Weight
fn bestow_membership() -> Weight
Storage: Society::Founder
(r:1 w:0)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Parameters
(r:1 w:0)
Proof: Society::Parameters
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::MemberCount
(r:1 w:1)
Proof: Society::MemberCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::NextHead
(r:1 w:1)
Proof: Society::NextHead
(max_values
: Some(1), max_size
: None, mode: Measured
)
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
: None, mode: Measured
)
Storage: Society::Members
(r:0 w:1)
Proof: Society::Members
(max_values
: None, max_size
: None, mode: Measured
)
source§fn kick_candidate() -> Weight
fn kick_candidate() -> Weight
Storage: Society::Founder
(r:1 w:0)
Proof: Society::Founder
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
source§fn resign_candidacy() -> Weight
fn resign_candidacy() -> Weight
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
source§fn drop_candidate() -> Weight
fn drop_candidate() -> Weight
Storage: Society::Candidates
(r:1 w:1)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::RoundCount
(r:1 w:0)
Proof: Society::RoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: System::Account
(r:2 w:2)
Proof: System::Account
(max_values
: None, max_size
: Some(128), added: 2603, mode: MaxEncodedLen
)
source§fn cleanup_candidacy() -> Weight
fn cleanup_candidacy() -> Weight
Storage: Society::Candidates
(r:1 w:0)
Proof: Society::Candidates
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::VoteClearCursor
(r:1 w:0)
Proof: Society::VoteClearCursor
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Society::Votes
(r:2 w:2)
Proof: Society::Votes
(max_values
: None, max_size
: None, mode: Measured
)
source§fn cleanup_challenge() -> Weight
fn cleanup_challenge() -> Weight
Storage: Society::ChallengeRoundCount
(r:1 w:0)
Proof: Society::ChallengeRoundCount
(max_values
: Some(1), max_size
: None, mode: Measured
)
Storage: Society::DefenderVotes
(r:1 w:1)
Proof: Society::DefenderVotes
(max_values
: None, max_size
: None, mode: Measured
)
Auto Trait Implementations§
impl<T> Freeze for SubstrateWeight<T>
impl<T> RefUnwindSafe for SubstrateWeight<T>where
T: RefUnwindSafe,
impl<T> Send for SubstrateWeight<T>where
T: Send,
impl<T> Sync for SubstrateWeight<T>where
T: Sync,
impl<T> Unpin for SubstrateWeight<T>where
T: Unpin,
impl<T> UnwindSafe for SubstrateWeight<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read moresource§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.