diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-12 21:53:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 21:53:31 +0800 |
commit | a45a29432e722b71fcfc63a8545fa43ffc29b92d (patch) | |
tree | 84fbd6c8d1fb87fd1e36dabd808ce897e346ff8c /packages/0x.js/src/index.ts | |
parent | 34a903516439ec64073cfcb10cee87a9c4db902e (diff) | |
parent | 819d069edc6ff31f8f08231b5087b125b872cf97 (diff) | |
download | dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar.gz dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar.bz2 dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar.lz dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar.xz dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.tar.zst dexon-sol-tools-a45a29432e722b71fcfc63a8545fa43ffc29b92d.zip |
Merge pull request #863 from 0xProject/refactor/0x.js
Refactor 0x.js
Diffstat (limited to 'packages/0x.js/src/index.ts')
-rw-r--r-- | packages/0x.js/src/index.ts | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index 5c7ad6e1c..6dfc0bacc 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -1,32 +1,34 @@ export { ZeroEx } from './0x'; +export { MessagePrefixType, MessagePrefixOpts } from '@0xproject/order-utils'; + export { - BlockParamLiteral, - FilterObject, - BlockParam, - ContractEventArg, ExchangeContractErrs, - LogWithDecodedArgs, Order, - Provider, SignedOrder, ECSignature, OrderStateValid, OrderStateInvalid, OrderState, Token, - TransactionReceipt, - TransactionReceiptWithDecodedLogs, } from '@0xproject/types'; -export { OrderWatcherConfig } from '@0xproject/order-watcher'; +export { + BlockParamLiteral, + FilterObject, + BlockParam, + LogWithDecodedArgs, + ContractEventArg, + Provider, + TransactionReceipt, + TransactionReceiptWithDecodedLogs, +} from 'ethereum-types'; export { EventCallback, ContractEvent, IndexedFilterValues, BlockRange, - OrderCancellationRequest, OrderFillRequest, ContractEventArgs, MethodOpts, @@ -36,18 +38,24 @@ export { DecodedLogEvent, OnOrderStateChangeCallback, ContractWrappersError, - EtherTokenContractEventArgs, - WithdrawalContractEventArgs, - DepositContractEventArgs, - EtherTokenEvents, - TransferContractEventArgs, - ApprovalContractEventArgs, - TokenContractEventArgs, - TokenEvents, - LogErrorContractEventArgs, - LogCancelContractEventArgs, - LogFillContractEventArgs, - ExchangeContractEventArgs, - ExchangeEvents, + WETH9Events, + WETH9WithdrawalEventArgs, + WETH9ApprovalEventArgs, + WETH9EventArgs, + WETH9DepositEventArgs, + WETH9TransferEventArgs, + ERC20TokenTransferEventArgs, + ERC20TokenApprovalEventArgs, + ERC20TokenEvents, + ERC20TokenEventArgs, + ERC721TokenApprovalEventArgs, + ERC721TokenApprovalForAllEventArgs, + ERC721TokenTransferEventArgs, + ERC721TokenEvents, + ExchangeCancelUpToEventArgs, + ExchangeAssetProxyRegisteredEventArgs, + ExchangeFillEventArgs, + ExchangeCancelEventArgs, + ExchangeEventArgs, ContractWrappersConfig, } from '@0xproject/contract-wrappers'; |