diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-27 08:33:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-28 04:06:02 +0800 |
commit | 1657451f37a74e772c10d26d94ce950b7092816e (patch) | |
tree | 16bb0ba5033f642b3f8d28a3d1e6b43081c86a87 | |
parent | 0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a (diff) | |
download | dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.gz dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.zst dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.zip |
Add as an option to
-rw-r--r-- | packages/types/CHANGELOG.md | 1 | ||||
-rw-r--r-- | packages/types/src/index.ts | 2 |
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; |