setValidatorEvent
Creates an event object for the SetValidator event.
import { getContractEvents } from "thirdweb";import { setValidatorEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({  contract,  events: [setValidatorEvent()],});
  readonly inputs: readonly [    { readonly name: "keyType"; readonly type: "uint32" },    { readonly name: "metadataType"; readonly type: "uint8" },    { readonly name: "oldValidator"; readonly type: "address" },    { readonly name: "newValidator"; readonly type: "address" },  ];  readonly name: "SetValidator";  readonly type: "event";}>;
  readonly inputs: readonly [    { readonly name: "keyType"; readonly type: "uint32" },    { readonly name: "metadataType"; readonly type: "uint8" },    { readonly name: "oldValidator"; readonly type: "address" },    { readonly name: "newValidator"; readonly type: "address" },  ];  readonly name: "SetValidator";  readonly type: "event";}>;
The prepared event object.