Skip to main content

IJBFeeTerminal

Git Source

Inherits: IJBTerminal

A terminal that can process and hold fees.

Functions

FEE

function FEE() external view returns (uint256);

FEELESS_ADDRESSES

function FEELESS_ADDRESSES() external view returns (IJBFeelessAddresses);

heldFeesOf

function heldFeesOf(uint256 projectId, address token, uint256 count) external view returns (JBFee[] memory);

processHeldFeesOf

function processHeldFeesOf(uint256 projectId, address token, uint256 count) external;

Events

FeeReverted

event FeeReverted(
uint256 indexed projectId,
address indexed token,
uint256 indexed feeProjectId,
uint256 amount,
bytes reason,
address caller
);

HoldFee

event HoldFee(
uint256 indexed projectId,
address indexed token,
uint256 indexed amount,
uint256 fee,
address beneficiary,
address caller
);

ProcessFee

event ProcessFee(
uint256 indexed projectId,
address indexed token,
uint256 indexed amount,
bool wasHeld,
address beneficiary,
address caller
);

ReturnHeldFees

event ReturnHeldFees(
uint256 indexed projectId,
address indexed token,
uint256 indexed amount,
uint256 returnedFees,
uint256 leftoverAmount,
address caller
);