Contract Overview
Balance: 0.00302035107081945 Ether
Ether Value: $0.27 (@ $90.30/ETH)
Transactions: 12898 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xccbd7bc4b3bbcd74b3880a74505a206af072c47fat txn 0x790c9806358c088e092ed69efd72220cd49fed695b82668e65cf900b1bc99cf3
Token Balance:
 Latest 25 transactions from a total of 12898 transactions
(+1 PendingTxn)

TxHash Age From To Value [TxFee]
0xc615bf570824750fb6a15ad52b0d71b13f2e44f6c1d64d8090987d921ded0e17(pending)0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb1  IN  0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether(Pending)
0x3845ffe2896f0149f4cc9c0780f65f473bafce12e360af692ae6a110fd325f0b12 days 3 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000402766
0xb24e14ecc0822e7f8d6c45bf75659ff6f64df3bbf8984b7edf2c416e009d66b914 days 15 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230152
0x3fb7fc550fb00f08d4496b8c01e78acbdb706abfe95ff8965eca0411aa2e58dd16 days 21 hrs ago0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb1  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000086307
0x11bca811ecbf1eb1f32c895432b1aa9a30ea4d9a4eade142ff95b54446dfdafd19 days 15 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230152
0x9cfd2d61ec96e40a87b9a28cbdd6450100450b432d44c4e8a0d066dcce05230120 days 16 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230152
0x0a05a0ca6996142776c4ede6c139b8cb167cdf241f77c40f7d1f958b9ada2da322 days 17 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000633028
0xfb53a57c2f8804bc5b7a53a84cbd7a6b7428e06aa56a6d5abbeac1c810b9173223 days 9 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000172614
0x279f286fab355d3e50e52fe2c0ec6555fd7d113d651b8d2284fe795abd21141f31 days 8 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000115076
0x8b1838f0dfde6d7ec224e6ff652f29a6b825d826073485697834acf274b37cc332 days 17 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.00028769
0x1383cad723a6abc8a3f4af5c622ce7f25604e263e07f5241c9fd56ce8142abc435 days 2 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000460384
0xaeabd3155c29dfd6862ec2b2cbcd1b37c253edfa0da028c56399a1da88d345ea35 days 15 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000517842
0xab95f07638106b637f7ac205f0653a3d1385e045aba6e87b102b326e9673892736 days 1 hr ago0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb1  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000086307
0xc01be5fdb15de9f57aa00da136a4ccb6e6615689f5bc7294a8cbab29fa23e9b036 days 17 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000747994
0x701b5aa29f67d6e5eadf799b17bc09fb403f4e2c4f06c4ebeba0f59e0208b42339 days 4 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000345288
0x9530c7209d6b9b98814c5a4660f005b1e0bfec54269ce3ea8a3ef5c04cf81cb940 days 33 mins ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.00057538
0xf45b6166ba2470e73e69c8f7d24896b56f4daab2658b758a4ed7ab042a96623041 days 4 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.00028774
0x4816990629fe55ad367cedf03da30e33882e64278106d4bfe828238b7757466f42 days 4 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.00028774
0x5d60a1e072453604af58ec65e0999e544bb6dc9314ee3c35392c0b483df7224942 days 4 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000285825
0xcbfccd65acd379102ff658dacf29e2b81f78957435fb627858d1c2cd7098de7843 days 4 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230192
0x7f7822b17b6453e8be8adcbe98a1c392bc923b7ff0fc9c3be304b6e081d73c0843 days 5 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000229928
0xeb30766814fb1a370ff53fdb4bfe9dd393d7cf850278457191dd6fa99b59c76243 days 5 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230192
0x7a0daa2749dbc88199bf95d9e85d34f5987d54b02b259f9549973134defdeb7843 days 5 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230192
0xf98f9571cd995e2b83784adc25f75a96e59ac628878d47c03f842cd0dd3ed43943 days 5 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230192
0x60a2bb6c353f7af92032ae6f9b9c26e454d3b6a00aa5c4cdfd183c435dcc76f843 days 5 hrs ago0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a56  IN   0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0 Ether0.000230192
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x5d60a1e072453604af58ec65e0999e544bb6dc9314ee3c35392c0b483df72249661552042 days 4 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x03c4dcdbd7efc4fd32e2c0e92d4e1f8b778e1a560.028851114706335045 Ether
0x5d60a1e072453604af58ec65e0999e544bb6dc9314ee3c35392c0b483df72249661552042 days 4 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.001202129779430626 Ether
0xcf21bb84fc5847631c88aff8d14f586276209267d784d6851e3ad9b8826c290f657003449 days 15 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb10.004300508158515741 Ether
0xcf21bb84fc5847631c88aff8d14f586276209267d784d6851e3ad9b8826c290f657003449 days 15 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000179187839938155 Ether
0x705ba378cbb09a5f0b236496f7e81de0d3a643a468ba3001fece03b76a5ebbaa653350855 days 14 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb10.003224611797212653 Ether
0x705ba378cbb09a5f0b236496f7e81de0d3a643a468ba3001fece03b76a5ebbaa653350855 days 14 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.00013435882488386 Ether
0xfe4f6ed660c1d57c5ccad76ced97f66473ba92f76d4cff611faddfbb42d4e095653266655 days 17 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb10.000001792737854532 Ether
0xfe4f6ed660c1d57c5ccad76ced97f66473ba92f76d4cff611faddfbb42d4e095653266655 days 17 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000000074697410605 Ether
0x80f4721db35cb0a985c1d1e7c69f87c02da26b95ea8be6ae3faeb04d7f886b9d653266555 days 17 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x0a2c507e52f58d4f3d3e01d2bad9581596a64bb10.00020062010385035 Ether
0x80f4721db35cb0a985c1d1e7c69f87c02da26b95ea8be6ae3faeb04d7f886b9d653266555 days 17 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000008359170993764 Ether
0xa3870395aa480d97791bca3cbd98f8273926bd295aa7004226543b10f23d8321652394657 days 4 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.0004 Ether
0xef49c64e46eaf9518bfccb45a64f535a62507f72c84f32256099cb53c2ae103b651322058 days 22 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.0004 Ether
0xc15b5e6f1792797cf0d8c86b11922971424e1de8e0c23db0cae4e1a94183c798650256560 days 15 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.0004 Ether
0xb3bc2243b4da19bb73f0e5ff195afef041c858109338971c428c6ccecd2dd949638023180 days 14 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.0004 Ether
0xd814bf6e42b6fbe5b7fee7922ca46e8a7640ef256ed97bd8fe9ffa9a3d79fed6636641982 days 21 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x9dbe0db82aefa66d854855205e78545f310038580.001045255710417828 Ether
0xd814bf6e42b6fbe5b7fee7922ca46e8a7640ef256ed97bd8fe9ffa9a3d79fed6636641982 days 21 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000043552321267409 Ether
0x7b119db815701c3a5c9208179ab9f6462c40cdfc1764b34bcf323f4a3ab0e9f0635928684 days 1 hr ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x9dbe0db82aefa66d854855205e78545f310038580.002438001493786021 Ether
0x7b119db815701c3a5c9208179ab9f6462c40cdfc1764b34bcf323f4a3ab0e9f0635928684 days 1 hr ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000101583395574417 Ether
0x0bf8bfb08b3d24705f0c7b32d1a10acfaffb9a2cbf11025a3b27ebe8bb46d891635290385 days 2 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x9dbe0db82aefa66d854855205e78545f310038580.00572960133053828 Ether
0x0bf8bfb08b3d24705f0c7b32d1a10acfaffb9a2cbf11025a3b27ebe8bb46d891635290385 days 2 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.000238733388772428 Ether
0xded2555ad0783f2eb77fe2a130a309689fe00853670fe815eda97388e283950b634224786 days 20 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.0004 Ether
0x5dba0dff6d3a852dd3adacc94c2a2e5a5cfbc25e1b97e61f38b51a52e6a32093634108387 days 1 hr ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x9dbe0db82aefa66d854855205e78545f3100385872 wei
0x5dba0dff6d3a852dd3adacc94c2a2e5a5cfbc25e1b97e61f38b51a52e6a32093634108387 days 1 hr ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f2 wei
0x9e2c7ae210d3dd69766ef42e7abb036b52f1804fa86d8fe061ec0e442839e6a3626802799 days 6 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0x658c20b95213def63be5abc5a0885010b70f9ef50.006966496975712881 Ether
0x9e2c7ae210d3dd69766ef42e7abb036b52f1804fa86d8fe061ec0e442839e6a3626802799 days 6 hrs ago0xf9c402ac9aa43857e2fbf541ca1d38291d412e3d0xccbd7bc4b3bbcd74b3880a74505a206af072c47f0.00029027070732137 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: AnthillFarmer
Compiler Text: v0.4.24-nightly.2018.5.16+commit.7f965c86
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18; // solhint-disable-line



contract AnthillFarmer{
    //uint256 ANTS_PER_ANTHILL_PER_SECOND=1;
    uint256 public ANTS_TO_COLLECT_1ANTHILL=86400;//for final version should be seconds in a day
    uint256 public STARTING_ANTHILL=300;
    uint256 PSN=10000;
    uint256 PSNH=5000;
    bool public initialized=false;
    address public ceoAddress;
    mapping (address => uint256) public Anthills;
    mapping (address => uint256) public claimedAnts;
    mapping (address => uint256) public lastCollect;
    mapping (address => address) public referrals;
    uint256 public marketAnts;
    function AnthillFarmer() public{
        ceoAddress=msg.sender;
    }
    function collectAnts(address ref) public{
        require(initialized);
        if(referrals[msg.sender]==0 && referrals[msg.sender]!=msg.sender){
            referrals[msg.sender]=ref;
        }
        uint256 antsUsed=getMyAnts();
        uint256 newAnthill=SafeMath.div(antsUsed,ANTS_TO_COLLECT_1ANTHILL);
        Anthills[msg.sender]=SafeMath.add(Anthills[msg.sender],newAnthill);
        claimedAnts[msg.sender]=0;
        lastCollect[msg.sender]=now;
        
        //send referral ants
        claimedAnts[referrals[msg.sender]]=SafeMath.add(claimedAnts[referrals[msg.sender]],SafeMath.div(antsUsed,5));
        
        //boost market to nerf anthill hoarding
        marketAnts=SafeMath.add(marketAnts,SafeMath.div(antsUsed,10));
    }
    function sellAnts() public{
        require(initialized);
        uint256 hasAnts=getMyAnts();
        uint256 antValue=calculateAntSell(hasAnts);
        uint256 fee=devFee(antValue);
        claimedAnts[msg.sender]=0;
        lastCollect[msg.sender]=now;
        marketAnts=SafeMath.add(marketAnts,hasAnts);
        ceoAddress.transfer(fee);
        msg.sender.transfer(SafeMath.sub(antValue,fee));
    }
    function buyAnts() public payable{
        require(initialized);
        uint256 antsBought=calculateAntBuy(msg.value,SafeMath.sub(this.balance,msg.value));
        antsBought=SafeMath.sub(antsBought,devFee(antsBought));
        ceoAddress.transfer(devFee(msg.value));
        claimedAnts[msg.sender]=SafeMath.add(claimedAnts[msg.sender],antsBought);
    }
    //magic trade balancing algorithm
    function calculateTrade(uint256 rt,uint256 rs, uint256 bs) public view returns(uint256){
        //(PSN*bs)/(PSNH+((PSN*rs+PSNH*rt)/rt));
        return SafeMath.div(SafeMath.mul(PSN,bs),SafeMath.add(PSNH,SafeMath.div(SafeMath.add(SafeMath.mul(PSN,rs),SafeMath.mul(PSNH,rt)),rt)));
    }
    function calculateAntSell(uint256 ants) public view returns(uint256){
        return calculateTrade(ants,marketAnts,this.balance);
    }
    function calculateAntBuy(uint256 eth,uint256 contractBalance) public view returns(uint256){
        return calculateTrade(eth,contractBalance,marketAnts);
    }
    function calculateAntBuySimple(uint256 eth) public view returns(uint256){
        return calculateAntBuy(eth,this.balance);
    }
    function devFee(uint256 amount) public view returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,4),100);
    }
    function seedMarket(uint256 ants) public payable{
        require(marketAnts==0);
        initialized=true;
        marketAnts=ants;
    }
    function getFreeAnthill() public{
        require(initialized);
        require(Anthills[msg.sender]==0);
        lastCollect[msg.sender]=now;
        Anthills[msg.sender]=STARTING_ANTHILL;
    }
    function getBalance() public view returns(uint256){
        return this.balance;
    }
    function getMyAnthill() public view returns(uint256){
        return Anthills[msg.sender];
    }
    function getMyAnts() public view returns(uint256){
        return SafeMath.add(claimedAnts[msg.sender],getAntsSinceLastCollect(msg.sender));
    }
    function getAntsSinceLastCollect(address adr) public view returns(uint256){
        uint256 secondsPassed=min(ANTS_TO_COLLECT_1ANTHILL,SafeMath.sub(now,lastCollect[adr]));
        return SafeMath.mul(secondsPassed,Anthills[adr]);
    }
    function min(uint256 a, uint256 b) private pure returns (uint256) {
        return a < b ? a : b;
    }
}

library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketAnts","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"Anthills","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"rt","type":"uint256"},{"name":"rs","type":"uint256"},{"name":"bs","type":"uint256"}],"name":"calculateTrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ants","type":"uint256"}],"name":"seedMarket","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"devFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STARTING_ANTHILL","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyAnthill","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"claimedAnts","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastCollect","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"referrals","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyAnts","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"adr","type":"address"}],"name":"getAntsSinceLastCollect","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getFreeAnthill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"sellAnts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"ref","type":"address"}],"name":"collectAnts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"},{"name":"contractBalance","type":"uint256"}],"name":"calculateAntBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"ants","type":"uint256"}],"name":"calculateAntSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyAnts","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"}],"name":"calculateAntBuySimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ANTS_TO_COLLECT_1ANTHILL","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
60806040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff02191690831515021790555034801561004457600080fd5b5033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112f1806100956000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f8168146101385780630d1352cf1461018f57806312065fe0146101ba578063158ef93e146101e557806321cc191414610214578063229824c41461026b5780633b653755146102c05780633bc0461a146102e05780635b475e2214610321578063620b0f231461034c5780636b7979c91461037757806388f707a5146103ce5780639ca423b3146104255780639dff78de146104a8578063b10477c9146104b2578063b59ffdd314610509578063b6a9ed3114610520578063b6cb377714610537578063c7411eb41461057a578063c781d7b0146105c5578063c89cea9914610606578063efd2abec14610631578063f31011ac14610672575b600080fd5b34801561014457600080fd5b5061014d61069d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019b57600080fd5b506101a46106c3565b6040518082815260200191505060405180910390f35b3480156101c657600080fd5b506101cf6106c9565b6040518082815260200191505060405180910390f35b3480156101f157600080fd5b506101fa6106e8565b604051808215151515815260200191505060405180910390f35b34801561022057600080fd5b50610255600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106fb565b6040518082815260200191505060405180910390f35b34801561027757600080fd5b506102aa600480360381019080803590602001909291908035906020019092919080359060200190929190505050610713565b6040518082815260200191505060405180910390f35b6102de60048036038101908080359060200190929190505050610766565b005b3480156102ec57600080fd5b5061030b6004803603810190808035906020019092919050505061079c565b6040518082815260200191505060405180910390f35b34801561032d57600080fd5b506103366107ba565b6040518082815260200191505060405180910390f35b34801561035857600080fd5b506103616107c0565b6040518082815260200191505060405180910390f35b34801561038357600080fd5b506103b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610807565b6040518082815260200191505060405180910390f35b3480156103da57600080fd5b5061040f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061081f565b6040518082815260200191505060405180910390f35b34801561043157600080fd5b50610466600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610837565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104b061086a565b005b3480156104be57600080fd5b506104f3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109c7565b6040518082815260200191505060405180910390f35b34801561051557600080fd5b5061051e610a71565b005b34801561052c57600080fd5b50610535610b66565b005b34801561054357600080fd5b50610578600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cff565b005b34801561058657600080fd5b506105af6004803603810190808035906020019092919080359060200190929190505050611153565b6040518082815260200191505060405180910390f35b3480156105d157600080fd5b506105f06004803603810190808035906020019092919050505061116a565b6040518082815260200191505060405180910390f35b34801561061257600080fd5b5061061b611197565b6040518082815260200191505060405180910390f35b34801561063d57600080fd5b5061065c600480360381019080803590602001909291905050506111ef565b6040518082815260200191505060405180910390f35b34801561067e57600080fd5b50610687611219565b6040518082815260200191505060405180910390f35b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b60056020528060005260406000206000915090505481565b600061075d6107246002548461121f565b61075860035461075361074d61073c6002548a61121f565b6107486003548c61121f565b61125a565b89611278565b61125a565b611278565b90509392505050565b600060095414151561077757600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b60006107b36107ac83600461121f565b6064611278565b9050919050565b60015481565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60066020528060005260406000206000915090505481565b60076020528060005260406000206000915090505481565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900460ff16151561088757600080fd5b6108b1346108ac3073ffffffffffffffffffffffffffffffffffffffff163134611293565b611153565b90506108c5816108c08361079c565b611293565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61090c3461079c565b9081150290604051600060405180830381858888f19350505050158015610937573d6000803e3d6000fd5b50610981600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600080610a1e600054610a1942600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611293565b6112ac565b9050610a6981600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f565b915050919050565b600460009054906101000a900460ff161515610a8c57600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141515610ada57600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000806000600460009054906101000a900460ff161515610b8657600080fd5b610b8e611197565b9250610b998361116a565b9150610ba48261079c565b90506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c3b6009548461125a565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ca9573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc610cce8484611293565b9081150290604051600060405180830381858888f19350505050158015610cf9573d6000803e3d6000fd5b50505050565b600080600460009054906101000a900460ff161515610d1d57600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610e2d57503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610eb15782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610eb9611197565b9150610ec782600054611278565b9050610f12600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061109060066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461108b846005611278565b61125a565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061114860095461114384600a611278565b61125a565b600981905550505050565b60006111628383600954610713565b905092915050565b6000611190826009543073ffffffffffffffffffffffffffffffffffffffff1631610713565b9050919050565b60006111ea600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e5336109c7565b61125a565b905090565b6000611212823073ffffffffffffffffffffffffffffffffffffffff1631611153565b9050919050565b60005481565b60008060008414156112345760009150611253565b828402905082848281151561124557fe5b0414151561124f57fe5b8091505b5092915050565b600080828401905083811015151561126e57fe5b8091505092915050565b600080828481151561128657fe5b0490508091505092915050565b60008282111515156112a157fe5b818303905092915050565b60008183106112bb57816112bd565b825b9050929150505600a165627a7a72305820a5cdce4b90268318e57d9dd41921c9399aabf7693125116c53721d2f779516220029

   Swarm Source:
bzzr://a5cdce4b90268318e57d9dd41921c9399aabf7693125116c53721d2f77951622

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.