aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/order_utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-25 07:30:30 +0800
committerFabio Berger <me@fabioberger.com>2018-05-25 07:30:30 +0800
commit35121f0b780102f0235ab3d5f26441cbb3f090e9 (patch)
tree9f1e56a98683fbee69a6b5fc051dc81064643734 /packages/contracts/src/utils/order_utils.ts
parent3cc8af819c9f62f42e7cb3d03f896b35cfc10d05 (diff)
parentc4a7574f7bd3939eac9417241144197bbb22edb1 (diff)
downloaddexon-0x-contracts-35121f0b780102f0235ab3d5f26441cbb3f090e9.tar.gz
dexon-0x-contracts-35121f0b780102f0235ab3d5f26441cbb3f090e9.tar.zst
dexon-0x-contracts-35121f0b780102f0235ab3d5f26441cbb3f090e9.zip
Merge branch 'v2-prototype' into feature/contracts/eip712-order-hash
* v2-prototype: Temporarily disable installation tests Pin connect in sra-report Fix a typo Pin types in sra-report Fix linter issues Unpin types version in @0xproject/connect Pin types version in website Do a fake version bump on types so that yarn doesn't try to install updated version for not yet migrated packages Migrate migrations to v2 # Conflicts: # packages/contracts/src/utils/order_utils.ts
Diffstat (limited to 'packages/contracts/src/utils/order_utils.ts')
-rw-r--r--packages/contracts/src/utils/order_utils.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/order_utils.ts b/packages/contracts/src/utils/order_utils.ts
index 969d43dd1..78ac934a1 100644
--- a/packages/contracts/src/utils/order_utils.ts
+++ b/packages/contracts/src/utils/order_utils.ts
@@ -1,3 +1,4 @@
+import { Order, SignedOrder, UnsignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import ethUtil = require('ethereumjs-util');
@@ -20,7 +21,7 @@ export const orderUtils = {
};
return cancel;
},
- getOrderStruct(signedOrder: SignedOrder): OrderStruct {
+ getOrderStruct(signedOrder: SignedOrder): Order {
const orderStruct = {
senderAddress: signedOrder.senderAddress,
makerAddress: signedOrder.makerAddress,