Adds a filter to get contracts that have an error whose name has the given suffix.
with_error_suffix(suffix: str, sensitivity: bool = True) -> Contracts
with_error_suffix(suffix: str, sensitivity: bool = True) ->
Contracts
from glider import * def query(): contracts = Contracts().with_error_suffix("admin", sensitivity=False).exec(1) return contracts
{ { "contract": "0xe941bd60bd0c92605f8d90992c7dce3c5fc229f3", "contract_name": "IErrors", } }
Last updated 7 months ago