currentOverflowOf
Contract: JBSingleTokenPaymentTerminalStore
Interface: IJBSingleTokenPaymentTerminalStore
- Step by step
- Code
- Bug bounty
Gets the current overflowed amount in a terminal for a specified project.
The current overflow is represented as a fixed point number with the same amount of decimals as the specified terminal.
Definition
function currentOverflowOf(IJBSingleTokenPaymentTerminal _terminal, uint256 _projectId)
external
view
override
returns (uint256) { ... }
- Arguments:
_terminal
is the terminal for which the overflow is being calculated._projectId
is the ID of the project to get overflow for.
- 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 amount of overflow that project has in the specified terminal.