Why does this Inline Assembly static call revert?
I’m using inline assembly to make a static call to a Curve pool’s “coins” method. I am expecting 32 bytes in return, because the coins method returns an address, but the code below reverts. What could possibly be the issue with this code?
My guess is that I’m encoding the call parameters incorrectly, but I don’t see the issue.