Back to Home

Democracy

Utility
0x27fd1c9abcfb...24516f3f38b1
FrontierContract #488Exact Bytecode MatchEdit this contract
Deployed August 25, 2015 (11 years ago)Block 142,037

Token-weighted voting on proposals that execute a call when they pass

Frontier EraVerified Source

Historical Significance

A DAO from the ethereum.org tutorial. Proposals name a recipient, an amount of ether, a data payload and a description, and anyone holding a balance in the token contract passed to the constructor may raise one or vote on it with a position of minus one, zero or one. Votes are weighted by the voter's token balance at the moment the proposal is tallied, not at the moment of voting. Once the debating period has elapsed anyone may call executeProposal, which sums the weighted positions and, if the quorum is met and the result is positive, performs the recipient call with the proposal's ether and data. A tallied proposal is marked inactive so it cannot run twice.

Context

Deployed in August 2015, in the first month of the Frontier chain, and compiled with solc v0.1.1. The deployer dropped the tutorial's default quorum and changed its debating period from minutes to seconds.

Key Facts
Deployment Block
142,037
Deployment Date
Aug 25, 2015, 05:50 PM
Code Size
3.7 KB
Gas at Deploy
1,033,570

Description

A DAO from the ethereum.org tutorial. Proposals name a recipient, an amount of ether, a data payload and a description, and anyone holding a balance in the token contract passed to the constructor may raise one or vote on it with a position of minus one, zero or one. Votes are weighted by the voter's token balance at the moment the proposal is tallied, not at the moment of voting. Once the debating period has elapsed anyone may call executeProposal, which sums the weighted positions and, if the quorum is met and the result is positive, performs the recipient call with the proposal's ether and data. A tallied proposal is marked inactive so it cannot run twice.

Source Verified

Exact bytecode match(3,764 bytes)
Compiler: v0.1.1+
Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Utility

Bytecode Overview

Opcodes3,764
Unique Opcodes176
Jump Instructions135
Storage Operations98

External Links

Related contracts