Adds a filter to get contracts whose names match the given regex.
with_name_regex(regex: str) -> Contracts
with_name_regex(
regex: str
) ->
Contracts
from glider import * def query(): non_interface_contract = Contracts().with_name_regex('^[^I][^A-Z].*').exec(1) return non_interface_contract
{ { "contract": "0xd705c24267ed3c55458160104994c55c6492dfcf" "contract_name": "Context" } }
Last updated 2 months ago