Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/near-ndc/voting-v1

Voting smart contracts for NDC v1
https://github.com/near-ndc/voting-v1

blockchain near near-protocol smart-contracts voting

Last synced: 2 months ago
JSON representation

Voting smart contracts for NDC v1

Awesome Lists containing this project

README

        

# NDC v1 Smart Contracts

In NDC v1, there will be only two mechanisms to vote: simple proposal voting and elections. Both are based on stake weight.

- Details about the Framework: [near-ndc/gov](https://github.com/near-ndc/gov).

This repository provides smart contracts for NDC v1 Voting Body.

## Proposal types

| Proposal | Voting Entity | Contract |
| :------------------------------------------- | :------------ | :---------- |
| Elect house representatives | Voting Body | elections |
| Constitution ratification | Voting Body | voting body |
| Dissolve a house and call for new elections | Voting Body | voting body |
| Setup Package | Voting Body | voting body |
| Budget ratification | Voting Body | voting body |
| Veto HoM Recurrent and Big Funding Proposals | Voting Body | voting body |
| Budget | HoM | congress |
| Transfer Funds | HoM | congress |
| Funding proposal | HoM | congress |
| Veto any HoM proposal | CoA | congress |
| Reinstate representative | TC / CoA | congress |
| Investigate | TC | congress |
| Remove representative | TC | congress |

In NDC v1, Voting Body can't make proposal for budget management. They can only veto budget proposals.

### General voting rules

- user can only vote for active proposals
- user can not overwrite his vote

### Elections

Elections for NDC v1 Houses.

👉 [**Voting Process**](https://github.com/near-ndc/gov/blob/main/framework-v1/elections-voting.md)

### Voting Body

Voting Body is set of human verified NEAR accounts constituting NDC.

Voting mechanisms as well as Powers, Checks and Balances of the Voting Body is described in the [NDC Gov v1 Framework](https://github.com/near-ndc/gov/blob/main/framework-v1/gov-framework.md).

- Propose and approve HoM **setup package**: a request to deploy funds from the [Community Treasury](https://github.com/near-ndc/gov/blob/main/framework-v1/community-treasury.md) to HoM DAO.
- **Voting Body Veto** is a special proposal to veto other proposal made by a house. When a HoM or CoA proposal will pass it must not be executed immediately. There must be an challenge period, where a Voting Body or the TC can stop the proposal execution by successfully submitting a Veto proposal.