Contract 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d

 

TxHash Block Age From To Value [TxFee]
0x18f0dfeafa7159f6746840a25d14a35d6ee0d651e778ae055b0c11230796765a72261695 days 15 hrs ago0xb842b31193a3ac3d7d4b014ad3258b7aec26b78c IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000174004
0x2a8f0f3d63d7d9458bff854ebb54c9b644460e868e8a3069a2e68938f989f606717080917 days 18 hrs ago0xc31b6117f2b079e365012c766f913b816f8f86e3 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000103356
0xac0956c685d0524c4a46a7211a107b8437a5ac4ce70ae0925ce883248b6a48b9701900846 days 11 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000310068
0xe84f7ee6e1ff025884ad8fec15e2c00a866ecbea07412b249f591740e100f1cf701123047 days 20 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000266712
0x7bdc48599a89307c9e5de20200c778881012dea078f4182160999a6c94b87ba2701122747 days 20 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000206712
0x4fe2428197598731a3eb2b145cbd2519568485d6ff2740775df8813eda7ed223691203864 days 18 hrs ago0xab8357856c5d104386d92e8834ff5f005b71794f IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000158874
0x82e5e71215bd43f7cdef83b5155bd99c3120dc635e16b63f260bd3d729066812690343166 days 5 hrs ago0xab8357856c5d104386d92e8834ff5f005b71794f IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00026479
0xd49fad4a260d383962c540744b1da9a8ee56039e423e214e9f7da06f1fc0b116686889871 days 22 hrs ago0xb3cac3043d371fb57c8ba6dae25a83ca3b9640dd IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000582538
0x4ccc44cbb64d3ba2a7cb316b0c470692d994c880a353d32c236c3a893f6af758683381377 days 17 hrs ago0x7e7e2bf7edc52322ee1d251432c248693ecd9e0f IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000423664
0xa6aa1f59cde7ef362a6b3dbfe6e2d830043bff66fb3337811410e706af75dc46681650180 days 14 hrs ago0x157570f5c6ffd90ff5a6034b66782c0582bfc648 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000206712
0x4130b2ff9051762ed21923c1013db112086ec36519cf3f00e671926d7184f1be6665807105 days 8 hrs ago0x37878b61525441ac2ece66b4a6e0d9f67f22a9d8 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00028692
0xd07340beaf496fc6bcff81b5d0d2d41f1d638454c42dc85b176e45d098e010236665800105 days 8 hrs ago0x37878b61525441ac2ece66b4a6e0d9f67f22a9d8 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0.001 Ether0.00042668
0xd688ee661aca909a1ba119d5d0de345a985809de96d70e2ab7165e88f732780e6612237114 days 3 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000413424
0x6766a112a5816773f0b347081fd035ef00a03bc1d3101c43fdc104f88a6dfaba6612233114 days 3 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000740571
0xc6084d81c98b23b823e25542524fd2be5d24795d4805b5da3e273b37ea046c526577578119 days 19 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00036688
0x25e49d2ce8f46438c5e6d9f37cc10b6a59cb34fbac5af52422f47e3021b8c7e36577574119 days 19 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000403568
0x8ff82bd4b5ca69f94379dcadfd60b89a612ae17e95190e20098f51d0b28e6de36577571119 days 19 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0.00001 Ether0.000345015
0xa4bc8f4312a1c4107b6ee639f65bcab310df61d145fb589b092a57a8d041f80f6577569119 days 19 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0.000003 Ether0.000586685
0x1ab5283130cd74a6114ce808d4d99d6a3d025065ce275bf74d8adc9f594fe5196577562119 days 19 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00066678
0x38f03ec9212d4e7d9ae9edc8e7b08aa25331d7cc9cf6b837c3718bfdec75baaa6577556119 days 19 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00056967
0xf6c952b8ead9cf8e4707ff49759a4ede892be1a898d3fddbb2b7b3a39133a8eb6569691121 days 2 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000220068
0x9c8cec814288cc4b6e3c1e37a8c1a479e133c2295641d4ec183c94c1312528d76569684121 days 2 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00033339
0xc0caf85d20d5cc58339952c9303472a359f706307b37a716bd92bad910e7eb716560933122 days 12 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00018339
0x7600db268605f0fde8793dd33d328ad7f32b26f684942d0dffc96d37fe9578876560932122 days 12 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00033339
0x7f07b0ce34e464b473d4de604808d04505a6f5ffae2d74568b616e6be837ba4d6557017123 days 3 hrs ago0x37878b61525441ac2ece66b4a6e0d9f67f22a9d8 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000289536
[ 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
0xd07340beaf496fc6bcff81b5d0d2d41f1d638454c42dc85b176e45d098e010236665800105 days 8 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.00004 Ether
0x6766a112a5816773f0b347081fd035ef00a03bc1d3101c43fdc104f88a6dfaba6612233114 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000014882477147109 Ether
0x6766a112a5816773f0b347081fd035ef00a03bc1d3101c43fdc104f88a6dfaba6612233114 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000000620103214462 Ether
0x8ff82bd4b5ca69f94379dcadfd60b89a612ae17e95190e20098f51d0b28e6de36577571119 days 19 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.0000004 Ether
0xa4bc8f4312a1c4107b6ee639f65bcab310df61d145fb589b092a57a8d041f80f6577569119 days 19 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.00000012 Ether
0x38f03ec9212d4e7d9ae9edc8e7b08aa25331d7cc9cf6b837c3718bfdec75baaa6577556119 days 19 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000048753760833121 Ether
0x38f03ec9212d4e7d9ae9edc8e7b08aa25331d7cc9cf6b837c3718bfdec75baaa6577556119 days 19 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.00000203140670138 Ether
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b6404168148 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000115940151600912 Ether
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b6404168148 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000004830839650037 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e42722272096387688150 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000230321615399172 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e42722272096387688150 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000009596733974965 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b26363085154 days 20 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000225033778954014 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b26363085154 days 20 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000009376407456417 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b6362305154 days 23 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000708765251414256 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b6362305154 days 23 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000029531885475594 Ether
0xfcebfcac944cb63c10f8615f55ddead2164b5341a520dac56dc7a0398e2600776355911156 days 19 mins ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.00004 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e36355887156 days 24 mins ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.00051609940548254 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e36355887156 days 24 mins ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000021504141895105 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb6346978157 days 11 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000979445799049788 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb6346978157 days 11 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000040810241627074 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e6331503160 days 59 mins ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000865330041432161 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e6331503160 days 59 mins ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000036055418393006 Ether
0xebf64a2090aa0d8bd2e4153c627f6273041272c2c6b45c5eb0613882319587826331501160 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.001361162929432975 Ether
0xebf64a2090aa0d8bd2e4153c627f6273041272c2c6b45c5eb0613882319587826331501160 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000056715122059707 Ether
0x5a8b60eb9cf6ea3f6cf26e375b82213e4f6a2afce42c35f621752cfabb2523a56320603161 days 20 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000875170755324634 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: ShrimpFarmer
Compiler Version: v0.4.24-nightly.2018.5.14+commit.7a669b39
Optimization Enabled: No
Runs (Optimizer):  200


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



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;
    function ShrimpFarmer() public{
        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);
        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{
        require(initialized);
        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 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":false,"stateMutability":"nonpayable","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":"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":"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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

Contract Creation Code
60806040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff02191690831515021790555034801561004457600080fd5b5033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112f1806100956000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461013857806312065fe01461018f578063158ef93e146101ba578063229824c4146101e957806323b3c7711461023e57806326fd8422146102555780632e9392bb146102a05780633955f0fe146102cb5780633b653755146102e25780633bc0461a146103025780633ec862a81461034357806343ce742214610386578063467ece79146103b15780634f74acfe146104085780637267036114610412578063732e77d0146104695780637e2cb974146104945780637e56fde5146104eb5780638e3163271461052c5780639ca423b31461056d578063c2127e03146105f0578063d7c8843b1461061b578063fb05594f14610672575b600080fd5b34801561014457600080fd5b5061014d61069d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019b57600080fd5b506101a46106c3565b6040518082815260200191505060405180910390f35b3480156101c657600080fd5b506101cf6106e2565b604051808215151515815260200191505060405180910390f35b3480156101f557600080fd5b506102286004803603810190808035906020019092919080359060200190929190803590602001909291905050506106f5565b6040518082815260200191505060405180910390f35b34801561024a57600080fd5b50610253610748565b005b34801561026157600080fd5b5061028a600480360381019080803590602001909291908035906020019092919050505061083d565b6040518082815260200191505060405180910390f35b3480156102ac57600080fd5b506102b5610854565b6040518082815260200191505060405180910390f35b3480156102d757600080fd5b506102e061085a565b005b610300600480360381019080803590602001909291905050506109f3565b005b34801561030e57600080fd5b5061032d60048036038101908080359060200190929190505050610a29565b6040518082815260200191505060405180910390f35b34801561034f57600080fd5b50610384600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a47565b005b34801561039257600080fd5b5061039b610e9b565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b506103f2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef3565b6040518082815260200191505060405180910390f35b610410610f0b565b005b34801561041e57600080fd5b50610453600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611068565b6040518082815260200191505060405180910390f35b34801561047557600080fd5b5061047e611080565b6040518082815260200191505060405180910390f35b3480156104a057600080fd5b506104d5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611086565b6040518082815260200191505060405180910390f35b3480156104f757600080fd5b506105166004803603810190808035906020019092919050505061109e565b6040518082815260200191505060405180910390f35b34801561053857600080fd5b50610557600480360381019080803590602001909291905050506110c8565b6040518082815260200191505060405180910390f35b34801561057957600080fd5b506105ae600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105fc57600080fd5b50610605611128565b6040518082815260200191505060405180910390f35b34801561062757600080fd5b5061065c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b34801561067e57600080fd5b50610687611219565b6040518082815260200191505060405180910390f35b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b600061073f6107066002548461121f565b61073a60035461073561072f61071e6002548a61121f565b61072a6003548c61121f565b61125a565b89611278565b61125a565b611278565b90509392505050565b600460009054906101000a900460ff16151561076357600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107b157600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600061084c83836009546106f5565b905092915050565b60095481565b6000806000600460009054906101000a900460ff16151561087a57600080fd5b610882610e9b565b925061088d836110c8565b915061089882610a29565b90506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061092f6009548461125a565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561099d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109c28484611293565b9081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50505050565b6000600954141515610a0457600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b6000610a40610a3983600461121f565b6064611278565b9050919050565b600080600460009054906101000a900460ff161515610a6557600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b7557503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bf95782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c01610e9b565b9150610c0f82600054611278565b9050610c5a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd860066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dd3846005611278565b61125a565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e90600954610e8b84600a611278565b61125a565b600981905550505050565b6000610eee600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ee93361116f565b61125a565b905090565b60076020528060005260406000206000915090505481565b6000600460009054906101000a900460ff161515610f2857600080fd5b610f5234610f4d3073ffffffffffffffffffffffffffffffffffffffff163134611293565b61083d565b9050610f6681610f6183610a29565b611293565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fad34610a29565b9081150290604051600060405180830381858888f19350505050158015610fd8573d6000803e3d6000fd5b50611022600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60066020528060005260406000206000915090505481565b60005481565b60056020528060005260406000206000915090505481565b60006110c1823073ffffffffffffffffffffffffffffffffffffffff163161083d565b9050919050565b60006110ee826009543073ffffffffffffffffffffffffffffffffffffffff16316106f5565b9050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806111c66000546111c142600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611293565b6112ac565b905061121181600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f565b915050919050565b60015481565b60008060008414156112345760009150611253565b828402905082848281151561124557fe5b0414151561124f57fe5b8091505b5092915050565b600080828401905083811015151561126e57fe5b8091505092915050565b600080828481151561128657fe5b0490508091505092915050565b60008282111515156112a157fe5b818303905092915050565b60008183106112bb57816112bd565b825b9050929150505600a165627a7a72305820c9ca606ee9f5fb326352212dcdb2db320e32d2409763abe83d75c802e5b872760029


   Swarm Source:
bzzr://c9ca606ee9f5fb326352212dcdb2db320e32d2409763abe83d75c802e5b87276
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.