Vaulta

lend.defi

Contract

  • Table row type of reserves

    {
      "name": "st_reserve",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "bsym",
          "type": "symbol"
        },
        {
          "name": "last_liquidity_cumulative_index",
          "type": "uint128"
        },
        {
          "name": "last_variable_borrow_cumulative_index",
          "type": "uint128"
        },
        {
          "name": "practical_balance",
          "type": "asset"
        },
        {
          "name": "total_borrows_stable",
          "type": "asset"
        },
        {
          "name": "total_borrows_variable",
          "type": "asset"
        },
        {
          "name": "minimum_borrows",
          "type": "asset"
        },
        {
          "name": "maximum_borrows",
          "type": "asset"
        },
        {
          "name": "minimum_deposit",
          "type": "asset"
        },
        {
          "name": "maximum_deposit",
          "type": "asset"
        },
        {
          "name": "maximum_total_deposit",
          "type": "asset"
        },
        {
          "name": "overall_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "current_liquidity_rate",
          "type": "uint128"
        },
        {
          "name": "current_variable_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "current_stable_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "current_avg_stable_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "reserve_factor",
          "type": "uint128"
        },
        {
          "name": "reserved_balance",
          "type": "asset"
        },
        {
          "name": "base_ltv_as_collateral",
          "type": "uint64"
        },
        {
          "name": "liquidation_threshold",
          "type": "uint64"
        },
        {
          "name": "liquidation_forfeit",
          "type": "uint64"
        },
        {
          "name": "liquidation_bonus",
          "type": "uint64"
        },
        {
          "name": "utilization_rate",
          "type": "uint128"
        },
        {
          "name": "optimal_utilization_rate",
          "type": "uint128"
        },
        {
          "name": "base_variable_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "variable_rate_slope1",
          "type": "uint128"
        },
        {
          "name": "variable_rate_slope2",
          "type": "uint128"
        },
        {
          "name": "base_stable_borrow_rate",
          "type": "uint128"
        },
        {
          "name": "stable_rate_slope1",
          "type": "uint128"
        },
        {
          "name": "stable_rate_slope2",
          "type": "uint128"
        },
        {
          "name": "borrowing_enabled",
          "type": "bool"
        },
        {
          "name": "usage_as_collateral_enabled",
          "type": "bool"
        },
        {
          "name": "is_stable_borrow_rate_enabled",
          "type": "bool"
        },
        {
          "name": "is_active",
          "type": "bool"
        },
        {
          "name": "is_freezed",
          "type": "bool"
        },
        {
          "name": "oracle_price_id",
          "type": "uint64"
        },
        {
          "name": "last_update_time",
          "type": "time_point_sec"
        },
        {
          "name": "maximum_total_borrows",
          "type": "asset$"
        }
      ]
    }