diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-12 00:53:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-12 00:53:50 +0800 |
commit | b6ac132c789939414e2aba911246e6a931facea4 (patch) | |
tree | 66c6f0ea16868aa06a6ffc188bcc575d2891b5c3 /packages/0x.js/src/index.ts | |
parent | abf87a643d85827cb1186e913fa6ae6bc04c8df1 (diff) | |
download | dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar.gz dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar.bz2 dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar.lz dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar.xz dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.tar.zst dexon-sol-tools-b6ac132c789939414e2aba911246e6a931facea4.zip |
Refactor 0x.js to V2
Diffstat (limited to 'packages/0x.js/src/index.ts')
-rw-r--r-- | packages/0x.js/src/index.ts | 52 |
1 files changed, 31 insertions, 21 deletions
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts index c79dbdb77..6dfc0bacc 100644 --- a/packages/0x.js/src/index.ts +++ b/packages/0x.js/src/index.ts @@ -1,30 +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, +} from '@0xproject/types'; + +export { + BlockParamLiteral, + FilterObject, + BlockParam, + LogWithDecodedArgs, + ContractEventArg, + Provider, TransactionReceipt, TransactionReceiptWithDecodedLogs, -} from '@0xproject/types'; +} from 'ethereum-types'; export { EventCallback, ContractEvent, IndexedFilterValues, BlockRange, - OrderCancellationRequest, OrderFillRequest, ContractEventArgs, MethodOpts, @@ -34,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'; |