Terminal allowing allow listed projects with one-time funding cycles to rescue stuck ETH.
The Projects contract which mints ERC-721's that represent project ownership and transfers.
IProjects public immutable override projects;
The contract storing all funding cycle configurations.
IFundingCycles public immutable override fundingCycles;
The contract that manages Ticket printing and redeeming.
ITicketBooth public immutable override ticketBooth;
The directory of terminals.
ITerminalDirectory public immutable override terminalDirectory;
The amount of ETH that each project is responsible for.
mapping(uint256 => uint256) public override balanceOf;
The addresses that are allowed to be rescued.
mapping(uint256 => bool) public override rescueAllowed;
mapping(ITerminal => bool) public override migrationIsAllowed;
|A Projects contract which mints ERC-721's that represent project ownership and transfers.
|A funding cycle configuration store.
|A contract that manages Ticket printing and redeeming.
|A contract storing operator assignments.
|A directory of a project's current Juicebox terminal to receive payments in.
Allows a project to print tickets for a specified beneficiary.
Only a project's owner or a designated operator can print tickets.
string memory _memo,
) external override requirePermission(projects.ownerOf(_projectId), _projectId, Operations.PrintTickets);
|The ID of the project to print tickets for.
|The amount of tickets to print.
|The address to send the printed tickets to.
|A memo to leave with the printing.
|If there is a preference to unstake the printed tickets.
A function that burns the supply of the dead address for a project.
Callable only by project owner, if rescue is allowed by the projectId, if the project's current funding cycle is non recurring.
function rescue(uint256 _projectId, address payable _beneficiary, uint256 _amount) external override nonReentrant;
|The ID of the project whose ETH is being resued.
|The recipient of the resucued funds.
|The amount to rescue as a fixed point number.
Receives and allocates funds belonging to the specified project.
function addToBalance(uint256 _projectId) external payable override;
|The ID of the project to which the funds received belong.
Allows certain projects to migrate to have funds rescued.
function toggleRescue(uint256 _projectId) external override onlyOwner;
|The ID of the project to allow rescuing.
function migrate(uint256, ITerminal) external pure override;
function allowMigration(ITerminal) external pure override;
function pay(uint256, address, string calldata, bool) external payable override returns (uint256);