Skip to main content

CTAllowedPost

Git Source

Criteria for allowed posts.

Notes:

  • member: hook The hook to which this allowance applies.

  • member: category A category that should allow posts.

  • member: minimumPrice The minimum price that a post to the specified category should cost.

  • member: minimumTotalSupply The minimum total supply of NFTs that can be made available when minting.

  • member: maxTotalSupply The max total supply of NFTs that can be made available when minting. Leave as 0 for max.

  • member: allowedAddresses A list of addresses that are allowed to post on the category through Croptop.

struct CTAllowedPost {
address hook;
uint24 category;
uint104 minimumPrice;
uint32 minimumTotalSupply;
uint32 maximumTotalSupply;
address[] allowedAddresses;
}