diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-17 14:32:53 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-17 14:32:53 +0800 |
commit | 1f748afed96ed40d1ee61b970e8c6fe2a75fa382 (patch) | |
tree | e4d78bfa36223db43bac7502309cd950a8523e25 /packages/0x.js/src/types.ts | |
parent | 4a73c05435a653565a92aedfbf56d45997f0673f (diff) | |
download | dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar.gz dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar.bz2 dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar.lz dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar.xz dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.tar.zst dexon-sol-tools-1f748afed96ed40d1ee61b970e8c6fe2a75fa382.zip |
Modify the etherToken wrapper methods to accept an etherTokenAddress as the first arg. Since it is becoming apparent we will be updating the canonical WETH contract, we want users of 0x.js to be able to interact with n number of etherTokens without re-instantiating for each one.
Diffstat (limited to 'packages/0x.js/src/types.ts')
-rw-r--r-- | packages/0x.js/src/types.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index f33e05bb8..fb3cfa6df 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -268,7 +268,6 @@ export interface OrderStateWatcherConfig { * 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 - * 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 */ @@ -277,7 +276,6 @@ export interface ZeroExConfig { gasPrice?: BigNumber; exchangeContractAddress?: string; tokenRegistryContractAddress?: string; - etherTokenContractAddress?: string; tokenTransferProxyContractAddress?: string; orderWatcherConfig?: OrderStateWatcherConfig; } |