| Crates.io | cw-voting |
| lib.rs | cw-voting |
| version | 0.10.0 |
| created_at | 2020-08-17 15:34:15.239645+00 |
| updated_at | 2021-05-27 09:35:12.168767+00 |
| description | Simple CosmWasm contract for voting |
| homepage | |
| repository | https://github.com/CosmWasm/cosmwasm-examples |
| max_upload_size | |
| id | 277558 |
| size | 114,648 |
This is a simple voting contract. It creates a contract to manage token weighted polls, where voters deposit native coins in order to vote. Voters can withdraw their stake, but not while a poll they've participated in is still in progress.
Anyone can create a poll, and as the poll creator, only they are allowed to end/tally the poll.
This contract is mainly considered as a simple tutorial example.