JBSingleTokenPaymentTerminalStore
Manages all bookkeeping for inflows and outflows of funds from any IJBSingleTokenPaymentTerminal
.
Code
Addresses
Ethereum mainnet: 0xdF7Ca703225c5da79A86E08E03A206c267B7470C
Goerli testnet: 0x5b62ccB7fdA139185374c8f36FAa388c20E1387F
Interfaces
Name | Description |
---|---|
IJBSingleTokenPaymentTerminalStore | General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules. |
Inheritance
Contract | Description |
---|---|
ReentrancyGuard | Contract module that helps prevent reentrant calls to a function. |
Constructor
/**
@param _directory A contract storing directories of terminals and controllers for each project.
@param _fundingCycleStore A contract storing all funding cycle configurations.
@param _prices A contract that exposes price feeds.
*/
constructor(
IJBDirectory _directory,
IJBFundingCycleStore _fundingCycleStore,
IJBPrices _prices
) {
directory = _directory;
fundingCycleStore = _fundingCycleStore;
prices = _prices;
}
_directory
is anIJBDirectory
contract storing directories of terminals and controllers for each project._fundingCycleStore
is anIJBFundingCycleStore
contract storing all funding cycle configurations._prices
is anIJBPrices
contract that exposes price feeds.
Properties
Function | Definition |
---|---|
directory | Traits
Returns |
fundingCycleStore | Traits
Returns |
prices | Traits
Returns |
balanceOf | Params
Returns
|
usedOverflowAllowanceOf | Params
Returns
|
usedDistributionLimitOf | Params
Returns
|
Read
Function | Definition |
---|---|
currentOverflowOf | Params
Returns
|
currentTotalOverflowOf | Params
Returns
|
currentReclaimableOverflowOf | Params
Returns
|
currentReclaimableOverflowOf | Params
Returns
|
Write
Function | Definition |
---|---|
recordPaymentFrom | Traits Params
Returns
|
recordDistributionFor | Traits Params
Returns
|
recordUsedAllowanceOf | Traits Params
Returns
|
recordRedemptionFor | Traits Params
Returns
|
recordAddedBalanceFor | Traits Params
|
recordMigration | Traits Params
Returns
|