aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/index.ts
blob: fd4b9d357e85ed19bf97d28b717506591810acbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
export { ContractAddresses } from '@0x/contract-addresses';

export {
    WETH9Events,
    WETH9WithdrawalEventArgs,
    WETH9ApprovalEventArgs,
    WETH9EventArgs,
    WETH9DepositEventArgs,
    WETH9TransferEventArgs,
    ERC20TokenTransferEventArgs,
    ERC20TokenApprovalEventArgs,
    ERC20TokenEvents,
    ERC20TokenEventArgs,
    ERC721TokenApprovalEventArgs,
    ERC721TokenApprovalForAllEventArgs,
    ERC721TokenTransferEventArgs,
    ERC721TokenEvents,
    ERC721TokenEventArgs,
    ExchangeCancelUpToEventArgs,
    ExchangeAssetProxyRegisteredEventArgs,
    ExchangeSignatureValidatorApprovalEventArgs,
    ExchangeFillEventArgs,
    ExchangeCancelEventArgs,
    ExchangeEventArgs,
    ExchangeEvents,
} from '@0x/abi-gen-wrappers';

export { ContractWrappers } from './contract_wrappers';
export { ERC20TokenWrapper } from './contract_wrappers/erc20_token_wrapper';
export { ERC721TokenWrapper } from './contract_wrappers/erc721_token_wrapper';
export { EtherTokenWrapper } from './contract_wrappers/ether_token_wrapper';
export { ExchangeWrapper } from './contract_wrappers/exchange_wrapper';
export { ERC20ProxyWrapper } from './contract_wrappers/erc20_proxy_wrapper';
export { ERC721ProxyWrapper } from './contract_wrappers/erc721_proxy_wrapper';
export { ForwarderWrapper } from './contract_wrappers/forwarder_wrapper';
export { OrderValidatorWrapper } from './contract_wrappers/order_validator_wrapper';
export { DutchAuctionWrapper } from './contract_wrappers/dutch_auction_wrapper';

export { TransactionEncoder } from './utils/transaction_encoder';
export { ZeroExTransactionDecoder } from './utils/zeroex_transaction_decoder';

export {
    ContractWrappersError,
    ForwarderWrapperError,
    IndexedFilterValues,
    BlockRange,
    ContractWrappersConfig,
    MethodOpts,
    OrderTransactionOpts,
    TransactionOpts,
    OrderStatus,
    OrderInfo,
    EventCallback,
    DecodedLogEvent,
    BalanceAndAllowance,
    OrderAndTraderInfo,
    TraderInfo,
    ValidateOrderFillableOpts,
    DutchAuctionData,
} from './types';

export {
    AssetData,
    ERC20AssetData,
    ERC721AssetData,
    SingleAssetData,
    MultiAssetData,
    MultiAssetDataWithRecursiveDecoding,
    DutchAuctionDetails,
    Order,
    SignedOrder,
    AssetProxyId,
} from '@0x/types';

export {
    DeployedContractInfo,
    TransactionData,
    TransactionProperties
} from '@0x/utils'; 

export {
    BlockParamLiteral,
    BlockParam,
    ContractEventArg,
    Provider,
    ContractAbi,
    JSONRPCRequestPayload,
    JSONRPCResponsePayload,
    JSONRPCErrorCallback,
    JSONRPCResponseError,
    AbiDefinition,
    LogWithDecodedArgs,
    FunctionAbi,
    EventAbi,
    EventParameter,
    DecodedLogArgs,
    MethodAbi,
    ConstructorAbi,
    FallbackAbi,
    DataItem,
    ConstructorStateMutability,
    StateMutability,
} from 'ethereum-types';

export { AbstractBalanceAndProxyAllowanceFetcher, AbstractOrderFilledCancelledFetcher } from '@0x/order-utils';

export { AssetBalanceAndProxyAllowanceFetcher } from './fetchers/asset_balance_and_proxy_allowance_fetcher';
export { OrderFilledCancelledFetcher } from './fetchers/order_filled_cancelled_fetcher';