跳到主要内容

IJBDirectory

Git Source

Functions

PROJECTS

function PROJECTS() external view returns (IJBProjects);

controllerOf

function controllerOf(uint256 projectId) external view returns (IERC165);

isAllowedToSetFirstController

function isAllowedToSetFirstController(address account) external view returns (bool);

isTerminalOf

function isTerminalOf(uint256 projectId, IJBTerminal terminal) external view returns (bool);

primaryTerminalOf

function primaryTerminalOf(uint256 projectId, address token) external view returns (IJBTerminal);

terminalsOf

function terminalsOf(uint256 projectId) external view returns (IJBTerminal[] memory);

setControllerOf

function setControllerOf(uint256 projectId, IERC165 controller) external;

setIsAllowedToSetFirstController

function setIsAllowedToSetFirstController(address account, bool flag) external;

setPrimaryTerminalOf

function setPrimaryTerminalOf(uint256 projectId, address token, IJBTerminal terminal) external;

setTerminalsOf

function setTerminalsOf(uint256 projectId, IJBTerminal[] calldata terminals) external;

Events

AddTerminal

event AddTerminal(uint256 indexed projectId, IJBTerminal indexed terminal, address caller);

SetController

event SetController(uint256 indexed projectId, IERC165 indexed controller, address caller);

SetIsAllowedToSetFirstController

event SetIsAllowedToSetFirstController(address indexed addr, bool indexed isAllowed, address caller);

SetPrimaryTerminal

event SetPrimaryTerminal(
uint256 indexed projectId, address indexed token, IJBTerminal indexed terminal, address caller
);

SetTerminals

event SetTerminals(uint256 indexed projectId, IJBTerminal[] terminals, address caller);