Skip to main content


Contract: JBPayoutRedemptionPaymentTerminal​‌

Checks the balance of tokens in this contract.


function _balance() internal view override returns (uint256) { ...}
  • Arguments:
  • The resulting function is internal to this contract and its inheriters.
  • The view function does not alter state on the blockchain.
  • The resulting function overrides a function definition from the JBPayoutRedemptionPaymentTerminal interface.
  • The function returns the contract's balance, as a fixed point number with the same amount of decimals as this terminal.


  1. Return this terminal's token balance.

    return address(this).balance;