removed unused library, console.log

This commit is contained in:
emilio 2020-07-09 17:02:16 +02:00
parent 2b459fc578
commit 853f3118dc
3 changed files with 0 additions and 23 deletions

View File

@ -5,7 +5,6 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "../libraries/EthAddressLib.sol";
import "../libraries/UintConstants.sol";
interface IExchangeAdapter {
using SafeERC20 for IERC20;

View File

@ -1,20 +0,0 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.8;
library UintConstants {
/**
* @dev returns max uint256
* @return max uint256
*/
function maxUint() internal pure returns(uint256) {
return uint256(-1);
}
/**
* @dev returns max uint256-1
* @return max uint256-1
*/
function maxUintMinus1() internal pure returns(uint256) {
return uint256(-1) - 1;
}
}

View File

@ -443,8 +443,6 @@ export const repay = async (
.repay(reserve, amountToRepay, rateMode, onBehalfOf.address, txOptions)
);
console.log('Done.');
const {txCost, txTimestamp} = await getTxCostAndTimestamp(txResult);
const {