setIdRegistryEvent

Creates an event object for the SetIdRegistry event.

Example

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";
}>;

Returns

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.