Decode translates Solidity ABI-encoded code into JSON, using typ as reference.
typ is usually of type types.Tuple representing a Solidity function return type list.
Encode translates JSON into Solidity ABI-encoded code, using typ as reference.
typ is usually of type types.Tuple representing a Solidity function parameter list.