Skip to main content

ITerminalDirectory

Git Source

Functions

projects

function projects() external view returns (IProjects);

terminalOf

function terminalOf(uint256 _projectId) external view returns (ITerminal);

beneficiaryOf

function beneficiaryOf(address _account) external returns (address);

unstakedTicketsPreferenceOf

function unstakedTicketsPreferenceOf(address _account) external returns (bool);

addressesOf

function addressesOf(uint256 _projectId) external view returns (IDirectPaymentAddress[] memory);

deployAddress

function deployAddress(uint256 _projectId, string calldata _memo) external;

setTerminal

function setTerminal(uint256 _projectId, ITerminal _terminal) external;

setPayerPreferences

function setPayerPreferences(address _beneficiary, bool _preferUnstakedTickets) external;

Events

DeployAddress

event DeployAddress(uint256 indexed projectId, string memo, address indexed caller);

SetTerminal

event SetTerminal(uint256 indexed projectId, ITerminal indexed terminal, address caller);

SetPayerPreferences

event SetPayerPreferences(address indexed account, address beneficiary, bool preferUnstakedTickets);