Callables.with_arg_memory_type()
Last updated
Last updated
with_arg_memory_type(
arg_memory_type: str
,
sensitivity: bool = True
) →
Callables
arg_memory_type
can take as arguments: "storage", "memory", "calldata"
By default, "memory" is set as the memory type of argument unless stated otherwise explicitly.
Adds a filter to get callables having specified argument memory type. Returns a filtered Callables child object. This method can be called on all Callables child classes: Functions and Modifiers.
Output:
Output: