aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/index.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-05 05:40:58 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 04:36:59 +0800
commit2bd7b0f66bd28792281ba025cf005c666e7f767e (patch)
tree228f2797a772a4ba828d6b71e5c85c78a708ed21 /packages/contract-wrappers/src/index.ts
parent8f0ceaf1d8261e9779213276372f4690cdf3426c (diff)
downloaddexon-0x-contracts-2bd7b0f66bd28792281ba025cf005c666e7f767e.tar.gz
dexon-0x-contracts-2bd7b0f66bd28792281ba025cf005c666e7f767e.tar.zst
dexon-0x-contracts-2bd7b0f66bd28792281ba025cf005c666e7f767e.zip
update contract_wrappers to use new artifacts and abi-gen wrappers packages
Diffstat (limited to 'packages/contract-wrappers/src/index.ts')
-rw-r--r--packages/contract-wrappers/src/index.ts51
1 files changed, 24 insertions, 27 deletions
diff --git a/packages/contract-wrappers/src/index.ts b/packages/contract-wrappers/src/index.ts
index 659394eb6..50dfe88be 100644
--- a/packages/contract-wrappers/src/index.ts
+++ b/packages/contract-wrappers/src/index.ts
@@ -1,4 +1,27 @@
-import { wrappers } from '@0xproject/contracts';
+export {
+ WETH9Events,
+ WETH9WithdrawalEventArgs,
+ WETH9ApprovalEventArgs,
+ WETH9EventArgs,
+ WETH9DepositEventArgs,
+ WETH9TransferEventArgs,
+ ERC20TokenTransferEventArgs,
+ ERC20TokenApprovalEventArgs,
+ ERC20TokenEvents,
+ ERC20TokenEventArgs,
+ ERC721TokenApprovalEventArgs,
+ ERC721TokenApprovalForAllEventArgs,
+ ERC721TokenTransferEventArgs,
+ ERC721TokenEvents,
+ ERC721TokenEventArgs,
+ ExchangeCancelUpToEventArgs,
+ ExchangeAssetProxyRegisteredEventArgs,
+ ExchangeSignatureValidatorApprovalEventArgs,
+ ExchangeFillEventArgs,
+ ExchangeCancelEventArgs,
+ ExchangeEventArgs,
+ ExchangeEvents,
+} from '@0xproject/abi-gen-wrappers';
export { ContractWrappers } from './contract_wrappers';
export { ERC20TokenWrapper } from './contract_wrappers/erc20_token_wrapper';
@@ -56,32 +79,6 @@ export {
StateMutability,
} from 'ethereum-types';
-export const WETH9Events = wrappers.WETH9Events;
-export type WETH9WithdrawalEventArgs = wrappers.WETH9WithdrawalEventArgs;
-export type WETH9ApprovalEventArgs = wrappers.WETH9ApprovalEventArgs;
-export type WETH9EventArgs = wrappers.WETH9EventArgs;
-export type WETH9DepositEventArgs = wrappers.WETH9DepositEventArgs;
-export type WETH9TransferEventArgs = wrappers.WETH9TransferEventArgs;
-
-export type ERC20TokenTransferEventArgs = wrappers.ERC20TokenTransferEventArgs;
-export type ERC20TokenApprovalEventArgs = wrappers.ERC20TokenApprovalEventArgs;
-export const ERC20TokenEvents = wrappers.ERC20TokenEvents;
-export type ERC20TokenEventArgs = wrappers.ERC20TokenEventArgs;
-
-export type ERC721TokenApprovalEventArgs = wrappers.ERC721TokenApprovalEventArgs;
-export type ERC721TokenApprovalForAllEventArgs = wrappers.ERC721TokenApprovalForAllEventArgs;
-export type ERC721TokenTransferEventArgs = wrappers.ERC721TokenTransferEventArgs;
-export const ERC721TokenEvents = wrappers.ERC721TokenEvents;
-export type ERC721TokenEventArgs = wrappers.ERC721TokenEventArgs;
-
-export type ExchangeCancelUpToEventArgs = wrappers.ExchangeCancelUpToEventArgs;
-export type ExchangeAssetProxyRegisteredEventArgs = wrappers.ExchangeAssetProxyRegisteredEventArgs;
-export type ExchangeSignatureValidatorApprovalEventArgs = wrappers.ExchangeSignatureValidatorApprovalEventArgs;
-export type ExchangeFillEventArgs = wrappers.ExchangeFillEventArgs;
-export type ExchangeCancelEventArgs = wrappers.ExchangeCancelEventArgs;
-export type ExchangeEventArgs = wrappers.ExchangeEventArgs;
-export const ExchangeEvents = wrappers.ExchangeEvents;
-
export { AbstractBalanceAndProxyAllowanceFetcher, AbstractOrderFilledCancelledFetcher } from '@0xproject/order-utils';
export { AssetBalanceAndProxyAllowanceFetcher } from './fetchers/asset_balance_and_proxy_allowance_fetcher';