pub trait WeightInfo {
    // Required methods
    fn claim() -> Weight;
    fn add_umi_nfts_receivers(n: u32) -> Weight;
}
Expand description

Weight functions needed for rewards.

Required Methods§

source

fn claim() -> Weight

source

fn add_umi_nfts_receivers(n: u32) -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn claim() -> Weight

Storage: Rewards ReservesAcc (r:1 w:0) Proof Skipped: Rewards ReservesAcc (max_values: Some(1), max_size: None, mode: Measured) Storage: Rewards ValOwners (r:1 w:1) Proof Skipped: Rewards ValOwners (max_values: None, max_size: None, mode: Measured) Storage: Technical TechAccounts (r:1 w:0) Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:4 w:4) Proof: Tokens Accounts (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen) Storage: System Account (r:2 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Rewards TotalValRewards (r:1 w:1) Proof Skipped: Rewards TotalValRewards (max_values: Some(1), max_size: None, mode: Measured) Storage: Rewards TotalClaimableVal (r:1 w:1) Proof Skipped: Rewards TotalClaimableVal (max_values: Some(1), max_size: None, mode: Measured) Storage: Rewards PswapFarmOwners (r:1 w:1) Proof Skipped: Rewards PswapFarmOwners (max_values: None, max_size: None, mode: Measured) Storage: Rewards PswapWaifuOwners (r:1 w:1) Proof Skipped: Rewards PswapWaifuOwners (max_values: None, max_size: None, mode: Measured) Storage: Rewards UmiNftReceivers (r:1 w:0) Proof Skipped: Rewards UmiNftReceivers (max_values: None, max_size: None, mode: Measured)

source§

fn add_umi_nfts_receivers(n: u32) -> Weight

Storage: Rewards UmiNftClaimed (r:999 w:0) Proof Skipped: Rewards UmiNftClaimed (max_values: None, max_size: None, mode: Measured) Storage: Rewards UmiNfts (r:1 w:0) Proof Skipped: Rewards UmiNfts (max_values: Some(1), max_size: None, mode: Measured) Storage: Rewards UmiNftReceivers (r:0 w:999) Proof Skipped: Rewards UmiNftReceivers (max_values: None, max_size: None, mode: Measured) The range of component n is [1, 1000].

Implementors§

source§

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