adminResetEvent

Creates an event object for the AdminReset event.

Example

import { getContractEvents } from "thirdweb";
import { adminResetEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [
adminResetEvent({
fid: ...,
})
],
});
function adminResetEvent(
filters: Partial<{ fid: bigint }>,
readonly inputs: readonly [
{
readonly indexed: true;
readonly name: "fid";
readonly type: "uint256";
},
];
readonly name: "AdminReset";
readonly type: "event";
}>;

Parameters

Optional filters to apply to the event.

Type

let filters: Partial<{ fid: bigint }>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{
readonly indexed: true;
readonly name: "fid";
readonly type: "uint256";
},
];
readonly name: "AdminReset";
readonly type: "event";
}>;

The prepared event object.