Instructions.modifiers_recursive()
Returns Functions object for the functions where the instructions can be executed in.
modifiers_recursive() → Functions
Consider the following Solidity code:
function includeInFee(address account) public onlyOwner {
_isExcludedFromFee[account] = false;
}For the following instruction:
_isExcludedFromFee[account] = false;The includeInFee function can call the instruction above.
With modifiers_recursive(), one can retrieve the modifiers that are called recursively through the entire call chain.
Query Example
from glider import *
def query():
# Fetch a function
functions = (
Functions()
.with_name("includeInFee")
.exec(1)
)
print(
functions
.instructions()
.modifiers_recursive()
.exec()
.name
)
return functionsExample Output

Last updated