Instructions.return_instructions()

Returns an Instructions object for the 'return' instructions.

return_instructions() β†’ Instructions

Query Example

from glider import *

def query():
  instructions = Instructions().return_instructions().exec(1)

  return instructions

Output Example

{
    "contract": "0xd705c24267ed3c55458160104994c55c6492dfcf"
    "contract_name": "Context"
    "sol_function":
        function _msgSender() internal view virtual returns (address) {
            return msg.sender;
        }
    "sol_instruction":
        return msg.sender
}

Last updated