diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-30 07:39:25 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-30 07:39:25 +0800 |
commit | 1312e4caf2b3f25de7cc3dc82c76df8b9467c923 (patch) | |
tree | 66e7e4ede9060ad9b8eb5d4ccf97ce7c59919c0f /packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol | |
parent | b1c5f6e8f175aab891b735ed0b4382a787cbbd9b (diff) | |
parent | eb4517d7379128b18c830b704742154c8b2f3c8d (diff) | |
download | dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar.gz dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar.bz2 dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar.lz dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar.xz dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.tar.zst dexon-sol-tools-1312e4caf2b3f25de7cc3dc82c76df8b9467c923.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/website/v2-tweaks
Diffstat (limited to 'packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/protocol/Exchange/MixinAssetProxyDispatcher.sol | 4 |
1 files changed, 1 insertions, 3 deletions
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( |