aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-03 20:49:37 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:14:19 +0800
commit671bc7c91731828a4ee484994dacf7d3beb800e3 (patch)
tree6c87872aa200ee4feada938a1c6ff45ed047b392
parent6bbdc98ba29633828f0533c8bb40a200cf142436 (diff)
downloaddexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar.gz
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar.bz2
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar.lz
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar.xz
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.tar.zst
dexon-sol-tools-671bc7c91731828a4ee484994dacf7d3beb800e3.zip
Add NO_ABI_DECODER and ContractEvents
-rw-r--r--src/types.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index d9059e7be..0567b5e6a 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -15,6 +15,7 @@ export enum ZeroExError {
InvalidJump = 'INVALID_JUMP',
OutOfGas = 'OUT_OF_GAS',
NoNetworkId = 'NO_NETWORK_ID',
+ NoAbiDecoder = 'NO_ABI_DECODER',
}
/**
@@ -340,6 +341,8 @@ export enum TokenEvents {
Approval = 'Approval',
}
+export type ContractEvents = TokenEvents|ExchangeEvents;
+
export interface IndexedFilterValues {
[index: string]: ContractEventArg;
}