Content
@
0 reply
0 recast
0 reaction
frolic
@frolic
because the Solidity ABI spec doesn't include structs, you can't reliably generate a Solidity interface purely from an ABI https://github.com/foundry-rs/foundry/issues/2974#issuecomment-2345867799
1 reply
0 recast
2 reactions
frolic
@frolic
seems like the only option here is to generate arbitrary structs for each tuple in function input/output, but then you can't use the interface easily because Solidity won't let you pass in a different struct of the same shape
0 reply
0 recast
1 reaction