This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
contract LeakCHain { | |
struct Voter { | |
address addr; | |
uint256 reputation; | |
uint256 balance; | |
} | |
uint256 baseReputation = 1000000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
contract Auction { | |
uint ask; | |
uint startTime; | |
uint timeLimit; | |
address owner; | |
bool completed; | |
uint winningBid; |