Add BigNumber[] support in ContractEventArg
Currently, my contract has events that take a BigNumber array and typescript complains that ContractEventArg does not support this.
This commit is contained in:
committed by
GitHub
parent
3e70ab015b
commit
abd308455a
@@ -238,7 +238,7 @@ export enum AbiType {
|
||||
Fallback = 'fallback',
|
||||
}
|
||||
|
||||
export type ContractEventArg = string | BigNumber | number | boolean;
|
||||
export type ContractEventArg = string | BigNumber | BigNumber[] |number | boolean;
|
||||
|
||||
export interface DecodedLogArgs {
|
||||
[argName: string]: ContractEventArg;
|
||||
|
Reference in New Issue
Block a user