Trait ceres_liquidity_locker::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn lock_liquidity() -> Weight;
fn change_ceres_fee() -> Weight;
}
Expand description
Weight functions needed for ceres_liquidity_locker.
Required Methods§
fn lock_liquidity() -> Weight
fn change_ceres_fee() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn lock_liquidity() -> Weight
fn lock_liquidity() -> Weight
Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: PoolXYK Properties (r:1 w:0) Proof Skipped: PoolXYK Properties (max_values: None, max_size: None, mode: Measured) Storage: PoolXYK PoolProviders (r:2 w:2) Proof Skipped: PoolXYK PoolProviders (max_values: None, max_size: None, mode: Measured) Storage: CeresLiquidityLocker LockerData (r:1 w:1) Proof Skipped: CeresLiquidityLocker LockerData (max_values: None, max_size: None, mode: Measured) Storage: CeresLiquidityLocker FeesOptionTwoAccount (r:1 w:0) Proof Skipped: CeresLiquidityLocker FeesOptionTwoAccount (max_values: Some(1), max_size: None, mode: Measured) Storage: CeresLiquidityLocker FeesOptionTwoCeresAmount (r:1 w:0) Proof Skipped: CeresLiquidityLocker FeesOptionTwoCeresAmount (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) Storage: PoolXYK AccountPools (r:1 w:1) Proof Skipped: PoolXYK AccountPools (max_values: None, max_size: None, mode: Measured) Storage: DemeterFarmingPlatform UserInfos (r:1 w:1) Proof Skipped: DemeterFarmingPlatform UserInfos (max_values: None, max_size: None, mode: Measured)
source§fn change_ceres_fee() -> Weight
fn change_ceres_fee() -> Weight
Storage: CeresLiquidityLocker AuthorityAccount (r:1 w:0) Proof Skipped: CeresLiquidityLocker AuthorityAccount (max_values: Some(1), max_size: None, mode: Measured) Storage: CeresLiquidityLocker FeesOptionTwoCeresAmount (r:0 w:1) Proof Skipped: CeresLiquidityLocker FeesOptionTwoCeresAmount (max_values: Some(1), max_size: None, mode: Measured)