Content
@
0 reply
0 recast
2 reactions
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
Brent Fitzgerald
@bf
Since EIP-712 is largely about user-friendly presentation of structured data, presumably this will be signed in wallets by various humans? So maybe experiment to see how the different options look in different wallet UIs. I'm going to guess the second or third option will be nicer.
1 reply
0 recast
1 reaction
0age
@0age
#1 UX hack is “don’t make the user spend more money” 💸
1 reply
0 recast
0 reaction