signerPermissionsUpdatedEvent
Creates an event object for the SignerPermissionsUpdated event.
import { getContractEvents } from "thirdweb";import { signerPermissionsUpdatedEvent } from "thirdweb/extensions/erc4337"; const events = await getContractEvents({contract,events: [ signerPermissionsUpdatedEvent({ authorizingSigner: ..., targetSigner: ...,})],});
function signerPermissionsUpdatedEvent( filters: Partial<{ authorizingSigner: string; targetSigner: string; }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "authorizingSigner"; readonly type: "address"; }, { readonly indexed: true; readonly name: "targetSigner"; readonly type: "address"; }, { readonly components: readonly [ { readonly name: "signer"; readonly type: "address" }, { readonly name: "isAdmin"; readonly type: "uint8" }, { readonly name: "approvedTargets"; readonly type: "address[]"; }, { readonly name: "nativeTokenLimitPerTransaction"; readonly type: "uint256"; }, { readonly name: "permissionStartTimestamp"; readonly type: "uint128"; }, { readonly name: "permissionEndTimestamp"; readonly type: "uint128"; }, { readonly name: "reqValidityStartTimestamp"; readonly type: "uint128"; }, { readonly name: "reqValidityEndTimestamp"; readonly type: "uint128"; }, { readonly name: "uid"; readonly type: "bytes32" }, ]; readonly name: "permissions"; readonly type: "tuple"; }, ]; readonly name: "SignerPermissionsUpdated"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "authorizingSigner"; readonly type: "address"; }, { readonly indexed: true; readonly name: "targetSigner"; readonly type: "address"; }, { readonly components: readonly [ { readonly name: "signer"; readonly type: "address" }, { readonly name: "isAdmin"; readonly type: "uint8" }, { readonly name: "approvedTargets"; readonly type: "address[]"; }, { readonly name: "nativeTokenLimitPerTransaction"; readonly type: "uint256"; }, { readonly name: "permissionStartTimestamp"; readonly type: "uint128"; }, { readonly name: "permissionEndTimestamp"; readonly type: "uint128"; }, { readonly name: "reqValidityStartTimestamp"; readonly type: "uint128"; }, { readonly name: "reqValidityEndTimestamp"; readonly type: "uint128"; }, { readonly name: "uid"; readonly type: "bytes32" }, ]; readonly name: "permissions"; readonly type: "tuple"; }, ]; readonly name: "SignerPermissionsUpdated"; readonly type: "event";}>;
The prepared event object.