Verified contractPartial
Democracy
Address0x96f1ca36f1b302924c28fe770bd467aee2bf09d5
- Balance
0 ETH
- Transactions
12
- Compiler
solc 0.1.3
- Same code
Only this contract
Details
- Compiler
- solc 0.1.3+commit.028f561d
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 224,865
- Creation transaction
- 0xf87ab79e4d…027d1eb355
Democracy.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract quorum {
/// compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout
uint public minimumQuorum;
}
contract founded {
address public
/// compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phas
founder;
}
contract rules {
uint public debatingPeriod;
uint public voterShare;
}
contract proposals is quorum, rules, founded {
event ProposalAdded(uint proposalID, address recipient, uint amount, bytes32 data, string description);
event Voted(uint proposalID, int position, address voter);
event ProposalTallied(uint proposalID, int result, uint quorum, bool active);
struct Proposal {
address recipient;
uint amount;
bytes32 data;
string description;
uint creationDate;
bool active;
Vote[] votes;
mapping (address => bool) voted;
}
struct Vote {
int position;
address voter;
}
function executeProposal(uint _proposalID) returns (int result) {
Proposal p = proposals[_proposalID];
/* Check if debating period is over */
if (now > (p.creationDate + debatingPeriod) && p.active){
uint quorum = 0;
/* tally the votes */
for (uint i = 0; i < p.votes.length; ++i) {
Vote v = p.votes[i];
uint voteWeight = voterShare;
quorum += voteWeight;
result += int(voteWeight) * v.position;
}
/* execute result */
if (quorum >= minimumQuorum && result > 0 ) {
p.active = false;
} else if (quorum >= minimumQuorum && result < 0) {
p.active = false;
}
ProposalTallied(_proposalID, result, quorum, p.active);
}
}
Proposal[] public proposals;
uint public numProposals;
function vote(uint _proposalID, int _position) returns (uint voteID){
if (_position >= -1 || _position <= 1 ) {
Proposal p = proposals[_proposalID];
if (p.voted[msg.sender] == true) return;
voteID = p.votes.length++;
p.votes[voteID] = Vote({position: _position, voter: msg.sender});
p.voted[msg.sender] = true;
Voted(_proposalID, _position, msg.sender);
}
}
function newProposal(address _recipient, uint _amount, bytes32 _data, string _description) returns (uint proposalID) {
proposalID = proposals.length++;
Proposal p = proposals[proposalID];
p.recipient = _recipient;
p.amount = _amount;
p.data = _data;
p.description = _description;
p.creationDate = now;
p.active = true;
ProposalAdded(proposalID, _recipient, _amount, _data, _description);
numProposals = proposalID+1;
}
}
contract Democracy is proposals {
function Democracy(uint _minimumQuorum, uint _debatingPeriod) {
founder = msg.sender;
voterShare = 1;
minimumQuorum = _minimumQuorum;
debatingPeriod = _debatingPeriod * 1 minutes;
}
function kill() {
if (msg.sender == founder) suicide(founder);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.