Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.03 KB

ERC20 token Curve does not implement symbol, name, or decimals.md

File metadata and controls

27 lines (22 loc) · 1.03 KB

Curve.sol is an ERC20 token and implements all six required ERC20 methods: balanceOf, totalSupply, allowance, transfer, approve, and transferFrom.

However, it does not implement the optional but extremely common view methods symbol, name, and decimals.

Recommendation:

Short term, implement symbol, name, and decimals on Curve contracts.

Long term, ensure that contracts conform to all required and recommended industry standards.


Slide Screenshot

148.jpg


Slide Text

  • ToB Audit DFX Finance Finding 9
  • Configuration
  • ERC20 Token
  • No Name/Symbol/Decimals
  • Conform to Specification

References


Tags