跳到主要内容

currentTotalOverflowOf

Contract: JBSingleTokenPaymentTerminalStore​‌

Interface: IJBSingleTokenPaymentTerminalStore

Gets the current overflowed amount for a specified project across all terminals.

Definition

function currentTotalOverflowOf(
uint256 _projectId,
uint256 _decimals,
uint256 _currency
) external view override returns (uint256) { ... }
  • Arguments:
    • _projectId is the ID of the project to get total overflow for.
    • _decimals is the number of decimals that the fixed point overflow should include.
    • _currency is the currency that the total overflow should be in terms of.
  • The view function can be accessed externally by anyone.
  • The view function does not alter state on the blockchain.
  • The resulting function overrides a function definition from the JBSingleTokenPaymentTerminalStore interface.
  • The function returns the current total amount of overflow that project has across all terminals.

Body

  1. Forward the call to the internal version of the function that is also used by other operations.

    return _currentTotalOverflowOf(_projectId, _decimals, _currency);

    Internal references: