Lesson 12 - documentation for ERC20 constructor? #2206
-
Apologies in advance if this turns out to have a trivial or ridiculously obvious answer, but . . . How does one determine the parameters needed for the OurToken contract constructor |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
The code snippet for the entire constructor please. |
Beta Was this translation helpful? Give feedback.
-
Thank you @krakxn - This is the answer. I was on ethereum.org's EIP-20 page and clicked the link to ERC20.sol on that page which goes to a much older version of the ERC20.sol file (github commit is from Sep 2018) and that older version apparently does not have a constructor explicitly defined in the code which is why I was not seeing a constructor. Sorry. |
Beta Was this translation helpful? Give feedback.
Thank you @k…