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