CTPublisher
Inherits: JBPermissioned, ERC2771Context, ICTPublisher
A contract that facilitates the permissioned publishing of NFT posts to a Juicebox project.
State Variables
FEE_DIVISOR
The divisor that describes the fee that should be taken.
This is equal to 100 divided by the fee percent.
uint256 public constant override FEE_DIVISOR = 20;
CONTROLLER
The controller that directs the projects being posted to.
IJBController public immutable override CONTROLLER;
FEE_PROJECT_ID
The ID of the project to which fees will be routed.
uint256 public immutable override FEE_PROJECT_ID;
tierIdForEncodedIPFSUriOf
The ID of the tier that an IPFS metadata has been saved to.
mapping(address hook => mapping(bytes32 encodedIPFSUri => uint256)) public override tierIdForEncodedIPFSUriOf;
_allowedAddresses
Stores addresses that are allowed to post onto a hook category.
mapping(address hook => mapping(uint256 category => address[])) internal _allowedAddresses;
_packedAllowanceFor
Packed values that determine the allowance of posts.
mapping(address hook => mapping(uint256 category => uint256)) internal _packedAllowanceFor;