Callables.with_arg_type()
Last updated
Last updated
with_arg_type(
arg_type: str
,
sensitivity: bool = True
) →
Callables
Adds a filter to get callables having specified argument type like "address" or even non-elementary types like structs. Returns a filtered Callables child object. This method can be called on all Callables child classes: Functions and Modifiers.
To filter given a list of argument types, refer to Callables.with_arg_types().
Note that the function will handle alias types, e.g. if uint256 is passed to the function, the results will also include the alias "uint" variables
Output:
Output: