MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / getEvent

Method getEvent

lib.commonjs/abi/interface.js:558–560  ·  view source on GitHub ↗

* Get the [[EventFragment]] for %%key%%, which may be a topic hash, * event name or event signature that belongs to the ABI. * * If %%values%% is provided, it will use the Typed API to handle * ambiguous cases where multiple events match by name. * * If the %%key%%

(key, values)

Source from the content-addressed store, hash-verified

556 * the ABI, this will throw.
557 */
558 getEvent(key, values) {
559 return this.#getEvent(key, values || null, true);
560 }
561 /**
562 * Iterate over all events, calling %%callback%%, sorted by their name.
563 */

Callers 4

encodeFilterTopicsMethod · 0.95
encodeEventLogMethod · 0.95
decodeEventLogMethod · 0.95
parseLogMethod · 0.95

Calls 1

#getEventMethod · 0.95

Tested by

no test coverage detected