Skip to content

Commit 991b0c7

Browse files
authored
Merge pull request #271 from Developer-DAO/staging
Staging to prod: erc-20-foundry-update
2 parents ad747c2 + aa13ec1 commit 991b0c7

File tree

26 files changed

+862
-180
lines changed

26 files changed

+862
-180
lines changed
181 Bytes
Loading
853 Bytes
Loading
511 Bytes
Loading
13.7 KB
Loading

src/pages/lessons/projects/6.mdx

Lines changed: 251 additions & 180 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "Which method is used to retrieve the name of an ERC-20 token?",
3+
"options": [
4+
{
5+
"answer": "`getTokenType()`"
6+
},
7+
{
8+
"answer": "`tokenName()`"
9+
},
10+
{
11+
"answer": "`nameOfToken()`"
12+
},
13+
{
14+
"answer": "`name()`",
15+
"correct": true
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "What does the `forgeup` tool install on our system?",
3+
"options": [
4+
{
5+
"answer": "An Ethereum client for Foundry"
6+
},
7+
{
8+
"answer": "The sword of Solidity"
9+
},
10+
{
11+
"answer": "Windows sub-system for Linux"
12+
},
13+
{
14+
"answer": "Foundry toolkit",
15+
"correct": true
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "What is the `lib` folder for in our Foundry project?",
3+
"options": [
4+
{
5+
"answer": "Storing project scripts that we’ll run later"
6+
},
7+
{
8+
"answer": "Creating a portal to the Coding Realm"
9+
},
10+
{
11+
"answer": "Managing project dependencies using Git Submodules",
12+
"correct": true
13+
},
14+
{
15+
"answer": "Writing tests for our smart contract"
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "How can you create a project named `my_token` using Foundry?",
3+
"options": [
4+
{
5+
"answer": "`foundry create my_token`"
6+
},
7+
{
8+
"answer": "`forge init my_token`",
9+
"correct": true
10+
},
11+
{
12+
"answer": "Write `my_token` in Solidity runes"
13+
},
14+
{
15+
"answer": "`forge create my_token`"
16+
}
17+
]
18+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"question": "Why is the OpenZeppelin library installed as a dependency in the tutorial project?",
3+
"options": [
4+
{
5+
"answer": "Foundry requires it for contract deployment"
6+
},
7+
{
8+
"answer": "To increase project file size"
9+
},
10+
{
11+
"answer": "To use OpenZeppelin's ERC-20 implementation",
12+
"correct": true
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)