From 656d74518d0d634febcb9e7f5540e85729530843 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 21 Jun 2017 16:38:20 +0200 Subject: Rename Log*Args to Log*ContractEventArgs --- src/index.ts | 4 ++-- src/types.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/index.ts b/src/index.ts index 109718462..9133d1db5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,8 +20,8 @@ export { OrderFillRequest, ContractEventEmitter, LogErrorContractEventArgs, - LogCancelArgs, - LogFillArgs, + LogCancelContractEventArgs, + LogFillContractEventArgs, ContractEventArgs, Web3Provider, } from './types'; diff --git a/src/types.ts b/src/types.ts index d59ed67cf..d9189c8a0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -194,7 +194,7 @@ export interface ContractEvent { args: ContractEventArgs; } -export interface LogFillArgs { +export interface LogFillContractEventArgs { maker: string; taker: string; feeRecipient: string; @@ -207,7 +207,7 @@ export interface LogFillArgs { tokens: string; orderHash: string; } -export interface LogCancelArgs { +export interface LogCancelContractEventArgs { maker: string; feeRecipient: string; tokenM: string; @@ -221,7 +221,7 @@ export interface LogErrorContractEventArgs { errorId: BigNumber.BigNumber; orderHash: string; } -export type ContractEventArgs = LogFillArgs|LogCancelArgs|LogErrorContractEventArgs; +export type ContractEventArgs = LogFillContractEventArgs|LogCancelContractEventArgs|LogErrorContractEventArgs; export interface Order { maker: string; -- cgit v1.2.3