Module loans::pallet::storage_types

source ·
Expand description

Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.

Warning: Doc-Only

Members of this module cannot be used directly and are only provided for documentation purposes.

To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.

Structs

  • Mapping of account addresses to outstanding borrow balances CurrencyId -> Owner -> BorrowSnapshot
  • Mapping of account addresses to collateral deposit details CollateralType -> Owner -> Collateral Deposits
  • Accumulator of the total earned interest rate since the opening of the market CurrencyId -> u128
  • Mapping of borrow rate to currency type
  • The internal exchange rate from the associated lend token to the underlying currency.
  • The timestamp of the last calculation of accrued interest
  • Mapping of underlying currency id to its market
  • The maximum allowed exchange rate for a market.
  • The minimum allowed exchange rate for a market. This is the starting rate when a market is first set up.
  • The incentive reward accrued but not yet transferred to each user.
  • Mapping of underlying currency id to borrow reward speed
  • The Reward market borrow state for each market
  • The incentive reward index for each market for each borrower as of the last time they accrued Reward
  • The incentive reward index for each market for each supplier as of the last time they accrued Reward
  • Mapping of underlying currency id to supply reward speed
  • The Reward market supply state for each market
  • Storage version of the pallet.
  • Mapping of supply rate to currency type
  • Total amount of outstanding borrows of the underlying in this market CurrencyId -> Balance
  • Total amount of reserves of the underlying held in this market CurrencyId -> Balance
  • Mapping of lend_token id to underlying currency id lend_token id: voucher token id asset id: underlying token id
  • Borrow utilization ratio