Call.get_call_qualifier()

Returns the call's qualifier (target) is exists

get_call_qualifier() -> Union[Value, NoneObject]

The call's qualifier is the "target" of the call.

For example, for the call:

(bool success_, ) = feeCollector_.call{ value: feeAmount_, gas: 1000 }("");

The qualifier is the:

feeCollector_

Query Example

from glider import *

def query():
    instructions = (
        Instructions()
        .low_level_function_calls()
        .exec(1, 137)
    )

    for ins in instructions:
        print(ins.get_value().get_callee_values()[0].get_call_qualifier())
        print(ins.get_value().get_callee_values()[0].get_call_qualifier().expression)

    return instructions

Output

Sometimes, the qualifier itself is a cal

Last updated