JB721TierConfig
Config for a single NFT tier within a JB721TiersHook.
Notes:
-
member: price The price to buy an NFT in this tier, in terms of the currency in its
JBInitTiersConfig. -
member: initialSupply The total number of NFTs which can be minted from this tier.
-
member: votingUnits The number of votes that each NFT in this tier gets if
useVotingUnitsis true. -
member: reserveFrequency The frequency at which an extra NFT is minted for the
reserveBeneficiaryfrom this tier. With areserveFrequencyof 5, an extra NFT will be minted for thereserveBeneficiaryfor every 5 NFTs purchased. -
member: reserveBeneficiary The address which receives any reserve NFTs from this tier. Overrides the default reserve beneficiary if one is set.
-
member: encodedIPFSUri The IPFS URI to use for each NFT in this tier.
-
member: category The category that NFTs in this tier belongs to. Used to group NFT tiers.
-
member: discountPercent The discount that should be applied to the tier.
-
member: allowOwnerMint A boolean indicating whether the contract's owner can mint NFTs from this tier on-demand.
-
member: useReserveBeneficiaryAsDefault A boolean indicating whether this tier's
reserveBeneficiaryshould be stored as the default beneficiary for all tiers. -
member: transfersPausable A boolean indicating whether transfers for NFTs in tier can be paused.
-
member: useVotingUnits A boolean indicating whether the
votingUnitsshould be used to calculate voting power. IfuseVotingUnitsis false, voting power is based on the tier's price. -
member: cannotBeRemoved If the tier cannot be removed once added.
-
member: cannotIncreaseDiscount If the tier cannot have its discount increased.
struct JB721TierConfig {
uint104 price;
uint32 initialSupply;
uint32 votingUnits;
uint16 reserveFrequency;
address reserveBeneficiary;
bytes32 encodedIPFSUri;
uint24 category;
uint8 discountPercent;
bool allowOwnerMint;
bool useReserveBeneficiaryAsDefault;
bool transfersPausable;
bool useVotingUnits;
bool cannotBeRemoved;
bool cannotIncreaseDiscountPercent;
}