IAToken
Title: IAToken
Author: Vendored minimal subset of Aave v3 (https://github.com/aave/aave-v3-core/blob/master/contracts/interfaces/IAToken.sol).
Upstream license: AGPL-3.0.
Minimal vendored subset of the interest-bearing aToken.
balanceOf is rebasing and equals the supplied underlying 1:1 (principal + accrued
interest), which is exactly the supply-leg valuation the adapter reports.
Functions
balanceOf
Returns the aToken balance (underlying-denominated, 1:1, includes accrued interest).
function balanceOf(address user) external view returns (uint256);Parameters
| Name | Type | Description |
|---|---|---|
| user | address |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
scaledBalanceOf
Returns the scaled balance (principal in ray terms, excludes pending interest).
function scaledBalanceOf(address user) external view returns (uint256);Parameters
| Name | Type | Description |
|---|---|---|
| user | address |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
UNDERLYING_ASSET_ADDRESS
Returns the address of the underlying asset backing this aToken.
function UNDERLYING_ASSET_ADDRESS() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |