Contracts.with_compiler_range_not()
Adds a filter to get contracts whose compilation version isn't in the given range.
with_compiler_range_not(lower_bound: str, upper_bound: str) ->
Contracts
Query Example
from glider import *
def query():
contracts = Contracts().with_compiler_range_not("0.8.0", "0.8.11").exec(3)
for contract in contracts:
print(contract.pragmas())
return contracts
Output Example

Last updated