ITerminalV1_1
Functions
projects
function projects() external view returns (IProjects);
fundingCycles
function fundingCycles() external view returns (IFundingCycles);
ticketBooth
function ticketBooth() external view returns (ITicketBooth);
prices
function prices() external view returns (IPrices);
modStore
function modStore() external view returns (IModStore);
reservedTicketBalanceOf
function reservedTicketBalanceOf(uint256 _projectId, uint256 _reservedRate) external view returns (uint256);
balanceOf
function balanceOf(uint256 _projectId) external view returns (uint256);
currentOverflowOf
function currentOverflowOf(uint256 _projectId) external view returns (uint256);
claimableOverflowOf
function claimableOverflowOf(address _account, uint256 _amount, uint256 _projectId) external view returns (uint256);
fee
function fee() external view returns (uint256);
deploy
function deploy(
address _owner,
bytes32 _handle,
string calldata _uri,
FundingCycleProperties calldata _properties,
FundingCycleMetadata2 calldata _metadata,
PayoutMod[] memory _payoutMods,
TicketMod[] memory _ticketMods
) external;
configure
function configure(
uint256 _projectId,
FundingCycleProperties calldata _properties,
FundingCycleMetadata2 calldata _metadata,
PayoutMod[] memory _payoutMods,
TicketMod[] memory _ticketMods
) external returns (uint256);
printTickets
function printTickets(
uint256 _projectId,
uint256 _amount,
address _beneficiary,
string memory _memo,
bool _preferUnstakedTickets
) external;
tap
function tap(uint256 _projectId, uint256 _amount, uint256 _currency, uint256 _minReturnedWei)
external
returns (uint256);
redeem
function redeem(
address _account,
uint256 _projectId,
uint256 _amount,
uint256 _minReturnedWei,
address payable _beneficiary,
bool _preferUnstaked
) external returns (uint256 returnAmount);
printReservedTickets
function printReservedTickets(uint256 _projectId) external returns (uint256 reservedTicketsToPrint);
setFee
function setFee(uint256 _fee) external;
burnFromDeadAddress
function burnFromDeadAddress(uint256 _projectId) external;
Events
Pay
event Pay(
uint256 indexed fundingCycleId,
uint256 indexed projectId,
address indexed beneficiary,
uint256 amount,
uint256 beneficiaryTokens,
uint256 totalTokens,
string note,
address caller
);
AddToBalance
event AddToBalance(uint256 indexed projectId, uint256 value, address caller);
AllowMigration
event AllowMigration(ITerminal allowed);
Migrate
event Migrate(uint256 indexed projectId, ITerminal indexed to, uint256 _amount, address caller);
Configure
event Configure(uint256 indexed fundingCycleId, uint256 indexed projectId, address caller);
Tap
event Tap(
uint256 indexed fundingCycleId,
uint256 indexed projectId,
address indexed beneficiary,
uint256 amount,
uint256 currency,
uint256 netTransferAmount,
uint256 beneficiaryTransferAmount,
uint256 govFeeAmount,
address caller
);
Redeem
event Redeem(
address indexed holder,
address indexed beneficiary,
uint256 indexed _projectId,
uint256 amount,
uint256 returnAmount,
address caller
);
PrintReserveTickets
event PrintReserveTickets(
uint256 indexed fundingCycleId,
uint256 indexed projectId,
address indexed beneficiary,
uint256 count,
uint256 beneficiaryTicketAmount,
address caller
);
DistributeToPayoutMod
event DistributeToPayoutMod(
uint256 indexed fundingCycleId, uint256 indexed projectId, PayoutMod mod, uint256 modCut, address caller
);
DistributeToTicketMod
event DistributeToTicketMod(
uint256 indexed fundingCycleId, uint256 indexed projectId, TicketMod mod, uint256 modCut, address caller
);
PrintTickets
event PrintTickets(uint256 indexed projectId, address indexed beneficiary, uint256 amount, string memo, address caller);
Deposit
event Deposit(uint256 amount);
EnsureTargetLocalWei
event EnsureTargetLocalWei(uint256 target);
SetYielder
event SetYielder(IYielder newYielder);
SetFee
event SetFee(uint256 _amount);
SetTargetLocalWei
event SetTargetLocalWei(uint256 amount);