diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-27 10:33:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-27 10:44:21 +0800 |
commit | de0e436aad5d6b1c8a9425f075dbc3074b2fe31f (patch) | |
tree | 2090b3c57415106e6c4c8f5f051dbc23225d8533 /src/types.ts | |
parent | 2c5f2210730d9c477e612fb3cb70db8d87e8545c (diff) | |
download | dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.gz dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.bz2 dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.lz dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.xz dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.zst dexon-0x-contracts-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.zip |
Allow multiple exchange versions t be functional at the same time
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 200e65d56..f12d6f6c6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -240,6 +240,7 @@ export interface Order { makerTokenAddress: string; takerTokenAddress: string; salt: BigNumber.BigNumber; + exchangeContractAddress: string; feeRecipient: string; expirationUnixTimestampSec: BigNumber.BigNumber; } @@ -325,3 +326,15 @@ export interface ContractEventEmitter { * It is however a `Web3` library type, not a native `0x.js` type. */ export type Web3Provider = Web3.Provider; + +export interface ExchangeContractByAddress { + [address: string]: ExchangeContract; +} + +export interface ContractArtifact { + networks: { + [networkId: number]: { + address: string; + }; + }; +} |