3

I need to call a contract function from Etherscan that takes a 2d array as an argument, namely: foo (address[][]).

I have tried every thinkable way to call the function with no success. Etherscan displays error

expected array value (arg="foo", coderType="array", value="0xabscde1234567887654321abcde")

What is the correct way to call the function?

Pm Rivière
  • 191
  • 2
  • 13

1 Answers1

0

This works with Remix, but not etherscan. No quotes necessary. Should work for addresses too.

[[1,2],[6,9],[2323,10]]
p0pps
  • 586
  • 1
  • 4
  • 13