diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-23 06:19:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:37 +0800 |
commit | 010e6f8d7f7403cb91c020fc501fdb4f59861c58 (patch) | |
tree | 7f854bbf95efed9688f144943df7a8c326c3c65e /packages/0x.js/src/types.ts | |
parent | 3d5b6ec110e32f670920a88939a250479651bb5a (diff) | |
download | dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.gz dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.bz2 dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.lz dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.xz dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.zst dexon-0x-contracts-010e6f8d7f7403cb91c020fc501fdb4f59861c58.zip |
Fix the imports order
Diffstat (limited to 'packages/0x.js/src/types.ts')
-rw-r--r-- | packages/0x.js/src/types.ts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index 313540edb..19bada4ef 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -1,5 +1,5 @@ -import * as Web3 from 'web3'; import BigNumber from 'bignumber.js'; +import * as Web3 from 'web3'; export enum ZeroExError { ContractDoesNotExist = 'CONTRACT_DOES_NOT_EXIST', @@ -413,6 +413,7 @@ export interface OrderStateWatcherConfig { * exchangeContractAddress: The address of an exchange contract to use * tokenRegistryContractAddress: The address of a token registry contract to use * etherTokenContractAddress: The address of an ether token contract to use + * tokenTransferProxyContractAddress: The address of the token transfer proxy contract to use * orderWatcherConfig: All the configs related to the orderWatcher */ export interface ZeroExConfig { @@ -421,6 +422,7 @@ export interface ZeroExConfig { exchangeContractAddress?: string; tokenRegistryContractAddress?: string; etherTokenContractAddress?: string; + tokenTransferProxyContractAddress?: string; orderWatcherConfig?: OrderStateWatcherConfig; } @@ -443,9 +445,11 @@ export interface TransactionReceiptWithDecodedLogs extends TransactionReceipt { export interface Artifact { abi: Web3.ContractAbi; - networks: {[networkId: number]: { - address: string; - }}; + networks: { + [networkId: number]: { + address: string; + }; + }; } /* @@ -527,4 +531,4 @@ export interface TransactionReceipt { gasUsed: number; contractAddress: string|null; logs: Web3.LogEntry[]; -} +} // tslint:disable:max-file-line-count |