diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 22:38:20 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 22:38:20 +0800 |
commit | 656d74518d0d634febcb9e7f5540e85729530843 (patch) | |
tree | b1316d43e7b991f357f463703108bcc7a1066b9a /src | |
parent | 8d2b67bce26af57e7e372beaccfd7d4b19a3808b (diff) | |
download | dexon-sol-tools-656d74518d0d634febcb9e7f5540e85729530843.tar.gz dexon-sol-tools-656d74518d0d634febcb9e7f5540e85729530843.tar.zst dexon-sol-tools-656d74518d0d634febcb9e7f5540e85729530843.zip |
Rename Log*Args to Log*ContractEventArgs
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 4 | ||||
-rw-r--r-- | src/types.ts | 6 |
2 files changed, 5 insertions, 5 deletions
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; |