You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are using the default decimals() function in the ERC20 contract. This function returns the number of decimals used to get its user representation. For example, if decimals() returns 2, a balance of 505 tokens should be displayed to a user as 5.05 (505 / 10 ** 2). By default this returns 18 decimals as of now.
Question is if we really need 18 decimals or 6 would be sufficient like in the case of USDC.
The text was updated successfully, but these errors were encountered:
Description
Currently we are using the default
decimals()
function in the ERC20 contract. This function returns the number of decimals used to get its user representation. For example, ifdecimals()
returns2
, a balance of505
tokens should be displayed to a user as5.05
(505 / 10 ** 2
). By default this returns 18 decimals as of now.Question is if we really need 18 decimals or 6 would be sufficient like in the case of USDC.
The text was updated successfully, but these errors were encountered: