From fd450b33ecec8175c37f530540ba4d1962ea0a97 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Sun, 13 Sep 2020 03:21:43 +0530 Subject: [PATCH] Minor edits in eth pool contract --- contracts/pools/eth.sol | 3 --- 1 file changed, 3 deletions(-) diff --git a/contracts/pools/eth.sol b/contracts/pools/eth.sol index 2294402..329ff9c 100644 --- a/contracts/pools/eth.sol +++ b/contracts/pools/eth.sol @@ -2,7 +2,6 @@ pragma solidity ^0.6.8; pragma experimental ABIEncoderV2; -import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; @@ -25,7 +24,6 @@ interface RateInterface { } contract PoolETH is ReentrancyGuard, ERC20Pausable, DSMath { - using SafeERC20 for IERC20; event LogExchangeRate(uint exchangeRate, uint tokenBalance, uint insuranceAmt); event LogSettle(uint settleBlock); @@ -36,7 +34,6 @@ contract PoolETH is ReentrancyGuard, ERC20Pausable, DSMath { IERC20 public immutable baseToken; // Base token. RegistryInterface public immutable registry; // Pool Registry IndexInterface public constant instaIndex = IndexInterface(0x2971AdFa57b20E5a416aE5a708A8655A9c74f723); - DeployerInterface public constant deployer = DeployerInterface(address(0)); // TODO - Change while deploying uint public exchangeRate = 10 ** 18; // initial 1 token = 1 uint public feeAmt; // fee collected on profits