PoolInstance
Ethereum0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2
Proxy implementation: 0x8147b99df7672a21809c9093e6f6ce1a60f119bd
Solidity v0.8.27+commit.40a35a09
Admin & Risk
Who can change the rules?
Detected upgradeable controls from the verified ABI.
Current controls
- Implementation
- 0x8147b99df7672a21809c9093e6f6ce1a60f119bd ↗ Etherscan → smarts proxy
Overview
Read Functions
Block #25,169,819 · just nowReturns the PoolAddressesProvider connected to this contract
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the PoolAddressesProvider |
Returns the total fee on flash loans.
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The total fee on flashloans |
Returns the part of the flashloan fees sent to protocol
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The flashloan fee sent to the protocol treasury |
Returns the maximum number of reserves supported to be listed in this Pool
Returns
| Name | Type | Description |
|---|---|---|
| — | uint16 | The maximum number of reserves supported |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Returns the ReserveInterestRateStrategy connected to all the reserves
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the ReserveInterestRateStrategy contract |
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
Gets the address of the external BorrowLogic
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns the configuration of the reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | tuple | The configuration of the reserve |
Returns the borrowableBitmap of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The borrowableBitmap of the category |
Returns the collateralBitmap of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The collateralBitmap of the category |
Returns the collateral config of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| res | tuple | The ltv,lt,lb of the category |
Returns the data of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| — | tuple | The configuration data of the category |
Returns the label of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The label of the category |
Returns the ltvzero of an eMode category
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The ltvzeroBitmap of the category |
Gets the address of the external FlashLoanLogic
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns the liquidation grace period of the given asset
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint40 | Timestamp when the liquidation grace period will end |
Gets the address of the external LiquidationLogic
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Gets the address of the external PoolLogic
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns the aToken address of a reserve.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the aToken |
Returns the address of the underlying asset of a reserve by the reserve id as stored in the DataTypes.ReserveData struct
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint16 | The id of the reserve as stored in the DataTypes.ReserveData struct |
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the reserve associated with id |
Returns the state and configuration of the reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| res | tuple | The state and configuration data of the reserve |
Returns the current deficit of a reserve.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The current deficit of the reserve |
Returns the normalized income of the reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The reserve's normalized income |
Returns the normalized variable debt per unit of asset
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The reserve normalized variable debt |
Returns the variableDebtToken address of a reserve.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the variableDebtToken |
Returns the number of initialized reserves
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The count |
Returns the list of the underlying assets of all the initialized reserves
Returns
| Name | Type | Description |
|---|---|---|
| — | address[] | The addresses of the underlying assets of the initialized reserves |
Gets the address of the external SupplyLogic
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns the user account data across all the reserves
Parameters
| Name | Type | Description |
|---|---|---|
| user | address | The address of the user |
Returns
| Name | Type | Description |
|---|---|---|
| totalCollateralBase | uint256 | totalCollateralBase The total collateral of the user in the base currency used by the price feed |
| totalDebtBase | uint256 | totalDebtBase The total debt of the user in the base currency used by the price feed |
| availableBorrowsBase | uint256 | availableBorrowsBase The borrowing power left of the user in the base currency used by the price feed |
| currentLiquidationThreshold | uint256 | currentLiquidationThreshold The liquidation threshold of the user |
| ltv | uint256 | ltv The loan to value of The user |
| healthFactor | uint256 | healthFactor The current health factor of the user |
Returns the configuration of the user across all the reserves
Parameters
| Name | Type | Description |
|---|---|---|
| user | address | The user address |
Returns
| Name | Type | Description |
|---|---|---|
| — | tuple | The configuration of the user |
Returns the eMode the user is using
Parameters
| Name | Type | Description |
|---|---|---|
| user | address | The address of the user |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The eMode id |
Returns the virtual underlying balance of the reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint128 | The reserve virtual underlying balance |
Parameters
| Name | Type | Description |
|---|---|---|
| user | address | |
| positionManager | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Write Functions
Approves or disapproves a position manager. This position manager will be able to call the `setUserUseReserveAsCollateralOnBehalfOf` and the `setUserEModeOnBehalfOf` function on behalf of the user.
Parameters
| Name | Type | Description |
|---|---|---|
| positionManager | address | The address of the position manager |
| approve | bool | True if the position manager should be approved, false otherwise |
Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower already supplied enough collateral, or he was given enough allowance by a credit delegator on the VariableDebtToken - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet and 100 variable debt tokens
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to borrow |
| amount | uint256 | The amount to be borrowed |
| interestRateMode | uint256 | 2 for Variable, 1 is deprecated on v3.2.0 |
| referralCode | uint16 | The code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man |
| onBehalfOf | address | The address of the user who will receive the debt. Should be the address of the borrower itself calling the function if he wants to borrow against his own collateral, or the address of the credit delegator if he has been given credit delegation allowance |
Configures a new or alters an existing collateral configuration of an eMode.
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
| category | tuple |
Replaces the current eMode borrowableBitmap.
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
| borrowableBitmap | uint128 | The borrowableBitmap of the category |
Replaces the current eMode collateralBitmap.
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
| collateralBitmap | uint128 | The collateralBitmap of the category |
Replaces the current eMode ltvzeroBitmap.
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint8 | The id of the category |
| ltvzeroBitmap | uint128 | The ltvzeroBitmap of the category |
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | |
| amount | uint256 | |
| onBehalfOf | address | |
| referralCode | uint16 |
Drop a reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
It covers the deficit of a specified reserve by burning the equivalent aToken `amount` for assets
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to cover the deficit. |
| amount | uint256 | The amount to be covered, in aToken |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The amount of tokens burned |
Validates and finalizes an aToken transfer
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the aToken |
| from | address | The user from which the aTokens are transferred |
| to | address | The user receiving the aTokens |
| scaledAmount | uint256 | The scaled amount being transferred/withdrawn |
| scaledBalanceFromBefore | uint256 | The aToken scaled balance of the `from` user before the transfer |
Allows smartcontracts to access the liquidity of the pool within one transaction, as long as the amount taken plus a fee is returned.
Parameters
| Name | Type | Description |
|---|---|---|
| receiverAddress | address | The address of the contract receiving the funds, implementing IFlashLoanReceiver interface |
| assets | address[] | The addresses of the assets being flash-borrowed |
| amounts | uint256[] | The amounts of the assets being flash-borrowed |
| interestRateModes | uint256[] | Types of the debt to open if the flash loan is not returned: 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver 1 -> Deprecated on v3.2.0 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address |
| onBehalfOf | address | The address that will receive the debt in the case of using 2 on `modes` |
| params | bytes | Variadic packed params to pass to the receiver as extra information |
| referralCode | uint16 | The code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man |
Allows smartcontracts to access the liquidity of the pool within one transaction, as long as the amount taken plus a fee is returned.
Parameters
| Name | Type | Description |
|---|---|---|
| receiverAddress | address | The address of the contract receiving the funds, implementing IFlashLoanSimpleReceiver interface |
| asset | address | The address of the asset being flash-borrowed |
| amount | uint256 | The amount of the asset being flash-borrowed |
| params | bytes | Variadic packed params to pass to the receiver as extra information |
| referralCode | uint16 | The code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man |
Initializes a reserve, activating it, assigning an aToken and debt tokens
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
| aTokenAddress | address | The address of the aToken that will be assigned to the reserve |
| variableDebtAddress | address | The address of the VariableDebtToken that will be assigned to the reserve |
Initializes the Pool.
Parameters
| Name | Type | Description |
|---|---|---|
| provider | address | The address of the PoolAddressesProvider |
Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1 - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives a proportionally amount of the `collateralAsset` plus a bonus to cover market risk
Parameters
| Name | Type | Description |
|---|---|---|
| collateralAsset | address | The address of the underlying asset used as collateral, to receive as result of the liquidation |
| debtAsset | address | The address of the underlying borrowed asset to be repaid with the liquidation |
| borrower | address | The address of the borrower getting liquidated |
| debtToCover | uint256 | The debt amount of borrowed `asset` the liquidator wants to cover |
| receiveAToken | bool | True if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly |
Mints the assets accrued through the reserve factor to the treasury in the form of aTokens
Parameters
| Name | Type | Description |
|---|---|---|
| assets | address[] | The list of reserves for which the minting needs to be executed |
Parameters
| Name | Type | Description |
|---|---|---|
| data | bytes[] |
Returns
| Name | Type | Description |
|---|---|---|
| results | bytes[] |
Renounces a position manager role for a given user.
Parameters
| Name | Type | Description |
|---|---|---|
| user | address | The address of the user |
Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned - E.g. User repays 100 USDC, burning 100 variable debt tokens of the `onBehalfOf` address
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the borrowed underlying asset previously borrowed |
| amount | uint256 | The amount to repay - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode` |
| interestRateMode | uint256 | 2 for Variable, 1 is deprecated on v3.2.0 |
| onBehalfOf | address | The address of the user who will get his debt reduced/removed. Should be the address of the user calling the function if he wants to reduce/remove his own debt, or the address of any other other borrower whose debt should be removed |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The final amount repaid |
Repays a borrowed `amount` on a specific reserve using the reserve aTokens, burning the equivalent debt tokens - E.g. User repays 100 USDC using 100 aUSDC, burning 100 variable debt tokens
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the borrowed underlying asset previously borrowed |
| amount | uint256 | The amount to repay - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode` |
| interestRateMode | uint256 | DEPRECATED in v3.2.0 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The final amount repaid |
Repay with transfer approval of asset to be repaid done via permit function see: https://eips.ethereum.org/EIPS/eip-2612 and https://eips.ethereum.org/EIPS/eip-713
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the borrowed underlying asset previously borrowed |
| amount | uint256 | The amount to repay - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode` |
| interestRateMode | uint256 | 2 for Variable, 1 is deprecated on v3.2.0 |
| onBehalfOf | address | Address of the user who will get his debt reduced/removed. Should be the address of the user calling the function if he wants to reduce/remove his own debt, or the address of any other other borrower whose debt should be removed |
| deadline | uint256 | The deadline timestamp that the permit is valid |
| permitV | uint8 | The V parameter of ERC712 permit sig |
| permitR | bytes32 | The R parameter of ERC712 permit sig |
| permitS | bytes32 | The S parameter of ERC712 permit sig |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The final amount repaid |
Rescue and transfer tokens locked in this contract
Parameters
| Name | Type | Description |
|---|---|---|
| token | address | The address of the token |
| to | address | The address of the recipient |
| amount | uint256 | The amount of token to transfer |
Resets the isolation mode total debt of the given asset to zero
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to reset the isolationModeTotalDebt |
Sets the configuration bitmap of the reserve as a whole
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
| configuration | tuple | The new configuration bitmap |
Sets the liquidation grace period of the given asset
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to set the liquidationGracePeriod |
| until | uint40 | Timestamp when the liquidation grace period will end |
Allows a user to use the protocol in eMode
Parameters
| Name | Type | Description |
|---|---|---|
| categoryId | uint8 | The id of the category |
Sets the eMode category for the user on the specific reserve on behalf of the user.
Parameters
| Name | Type | Description |
|---|---|---|
| categoryId | uint8 | The id of the category |
| onBehalfOf | address | The address of the user |
Allows suppliers to enable/disable a specific supplied asset as collateral
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset supplied |
| useAsCollateral | bool | True if the user wants to use the supply as collateral, false otherwise |
Sets the use as collateral flag for the user on the specific reserve on behalf of the user.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
| useAsCollateral | bool | True if the user wants to use the reserve as collateral, false otherwise |
| onBehalfOf | address | The address of the user |
Supplies an `amount` of underlying asset into the reserve, receiving in return overlying aTokens. - E.g. User supplies 100 USDC and gets in return 100 aUSDC
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to supply |
| amount | uint256 | The amount to be supplied |
| onBehalfOf | address | The address that will receive the aTokens, same as msg.sender if the user wants to receive them on his own wallet, or a different address if the beneficiary of aTokens is a different wallet |
| referralCode | uint16 | Code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man |
Supply with transfer approval of asset to be supplied done via permit function see: https://eips.ethereum.org/EIPS/eip-2612 and https://eips.ethereum.org/EIPS/eip-713
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to supply |
| amount | uint256 | The amount to be supplied |
| onBehalfOf | address | The address that will receive the aTokens, same as msg.sender if the user wants to receive them on his own wallet, or a different address if the beneficiary of aTokens is a different wallet |
| referralCode | uint16 | Code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man |
| deadline | uint256 | The deadline timestamp that the permit is valid |
| permitV | uint8 | The V parameter of ERC712 permit sig |
| permitR | bytes32 | The R parameter of ERC712 permit sig |
| permitS | bytes32 | The S parameter of ERC712 permit sig |
Accumulates interest to all indexes of the reserve
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Updates interest rates on the reserve data
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset of the reserve |
Updates flash loan premium. All this premium is collected by the protocol treasury.
Parameters
| Name | Type | Description |
|---|---|---|
| flashLoanPremium | uint128 | The flash loan premium, expressed in bps |
Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the underlying asset to withdraw |
| amount | uint256 | The underlying amount to be withdrawn - Send the value type(uint256).max in order to withdraw the whole aToken balance |
| to | address | The address that will receive the underlying, same as msg.sender if the user wants to receive it on his own wallet, or a different address if the beneficiary is a different wallet |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The final amount withdrawn |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset being borrowed |
| user | address | The address of the user initiating the borrow(), receiving the funds on borrow() or just initiator of the transaction on flashLoan() | |
| onBehalfOf | address | ✓ | The address that will be getting the debt |
| amount | uint256 | The amount borrowed out | |
| interestRateMode | uint8 | The rate mode: 2 for Variable, 1 is deprecated (changed on v3.2.0) | |
| borrowRate | uint256 | The numeric rate at which the user has borrowed, expressed in ray | |
| referralCode | uint16 | ✓ | The referral code used |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| caller | address | The caller that triggered the DeficitCovered event | |
| amountCovered | uint256 | The amount of deficit covered |
| Name | Type | Indexed | Description |
|---|---|---|---|
| user | address | ✓ | The user address where the bad debt will be burned |
| debtAsset | address | ✓ | The address of the underlying borrowed asset to be burned |
| amountCreated | uint256 | The amount of deficit created |
| Name | Type | Indexed | Description |
|---|---|---|---|
| target | address | ✓ | The address of the flash loan receiver contract |
| initiator | address | The address initiating the flash loan | |
| asset | address | ✓ | The address of the asset being flash borrowed |
| amount | uint256 | The amount flash borrowed | |
| interestRateMode | uint8 | The flashloan mode: 0 for regular flashloan, 1 for Stable (Deprecated on v3.2.0), 2 for Variable | |
| premium | uint256 | The fee flash borrowed | |
| referralCode | uint16 | ✓ | The referral code used |
| Name | Type | Indexed | Description |
|---|---|---|---|
| asset | address | ✓ | The address of the underlying asset of the reserve |
| totalDebt | uint256 | The total isolation mode debt for the reserve |
| Name | Type | Indexed | Description |
|---|---|---|---|
| collateralAsset | address | ✓ | The address of the underlying asset used as collateral, to receive as result of the liquidation |
| debtAsset | address | ✓ | The address of the underlying borrowed asset to be repaid with the liquidation |
| user | address | ✓ | The address of the borrower getting liquidated |
| debtToCover | uint256 | The debt amount of borrowed `asset` the liquidator wants to cover | |
| liquidatedCollateralAmount | uint256 | The amount of collateral received by the liquidator | |
| liquidator | address | The address of the liquidator | |
| receiveAToken | bool | True if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the reserve |
| amountMinted | uint256 | The amount minted to the treasury |
| Name | Type | Indexed | Description |
|---|---|---|---|
| user | address | ✓ | The user address |
| positionManager | address | ✓ | The address of the position manager |
| Name | Type | Indexed | Description |
|---|---|---|---|
| user | address | ✓ | The user address |
| positionManager | address | ✓ | The address of the position manager |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| user | address | ✓ | The beneficiary of the repayment, getting his debt reduced |
| repayer | address | ✓ | The address of the user initiating the repay(), providing the funds |
| amount | uint256 | The amount repaid | |
| useATokens | bool | True if the repayment is done using aTokens, `false` if done with underlying asset directly |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| liquidityRate | uint256 | The next liquidity rate | |
| stableBorrowRate | uint256 | The next stable borrow rate @note deprecated on v3.2.0 | |
| variableBorrowRate | uint256 | The next variable borrow rate | |
| liquidityIndex | uint256 | The next liquidity index | |
| variableBorrowIndex | uint256 | The next variable borrow index |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| user | address | ✓ | The address of the user enabling the usage as collateral |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| user | address | ✓ | The address of the user enabling the usage as collateral |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset of the reserve |
| user | address | The address initiating the supply | |
| onBehalfOf | address | ✓ | The beneficiary of the supply, receiving the aTokens |
| amount | uint256 | The amount supplied | |
| referralCode | uint16 | ✓ | The referral code used |
| Name | Type | Indexed | Description |
|---|---|---|---|
| user | address | ✓ | The address of the user |
| categoryId | uint8 | The category id |
| Name | Type | Indexed | Description |
|---|---|---|---|
| reserve | address | ✓ | The address of the underlying asset being withdrawn |
| user | address | ✓ | The address initiating the withdrawal, owner of aTokens |
| to | address | ✓ | The address that will receive the underlying |
| amount | uint256 | The amount to be withdrawn |