Contracts.with_compiler_range()
Adds a filter to get contracts whose compilation version is in the given range.
Query Example
from glider import *
def query():
contracts = Contracts().with_compiler_range("0.4.20", "0.4.24").exec(3)
for contract in contracts:
print(contract.pragmas())
return contractsOutput Example

Last updated