diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-25 01:56:31 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-25 04:59:30 +0800 |
commit | 92b0efff5abaac8bea468a1b3f897d004ec9c542 (patch) | |
tree | 61e976aa42b78e7eea12f73fb2ccc4a5ad1f9ceb /packages/contracts/src/utils/order_utils.ts | |
parent | 62431fee8e0c79a61f7ebb7677e6c88f0ae95116 (diff) | |
download | dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.gz dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.tar.zst dexon-0x-contracts-92b0efff5abaac8bea468a1b3f897d004ec9c542.zip |
Migrate migrations to v2
Diffstat (limited to 'packages/contracts/src/utils/order_utils.ts')
-rw-r--r-- | packages/contracts/src/utils/order_utils.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/order_utils.ts b/packages/contracts/src/utils/order_utils.ts index 8adc6b735..9542a3858 100644 --- a/packages/contracts/src/utils/order_utils.ts +++ b/packages/contracts/src/utils/order_utils.ts @@ -1,10 +1,11 @@ +import { Order, SignedOrder, UnsignedOrder } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import ethUtil = require('ethereumjs-util'); import * as _ from 'lodash'; import { crypto } from './crypto'; -import { CancelOrder, MatchOrder, OrderStruct, SignatureType, SignedOrder, UnsignedOrder } from './types'; +import { CancelOrder, MatchOrder, SignatureType } from './types'; export const orderUtils = { createFill: (signedOrder: SignedOrder, takerAssetFillAmount?: BigNumber) => { @@ -22,7 +23,7 @@ export const orderUtils = { }; return cancel; }, - getOrderStruct(signedOrder: SignedOrder): OrderStruct { + getOrderStruct(signedOrder: SignedOrder): Order { const orderStruct = { senderAddress: signedOrder.senderAddress, makerAddress: signedOrder.makerAddress, |