ArgumentsPoints.with_memory_type()
Returns the list of ArgumentPoints having specified memory type.
with_memory_type(memory_type: str) → APIList[ArgumentPoint]
Query Example
from glider import *
def query():
functions = (
Functions()
.with_name("observe")
.exec(1)
)
arguments = functions[0].arguments()
print(arguments.with_memory_type("calldata").source_code())
return functionsOutput Example

Last updated