Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Totallysarious patch 1 #58

Merged
merged 48 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
23285bc
Update welcome-to-dao-dao.md
totallysarious Apr 23, 2024
b874105
Update whats-a-dao.md
totallysarious Apr 23, 2024
de12304
Update whats-a-blockchain.md
totallysarious Apr 23, 2024
15a94fd
Create _category_.json
totallysarious Apr 23, 2024
638ae6c
Create create-a-dao.md
totallysarious Apr 23, 2024
3c790a8
Create create-a-proposal.md
totallysarious Apr 23, 2024
e99757f
Create voting.md
totallysarious Apr 23, 2024
2616d65
Create congratulations.md
totallysarious Apr 23, 2024
75a15ee
Create _category_.json
totallysarious Apr 23, 2024
72f3e4d
Create joining-leaving-member-based-dao.md
totallysarious Apr 23, 2024
556978e
Create joining-leaving-token-based-dao.md
totallysarious Apr 23, 2024
91104ee
Delete docs/quickstart directory
totallysarious Apr 23, 2024
ea827a6
Create _category_.json
totallysarious Apr 23, 2024
d8d1470
Create _category_.json
totallysarious Apr 23, 2024
d6369ce
Create voting-config.md
totallysarious Apr 23, 2024
ba5991a
Create proposal-submission.md
totallysarious Apr 23, 2024
506f64e
Create staking.md
totallysarious Apr 23, 2024
ba06550
Create _category_.json
totallysarious Apr 23, 2024
51fd46b
Create what.md
totallysarious Apr 23, 2024
6144863
Create types.md
totallysarious Apr 23, 2024
df7ecad
Create how-to-create-a-proposal.md
totallysarious Apr 23, 2024
57c9a9c
Create how-to-vote-on-a-proposal.md
totallysarious Apr 23, 2024
3a0bded
Delete docs/configuration directory
totallysarious Apr 23, 2024
ff00827
Delete docs/features/proposals directory
totallysarious Apr 23, 2024
f528302
Delete docs/features directory
totallysarious Apr 23, 2024
58e118d
Delete docs/how-to directory
totallysarious Apr 23, 2024
59d1f29
Create _category_.json
totallysarious Apr 23, 2024
be9a186
Create create-a-dao.md
totallysarious Apr 23, 2024
7bb20b4
Create update-info.md
totallysarious Apr 23, 2024
fcac3b1
Create _category_.json
totallysarious Apr 23, 2024
56929f5
Create what.md
totallysarious Apr 23, 2024
def5efc
Create how-to-create.md
totallysarious Apr 23, 2024
bd0a98c
Create act-on-behalf-of-subdao.md
totallysarious Apr 23, 2024
1a2cd6d
Create _category_.json
totallysarious Apr 23, 2024
33c375d
Create how-to-manage-cross-chain-tokens.md
totallysarious Apr 23, 2024
2cb9658
Create how-to-stake-tokens.md
totallysarious Apr 23, 2024
40fb51d
Create how-to-send-tokens.md
totallysarious Apr 23, 2024
9fcab4c
Create enable-vesting.md
totallysarious Apr 23, 2024
731c5be
Create auto-add.md
totallysarious Apr 23, 2024
b0f936e
Update auto-add.md
totallysarious Apr 23, 2024
a7d0f1d
Create _category_.json
totallysarious Apr 23, 2024
42109f0
Create joining-leaving-member-based-dao.md
totallysarious Apr 23, 2024
0cea3ec
Create joining-leaving-token-based-dao.md
totallysarious Apr 23, 2024
c2a68e6
Update _category_.json
totallysarious Apr 23, 2024
6e69a25
Update how-to-contribute.md
totallysarious Apr 23, 2024
4eb6b2f
Create placeholder
totallysarious Apr 23, 2024
4485915
Add files via upload
totallysarious Apr 23, 2024
6f8bfa6
Update docusaurus.config.js
totallysarious Apr 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions docs/configuration/staking.md

This file was deleted.

113 changes: 0 additions & 113 deletions docs/configuration/voting.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/dao-governance/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "DAO Governance",
"position": 3
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Configuration",
"position": 5
"position": 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@ sidebar_position: 2

# Proposal submission

A DAO's proposal submission configuration manages the rules around submitting a
proposal for voting.
A DAO's proposal submission configuration manages the rules around submitting a proposal for voting.

## How to update the proposal submission configuration

To change the proposal submission configuration of a DAO, you must submit a
[governance proposal](/features/proposals/what) containing the `Update Proposal
Submission Config` action from the `DAO Governance` category.
To change the proposal submission configuration of a DAO, you must submit a [governance proposal](../proposals/what.md) containing the `Update Proposal Submission Config` action from the `DAO Governance` category.

If you have multiple choice proposals enabled, you will instead see two
different actions, one labeled `Update Single Choice Proposal Submission Config`
and the other `Update Multiple Choice Proposal Submission Config`. You may
configure each proposal type (single and multiple choice) separately, though
they should probably be kept in sync so the voting experience is consistent.
If you have multiple choice proposals enabled, you will instead see two different actions, one labeled `Update Single Choice Proposal Submission Config` and the other `Update Multiple Choice Proposal Submission Config`. You may configure each proposal type (single and multiple choice) separately, though they should probably be kept in sync so the voting experience is consistent.

## Parameters

Expand All @@ -26,9 +19,7 @@ time.

### Proposal deposit

This is a required deposit someone must put down to create a proposal. This can
be the DAO's governance token, if it exists, or any other token on the chain. By
default, this is disabled.
This is a required deposit someone must put down to create a proposal. This can be the DAO's governance token, if it exists, or any other token on the chain. By default, this is disabled.

#### Refunding proposal deposits

Expand Down
19 changes: 19 additions & 0 deletions docs/dao-governance/configuration/staking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
sidebar_position: 3
---

# Staking

A DAO's staking configuration determines the rules of the token staking process. Only token-based and NFT-based DAOs have a staking process to configure. Member-based DAOs do not have staking because they do not use tokens.

## How to update the staking configuration

To change the staking configuration of a DAO, you must submit a [governance proposal](../proposals/what.md) containing the `Update Staking Config` action from the `DAO Governance` category.

## Parameters

### Unstaking duration

After someone stakes tokens in a DAO, those tokens cannot be immediately unstaked. The unstaking duration is how long they remain locked after deciding to unstake. During the unstaking process, they do _not_ count towards your voting power, and you cannot transfer them.

This adds a time cost to staking and ensures a greater level of participatory commitment from members.
75 changes: 75 additions & 0 deletions docs/dao-governance/configuration/voting-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
sidebar_position: 1
---

# Voting

A DAO's voting configuration determines the rules of the voting process. Things like the passing threshold and voting duration.

## How to update the voting configuration

To change the voting configuration of a DAO, you must submit a [governance proposal](../proposals/what.md) containing the `Update Voting Config` action from the `DAO Governance` category.

If you have multiple choice proposals enabled, you will instead see two different actions, one labeled `Update Single Choice Voting Config` and the other `Update Multiple Choice Voting Config`. You may configure each proposal type (single and multiple choice) separately, though they should probably be kept in sync so the voting experience is consistent.

## Parameters

You can update all of these parameters with the action(s) mentioned above at any time.

### Passing threshold and quorum

The **_passing threshold_** is the `Yes` threshold needed to pass a proposal. It defaults to majority (i.e. any votes above 50%). It sounds simple, but it gets trick very fast because it works differently depending on whether or not the quorum is enabled.

The **_quorum_** is the proportion of all voting power that must vote for a proposal to be **passable**. It defaults to 20%. For single choice proposals, quorum can be disabled.

#### Multiple choice proposals

Multiple choice proposals use quorum in the same way, but they do not have a passing threshold. Instead, as long as the quorum is met, whichever option received more votes (i.e. the plurality of votes) wins. You cannot disable quorum for multiple choice proposals.

Read on to understand how passing threshold and quorum affect each other for single choice proposals.

#### With quorum enabled

If your DAO has a quorum set, the passing threshold is only calculated among **those who voted**.

For example, with a quorum of 40% and a passing threshold of 75%, a proposal could pass with only 30% of the total voting power having voted `Yes` if exactly 40% of voters vote. Imagine: 40% of the total voting power votes on the proposal. Quorum is met. Of those who voted, 75% vote `Yes`. The rest of the votes are split between `Abstain` and `No`. `Yes` will have won the vote with a 75% threshold of quorum, even though only 30% of the _total_ voting power voted `Yes`.

Setting quorum to 0% means that any single voter can pass a proposal by themself. _This is different from disabling quorum._

:::tip

Enabling a quorum helps when there is a risk of low participation in a DAO. Large token-based DAOs likely face this risk as membership is fluid and attention is finite. Setting a quorum low enough ensures that the DAO cannot be locked due to lack of sufficient participation. However, setting a quorum too low can lead to proposals passing that do not represent enough member's preferences (if not enough people are paying attention).

:::

#### With quorum disabled

If your DAO has no quorum set, the passing threshold is calculated among **all possible voters**. This is considered an absolute threshold.

For example, with a passing threshold of 67%, a proposal will pass if 67% of the total voting power voted `Yes`.

:::caution

Threshold and quorum can be very confusing. Please be careful and check your understanding with others before making any changes.

:::

### Only members execute

If enabled, only members may execute passed proposals. If disabled, anyone can. This defaults to enabled.

### Voting duration

This is the maximum time proposals remain open for voting.

### Allow revoting

If enabled, votes can be changed before the voting duration ends. This defaults to disabled.

:::tip

When this is enabled, proposals always remain open for their entire duration. This is because the proposal outcome cannot be determined if votes can be changed.

When this is disabled, proposals will pass or fail early if sufficient voters cast votes to determine an outcome.

:::
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Proposals",
"position": 1
"position": 2
}
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
---
sidebar_position: 1
sidebar_position: 3
---

# How to create a proposal

If you don't know what a proposal is, read the [proposal explanation
doc](/features/proposals/what) first.
If you don't know what a proposal is, read the [proposal explanation doc](../what.md) first.

:::note

Members must join the DAO before a proposal is made in order to vote on it.
Membership changes during a proposal's voting period are ignored as they only
apply to future proposals.
Members must join the DAO before a proposal is made in order to vote on it. Membership changes during a proposal's voting period are ignored as they only apply to future proposals.

:::

## Steps

To begin, starting from your DAO's page, navigate to **Proposals > New
Proposal**.
To begin, starting from your DAO's page, navigate to **Proposals > New Proposal**.

![Create proposal button](/img/how-to/proposals-tab.png)

Expand All @@ -28,20 +24,15 @@ Then, fill in the proposal's name, description, and actions (if needed).

:::tip What is an action?

[Proposal actions](/features/proposals/what#actions) allow you to add rich
functionality to proposals: software instructions that execute on the blockchain
when a proposal is passed and executed. Read the [proposal
docs](/features/proposals/what) to learn more.
[Proposal actions](../what.md#actions) allow you to add rich functionality to proposals: software instructions that execute on the blockchain when a proposal is passed and executed. Read the [proposal docs](../what.md) to learn more.

:::

If you want to create a multiple choice proposal, check out the [multiple choice
proposal docs](/features/proposals/types#multiple-choice).
If you want to create a multiple choice proposal, check out the [multiple choice proposal docs](../types.md#multiple-choice).

To preview how the proposal will look once its created, press **Preview**.

Once you are satisfied with the proposal, press **Publish**. Your wallet will
prompt you to approve the transaction.
Once you are satisfied with the proposal, press **Publish**. Your wallet will prompt you to approve the transaction.

Once you approve it, your proposal will be live and the DAO members can vote on it!

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
---
sidebar_position: 2
sidebar_position: 4
---

# How to vote on a proposal

Once you've [created a proposal](/how-to/how-to-create-a-proposal), members of
the DAO need to vote on it.
Once you've [created a proposal](../how-to-create-a-proposal.md), members of the DAO need to vote on it.

## Steps

To begin, starting from your DAO's page, navigate to the proposal from the
**Proposals** tab.
To begin, starting from your DAO's page, navigate to the proposal from the **Proposals** tab.

![Proposals tab](/img/how-to/proposals-tab-with-proposals.png)

Expand All @@ -22,11 +20,8 @@ Click on the desired vote option on the left side of the page.

![Vote options](/img/how-to/single-choice-proposal-vote-options.png)

Click on the **Cast your vote** button to submit your vote. Approve the
transaction in your wallet to confirm submission.
Click on the **Cast your vote** button to submit your vote. Approve the transaction in your wallet to confirm submission.

![Proposal still open](/img/how-to/open-proposal-already-voted.png)

The proposal will be updated with your vote. If your vote was sufficient to pass
or fail the proposal, it will now be complete. Since this proposal's outcome has
not yet been determined, it is still open for voting.
The proposal will be updated with your vote. If your vote was sufficient to pass or fail the proposal, it will now be complete. Since this proposal's outcome has not yet been determined, it is still open for voting.
Loading
Loading