IJBTerminal
Inherits: IERC165
A terminal that accepts payments and can be migrated.
Functions
accountingContextForTokenOf
function accountingContextForTokenOf(
uint256 projectId,
address token
)
external
view
returns (JBAccountingContext memory);
accountingContextsOf
function accountingContextsOf(uint256 projectId) external view returns (JBAccountingContext[] memory);
currentSurplusOf
function currentSurplusOf(
uint256 projectId,
JBAccountingContext[] memory accountingContexts,
uint256 decimals,
uint256 currency
)
external
view
returns (uint256);
addAccountingContextsFor
function addAccountingContextsFor(uint256 projectId, JBAccountingContext[] calldata accountingContexts) external;
addToBalanceOf
function addToBalanceOf(
uint256 projectId,
address token,
uint256 amount,
bool shouldReturnHeldFees,
string calldata memo,
bytes calldata metadata
)
external
payable;