Skip to content

Commit 20b2cc7

Browse files
authored
Merge pull request #273 from Developer-DAO/staging
Content improvments by @HAPPYS1NGH - Merge changes from staging branch to main
2 parents 991b0c7 + a3e0ee1 commit 20b2cc7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/pages/lessons/projects/6.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ us to implement some methods and events.
108108

109109
```solidity
110110
// Methods:
111-
function name() public view returns (string)
112-
function symbol() public view returns (string)
113-
function decimals() public view returns (uint8)
111+
function name() public view returns (string) // OPTIONAL
112+
function symbol() public view returns (string) // OPTIONAL
113+
function decimals() public view returns (uint8) // OPTIONAL
114114
function totalSupply() public view returns (uint256)
115115
function balanceOf(address _owner) public view returns (uint256 balance)
116116
function transfer(address _to, uint256 _value) public returns (bool success)

src/utils/questions/lesson-6/3-create-contract/Q1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "Why is it necessary to provide the token's name and symbol in the constructor of an ERC-20 contract?",
2+
"question": "Why is it necessary to provide the token's name and symbol in the constructor of an ERC-20 contract when using OpenZeppelin?",
33
"options": [
44
{
55
"answer": "To personalize the token with emojis"
@@ -8,7 +8,7 @@
88
"answer": "To prevent the contract from deploying successfully"
99
},
1010
{
11-
"answer": "To fulfill the ERC-20 standard and avoid errors",
11+
"answer": "To provide the arguments that are inherited by the ERC20 Contract.",
1212
"correct": true
1313
}
1414
]

src/utils/quizzes/quiz-lesson-6.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"answer": "5"
4040
},
4141
{
42-
"answer": "7"
42+
"answer": "9"
4343
},
4444
{
45-
"answer": "9",
45+
"answer": "6",
4646
"correct": true
4747
},
4848
{

0 commit comments

Comments
 (0)