Contract Overview
Balance: 0.000070180023015928 Ether
Ether Value: $0.01 (@ $207.45/ETH)
Transactions: 64471 txns
 Latest 25 txns From a total of 64471 Transactions

TxHash Age From To Value [TxFee]
0xf2125cbe794e0b06933e676312263461e466aada0eac9c91d633d6a0d6f07ed711 days 6 hrs ago0x46f581d9da133661e1456064fa702d3034aad18b  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00010048731
0x6cd505823c6968dbe880f38f33b963f346310e4dae87b5fa5131a4c0211a72ad12 days 1 hr ago0x16ed478216e33c7906d247815be641a05c5dc8ea  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.0000057384
0xd7bf66694f07da51ae690150dd5380f7f38f7bddfd0cf2ff1494d11b7fea768313 days 2 hrs ago0x1ec478067c0eaa9466fb02ab5f15352ad397c11e  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000051678
0x5467705a728f0b5bfbcda75791a47d780fab2a0619c3e36fe7ae7bf74b067db715 days 1 hr ago0x59bfe1407dc4aa1bd38e9a90db17f9974fcadc2a  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000462315
0xc6535b52add74f9e22e3c45d7565bffe1b7f3f8a21381b9e2b8abf68f56c6f0421 days 8 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00051688
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b21 days 8 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00056967
0xb981c84e6e7eafabdaf4efc9a6b934115c17c6ea4a06f3a651aaf0ac282f12b422 days 1 hr ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000330102
0xf4d3dbf9dd241f7b098bcfa63f8f6ebecb6993bd719cd5f8f3124315cc502e8b22 days 15 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00025844
0x1740f724797fb33e4e1edfe1b7e593f695db519315b5490463ddaa5405756dbe23 days 12 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00033339
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e427222720924 days 1 hr ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000398839
0xf7aecf63e827160df0f4a54d920835bb45749e8a9baddcd9674ae45b0b694f9c24 days 19 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000220068
0x79a37971e7b1f7a0898aad92a017c53413b62f441a1cd0b13884bca30691c49224 days 19 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00033339
0xe692438685a7adf95c835edc5aa8c70c7ee921d72a0326324c5ed9c556c48f8726 days 11 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000293424
0xa9d4be102f2fa75f5e3cae015764d1a8b16a518437509efc70594ce7c162068c26 days 11 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000533424
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b228 days 2 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000398839
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b28 days 5 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000293839
0x8974910c5bfc1cc8535e339ddfbe3912be84acaecec880318eec1c05d280695d28 days 22 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000466816
0xa874f767bab850e790bb5713dacffc9a91ce1178232f6baab02e4060d4e0b3a428 days 22 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000310128
0x42479a9e12bdb6f7fa2f7d42cdcb66b585d9516687e13a9f29a41a3c0ad303c229 days 6 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000220128
0x9da4408efc4ea504d29da1bb385c566115d387488e74f5f7976a33c17702d54a29 days 6 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000310128
0xfcebfcac944cb63c10f8615f55ddead2164b5341a520dac56dc7a0398e26007729 days 6 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0.001 Ether0.00032001
0xe77cb3f4dad1a44358323c542526d1ffc5871252260f5808d594efba49f4419429 days 6 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000310128
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e329 days 7 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000341802
0x34240ab00bd4cfacb1215ca5df670811291ca1d709a6c622f3f44b0f3957268930 days 4 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.00018344
0x9803048e06d4d9c412d94b300b454367b13cb24d130b406be7ad339ef428519b30 days 7 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb  IN   0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.000310128
[ 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
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b640416821 days 8 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000115940151600912 Ether
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b640416821 days 8 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000004830839650037 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e4272227209638768824 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000230321615399172 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e4272227209638768824 days 1 hr ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000009596733974965 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b2636308528 days 2 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000225033778954014 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b2636308528 days 2 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000009376407456417 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b636230528 days 5 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000708765251414256 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b636230528 days 5 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000029531885475594 Ether
0xfcebfcac944cb63c10f8615f55ddead2164b5341a520dac56dc7a0398e260077635591129 days 6 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.00004 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e3635588729 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.00051609940548254 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e3635588729 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000021504141895105 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb634697830 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000979445799049788 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb634697830 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000040810241627074 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e633150333 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.000865330041432161 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e633150333 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000036055418393006 Ether
0xebf64a2090aa0d8bd2e4153c627f6273041272c2c6b45c5eb061388231958782633150133 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.001361162929432975 Ether
0xebf64a2090aa0d8bd2e4153c627f6273041272c2c6b45c5eb061388231958782633150133 days 7 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000056715122059707 Ether
0x5a8b60eb9cf6ea3f6cf26e375b82213e4f6a2afce42c35f621752cfabb2523a5632060335 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000875170755324634 Ether
0x5a8b60eb9cf6ea3f6cf26e375b82213e4f6a2afce42c35f621752cfabb2523a5632060335 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000036465448138526 Ether
0x53ae2642beeb12918dde4075bffed1cf1434393ea98e96c121843bdc1d05c1b1632059935 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.00182649450935811 Ether
0x53ae2642beeb12918dde4075bffed1cf1434393ea98e96c121843bdc1d05c1b1632059935 days 3 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000076103937889921 Ether
0x5b619a8d00d4ffb8f2d9179eca6018d6eb0442e05efb70cbc98a6e260b30662b631065636 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.000795902516795707 Ether
0x5b619a8d00d4ffb8f2d9179eca6018d6eb0442e05efb70cbc98a6e260b30662b631065636 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000033162604866487 Ether
0x4ee614559d1a92d5bbe1f625982072eaa6bd4791097e7b4f33242f41d240fe94631065536 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.001117607270438035 Ether
0x4ee614559d1a92d5bbe1f625982072eaa6bd4791097e7b4f33242f41d240fe94631065536 days 18 hrs ago0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.000046566969601584 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: ShrimpFarmer
Compiler Text: v0.4.24-nightly.2018.5.14+commit.7a669b39
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

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 Switch To Opcodes View
60806040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff02191690831515021790555034801561004457600080fd5b5033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112f1806100956000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461013857806312065fe01461018f578063158ef93e146101ba578063229824c4146101e957806323b3c7711461023e57806326fd8422146102555780632e9392bb146102a05780633955f0fe146102cb5780633b653755146102e25780633bc0461a146103025780633ec862a81461034357806343ce742214610386578063467ece79146103b15780634f74acfe146104085780637267036114610412578063732e77d0146104695780637e2cb974146104945780637e56fde5146104eb5780638e3163271461052c5780639ca423b31461056d578063c2127e03146105f0578063d7c8843b1461061b578063fb05594f14610672575b600080fd5b34801561014457600080fd5b5061014d61069d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019b57600080fd5b506101a46106c3565b6040518082815260200191505060405180910390f35b3480156101c657600080fd5b506101cf6106e2565b604051808215151515815260200191505060405180910390f35b3480156101f557600080fd5b506102286004803603810190808035906020019092919080359060200190929190803590602001909291905050506106f5565b6040518082815260200191505060405180910390f35b34801561024a57600080fd5b50610253610748565b005b34801561026157600080fd5b5061028a600480360381019080803590602001909291908035906020019092919050505061083d565b6040518082815260200191505060405180910390f35b3480156102ac57600080fd5b506102b5610854565b6040518082815260200191505060405180910390f35b3480156102d757600080fd5b506102e061085a565b005b610300600480360381019080803590602001909291905050506109f3565b005b34801561030e57600080fd5b5061032d60048036038101908080359060200190929190505050610a29565b6040518082815260200191505060405180910390f35b34801561034f57600080fd5b50610384600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a47565b005b34801561039257600080fd5b5061039b610e9b565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b506103f2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef3565b6040518082815260200191505060405180910390f35b610410610f0b565b005b34801561041e57600080fd5b50610453600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611068565b6040518082815260200191505060405180910390f35b34801561047557600080fd5b5061047e611080565b6040518082815260200191505060405180910390f35b3480156104a057600080fd5b506104d5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611086565b6040518082815260200191505060405180910390f35b3480156104f757600080fd5b506105166004803603810190808035906020019092919050505061109e565b6040518082815260200191505060405180910390f35b34801561053857600080fd5b50610557600480360381019080803590602001909291905050506110c8565b6040518082815260200191505060405180910390f35b34801561057957600080fd5b506105ae600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105fc57600080fd5b50610605611128565b6040518082815260200191505060405180910390f35b34801561062757600080fd5b5061065c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b34801561067e57600080fd5b50610687611219565b6040518082815260200191505060405180910390f35b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b600061073f6107066002548461121f565b61073a60035461073561072f61071e6002548a61121f565b61072a6003548c61121f565b61125a565b89611278565b61125a565b611278565b90509392505050565b600460009054906101000a900460ff16151561076357600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107b157600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600061084c83836009546106f5565b905092915050565b60095481565b6000806000600460009054906101000a900460ff16151561087a57600080fd5b610882610e9b565b925061088d836110c8565b915061089882610a29565b90506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061092f6009548461125a565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561099d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109c28484611293565b9081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50505050565b6000600954141515610a0457600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b6000610a40610a3983600461121f565b6064611278565b9050919050565b600080600460009054906101000a900460ff161515610a6557600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b7557503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bf95782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c01610e9b565b9150610c0f82600054611278565b9050610c5a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd860066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dd3846005611278565b61125a565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e90600954610e8b84600a611278565b61125a565b600981905550505050565b6000610eee600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ee93361116f565b61125a565b905090565b60076020528060005260406000206000915090505481565b6000600460009054906101000a900460ff161515610f2857600080fd5b610f5234610f4d3073ffffffffffffffffffffffffffffffffffffffff163134611293565b61083d565b9050610f6681610f6183610a29565b611293565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fad34610a29565b9081150290604051600060405180830381858888f19350505050158015610fd8573d6000803e3d6000fd5b50611022600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60066020528060005260406000206000915090505481565b60005481565b60056020528060005260406000206000915090505481565b60006110c1823073ffffffffffffffffffffffffffffffffffffffff163161083d565b9050919050565b60006110ee826009543073ffffffffffffffffffffffffffffffffffffffff16316106f5565b9050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806111c66000546111c142600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611293565b6112ac565b905061121181600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f565b915050919050565b60015481565b60008060008414156112345760009150611253565b828402905082848281151561124557fe5b0414151561124f57fe5b8091505b5092915050565b600080828401905083811015151561126e57fe5b8091505092915050565b600080828481151561128657fe5b0490508091505092915050565b60008282111515156112a157fe5b818303905092915050565b60008183106112bb57816112bd565b825b9050929150505600a165627a7a72305820c9ca606ee9f5fb326352212dcdb2db320e32d2409763abe83d75c802e5b872760029

   Swarm Source:
bzzr://c9ca606ee9f5fb326352212dcdb2db320e32d2409763abe83d75c802e5b87276

 

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.