setStorageRegistryEvent

Creates an event object for the SetStorageRegistry event.

Example

import { getContractEvents } from "thirdweb";
import { setStorageRegistryEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [setStorageRegistryEvent()],
});
function setStorageRegistryEvent(): PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "oldStorageRegistry"; readonly type: "address" },
{ readonly name: "newStorageRegistry"; readonly type: "address" },
];
readonly name: "SetStorageRegistry";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
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.