claimConditionsUpdatedEvent

Creates an event object for the ClaimConditionsUpdated event.

Example

import { getContractEvents } from "thirdweb";
import { claimConditionsUpdatedEvent } from "thirdweb/extensions/erc20";
const events = await getContractEvents({
contract,
events: [claimConditionsUpdatedEvent()],
});
function claimConditionsUpdatedEvent(): PreparedEvent<{
readonly inputs: readonly [
{
readonly components: readonly [
{ readonly name: "startTimestamp"; readonly type: "uint256" },
{
readonly name: "maxClaimableSupply";
readonly type: "uint256";
},
{ readonly name: "supplyClaimed"; readonly type: "uint256" },
{
readonly name: "quantityLimitPerWallet";
readonly type: "uint256";
},
{ readonly name: "merkleRoot"; readonly type: "bytes32" },
{ readonly name: "pricePerToken"; readonly type: "uint256" },
{ readonly name: "currency"; readonly type: "address" },
{ readonly name: "metadata"; readonly type: "string" },
];
readonly name: "claimConditions";
readonly type: "tuple[]";
},
{ readonly name: "resetEligibility"; readonly type: "bool" },
];
readonly name: "ClaimConditionsUpdated";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{
readonly components: readonly [
{ readonly name: "startTimestamp"; readonly type: "uint256" },
{
readonly name: "maxClaimableSupply";
readonly type: "uint256";
},
{ readonly name: "supplyClaimed"; readonly type: "uint256" },
{
readonly name: "quantityLimitPerWallet";
readonly type: "uint256";
},
{ readonly name: "merkleRoot"; readonly type: "bytes32" },
{ readonly name: "pricePerToken"; readonly type: "uint256" },
{ readonly name: "currency"; readonly type: "address" },
{ readonly name: "metadata"; readonly type: "string" },
];
readonly name: "claimConditions";
readonly type: "tuple[]";
},
{ readonly name: "resetEligibility"; readonly type: "bool" },
];
readonly name: "ClaimConditionsUpdated";
readonly type: "event";
}>;

The prepared event object.