diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-30 05:42:42 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-30 05:42:42 +0800 |
commit | bf3ab1127d11a7530c1abe8236e149d3d96fd35b (patch) | |
tree | 753b9603a265cd449727f4615a060abde1f5bcff /packages/contracts/src | |
parent | dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40 (diff) | |
download | dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar.gz dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar.bz2 dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar.lz dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar.xz dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.tar.zst dexon-sol-tools-bf3ab1127d11a7530c1abe8236e149d3d96fd35b.zip |
Remove unused imports
Diffstat (limited to 'packages/contracts/src')
3 files changed, 1 insertions, 5 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC20Proxy.sol b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC20Proxy.sol index 785f3aba9..258443bca 100644 --- a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC20Proxy.sol +++ b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC20Proxy.sol @@ -18,7 +18,6 @@ pragma solidity 0.4.24; -import "../../utils/LibBytes/LibBytes.sol"; import "./MixinAuthorizable.sol"; diff --git a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol index caf05b0dd..65b664b8b 100644 --- a/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol +++ b/packages/contracts/src/2.0.0/protocol/AssetProxy/ERC721Proxy.sol @@ -18,7 +18,6 @@ pragma solidity 0.4.24; -import "../../utils/LibBytes/LibBytes.sol"; import "./MixinAuthorizable.sol"; diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol b/packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol index 80475e6e3..e90b62f19 100644 --- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol +++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol @@ -19,7 +19,6 @@ pragma solidity 0.4.24; import "../../utils/Ownable/Ownable.sol"; -import "../../utils/LibBytes/LibBytes.sol"; import "./mixins/MAssetProxyDispatcher.sol"; import "../AssetProxy/interfaces/IAssetProxy.sol"; @@ -28,7 +27,6 @@ contract MixinAssetProxyDispatcher is Ownable, MAssetProxyDispatcher { - using LibBytes for bytes; // Mapping from Asset Proxy Id's to their respective Asset Proxy mapping (bytes4 => IAssetProxy) public assetProxies; @@ -90,7 +88,7 @@ contract MixinAssetProxyDispatcher is "LENGTH_GREATER_THAN_3_REQUIRED" ); - // Lookup assetProxy + // Lookup assetProxy. We do not use `LibBytes.readBytes4` for gas efficiency reasons. bytes4 assetProxyId; assembly { assetProxyId := and(mload( |