ReserveData: {
    accruedToTreasury: bigint;
    aTokenAddress: AccountAddress;
    configuration: { data: number };
    currentLiquidityRate: bigint;
    currentVariableBorrowRate: bigint;
    deficit: bigint;
    id: number;
    isolationModeTotalDebt: bigint;
    lastUpdateTimestamp: number;
    liquidationGracePeriodUntil: number;
    liquidityIndex: bigint;
    variableBorrowIndex: bigint;
    variableDebtTokenAddress: AccountAddress;
    virtualUnderlyingBalance: bigint;
}

Represents the data structure for a reserve in the Aave V3 protocol.

Type declaration

  • accruedToTreasury: bigint

    The current treasury balance, scaled.

  • aTokenAddress: AccountAddress

    The address of the aToken.

  • configuration: { data: number }

    Stores the reserve configuration.

  • currentLiquidityRate: bigint

    The current supply rate, expressed in ray.

  • currentVariableBorrowRate: bigint

    The current variable borrow rate, expressed in ray.

  • deficit: bigint

    The current deficit, expressed in ray.

  • id: number

    The ID of the reserve, representing the position in the list of active reserves.

  • isolationModeTotalDebt: bigint

    The outstanding debt borrowed against this asset in isolation mode.

  • lastUpdateTimestamp: number

    The timestamp of the last update.

  • liquidationGracePeriodUntil: number

    Timestamp until when liquidations are not allowed on the reserve, if set to past liquidations will be allowed (u40 -> u64).

  • liquidityIndex: bigint

    The liquidity index, expressed in ray.

  • variableBorrowIndex: bigint

    The variable borrow index, expressed in ray.

  • variableDebtTokenAddress: AccountAddress

    The address of the variable debt token.

  • virtualUnderlyingBalance: bigint

    The amount of underlying accounted for by the protocol.