pub trait WeightInfo {
    // Required methods
    fn claim_incentive() -> Weight;
    fn on_initialize(a: u32, b: u32, c: u32) -> Weight;
}
Expand description

Weight functions needed for pswap_distribution.

Required Methods§

source

fn claim_incentive() -> Weight

source

fn on_initialize(a: u32, b: u32, c: u32) -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn claim_incentive() -> Weight

Storage: PswapDistribution ShareholderAccounts (r:1 w:1) Proof Skipped: PswapDistribution ShareholderAccounts (max_values: None, max_size: None, mode: Measured) Storage: PswapDistribution ClaimableShares (r:1 w:1) Proof Skipped: PswapDistribution ClaimableShares (max_values: Some(1), max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) 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)

source§

fn on_initialize(a: u32, b: u32, c: u32) -> Weight

Storage: PswapDistribution SubscribedAccounts (r:63 w:0) Proof Skipped: PswapDistribution SubscribedAccounts (max_values: None, max_size: None, mode: Measured) Storage: DEXManager DEXInfos (r:1 w:0) Proof Skipped: DEXManager DEXInfos (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:15 w:5) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Assets AssetOwners (r:2 w:0) Proof Skipped: Assets AssetOwners (max_values: None, max_size: None, mode: Measured) Storage: PoolXYK TotalIssuances (r:12 w:0) Proof Skipped: PoolXYK TotalIssuances (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:16 w:16) Proof: Tokens Accounts (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen) Storage: PswapDistribution BuyBackXSTFraction (r:1 w:0) Proof Skipped: PswapDistribution BuyBackXSTFraction (max_values: Some(1), max_size: None, mode: Measured) Storage: PswapDistribution BurnRate (r:1 w:1) Proof Skipped: PswapDistribution BurnRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Permissions Permissions (r:3 w:0) Proof Skipped: Permissions Permissions (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:2 w:2) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: VestedRewards TotalRewards (r:1 w:0) Proof Skipped: VestedRewards TotalRewards (max_values: Some(1), max_size: None, mode: Measured) Storage: PoolXYK PoolProviders (r:114 w:0) Proof Skipped: PoolXYK PoolProviders (max_values: None, max_size: None, mode: Measured) Storage: PswapDistribution ShareholderAccounts (r:11 w:11) Proof Skipped: PswapDistribution ShareholderAccounts (max_values: None, max_size: None, mode: Measured) Storage: PswapDistribution ClaimableShares (r:1 w:1) Proof Skipped: PswapDistribution ClaimableShares (max_values: Some(1), max_size: None, mode: Measured) Storage: Assets AssetInfos (r:1 w:0) Proof Skipped: Assets AssetInfos (max_values: None, max_size: None, mode: Measured) Storage: XSTPool EnabledSynthetics (r:3 w:0) Proof Skipped: XSTPool EnabledSynthetics (max_values: None, max_size: None, mode: Measured) Storage: DEXAPI EnabledSourceTypes (r:1 w:0) Proof Skipped: DEXAPI EnabledSourceTypes (max_values: Some(1), max_size: None, mode: Measured) Storage: PoolXYK Properties (r:2 w:0) Proof Skipped: PoolXYK Properties (max_values: None, max_size: None, mode: Measured) Storage: TradingPair LockedLiquiditySources (r:1 w:0) Proof Skipped: TradingPair LockedLiquiditySources (max_values: Some(1), max_size: None, mode: Measured) Storage: Technical TechAccounts (r:4 w:0) Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) Storage: PriceTools PriceInfos (r:2 w:0) Proof Skipped: PriceTools PriceInfos (max_values: None, max_size: None, mode: Measured) Storage: PswapDistribution BurnUpdateInfo (r:1 w:0) Proof Skipped: PswapDistribution BurnUpdateInfo (max_values: Some(1), max_size: None, mode: Measured) Storage: PoolXYK Reserves (r:0 w:2) Proof Skipped: PoolXYK Reserves (max_values: None, max_size: None, mode: Measured) The range of component a is [1, 50]. The range of component b is [1, 10]. The range of component c is [10, 100].

Implementors§

source§

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