Creates an event object for the SetIdRegistry event.
import { getContractEvents } from "thirdweb";import { setIdRegistryEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({ contract, events: [setIdRegistryEvent()],});
function setIdRegistryEvent(): PreparedEvent<{ readonly inputs: readonly [ { readonly name: "oldIdRegistry"; readonly type: "address" }, { readonly name: "newIdRegistry"; readonly type: "address" }, ]; readonly name: "SetIdRegistry"; readonly type: "event";}>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly name: "oldIdRegistry"; readonly type: "address" }, { readonly name: "newIdRegistry"; readonly type: "address" }, ]; readonly name: "SetIdRegistry"; readonly type: "event";}>;
The prepared event object.