Contract 0x58AFF91f5b48245Bd83deeB2C7d31875f68b3f0D 3

 

Contract Overview

Balance:
0.‍000284694551175498 Ether

EtherValue:
$0.53 (@ $1,868.36/ETH)

Token:
 
Txn Hash
Method
Block
From
To
Value
0x732715f0d6b073b2d288850bfdd924f69ff404b219d40efbda287bbf30cc12ebGet Free Shrimp131081302021-08-27 15:06:34356 days 7 hrs ago0xb4e4dd051162e567336ddae9e86eb03c1f8d5c04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍00708442 101.‍10934039
0xd0af1c987f178e34b5de2044fef1b171be134ac9c05740e9883a6de737ab28daGet Free Shrimp100864622020-05-17 23:13:48822 days 23 hrs ago0xee8a49cc192209726ca1f113e0766fab39960ed4 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0008070335
0xa23d6e46c4e91d786c176c544f2596c096181b85657ee87e7a7426bea3ff5225Get Free Shrimp100864592020-05-17 23:13:13822 days 23 hrs ago0xee8a49cc192209726ca1f113e0766fab39960ed4 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0008070335
0x1ce6c2a26ae438f9ca80e49a3d510b596920e7a89f22e6e3e8c2e9c50e5602a3Get Free Shrimp100864472020-05-17 23:10:10822 days 23 hrs ago0xee8a49cc192209726ca1f113e0766fab39960ed4 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0005902825.‍6
0x9515e78432d1f31ad28446c58ca0f2fcdd9d3433a5a9ae8cf1a60651b4f652f4Hatch Eggs100861582020-05-17 21:58:49823 days 44 mins ago0xee8a49cc192209726ca1f113e0766fab39960ed4 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0006289311
0xd197be9a3870362020bf01c7bcb2201ddba82b6b0fdc35011c646e8d73fee825Get Free Shrimp94743952020-02-13 11:29:37917 days 11 hrs ago0x050fe0600f4294617c6a3ac0c92bf23eeaf5dc3e IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍00016147
0xbb2ea186c1920f257f53198376c14c0aa821bcc0a945416df7b26db90edc43efHatch Eggs79911792019-06-19 21:40:301156 days 1 hr ago0xf8d0b8fdb8dcc0ecd3a7ef6236ffcc01b1bd1f86 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0006354912
0x468df1c57029e97d4a8b40576ee594d5305fcd44c10ce6a2c6dd87ad2348f935Get Free Shrimp79724612019-06-16 23:20:471158 days 23 hrs ago0xf951521bfcafaea07746d68a7fe66bb9b7aee864 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000132396
0x99d75366469869fc5e86e44a21dfccc8ebe95b58f2f0b93ec1ae3ef981bddf68Get Free Shrimp79724012019-06-16 23:04:261158 days 23 hrs ago0xf951521bfcafaea07746d68a7fe66bb9b7aee864 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000132396
0x13d59a92843525db290ed6b7f2194aa5ff0ef0629149c9922af22b03038e9902Get Free Shrimp79723992019-06-16 23:04:221158 days 23 hrs ago0xf951521bfcafaea07746d68a7fe66bb9b7aee864 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000132396
0xcd0a61ca0c5da2ebdeb246af53f48d06fcdcbfb9062a102b8fe01919ecc80dbcSell Eggs75814142019-04-16 21:48:501220 days 54 mins ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000284835
0xa76e2c81c6e4cba826cd3132120d88a680b7d8641165a90bc7643008a9d97afaHatch Eggs75252472019-04-08 4:14:531228 days 18 hrs ago0xb842b31193a3ac3d7d4b014ad3258b7aec26b78c IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000401687
0x754554161f4ac9f90a064f1e670d5252897b2a4aa01ec7936ebc59502f3cf212Hatch Eggs74853702019-04-01 22:43:171234 days 23 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000103352
0xc67b9abb0c1bb68c2cdab7ccb05eb98dda3bc94a04a821678d878178d8912e75Sell Eggs72755802019-02-27 18:57:541268 days 3 hrs ago0x068d20619c035a2e64d7c8bc540e51a4d1523b04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0005656413
0x350949ed408609243b054e50cf0a12eefdb1ed42f2ea37d75fb9dd7a27ce6f29Sell Eggs72755782019-02-27 18:57:311268 days 3 hrs ago0x068d20619c035a2e64d7c8bc540e51a4d1523b04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0005656413
0x2d1413109cb1c6d2b7928772f01a788513b6fe6764ec3601bb219dd051ede582Sell Eggs72755762019-02-27 18:57:041268 days 3 hrs ago0x068d20619c035a2e64d7c8bc540e51a4d1523b04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0005656413
0x623cef796ab476b653234693e87893db335afeadbe8df79304a08cbc39a1adcdSell Eggs72755742019-02-27 18:56:011268 days 3 hrs ago0x068d20619c035a2e64d7c8bc540e51a4d1523b04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0005656413
0x3c05b4a9dfeaa44ddf8d37a3061da0fddafdc76875962fc657ad0c1787d6a4d1Hatch Eggs72755652019-02-27 18:53:181268 days 3 hrs ago0x068d20619c035a2e64d7c8bc540e51a4d1523b04 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0010335620
0x18f0dfeafa7159f6746840a25d14a35d6ee0d651e778ae055b0c11230796765aSell Eggs72261692019-02-16 3:50:041279 days 18 hrs ago0xb842b31193a3ac3d7d4b014ad3258b7aec26b78c IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍0001744
0x2a8f0f3d63d7d9458bff854ebb54c9b644460e868e8a3069a2e68938f989f606Hatch Eggs71708092019-02-04 0:10:411291 days 22 hrs ago0xc31b6117f2b079e365012c766f913b816f8f86e3 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000103352
0xac0956c685d0524c4a46a7211a107b8437a5ac4ce70ae0925ce883248b6a48b9Hatch Eggs70190082019-01-06 7:52:121320 days 14 hrs ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000310066
0xe84f7ee6e1ff025884ad8fec15e2c00a866ecbea07412b249f591740e100f1cfHatch Eggs70112302019-01-04 22:40:531322 days 2 mins ago0xf6135aa4ebe6378bdd980bacee309622de91dcfb IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000266714
0x7bdc48599a89307c9e5de20200c778881012dea078f4182160999a6c94b87ba2Hatch Eggs70112272019-01-04 22:40:311322 days 2 mins ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1 IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000206714
0x4fe2428197598731a3eb2b145cbd2519568485d6ff2740775df8813eda7ed223Hatch Eggs69120382018-12-19 0:45:531338 days 21 hrs ago0xab8357856c5d104386d92e8834ff5f005b71794f IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000158873
0x82e5e71215bd43f7cdef83b5155bd99c3120dc635e16b63f260bd3d729066812Hatch Eggs69034312018-12-17 13:35:501340 days 9 hrs ago0xab8357856c5d104386d92e8834ff5f005b71794f IN  0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0 Ether0.‍000264795
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xcd0a61ca0c5da2ebdeb246af53f48d06fcdcbfb9062a102b8fe01919ecc80dbc75814142019-04-16 21:48:501220 days 54 mins ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00066401 Ether
0xcd0a61ca0c5da2ebdeb246af53f48d06fcdcbfb9062a102b8fe01919ecc80dbc75814142019-04-16 21:48:501220 days 54 mins ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00002766 Ether
0xd07340beaf496fc6bcff81b5d0d2d41f1d638454c42dc85b176e45d098e0102366658002018-11-08 10:40:461379 days 12 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00004 Ether
0x6766a112a5816773f0b347081fd035ef00a03bc1d3101c43fdc104f88a6dfaba66122332018-10-30 15:35:211388 days 7 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00001488 Ether
0x6766a112a5816773f0b347081fd035ef00a03bc1d3101c43fdc104f88a6dfaba66122332018-10-30 15:35:211388 days 7 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000062 Ether
0x8ff82bd4b5ca69f94379dcadfd60b89a612ae17e95190e20098f51d0b28e6de365775712018-10-24 23:33:541393 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍0000004 Ether
0xa4bc8f4312a1c4107b6ee639f65bcab310df61d145fb589b092a57a8d041f80f65775692018-10-24 23:33:341393 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000012 Ether
0x38f03ec9212d4e7d9ae9edc8e7b08aa25331d7cc9cf6b837c3718bfdec75baaa65775562018-10-24 23:29:571393 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.‍00004875 Ether
0x38f03ec9212d4e7d9ae9edc8e7b08aa25331d7cc9cf6b837c3718bfdec75baaa65775562018-10-24 23:29:571393 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000203 Ether
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b64041682018-09-26 17:06:171422 days 5 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00011594 Ether
0x5278206d131c790d765c327d78b3cec52af99757900a31b0f97ae8c8bc30040b64041682018-09-26 17:06:171422 days 5 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000483 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e427222720963876882018-09-24 0:22:471424 days 22 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.‍00023032 Ether
0xcc6b86a5e65ed0ae408d63b5fb22b4067361725eb024d8e23cf06e427222720963876882018-09-24 0:22:471424 days 22 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000959 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b263630852018-09-19 22:53:311428 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00022503 Ether
0x4079ec4133669b896446c914d0fe8d1f40cdf7696b530612603ce3800af933b263630852018-09-19 22:53:311428 days 23 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00000937 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b63623052018-09-19 19:44:451429 days 2 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.‍00070876 Ether
0x99a591c7672ab282e1a5c3a3151339f4063aaa8b359971e7435ad1b80ac40d0b63623052018-09-19 19:44:451429 days 2 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00002953 Ether
0xfcebfcac944cb63c10f8615f55ddead2164b5341a520dac56dc7a0398e26007763559112018-09-18 18:38:011430 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00004 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e363558872018-09-18 18:33:191430 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00051609 Ether
0x171f48440e8df35a815ddcbef4999c9fbea5ae60641f55979e5a29538eec06e363558872018-09-18 18:33:191430 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍0000215 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb63469782018-09-17 7:11:291431 days 15 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.‍00097944 Ether
0xd22d75b39c1e9dd1e304c9f213bf5292104ef028abd63da5c870b566d03b8afb63469782018-09-17 7:11:291431 days 15 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00004081 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e63315032018-09-14 17:57:511434 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0x73e998eb9e4b6e10dc899d5b453f67b4670118a10.‍00086533 Ether
0xbeb7376ed545b65c00b1f1efd5fe30e188ef7a413d29dae091796d98ab02579e63315032018-09-14 17:57:511434 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f0.‍00003605 Ether
0xebf64a2090aa0d8bd2e4153c627f6273041272c2c6b45c5eb06138823195878263315012018-09-14 17:57:181434 days 4 hrs ago 0x58aff91f5b48245bd83deeb2c7d31875f68b3f0d0xf6135aa4ebe6378bdd980bacee309622de91dcfb0.‍00136116 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShrimpFarmer

Compiler Version
v0.4.24-nightly.2018.5.14+commit.7a669b39

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-05-15
*/

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 Security Audit

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"}]

60806040526201518060005561012c6001556127106002556113886003556000600460006101000a81548160ff02191690831515021790555034801561004457600080fd5b5033600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112f1806100956000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461013857806312065fe01461018f578063158ef93e146101ba578063229824c4146101e957806323b3c7711461023e57806326fd8422146102555780632e9392bb146102a05780633955f0fe146102cb5780633b653755146102e25780633bc0461a146103025780633ec862a81461034357806343ce742214610386578063467ece79146103b15780634f74acfe146104085780637267036114610412578063732e77d0146104695780637e2cb974146104945780637e56fde5146104eb5780638e3163271461052c5780639ca423b31461056d578063c2127e03146105f0578063d7c8843b1461061b578063fb05594f14610672575b600080fd5b34801561014457600080fd5b5061014d61069d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019b57600080fd5b506101a46106c3565b6040518082815260200191505060405180910390f35b3480156101c657600080fd5b506101cf6106e2565b604051808215151515815260200191505060405180910390f35b3480156101f557600080fd5b506102286004803603810190808035906020019092919080359060200190929190803590602001909291905050506106f5565b6040518082815260200191505060405180910390f35b34801561024a57600080fd5b50610253610748565b005b34801561026157600080fd5b5061028a600480360381019080803590602001909291908035906020019092919050505061083d565b6040518082815260200191505060405180910390f35b3480156102ac57600080fd5b506102b5610854565b6040518082815260200191505060405180910390f35b3480156102d757600080fd5b506102e061085a565b005b610300600480360381019080803590602001909291905050506109f3565b005b34801561030e57600080fd5b5061032d60048036038101908080359060200190929190505050610a29565b6040518082815260200191505060405180910390f35b34801561034f57600080fd5b50610384600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a47565b005b34801561039257600080fd5b5061039b610e9b565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b506103f2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef3565b6040518082815260200191505060405180910390f35b610410610f0b565b005b34801561041e57600080fd5b50610453600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611068565b6040518082815260200191505060405180910390f35b34801561047557600080fd5b5061047e611080565b6040518082815260200191505060405180910390f35b3480156104a057600080fd5b506104d5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611086565b6040518082815260200191505060405180910390f35b3480156104f757600080fd5b506105166004803603810190808035906020019092919050505061109e565b6040518082815260200191505060405180910390f35b34801561053857600080fd5b50610557600480360381019080803590602001909291905050506110c8565b6040518082815260200191505060405180910390f35b34801561057957600080fd5b506105ae600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110f5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105fc57600080fd5b50610605611128565b6040518082815260200191505060405180910390f35b34801561062757600080fd5b5061065c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b34801561067e57600080fd5b50610687611219565b6040518082815260200191505060405180910390f35b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600460009054906101000a900460ff1681565b600061073f6107066002548461121f565b61073a60035461073561072f61071e6002548a61121f565b61072a6003548c61121f565b61125a565b89611278565b61125a565b611278565b90509392505050565b600460009054906101000a900460ff16151561076357600080fd5b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107b157600080fd5b42600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600154600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600061084c83836009546106f5565b905092915050565b60095481565b6000806000600460009054906101000a900460ff16151561087a57600080fd5b610882610e9b565b925061088d836110c8565b915061089882610a29565b90506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061092f6009548461125a565b600981905550600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561099d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109c28484611293565b9081150290604051600060405180830381858888f193505050501580156109ed573d6000803e3d6000fd5b50505050565b6000600954141515610a0457600080fd5b6001600460006101000a81548160ff0219169083151502179055508060098190555050565b6000610a40610a3983600461121f565b6064611278565b9050919050565b600080600460009054906101000a900460ff161515610a6557600080fd5b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b7557503373ffffffffffffffffffffffffffffffffffffffff16600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bf95782600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c01610e9b565b9150610c0f82600054611278565b9050610c5a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd860066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dd3846005611278565b61125a565b60066000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e90600954610e8b84600a611278565b61125a565b600981905550505050565b6000610eee600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ee93361116f565b61125a565b905090565b60076020528060005260406000206000915090505481565b6000600460009054906101000a900460ff161515610f2857600080fd5b610f5234610f4d3073ffffffffffffffffffffffffffffffffffffffff163134611293565b61083d565b9050610f6681610f6183610a29565b611293565b9050600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fad34610a29565b9081150290604051600060405180830381858888f19350505050158015610fd8573d6000803e3d6000fd5b50611022600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548261125a565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60066020528060005260406000206000915090505481565b60005481565b60056020528060005260406000206000915090505481565b60006110c1823073ffffffffffffffffffffffffffffffffffffffff163161083d565b9050919050565b60006110ee826009543073ffffffffffffffffffffffffffffffffffffffff16316106f5565b9050919050565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806111c66000546111c142600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611293565b6112ac565b905061121181600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461121f565b915050919050565b60015481565b60008060008414156112345760009150611253565b828402905082848281151561124557fe5b0414151561124f57fe5b8091505b5092915050565b600080828401905083811015151561126e57fe5b8091505092915050565b600080828481151561128657fe5b0490508091505092915050565b60008282111515156112a157fe5b818303905092915050565b60008183106112bb57816112bd565b825b9050929150505600a165627a7a72305820c9ca606ee9f5fb326352212dcdb2db320e32d2409763abe83d75c802e5b872760029

Swarm Source

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.