adminUpdatedEvent
Creates an event object for the AdminUpdated event.
import { getContractEvents } from "thirdweb";import { adminUpdatedEvent } from "thirdweb/extensions/erc4337"; const events = await getContractEvents({contract,events: [ adminUpdatedEvent({ signer: ...,})],});
function adminUpdatedEvent( filters: Partial<{ signer: string }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "signer"; readonly type: "address"; }, { readonly name: "isAdmin"; readonly type: "bool" }, ]; readonly name: "AdminUpdated"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "signer"; readonly type: "address"; }, { readonly name: "isAdmin"; readonly type: "bool" }, ]; readonly name: "AdminUpdated"; readonly type: "event";}>;
The prepared event object.