21 lines
667 B
Solidity
21 lines
667 B
Solidity
pragma solidity >=0.6.0;
|
|
|
|
interface IDataProvider {
|
|
function getReserveTokensAddresses(address asset) external view returns (
|
|
address aTokenAddress,
|
|
address stableDebtTokenAddress,
|
|
address variableDebtTokenAddress
|
|
);
|
|
|
|
function getUserReserveData(address asset, address user) external view returns (
|
|
uint256 currentATokenBalance,
|
|
uint256 currentStableDebt,
|
|
uint256 currentVariableDebt,
|
|
uint256 principalStableDebt,
|
|
uint256 scaledVariableDebt,
|
|
uint256 stableBorrowRate,
|
|
uint256 liquidityRate,
|
|
uint40 stableRateLastUpdated,
|
|
bool usageAsCollateralEnabled
|
|
);
|
|
} |