Skip to main content

IJBSingleTokenPaymentTerminalStore3_1_1

Git Source

Functions

fundingCycleStore

function fundingCycleStore() external view returns (IJBFundingCycleStore);

directory

function directory() external view returns (IJBDirectory);

prices

function prices() external view returns (IJBPrices);

balanceOf

function balanceOf(IJBSingleTokenPaymentTerminal terminal, uint256 projectId)
external
view
returns (uint256);

usedDistributionLimitOf

function usedDistributionLimitOf(
IJBSingleTokenPaymentTerminal terminal,
uint256 projectId,
uint256 fundingCycleNumber
) external view returns (uint256);

usedOverflowAllowanceOf

function usedOverflowAllowanceOf(
IJBSingleTokenPaymentTerminal terminal,
uint256 projectId,
uint256 fundingCycleConfiguration
) external view returns (uint256);

currentOverflowOf

function currentOverflowOf(IJBSingleTokenPaymentTerminal terminal, uint256 projectId)
external
view
returns (uint256);

currentTotalOverflowOf

function currentTotalOverflowOf(uint256 projectId, uint256 decimals, uint256 currency)
external
view
returns (uint256);

currentReclaimableOverflowOf

function currentReclaimableOverflowOf(
IJBSingleTokenPaymentTerminal terminal,
uint256 projectId,
uint256 tokenCount,
bool useTotalOverflow
) external view returns (uint256);

currentReclaimableOverflowOf

function currentReclaimableOverflowOf(
uint256 projectId,
uint256 tokenCount,
uint256 totalSupply,
uint256 overflow
) external view returns (uint256);

recordPaymentFrom

function recordPaymentFrom(
address payer,
JBTokenAmount memory amount,
uint256 projectId,
uint256 baseWeightCurrency,
address beneficiary,
string calldata inputMemo,
bytes calldata metadata
)
external
returns (
JBFundingCycle memory fundingCycle,
uint256 tokenCount,
JBPayDelegateAllocation3_1_1[] memory delegateAllocations,
string memory outputMemo
);

recordRedemptionFor

function recordRedemptionFor(
address holder,
uint256 projectId,
uint256 tokenCount,
string calldata inputMemo,
bytes calldata metadata
)
external
returns (
JBFundingCycle memory fundingCycle,
uint256 reclaimAmount,
JBRedemptionDelegateAllocation3_1_1[] memory delegateAllocations,
string memory outputMemo
);

recordDistributionFor

function recordDistributionFor(uint256 projectId, uint256 amount, uint256 currency)
external
returns (JBFundingCycle memory fundingCycle, uint256 distributedAmount);

recordUsedAllowanceOf

function recordUsedAllowanceOf(uint256 projectId, uint256 amount, uint256 currency)
external
returns (JBFundingCycle memory fundingCycle, uint256 withdrawnAmount);

recordAddedBalanceFor

function recordAddedBalanceFor(uint256 projectId, uint256 amount) external;

recordMigration

function recordMigration(uint256 projectId) external returns (uint256 balance);