roleRevokedEvent
Creates an event object for the RoleRevoked event.
import { getContractEvents } from "thirdweb";import { roleRevokedEvent } from "thirdweb/extensions/permissions"; const events = await getContractEvents({contract,events: [ roleRevokedEvent({ role: ..., account: ..., sender: ...,})],});
function roleRevokedEvent( filters: Partial<{ account: string; role: `0x${string}`; sender: string; }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "role"; readonly type: "bytes32"; }, { readonly indexed: true; readonly name: "account"; readonly type: "address"; }, { readonly indexed: true; readonly name: "sender"; readonly type: "address"; }, ]; readonly name: "RoleRevoked"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "role"; readonly type: "bytes32"; }, { readonly indexed: true; readonly name: "account"; readonly type: "address"; }, { readonly indexed: true; readonly name: "sender"; readonly type: "address"; }, ]; readonly name: "RoleRevoked"; readonly type: "event";}>;
The prepared event object.