From de3b407a4dfcb2206c1fe6431329cdef3e99fd8a Mon Sep 17 00:00:00 2001 From: sunjingwen21 <91141561+sunjingwen21@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:46:56 +0800 Subject: [PATCH] Update 1. Write Your Token Smart Contract.md mongocoin not metacoin --- .../2. Let's Start Coding/1. Write Your Token Smart Contract.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Create your own Ethereum token in just 30 mins/2. Let's Start Coding/1. Write Your Token Smart Contract.md b/Create your own Ethereum token in just 30 mins/2. Let's Start Coding/1. Write Your Token Smart Contract.md index 27e4bd58..0cbd76a2 100644 --- a/Create your own Ethereum token in just 30 mins/2. Let's Start Coding/1. Write Your Token Smart Contract.md +++ b/Create your own Ethereum token in just 30 mins/2. Let's Start Coding/1. Write Your Token Smart Contract.md @@ -59,7 +59,7 @@ contract MyToken is ERC20 This line basically intializes the smart contract, `MyToken`, that inherits the `ERC20` token using `is` keyword. ``` -constructor() ERC20("MetaCoin", "META") +constructor() ERC20("MangoCoin", "Mango") ``` Contracts that inherit other contracts not only call constructors of their own but also call the constructors of the inherited contracts which is exactly what is happening happening here.