cw-voting

Crates.iocw-voting
lib.rscw-voting
version0.10.0
sourcesrc
created_at2020-08-17 15:34:15.239645
updated_at2021-05-27 09:35:12.168767
descriptionSimple CosmWasm contract for voting
homepage
repositoryhttps://github.com/CosmWasm/cosmwasm-examples
max_upload_size
id277558
size114,648
Ethan Frey (ethanfrey)

documentation

README

Voting

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.

Commit count: 578

cargo fmt