Add LibTransactionDecoder to DevUtils
This commit is contained in:
parent
543011c3de
commit
24249bcb4d
@ -17,14 +17,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
pragma solidity ^0.5.5;
|
pragma solidity ^0.5.5;
|
||||||
pragma experimental "ABIEncoderV2";
|
pragma experimental ABIEncoderV2;
|
||||||
|
|
||||||
import "@0x/contracts-exchange-libs/contracts/src/LibExchangeSelectors.sol";
|
import "@0x/contracts-exchange-libs/contracts/src/LibExchangeSelectors.sol";
|
||||||
import "@0x/contracts-exchange-libs/contracts/src/LibOrder.sol";
|
import "@0x/contracts-exchange-libs/contracts/src/LibOrder.sol";
|
||||||
import "@0x/contracts-utils/contracts/src/LibBytes.sol";
|
import "@0x/contracts-utils/contracts/src/LibBytes.sol";
|
||||||
|
|
||||||
|
|
||||||
contract LibTransactionDecoder is LibExchangeSelectors {
|
contract LibTransactionDecoder is
|
||||||
|
LibExchangeSelectors
|
||||||
|
{
|
||||||
using LibBytes for bytes;
|
using LibBytes for bytes;
|
||||||
|
|
||||||
/// @dev Decodes the call data for an Exchange contract method call.
|
/// @dev Decodes the call data for an Exchange contract method call.
|
||||||
|
@ -20,8 +20,15 @@ pragma solidity ^0.5.5;
|
|||||||
pragma experimental ABIEncoderV2;
|
pragma experimental ABIEncoderV2;
|
||||||
|
|
||||||
import "./OrderValidationUtils.sol";
|
import "./OrderValidationUtils.sol";
|
||||||
|
import "@0x/contracts-exchange-libs/contracts/src/LibTransactionDecoder.sol";
|
||||||
|
|
||||||
|
|
||||||
contract DevUtils is
|
contract DevUtils is
|
||||||
OrderValidationUtils
|
OrderValidationUtils,
|
||||||
|
LibTransactionDecoder
|
||||||
|
{
|
||||||
|
constructor (address _exchange, bytes memory _zrxAssetData)
|
||||||
|
public
|
||||||
|
OrderValidationUtils(_exchange, _zrxAssetData)
|
||||||
{}
|
{}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user