Contract 0x45311df6affb8570d20fc814d14f72cb8faee44b 3

 

Contract Overview

Balance:
67,242.00746261128537864 MATIC

MATIC Value:
$43,418.16 (@ $0.65/MATIC)

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb30e7dc7f47c65c2e907014031be755bc629ad6cf31a4929fe657114de5b6afbHatch Eggs286956142022-05-24 3:08:056 mins ago0x0e542afd19eb524d5be98fe199e27cd7c7b8bcbf IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.00177232192 31.040000001
0x9702e63a8660de8d12349a303b8426264f7779de6e461ef0738248a5edb16db4Sell Eggs286951062022-05-24 2:50:3824 mins ago0x84ae4699dc8aad2036a23aeca369f54cfbaa0d62 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.00288129531
0x95e25fd8167c4f268534396c308b6cc3857facda5ad54a5c1a6578048d964b3fSell Eggs286950082022-05-24 2:47:1427 mins ago0x0668986f22d2417f1b9aabe6773b465ba1aea96e IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.0046472550
0x73461d3830b8f87de8c2036a78bce6c02719b9df724476bfdc043841be168f14Hatch Eggs286949642022-05-24 2:45:4229 mins ago0x5d866e914702d2b667ca20623fc2e5aa8dbfae6d IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.0017719184 31.040000001
0xc99556c2b5c19409b3dbf468ac22974b73fc24b8203e8596772ca07a6f64062aHatch Eggs286948442022-05-24 2:41:3433 mins ago0x242774d0e0897542699e31b274735df79122cc77 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002683606 47
0x10327c70e7556b51b1132391d32447e965817dd1bb1e12e4016af09a50d19fe5Hatch Eggs286946792022-05-24 2:35:5639 mins ago0x6abeaab4c9bc8852ef5e0f70e232a58741e6268d IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.001796188366 31.457990941
0x111c32baa6ea7f7ec9e2b08f5e40aac2edcf38910dce7e05c412c05fd21ce613Sell Eggs286944672022-05-24 2:26:3248 mins ago0x9c3e4e42b05deb078eb43fb375b89a05fb041849 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002914755201 31.360000015
0x98e8029469b09081bd0b6567089e012acd9094927eb7d819a416a9028f8cad45Buy Eggs286943412022-05-24 2:22:1252 mins ago0x31cf65caa4a633093b05c39279397ab862e91fbe IN  0x45311df6affb8570d20fc814d14f72cb8faee44b30 MATIC0.002249869819 30.070031406
0xe3aedc0dedda3c65516aa3c96601619c5279dd115ecfac056dfe6606c02d6e22Hatch Eggs286940512022-05-24 2:12:111 hr 2 mins ago0x31cf65caa4a633093b05c39279397ab862e91fbe IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.001719152262 30.108799993
0xb5d043b5fc425fff0a82640a95ca036a30ca7f8bd0a2b1a5c63f4216f77943c3Sell Eggs286940132022-05-24 2:10:471 hr 4 mins ago0xbd87fdad3cec221ebb4bf11f4ead250331752e17 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002838453003 30.53906077
0xc8867f4e1070097fe2cbed1ce6989ee40e4f7b63054c1be6540a1558aee4a274Sell Eggs286938962022-05-24 2:06:491 hr 8 mins ago0x7a3012e24b46e7fcae6e58c4c72591e00b0a6ad6 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.0028850128 31.040000002
0xd4b62cac1460447d9ed84ed7a609b1fb82d3c97e66ac6c2aadf3338f7e19d3d2Sell Eggs286938742022-05-24 2:06:011 hr 8 mins ago0x4621396471db75938fd50d15235a900bf1a2b76a IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002833446238 30.48519273
0x8235cba53d7de297c19b8899fce80fecbc0a621f7f59cb68c697fa0de2fbc553Sell Eggs286938242022-05-24 2:04:181 hr 10 mins ago0xe1600437311fd3cd31837ca27847f0397f5bd2ea IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002950811457 32.734055772
0xfd2138e5a6fa8f49300be5685bb4ba0c48251cbc3f6d5c5b853051d7d14a0d13Sell Eggs286937972022-05-24 2:03:201 hr 11 mins ago0x783df658291692dc1787cb1c7ba805bad70e5825 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.0027976445 30.1
0x14d35ffe8805eb2ed2e244f33398bc4e54d57a875a88182041bbe9c81b47f34dHatch Eggs286937902022-05-24 2:03:061 hr 11 mins ago0xe1600437311fd3cd31837ca27847f0397f5bd2ea IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002038962672 35.70987902
0xc640973fb6c9d410e2647f61b400fdcc6a7ad5b4634dfaaf157bf529560f1b9aSell Eggs286937792022-05-24 2:02:441 hr 12 mins ago0xf31bb9102a61fc11d52ca68ab112f3c3d58e76f5 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.00279449531
0x6822c738a031fa5b9eb054eae058e2f6b5934a09e05724c7fc710a2349863498Hatch Eggs286935692022-05-24 1:55:321 hr 19 mins ago0x63e7a6874509fe9e7b26be223212d0a58ebf8366 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002600390502 35.046638763
0x9de3a53494b0966c1817de8f925bad46f8ed14741684898868693377f3595e78Sell Eggs286934742022-05-24 1:52:141 hr 22 mins ago0xaeb249346af8f75bfcb45a87b411650b4ae823c0 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002914755454 31.360002741
0x994ffc7eade9ed37863e787508c2b3a28160fb07ec6df9247105f6e8073f1b4dSell Eggs286932052022-05-24 1:40:521 hr 34 mins ago0x1d9049e3de342b09b10569ddb9fafae73362b304 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002859583281 31.442996115
0xcb7ac55f61e1e0ab56f7d9a65a0351c4731f93ac47aadbc237069a1b5796f149Sell Eggs286930532022-05-24 1:35:361 hr 39 mins ago0x2819b1c2d03abd21e5135b7c57c22717b7c65c8f IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002914755201 31.360000018
0x5dd1edcc2b16a3198dc0813c7521472b0db86b4fa40505f6d82ad64eeb29615dSell Eggs286928742022-05-24 1:29:301 hr 45 mins ago0x3a49d6f0e27d84ef22bc69209baa79758e5b548b IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002923863809 31.457999993
0xee93f5bc41e3d322d5cbf76d80defbb964666b481ff2d43c7e01f762badeaa6fSell Eggs286926992022-05-24 1:23:281 hr 51 mins ago0x8e7450307e38efe75c597bbddb2819c16d229fb6 IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002798100799 31.039999993
0x08d92723fcfd951735b3ff4b5bada13301a746f68dbdd1dff57835dcb0c55a68Sell Eggs286926082022-05-24 1:20:221 hr 54 mins ago0x8ccaa38b6d9998bfa8f3506c30a3ea214e540b2b IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.0046472550
0xf099617b88ef625414681291653de1e8c0e05b566e67fad9e5ffdb23fa9fe160Hatch Eggs286925732022-05-24 1:18:001 hr 57 mins ago0x8c5cdbfd72496347441ef40293d3e1484e40bb0f IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.002143323002 39.000000049
0x7b673632335f78577d47fb2fd1bcb7753720e70fb84d29e08f8f086efa8006abHatch Eggs286925052022-05-24 1:14:402 hrs ago0xb9fb9c14c1e6f5063e31798ab3d13be57c290d5a IN  0x45311df6affb8570d20fc814d14f72cb8faee44b0 MATIC0.00177232192 31.040000001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9702e63a8660de8d12349a303b8426264f7779de6e461ef0738248a5edb16db4286951062022-05-24 2:50:3824 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x84ae4699dc8aad2036a23aeca369f54cfbaa0d626.373832348414399164 MATIC
0x9702e63a8660de8d12349a303b8426264f7779de6e461ef0738248a5edb16db4286951062022-05-24 2:50:3824 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.047803742613107993 MATIC
0x9702e63a8660de8d12349a303b8426264f7779de6e461ef0738248a5edb16db4286951062022-05-24 2:50:3824 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.246411044397463885 MATIC
0x95e25fd8167c4f268534396c308b6cc3857facda5ad54a5c1a6578048d964b3f286950082022-05-24 2:47:1427 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x0668986f22d2417f1b9aabe6773b465ba1aea96e0.15615100335655346 MATIC
0x95e25fd8167c4f268534396c308b6cc3857facda5ad54a5c1a6578048d964b3f286950082022-05-24 2:47:1427 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.00117113252517415 MATIC
0x95e25fd8167c4f268534396c308b6cc3857facda5ad54a5c1a6578048d964b3f286950082022-05-24 2:47:1427 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.00603676559368119 MATIC
0x111c32baa6ea7f7ec9e2b08f5e40aac2edcf38910dce7e05c412c05fd21ce613286944672022-05-24 2:26:3248 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x9c3e4e42b05deb078eb43fb375b89a05fb0418490.608556594961457667 MATIC
0x111c32baa6ea7f7ec9e2b08f5e40aac2edcf38910dce7e05c412c05fd21ce613286944672022-05-24 2:26:3248 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.004564174462210932 MATIC
0x111c32baa6ea7f7ec9e2b08f5e40aac2edcf38910dce7e05c412c05fd21ce613286944672022-05-24 2:26:3248 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.023526672485623363 MATIC
0x98e8029469b09081bd0b6567089e012acd9094927eb7d819a416a9028f8cad45286943412022-05-24 2:22:1252 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.9 MATIC
0xb5d043b5fc425fff0a82640a95ca036a30ca7f8bd0a2b1a5c63f4216f77943c3286940132022-05-24 2:10:471 hr 4 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xbd87fdad3cec221ebb4bf11f4ead250331752e170.563683797979501189 MATIC
0xb5d043b5fc425fff0a82640a95ca036a30ca7f8bd0a2b1a5c63f4216f77943c3286940132022-05-24 2:10:471 hr 4 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.004227628484846258 MATIC
0xb5d043b5fc425fff0a82640a95ca036a30ca7f8bd0a2b1a5c63f4216f77943c3286940132022-05-24 2:10:471 hr 4 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.021791899406424015 MATIC
0xc8867f4e1070097fe2cbed1ce6989ee40e4f7b63054c1be6540a1558aee4a274286938962022-05-24 2:06:491 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x7a3012e24b46e7fcae6e58c4c72591e00b0a6ad60.766289059638502596 MATIC
0xc8867f4e1070097fe2cbed1ce6989ee40e4f7b63054c1be6540a1558aee4a274286938962022-05-24 2:06:491 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.005747167947288769 MATIC
0xc8867f4e1070097fe2cbed1ce6989ee40e4f7b63054c1be6540a1558aee4a274286938962022-05-24 2:06:491 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.029624577047880254 MATIC
0xd4b62cac1460447d9ed84ed7a609b1fb82d3c97e66ac6c2aadf3338f7e19d3d2286938742022-05-24 2:06:011 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x4621396471db75938fd50d15235a900bf1a2b76a0.131872632477018673 MATIC
0xd4b62cac1460447d9ed84ed7a609b1fb82d3c97e66ac6c2aadf3338f7e19d3d2286938742022-05-24 2:06:011 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.00098904474357764 MATIC
0xd4b62cac1460447d9ed84ed7a609b1fb82d3c97e66ac6c2aadf3338f7e19d3d2286938742022-05-24 2:06:011 hr 8 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.005098168781328041 MATIC
0x8235cba53d7de297c19b8899fce80fecbc0a621f7f59cb68c697fa0de2fbc553286938242022-05-24 2:04:181 hr 10 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xe1600437311fd3cd31837ca27847f0397f5bd2ea0.000028079841865516 MATIC
0x8235cba53d7de297c19b8899fce80fecbc0a621f7f59cb68c697fa0de2fbc553286938242022-05-24 2:04:181 hr 10 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.000000210598813991 MATIC
0x8235cba53d7de297c19b8899fce80fecbc0a621f7f59cb68c697fa0de2fbc553286938242022-05-24 2:04:181 hr 10 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.000001085560896862 MATIC
0xfd2138e5a6fa8f49300be5685bb4ba0c48251cbc3f6d5c5b853051d7d14a0d13286937972022-05-24 2:03:201 hr 11 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0x783df658291692dc1787cb1c7ba805bad70e58255.689640299096576806 MATIC
0xfd2138e5a6fa8f49300be5685bb4ba0c48251cbc3f6d5c5b853051d7d14a0d13286937972022-05-24 2:03:201 hr 11 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.042672302243224326 MATIC
0xfd2138e5a6fa8f49300be5685bb4ba0c48251cbc3f6d5c5b853051d7d14a0d13286937972022-05-24 2:03:201 hr 11 mins ago 0x45311df6affb8570d20fc814d14f72cb8faee44b0xdec5901f6f20bc6ed44f635b04baea8d83e3772c0.219960320841362505 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RoastBeefMatic

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at polygonscan.com on 2022-05-01
*/

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

contract RoastBeefMatic{
    //uint256 EGGS_PER_MINERS_PER_SECOND=1;
    uint256 public EGGS_TO_HATCH_1MINERS=864000;//for final version should be seconds in a day
    uint256 PSN=10000;
    uint256 PSNH=5000;
    bool public initialized=false;
    address private ceoAddress;
    mapping (address => uint256) public hatcheryMiners;
    mapping (address => uint256) public claimedEggs;
    mapping (address => uint256) public lastHatch;
    mapping (address => address) public referrals;
    uint256 public marketEggs;

    event Buy(address indexed who, uint256 minerBought);
    event Sell(address indexed who, uint256 eggSold, uint256 tokenEarned);
    event Compound(address indexed who, uint256 rewards, uint256 minerBought);

    constructor() public{
        ceoAddress=msg.sender;
    }
    function hatchEggs(address ref) public{
        require(initialized);
        if(ref == msg.sender || ref == address(0) || hatcheryMiners[ref] == 0) {
            ref = ceoAddress;
        }
        if(referrals[msg.sender] == address(0)){
            referrals[msg.sender] = ref;
        }
        uint256 eggsUsed=getMyEggs();
        uint256 newMiners=SafeMath.div(eggsUsed,EGGS_TO_HATCH_1MINERS);
        hatcheryMiners[msg.sender]=SafeMath.add(hatcheryMiners[msg.sender],newMiners);
        claimedEggs[msg.sender]=0;
        lastHatch[msg.sender]=now;

        //send referral eggs
        claimedEggs[referrals[msg.sender]]=SafeMath.add(claimedEggs[referrals[msg.sender]],SafeMath.div(SafeMath.mul(eggsUsed,13),100));

        //boost market to nerf miners hoarding
        marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,5));

        emit Buy(msg.sender, newMiners);

    }
    function sellEggs() public{
        require(initialized);
        uint256 hasEggs=getMyEggs();
        uint256 eggValue=calculateEggSell(hasEggs);
        require(eggValue > 0, "invalid eggValue");
        uint256 fee=devFee(eggValue);
        claimedEggs[msg.sender]=0;
        lastHatch[msg.sender]=now;
        marketEggs=SafeMath.add(marketEggs,hasEggs);
        ceoAddress.transfer(fee);
        uint256 amount = SafeMath.sub(eggValue,fee);

        uint256 autoCompound = SafeMath.div(SafeMath.mul(20, amount),100);
        amount = SafeMath.sub(amount,autoCompound);
        uint256 eggsBought=calculateEggBuy(autoCompound,SafeMath.sub(address(this).balance,autoCompound));
        eggsBought=SafeMath.sub(eggsBought,devFee(eggsBought));
        uint256 fee2=devFee(autoCompound);
        ceoAddress.transfer(fee2);
        claimedEggs[msg.sender]=SafeMath.add(claimedEggs[msg.sender],eggsBought);
        hatchEggs(referrals[msg.sender]);


        msg.sender.transfer(amount);
        emit Sell(msg.sender, hasEggs, eggValue);
    }
    function buyEggs(address ref) public payable{
        require(initialized);
        uint256 eggsBought=calculateEggBuy(msg.value,SafeMath.sub(address(this).balance,msg.value));
        eggsBought=SafeMath.sub(eggsBought,devFee(eggsBought));
        uint256 fee=devFee(msg.value);
        ceoAddress.transfer(fee);
        claimedEggs[msg.sender]=SafeMath.add(claimedEggs[msg.sender],eggsBought);
        hatchEggs(ref);
    }

    //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,address(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,address(this).balance);
    }
    function devFee(uint256 amount) public pure returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,3),100);
    }
    function seedMarket() public payable{
        require(msg.sender == ceoAddress, 'invalid call');
        require(marketEggs==0);
        initialized=true;
        marketEggs=86400000000;
        buyEggs(msg.sender);
    }
    function getBalance() public view returns(uint256){
        return address(this).balance;
    }
    function getMyMiners() public view returns(uint256){
        return hatcheryMiners[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_1MINERS,SafeMath.sub(now,lastHatch[adr]));
        return SafeMath.mul(secondsPassed,hatcheryMiners[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":"getMyMiners","outputs":[{"name":"","type":"uint256"}],"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":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":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"devFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[],"name":"seedMarket","outputs":[],"payable":true,"stateMutability":"payable","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":true,"inputs":[{"name":"","type":"address"}],"name":"claimedEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hatcheryMiners","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EGGS_TO_HATCH_1MINERS","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":"adr","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ref","type":"address"}],"name":"buyEggs","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":false,"name":"minerBought","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":false,"name":"eggSold","type":"uint256"},{"indexed":false,"name":"tokenEarned","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":false,"name":"rewards","type":"uint256"},{"indexed":false,"name":"minerBought","type":"uint256"}],"name":"Compound","type":"event"}]

6080604052620d2f006000556127106001556113886002556003805460ff1916905534801561002d57600080fd5b506003805461010060a860020a0319163361010002179055610b42806100546000396000f3006080604052600436106101115763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a76e5ed811461011657806312065fe01461013d578063158ef93e14610152578063229824c41461017b57806326fd8422146101995780632e9392bb146101b45780633955f0fe146101c95780633bc0461a146101e05780633c5f07cb146101f85780633ec862a81461020057806343ce742214610221578063467ece7914610236578063726703611461025757806379532aa9146102785780637cdebc21146102995780637e56fde5146102ae5780638e316327146102c65780639ca423b3146102de578063d7c8843b1461031b578063db6638651461033c575b600080fd5b34801561012257600080fd5b5061012b610350565b60408051918252519081900360200190f35b34801561014957600080fd5b5061012b610363565b34801561015e57600080fd5b50610167610368565b604080519115158252519081900360200190f35b34801561018757600080fd5b5061012b600435602435604435610371565b3480156101a557600080fd5b5061012b6004356024356103be565b3480156101c057600080fd5b5061012b6103d4565b3480156101d557600080fd5b506101de6103da565b005b3480156101ec57600080fd5b5061012b60043561065a565b6101de610670565b34801561020c57600080fd5b506101de600160a060020a036004351661071c565b34801561022d57600080fd5b5061012b6108e1565b34801561024257600080fd5b5061012b600160a060020a0360043516610906565b34801561026357600080fd5b5061012b600160a060020a0360043516610918565b34801561028457600080fd5b5061012b600160a060020a036004351661092a565b3480156102a557600080fd5b5061012b61093c565b3480156102ba57600080fd5b5061012b600435610942565b3480156102d257600080fd5b5061012b60043561094f565b3480156102ea57600080fd5b506102ff600160a060020a0360043516610968565b60408051600160a060020a039092168252519081900360200190f35b34801561032757600080fd5b5061012b600160a060020a0360043516610983565b6101de600160a060020a03600435166109da565b3360009081526004602052604090205490565b303190565b60035460ff1681565b60006103b661038260015484610a92565b6103b16002546103a66103ab61039a6001548a610a92565b6103a66002548c610a92565b610ac8565b89610ad7565b610ad7565b949350505050565b60006103cd8383600854610371565b9392505050565b60085481565b6000806000806000806000600360009054906101000a900460ff16151561040057600080fd5b6104086108e1565b96506104138761094f565b95506000861161048457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f696e76616c69642065676756616c756500000000000000000000000000000000604482015290519081900360640190fd5b61048d8661065a565b336000908152600560209081526040808320839055600690915290204290556008549095506104bc9088610ac8565b600855600354604051610100909104600160a060020a0316906108fc8715029087906000818181858888f193505050501580156104fd573d6000803e3d6000fd5b506105088686610aee565b935061051f610518601486610a92565b6064610ad7565b925061052b8484610aee565b93506105418361053c303182610aee565b6103be565b9150610555826105508461065a565b610aee565b91506105608361065a565b6003546040519192506101009004600160a060020a0316906108fc8315029083906000818181858888f193505050501580156105a0573d6000803e3d6000fd5b50336000908152600560205260409020546105bb9083610ac8565b336000908152600560209081526040808320939093556007905220546105e990600160a060020a031661071c565b604051339085156108fc029086906000818181858888f19350505050158015610616573d6000803e3d6000fd5b506040805188815260208101889052815133927fed7a144fad14804d5c249145e3e0e2b63a9eb455b76aee5bc92d711e9bba3e4a928290030190a250505050505050565b600061066a610518836003610a92565b92915050565b6003546101009004600160a060020a031633146106ee57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f696e76616c69642063616c6c0000000000000000000000000000000000000000604482015290519081900360640190fd5b600854156106fb57600080fd5b6003805460ff1916600117905564141dd7600060085561071a336109da565b565b600354600090819060ff16151561073257600080fd5b600160a060020a0383163314806107505750600160a060020a038316155b806107715750600160a060020a038316600090815260046020526040902054155b1561078a576003546101009004600160a060020a031692505b33600090815260076020526040902054600160a060020a031615156107df57336000908152600760205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b6107e76108e1565b91506107f582600054610ad7565b336000908152600460205260409020549091506108129082610ac8565b336000908152600460209081526040808320939093556005808252838320839055600682528383204290556007825283832054600160a060020a0316835290522054610866906103a661051885600d610a92565b33600090815260076020908152604080832054600160a060020a03168352600591829052909120919091556008546108a3916103a6908590610ad7565b60085560408051828152905133917fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e919081900360200190a2505050565b33600081815260056020526040812054909161090191906103a690610983565b905090565b60066020526000908152604090205481565b60056020526000908152604090205481565b60046020526000908152604090205481565b60005481565b600061066a8230316103be565b600061066a8260085430600160a060020a031631610371565b600760205260009081526040902054600160a060020a031681565b60008054600160a060020a03831682526006602052604082205482916109b3916109ae904290610aee565b610b00565b600160a060020a0384166000908152600460205260409020549091506103cd908290610a92565b600354600090819060ff1615156109f057600080fd5b6109ff3461053c303182610aee565b9150610a0e826105508461065a565b9150610a193461065a565b6003546040519192506101009004600160a060020a0316906108fc8315029083906000818181858888f19350505050158015610a59573d6000803e3d6000fd5b5033600090815260056020526040902054610a749083610ac8565b33600090815260056020526040902055610a8d8361071c565b505050565b600080831515610aa55760009150610ac1565b50828202828482811515610ab557fe5b0414610abd57fe5b8091505b5092915050565b600082820183811015610abd57fe5b6000808284811515610ae557fe5b04949350505050565b600082821115610afa57fe5b50900390565b6000818310610b0f57816103cd565b50909190505600a165627a7a72305820ec45b9d579cde0258571b2dc354e4cead2940eca1287b8973e03f386248c25cf0029

Deployed ByteCode Sourcemap

52:5132:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4572:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4572:103:0;;;;;;;;;;;;;;;;;;;;4469:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4469:97:0;;;;271:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;271:29:0;;;;;;;;;;;;;;;;;;;;;;3341:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3341:290:0;;;;;;;;;3790:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3790:162:0;;;;;;;555:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;555:25:0;;;;1790:1065;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1790:1065:0;;;;;;4104:126;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4104:126:0;;;;;4236:227;;;;871:913;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;871:913:0;-1:-1:-1;;;;;871:913:0;;;;;4681:146;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4681:146:0;;;;451:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;451:45:0;-1:-1:-1;;;;;451:45:0;;;;;397:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;397:47:0;-1:-1:-1;;;;;397:47:0;;;;;340:50;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;340:50:0;-1:-1:-1;;;;;340:50:0;;;;;127:43;;8:9:-1;5:2;;;30:1;27;20:12;5:2;127:43:0;;;;3958:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3958:140:0;;;;;3637:147;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3637:147:0;;;;;503:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;503:45:0;-1:-1:-1;;;;;503:45:0;;;;;;;;;-1:-1:-1;;;;;503:45:0;;;;;;;;;;;;;;4833:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4833:237:0;-1:-1:-1;;;;;4833:237:0;;;;;2861:433;;-1:-1:-1;;;;;2861:433:0;;;;;4572:103;4656:10;4615:7;4641:26;;;:14;:26;;;;;;4572:103;:::o;4469:97::-;4545:4;4537:21;4469:97;:::o;271:29::-;;;;;;:::o;3341:290::-;3420:7;3496:127;3509:20;3522:3;;3526:2;3509:12;:20::i;:::-;3530:92;3543:4;;3548:73;3561:56;3574:20;3587:3;;3591:2;3574:12;:20::i;:::-;3595:21;3608:4;;3613:2;3595:12;:21::i;:::-;3561:12;:56::i;:::-;3618:2;3548:12;:73::i;3530:92::-;3496:12;:127::i;:::-;3489:134;3341:290;-1:-1:-1;;;;3341:290:0:o;3790:162::-;3872:7;3898:46;3913:3;3917:15;3933:10;;3898:14;:46::i;:::-;3891:53;3790:162;-1:-1:-1;;;3790:162:0:o;555:25::-;;;;:::o;1790:1065::-;1858:15;1896:16;2001:11;2201:14;2257:20;2386:18;2559:12;1835:11;;;;;;;;;;;1827:20;;;;;;;;1874:11;:9;:11::i;:::-;1858:27;;1913:25;1930:7;1913:16;:25::i;:::-;1896:42;-1:-1:-1;1968:1:0;1957:12;;1949:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2013:16;2020:8;2013:6;:16::i;:::-;2052:10;2064:1;2040:23;;;:11;:23;;;;;;;;:25;;;2076:9;:21;;;;;2098:3;2076:25;;2136:10;;2001:28;;-1:-1:-1;2123:32:0;;2147:7;2123:12;:32::i;:::-;2112:10;:43;2166:10;;:24;;:10;;;;-1:-1:-1;;;;;2166:10:0;;:24;;;;;;;;;;;;:10;:24;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2166:24:0;2218:26;2231:8;2240:3;2218:12;:26::i;:::-;2201:43;;2280:42;2293:24;2306:2;2310:6;2293:12;:24::i;:::-;2318:3;2280:12;:42::i;:::-;2257:65;;2342:33;2355:6;2362:12;2342;:33::i;:::-;2333:42;-1:-1:-1;2405:78:0;2421:12;2434:48;2455:4;2447:21;2421:12;2434;:48::i;:::-;2405:15;:78::i;:::-;2386:97;;2505:43;2518:10;2529:18;2536:10;2529:6;:18::i;:::-;2505:12;:43::i;:::-;2494:54;;2572:20;2579:12;2572:6;:20::i;:::-;2603:10;;:25;;2559:33;;-1:-1:-1;2603:10:0;;;-1:-1:-1;;;;;2603:10:0;;:25;;;;;2559:33;;2603:25;;;;2559:33;2603:10;:25;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;2688:10:0;2676:23;;;;:11;:23;;;;;;2663:48;;2700:10;2663:12;:48::i;:::-;2651:10;2639:23;;;;:11;:23;;;;;;;;:72;;;;2732:9;:21;;;;2722:32;;-1:-1:-1;;;;;2732:21:0;2722:9;:32::i;:::-;2769:27;;:10;;:27;;;;;2789:6;;2769:27;;;;2789:6;2769:10;:27;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;2812:35:0;;;;;;;;;;;;;;2817:10;;2812:35;;;;;;;;1790:1065;;;;;;;:::o;4104:126::-;4156:7;4182:40;4195:22;4208:6;4215:1;4195:12;:22::i;4182:40::-;4175:47;4104:126;-1:-1:-1;;4104:126:0:o;4236:227::-;4305:10;;;;;-1:-1:-1;;;;;4305:10:0;4291;:24;4283:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4351:10;;:13;4343:22;;;;;;4376:11;:16;;-1:-1:-1;;4376:16:0;4388:4;4376:16;;;4414:11;4403:10;:22;4436:19;4444:10;4436:7;:19::i;:::-;4236:227::o;871:913::-;928:11;;1178:16;;;;928:11;;920:20;;;;;;;;-1:-1:-1;;;;;954:17:0;;961:10;954:17;;:38;;-1:-1:-1;;;;;;975:17:0;;;954:38;:66;;;-1:-1:-1;;;;;;996:19:0;;;;;;:14;:19;;;;;;:24;954:66;951:114;;;1043:10;;;;;-1:-1:-1;;;;;1043:10:0;;-1:-1:-1;951:114:0;1088:10;1111:1;1078:21;;;:9;:21;;;;;;-1:-1:-1;;;;;1078:21:0;:35;1075:93;;;1139:10;1129:21;;;;:9;:21;;;;;:27;;-1:-1:-1;;1129:27:0;-1:-1:-1;;;;;1129:27:0;;;;;1075:93;1195:11;:9;:11::i;:::-;1178:28;;1235:44;1248:8;1257:21;;1235:12;:44::i;:::-;1345:10;1330:26;;;;:14;:26;;;;;;1217:62;;-1:-1:-1;1317:50:0;;1217:62;1317:12;:50::i;:::-;1305:10;1290:26;;;;:14;:26;;;;;;;;:77;;;;1378:11;:23;;;;;;:25;;;1414:9;:21;;;;;1436:3;1414:25;;1542:9;:21;;;;;;-1:-1:-1;;;;;1542:21:0;1530:34;;;;;;1517:92;;1565:43;1578:25;1591:8;1600:2;1578:12;:25::i;1517:92::-;1504:10;1482:34;1494:21;;;:9;:21;;;;;;;;;-1:-1:-1;;;;;1494:21:0;1482:34;;:11;:34;;;;;;;:127;;;;1694:10;;1681:49;;1705:24;;1718:8;;1705:12;:24::i;1681:49::-;1670:10;:60;1748:26;;;;;;;;1752:10;;1748:26;;;;;;;;;;871:913;;;:::o;4681:146::-;4773:10;4722:7;4761:23;;;:11;:23;;;;;;4722:7;;4748:71;;4761:23;4785:33;;:21;:33::i;4748:71::-;4741:78;;4681:146;:::o;451:45::-;;;;;;;;;;;;;:::o;397:47::-;;;;;;;;;;;;;:::o;340:50::-;;;;;;;;;;;;;:::o;127:43::-;;;;:::o;3958:140::-;4022:7;4048:42;4064:3;4076:4;4068:21;4048:15;:42::i;3637:147::-;3697:7;3723:53;3738:4;3743:10;;3762:4;-1:-1:-1;;;;;3754:21:0;;3723:14;:53::i;503:45::-;;;;;;;;;;;;-1:-1:-1;;;;;503:45:0;;:::o;4833:237::-;4897:7;4942:21;;-1:-1:-1;;;;;4981:14:0;;;;:9;:14;;;;;;4897:7;;4938:59;;4964:32;;4977:3;;4964:12;:32::i;:::-;4938:3;:59::i;:::-;-1:-1:-1;;;;;5042:19:0;;;;;;:14;:19;;;;;;4916:81;;-1:-1:-1;5015:47:0;;4916:81;;5015:12;:47::i;2861:433::-;2924:11;;2947:18;;;;2924:11;;2916:20;;;;;;;;2966:72;2982:9;2992:45;3013:4;3005:21;2982:9;2992:12;:45::i;2966:72::-;2947:91;;3060:43;3073:10;3084:18;3091:10;3084:6;:18::i;3060:43::-;3049:54;;3126:17;3133:9;3126:6;:17::i;:::-;3154:10;;:24;;3114:29;;-1:-1:-1;3154:10:0;;;-1:-1:-1;;;;;3154:10:0;;:24;;;;;3114:29;;3154:24;;;;3114:29;3154:10;:24;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;3238:10:0;3226:23;;;;:11;:23;;;;;;3213:48;;3250:10;3213:12;:48::i;:::-;3201:10;3189:23;;;;:11;:23;;;;;:72;3272:14;3282:3;3272:9;:14::i;:::-;2861:433;;;:::o;5287:208::-;5345:7;;5369:6;;5365:47;;;5399:1;5392:8;;;;5365:47;-1:-1:-1;5434:5:0;;;5438:1;5434;:5;5457;;;;;;;;:10;5450:18;;;;5486:1;5479:8;;5287:208;;;;;;:::o;6202:147::-;6260:7;6292:5;;;6315:6;;;;6308:14;;;5590:288;5648:7;5747:9;5763:1;5759;:5;;;;;;;;;5590:288;-1:-1:-1;;;;5590:288:0:o;6004:123::-;6062:7;6089:6;;;;6082:14;;;;-1:-1:-1;6114:5:0;;;6004:123::o;5076:105::-;5133:7;5164:1;5160;:5;:13;;5172:1;5160:13;;;-1:-1:-1;5168:1:0;;5076:105;-1:-1:-1;5076:105:0:o

Swarm Source

bzzr://ec45b9d579cde0258571b2dc354e4cead2940eca1287b8973e03f386248c25cf
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.