Contract 0x2b2167bd09c4c8F853E0c011BcF9a581F8459604

 

Contract Overview

Balance:
0.000092469739294111 Ether

EtherValue:
$0.01 (@ $140.38/ETH)
TxHash Block Age From To Value [TxFee]
0x748037492b5324d8def8385f7e34bdacc44e8f709a70fce27dd534711243b7fe740354320 hrs 2 mins ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000745992
0x1621c2f8a65e5d492181988abc62dad5c22cff4331038744d92ae3bfee5ff94173969761 day 20 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000745992
0xc91a92bb215fafade1d452c8f17348b87d0d2491f5d1ce6a55d29f874e84e61c73895313 days 37 mins ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000745992
0x5728ac4f2c2121d0a83dbd88cd5a23124b0368e9a8c3c3d0af0fade1d8dc541673826644 days 2 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000745992
0x70a280cd44fc9f03eac6ccea914b7c29bfd004e0a9c0c6516e914b8b7b48b1fb73572628 days 54 mins ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000745992
0x8a5b7228553e1cd08d7ffd478e8773f941df364482d9bf29a1f6eb6261e8d99573506509 days 1 hr ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000688608
0xa480f9564e1e0520c83113ddfcfcb5dd9a79d2a341306c6c6d879d618f95b2be734394110 days 2 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000911472
0x339587cf0ac4cae45a0be53e2ba7229031b098b3a2300cb5f6975078220f82c2733726711 days 3 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001320062
0x273e0a808a872c1ba263950264bb3040090558e519f5cb8ac685c9af449eceff733271311 days 20 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001377216
0x0fd20dc0e6ab6190715102d3035d55fe5a33affe64f66209a937d24b0f6b90ec732623612 days 20 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001377216
0xaa8003bf883130c2cc9a2d0daeeca7e740d66d8e934f5fdff517177fce2dc3e9731910513 days 23 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000746122
0x7bd02330caf722f3ce5e0534bb6620e2a4d33f053dc39288ae09eb4fb73de961731588614 days 11 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001310241
0x6d7ea30ada3652d744055de71d009630348ba0e4695cf39d51444dd0baade685730912215 days 12 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001025406
0xaefff2d5b3af68832e8e888b869745d3beea143f5f388eaefdaabc653ccb6525730270016 days 12 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001319832
0x0c79a8e04ccf9dad3beb8489711c7d54bc41712a942f1ec478c776a4d0445a88729595617 days 14 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0000803376
0x519913ede6e281075cc971aec0c01a0136997fbe6fe585005c23684256b3efe8728929318 days 15 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001319832
0x95b7a67683b675c5b45dcab14990d3ed13707147d72c3e14902e23f66848efd8728260119 days 17 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001090296
0xe3501914eee169bad130b58a4577273a6dcaf02f119b46161ca4feef675aef0c727269221 days 21 hrs ago0x9dad50e516746e2c4cef38b4efcd455364e1fe33 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.000284835
0xd92baad2e258a44f7ada69e0d3fd26a3d4bb9bd851a8b3970c62065ccd3f2bd6727239021 days 23 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001879911
0x2eaf5a0d49cd092c83014e4e5a51c61433b5df3a8cdf863ef262d9a9b96d616f726837522 days 22 hrs ago0x9dad50e516746e2c4cef38b4efcd455364e1fe33 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.000344304
0xe5fb8be246f47d3a75ad8cb23c5444737cf4c4fc0f3501f457cdd843019227e6726782523 days 1 hr ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0003041352
0x7b539bdb948c73c81b6d66ccb83289fc764c1f8a5dad3d80af776d22b81d4319726129624 days 13 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001893672
0xf8b722c78a2625623caadce233bacc2e350cd8114886dc67e15aeb338b6e7fb7725557325 days 21 hrs ago0x9dad50e516746e2c4cef38b4efcd455364e1fe33 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.000284835
0xba46a89354f203c181caf65ba3bf8c70928f84263e24843cca05a7f2f3aab7a2725525425 days 23 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001894002
0x7f1243169d43e43a4c2a34da467afd2eeb71feb5252c0cad43d44a3568efc937725524925 days 23 hrs ago0x1b8e15229f052b42c1bdff4a7d131fa600447972 IN  0x2b2167bd09c4c8f853e0c011bcf9a581f84596040 Ether0.0001879911
[ 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
0xa480f9564e1e0520c83113ddfcfcb5dd9a79d2a341306c6c6d879d618f95b2be734394110 days 2 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.000272638051972806 Ether
0xa480f9564e1e0520c83113ddfcfcb5dd9a79d2a341306c6c6d879d618f95b2be734394110 days 2 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.0000113599188322 Ether
0x7bd02330caf722f3ce5e0534bb6620e2a4d33f053dc39288ae09eb4fb73de961731588614 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.000256554980971925 Ether
0x7bd02330caf722f3ce5e0534bb6620e2a4d33f053dc39288ae09eb4fb73de961731588614 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.00001068979087383 Ether
0x6d7ea30ada3652d744055de71d009630348ba0e4695cf39d51444dd0baade685730912215 days 12 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.001512023446701925 Ether
0x6d7ea30ada3652d744055de71d009630348ba0e4695cf39d51444dd0baade685730912215 days 12 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000063000976945913 Ether
0xe3501914eee169bad130b58a4577273a6dcaf02f119b46161ca4feef675aef0c727269221 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x9dad50e516746e2c4cef38b4efcd455364e1fe330.000611819219098351 Ether
0xe3501914eee169bad130b58a4577273a6dcaf02f119b46161ca4feef675aef0c727269221 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000025492467462431 Ether
0xd92baad2e258a44f7ada69e0d3fd26a3d4bb9bd851a8b3970c62065ccd3f2bd6727239021 days 23 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.000940682282384928 Ether
0xd92baad2e258a44f7ada69e0d3fd26a3d4bb9bd851a8b3970c62065ccd3f2bd6727239021 days 23 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000039195095099372 Ether
0xf8b722c78a2625623caadce233bacc2e350cd8114886dc67e15aeb338b6e7fb7725557325 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x9dad50e516746e2c4cef38b4efcd455364e1fe330.000932086901602784 Ether
0xf8b722c78a2625623caadce233bacc2e350cd8114886dc67e15aeb338b6e7fb7725557325 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000038836954233449 Ether
0x7f1243169d43e43a4c2a34da467afd2eeb71feb5252c0cad43d44a3568efc937725524925 days 23 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.000584367626027969 Ether
0x7f1243169d43e43a4c2a34da467afd2eeb71feb5252c0cad43d44a3568efc937725524925 days 23 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000024348651084498 Ether
0x7853e145e7666326c75a1b0302ccd0c4a425acd6e29c5da79539c77da14f98e9725072727 days 1 hr ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.00074266377042498 Ether
0x7853e145e7666326c75a1b0302ccd0c4a425acd6e29c5da79539c77da14f98e9725072727 days 1 hr ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000030944323767707 Ether
0x147c15e2b92fc4ec476addfd177aa3bbd3acb35e9333848478827826ac6245e4724643228 days 1 hr ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.000984671654249683 Ether
0x147c15e2b92fc4ec476addfd177aa3bbd3acb35e9333848478827826ac6245e4724643228 days 1 hr ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000041027985593736 Ether
0xf8b3d3fdc87d1918d649932d1b900686411035cdbc6fc92aac07f76573ddf355724285428 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x9dad50e516746e2c4cef38b4efcd455364e1fe330.001654194760850635 Ether
0xf8b3d3fdc87d1918d649932d1b900686411035cdbc6fc92aac07f76573ddf355724285428 days 21 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000068924781702109 Ether
0xd6d0e69137e5727a1dba9ebf2fce4309e65e45a0fa13e5f60c203612be752edd724046329 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x1b8e15229f052b42c1bdff4a7d131fa6004479720.002213801605822732 Ether
0xd6d0e69137e5727a1dba9ebf2fce4309e65e45a0fa13e5f60c203612be752edd724046329 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000092241733575947 Ether
0xb370f849735703d2fc99209648113800d7dff870a898a74d0c9e3e04daea566c723186831 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x9dad50e516746e2c4cef38b4efcd455364e1fe330.001973070711748019 Ether
0xb370f849735703d2fc99209648113800d7dff870a898a74d0c9e3e04daea566c723186831 days 11 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x706782ac5f16a233bae41c61914c27533170c58c0.000082211279656167 Ether
0xb0803b5d136eabecea3c4ae13a180080d60c9e4f06740b0449c9159baa943521722331633 days 12 hrs ago0x2b2167bd09c4c8f853e0c011bcf9a581f84596040x9dad50e516746e2c4cef38b4efcd455364e1fe330.001314473119416351 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 (Similar Match)
Note: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0x163c64805c98fa2732f13030de457165f89493f9

Contract Name:
HarjFarmer

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

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



contract HarjFarmer{
    //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 HarjFarmer() 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

60806040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff02191690831515021790555034801561004457600080fd5b5033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112f1806100956000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461013857806312065fe01461018f578063158ef93e146101ba578063229824c4146101e957806323b3c7711461023e57806326fd8422146102555780632e9392bb146102a05780633955f0fe146102cb5780633b653755146102e25780633bc0461a146103025780633ec862a81461034357806343ce742214610386578063467ece79146103b15780634f74acfe146104085780637267036114610412578063732e77d0146104695780637e2cb974146104945780637e56fde5146104eb5780638e3163271461052c5780639ca423b31461056d578063c2127e03146105f0578063d7c8843b1461061b578063fb05594f14610672575b600080fd5b34801561014457600080fd5b5061014d61069d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019b57600080fd5b506101a46106c3565b6040518082815260200191505060405180910390f35b3480156101c657600080fd5b506101cf6106e2565b604051808215151515815260200191505060405180910390f35b3480156101f557600080fd5b506102286004803603810190808035906020019092919080359060200190929190803590602001909291905050506106f5565b6040518082815260200191505060405180910390f35b34801561024a57600080fd5b50610253610748565b005b34801561026157600080fd5b5061028a600480360381019080803590602001909291908035906020019092919050505061083d565b6040518082815260200191505060405180910390f35b3480156102ac57600080fd5b506102b5610854565b6040518082815260200191505060405180910390f35b3480156102d757600080fd5b506102e061085a565b005b610300600480360381019080803590602001909291905050506109f3565b005b34801561030e57600080fd5b5061032d60048036038101908080359060200190929190505050610a29565b6040518082815260200191505060405180910390f35b34801561034f57600080fd5b50610384600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a47565b005b34801561039257600080fd5b5061039b610e9b565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b506103f2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef3565b6040518082815260200191505060405180910390f35b610410610f0b565b005b34801561041e57600080fd5b50610453600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611068565b6040518082815260200191505060405180910390f35b34801561047557600080fd5b5061047e611080565b6040518082815260200191505060405180910390f35b3480156104a057600080fd5b506104d5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611086565b6040518082815260200191505060405180910390f35b3480156104f757600080fd5b506105166004803603810190808035906020019092919050505061109e565b6040518082815260200191505060405180910390f35b34801561053857600080fd5b50610557600480360381019080803590602001909291905050506110c8565b6040518082815260200191505060405180910390f35b34801561057957600080fd5b506105ae600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105fc57600080fd5b50610605611128565b6040518082815260200191505060405180910390f35b34801561062757600080fd5b5061065c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b34801561067e57600080fd5b50610687611219565b6040518082815260200191505060405180910390f35b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b600061073f6107066002548461121f565b61073a60035461073561072f61071e6002548a61121f565b61072a6003548c61121f565b61125a565b89611278565b61125a565b611278565b90509392505050565b600460009054906101000a900460ff16151561076357600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107b157600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600061084c83836009546106f5565b905092915050565b60095481565b6000806000600460009054906101000a900460ff16151561087a57600080fd5b610882610e9b565b925061088d836110c8565b915061089882610a29565b90506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061092f6009548461125a565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561099d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109c28484611293565b9081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50505050565b6000600954141515610a0457600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b6000610a40610a3983600461121f565b6064611278565b9050919050565b600080600460009054906101000a900460ff161515610a6557600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b7557503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bf95782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c01610e9b565b9150610c0f82600054611278565b9050610c5a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd860066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dd3846005611278565b61125a565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e90600954610e8b84600a611278565b61125a565b600981905550505050565b6000610eee600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ee93361116f565b61125a565b905090565b60076020528060005260406000206000915090505481565b6000600460009054906101000a900460ff161515610f2857600080fd5b610f5234610f4d3073ffffffffffffffffffffffffffffffffffffffff163134611293565b61083d565b9050610f6681610f6183610a29565b611293565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fad34610a29565b9081150290604051600060405180830381858888f19350505050158015610fd8573d6000803e3d6000fd5b50611022600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60066020528060005260406000206000915090505481565b60005481565b60056020528060005260406000206000915090505481565b60006110c1823073ffffffffffffffffffffffffffffffffffffffff163161083d565b9050919050565b60006110ee826009543073ffffffffffffffffffffffffffffffffffffffff16316106f5565b9050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806111c66000546111c142600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611293565b6112ac565b905061121181600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f565b915050919050565b60015481565b60008060008414156112345760009150611253565b828402905082848281151561124557fe5b0414151561124f57fe5b8091505b5092915050565b600080828401905083811015151561126e57fe5b8091505092915050565b600080828481151561128657fe5b0490508091505092915050565b60008282111515156112a157fe5b818303905092915050565b60008183106112bb57816112bd565b825b9050929150505600a165627a7a723058205999e6eb26e923f875af39d853c5cf8fab188d107fbc564788865cbf0eb11f3a0029

Swarm Source

bzzr://5999e6eb26e923f875af39d853c5cf8fab188d107fbc564788865cbf0eb11f3a
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.