CreatePackParams

Represents the parameters for the "createPack" function.

type CreatePackParams = WithOverrides<{
amountDistributedPerOpen: AbiParameterToPrimitiveType<{
name: "amountDistributedPerOpen";
type: "uint128";
}>;
contents: AbiParameterToPrimitiveType<{
components: [
{ name: "assetContract"; type: "address" },
{ name: "tokenType"; type: "uint8" },
{ name: "tokenId"; type: "uint256" },
{ name: "totalAmount"; type: "uint256" },
];
name: "contents";
type: "tuple[]";
}>;
numOfRewardUnits: AbiParameterToPrimitiveType<{
name: "numOfRewardUnits";
type: "uint256[]";
}>;
openStartTimestamp: AbiParameterToPrimitiveType<{
name: "openStartTimestamp";
type: "uint128";
}>;
packUri: AbiParameterToPrimitiveType<{
name: "packUri";
type: "string";
}>;
recipient: AbiParameterToPrimitiveType<{
name: "recipient";
type: "address";
}>;
}>;