Content pfp
Content
@
0 reply
0 recast
2 reactions

0age pfp
0age
@0age
torn on an interface choice and would love some opinions here we've got an array of (uint256, uint256) pairs, used in both an EIP712 payload and a function arg is it best to: * use 2 uint256[] arguments & ensure they're the same length * use 1 uint256[2][] argument * use an array of structs with 2 uint256 elements
7 replies
0 recast
45 reactions

Vignesh pfp
Vignesh
@vigneshka
2 arrays is easier to input on etherscan if that matters Single array of structs feels cleaner on client side and holds more semantic meaning that it’s a pair of related values
0 reply
0 recast
1 reaction