diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-12 00:46:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-12 00:46:12 +0800 |
commit | 3824ea9079f3034fb34750c8b80125462f42c79c (patch) | |
tree | 5b8b9aa5a2b6ad026e168f09130c17cde0fcdd9d /packages/0x.js/src/0x.ts | |
parent | 5e22ce05c5ce8416538452c6b582f412330712f3 (diff) | |
download | dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar.gz dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar.bz2 dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar.lz dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar.xz dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.tar.zst dexon-sol-tools-3824ea9079f3034fb34750c8b80125462f42c79c.zip |
Remove TokenRegistry from 0x.js
Diffstat (limited to 'packages/0x.js/src/0x.ts')
-rw-r--r-- | packages/0x.js/src/0x.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts index 3d2f23002..c6315ac7a 100644 --- a/packages/0x.js/src/0x.ts +++ b/packages/0x.js/src/0x.ts @@ -2,11 +2,10 @@ import { assert } from '@0xproject/assert'; import { ContractWrappers, ContractWrappersConfig, + ERC20ProxyWrapper, + ERC20TokenWrapper, EtherTokenWrapper, ExchangeWrapper, - TokenRegistryWrapper, - TokenTransferProxyWrapper, - TokenWrapper, } from '@0xproject/contract-wrappers'; import { generatePseudoRandomSalt, @@ -37,10 +36,7 @@ export class ZeroEx { */ public exchange: ExchangeWrapper; /** - * An instance of the TokenRegistryWrapper class containing methods for interacting with the 0x - * TokenRegistry smart contract. */ - public tokenRegistry: TokenRegistryWrapper; /** * An instance of the TokenWrapper class containing methods for interacting with any ERC20 token smart contract. */ @@ -136,7 +132,6 @@ export class ZeroEx { this.proxy = this._contractWrappers.proxy; this.token = this._contractWrappers.token; this.exchange = this._contractWrappers.exchange; - this.tokenRegistry = this._contractWrappers.tokenRegistry; this.etherToken = this._contractWrappers.etherToken; } /** |