diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-22 04:25:27 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:36 +0800 |
commit | 92efc6584700d34db734396e76626003c1bba37d (patch) | |
tree | 3ea287301390b2082c1423ec0ec36228d12be7bb /packages/0x.js/src/types.ts | |
parent | 17e41f2391a73656cce2ddf43c27acd2ae6260fd (diff) | |
download | dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar.gz dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar.bz2 dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar.lz dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar.xz dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.tar.zst dexon-sol-tools-92efc6584700d34db734396e76626003c1bba37d.zip |
Add networkId to ZeroExConfig and make it required
Diffstat (limited to 'packages/0x.js/src/types.ts')
-rw-r--r-- | packages/0x.js/src/types.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index ac4106d0b..d34bb02b6 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -407,6 +407,7 @@ export interface OrderStateWatcherConfig { } /* + * networkId: The id of the underlying ethereum network the provider is connected to. (1-mainnet, 42-kovan, 50-testrpc) * gasPrice: Gas price to use with every transaction * exchangeContractAddress: The address of an exchange contract to use * tokenRegistryContractAddress: The address of a token registry contract to use @@ -414,7 +415,8 @@ export interface OrderStateWatcherConfig { * orderWatcherConfig: All the configs related to the orderWatcher */ export interface ZeroExConfig { - gasPrice?: BigNumber; // Gas price to use with every transaction + networkId: number; + gasPrice?: BigNumber; exchangeContractAddress?: string; tokenRegistryContractAddress?: string; etherTokenContractAddress?: string; |