This file contains hidden or 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
contract MoneySupplyTax is Coin { | |
address taxCollector; | |
uint taxRate; | |
mapping(address => uint) taxDeclared; | |
function enforceTax(address _account) internal { | |
uint undeclared = taxrate**(block.timestamp - taxDeclared[_account]); | |
balanceOf[_account] *= undeclared; | |
if(_account == taxCollector) balanceOf[_account] += totalSupply - totalSupply*undeclared; |
This file contains hidden or 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
contract Oracle { | |
mapping (uint => uint) public seed; | |
mapping (uint => mapping (uint => uint)) public points; | |
mapping (uint => uint[]) public leaderboard; | |
mapping (uint => mapping (uint => uint)) public leaderboardIndex; | |
struct Score { | |
uint start; |
OlderNewer