Skip to content

Commit

Permalink
address[] parse
Browse files Browse the repository at this point in the history
  • Loading branch information
nissoh committed Jan 9, 2024
1 parent 55eecb5 commit 2f52df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/gmxUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const abiParamParseMap = {
'int': BigInt,
'int[]': (x: string[]) => x.map(BigInt),
address: viem.getAddress,
'address[]': (arrx: string[]) => arrx.map(viem.getAddress),
'address[]': (arrx: string[]) => arrx.map(x => viem.getAddress(x)),
bool: Boolean,
'bool[]': (x: boolean[]) => x.map(Boolean),
int256: BigInt,
Expand Down

0 comments on commit 2f52df9

Please sign in to comment.