Bitcoin Forum
June 21, 2024, 04:12:15 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about decimals for erc-20 tokens  (Read 74 times)
Playboi (OP)
Full Member
***
Offline Offline

Activity: 187
Merit: 103


View Profile
December 16, 2018, 11:17:51 PM
Last edit: December 16, 2018, 11:28:15 PM by Playboi
 #1

I don't think i'm fully understanding something here

For example, lets take the MAKER token
https://etherscan.io/token/0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2

It says the total supply is: 1,000,000 MAKER and it has 18 decimals.

Did the developer enter it in with the following value:

Initial Supply: 1,000,000,000,000,000,000,000,000
Decimals: 18

----
Similarly, for QASH
https://etherscan.io/token/0x618e75ac90b12c6049ba3b27f5d5f8651b0037f6

The total supply is 1,000,000,000
Decimals: 6

so in remix.ethereum.org, did the developer enter

1,000,000,000,000,000
Decimals: 6

----

Im just trying to understand the significance of decimals,
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!