IJBPayoutTerminal
Inherits: IJBTerminal
A terminal that can send payouts.
Functions
sendPayoutsOf
function sendPayoutsOf(
uint256 projectId,
address token,
uint256 amount,
uint256 currency,
uint256 minTokensPaidOut
)
external
returns (uint256 netLeftoverPayoutAmount);
useAllowanceOf
function useAllowanceOf(
uint256 projectId,
address token,
uint256 amount,
uint256 currency,
uint256 minTokensPaidOut,
address payable beneficiary,
address payable feeBeneficiary,
string calldata memo
)
external
returns (uint256 netAmountPaidOut);
Events
PayoutReverted
event PayoutReverted(uint256 indexed projectId, JBSplit split, uint256 amount, bytes reason, address caller);
PayoutTransferReverted
event PayoutTransferReverted(
uint256 indexed projectId, address addr, address token, uint256 amount, bytes reason, address caller
);
SendPayouts
event SendPayouts(
uint256 indexed rulesetId,
uint256 indexed rulesetCycleNumber,
uint256 indexed projectId,
address projectOwner,
uint256 amount,
uint256 amountPaidOut,
uint256 fee,
uint256 netLeftoverPayoutAmount,
address caller
);
SendPayoutToSplit
event SendPayoutToSplit(
uint256 indexed projectId,
uint256 indexed rulesetId,
uint256 indexed group,
JBSplit split,
uint256 amount,
uint256 netAmount,
address caller
);
UseAllowance
event UseAllowance(
uint256 indexed rulesetId,
uint256 indexed rulesetCycleNumber,
uint256 indexed projectId,
address beneficiary,
address feeBeneficiary,
uint256 amount,
uint256 amountPaidOut,
uint256 netAmountPaidOut,
string memo,
address caller
);