Contract 0x8e01E6f31DEBD7035ECE01584C059dA806a0E67D

 

Contract Overview

Balance:
0.332087278953862353 BNB

BNB Value:
$121.38 (@ $365.51/BNB)
Txn Hash
Block
From
To
Value [Txn Fee]
0x8a386a0ebbfd94d5ff8f0ef085e4f3e6bb1d6001451936d754051700bd667bee65714672021-04-14 23:22:3261 days 16 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00031199
0x7313180593898c8a30ef3d019dcd94554b61831a76007d9f1b3f35718e41815665438362021-04-14 0:19:4962 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283875
0x871f6bfab73f585c83d3a6fac5142a270c0636b560a84b29710623081b0ce4c664584442021-04-11 1:04:3465 days 14 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283875
0x9ddca3840b1d522733e9a45d193ecdd6a8e6259c00710265ee7c79056d6315d864292332021-04-10 0:42:2166 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283925
0x02b79826df16138a7c93e42aed04daf79e53e948f76abdb1b2842fff954d3e0164109412021-04-09 9:24:2067 days 6 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283925
0x290b0e5a754372868a68467354f46a232e28f9d6a67e2b161e3300116505dfe063994852021-04-08 23:44:1667 days 16 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283925
0xcedc0a800d0c0b4f194e43c6a749b96f4e2e272603bb0a735759ecec210b1ed363830542021-04-08 9:06:5968 days 6 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283925
0xecae11205c7c0baa4482cdc6085c6e57fbb7ec56192e52db52e5b9f5b9032eeb63729352021-04-08 0:33:3868 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283925
0xd3ac40ef79f7b69231698818f1336b812a98e1f1d572a40a2218caddce266ac163595242021-04-07 13:07:3769 days 2 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.000283875
0x79c23d366dd118b12861deb529df46d5f77cc932d67ef0b7d5195d7c18ea7d6563402872021-04-06 20:40:2469 days 19 hrs ago0x821e6749bce3051142eaad5429ce17985239cd96 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00058291
0xb0e23da6641e4d375d20e124826d1bc876640cd3ec3b8448979e66a0674dfa6863161322021-04-06 0:06:4570 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056785
0x25ce53c7bcb1fd391f0fe591505df521a24cc6f8cfd4f3bc1bf67513d0186def63017252021-04-05 11:41:2571 days 4 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056785
0x826b0c53831621affc31fd9a1dbe71d148ae7bbad9500c6d9d7771b1c7de2f6962808762021-04-04 18:12:1971 days 21 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056785
0x966a96429e83e67c4cb953f07e717a07a83d05fb85cc7bd2c2670aad5a1627a262752142021-04-04 13:08:0372 days 2 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056775
0x4a949ea0e1c0225d9d207844664d2c2890b0e46689200077ed792f7ea8586bc862303582021-04-02 23:33:2173 days 16 hrs ago0x2101e095244b4fd2ff228725faa692fd7261c074 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00062388
0xcf58bcb9f38bac0a4b1b434e32a3b7f66cc08d5a29ba03af8b4f8cd30d6cdc2662031762021-04-02 0:37:3174 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056775
0xb3366a9493f3c7a60088a771bf0c1de12f74c5038918575d02dbb2774843c41361753722021-04-01 1:15:1675 days 14 hrs ago0x2101e095244b4fd2ff228725faa692fd7261c074 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00058529
0x596fd2fde11f61ff3ab187d7cb403e23a99e59312854ae7dee416ddf2753c32161593662021-03-31 11:46:0276 days 4 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00062398
0x46bd88348ce6423b82ebfdf5ac52b1b270ca6e964d3d2a451e477fe775c52e1461557772021-03-31 8:46:1376 days 7 hrs ago0x2101e095244b4fd2ff228725faa692fd7261c074 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00058529
0xdbacfadaccfdff3073fe0ad3145b52a0960d90efc0485e457397e7fbfd7b6ad861452392021-03-30 23:57:2176 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056785
0x352644049e4b8a593f8445d4a2df9ad530693c62f145e71142596c999509036661348582021-03-30 15:16:4077 days 36 mins ago0x2101e095244b4fd2ff228725faa692fd7261c074 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00058529
0x484ae245333e0e4b9d5d545bfbb53f026494460b67de80ef59066086373c536f61286472021-03-30 10:04:4277 days 5 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056785
0xe454dd131de8e53f9f99bdb98d470f4aadaa26854a73d29a92bd9ba101303c2561170752021-03-30 0:25:5177 days 15 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00056775
0x3dab215cec5dfebb81c1365499a072a639213114cde60cb2aa7ab73366a6427661159532021-03-29 23:29:3277 days 16 hrs ago0x2101e095244b4fd2ff228725faa692fd7261c074 IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00058519
0x9f6a6167629b76a2a8d573328b947306bc1c40e0d732af35336f3443804f1e3660847052021-03-28 21:20:2678 days 18 hrs ago0x401b61f0703cf09333e689e4d36ac802aab3c90f IN  0x8e01e6f31debd7035ece01584c059da806a0e67d0 BNB0.00062398
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8a386a0ebbfd94d5ff8f0ef085e4f3e6bb1d6001451936d754051700bd667bee65714672021-04-14 23:22:3261 days 16 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.001717613435837683 BNB
0x4a949ea0e1c0225d9d207844664d2c2890b0e46689200077ed792f7ea8586bc862303582021-04-02 23:33:2173 days 16 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.000614907501368324 BNB
0x596fd2fde11f61ff3ab187d7cb403e23a99e59312854ae7dee416ddf2753c32161593662021-03-31 11:46:0276 days 4 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.004607804570748484 BNB
0x9f6a6167629b76a2a8d573328b947306bc1c40e0d732af35336f3443804f1e3660847052021-03-28 21:20:2678 days 18 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.008155476367489442 BNB
0x457f259fad50a720f99a875d01f40ae51420683b9f4a38e570c3dfd4adb6f9a060845462021-03-28 21:12:2978 days 18 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.008354390425233087 BNB
0x6f0e5036987deb7211ac71bc45d9b7934a071e8460dc2be2933fef0ad425d90c60285002021-03-26 21:47:2780 days 18 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.01323507631297357 BNB
0x3832624a4f122a7b8dbcb7e7bdb275b31607f74c1001b1ab68c08b20d6c4647b59428282021-03-23 21:50:5383 days 18 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.008648783622621845 BNB
0x877e7e416945ef8181491edfbead557f7a052e199fd04aac1c05a4730b282e5359340752021-03-23 14:31:5584 days 1 hr ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.009890929154966583 BNB
0xbe8b981486322aa64c580c50e55b23d90db5ea8b7a1e926c0a1b086c8197c2ab59168232021-03-23 0:00:4484 days 15 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.01569131063363815 BNB
0x917f39e2874ee338fd5fe05fdbb9219f8d079017882ebb288ebd6f20220104b658994772021-03-22 9:15:5885 days 6 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.012975385713949421 BNB
0xc6f7dbec6531592225ffa2cb555763291134aa999b804ea82a7853a95cae9c0558750912021-03-21 12:55:4186 days 2 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.019812582880464693 BNB
0x41721d9b51cd149f6b0567719a0d945d392e94eb4bca6682a68c0500e495ea9e58446292021-03-20 11:30:2287 days 4 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.019750807459490583 BNB
0x7522d9b3c9e9cc516f3757e59407333e86fa2d57024e174a375ffaf433ff511958411522021-03-20 8:36:3187 days 7 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.015289387679921739 BNB
0x57d9e0f91e7940623234185d37e7dae5559fb2b7519a72e349b192305b313b1d58309752021-03-20 0:07:3787 days 15 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.023888419460561403 BNB
0x431062caf7b28a5f8e5f3db890a8cf5d4df15d1c9c676dad60d0dcf3d375720758189002021-03-19 14:03:5088 days 1 hr ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.012870257989897733 BNB
0xa19f2d76633d48b183c66672c7ffa9254e62d3b0addfb29269337fcbc463f94858141412021-03-19 10:04:0188 days 5 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.031380018159057626 BNB
0x33dd50efb2e1ade23562667aef4814eaab50a63725c86770db9b0cf605c1f83758138392021-03-19 9:48:5588 days 6 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.028588574717911009 BNB
0x134061ea970a6cb178524c66bd76e5f42e923156460a37e80ba7ceffc343e33c58072022021-03-19 4:16:5988 days 11 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.038530536713909198 BNB
0xad832dcd6b965afda4ffa11c62e20d8b125be7c641e2f6223b0039e4257308f557987632021-03-18 21:14:5088 days 18 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.073774599557696181 BNB
0xfacb99ca9efe7fa89a520c8245db2ca1e740b379acd033e7b40260bb419278de57723622021-03-17 23:12:5089 days 16 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.024191357739742905 BNB
0x5e0fdab4865fb712bcef8daa16d08671a74dab6f48d3f2856b65b904a2c368a457670612021-03-17 18:47:4089 days 21 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.019959739403177735 BNB
0xd583807abaa679bb2e76d422242a7e42a346c7ddd44341543595b6101c82738a57632392021-03-17 15:36:0890 days 16 mins ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.039825294185490431 BNB
0x6c958b5ac99674dfd20e3babe255075d4985189b65b7d16e98d1daeddbc512f257567572021-03-17 10:11:5590 days 5 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.041581681006304784 BNB
0x30f30d6fa300219b3ac7840be88ac090dccaf8bad51359272f241b0a5814885257431152021-03-16 22:49:4990 days 17 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x2101e095244b4fd2ff228725faa692fd7261c0740.058801782231655118 BNB
0x26b72bbd442008c7d3967ae80ec8ba8c3e7b3fcdee03b5bffdf4c93617a55eec57280282021-03-16 10:14:1391 days 5 hrs ago 0x8e01e6f31debd7035ece01584c059da806a0e67d0x401b61f0703cf09333e689e4d36ac802aab3c90f0.045014036432981028 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BananaFarm

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-03-02
*/

pragma solidity >=0.7.0 <0.8.0;

/*
 Available at https://poa.on.fleek.co/ IPFS deployment and http://poa.vercel.app/

 Team Apes presents BananaFarm:
  - Ref fee - 10% of eggs
	- Fee - 3%:
    - Dev fee - 1.5% 
    - Buyback POA - 1.5%
*/

interface POALike {
  function buy(address _referredBy) external payable returns (uint256);

  function reinvest() external;
}

contract BananaFarm {
  uint256 public CEO_FEE = 3;

  uint256 public lastPrice = 2000000000000000000;
  uint256 public hatchingSpeed = 200;

  uint256 public EGGS_TO_HATCH_1Dragon = 86400;

  uint256 PSN = 10000;
  uint256 PSNH = 5000;

  address public poaAddress = 0x79Ed648f0Fb424Ec37897DF87B9ee80cca65B230;

  bool public activated = false;
  address payable public ceoAddress;
  uint256 public ceoEtherBalance;

  mapping(address => uint256) public iceDragons;
  mapping(address => uint256) public premiumDragons;
  mapping(address => uint256) public ultraDragon;

  mapping(address => uint256) public userHatchRate;

  mapping(address => bool) public cashedOut;

  mapping(address => uint256) public userReferralEggs;
  mapping(address => uint256) public lastHatch;
  mapping(address => address) public referrals;

  uint256 public marketEggs;
  uint256 public contractStarted;

  POALike public poaContract;

  constructor() public {
    ceoAddress = msg.sender;

    poaContract = POALike(poaAddress);
  }

  // anyone can call withdrawing fees
  // 1.5% to dev
  // 1.5% to buyback POA to this address
  function withdrawAdminMoney() public {
    require(ceoEtherBalance > 0);

    // total fee 3%
    uint256 myBalance = ceoEtherBalance;
    ceoEtherBalance = ceoEtherBalance - myBalance;

    // dev fee 1.5%
    ceoAddress.transfer(SafeMath.div(myBalance, 2));
    // buyback POA 1.5%
    poaContract.buy{ value: SafeMath.div(myBalance, 2) }(address(this));
  }

  function reinvest() public {
    poaContract.reinvest();
  }

  function seedMarket() public payable {
    require(marketEggs == 0);
    require(msg.sender == ceoAddress);
    require(msg.value > 0);
    activated = true;
    marketEggs = 8640000000;
    contractStarted = block.timestamp;

    buyUltraDrangon();
  }

  function getMyEggs() public view returns (uint256) {
    return SafeMath.add(userReferralEggs[msg.sender], getEggsSinceLastHatch(msg.sender));
  }

  function getEggsSinceLastHatch(address adr) public view returns (uint256) {
    uint256 secondsPassed =
      min(EGGS_TO_HATCH_1Dragon, SafeMath.sub(block.timestamp, lastHatch[adr]));

    uint256 dragonCount = SafeMath.mul(iceDragons[adr], 10);
    dragonCount = SafeMath.add(SafeMath.mul(ultraDragon[adr], 25), dragonCount);
    dragonCount = SafeMath.add(dragonCount, premiumDragons[adr]);
    return SafeMath.mul(secondsPassed, dragonCount);
  }

  function min(uint256 a, uint256 b) private pure returns (uint256) {
    return a < b ? a : b;
  }

  function getBalance() public view returns (uint256) {
    return address(this).balance;
  }

  function getMyPremiumDragons() public view returns (uint256) {
    return premiumDragons[msg.sender];
  }

  function getMyIceDragon() public view returns (uint256) {
    return iceDragons[msg.sender];
  }

  function getMyUltraDragon() public view returns (uint256) {
    return ultraDragon[msg.sender];
  }

  // 10 eggs per hour
  function getEggsToHatchDragon() public view returns (uint256) {
    uint256 timeSpent = SafeMath.sub(block.timestamp, contractStarted);
    timeSpent = SafeMath.div(timeSpent, 3600);
    return SafeMath.mul(timeSpent, 10);
  }

  function calculatePercentage(uint256 amount, uint256 percentage) public pure returns (uint256) {
    return SafeMath.div(SafeMath.mul(amount, percentage), 100);
  }

  function getDragonsToBuy(uint256 eth, uint256 multiplier) internal returns (uint256) {
    require(activated);

    if (lastHatch[msg.sender] == 0) {
      lastHatch[msg.sender] = block.timestamp;
    }

    uint256 eggsBought =
      SafeMath.div(
        calculateEggBuy(
          msg.value,
          SafeMath.sub(SafeMath.sub(address(this).balance, ceoEtherBalance), msg.value)
        ),
        multiplier
      );
    eggsBought = SafeMath.sub(eggsBought, devFee(eggsBought));

    require(eggsBought > 0);

    ceoEtherBalance += calculatePercentage(msg.value, CEO_FEE);
    hatchEggs(msg.sender);
    return eggsBought;
  }

  function devFee(uint256 amount) public view returns (uint256) {
    return SafeMath.div(SafeMath.mul(amount, CEO_FEE), 100);
  }

  function buyPremiumDrangon() public payable {
    uint256 dragons = getDragonsToBuy(msg.value, 1);
    premiumDragons[msg.sender] += dragons;
  }

  function buyIceDrangon() public payable {
    uint256 dragons = getDragonsToBuy(msg.value, 8);
    iceDragons[msg.sender] += dragons;
  }

  function buyUltraDrangon() public payable {
    require(activated);
    uint256 dragons = getDragonsToBuy(msg.value, 20);
    ultraDragon[msg.sender] += dragons;
  }

  function hatchEggs(address ref) public {
    require(activated);

    if (ref != msg.sender) {
      referrals[msg.sender] = ref;
    }

    uint256 eggsProduced = getMyEggs();
    uint256 newDragon = SafeMath.div(eggsProduced, EGGS_TO_HATCH_1Dragon);
    newDragon = SafeMath.div(eggsProduced, EGGS_TO_HATCH_1Dragon);
    premiumDragons[msg.sender] = SafeMath.add(premiumDragons[msg.sender], newDragon);
    lastHatch[msg.sender] = block.timestamp;

    userReferralEggs[msg.sender] = 0;

    //send referral eggs
    userReferralEggs[referrals[msg.sender]] = SafeMath.add(
      userReferralEggs[referrals[msg.sender]],
      SafeMath.div(eggsProduced, 10)
    );

    //boost market to nerf Dragon hoarding
    marketEggs = SafeMath.add(marketEggs, SafeMath.div(newDragon, 10));
  }

  function sellEggs() public {
    require(activated);
    uint256 hasEggs = SafeMath.div(getMyEggs(), EGGS_TO_HATCH_1Dragon);
    uint256 ethValue = calculateEggSell(hasEggs);
    uint256 fee = calculatePercentage(ethValue, CEO_FEE);
    userReferralEggs[msg.sender] = 0;
    lastHatch[msg.sender] = block.timestamp;
    marketEggs = SafeMath.add(marketEggs, hasEggs);
    ceoEtherBalance += fee;
    require(address(this).balance > ceoEtherBalance);
    msg.sender.transfer(SafeMath.sub(ethValue, fee));
  }

  //magic trade balancing algorithm
  function calculateTrade(
    uint256 rt,
    uint256 rs,
    uint256 bs
  ) public view returns (uint256) {
    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 calculateEggSell(eggs, SafeMath.sub(address(this).balance, ceoEtherBalance));
  }

  function calculateEggSell(uint256 eggs, uint256 eth) public view returns (uint256) {
    return calculateTrade(eggs, marketEggs, eth);
  }

  function calculateEggBuy(uint256 eth, uint256 contractBalance) public view returns (uint256) {
    return calculateTrade(eth, contractBalance, marketEggs);
  }

  function calculateEggBuy(uint256 eth) public view returns (uint256) {
    return calculateEggBuy(eth, SafeMath.sub(address(this).balance, ceoEtherBalance));
  }
}

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

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CEO_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EGGS_TO_HATCH_1Dragon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyIceDrangon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyPremiumDrangon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"buyUltraDrangon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eth","type":"uint256"},{"internalType":"uint256","name":"contractBalance","type":"uint256"}],"name":"calculateEggBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eth","type":"uint256"}],"name":"calculateEggBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eggs","type":"uint256"}],"name":"calculateEggSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eggs","type":"uint256"},{"internalType":"uint256","name":"eth","type":"uint256"}],"name":"calculateEggSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"calculatePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"rt","type":"uint256"},{"internalType":"uint256","name":"rs","type":"uint256"},{"internalType":"uint256","name":"bs","type":"uint256"}],"name":"calculateTrade","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cashedOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ceoAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ceoEtherBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractStarted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEggsToHatchDragon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyEggs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyIceDragon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyPremiumDragons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyUltraDragon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ref","type":"address"}],"name":"hatchEggs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hatchingSpeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"iceDragons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastHatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketEggs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poaContract","outputs":[{"internalType":"contract POALike","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"premiumDragons","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reinvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seedMarket","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sellEggs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ultraDragon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userHatchRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userReferralEggs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAdminMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526003600055671bc16d674ec8000060015560c8600255620151806003556127106004556113886005557379ed648f0fb424ec37897df87b9ee80cca65b230600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660146101000a81548160ff0219169083151502179055503480156100a957600080fd5b5033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c128061015d6000396000f3fe6080604052600436106102465760003560e01c8063467ece791161013957806394e23d36116100b6578063c5292ed91161007a578063c5292ed914610ad2578063c660127014610b2b578063d55d1fed14610b56578063d7c8843b14610b81578063ee688e1c14610be6578063fdb5a03e14610c1157610246565b806394e23d361461090f5780639ca423b314610974578063a268b1e6146109ef578063a98251b014610a06578063c246627a14610a6b57610246565b806377463b50116100fd57806377463b501461084057806387d79f8a1461086b5780638869a44c146108755780638e316327146108b65780639146b3831461090557610246565b8063467ece79146106f5578063633a0e601461075a5780636e6540101461078557806370bdda04146107c65780637292abec1461081557610246565b806326fd8422116101c75780633bc0461a1161018b5780633bc0461a146105f55780633c5f07cb146106445780633ec862a81461064e5780633f58a0431461069f57806343ce7422146106ca57610246565b806326fd8422146104ca57806328cf540e146105235780632e9392bb14610588578063333f57b3146105b35780633955f0fe146105de57610246565b80631f1765c21161020e5780631f1765c2146103745780632133e3b91461037e578063220c166c146103d7578063229824c41461040257806324dad8101461046557610246565b8063053f14da1461024b5780630a0f81681461027657806312065fe0146102b7578063186601ca146102e25780631b7ccaac1461030f575b600080fd5b34801561025757600080fd5b50610260610c28565b6040518082815260200191505060405180910390f35b34801561028257600080fd5b5061028b610c2e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102c357600080fd5b506102cc610c54565b6040518082815260200191505060405180910390f35b3480156102ee57600080fd5b506102f7610c5c565b60405180821515815260200191505060405180910390f35b34801561031b57600080fd5b5061035e6004803603602081101561033257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c6f565b6040518082815260200191505060405180910390f35b61037c610c87565b005b34801561038a57600080fd5b506103c1600480360360408110156103a157600080fd5b810190808035906020019092919080359060200190929190505050610ce6565b6040518082815260200191505060405180910390f35b3480156103e357600080fd5b506103ec610d04565b6040518082815260200191505060405180910390f35b34801561040e57600080fd5b5061044f6004803603606081101561042557600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050610d0a565b6040518082815260200191505060405180910390f35b34801561047157600080fd5b506104b46004803603602081101561048857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d5d565b6040518082815260200191505060405180910390f35b3480156104d657600080fd5b5061050d600480360360408110156104ed57600080fd5b810190808035906020019092919080359060200190929190505050610d75565b6040518082815260200191505060405180910390f35b34801561052f57600080fd5b506105726004803603602081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d8c565b6040518082815260200191505060405180910390f35b34801561059457600080fd5b5061059d610da4565b6040518082815260200191505060405180910390f35b3480156105bf57600080fd5b506105c8610daa565b6040518082815260200191505060405180910390f35b3480156105ea57600080fd5b506105f3610db0565b005b34801561060157600080fd5b5061062e6004803603602081101561061857600080fd5b8101908080359060200190929190505050610f0b565b6040518082815260200191505060405180910390f35b61064c610f2a565b005b34801561065a57600080fd5b5061069d6004803603602081101561067157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fd8565b005b3480156106ab57600080fd5b506106b4611357565b6040518082815260200191505060405180910390f35b3480156106d657600080fd5b506106df61135d565b6040518082815260200191505060405180910390f35b34801561070157600080fd5b506107446004803603602081101561071857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113b5565b6040518082815260200191505060405180910390f35b34801561076657600080fd5b5061076f6113cd565b6040518082815260200191505060405180910390f35b34801561079157600080fd5b5061079a611414565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107d257600080fd5b506107ff600480360360208110156107e957600080fd5b810190808035906020019092919050505061143a565b6040518082815260200191505060405180910390f35b34801561082157600080fd5b5061082a611458565b6040518082815260200191505060405180910390f35b34801561084c57600080fd5b5061085561149f565b6040518082815260200191505060405180910390f35b6108736114cf565b005b34801561088157600080fd5b5061088a61152e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108c257600080fd5b506108ef600480360360208110156108d957600080fd5b8101908080359060200190929190505050611554565b6040518082815260200191505060405180910390f35b61090d611572565b005b34801561091b57600080fd5b5061095e6004803603602081101561093257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115ea565b6040518082815260200191505060405180910390f35b34801561098057600080fd5b506109c36004803603602081101561099757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611602565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156109fb57600080fd5b50610a04611635565b005b348015610a1257600080fd5b50610a5560048036036020811015610a2957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061179e565b6040518082815260200191505060405180910390f35b348015610a7757600080fd5b50610aba60048036036020811015610a8e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117b6565b60405180821515815260200191505060405180910390f35b348015610ade57600080fd5b50610b1560048036036040811015610af557600080fd5b8101908080359060200190929190803590602001909291905050506117d6565b6040518082815260200191505060405180910390f35b348015610b3757600080fd5b50610b406117ed565b6040518082815260200191505060405180910390f35b348015610b6257600080fd5b50610b6b611834565b6040518082815260200191505060405180910390f35b348015610b8d57600080fd5b50610bd060048036036020811015610ba457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061183a565b6040518082815260200191505060405180910390f35b348015610bf257600080fd5b50610bfb611994565b6040518082815260200191505060405180910390f35b348015610c1d57600080fd5b50610c2661199a565b005b60015481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600047905090565b600660149054906101000a900460ff1681565b600b6020528060005260406000206000915090505481565b6000610c94346001611a1e565b905080600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050565b6000610cfc610cf58484611b40565b6064611b77565b905092915050565b60025481565b6000610d54610d1b60045484611b40565b610d4f600554610d4a610d44610d336004548a611b40565b610d3f6005548c611b40565b611b90565b89611b77565b611b90565b611b77565b90509392505050565b600e6020528060005260406000206000915090505481565b6000610d848383601154610d0a565b905092915050565b60096020528060005260406000206000915090505481565b60115481565b60125481565b600660149054906101000a900460ff16610dc957600080fd5b6000610dde610dd661135d565b600354611b77565b90506000610deb82611554565b90506000610dfb82600054610ce6565b90506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e9260115484611b90565b601181905550806008600082825401925050819055506008544711610eb657600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc610eda8484611bac565b9081150290604051600060405180830381858888f19350505050158015610f05573d6000803e3d6000fd5b50505050565b6000610f23610f1c83600054611b40565b6064611b77565b9050919050565b600060115414610f3957600080fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f9357600080fd5b60003411610fa057600080fd5b6001600660146101000a81548160ff021916908315150217905550640202fbf00060118190555042601281905550610fd6611572565b565b600660149054906101000a900460ff16610ff157600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110a35780601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60006110ad61135d565b905060006110bd82600354611b77565b90506110cb82600354611b77565b9050611116600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611b90565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611294600e6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461128f84600a611b77565b611b90565b600e6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061134c60115461134783600a611b77565b611b90565b601181905550505050565b60085481565b60006113b0600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ab3361183a565b611b90565b905090565b600f6020528060005260406000206000915090505481565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006114518261144c47600854611bac565b610d75565b9050919050565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000806114ae42601254611bac565b90506114bc81610e10611b77565b90506114c981600a611b40565b91505090565b60006114dc346008611a1e565b905080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061156b8261156647600854611bac565b6117d6565b9050919050565b600660149054906101000a900460ff1661158b57600080fd5b6000611598346014611a1e565b905080600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050565b600a6020528060005260406000206000915090505481565b60106020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006008541161164457600080fd5b600060085490508060085403600881905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61169d836002611b77565b9081150290604051600060405180830381858888f193505050501580156116c8573d6000803e3d6000fd5b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f088d547611712836002611b77565b306040518363ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506020604051808303818588803b15801561175e57600080fd5b505af1158015611772573d6000803e3d6000fd5b50505050506040513d602081101561178957600080fd5b81019080805190602001909291905050505050565b600c6020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b60006117e58360115484610d0a565b905092915050565b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60035481565b60008061189160035461188c42600f60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bac565b611bc3565b905060006118df600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a611b40565b905061193461192e600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546019611b40565b82611b90565b905061197f81600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b90565b905061198b8282611b40565b92505050919050565b60005481565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdb5a03e6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611a0457600080fd5b505af1158015611a18573d6000803e3d6000fd5b50505050565b6000600660149054906101000a900460ff16611a3957600080fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611ac65742600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000611aef611ae934611ae4611ade47600854611bac565b34611bac565b610d75565b84611b77565b9050611b0381611afe83610f0b565b611bac565b905060008111611b1257600080fd5b611b1e34600054610ce6565b600860008282540192505081905550611b3633610fd8565b8091505092915050565b600080831415611b535760009050611b71565b6000828402905082848281611b6457fe5b0414611b6c57fe5b809150505b92915050565b600080828481611b8357fe5b0490508091505092915050565b600080828401905083811015611ba257fe5b8091505092915050565b600082821115611bb857fe5b818303905092915050565b6000818310611bd25781611bd4565b825b90509291505056fea2646970667358221220a64bdfec3e03060301de090d94ee81a0d69fd4324f9d21d5e6802dcdc922abeb64736f6c63430007060033

Deployed ByteCode Sourcemap

387:7081:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;445:46;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;749:33;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2980:93;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;715:29;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;928:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4631:148;;;:::i;:::-;;3662:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;496:34;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6481:331;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1084:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7136:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;824:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1240:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1270:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5920:518;;;;;;;;;;;;;:::i;:::-;;4495:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1989:262;;;:::i;:::-;;5106:808;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;787:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2257:148;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1140:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3296:101;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1307:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7303:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3079:107;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3426:230;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4785:140;;;:::i;:::-;;638:70;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6818:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4931:169;;;:::i;:::-;;874:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1189:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1544:371;;;;;;;;;;;;;:::i;:::-;;981:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1036:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6990:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3192:98;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;537:44;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2411:458;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;412:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1921:62;;;;;;;;;;;;;:::i;:::-;;445:46;;;;:::o;749:33::-;;;;;;;;;;;;;:::o;2980:93::-;3023:7;3046:21;3039:28;;2980:93;:::o;715:29::-;;;;;;;;;;;;;:::o;928:46::-;;;;;;;;;;;;;;;;;:::o;4631:148::-;4682:15;4700:29;4716:9;4727:1;4700:15;:29::i;:::-;4682:47;;4766:7;4736:14;:26;4751:10;4736:26;;;;;;;;;;;;;;;;:37;;;;;;;;;;;4631:148;:::o;3662:166::-;3748:7;3771:51;3784:32;3797:6;3805:10;3784:12;:32::i;:::-;3818:3;3771:12;:51::i;:::-;3764:58;;3662:166;;;;:::o;496:34::-;;;;:::o;6481:331::-;6582:7;6612:194;6635:21;6648:3;;6653:2;6635:12;:21::i;:::-;6667:130;6692:4;;6709:77;6722:59;6735:21;6748:3;;6753:2;6735:12;:21::i;:::-;6758:22;6771:4;;6777:2;6758:12;:22::i;:::-;6722:12;:59::i;:::-;6783:2;6709:12;:77::i;:::-;6667:12;:130::i;:::-;6612:12;:194::i;:::-;6598:208;;6481:331;;;;;:::o;1084:51::-;;;;;;;;;;;;;;;;;:::o;7136:161::-;7220:7;7243:48;7258:3;7263:15;7280:10;;7243:14;:48::i;:::-;7236:55;;7136:161;;;;:::o;824:45::-;;;;;;;;;;;;;;;;;:::o;1240:25::-;;;;:::o;1270:30::-;;;;:::o;5920:518::-;5962:9;;;;;;;;;;;5954:18;;;;;;5979:15;5997:48;6010:11;:9;:11::i;:::-;6023:21;;5997:12;:48::i;:::-;5979:66;;6052:16;6071:25;6088:7;6071:16;:25::i;:::-;6052:44;;6103:11;6117:38;6137:8;6147:7;;6117:19;:38::i;:::-;6103:52;;6193:1;6162:16;:28;6179:10;6162:28;;;;;;;;;;;;;;;:32;;;;6225:15;6201:9;:21;6211:10;6201:21;;;;;;;;;;;;;;;:39;;;;6260:33;6273:10;;6285:7;6260:12;:33::i;:::-;6247:10;:46;;;;6319:3;6300:15;;:22;;;;;;;;;;;6361:15;;6337:21;:39;6329:48;;;;;;6384:10;:19;;:48;6404:27;6417:8;6427:3;6404:12;:27::i;:::-;6384:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5920:518;;;:::o;4495:130::-;4548:7;4571:48;4584:29;4597:6;4605:7;;4584:12;:29::i;:::-;4615:3;4571:12;:48::i;:::-;4564:55;;4495:130;;;:::o;1989:262::-;2055:1;2041:10;;:15;2033:24;;;;;;2086:10;;;;;;;;;;;2072:24;;:10;:24;;;2064:33;;;;;;2124:1;2112:9;:13;2104:22;;;;;;2145:4;2133:9;;:16;;;;;;;;;;;;;;;;;;2169:10;2156;:23;;;;2204:15;2186;:33;;;;2228:17;:15;:17::i;:::-;1989:262::o;5106:808::-;5160:9;;;;;;;;;;;5152:18;;;;;;5190:10;5183:17;;:3;:17;;;5179:67;;5235:3;5211:9;:21;5221:10;5211:21;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;5179:67;5254:20;5277:11;:9;:11::i;:::-;5254:34;;5295:17;5315:49;5328:12;5342:21;;5315:12;:49::i;:::-;5295:69;;5383:49;5396:12;5410:21;;5383:12;:49::i;:::-;5371:61;;5468:51;5481:14;:26;5496:10;5481:26;;;;;;;;;;;;;;;;5509:9;5468:12;:51::i;:::-;5439:14;:26;5454:10;5439:26;;;;;;;;;;;;;;;:80;;;;5550:15;5526:9;:21;5536:10;5526:21;;;;;;;;;;;;;;;:39;;;;5605:1;5574:16;:28;5591:10;5574:28;;;;;;;;;;;;;;;:32;;;;5683:106;5704:16;:39;5721:9;:21;5731:10;5721:21;;;;;;;;;;;;;;;;;;;;;;;;;5704:39;;;;;;;;;;;;;;;;5752:30;5765:12;5779:2;5752:12;:30::i;:::-;5683:12;:106::i;:::-;5641:16;:39;5658:9;:21;5668:10;5658:21;;;;;;;;;;;;;;;;;;;;;;;;;5641:39;;;;;;;;;;;;;;;:148;;;;5855:53;5868:10;;5880:27;5893:9;5904:2;5880:12;:27::i;:::-;5855:12;:53::i;:::-;5842:10;:66;;;;5106:808;;;:::o;787:30::-;;;;:::o;2257:148::-;2299:7;2322:77;2335:16;:28;2352:10;2335:28;;;;;;;;;;;;;;;;2365:33;2387:10;2365:21;:33::i;:::-;2322:12;:77::i;:::-;2315:84;;2257:148;:::o;1140:44::-;;;;;;;;;;;;;;;;;:::o;3296:101::-;3345:7;3368:11;:23;3380:10;3368:23;;;;;;;;;;;;;;;;3361:30;;3296:101;:::o;1307:26::-;;;;;;;;;;;;;:::o;7303:162::-;7362:7;7385:74;7401:3;7406:52;7419:21;7442:15;;7406:12;:52::i;:::-;7385:15;:74::i;:::-;7378:81;;7303:162;;;:::o;3079:107::-;3131:7;3154:14;:26;3169:10;3154:26;;;;;;;;;;;;;;;;3147:33;;3079:107;:::o;3426:230::-;3479:7;3495:17;3515:46;3528:15;3545;;3515:12;:46::i;:::-;3495:66;;3580:29;3593:9;3604:4;3580:12;:29::i;:::-;3568:41;;3623:27;3636:9;3647:2;3623:12;:27::i;:::-;3616:34;;;3426:230;:::o;4785:140::-;4832:15;4850:29;4866:9;4877:1;4850:15;:29::i;:::-;4832:47;;4912:7;4886:10;:22;4897:10;4886:22;;;;;;;;;;;;;;;;:33;;;;;;;;;;;4785:140;:::o;638:70::-;;;;;;;;;;;;;:::o;6818:166::-;6879:7;6902:76;6919:4;6925:52;6938:21;6961:15;;6925:12;:52::i;:::-;6902:16;:76::i;:::-;6895:83;;6818:166;;;:::o;4931:169::-;4988:9;;;;;;;;;;;4980:18;;;;;;5005:15;5023:30;5039:9;5050:2;5023:15;:30::i;:::-;5005:48;;5087:7;5060:11;:23;5072:10;5060:23;;;;;;;;;;;;;;;;:34;;;;;;;;;;;4931:169;:::o;874:49::-;;;;;;;;;;;;;;;;;:::o;1189:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;1544:371::-;1614:1;1596:15;;:19;1588:28;;;;;;1646:17;1666:15;;1646:35;;1724:9;1706:15;;:27;1688:15;:45;;;;1763:10;;;;;;;;;;;:19;;:47;1783:26;1796:9;1807:1;1783:12;:26::i;:::-;1763:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1842:11;;;;;;;;;;;:15;;;1866:26;1879:9;1890:1;1866:12;:26::i;:::-;1903:4;1842:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1544:371;:::o;981:48::-;;;;;;;;;;;;;;;;;:::o;1036:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;6990:140::-;7064:7;7087:37;7102:4;7108:10;;7120:3;7087:14;:37::i;:::-;7080:44;;6990:140;;;;:::o;3192:98::-;3239:7;3262:10;:22;3273:10;3262:22;;;;;;;;;;;;;;;;3255:29;;3192:98;:::o;537:44::-;;;;:::o;2411:458::-;2476:7;2492:21;2523:73;2527:21;;2550:45;2563:15;2580:9;:14;2590:3;2580:14;;;;;;;;;;;;;;;;2550:12;:45::i;:::-;2523:3;:73::i;:::-;2492:104;;2605:19;2627:33;2640:10;:15;2651:3;2640:15;;;;;;;;;;;;;;;;2657:2;2627:12;:33::i;:::-;2605:55;;2681:61;2694:34;2707:11;:16;2719:3;2707:16;;;;;;;;;;;;;;;;2725:2;2694:12;:34::i;:::-;2730:11;2681:12;:61::i;:::-;2667:75;;2763:46;2776:11;2789:14;:19;2804:3;2789:19;;;;;;;;;;;;;;;;2763:12;:46::i;:::-;2749:60;;2823:40;2836:13;2851:11;2823:12;:40::i;:::-;2816:47;;;;2411:458;;;:::o;412:26::-;;;;:::o;1921:62::-;1955:11;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1921:62::o;3834:655::-;3910:7;3934:9;;;;;;;;;;;3926:18;;;;;;3982:1;3957:9;:21;3967:10;3957:21;;;;;;;;;;;;;;;;:26;3953:88;;;4018:15;3994:9;:21;4004:10;3994:21;;;;;;;;;;;;;;;:39;;;;3953:88;4049:18;4077:191;4100:138;4128:9;4150:77;4163:52;4176:21;4199:15;;4163:12;:52::i;:::-;4217:9;4150:12;:77::i;:::-;4100:15;:138::i;:::-;4249:10;4077:12;:191::i;:::-;4049:219;;4288:44;4301:10;4313:18;4320:10;4313:6;:18::i;:::-;4288:12;:44::i;:::-;4275:57;;4362:1;4349:10;:14;4341:23;;;;;;4392:39;4412:9;4423:7;;4392:19;:39::i;:::-;4373:15;;:58;;;;;;;;;;;4438:21;4448:10;4438:9;:21::i;:::-;4473:10;4466:17;;;3834:655;;;;:::o;7563:180::-;7621:7;7646:1;7641;:6;7637:37;;;7665:1;7658:8;;;;7637:37;7680:9;7696:1;7692;:5;7680:17;;7720:1;7715;7711;:5;;;;;;:10;7704:18;;;;7736:1;7729:8;;;7563:180;;;;;:::o;7832:270::-;7890:7;7981:9;7997:1;7993;:5;;;;;;7981:17;;8095:1;8088:8;;;7832:270;;;;:::o;8404:133::-;8462:7;8478:9;8494:1;8490;:5;8478:17;;8514:1;8509;:6;;8502:14;;;;8530:1;8523:8;;;8404:133;;;;:::o;8222:113::-;8280:7;8308:1;8303;:6;;8296:14;;;;8328:1;8324;:5;8317:12;;8222:113;;;;:::o;2875:99::-;2932:7;2959:1;2955;:5;:13;;2967:1;2955:13;;;2963:1;2955:13;2948:20;;2875:99;;;;:::o

Swarm Source

ipfs://a64bdfec3e03060301de090d94ee81a0d69fd4324f9d21d5e6802dcdc922abeb
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.