aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/index.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-15 05:45:10 +0800
committerFabio Berger <me@fabioberger.com>2018-08-15 05:45:10 +0800
commit644fe1de8f8314e67b483eae847accc9b8c57528 (patch)
tree254c6dbca5969435673cd36a4ef88609b8e2fcfd /packages/0x.js/src/index.ts
parent1d9408a8e04aaea35bcf517fd3332b9bcc62bba0 (diff)
parentf2d9dfb56b52a0316f618232b8054d8993adcdd4 (diff)
downloaddexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar.gz
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar.bz2
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar.lz
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar.xz
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.tar.zst
dexon-sol-tools-644fe1de8f8314e67b483eae847accc9b8c57528.zip
Merge in new 0x.js interface
Diffstat (limited to 'packages/0x.js/src/index.ts')
-rw-r--r--packages/0x.js/src/index.ts47
1 files changed, 30 insertions, 17 deletions
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts
index 5e465c38c..bb93b86ea 100644
--- a/packages/0x.js/src/index.ts
+++ b/packages/0x.js/src/index.ts
@@ -1,28 +1,29 @@
-export { ZeroEx } from './0x';
-
-export {
- Web3ProviderEngine,
- RPCSubprovider,
- Callback,
- JSONRPCRequestPayloadWithMethod,
- ErrorCallback,
- Subprovider,
-} from '@0xproject/subproviders';
+export { assetDataUtils, signatureUtils, generatePseudoRandomSalt, orderHashUtils } from '@0xproject/order-utils';
export {
+ ContractWrappers,
+ ERC20TokenWrapper,
+ ERC721TokenWrapper,
+ EtherTokenWrapper,
+ ExchangeWrapper,
+ ERC20ProxyWrapper,
+ ERC721ProxyWrapper,
+ ForwarderWrapper,
+ ContractWrappersError,
EventCallback,
ContractEvent,
IndexedFilterValues,
BlockRange,
OrderFillRequest,
ContractEventArgs,
+ ContractWrappersConfig,
MethodOpts,
OrderTransactionOpts,
TransactionOpts,
LogEvent,
DecodedLogEvent,
- OnOrderStateChangeCallback,
- ContractWrappersError,
+ OrderStatus,
+ OrderInfo,
WETH9Events,
WETH9WithdrawalEventArgs,
WETH9ApprovalEventArgs,
@@ -33,22 +34,34 @@ export {
ERC20TokenApprovalEventArgs,
ERC20TokenEvents,
ERC20TokenEventArgs,
- ERC721TokenEventArgs,
ERC721TokenApprovalEventArgs,
ERC721TokenApprovalForAllEventArgs,
ERC721TokenTransferEventArgs,
ERC721TokenEvents,
+ ERC721TokenEventArgs,
ExchangeCancelUpToEventArgs,
ExchangeAssetProxyRegisteredEventArgs,
ExchangeSignatureValidatorApprovalEventArgs,
ExchangeFillEventArgs,
ExchangeCancelEventArgs,
ExchangeEventArgs,
- ContractWrappersConfig,
- OrderInfo,
+ ExchangeEvents,
} from '@0xproject/contract-wrappers';
export {
+ Web3ProviderEngine,
+ RPCSubprovider,
+ Callback,
+ JSONRPCRequestPayloadWithMethod,
+ ErrorCallback,
+ Subprovider,
+} from '@0xproject/subproviders';
+
+export { OrderWatcher, OnOrderStateChangeCallback, OrderWatcherConfig } from '@0xproject/order-watcher';
+
+export { BigNumber } from '@0xproject/utils';
+
+export {
ExchangeContractErrs,
Order,
SignedOrder,
@@ -56,11 +69,11 @@ export {
OrderStateValid,
OrderStateInvalid,
OrderState,
+ AssetProxyId,
+ SignerType,
Token,
ERC20AssetData,
ERC721AssetData,
- AssetProxyId,
- OrderRelevantState,
} from '@0xproject/types';
export {