Skip to main content

totalSupply

Contract: JBToken​‌

Interface: IJBToken

The total supply of this ERC20.

Definition

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.

Body

  1. Forward the call to the ERC20 implementation.

    return super.totalSupply();

    Inherited references: