mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
removed unused library, console.log
This commit is contained in:
parent
2b459fc578
commit
853f3118dc
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user