currentEthOverflowOf
Contract: JBV1TokenPaymentTerminal
Interface: IJBPaymentTerminal
- Step by step
 - Code
 - Bug bounty
 
Gets the current overflowed amount in this terminal for a specified project, in terms of ETH.
The current overflow is represented as a fixed point number with 18 decimals.
Definition
function currentEthOverflowOf(uint256 _projectId) external view override returns (uint256) { ... }
- Arguments:
_projectIdis the ID of the project to which the ETH overflow belongs.
 - 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 
IJBPaymentTerminalinterface. - The function returns the current amount of ETH overflow that project has in this terminal, as a fixed point number with 18 decimals.
 
Body
- 
This terminal does not manage overflow.
// This terminal has no overflow.
return 0; 
/**
  @notice
  Gets the current overflowed amount in this terminal for a specified project, in terms of ETH.
  @dev
  The current overflow is represented as a fixed point number with 18 decimals.
  @param _projectId The ID of the project to get overflow for.
  @return The current amount of ETH overflow that project has in this terminal, as a fixed point number with 18 decimals.
*/
function currentEthOverflowOf(uint256 _projectId) external pure override returns (uint256) {
  _projectId; // Prevents unused var compiler and natspec complaints.
  // This terminal has no overflow.
  return 0;
}
| Category | Description | Reward | 
|---|---|---|
| Optimization | Help make this operation more efficient. | 0.5ETH | 
| Low severity | Identify a vulnerability in this operation that could lead to an inconvenience for a user of the protocol or for a protocol developer. | 1ETH | 
| High severity | Identify a vulnerability in this operation that could lead to data corruption or loss of funds. | 5+ETH |