referrerpolicy=no-referrer-when-downgrade

Trait pallet_core_fellowship::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn set_params() -> Weight;
    fn set_partial_params() -> Weight;
    fn bump_offboard() -> Weight;
    fn bump_demote() -> Weight;
    fn set_active() -> Weight;
    fn induct() -> Weight;
    fn promote() -> Weight;
    fn promote_fast(r: u32) -> Weight;
    fn offboard() -> Weight;
    fn import() -> Weight;
    fn approve() -> Weight;
    fn submit_evidence() -> Weight;
}
Expand description

Weight functions needed for pallet_core_fellowship.

Required Methods§

source

fn set_params() -> Weight

source

fn set_partial_params() -> Weight

source

fn bump_offboard() -> Weight

source

fn bump_demote() -> Weight

source

fn set_active() -> Weight

source

fn induct() -> Weight

source

fn promote() -> Weight

source

fn promote_fast(r: u32) -> Weight

source

fn offboard() -> Weight

source

fn import() -> Weight

source

fn approve() -> Weight

source

fn submit_evidence() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_params() -> Weight

Storage: CoreFellowship::Params (r:0 w:1) Proof: CoreFellowship::Params (max_values: Some(1), max_size: Some(368), added: 863, mode: MaxEncodedLen)

source§

fn set_partial_params() -> Weight

Storage: CoreFellowship::Params (r:1 w:1) Proof: CoreFellowship::Params (max_values: Some(1), max_size: Some(368), added: 863, mode: MaxEncodedLen)

source§

fn bump_offboard() -> Weight

Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:1) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Params (r:1 w:0) Proof: CoreFellowship::Params (max_values: Some(1), max_size: Some(368), added: 863, mode: MaxEncodedLen) Storage: RankedCollective::MemberCount (r:1 w:1) Proof: RankedCollective::MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) Storage: RankedCollective::IdToIndex (r:1 w:1) Proof: RankedCollective::IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen) Storage: RankedCollective::IndexToId (r:0 w:1) Proof: RankedCollective::IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)

source§

fn bump_demote() -> Weight

Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:1) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Params (r:1 w:0) Proof: CoreFellowship::Params (max_values: Some(1), max_size: Some(368), added: 863, mode: MaxEncodedLen) Storage: RankedCollective::MemberCount (r:1 w:1) Proof: RankedCollective::MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) Storage: RankedCollective::IdToIndex (r:1 w:1) Proof: RankedCollective::IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen) Storage: RankedCollective::IndexToId (r:0 w:1) Proof: RankedCollective::IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)

source§

fn set_active() -> Weight

Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen)

source§

fn induct() -> Weight

Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:1) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: RankedCollective::MemberCount (r:1 w:1) Proof: RankedCollective::MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) Storage: RankedCollective::IndexToId (r:0 w:1) Proof: RankedCollective::IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) Storage: RankedCollective::IdToIndex (r:0 w:1) Proof: RankedCollective::IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)

source§

fn promote() -> Weight

Storage: RankedCollective::Members (r:1 w:1) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: CoreFellowship::Params (r:1 w:0) Proof: CoreFellowship::Params (max_values: Some(1), max_size: Some(368), added: 863, mode: MaxEncodedLen) Storage: RankedCollective::MemberCount (r:1 w:1) Proof: RankedCollective::MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen) Storage: RankedCollective::IndexToId (r:0 w:1) Proof: RankedCollective::IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) Storage: RankedCollective::IdToIndex (r:0 w:1) Proof: RankedCollective::IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen)

source§

fn promote_fast(r: u32) -> Weight

Storage: RankedCollective::Members (r:1 w:1) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: RankedCollective::MemberCount (r:9 w:9) Proof: RankedCollective::MemberCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen) Storage: RankedCollective::IndexToId (r:0 w:9) Proof: RankedCollective::IndexToId (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) Storage: RankedCollective::IdToIndex (r:0 w:9) Proof: RankedCollective::IdToIndex (max_values: None, max_size: Some(54), added: 2529, mode: MaxEncodedLen) The range of component r is [1, 9].

source§

fn offboard() -> Weight

Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:0 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)

source§

fn import() -> Weight

Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen)

source§

fn approve() -> Weight

Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: CoreFellowship::Member (r:1 w:1) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)

source§

fn submit_evidence() -> Weight

Storage: CoreFellowship::Member (r:1 w:0) Proof: CoreFellowship::Member (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) Storage: CoreFellowship::MemberEvidence (r:1 w:1) Proof: CoreFellowship::MemberEvidence (max_values: None, max_size: Some(16429), added: 18904, mode: MaxEncodedLen)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>