Fixed compilation errors

This commit is contained in:
pistiner 2020-12-03 17:33:23 +02:00
parent 0293b082a9
commit 291b92b5a3

View File

@ -28,8 +28,8 @@ contract LendingPoolHarnessForVariableDebtToken is ILendingPool {
address asset,
uint256 amount,
address to
) external override {
originalPool.withdraw(asset, amount, to);
) external override returns (uint256) {
return originalPool.withdraw(asset, amount, to);
}
function borrow(
@ -47,8 +47,8 @@ contract LendingPoolHarnessForVariableDebtToken is ILendingPool {
uint256 amount,
uint256 rateMode,
address onBehalfOf
) external override {
originalPool.repay(asset, amount, rateMode, onBehalfOf);
) external override returns (uint256) {
return originalPool.repay(asset, amount, rateMode, onBehalfOf);
}
function swapBorrowRateMode(address asset, uint256 rateMode) external override {
@ -101,7 +101,7 @@ contract LendingPoolHarnessForVariableDebtToken is ILendingPool {
override
returns (
uint256 totalCollateralETH,
uint256 totalBorrowsETH,
uint256 totalDebtETH,
uint256 availableBorrowsETH,
uint256 currentLiquidationThreshold,
uint256 ltv,