Skip to content

Commit 4bdb9c5

Browse files
authored
Merge pull request #11884 from JanetMo/add_quiz
Add quiz about daos [Fixes #11836]
2 parents 9ae8f16 + 963e106 commit 4bdb9c5

File tree

4 files changed

+190
-1
lines changed

4 files changed

+190
-1
lines changed

public/content/dao/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,7 @@ _Typically used for decentralized development and governance of protocols and [d
160160

161161
- [What is a DAO in crypto?](https://youtu.be/KHm0uUPqmVE)
162162
- [Can a DAO Build a City?](https://www.ted.com/talks/scott_fitsimones_could_a_dao_build_the_next_great_city)[TED](https://www.ted.com/)
163+
164+
<Divider />
165+
166+
<QuizWidget quizKey="daos" />

src/data/quizzes/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ const quizzes = {
3434
title: "learn-quizzes:page-assets-merge",
3535
questions: ["h001", "h002", "h003", "h004", "h005"],
3636
},
37+
daos: {
38+
title: "DAOs",
39+
questions: ["i001", "i002", "i003", "i004", "i005"],
40+
},
3741
"solo-staking": {
3842
title: "solo",
3943
questions: ["j001", "j002", "j004", "j005", "j006", "j007", "j008"],
@@ -94,6 +98,11 @@ export const usingEthereumQuizzes: QuizzesSection[] = [
9498
{
9599
id: "layer-2",
96100
level: "intermediate",
101+
next: "daos",
102+
},
103+
{
104+
id: "daos",
105+
level: "intermediate",
97106
next: "run-a-node",
98107
},
99108
{

src/data/quizzes/questionBank.ts

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,137 @@ const questionBank = {
887887
],
888888
correctAnswerId: "h005-b",
889889
},
890+
// DAOs
891+
i001: {
892+
prompt: "i001-prompt",
893+
answers: [
894+
{
895+
id: "i001-a",
896+
label: "i001-a-label",
897+
explanation: "i001-a-explanation",
898+
},
899+
{
900+
id: "i001-b",
901+
label: "i001-b-label",
902+
explanation: "i001-b-explanation",
903+
},
904+
{
905+
id: "i001-c",
906+
label: "i001-c-label",
907+
explanation: "i001-c-explanation",
908+
},
909+
{
910+
id: "i001-d",
911+
label: "i001-d-label",
912+
explanation: "i001-d-explanation",
913+
},
914+
],
915+
correctAnswerId: "i001-d",
916+
},
917+
i002: {
918+
prompt: "i002-prompt",
919+
answers: [
920+
{
921+
id: "i002-a",
922+
label: "i002-a-label",
923+
explanation: "i002-a-explanation",
924+
},
925+
{
926+
id: "i002-b",
927+
label: "i002-b-label",
928+
explanation: "i002-b-explanation",
929+
},
930+
{
931+
id: "i002-c",
932+
label: "i002-c-label",
933+
explanation: "i002-c-explanation",
934+
},
935+
{
936+
id: "i002-d",
937+
label: "i002-d-label",
938+
explanation: "i002-d-explanation",
939+
},
940+
],
941+
correctAnswerId: "i002-d",
942+
},
943+
i003: {
944+
prompt: "i003-prompt",
945+
answers: [
946+
{
947+
id: "i003-a",
948+
label: "i003-a-label",
949+
explanation: "i003-a-explanation",
950+
},
951+
{
952+
id: "i003-b",
953+
label: "i003-b-label",
954+
explanation: "i003-b-explanation",
955+
},
956+
{
957+
id: "i003-c",
958+
label: "i003-c-label",
959+
explanation: "i003-c-explanation",
960+
},
961+
{
962+
id: "i003-d",
963+
label: "i003-d-label",
964+
explanation: "i003-d-explanation",
965+
},
966+
],
967+
correctAnswerId: "i003-b",
968+
},
969+
i004: {
970+
prompt: "i004-prompt",
971+
answers: [
972+
{
973+
id: "i004-a",
974+
label: "i004-a-label",
975+
explanation: "i004-a-explanation",
976+
},
977+
{
978+
id: "i004-b",
979+
label: "i004-b-label",
980+
explanation: "i004-b-explanation",
981+
},
982+
{
983+
id: "i004-c",
984+
label: "i004-c-label",
985+
explanation: "i004-c-explanation",
986+
},
987+
{
988+
id: "i004-d",
989+
label: "i004-d-label",
990+
explanation: "i004-d-explanation",
991+
},
992+
],
993+
correctAnswerId: "i004-c",
994+
},
995+
i005: {
996+
prompt: "i005-prompt",
997+
answers: [
998+
{
999+
id: "i005-a",
1000+
label: "i005-a-label",
1001+
explanation: "i005-a-explanation",
1002+
},
1003+
{
1004+
id: "i005-b",
1005+
label: "i005-b-label",
1006+
explanation: "i005-b-explanation",
1007+
},
1008+
{
1009+
id: "i005-c",
1010+
label: "i005-c-label",
1011+
explanation: "i005-c-explanation",
1012+
},
1013+
{
1014+
id: "i005-d",
1015+
label: "i005-d-label",
1016+
explanation: "i005-d-explanation",
1017+
},
1018+
],
1019+
correctAnswerId: "i005-d",
1020+
},
8901021
// Solo staking
8911022
j001: {
8921023
prompt: "j001-prompt",

src/intl/en/learn-quizzes.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,51 @@
326326
"h005-c-explanation": "Eth1 was the original name given to the execution layer, not the consensus layer.",
327327
"h005-d-label": "Staking",
328328
"h005-d-explanation": "Staking is depositing ETH into a smart contract to help secure the chain.",
329+
"i001-prompt": "What is true about DAOs?",
330+
"i001-a-label": "DAOs are collectively owned via governance tokens",
331+
"i001-a-explanation": "DAOs are collectively owned, but that’s not the only correct statement.",
332+
"i001-b-label": "They are governed by their members",
333+
"i001-b-explanation": "DAOs are governed by their members, but that’s not the only correct statement.",
334+
"i001-c-label": "They are working towards a shared mission",
335+
"i001-c-explanation": "DAOs are working towards a shared mission, but that’s not the only correct statement.",
336+
"i001-d-label": "All of the above",
337+
"i001-d-explanation": "Correct, a DAO is a collectively-owned, blockchain-governed organization working towards a shared mission.",
338+
"i002-prompt": "What are practical examples of how to use a DAO?",
339+
"i002-a-label": "Decentralized protocols, members vote on the matters of the protocol or how to develop the product",
340+
"i002-a-explanation": "Protocol DAOs are one example, but DAOs are not limited to that.",
341+
"i002-b-label": "Collective ownership, e.g., for NFTs or physical assets",
342+
"i002-b-explanation": "Collector DAOs are one example, but DAOs are not limited to that.",
343+
"i002-c-label": "Ventures and grants, pool capital and vote on projects to fund",
344+
"i002-c-explanation": "Venture or grants DAOs are one example, but DAOs are not limited to that.",
345+
"i002-d-label": "All of the above",
346+
"i002-d-explanation": "A DAO can have a multitude of 'missions'.",
347+
"i003-prompt": "Unlike traditional organizations, DAOs are…",
348+
"i003-a-label": "Usually hierarchical",
349+
"i003-a-explanation": "DAOs are usually flat, and fully democratized.",
350+
"i003-b-label": "Transparent and fully public about their activities",
351+
"i003-b-explanation": "Thanks to on-chain voting, decisions are transparent on the blockchain. Discussions and other elements of the decision-making process are open to all members.",
352+
"i003-c-label": "Controlled by a central party",
353+
"i003-c-explanation": "Changes require voting by the members. Services offered are handled automatically in a decentralized manner.",
354+
"i003-d-label": "Restricted regarding who can suggest changes",
355+
"i003-d-explanation": "Usually, every DAO member can suggest changes.",
356+
"i004-prompt": "What is essential about smart contracts for DAOs?",
357+
"i004-a-label": "The smart contract code can be modified",
358+
"i004-a-explanation": "Once the contract is live on Ethereum, no one can change the rules except by a vote. This allows the DAO to run by the rules it was programmed with.",
359+
"i004-b-label": "It has an individual owner who retains authority to make changes and send from the treasury.",
360+
"i004-b-explanation": "The treasury is defined by the smart contract. To spend money, the group's approval is needed.",
361+
"i004-c-label": "Trust in the underlying blockchain's distributed consensus",
362+
"i004-c-explanation": "It’s important for a DAO that the underlying blockchain cannot be manipulated. Ethereum’s own consensus is distributed and established enough for organizations to trust the network.",
363+
"i004-d-label": "DAOs don’t need smart contracts",
364+
"i004-d-explanation": "The backbone of a DAO is its smart contract, which defines the rules of the organization and holds the group's treasury.",
365+
"i005-prompt": "What is not a mechanism to govern a DAO?",
366+
"i005-a-label": "Token-based membership",
367+
"i005-a-explanation": "Token-based governance is very widely used. It’s usually fully permissionless and is typically used to govern broad decentralized protocols and/or tokens themselves.",
368+
"i005-b-label": "Share-based membership",
369+
"i005-b-explanation": "Share-based DAOs are more permissioned but still quite open. Any prospective member can submit a proposal to join the DAO, usually offering a tribute of some value in the form of tokens or work.",
370+
"i005-c-label": "Reputation-based membership",
371+
"i005-c-explanation": "Unlike token or share-based membership, reputation-based DAOs don't transfer ownership to contributors. DAO members must earn reputation through participation.",
372+
"i005-d-label": "Executive board and off-chain treasury management",
373+
"i005-d-explanation": "This approach uses highly centralized and opaque mechanisms of governing. On the contrary, DAOs use verifiable voting mechanisms and on-chain treasury management to ensure transparency and accountability.",
329374
"j001-prompt": "Which is true about slashing?",
330375
"j001-a-label": "Penalty for being offline, rewards resume when back online",
331376
"j001-a-explanation": "Being offline does NOT result in slashing. Small penalties are incurred for being offline, and rewards resume when the validator returns online and resumes attestations.",
@@ -479,4 +524,4 @@
479524
"l006-a-label": "True",
480525
"l006-a-explanation": "Simply running client software does not earn you rewards. To earn rewards, you must also be staking.",
481526
"l006-b-label": "False"
482-
}
527+
}

0 commit comments

Comments
 (0)