跳到主要内容

ICTPublisher

Git Source

Functions

FEE_DIVISOR

function FEE_DIVISOR() external view returns (uint256);

CONTROLLER

function CONTROLLER() external view returns (IJBController);

FEE_PROJECT_ID

function FEE_PROJECT_ID() external view returns (uint256);

tierIdForEncodedIPFSUriOf

function tierIdForEncodedIPFSUriOf(address hook, bytes32 encodedIPFSUri) external view returns (uint256);

allowanceFor

function allowanceFor(
address hook,
uint256 category
)
external
view
returns (
uint256 minimumPrice,
uint256 minimumTotalSupply,
uint256 maximumTotalSupply,
address[] memory allowedAddresses
);

tiersFor

function tiersFor(address hook, bytes32[] memory encodedIPFSUris) external view returns (JB721Tier[] memory tiers);

configurePostingCriteriaFor

function configurePostingCriteriaFor(CTAllowedPost[] memory allowedPosts) external;

mintFrom

function mintFrom(
IJB721TiersHook hook,
CTPost[] memory posts,
address nftBeneficiary,
address feeBeneficiary,
bytes calldata additionalPayMetadata,
bytes calldata feeMetadata
)
external
payable;

Events

ConfigurePostingCriteria

event ConfigurePostingCriteria(address indexed hook, CTAllowedPost allowedPost, address caller);

Mint

event Mint(
uint256 indexed projectId,
IJB721TiersHook indexed hook,
address indexed nftBeneficiary,
address feeBeneficiary,
CTPost[] posts,
uint256 postValue,
uint256 txValue,
address caller
);