CreateNewPackParams
type CreateNewPackParams = { amountDistributedPerOpen: bigint; openStartTimestamp: Date; recipient: string; tokenOwner: string;};
type amountDistributedPerOpen = bigint;
An array of ERC1155 rewards, see type ERC1155Reward
for more info
An array of ERC20 rewards, see type ERC20Reward
for more info
An array of ERC721 rewards, see type ERC721Reward
for more info
JavaScript Date object
type openStartTimestamp = Date;
The metadata (image, description, etc.) of the Pack. This is similar to an NFT's metadata
The address of the reward recipient
type recipient = string;
The address of the entity who owns the tokens that are used as rewards. This is only used for checking token approval
type tokenOwner = string;