pub trait WeightInfo {
    // Required methods
    fn set_params() -> Weight;
    fn bump_offboard() -> Weight;
    fn bump_demote() -> Weight;
    fn set_active() -> Weight;
    fn induct() -> Weight;
    fn promote() -> 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§

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(364), added: 859, 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(364), added: 859, 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:0) 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)

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(364), added: 859, 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:0) 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)

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(364), added: 859, 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 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§