Fixed input and output locations in interface methods
There was a bug where we were not specifying types of function arguments and return values that require the memory
keyword.
This bug has been fixed, using this specification: https://docs.soliditylang.org/en/v0.8.17/types.html