decimals
Contract: JBToken
Interface: IJBToken
- Step by step
 - Code
 - Bug bounty
 
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 
IJBTokeninterface. - The function returns the number of decimals.
 
Body
- 
Forward the call to the ERC20 implementation.
return super.decimals();Inherited references:
 
/**
  @notice
  The number of decimals included in the fixed point accounting of this token.
  @return The number of decimals.
*/
function decimals() public view override(ERC20, IJBToken) returns (uint8) {
  return super.decimals();
}
| Category | Description | Reward | 
|---|---|---|
| Optimization | Help make this operation more efficient. | 0.5ETH | 
| Low severity | Identify a vulnerability in this operation that could lead to an inconvenience for a user of the protocol or for a protocol developer. | 1ETH | 
| High severity | Identify a vulnerability in this operation that could lead to data corruption or loss of funds. | 5+ETH |