Back to Home

Ballot

Utility
0x640fa67076dd...492365b57e8a
FrontierContract #460Exact Bytecode MatchEdit this contract
Deployed August 25, 2015 (11 years ago)Block 138,935

Delegated voting over five proposals, with the chairperson handing out voting rights

Frontier EraVerified Source

Context

Deployed in August 2015 on the Frontier chain, compiled with solc v0.1.1 and the optimiser enabled.

Key Facts
Deployer
collectibletrust.eth (0x8394a0...a0b8a8)
Deployment Block
138,935
Deployment Date
Aug 25, 2015, 02:58 AM
Code Size
1.3 KB
Gas at Deploy
365,081

Description

A voting contract in the pre-struct form of the Solidity Ballot example, where each part of a voter's record lives in its own mapping: voterWeight, voted, votes and delegations. The account that deploys it becomes the chairperson and is the only one who may call giveRightToVote. A voter may either vote for one of five proposals or delegate to another address, in which case the contract follows the delegation chain to its end before transferring the weight. winningProposal scans the tallies and returns the leader. The proposal count is fixed at five in the constructor.

Source Verified

Exact bytecode match(1,282 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

Opcodes1,282
Unique Opcodes101
Jump Instructions62
Storage Operations44

External Links

Related contracts