referrerpolicy=no-referrer-when-downgrade
pallet_salary::weights

Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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>