aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-03 16:38:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:14:19 +0800
commit5410924810fa597b495b1ee065a68195d3725b7c (patch)
tree10bb5c55e716b1f5d59bcbd3074d72b22b0dc863
parent5d21d10437703b6890c82105adec87d91646ddf4 (diff)
downloaddexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar.gz
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar.bz2
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar.lz
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar.xz
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.tar.zst
dexon-sol-tools-5410924810fa597b495b1ee065a68195d3725b7c.zip
Add type aliases for web3 types
-rw-r--r--src/types.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 02230b0ab..d9059e7be 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -234,6 +234,8 @@ export enum ExchangeContractErrs {
BatchOrdersMustHaveAtLeastOneItem = 'BATCH_ORDERS_MUST_HAVE_AT_LEAST_ONE_ITEM',
}
+export type RawLog = Web3.LogEntry;
+
export interface ContractEvent {
logIndex: number;
transactionIndex: number;
@@ -460,3 +462,5 @@ export interface MethodOpts {
export interface OrderTransactionOpts {
shouldValidate: boolean;
}
+
+export type FilterObject = Web3.FilterObject;