Adds a filter to get contracts that have an event whose name has the given prefix.
Last updated 7 days ago
with_event_prefix(prefix: str, sensitivity: bool = True) -> Contracts
with_event_prefix(prefix: str, sensitivity: bool = True) ->
Contracts
from glider import * def query(): contracts = Contracts().with_event_prefix("role", sensitivity=False).exec(1) events = contracts[0].events() for event in events: print(event.signature) return contracts