DAO vote — Solidity contract

Token-weighted proposals with a voting window and a quorum; execution is a recorded outcome. One file, no imports, 68 lines. Compiled with solc 0.8.36 on every build. Labelled community: written for this library, not independently audited.

What it does

9 functions (6 read, 3 write), 3 events, 3685 bytes of creation bytecode. Constructor: address token, uint256 quorumBps, uint64 votingPeriod.

Use it

Open it in the IDE to compile and deploy through your wallet, or fork it into a workspace and change it. The ABI explorer beside this page calls a deployed instance at any address.