contract ERC20Interface {
    // Get the total token supply
    function totalSupply() public constant returns (uint256 totalSupply);
 
    // Get the account balance of another account with address _owner
    function balanceOf(address _owner) public constant returns (uint256 balance);
  
     // Send _value amount of tokens to address _to
     function transfer(address _to, uint256 _value) public returns (bool success);
  
     // Send _value amount of tokens from address _from to address _to
     function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
  
     // Allow _spender to withdraw from your account, multiple times, up to the _value amount.
     // If this function is called again it overwrites the current allowance with _value.
     // this function is required for some DEX functionality
     function approve(address _spender, uint256 _value) public returns (bool success);
  
     // Returns the amount which _spender is still allowed to withdraw from _owner
     function allowance(address _owner, address _spender) public constant returns (uint256 remaining);
  
     // Triggered when tokens are transferred.
     event Transfer(address indexed _from, address indexed _to, uint256 _value);
  
     // Triggered whenever approve(address _spender, uint256 _value) is called.
     event Approval(address indexed _owner, address indexed _spender, uint256 _value);
 }
// </ORACLIZE_API>
// ----------------------------------------------------------------------------------------------
// Claes Cash currency v2.0
//  © Tulpanlöken Development 2018
// claes.cash
// Contract address: claescash.eth
// ----------------------------------------------------------------------------------------------
//
//  ****************************************** Rule book *****************************************
//  The round is 7 days long, the contract stops accepting bets 2 days prior the rounds end.
//  The winners gets the the amount of new tweets and/or whats in the stake during the round. 
//
//  §0 if there is no winner the amount of new tweets is added in the stake as Claes Cash.  
//  §1 If there are many winners they share the amount, and if the amount is not shareable with 
//     the winners the first one to gather the prize will receive all of it. 
//      Example 3 tweets, 5 winners, will not be able split. The first to withdraw will get 3 CC. 
//  §2 If the amount is not shareable even between the number of winners, the first one to gather 
//     the prize will get the bonus until the amount is even shareable.
//      Example 5 tweets 3 winners, two will get 1 CC each, the first  will get  3 CC (5%3 = 2)
//  §3 If number of tweets have decreased during the round, 0 tweets is the correct answer
//     the winner or winners can gather the in stake amount,  and shared as in rule §1 and §2
//  §4 Total supply of tokens is the intital supply + amount with winners, the rest is in the stake.
//  §5 Decrease of tweets does not decrease the amount of total supply.
//
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/issues/20
function transfer(address _to, uint256 _value) public returns (bool success);

// Send _value amount of tokens to address _to