Instruction.is_storage_read()
Returns True if the instruction is a storage read instruction, else returns False. A storage read instruction just reads the value of a state variable without making any changes to it
Query Example
from glider import *
def query():
return Instructions().exec(10).filter(lambda x: x.is_storage_read())Output Example

Last updated