diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-11 12:53:59 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 1ab70f130db37860319b0d3b81a52af85e7cb52f (patch) | |
tree | 49e724872b8b1b97c9c452c992b73056b1edf9bc /packages/contracts/src | |
parent | 86f79949eaa45b5ab6a46f1643a193aa270746e7 (diff) | |
download | dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar.gz dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar.bz2 dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar.lz dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar.xz dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.tar.zst dexon-sol-tools-1ab70f130db37860319b0d3b81a52af85e7cb52f.zip |
Renaming TransferProxy to Proxy
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy.sol (renamed from packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy.sol) | 2 | ||||
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol (renamed from packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy_v1.sol) | 4 | ||||
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol (renamed from packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721TransferProxy.sol) | 0 | ||||
-rw-r--r-- | packages/contracts/src/utils/types.ts | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy.sol index 535bfba24..a471d5812 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy.sol @@ -23,7 +23,7 @@ import "../../../utils/LibBytes/LibBytes.sol"; import "../../../utils/Authorizable/Authorizable.sol"; import { Token_v1 as ERC20Token } from "../../../../previous/Token/Token_v1.sol"; -contract ERC20TransferProxy is +contract ERC20Proxy is LibBytes, Authorizable, IAssetProxy diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy_v1.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol index b6a986a66..e83a92284 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20TransferProxy_v1.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC20Proxy_v1.sol @@ -23,7 +23,7 @@ import "../../../utils/LibBytes/LibBytes.sol"; import "../../../utils/Authorizable/Authorizable.sol"; import { ITokenTransferProxy as ITokenTransferProxy_v1 } from "../../TokenTransferProxy/ITokenTransferProxy.sol"; -contract ERC20TransferProxy_v1 is +contract ERC20Proxy_v1 is LibBytes, Authorizable, IAssetProxy @@ -32,7 +32,7 @@ contract ERC20TransferProxy_v1 is /// @dev Contract constructor. /// @param tokenTransferProxyContract erc20 token transfer proxy contract. - function ERC20TransferProxy_v1(ITokenTransferProxy_v1 tokenTransferProxyContract) + function ERC20Proxy_v1(ITokenTransferProxy_v1 tokenTransferProxyContract) public { TRANSFER_PROXY = tokenTransferProxyContract; diff --git a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721TransferProxy.sol b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol index 8b7a131cb..8b7a131cb 100644 --- a/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721TransferProxy.sol +++ b/packages/contracts/src/contracts/current/protocol/AssetProxyDispatcher/proxies/ERC721Proxy.sol diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index f1636929b..dc12e927a 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -110,9 +110,9 @@ export enum ContractName { EtherDelta = 'EtherDelta', Arbitrage = 'Arbitrage', AssetProxyDispatcher = 'AssetProxyDispatcher', - ERC20TransferProxy = 'ERC20TransferProxy', - ERC20TransferProxy_V1 = 'ERC20TransferProxy_v1', - ERC721TransferProxy = 'ERC721TransferProxy', + ERC20Proxy = 'ERC20Proxy', + ERC20Proxy_V1 = 'ERC20Proxy_v1', + ERC721Proxy = 'ERC721Proxy', DummyERC721Token = 'DummyERC721Token', } |