depositEvent
Creates an event object for the Deposit event.
import { getContractEvents } from "thirdweb";import { depositEvent } from "thirdweb/extensions/erc4626"; const events = await getContractEvents({contract,events: [ depositEvent({ caller: ..., owner: ...,})],});
function depositEvent( filters: Partial<{ caller: string; owner: string }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "caller"; readonly type: "address"; }, { readonly indexed: true; readonly name: "owner"; readonly type: "address"; }, { readonly name: "assets"; readonly type: "uint256" }, { readonly name: "shares"; readonly type: "uint256" }, ]; readonly name: "Deposit"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "caller"; readonly type: "address"; }, { readonly indexed: true; readonly name: "owner"; readonly type: "address"; }, { readonly name: "assets"; readonly type: "uint256" }, { readonly name: "shares"; readonly type: "uint256" }, ]; readonly name: "Deposit"; readonly type: "event";}>;
The prepared event object.