Contract 0xdc078ff399d0001c31454e83896e8881d164fb95

 

TxHash Block Age From To Value [TxFee]
0x8a868c3b00cbdd4b29d2e18cce0ae45fd36e8c3d8f6a222742afbc7f48ec6b45690631462 days 31 mins ago0x76d52b505f5331a56fe8ae883a2927634c71b953  IN   0xdc078ff399d0001c31454e83896e8881d164fb950.0001 Ether0.00026676
0x5e46016d406b62e35de84d4c0a33e0933e9c9869812e8187ca73dd7767d43bcb6386145147 days 7 hrs ago0x53265e5bfb624eac46ac32c69aa42bdae4e4ac22  IN   0xdc078ff399d0001c31454e83896e8881d164fb950.001 Ether0.000388102
0x4c3c8e091a9c6e5e97a56d408e0cd98e4627b76d36c047f6ab30ed7e805c13576052763203 days 7 hrs ago0x28c8920d25d5f487c69ada186d950c93f53ddfad  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000057379
0x554117f0a2076a1df002575e03db9631988931343e06358216a9f43f5b8646016045086204 days 13 hrs ago0x28c8920d25d5f487c69ada186d950c93f53ddfad  IN   0xdc078ff399d0001c31454e83896e8881d164fb950.001 Ether0.000070263
0xd8f924ecba2e961ac99c3c0a12fdcd33945fea38d516a1f351889f3c2afde7a06029378207 days 5 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062624
0xcc48f9c47a4a9eb31d6e3b48b7b21f2322618f86521aba38f9d7e9a677435d5b6024345208 days 2 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062614
0xdec8870810053645b0a06766bd7cb9d34e478354893ccea923946bbb6424a2ad6009720210 days 13 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062614
0xc2345754745d167c651f80c86a2ea8613b62b4601af2d539bf9bb4fc26ab9a926006992211 days 1 hr ago0x6223c7cfd08a2dc341f2397834b0a70b9a5bf3c0  IN   0xdc078ff399d0001c31454e83896e8881d164fb950.001 Ether0.000179124
0xedfe1f0e7745311ca740d3d6e0c4642b49c406369f82c306f5e9bd531838f8dd5998054212 days 13 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.00031307
0xdc7db41d6da07608eade3db77d4184fd2e1aa88ab5f57f2c71d1ff071a64601e5988317214 days 5 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.0000688754
0x402573f9f15f8d2a4c8ca3ba472bb7204ba16ee4f301c32389fced69b2fc25865987107214 days 10 hrs ago0xce3bf44497ca9ad9910aa3904e929f2a7cc78ced  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000117111
0x98d7521e5c7fb079cf59403690d9c33b5ec87a54f3fbc93cca25325c059475705982160215 days 6 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.009632898
0x8bac09ecea3c614b7f17a486e60289c6d80dab39fb4b48250f316e60dfa64d115982160215 days 6 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.00062624
0xcfd68df8e74004fc6b3347572ca90cf5c67b61edf20468452f76e6987753e42c5982158215 days 6 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.0030358224
0xb7fc38eb5210bf30cdb0ab43ef55cfa2c3185d0cafb0608e0afae8c3de023b895982158215 days 6 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.0009299664
0xd1a79f74bcd15037832a03f0c75ab4c3bbb94af70f546ed1d05c8fb9154476eb5982143215 days 6 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000125228
0x868adcb21120e8ef1c988906ff9a490c5dccf30e4c34822f62a7aa7a3a1f3dda5864108235 days 9 hrs ago0xeef1c0976a2ef159c15bc19980c9adae9eab2a13  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000114758
0x6624b920bbc58a8663cd719c55503de9f41be744be37bbedd28296b3a2d9d40e5845564238 days 15 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062624
0xc2faba2ee04eb9f9b8e52b26652f95d49195f5b4378c81c3cd12e611fe9ab3205845341238 days 16 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062614
0xc47222b27ae8d468fe3da9e36b7ac622ebd8addd949dddca9ee02eafc86f03675831809240 days 23 hrs ago0xeef1c0976a2ef159c15bc19980c9adae9eab2a13  IN   0xdc078ff399d0001c31454e83896e8881d164fb950.001 Ether0.000070263
0xc5b9382060efffb090e7ecde72312fc8877a4bdebba34f3619838cef67beea085831486241 days 44 mins ago0x2961d208ba3df60cd6841f9794458c57e21b4a00  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000155019
0xf89973a826d85328567548a7b0c4d5cb320fc077255540c13cff1273746b621f5830423241 days 5 hrs ago0xec5a653d77f657829082983fbcaba3406bf90920  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000125228
0x8554ce59b6487f3ca7c204b2da49c3a1c530ecf604d780f08eab2bb469998e135824596242 days 4 hrs ago0xdf4703369ece603a01e049e34e438ff74cd96d66  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000062624
0x270922541e49fbdef531d96cfe23f4c95c0f5a26a715e1eaa8b010061b0c02b85824588242 days 4 hrs ago0xdf4703369ece603a01e049e34e438ff74cd96d66  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000039037
0xf8f938a2b94e9079f0fdff0f4144b8429bc435f3bfab89f7305965b236fae6005824262242 days 6 hrs ago0x804445017f8b947735b6e81d84e77dd7874976ee  IN   0xdc078ff399d0001c31454e83896e8881d164fb950 Ether0.000057379
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x8a868c3b00cbdd4b29d2e18cce0ae45fd36e8c3d8f6a222742afbc7f48ec6b45690631462 days 31 mins ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000004 Ether
0x5e46016d406b62e35de84d4c0a33e0933e9c9869812e8187ca73dd7767d43bcb6386145147 days 7 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.001 Ether
0x554117f0a2076a1df002575e03db9631988931343e06358216a9f43f5b8646016045086204 days 13 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.001 Ether
0xd8f924ecba2e961ac99c3c0a12fdcd33945fea38d516a1f351889f3c2afde7a06029378207 days 5 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000007062809794876 Ether
0xd8f924ecba2e961ac99c3c0a12fdcd33945fea38d516a1f351889f3c2afde7a06029378207 days 5 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000000294283741453 Ether
0xcc48f9c47a4a9eb31d6e3b48b7b21f2322618f86521aba38f9d7e9a677435d5b6024345208 days 2 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000012509171392244 Ether
0xcc48f9c47a4a9eb31d6e3b48b7b21f2322618f86521aba38f9d7e9a677435d5b6024345208 days 2 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000000521215474676 Ether
0xdec8870810053645b0a06766bd7cb9d34e478354893ccea923946bbb6424a2ad6009720210 days 13 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000019194994516944 Ether
0xdec8870810053645b0a06766bd7cb9d34e478354893ccea923946bbb6424a2ad6009720210 days 13 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000000799791438205 Ether
0xc2345754745d167c651f80c86a2ea8613b62b4601af2d539bf9bb4fc26ab9a926006992211 days 1 hr ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.001 Ether
0xedfe1f0e7745311ca740d3d6e0c4642b49c406369f82c306f5e9bd531838f8dd5998054212 days 13 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000029806019270133 Ether
0xedfe1f0e7745311ca740d3d6e0c4642b49c406369f82c306f5e9bd531838f8dd5998054212 days 13 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000001241917469588 Ether
0xdc7db41d6da07608eade3db77d4184fd2e1aa88ab5f57f2c71d1ff071a64601e5988317214 days 5 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000047147079093235 Ether
0xdc7db41d6da07608eade3db77d4184fd2e1aa88ab5f57f2c71d1ff071a64601e5988317214 days 5 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xce3bf44497ca9ad9910aa3904e929f2a7cc78ced0.000001964461628884 Ether
0x8bac09ecea3c614b7f17a486e60289c6d80dab39fb4b48250f316e60dfa64d115982160215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000000010989025225 Ether
0x8bac09ecea3c614b7f17a486e60289c6d80dab39fb4b48250f316e60dfa64d115982160215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.000000000457876051 Ether
0xb7fc38eb5210bf30cdb0ab43ef55cfa2c3185d0cafb0608e0afae8c3de023b895982158215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000000303107468183 Ether
0xb7fc38eb5210bf30cdb0ab43ef55cfa2c3185d0cafb0608e0afae8c3de023b895982158215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.00000001262947784 Ether
0xd1a79f74bcd15037832a03f0c75ab4c3bbb94af70f546ed1d05c8fb9154476eb5982143215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000184809514196286 Ether
0xd1a79f74bcd15037832a03f0c75ab4c3bbb94af70f546ed1d05c8fb9154476eb5982143215 days 6 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.000007700396424845 Ether
0x6624b920bbc58a8663cd719c55503de9f41be744be37bbedd28296b3a2d9d40e5845564238 days 15 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000012822377431145 Ether
0x6624b920bbc58a8663cd719c55503de9f41be744be37bbedd28296b3a2d9d40e5845564238 days 15 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.000000534265726297 Ether
0xc2faba2ee04eb9f9b8e52b26652f95d49195f5b4378c81c3cd12e611fe9ab3205845341238 days 16 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xec5a653d77f657829082983fbcaba3406bf909200.000660603620461981 Ether
0xc2faba2ee04eb9f9b8e52b26652f95d49195f5b4378c81c3cd12e611fe9ab3205845341238 days 16 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.000027525150852582 Ether
0xc47222b27ae8d468fe3da9e36b7ac622ebd8addd949dddca9ee02eafc86f03675831809240 days 23 hrs ago0xdc078ff399d0001c31454e83896e8881d164fb950xdf4703369ece603a01e049e34e438ff74cd96d660.001 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: ShrimpFarmer
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: No
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.18; // solhint-disable-line

// similar as shrimpfarmer, with three changes:
// A. one third of your snails die when you sell eggs
// B. you can transfer ownership of the devfee through sacrificing snails
// C. the "free" 300 snails cost 0.001 eth (in line with the mining fee)

// bots should have a harder time, and whales can compete for the devfee

contract ShrimpFarmer{
    //uint256 EGGS_PER_SHRIMP_PER_SECOND=1;
    uint256 public EGGS_TO_HATCH_1SHRIMP=86400;//for final version should be seconds in a day
    uint256 public STARTING_SHRIMP=300;
    uint256 PSN=10000;
    uint256 PSNH=5000;
    bool public initialized=false;
    address public ceoAddress;
    mapping (address => uint256) public hatcheryShrimp;
    mapping (address => uint256) public claimedEggs;
    mapping (address => uint256) public lastHatch;
    mapping (address => address) public referrals;
    uint256 public marketEggs;
    uint256 public snailmasterReq=100000;
    function ShrimpFarmer() public{
        ceoAddress=msg.sender;
    }
    function becomeSnailmaster() public{
        require(initialized);
        require(hatcheryShrimp[msg.sender]>=snailmasterReq);
        hatcheryShrimp[msg.sender]=SafeMath.sub(hatcheryShrimp[msg.sender],snailmasterReq);
        snailmasterReq=SafeMath.add(snailmasterReq,100000);//+100k shrimps each time
        ceoAddress=msg.sender;
    }
    function hatchEggs(address ref) public{
        require(initialized);
        if(referrals[msg.sender]==0 && referrals[msg.sender]!=msg.sender){
            referrals[msg.sender]=ref;
        }
        uint256 eggsUsed=getMyEggs();
        uint256 newShrimp=SafeMath.div(eggsUsed,EGGS_TO_HATCH_1SHRIMP);
        hatcheryShrimp[msg.sender]=SafeMath.add(hatcheryShrimp[msg.sender],newShrimp);
        claimedEggs[msg.sender]=0;
        lastHatch[msg.sender]=now;
        
        //send referral eggs
        claimedEggs[referrals[msg.sender]]=SafeMath.add(claimedEggs[referrals[msg.sender]],SafeMath.div(eggsUsed,5));
        
        //boost market to nerf shrimp hoarding
        marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,10));
    }
    function sellEggs() public{
        require(initialized);
        uint256 hasEggs=getMyEggs();
        uint256 eggValue=calculateEggSell(hasEggs);
        uint256 fee=devFee(eggValue);
        // kill one third of the owner's snails on egg sale
        hatcheryShrimp[msg.sender]=SafeMath.mul(SafeMath.div(hatcheryShrimp[msg.sender],3),2);
        claimedEggs[msg.sender]=0;
        lastHatch[msg.sender]=now;
        marketEggs=SafeMath.add(marketEggs,hasEggs);
        ceoAddress.transfer(fee);
        msg.sender.transfer(SafeMath.sub(eggValue,fee));
    }
    function buyEggs() public payable{
        require(initialized);
        uint256 eggsBought=calculateEggBuy(msg.value,SafeMath.sub(this.balance,msg.value));
        eggsBought=SafeMath.sub(eggsBought,devFee(eggsBought));
        ceoAddress.transfer(devFee(msg.value));
        claimedEggs[msg.sender]=SafeMath.add(claimedEggs[msg.sender],eggsBought);
    }
    //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 calculateEggSell(uint256 eggs) public view returns(uint256){
        return calculateTrade(eggs,marketEggs,this.balance);
    }
    function calculateEggBuy(uint256 eth,uint256 contractBalance) public view returns(uint256){
        return calculateTrade(eth,contractBalance,marketEggs);
    }
    function calculateEggBuySimple(uint256 eth) public view returns(uint256){
        return calculateEggBuy(eth,this.balance);
    }
    function devFee(uint256 amount) public view returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,4),100);
    }
    function seedMarket(uint256 eggs) public payable{
        require(marketEggs==0);
        initialized=true;
        marketEggs=eggs;
    }
    function getFreeShrimp() public payable{
        require(initialized);
        require(msg.value==0.001 ether); //similar to mining fee, prevents bots
        ceoAddress.transfer(msg.value); //snailmaster gets this entrance fee
        require(hatcheryShrimp[msg.sender]==0);
        lastHatch[msg.sender]=now;
        hatcheryShrimp[msg.sender]=STARTING_SHRIMP;
    }
    function getBalance() public view returns(uint256){
        return this.balance;
    }
    function getMyShrimp() public view returns(uint256){
        return hatcheryShrimp[msg.sender];
    }
    function getSnailmasterReq() public view returns(uint256){
        return snailmasterReq;
    }
    function getMyEggs() public view returns(uint256){
        return SafeMath.add(claimedEggs[msg.sender],getEggsSinceLastHatch(msg.sender));
    }
    function getEggsSinceLastHatch(address adr) public view returns(uint256){
        uint256 secondsPassed=min(EGGS_TO_HATCH_1SHRIMP,SafeMath.sub(now,lastHatch[adr]));
        return SafeMath.mul(secondsPassed,hatcheryShrimp[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":"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":"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":"getFreeShrimp","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"},{"name":"contractBalance","type":"uint256"}],"name":"calculateEggBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getSnailmasterReq","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sellEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"eggs","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":false,"inputs":[{"name":"ref","type":"address"}],"name":"hatchEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getMyEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyEggs","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"claimedEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EGGS_TO_HATCH_1SHRIMP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hatcheryShrimp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"}],"name":"calculateEggBuySimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"snailmasterReq","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eggs","type":"uint256"}],"name":"calculateEggSell","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":true,"inputs":[],"name":"getMyShrimp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"adr","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STARTING_SHRIMP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"becomeSnailmaster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

Contract Creation Code
60606040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff021916908315150217905550620186a0600a55341561004a57600080fd5b33600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061153b8061009a6000396000f300606060405260043610610154576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461015957806312065fe0146101ae578063158ef93e146101d7578063229824c41461020457806323b3c7711461024d57806326fd842214610257578063286eab15146102975780632e9392bb146102c05780633955f0fe146102e95780633b653755146102fe5780633bc0461a146103165780633ec862a81461034d57806343ce742214610386578063467ece79146103af5780634f74acfe146103fc5780637267036114610406578063732e77d0146104535780637e2cb9741461047c5780637e56fde5146104c95780638574ddf9146105005780638e316327146105295780639ca423b314610560578063c2127e03146105d9578063d7c8843b14610602578063fb05594f1461064f578063fe3c5d8014610678575b600080fd5b341561016457600080fd5b61016c61068d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101b957600080fd5b6101c16106b3565b6040518082815260200191505060405180910390f35b34156101e257600080fd5b6101ea6106d2565b604051808215151515815260200191505060405180910390f35b341561020f57600080fd5b61023760048080359060200190919080359060200190919080359060200190919050506106e5565b6040518082815260200191505060405180910390f35b610255610738565b005b341561026257600080fd5b61028160048080359060200190919080359060200190919050506108a4565b6040518082815260200191505060405180910390f35b34156102a257600080fd5b6102aa6108bb565b6040518082815260200191505060405180910390f35b34156102cb57600080fd5b6102d36108c5565b6040518082815260200191505060405180910390f35b34156102f457600080fd5b6102fc6108cb565b005b6103146004808035906020019091905050610aed565b005b341561032157600080fd5b6103376004808035906020019091905050610b23565b6040518082815260200191505060405180910390f35b341561035857600080fd5b610384600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b41565b005b341561039157600080fd5b610399610f95565b6040518082815260200191505060405180910390f35b34156103ba57600080fd5b6103e6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610fed565b6040518082815260200191505060405180910390f35b610404611005565b005b341561041157600080fd5b61043d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061115b565b6040518082815260200191505060405180910390f35b341561045e57600080fd5b610466611173565b6040518082815260200191505060405180910390f35b341561048757600080fd5b6104b3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611179565b6040518082815260200191505060405180910390f35b34156104d457600080fd5b6104ea6004808035906020019091905050611191565b6040518082815260200191505060405180910390f35b341561050b57600080fd5b6105136111bb565b6040518082815260200191505060405180910390f35b341561053457600080fd5b61054a60048080359060200190919050506111c1565b6040518082815260200191505060405180910390f35b341561056b57600080fd5b610597600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111ee565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105e457600080fd5b6105ec611221565b6040518082815260200191505060405180910390f35b341561060d57600080fd5b610639600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611268565b6040518082815260200191505060405180910390f35b341561065a57600080fd5b610662611312565b6040518082815260200191505060405180910390f35b341561068357600080fd5b61068b611318565b005b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b600061072f6106f660025484611469565b61072a60035461072561071f61070e6002548a611469565b61071a6003548c611469565b6114a4565b896114c2565b6114a4565b6114c2565b90509392505050565b600460009054906101000a900460ff16151561075357600080fd5b66038d7ea4c680003414151561076857600080fd5b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015156107ca57600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414151561081857600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b60006108b383836009546106e5565b905092915050565b6000600a54905090565b60095481565b6000806000600460009054906101000a900460ff1615156108eb57600080fd5b6108f3610f95565b92506108fe836111c1565b915061090982610b23565b905061095f610958600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460036114c2565b6002611469565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610a37600954846114a4565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610a9f57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc610ac384846114dd565b9081150290604051600060405180830381858888f193505050501515610ae857600080fd5b505050565b6000600954141515610afe57600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b6000610b3a610b33836004611469565b60646114c2565b9050919050565b600080600460009054906101000a900460ff161515610b5f57600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610c6f57503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610cf35782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610cfb610f95565b9150610d09826000546114c2565b9050610d54600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826114a4565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ed260066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ecd8460056114c2565b6114a4565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f8a600954610f8584600a6114c2565b6114a4565b600981905550505050565b6000610fe8600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fe333611268565b6114a4565b905090565b60076020528060005260406000206000915090505481565b6000600460009054906101000a900460ff16151561102257600080fd5b61104c346110473073ffffffffffffffffffffffffffffffffffffffff1631346114dd565b6108a4565b90506110608161105b83610b23565b6114dd565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6110a734610b23565b9081150290604051600060405180830381858888f1935050505015156110cc57600080fd5b611115600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826114a4565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60066020528060005260406000206000915090505481565b60005481565b60056020528060005260406000206000915090505481565b60006111b4823073ffffffffffffffffffffffffffffffffffffffff16316108a4565b9050919050565b600a5481565b60006111e7826009543073ffffffffffffffffffffffffffffffffffffffff16316106e5565b9050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806112bf6000546112ba42600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114dd565b6114f6565b905061130a81600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611469565b915050919050565b60015481565b600460009054906101000a900460ff16151561133357600080fd5b600a54600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561138357600080fd5b6113ce600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a546114dd565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611420600a54620186a06114a4565b600a8190555033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600084141561147e576000915061149d565b828402905082848281151561148f57fe5b0414151561149957fe5b8091505b5092915050565b60008082840190508381101515156114b857fe5b8091505092915050565b60008082848115156114d057fe5b0490508091505092915050565b60008282111515156114eb57fe5b818303905092915050565b60008183106115055781611507565b825b9050929150505600a165627a7a72305820e39cabaf765044946b0f9d5881d9886bc67aa6bcb02e021622c8f2d82e7f3e010029


   Swarm Source:
bzzr://e39cabaf765044946b0f9d5881d9886bc67aa6bcb02e021622c8f2d82e7f3e01
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.