referrerpolicy=no-referrer-when-downgrade

Trait pallet_salary::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn init() -> Weight;
    fn bump() -> Weight;
    fn induct() -> Weight;
    fn register() -> Weight;
    fn payout() -> Weight;
    fn payout_other() -> Weight;
    fn check_payment() -> Weight;
}
Expand description

Weight functions needed for pallet_salary.

Required Methods§

source

fn init() -> Weight

source

fn bump() -> Weight

source

fn induct() -> Weight

source

fn register() -> Weight

source

fn payout() -> Weight

source

fn payout_other() -> Weight

source

fn check_payment() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn init() -> Weight

Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen)

source§

fn bump() -> Weight

Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen)

source§

fn induct() -> Weight

Storage: Salary::Status (r:1 w:0) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: Salary::Claimant (r:1 w:1) Proof: Salary::Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)

source§

fn register() -> Weight

Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen) Storage: Salary::Claimant (r:1 w:1) Proof: Salary::Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)

source§

fn payout() -> Weight

Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen) Storage: Salary::Claimant (r:1 w:1) Proof: Salary::Claimant (max_values: None, max_size: Some(78), added: 2553, 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 payout_other() -> Weight

Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen) Storage: Salary::Claimant (r:1 w:1) Proof: Salary::Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen) Storage: RankedCollective::Members (r:1 w:0) Proof: RankedCollective::Members (max_values: None, max_size: Some(42), added: 2517, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

source§

fn check_payment() -> Weight

Storage: Salary::Status (r:1 w:1) Proof: Salary::Status (max_values: Some(1), max_size: Some(56), added: 551, mode: MaxEncodedLen) Storage: Salary::Claimant (r:1 w:1) Proof: Salary::Claimant (max_values: None, max_size: Some(78), added: 2553, mode: MaxEncodedLen)

Implementors§

source§

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