AaveV3BorrowerImplementation
AaveV3BorrowerImplementationβ
POOLβ
contract IPool POOL
ORACLEβ
contract IPriceOracleGetter ORACLE
constructorβ
constructor(contract IPool pool, contract IPriceOracleGetter oracle) public
Underlyingβ
struct Underlying {
uint256 ltv;
uint256 liquidationThreshold;
uint256 decimals;
uint256 price;
}
Accountβ
struct Account {
uint256 collateral;
uint256 debt;
uint256 borrowPower;
uint256 redeemPower;
uint256 ltv;
uint256 liquidationThreshold;
uint256 health;
uint256 balanceOfUnderlying;
}
$getCapsβ
function $getCaps(address asset) public view returns (uint256, uint256)
$maxGettableUnderlyingβ
function $maxGettableUnderlying(address asset, bool tryBorrow, address onBehalf) public view returns (uint256, uint256)
$repayThenDepositβ
function $repayThenDeposit(uint256 interestRateMode, uint256 referralCode, contract IERC20 token, address onBehalf, uint256 amount) external
$redeemThenBorrowβ
function $redeemThenBorrow(uint256 interestRateMode, uint256 referralCode, contract IERC20 token, address onBehalfOf, uint256 amount, bool strict, address recipient) external returns (uint256)