Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/REVDeployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ contract REVDeployer is ERC2771Context, IREVDeployer, IJBRulesetDataHook, IJBCas
minimumPrice: post.minimumPrice,
minimumTotalSupply: post.minimumTotalSupply,
maximumTotalSupply: post.maximumTotalSupply,
maximumSplitPercent: post.maximumSplitPercent,
allowedAddresses: post.allowedAddresses
});
}
Expand Down
3 changes: 3 additions & 0 deletions src/structs/REVCroptopAllowedPost.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ pragma solidity ^0.8.0;
/// @custom:member minimumTotalSupply The minimum total supply of NFTs that can be made available when minting.
/// @custom:member maxTotalSupply The max total supply of NFTs that can be made available when minting. Leave as 0 for
/// max.
/// @custom:member maximumSplitPercent The maximum split percent (out of JBConstants.SPLITS_TOTAL_PERCENT) that a
/// poster can set. 0 means splits are not allowed.
/// @custom:member allowedAddresses A list of addresses that are allowed to post on the category through Croptop.
struct REVCroptopAllowedPost {
uint24 category;
uint104 minimumPrice;
uint32 minimumTotalSupply;
uint32 maximumTotalSupply;
uint32 maximumSplitPercent;
address[] allowedAddresses;
}