ArgumentPoint.get_variable()

Return object of argument variable

get_variable() β†’ ArgumentVariable

Query Example

from glider import *

def query():
    functions = (
        Functions()
        .with_name("transferFrom")
        .exec(1)
    )

    arguments = functions[0].arguments()

    print(arguments.with_type("address")[0].get_variable())
    print(arguments.with_type("address")[0].get_variable().source_code())


    return functions

Output Example

Last updated