Call.get_contract_name()
Returns the name of the contract in which the called function is
get_contract_name() -> str
Query Example
from glider import *
def query():
instructions = (
Instructions()
.exec(1,98)
.filter(lambda x: x.is_call())
)
for ins in instructions:
print(ins.get_value().get_contract_name())
return instructions
Output Example

Last updated