Skip to content

Commit

Permalink
add quiz about daos [issue ethereum#11836]
Browse files Browse the repository at this point in the history
  • Loading branch information
JanetMo committed Jan 5, 2024
1 parent 3131a03 commit 21cce55
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/data/quizzes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ const quizzes: RawQuizzes = {
title: "page-assets-merge",
questions: ["h001", "h002", "h003", "h004", "h005"],
},
daos: {
title: "DAOs",
questions: ["i001", "i002", "i003", "i004", "i005"],
},
}

export const ethereumBasicsQuizzes: QuizzesSection[] = [
Expand Down Expand Up @@ -78,6 +82,11 @@ export const usingEthereumQuizzes: QuizzesSection[] = [
{
id: "layer-2",
level: "intermediate",
next: "DAOs",
},
{
id: "DAOs",
level: "intermediate",
},
]

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: 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",
},
}

export default questionBank
47 changes: 46 additions & 1 deletion src/intl/en/learn-quizzes.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,50 @@
"h005-c-label": "Eth1",
"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."
"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'. Check out the resources to find practical examples.",
"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 usually open as well.",
"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": "One DAO member gets the right to spend money 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 due to a 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": "Residency-based membership",
"i005-d-explanation": "There are a lot of possible governance mechanisms in DAOs, but residency is not a criterion. On the contrary, DAOs are characterized by their global nature."
}

0 comments on commit 21cce55

Please sign in to comment.