aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/types/CHANGELOG.md1
-rw-r--r--packages/types/src/index.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md
index eff253f7a..a4f293d60 100644
--- a/packages/types/CHANGELOG.md
+++ b/packages/types/CHANGELOG.md
@@ -3,6 +3,7 @@
## v0.2.4 - _TBD, 2018_
* Add `data` to `TxData` (#413)
+ * Add `number` as an option to `ContractEventArg` (#413)
## v0.2.1 - _February 9, 2018_
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 484faa93d..6242d4268 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -39,7 +39,7 @@ export enum AbiType {
Fallback = 'fallback',
}
-export type ContractEventArg = string | BigNumber;
+export type ContractEventArg = string | BigNumber | number;
export interface DecodedLogArgs {
[argName: string]: ContractEventArg;