setStorageRegistryEvent
Creates an event object for the SetStorageRegistry event.
import { getContractEvents } from "thirdweb";import { setStorageRegistryEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({ contract, events: [setStorageRegistryEvent()],});
readonly inputs: readonly [ { readonly name: "oldStorageRegistry"; readonly type: "address" }, { readonly name: "newStorageRegistry"; readonly type: "address" }, ]; readonly name: "SetStorageRegistry"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly name: "oldStorageRegistry"; readonly type: "address" }, { readonly name: "newStorageRegistry"; readonly type: "address" }, ]; readonly name: "SetStorageRegistry"; readonly type: "event";}>;
The prepared event object.