Skip to content

[ address[] bytes[] ] to bytes memory calldata? #2496

Answered by ricmoo
Madeindreams asked this question in Q&A
Discussion options

You must be logged in to vote

You can use:
utils.defaultAbiCoder.encode([ "address[]", "bytes[]" ], [ [ addr1, addr2 ], [ bytes1, bytes2 ] ])

Let me know if that helps. :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Madeindreams
Comment options

Answer selected by Madeindreams
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2494 on January 04, 2022 19:08.