diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-05 05:52:49 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:36:59 +0800 |
commit | 57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0 (patch) | |
tree | bc116aa8ccd5f5f8432157074d09d8266f0158f8 /packages/order-utils/src/signature_utils.ts | |
parent | 2bd7b0f66bd28792281ba025cf005c666e7f767e (diff) | |
download | dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.gz dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.bz2 dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.lz dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.xz dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.tar.zst dexon-sol-tools-57d9fcf9e5a13dd0de52aa0ed71f2dfa3f883db0.zip |
update order-utils to use new artifacts and abi-gen wrappers packages
Diffstat (limited to 'packages/order-utils/src/signature_utils.ts')
-rw-r--r-- | packages/order-utils/src/signature_utils.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/order-utils/src/signature_utils.ts b/packages/order-utils/src/signature_utils.ts index 372d210d0..d755846ad 100644 --- a/packages/order-utils/src/signature_utils.ts +++ b/packages/order-utils/src/signature_utils.ts @@ -1,3 +1,5 @@ +import { ExchangeContract, IValidatorContract, IWalletContract } from '@0xproject/abi-gen-wrappers'; +import * as artifacts from '@0xproject/contract-artifacts'; import { schemas } from '@0xproject/json-schemas'; import { ECSignature, Order, SignatureType, SignedOrder, ValidatorSignature } from '@0xproject/types'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; @@ -5,12 +7,8 @@ import { Provider } from 'ethereum-types'; import * as ethUtil from 'ethereumjs-util'; import * as _ from 'lodash'; -import { artifacts } from './artifacts'; import { assert } from './assert'; import { eip712Utils } from './eip712_utils'; -import { ExchangeContract } from './generated_contract_wrappers/exchange'; -import { IValidatorContract } from './generated_contract_wrappers/i_validator'; -import { IWalletContract } from './generated_contract_wrappers/i_wallet'; import { orderHashUtils } from './order_hash'; import { OrderError } from './types'; import { utils } from './utils'; |