跳到主要内容

decimals

Contract: JBSingleTokenPaymentTerminal​‌

Interface: IJBSingleTokenPaymentTerminal

The number of decimals the token fixed point amounts are expected to have.

Definition

/**
@notice
The number of decimals the token fixed point amounts are expected to have.
*/
uint256 public immutable override decimals;
  • Once set the value cannot be changed.
  • The resulting view function can be accessed externally by anyone.
  • The resulting function overrides a function definition from the IJBSingleTokenPaymentTerminal interface.