Skip to content

Commit

Permalink
Merge pull request #11884 from JanetMo/add_quiz
Browse files Browse the repository at this point in the history
Add quiz about daos [Fixes #11836]
  • Loading branch information
wackerow authored Jun 18, 2024
2 parents 9ae8f16 + 963e106 commit 4bdb9c5
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 1 deletion.
4 changes: 4 additions & 0 deletions public/content/dao/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ _Typically used for decentralized development and governance of protocols and [d

- [What is a DAO in crypto?](https://youtu.be/KHm0uUPqmVE)
- [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/)

<Divider />

<QuizWidget quizKey="daos" />
9 changes: 9 additions & 0 deletions src/data/quizzes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const quizzes = {
title: "learn-quizzes:page-assets-merge",
questions: ["h001", "h002", "h003", "h004", "h005"],
},
daos: {
title: "DAOs",
questions: ["i001", "i002", "i003", "i004", "i005"],
},
"solo-staking": {
title: "solo",
questions: ["j001", "j002", "j004", "j005", "j006", "j007", "j008"],
Expand Down Expand Up @@ -94,6 +98,11 @@ export const usingEthereumQuizzes: QuizzesSection[] = [
{
id: "layer-2",
level: "intermediate",
next: "daos",
},
{
id: "daos",
level: "intermediate",
next: "run-a-node",
},
{
Expand Down
131 changes: 131 additions & 0 deletions src/data/quizzes/questionBank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,137 @@ const questionBank = {
],
correctAnswerId: "h005-b",
},
// DAOs
i001: {
prompt: "i001-prompt",
answers: [
{
id: "i001-a",
label: "i001-a-label",
explanation: "i001-a-explanation",
},
{
id: "i001-b",
label: "i001-b-label",
explanation: "i001-b-explanation",
},
{
id: "i001-c",
label: "i001-c-label",
explanation: "i001-c-explanation",
},
{
id: "i001-d",
label: "i001-d-label",
explanation: "i001-d-explanation",
},
],
correctAnswerId: "i001-d",
},
i002: {
prompt: "i002-prompt",
answers: [
{
id: "i002-a",
label: "i002-a-label",
explanation: "i002-a-explanation",
},
{
id: "i002-b",
label: "i002-b-label",
explanation: "i002-b-explanation",
},
{
id: "i002-c",
label: "i002-c-label",
explanation: "i002-c-explanation",
},
{
id: "i002-d",
label: "i002-d-label",
explanation: "i002-d-explanation",
},
],
correctAnswerId: "i002-d",
},
i003: {
prompt: "i003-prompt",
answers: [
{
id: "i003-a",
label: "i003-a-label",
explanation: "i003-a-explanation",
},
{
id: "i003-b",
label: "i003-b-label",
explanation: "i003-b-explanation",
},
{
id: "i003-c",
label: "i003-c-label",
explanation: "i003-c-explanation",
},
{
id: "i003-d",
label: "i003-d-label",
explanation: "i003-d-explanation",
},
],
correctAnswerId: "i003-b",
},
i004: {
prompt: "i004-prompt",
answers: [
{
id: "i004-a",
label: "i004-a-label",
explanation: "i004-a-explanation",
},
{
id: "i004-b",
label: "i004-b-label",
explanation: "i004-b-explanation",
},
{
id: "i004-c",
label: "i004-c-label",
explanation: "i004-c-explanation",
},
{
id: "i004-d",
label: "i004-d-label",
explanation: "i004-d-explanation",
},
],
correctAnswerId: "i004-c",
},
i005: {
prompt: "i005-prompt",
answers: [
{
id: "i005-a",
label: "i005-a-label",
explanation: "i005-a-explanation",
},
{
id: "i005-b",
label: "i005-b-label",
explanation: "i005-b-explanation",
},
{
id: "i005-c",
label: "i005-c-label",
explanation: "i005-c-explanation",
},
{
id: "i005-d",
label: "i005-d-label",
explanation: "i005-d-explanation",
},
],
correctAnswerId: "i005-d",
},
// Solo staking
j001: {
prompt: "j001-prompt",
Expand Down
47 changes: 46 additions & 1 deletion src/intl/en/learn-quizzes.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,51 @@
"h005-c-explanation": "Eth1 was the original name given to the execution layer, not the consensus layer.",
"h005-d-label": "Staking",
"h005-d-explanation": "Staking is depositing ETH into a smart contract to help secure the chain.",
"i001-prompt": "What is true about DAOs?",
"i001-a-label": "DAOs are collectively owned via governance tokens",
"i001-a-explanation": "DAOs are collectively owned, but that’s not the only correct statement.",
"i001-b-label": "They are governed by their members",
"i001-b-explanation": "DAOs are governed by their members, but that’s not the only correct statement.",
"i001-c-label": "They are working towards a shared mission",
"i001-c-explanation": "DAOs are working towards a shared mission, but that’s not the only correct statement.",
"i001-d-label": "All of the above",
"i001-d-explanation": "Correct, a DAO is a collectively-owned, blockchain-governed organization working towards a shared mission.",
"i002-prompt": "What are practical examples of how to use a DAO?",
"i002-a-label": "Decentralized protocols, members vote on the matters of the protocol or how to develop the product",
"i002-a-explanation": "Protocol DAOs are one example, but DAOs are not limited to that.",
"i002-b-label": "Collective ownership, e.g., for NFTs or physical assets",
"i002-b-explanation": "Collector DAOs are one example, but DAOs are not limited to that.",
"i002-c-label": "Ventures and grants, pool capital and vote on projects to fund",
"i002-c-explanation": "Venture or grants DAOs are one example, but DAOs are not limited to that.",
"i002-d-label": "All of the above",
"i002-d-explanation": "A DAO can have a multitude of 'missions'.",
"i003-prompt": "Unlike traditional organizations, DAOs are…",
"i003-a-label": "Usually hierarchical",
"i003-a-explanation": "DAOs are usually flat, and fully democratized.",
"i003-b-label": "Transparent and fully public about their activities",
"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.",
"i003-c-label": "Controlled by a central party",
"i003-c-explanation": "Changes require voting by the members. Services offered are handled automatically in a decentralized manner.",
"i003-d-label": "Restricted regarding who can suggest changes",
"i003-d-explanation": "Usually, every DAO member can suggest changes.",
"i004-prompt": "What is essential about smart contracts for DAOs?",
"i004-a-label": "The smart contract code can be modified",
"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.",
"i004-b-label": "It has an individual owner who retains authority to make changes and send from the treasury.",
"i004-b-explanation": "The treasury is defined by the smart contract. To spend money, the group's approval is needed.",
"i004-c-label": "Trust in the underlying blockchain's distributed consensus",
"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.",
"i004-d-label": "DAOs don’t need smart contracts",
"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.",
"i005-prompt": "What is not a mechanism to govern a DAO?",
"i005-a-label": "Token-based membership",
"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.",
"i005-b-label": "Share-based membership",
"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.",
"i005-c-label": "Reputation-based membership",
"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.",
"i005-d-label": "Executive board and off-chain treasury management",
"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.",
"j001-prompt": "Which is true about slashing?",
"j001-a-label": "Penalty for being offline, rewards resume when back online",
"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.",
Expand Down Expand Up @@ -479,4 +524,4 @@
"l006-a-label": "True",
"l006-a-explanation": "Simply running client software does not earn you rewards. To earn rewards, you must also be staking.",
"l006-b-label": "False"
}
}

0 comments on commit 4bdb9c5

Please sign in to comment.