跳到主要内容

ITerminalV1Rescue

Git Source

Functions

projects

function projects() external view returns (IProjects);

fundingCycles

function fundingCycles() external view returns (IFundingCycles);

ticketBooth

function ticketBooth() external view returns (ITicketBooth);

rescueAllowed

function rescueAllowed(uint256 _projectId) external view returns (bool);

balanceOf

function balanceOf(uint256 _projectId) external view returns (uint256);

rescue

function rescue(uint256 _projectId, address payable _beneficiary, uint256 _amount) external;

toggleRescue

function toggleRescue(uint256 _projectId) external;

printTickets

function printTickets(
uint256 _projectId,
uint256 _amount,
address _beneficiary,
string memory _memo,
bool _preferUnstakedTickets
) external;

Events

AddToBalance

event AddToBalance(uint256 indexed projectId, uint256 value, address caller);

PrintTickets

event PrintTickets(uint256 indexed projectId, address indexed beneficiary, uint256 amount, string memo, address caller);

Rescued

event Rescued(uint256 projectId, address beneficiary, uint256 originalBalance, uint256 amount, address caller);

ToggleRescue

event ToggleRescue(uint256 projectId, bool newValue, address caller);