aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-27 08:33:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:06:02 +0800
commit1657451f37a74e772c10d26d94ce950b7092816e (patch)
tree16bb0ba5033f642b3f8d28a3d1e6b43081c86a87 /packages
parent0bb0bff0b31bb40da7edd7bb25e8fdf67a11622a (diff)
downloaddexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.gz
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.bz2
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.lz
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.xz
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.tar.zst
dexon-0x-contracts-1657451f37a74e772c10d26d94ce950b7092816e.zip
Add as an option to
Diffstat (limited to 'packages')
-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;