Trait loans::WeightInfo
source · pub trait WeightInfo {
Show 21 methods
// Required methods
fn add_market() -> Weight;
fn activate_market() -> Weight;
fn update_rate_model() -> Weight;
fn update_market() -> Weight;
fn force_update_market() -> Weight;
fn add_reward() -> Weight;
fn update_market_reward_speed() -> Weight;
fn claim_reward() -> Weight;
fn claim_reward_for_market() -> Weight;
fn mint() -> Weight;
fn borrow() -> Weight;
fn redeem() -> Weight;
fn redeem_all() -> Weight;
fn repay_borrow() -> Weight;
fn repay_borrow_all() -> Weight;
fn deposit_all_collateral() -> Weight;
fn withdraw_all_collateral() -> Weight;
fn liquidate_borrow() -> Weight;
fn reduce_incentive_reserves() -> Weight;
fn add_reserves() -> Weight;
fn reduce_reserves() -> Weight;
}
Expand description
Weight functions needed for loans.
Required Methods§
fn add_market() -> Weight
fn activate_market() -> Weight
fn update_rate_model() -> Weight
fn update_market() -> Weight
fn force_update_market() -> Weight
fn add_reward() -> Weight
fn update_market_reward_speed() -> Weight
fn claim_reward() -> Weight
fn claim_reward_for_market() -> Weight
fn mint() -> Weight
fn borrow() -> Weight
fn redeem() -> Weight
fn redeem_all() -> Weight
fn repay_borrow() -> Weight
fn repay_borrow_all() -> Weight
fn deposit_all_collateral() -> Weight
fn withdraw_all_collateral() -> Weight
fn liquidate_borrow() -> Weight
fn reduce_incentive_reserves() -> Weight
fn add_reserves() -> Weight
fn reduce_reserves() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn add_market() -> Weight
fn add_market() -> Weight
Storage: Loans Markets (r:2 w:1) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:1) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans ExchangeRate (r:0 w:1) Proof Skipped: Loans ExchangeRate (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:0 w:1) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured)
source§fn activate_market() -> Weight
fn activate_market() -> Weight
Storage: Loans Markets (r:1 w:1) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured)
source§fn update_rate_model() -> Weight
fn update_rate_model() -> Weight
Storage: Loans Markets (r:1 w:1) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured)
source§fn update_market() -> Weight
fn update_market() -> Weight
Storage: Loans Markets (r:1 w:1) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured)
source§fn force_update_market() -> Weight
fn force_update_market() -> Weight
Storage: Loans UnderlyingAssetId (r:1 w:1) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Loans Markets (r:1 w:1) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured)
source§fn add_reward() -> Weight
fn add_reward() -> Weight
Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, 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 update_market_reward_speed() -> Weight
fn update_market_reward_speed() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:1) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:1) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured)
source§fn claim_reward() -> Weight
fn claim_reward() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:0) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:3 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:0) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
source§fn claim_reward_for_market() -> Weight
fn claim_reward_for_market() -> Weight
Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans Markets (r:1 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:0) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:3 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:0) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
source§fn mint() -> Weight
fn mint() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:3 w:3) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:1) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:0) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured)
source§fn borrow() -> Weight
fn borrow() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalBorrows (r:1 w:1) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:0) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:0) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:1) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured)
source§fn redeem() -> Weight
fn redeem() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:1) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Tokens Accounts (r:3 w:3) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:0) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured)
source§fn redeem_all() -> Weight
fn redeem_all() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:3 w:3) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:1) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:0) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured)
source§fn repay_borrow() -> Weight
fn repay_borrow() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:1) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:1) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured)
source§fn repay_borrow_all() -> Weight
fn repay_borrow_all() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:1) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:1) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured)
source§fn deposit_all_collateral() -> Weight
fn deposit_all_collateral() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:1 w:1) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:1) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured)
source§fn withdraw_all_collateral() -> Weight
fn withdraw_all_collateral() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:1) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:0) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Tokens Accounts (r:2 w:1) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:1 w:0) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured)
source§fn liquidate_borrow() -> Weight
fn liquidate_borrow() -> Weight
Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:2 w:2) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans Markets (r:3 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:4 w:1) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:0) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Tokens Accounts (r:6 w:5) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:4 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:2 w:1) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Security ParachainStatus (r:1 w:0) Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) Storage: Oracle Aggregate (r:1 w:0) Proof Skipped: Oracle Aggregate (max_values: None, max_size: None, mode: Measured) Storage: Loans AccountBorrows (r:3 w:1) Proof Skipped: Loans AccountBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans BorrowIndex (r:1 w:0) Proof Skipped: Loans BorrowIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowState (r:1 w:1) Proof Skipped: Loans RewardBorrowState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowSpeed (r:1 w:0) Proof Skipped: Loans RewardBorrowSpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardBorrowerIndex (r:1 w:1) Proof Skipped: Loans RewardBorrowerIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:3 w:3) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplierIndex (r:3 w:3) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured)
source§fn reduce_incentive_reserves() -> Weight
fn reduce_incentive_reserves() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans UnderlyingAssetId (r:1 w:0) Proof Skipped: Loans UnderlyingAssetId (max_values: None, max_size: None, mode: Measured) Storage: Tokens TotalIssuance (r:1 w:1) Proof: Tokens TotalIssuance (max_values: None, max_size: Some(35), added: 2510, mode: MaxEncodedLen) Storage: Tokens Accounts (r:4 w:4) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:2 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalBorrows (r:1 w:0) Proof Skipped: Loans TotalBorrows (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:0) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Loans MinExchangeRate (r:1 w:0) Proof Skipped: Loans MinExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans MaxExchangeRate (r:1 w:0) Proof Skipped: Loans MaxExchangeRate (max_values: Some(1), max_size: None, mode: Measured) Storage: Loans AccountDeposits (r:1 w:0) Proof Skipped: Loans AccountDeposits (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplyState (r:1 w:1) Proof Skipped: Loans RewardSupplyState (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplySpeed (r:1 w:0) Proof Skipped: Loans RewardSupplySpeed (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardSupplierIndex (r:1 w:1) Proof Skipped: Loans RewardSupplierIndex (max_values: None, max_size: None, mode: Measured) Storage: Loans RewardAccrued (r:1 w:1) Proof Skipped: Loans RewardAccrued (max_values: None, max_size: None, mode: Measured)
source§fn add_reserves() -> Weight
fn add_reserves() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:1 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Loans TotalReserves (r:1 w:1) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured)
source§fn reduce_reserves() -> Weight
fn reduce_reserves() -> Weight
Storage: Loans Markets (r:2 w:0) Proof Skipped: Loans Markets (max_values: None, max_size: None, mode: Measured) Storage: Timestamp Now (r:1 w:0) Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: Loans LastAccruedInterestTime (r:1 w:1) Proof Skipped: Loans LastAccruedInterestTime (max_values: None, max_size: None, mode: Measured) Storage: Loans TotalReserves (r:1 w:1) Proof Skipped: Loans TotalReserves (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(115), added: 2590, mode: MaxEncodedLen) Storage: System Account (r:1 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)