aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-27 10:33:49 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-27 10:44:21 +0800
commitde0e436aad5d6b1c8a9425f075dbc3074b2fe31f (patch)
tree2090b3c57415106e6c4c8f5f051dbc23225d8533 /src/types.ts
parent2c5f2210730d9c477e612fb3cb70db8d87e8545c (diff)
downloaddexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.gz
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.bz2
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.lz
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.xz
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.tar.zst
dexon-sol-tools-de0e436aad5d6b1c8a9425f075dbc3074b2fe31f.zip
Allow multiple exchange versions t be functional at the same time
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts13
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;
+ };
+ };
+}