From e1cfe964f22d02a7ae441e1f79c9d782f3477e25 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Mon, 4 May 2020 02:56:10 +0530 Subject: [PATCH] Updated interfaces --- contracts/common/interfaces.sol | 2 +- contracts/connectors/mock.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/common/interfaces.sol b/contracts/common/interfaces.sol index 3057289..4efc079 100644 --- a/contracts/common/interfaces.sol +++ b/contracts/common/interfaces.sol @@ -1,6 +1,6 @@ pragma solidity ^0.6.0; -interface ERC20 { +interface TokenInterface { function approve(address, uint) external; function transfer(address, uint) external; function transferFrom(address, address, uint) external; diff --git a/contracts/connectors/mock.sol b/contracts/connectors/mock.sol index 8c65447..433ff14 100644 --- a/contracts/connectors/mock.sol +++ b/contracts/connectors/mock.sol @@ -1,7 +1,7 @@ pragma solidity ^0.6.0; // import files from common directory -import { ERC20 , MemoryInterface, EventInterface} from "../common/interfaces.sol"; +import { TokenInterface , MemoryInterface, EventInterface} from "../common/interfaces.sol"; import { Stores } from "../common/stores.sol"; import { DSMath } from "../common/math.sol";