Cleanup contract-wrappers index.ts
This commit is contained in:
parent
fb637d9234
commit
f29263c477
@ -9,46 +9,56 @@ export { ForwarderWrapper } from './contract_wrappers/forwarder_wrapper';
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
ContractWrappersError,
|
ContractWrappersError,
|
||||||
EventCallback,
|
|
||||||
ContractEvent,
|
|
||||||
Token,
|
|
||||||
IndexedFilterValues,
|
IndexedFilterValues,
|
||||||
BlockRange,
|
BlockRange,
|
||||||
OrderFillRequest,
|
|
||||||
ContractEventArgs,
|
ContractEventArgs,
|
||||||
ContractWrappersConfig,
|
ContractWrappersConfig,
|
||||||
MethodOpts,
|
MethodOpts,
|
||||||
OrderTransactionOpts,
|
OrderTransactionOpts,
|
||||||
TransactionOpts,
|
TransactionOpts,
|
||||||
LogEvent,
|
|
||||||
DecodedLogEvent,
|
|
||||||
OnOrderStateChangeCallback,
|
|
||||||
OrderStatus,
|
OrderStatus,
|
||||||
OrderInfo,
|
OrderInfo,
|
||||||
ContractEvents,
|
ContractEvents,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
export {
|
export { Order, SignedOrder, AssetProxyId } from '@0xproject/types';
|
||||||
Order,
|
|
||||||
SignedOrder,
|
|
||||||
ECSignature,
|
|
||||||
OrderStateValid,
|
|
||||||
OrderStateInvalid,
|
|
||||||
OrderState,
|
|
||||||
AssetProxyId,
|
|
||||||
} from '@0xproject/types';
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
BlockParamLiteral,
|
BlockParamLiteral,
|
||||||
FilterObject,
|
|
||||||
BlockParam,
|
BlockParam,
|
||||||
ContractEventArg,
|
ContractEventArg,
|
||||||
LogWithDecodedArgs,
|
|
||||||
Provider,
|
Provider,
|
||||||
TransactionReceipt,
|
ContractAbi,
|
||||||
TransactionReceiptWithDecodedLogs,
|
LogEntry,
|
||||||
|
RawLog,
|
||||||
|
JSONRPCRequestPayload,
|
||||||
|
JSONRPCResponsePayload,
|
||||||
|
JSONRPCErrorCallback,
|
||||||
|
DecodedLogEntry,
|
||||||
|
LogEntryEvent,
|
||||||
|
AbiDefinition,
|
||||||
|
DecodedLogEntryEvent,
|
||||||
|
LogWithDecodedArgs,
|
||||||
|
FunctionAbi,
|
||||||
|
EventAbi,
|
||||||
|
EventParameter,
|
||||||
|
DecodedLogArgs,
|
||||||
|
MethodAbi,
|
||||||
|
ConstructorAbi,
|
||||||
|
FallbackAbi,
|
||||||
|
DataItem,
|
||||||
|
ConstructorStateMutability,
|
||||||
|
StateMutability,
|
||||||
} from 'ethereum-types';
|
} from 'ethereum-types';
|
||||||
|
|
||||||
|
export {
|
||||||
|
ContractArtifact,
|
||||||
|
GeneratedCompilerOptions,
|
||||||
|
ContractNetworks,
|
||||||
|
Source,
|
||||||
|
ContractNetworkData,
|
||||||
|
} from '@0xproject/sol-compiler';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
WETH9Events,
|
WETH9Events,
|
||||||
WETH9WithdrawalEventArgs,
|
WETH9WithdrawalEventArgs,
|
||||||
|
@ -11,12 +11,13 @@ import {
|
|||||||
BlockRange,
|
BlockRange,
|
||||||
ContractWrappers,
|
ContractWrappers,
|
||||||
ContractWrappersError,
|
ContractWrappersError,
|
||||||
DecodedLogEvent,
|
|
||||||
ERC20TokenApprovalEventArgs,
|
ERC20TokenApprovalEventArgs,
|
||||||
ERC20TokenEvents,
|
ERC20TokenEvents,
|
||||||
ERC20TokenTransferEventArgs,
|
ERC20TokenTransferEventArgs,
|
||||||
} from '../src';
|
} from '../src';
|
||||||
|
|
||||||
|
import { DecodedLogEvent } from '../src/types';
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
import { tokenUtils } from './utils/token_utils';
|
import { tokenUtils } from './utils/token_utils';
|
||||||
|
@ -11,12 +11,12 @@ import {
|
|||||||
BlockRange,
|
BlockRange,
|
||||||
ContractWrappers,
|
ContractWrappers,
|
||||||
ContractWrappersError,
|
ContractWrappersError,
|
||||||
DecodedLogEvent,
|
|
||||||
ERC721TokenApprovalEventArgs,
|
ERC721TokenApprovalEventArgs,
|
||||||
ERC721TokenApprovalForAllEventArgs,
|
ERC721TokenApprovalForAllEventArgs,
|
||||||
ERC721TokenEvents,
|
ERC721TokenEvents,
|
||||||
ERC721TokenTransferEventArgs,
|
ERC721TokenTransferEventArgs,
|
||||||
} from '../src';
|
} from '../src';
|
||||||
|
import { DecodedLogEvent } from '../src/types';
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
|
@ -10,7 +10,6 @@ import {
|
|||||||
BlockRange,
|
BlockRange,
|
||||||
ContractWrappers,
|
ContractWrappers,
|
||||||
ContractWrappersError,
|
ContractWrappersError,
|
||||||
DecodedLogEvent,
|
|
||||||
WETH9ApprovalEventArgs,
|
WETH9ApprovalEventArgs,
|
||||||
WETH9DepositEventArgs,
|
WETH9DepositEventArgs,
|
||||||
WETH9Events,
|
WETH9Events,
|
||||||
@ -18,6 +17,8 @@ import {
|
|||||||
WETH9WithdrawalEventArgs,
|
WETH9WithdrawalEventArgs,
|
||||||
} from '../src';
|
} from '../src';
|
||||||
|
|
||||||
|
import { DecodedLogEvent } from '../src/types';
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
import { tokenUtils } from './utils/token_utils';
|
import { tokenUtils } from './utils/token_utils';
|
||||||
|
@ -7,14 +7,8 @@ import * as chai from 'chai';
|
|||||||
import { BlockParamLiteral } from 'ethereum-types';
|
import { BlockParamLiteral } from 'ethereum-types';
|
||||||
import 'mocha';
|
import 'mocha';
|
||||||
|
|
||||||
import {
|
import { ContractWrappers, ExchangeCancelEventArgs, ExchangeEvents, ExchangeFillEventArgs, OrderStatus } from '../src';
|
||||||
ContractWrappers,
|
import { DecodedLogEvent } from '../src/types';
|
||||||
DecodedLogEvent,
|
|
||||||
ExchangeCancelEventArgs,
|
|
||||||
ExchangeEvents,
|
|
||||||
ExchangeFillEventArgs,
|
|
||||||
OrderStatus,
|
|
||||||
} from '../src';
|
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
|
@ -7,14 +7,8 @@ import * as chai from 'chai';
|
|||||||
import { BlockParamLiteral } from 'ethereum-types';
|
import { BlockParamLiteral } from 'ethereum-types';
|
||||||
import 'mocha';
|
import 'mocha';
|
||||||
|
|
||||||
import {
|
import { ContractWrappers, ExchangeCancelEventArgs, ExchangeEvents, ExchangeFillEventArgs, OrderStatus } from '../src';
|
||||||
ContractWrappers,
|
import { DecodedLogEvent } from '../src/types';
|
||||||
DecodedLogEvent,
|
|
||||||
ExchangeCancelEventArgs,
|
|
||||||
ExchangeEvents,
|
|
||||||
ExchangeFillEventArgs,
|
|
||||||
OrderStatus,
|
|
||||||
} from '../src';
|
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
|
@ -5,7 +5,8 @@ import * as _ from 'lodash';
|
|||||||
import 'mocha';
|
import 'mocha';
|
||||||
import * as Sinon from 'sinon';
|
import * as Sinon from 'sinon';
|
||||||
|
|
||||||
import { ContractWrappers, DecodedLogEvent, ERC20TokenApprovalEventArgs, ERC20TokenEvents, Token } from '../src';
|
import { ContractWrappers, ERC20TokenApprovalEventArgs, ERC20TokenEvents } from '../src';
|
||||||
|
import { DecodedLogEvent } from '../src/types';
|
||||||
|
|
||||||
import { chaiSetup } from './utils/chai_setup';
|
import { chaiSetup } from './utils/chai_setup';
|
||||||
import { constants } from './utils/constants';
|
import { constants } from './utils/constants';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user