Contracts.mains()
Adds a filter to get contracts that are main.
mains() →
Contracts
The engine marks the contract as main, that is the one being executed on the deployed address
Query Example
from glider import *
def query():
main_contracts = Contracts().mains().exec(5)
return main_contracts
Output Example

Last updated