ownerUpdatedEvent
Creates an event object for the OwnerUpdated event.
import { getContractEvents } from "thirdweb";import { ownerUpdatedEvent } from "thirdweb/extensions/common"; const events = await getContractEvents({contract,events: [ ownerUpdatedEvent({ prevOwner: ..., newOwner: ...,})],});
function ownerUpdatedEvent(  filters: Partial<{ newOwner: string; prevOwner: string }>,  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "prevOwner";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "newOwner";      readonly type: "address";    },  ];  readonly name: "OwnerUpdated";  readonly type: "event";}>;
  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "prevOwner";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "newOwner";      readonly type: "address";    },  ];  readonly name: "OwnerUpdated";  readonly type: "event";}>;
The prepared event object.