ArgumentPoints.with_type()

Returns the list of ArgumentPoints having specified type.

with_type(arg_type: str) β†’ APIList[ArgumentPoint]

Query Example

from glider import *

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

    arguments = functions[0].arguments()

    print(arguments.with_type("address").source_code())

    return functions

Output Example

Last updated