Skip to main content

decimals

Contract: JBToken​‌

Interface: IJBToken

The number of decimals included in the fixed point accounting of this token.

Definition

function decimals() public view override(ERC20, IJBToken) returns (uint8) { ... }
  • 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 number of decimals.

Body

  1. Forward the call to the ERC20 implementation.

    return super.decimals();

    Inherited references: