IJBController
Inherits: IERC165, IJBProjectUriRegistry, IJBDirectoryAccessControl
Functions
DIRECTORY
function DIRECTORY() external view returns (IJBDirectory);
FUND_ACCESS_LIMITS
function FUND_ACCESS_LIMITS() external view returns (IJBFundAccessLimits);
PRICES
function PRICES() external view returns (IJBPrices);
PROJECTS
function PROJECTS() external view returns (IJBProjects);
RULESETS
function RULESETS() external view returns (IJBRulesets);
SPLITS
function SPLITS() external view returns (IJBSplits);
TOKENS
function TOKENS() external view returns (IJBTokens);
allRulesetsOf
function allRulesetsOf(
uint256 projectId,
uint256 startingId,
uint256 size
)
external
view
returns (JBRulesetWithMetadata[] memory rulesets);
currentRulesetOf
function currentRulesetOf(uint256 projectId)
external
view
returns (JBRuleset memory ruleset, JBRulesetMetadata memory metadata);
getRulesetOf
function getRulesetOf(
uint256 projectId,
uint256 rulesetId
)
external
view
returns (JBRuleset memory ruleset, JBRulesetMetadata memory metadata);
latestQueuedRulesetOf
function latestQueuedRulesetOf(uint256 projectId)
external
view
returns (JBRuleset memory, JBRulesetMetadata memory metadata, JBApprovalStatus);
pendingReservedTokenBalanceOf
function pendingReservedTokenBalanceOf(uint256 projectId) external view returns (uint256);
totalTokenSupplyWithReservedTokensOf
function totalTokenSupplyWithReservedTokensOf(uint256 projectId) external view returns (uint256);
upcomingRulesetOf
function upcomingRulesetOf(uint256 projectId)
external
view
returns (JBRuleset memory ruleset, JBRulesetMetadata memory metadata);
addPriceFeed
function addPriceFeed(uint256 projectId, uint256 pricingCurrency, uint256 unitCurrency, IJBPriceFeed feed) external;
burnTokensOf
function burnTokensOf(address holder, uint256 projectId, uint256 tokenCount, string calldata memo) external;
claimTokensFor
function claimTokensFor(address holder, uint256 projectId, uint256 tokenCount, address beneficiary) external;
deployERC20For
function deployERC20For(
uint256 projectId,
string calldata name,
string calldata symbol,
bytes32 salt
)
external
returns (IJBToken token);
launchProjectFor
function launchProjectFor(
address owner,
string calldata projectUri,
JBRulesetConfig[] calldata rulesetConfigurations,
JBTerminalConfig[] calldata terminalConfigurations,
string calldata memo
)
external
returns (uint256 projectId);
launchRulesetsFor
function launchRulesetsFor(
uint256 projectId,
JBRulesetConfig[] calldata rulesetConfigurations,
JBTerminalConfig[] memory terminalConfigurations,
string calldata memo
)
external
returns (uint256 rulesetId);
mintTokensOf
function mintTokensOf(
uint256 projectId,
uint256 tokenCount,
address beneficiary,
string calldata memo,
bool useReservedPercent
)
external
returns (uint256 beneficiaryTokenCount);
queueRulesetsOf
function queueRulesetsOf(
uint256 projectId,
JBRulesetConfig[] calldata rulesetConfigurations,
string calldata memo
)
external
returns (uint256 rulesetId);
sendReservedTokensToSplitsOf
function sendReservedTokensToSplitsOf(uint256 projectId) external returns (uint256);
setSplitGroupsOf
function setSplitGroupsOf(uint256 projectId, uint256 rulesetId, JBSplitGroup[] calldata splitGroups) external;
setTokenFor
function setTokenFor(uint256 projectId, IJBToken token) external;
transferCreditsFrom
function transferCreditsFrom(address holder, uint256 projectId, address recipient, uint256 creditCount) external;
Events
BurnTokens
event BurnTokens(address indexed holder, uint256 indexed projectId, uint256 tokenCount, string memo, address caller);
LaunchProject
event LaunchProject(uint256 rulesetId, uint256 projectId, string projectUri, string memo, address caller);
LaunchRulesets
event LaunchRulesets(uint256 rulesetId, uint256 projectId, string memo, address caller);
MintTokens
event MintTokens(
address indexed beneficiary,
uint256 indexed projectId,
uint256 tokenCount,
uint256 beneficiaryTokenCount,
string memo,
uint256 reservedPercent,
address caller
);
PrepMigration
event PrepMigration(uint256 indexed projectId, address from, address caller);
QueueRulesets
event QueueRulesets(uint256 rulesetId, uint256 projectId, string memo, address caller);
ReservedDistributionReverted
event ReservedDistributionReverted(
uint256 indexed projectId, JBSplit split, uint256 tokenCount, bytes reason, address caller
);
SendReservedTokensToSplit
event SendReservedTokensToSplit(
uint256 indexed projectId,
uint256 indexed rulesetId,
uint256 indexed groupId,
JBSplit split,
uint256 tokenCount,
address caller
);
SendReservedTokensToSplits
event SendReservedTokensToSplits(
uint256 indexed rulesetId,
uint256 indexed rulesetCycleNumber,
uint256 indexed projectId,
address owner,
uint256 tokenCount,
uint256 leftoverAmount,
address caller
);
SetUri
event SetUri(uint256 indexed projectId, string uri, address caller);