depositEvent

Creates an event object for the Deposit event.

Example

import { getContractEvents } from "thirdweb";
import { depositEvent } from "thirdweb/extensions/erc4626";
const events = await getContractEvents({
contract,
events: [
depositEvent({
caller: ...,
owner: ...,
})
],
});

Parameters

Returns

The prepared event object.