{"id":13566314,"url":"https://github.com/near-ndc/voting-v1","last_synced_at":"2025-04-04T00:30:27.058Z","repository":{"id":86984925,"uuid":"548532961","full_name":"near-ndc/voting-v1","owner":"near-ndc","description":"Voting smart contracts for NDC v1","archived":false,"fork":false,"pushed_at":"2024-04-12T13:52:44.000Z","size":583,"stargazers_count":6,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-04T20:42:25.649Z","etag":null,"topics":["blockchain","near","near-protocol","smart-contracts","voting"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/near-ndc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-09T19:07:23.000Z","updated_at":"2024-03-16T08:47:23.000Z","dependencies_parsed_at":"2023-10-04T23:15:53.203Z","dependency_job_id":"3a7bcff6-c6ca-494b-b91d-6624317e44ca","html_url":"https://github.com/near-ndc/voting-v1","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/near-ndc%2Fvoting-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/near-ndc%2Fvoting-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/near-ndc%2Fvoting-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/near-ndc%2Fvoting-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/near-ndc","download_url":"https://codeload.github.com/near-ndc/voting-v1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103305,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","near","near-protocol","smart-contracts","voting"],"created_at":"2024-08-01T13:02:06.905Z","updated_at":"2025-04-04T00:30:26.753Z","avatar_url":"https://github.com/near-ndc.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# NDC v1 Smart Contracts\n\nIn NDC v1, there will be only two mechanisms to vote: simple proposal voting and elections. Both are based on stake weight.\n\n- Details about the Framework: [near-ndc/gov](https://github.com/near-ndc/gov).\n\nThis repository provides smart contracts for NDC v1 Voting Body.\n\n## Proposal types\n\n| Proposal                                     | Voting Entity | Contract    |\n| :------------------------------------------- | :------------ | :---------- |\n| Elect house representatives                  | Voting Body   | elections   |\n| Constitution ratification                    | Voting Body   | voting body |\n| Dissolve a house and call for new elections  | Voting Body   | voting body |\n| Setup Package                                | Voting Body   | voting body |\n| Budget ratification                          | Voting Body   | voting body |\n| Veto HoM Recurrent and Big Funding Proposals | Voting Body   | voting body |\n| Budget                                       | HoM           | congress    |\n| Transfer Funds                               | HoM           | congress    |\n| Funding proposal                             | HoM           | congress    |\n| Veto any HoM proposal                        | CoA           | congress    |\n| Reinstate representative                     | TC / CoA      | congress    |\n| Investigate                                  | TC            | congress    |\n| Remove representative                        | TC            | congress    |\n\nIn NDC v1, Voting Body can't make proposal for budget management. They can only veto budget proposals.\n\n### General voting rules\n\n- user can only vote for active proposals\n- user can not overwrite his vote\n\n### Elections\n\nElections for NDC v1 Houses.\n\n👉 [**Voting Process**](https://github.com/near-ndc/gov/blob/main/framework-v1/elections-voting.md)\n\n### Voting Body\n\nVoting Body is set of human verified NEAR accounts constituting NDC.\n\nVoting 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).\n\n- 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.\n- **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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnear-ndc%2Fvoting-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnear-ndc%2Fvoting-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnear-ndc%2Fvoting-v1/lists"}