Skip to main content


Contract: JBToken​‌

Interface: IJBToken

The total supply of this ERC20.


function totalSupply(uint256) external view override returns (uint256) { ... }
  • Arguments:
    • _projectId is the ID of the project to which the token belongs. This is ignored.
  • The view function can be accessed externally by anyone.
  • The view function does not alter state on the blockchain.
  • The function overrides a function definition from the IJBToken interface.
  • The function returns the total supply of this ERC20, as a fixed point number with 18 decimals.


  1. Forward the call to the ERC20 implementation.

    return super.totalSupply();

    Inherited references: