ETH Price: $3,476.98 (-0.38%)

Contract

0xF223b61E5D30Bf7B4adB38DDFBA3190789A95738
 

Overview

ETH Balance

0.003103542400141795 ETH

Eth Value

$10.79 (@ $3,476.98/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Hatch Eggs60498782018-07-29 7:00:132341 days ago1532847613IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs60498782018-07-29 7:00:132341 days ago1532847613IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs60438312018-07-28 7:00:112342 days ago1532761211IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs60438312018-07-28 7:00:112342 days ago1532761211IN
0xF223b61E...789A95738
0 ETH0.000158963
Get Free Dragon59120292018-07-05 21:11:202365 days ago1530825080IN
0xF223b61E...789A95738
0 ETH0.0013040115.5
Hatch Eggs58875482018-07-01 16:56:022369 days ago1530464162IN
0xF223b61E...789A95738
0 ETH0.0009007717
Hatch Eggs58875482018-07-01 16:56:022369 days ago1530464162IN
0xF223b61E...789A95738
0 ETH0.0009007717
Sell Eggs58726752018-06-29 3:29:372371 days ago1530242977IN
0xF223b61E...789A95738
0 ETH0.000110312
Hatch Eggs58677252018-06-28 7:03:562372 days ago1530169436IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58677252018-06-28 7:03:562372 days ago1530169436IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58537282018-06-25 20:35:362375 days ago1529958936IN
0xF223b61E...789A95738
0 ETH0.000181993.1
Hatch Eggs58516652018-06-25 12:06:212375 days ago1529928381IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58516652018-06-25 12:06:212375 days ago1529928381IN
0xF223b61E...789A95738
0 ETH0.000158963
Get Free Dragon58411852018-06-23 17:03:062377 days ago1529773386IN
0xF223b61E...789A95738
0 ETH0.000270912
Get Free Dragon58411832018-06-23 17:02:382377 days ago1529773358IN
0xF223b61E...789A95738
0 ETH0.0010095612
Hatch Eggs58386792018-06-23 7:00:082377 days ago1529737208IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58386792018-06-23 7:00:082377 days ago1529737208IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58328992018-06-22 7:00:572378 days ago1529650857IN
0xF223b61E...789A95738
0 ETH0.000158963
Hatch Eggs58328952018-06-22 7:00:212378 days ago1529650821IN
0xF223b61E...789A95738
0 ETH0.000158963
Sell Eggs58279752018-06-21 10:50:102379 days ago1529578210IN
0xF223b61E...789A95738
0 ETH0.000115822.1
Hatch Eggs58270572018-06-21 7:00:192379 days ago1529564419IN
0xF223b61E...789A95738
0 ETH0.000211944
Hatch Eggs58270572018-06-21 7:00:192379 days ago1529564419IN
0xF223b61E...789A95738
0 ETH0.000211944
Sell Eggs58254652018-06-21 0:32:032379 days ago1529541123IN
0xF223b61E...789A95738
0 ETH0.000110312
Sell Eggs58253932018-06-21 0:13:142379 days ago1529539994IN
0xF223b61E...789A95738
0 ETH0.000386097
Hatch Eggs58236962018-06-20 17:20:442380 days ago1529515244IN
0xF223b61E...789A95738
0 ETH0.000185453.5
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
58726752018-06-29 3:29:372371 days ago1530242977
0xF223b61E...789A95738
0.00000002 ETH
58279752018-06-21 10:50:102379 days ago1529578210
0xF223b61E...789A95738
0.00000028 ETH
58254652018-06-21 0:32:032379 days ago1529541123
0xF223b61E...789A95738
0 ETH
58253932018-06-21 0:13:142379 days ago1529539994
0xF223b61E...789A95738
0.00000036 ETH
58183162018-06-19 19:00:102381 days ago1529434810
0xF223b61E...789A95738
0.00195397 ETH
58183162018-06-19 19:00:102381 days ago1529434810
0xF223b61E...789A95738
0.01273646 ETH
58131132018-06-18 21:39:532382 days ago1529357993
0xF223b61E...789A95738
0.00004047 ETH
58085682018-06-18 3:05:472382 days ago1529291147
0xF223b61E...789A95738
0.00004092 ETH
57992242018-06-16 13:25:532384 days ago1529155553
0xF223b61E...789A95738
0.00001639 ETH
57943192018-06-15 17:13:482385 days ago1529082828
0xF223b61E...789A95738
0.00011641 ETH
57899202018-06-14 22:52:052386 days ago1529016725
0xF223b61E...789A95738
0.00010626 ETH
57841272018-06-13 22:44:172387 days ago1528929857
0xF223b61E...789A95738
0.00023127 ETH
57782292018-06-12 22:09:402388 days ago1528841380
0xF223b61E...789A95738
0.00044563 ETH
57770712018-06-12 17:26:042388 days ago1528824364
0xF223b61E...789A95738
0.00096234 ETH
57758402018-06-12 12:13:072388 days ago1528805587
0xF223b61E...789A95738
0.00000069 ETH
57754202018-06-12 10:23:402388 days ago1528799020
0xF223b61E...789A95738
0.00000254 ETH
57754062018-06-12 10:19:322388 days ago1528798772
0xF223b61E...789A95738
0.00000355 ETH
57753832018-06-12 10:13:452388 days ago1528798425
0xF223b61E...789A95738
0.00000089 ETH
57724872018-06-11 21:56:362389 days ago1528754196
0xF223b61E...789A95738
0.00065286 ETH
57719532018-06-11 19:39:182389 days ago1528745958
0xF223b61E...789A95738
0.00022166 ETH
57684422018-06-11 4:56:422389 days ago1528693002
0xF223b61E...789A95738
0 ETH
57681022018-06-11 3:27:122389 days ago1528687632
0xF223b61E...789A95738
0.0008829 ETH
57669932018-06-10 22:38:082390 days ago1528670288
0xF223b61E...789A95738
0.00051295 ETH
57650092018-06-10 14:13:202390 days ago1528640000
0xF223b61E...789A95738
0.00011349 ETH
57645242018-06-10 12:14:492390 days ago1528632889
0xF223b61E...789A95738
0.00044459 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtherCartel

Compiler Version
v0.4.25-nightly.2018.5.21+commit.e97f9b6b

Optimization Enabled:
Yes with 200 runs

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

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

// site : https://ethercartel.com/

contract EtherCartel {
    
    address public superPowerFulDragonOwner;
    uint256 public lastPrice = 200000000000000000;
    uint public hatchingSpeed = 100;
    uint256 public snatchedOn;
    bool public isEnabled = false;
    
    function enableSuperDragon(bool enable) public {
        require(msg.sender == ceoAddress);
        isEnabled = enable;
        superPowerFulDragonOwner = ceoAddress;
        snatchedOn = now;
    }
    
    function withDrawMoney(uint percentage) public {
        require(msg.sender == ceoAddress);
        uint256 myBalance = calculatePercentage(ceoEtherBalance, percentage);
        ceoEtherBalance = ceoEtherBalance - myBalance;
        ceoAddress.transfer(myBalance);
    }
    
    function buySuperDragon() public payable {
        require(isEnabled);
        require(initialized);
        uint currenPrice = SafeMath.add(SafeMath.div(SafeMath.mul(lastPrice, 4),100),lastPrice);
        require(msg.value > currenPrice);
        
        uint256 timeSpent = SafeMath.sub(now, snatchedOn);
        userReferralEggs[superPowerFulDragonOwner] += SafeMath.mul(hatchingSpeed,timeSpent);
        
        hatchingSpeed += SafeMath.div(SafeMath.sub(now, contractStarted), 60*60*24);
        ceoEtherBalance += calculatePercentage(msg.value, 2);
        superPowerFulDragonOwner.transfer(msg.value - calculatePercentage(msg.value, 2));
        lastPrice = currenPrice;
        superPowerFulDragonOwner = msg.sender;
        snatchedOn = now;
    }
    
    function claimSuperDragonEggs() public {
        require(isEnabled);
        require (msg.sender == superPowerFulDragonOwner);
        uint256 timeSpent = SafeMath.sub(now, snatchedOn);
        userReferralEggs[superPowerFulDragonOwner] += SafeMath.mul(hatchingSpeed,timeSpent);
        snatchedOn = now;
    }
    
    //uint256 EGGS_PER_Dragon_PER_SECOND=1;
    uint256 public EGGS_TO_HATCH_1Dragon=86400;//for final version should be seconds in a day
    uint256 public STARTING_Dragon=5;
    
    uint256 PSN=10000;
    uint256 PSNH=5000;
    
    bool public initialized=false;
    address public ceoAddress;
    uint public ceoEtherBalance;
    uint public constant maxIceDragonsCount = 5;
    uint public constant maxPremiumDragonsCount = 20;
    
    mapping (address => uint256) public iceDragons;
    mapping (address => uint256) public premiumDragons;
    mapping (address => uint256) public normalDragon;
    mapping (address => uint256) public userHatchRate;
    
    mapping (address => uint256) public userReferralEggs;
    mapping (address => uint256) public lastHatch;
    mapping (address => address) public referrals;
    
    uint256 public marketEggs;
    uint256 public contractStarted;
    
    constructor() public {
        ceoAddress=msg.sender;
    }
    
    function seedMarket(uint256 eggs) public payable {
        require(marketEggs==0);
        initialized=true;
        marketEggs=eggs;
        contractStarted = now;
    }
    
    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 = SafeMath.sub(now,lastHatch[adr]);
        uint256 dragonCount = SafeMath.mul(iceDragons[adr], 10);
        dragonCount = SafeMath.add(dragonCount, premiumDragons[adr]);
        dragonCount = SafeMath.add(dragonCount, normalDragon[adr]);
        return SafeMath.mul(secondsPassed, dragonCount);
    }
    
    function getEggsToHatchDragon() public view returns (uint) {
        uint256 timeSpent = SafeMath.sub(now,contractStarted); 
        timeSpent = SafeMath.div(timeSpent, 3600);
        return SafeMath.mul(timeSpent, 10);
    }
    
    function getBalance() public view returns(uint256){
        return address(this).balance;
    }
    
    function getMyNormalDragons() public view returns(uint256) {
        return SafeMath.add(normalDragon[msg.sender], premiumDragons[msg.sender]);
    }
    
    function getMyIceDragon() public view returns(uint256) {
        return iceDragons[msg.sender];
    }
    
    function setUserHatchRate() internal {
        if (userHatchRate[msg.sender] == 0) 
            userHatchRate[msg.sender] = SafeMath.add(EGGS_TO_HATCH_1Dragon, getEggsToHatchDragon());
    }
    
    function calculatePercentage(uint256 amount, uint percentage) public pure returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,percentage),100);
    }
    
    function getFreeDragon() public {
        require(initialized);
        require(normalDragon[msg.sender] == 0);
        
        lastHatch[msg.sender]=now;
        normalDragon[msg.sender]=STARTING_Dragon;
        setUserHatchRate();
    }
    
    function buyDrangon() public payable {
        require(initialized);
        require(userHatchRate[msg.sender] != 0);
        uint dragonPrice = getDragonPrice(userHatchRate[msg.sender], address(this).balance);
        uint dragonAmount = SafeMath.div(msg.value, dragonPrice);
        require(dragonAmount > 0);
        
        ceoEtherBalance += calculatePercentage(msg.value, 10);
        premiumDragons[msg.sender] += dragonAmount;
    }
    
    function buyIceDrangon() public payable {
        require(initialized);
        require(userHatchRate[msg.sender] != 0);
        uint dragonPrice = getDragonPrice(userHatchRate[msg.sender], address(this).balance) * 8;
        uint dragonAmount = SafeMath.div(msg.value, dragonPrice);
        require(dragonAmount > 0);
        
        ceoEtherBalance += calculatePercentage(msg.value, 10);
        iceDragons[msg.sender] += dragonAmount;
    }
    
    function hatchEggs(address ref) public {
        require(initialized);
        
        if(referrals[msg.sender] == 0 && referrals[msg.sender] != msg.sender) {
            referrals[msg.sender] = ref;
        }
        
        uint256 eggsProduced = getMyEggs();
        
        uint256 newDragon = SafeMath.div(eggsProduced,userHatchRate[msg.sender]);
        
        uint256 eggsConsumed = SafeMath.mul(newDragon, userHatchRate[msg.sender]);
        
        normalDragon[msg.sender] = SafeMath.add(normalDragon[msg.sender],newDragon);
        userReferralEggs[msg.sender] = SafeMath.sub(eggsProduced, eggsConsumed); 
        lastHatch[msg.sender]=now;
        
        //send referral eggs
        userReferralEggs[referrals[msg.sender]]=SafeMath.add(userReferralEggs[referrals[msg.sender]],SafeMath.div(eggsConsumed,10));
        
        //boost market to nerf Dragon hoarding
        marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsProduced,10));
    }
    
    function sellEggs() public {
        require(initialized);
        uint256 hasEggs = getMyEggs();
        uint256 eggValue = calculateEggSell(hasEggs);
        uint256 fee = calculatePercentage(eggValue, 2);
        userReferralEggs[msg.sender] = 0;
        lastHatch[msg.sender]=now;
        marketEggs=SafeMath.add(marketEggs,hasEggs);
        ceoEtherBalance += fee;
        msg.sender.transfer(SafeMath.sub(eggValue,fee));
    }
    
    function getDragonPrice(uint eggs, uint256 eth) internal view returns (uint) {
        uint dragonPrice = calculateEggSell(eggs, eth);
        return calculatePercentage(dragonPrice, 140);
    }
    
    function getDragonPriceNo(uint eth) public view returns (uint) {
        uint256 d = userHatchRate[msg.sender];
        if (d == 0) 
            d = SafeMath.add(EGGS_TO_HATCH_1Dragon, getEggsToHatchDragon());
        return getDragonPrice(d, eth);
    }
    
    //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 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 calculateEggBuySimple(uint256 eth) public view returns(uint256) {
        return calculateEggBuy(eth, address(this).balance);
    }
}

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":"lastPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"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":false,"inputs":[{"name":"enable","type":"bool"}],"name":"enableSuperDragon","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buyDrangon","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"},{"name":"percentage","type":"uint256"}],"name":"calculatePercentage","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"}],"name":"getDragonPriceNo","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hatchingSpeed","outputs":[{"name":"","type":"uint256"}],"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":"","type":"address"}],"name":"userReferralEggs","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":"","type":"address"}],"name":"iceDragons","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":true,"inputs":[],"name":"contractStarted","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"normalDragon","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":false,"inputs":[{"name":"ref","type":"address"}],"name":"hatchEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ceoEtherBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"maxPremiumDragonsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STARTING_Dragon","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getEggsToHatchDragon","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":false,"inputs":[{"name":"percentage","type":"uint256"}],"name":"withDrawMoney","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buyIceDrangon","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"eggs","type":"uint256"}],"name":"calculateEggSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getFreeDragon","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxIceDragonsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"snatchedOn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"superPowerFulDragonOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"premiumDragons","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":"","type":"address"}],"name":"userHatchRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eggs","type":"uint256"},{"name":"eth","type":"uint256"}],"name":"calculateEggSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyIceDragon","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimSuperDragonEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"EGGS_TO_HATCH_1Dragon","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":false,"inputs":[],"name":"buySuperDragon","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getMyNormalDragons","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

60806040526702c68af0bb14000060015560646002556004805460ff1990811690915562015180600590815560065561271060075561138860085560098054909116905534801561004f57600080fd5b506009805461010060a860020a03191633610100021790556110c6806100766000396000f3006080604052600436106102195763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663053f14da811461021e5780630a0f81681461024557806312065fe014610276578063158ef93e1461028b5780631c484a34146102b45780631d66105b146102d05780632133e3b9146102d857806321a83738146102f3578063220c166c1461030b578063229824c41461032057806324dad8101461033e57806326fd84221461035f57806328cf540e1461037a5780632e9392bb1461039b578063333f57b3146103b057806336e33086146103c55780633955f0fe146103e65780633b653755146103fb5780633ec862a8146104065780633f58a0431461042757806343ce74221461043c578063467ece791461045157806347220f25146104725780636aa633b6146104875780636d19ce041461049c57806377463b50146104b15780637e56fde5146104c6578063827cc452146104de57806387d79f8a146104f65780638e316327146104fe5780638fcbeeb714610516578063911644fa1461052b57806391ea4d071461054057806393a95fa81461055557806394e23d361461056a5780639ca423b31461058b578063a98251b0146105ac578063c5292ed9146105cd578063c6601270146105e8578063c7888a07146105fd578063d55d1fed14610612578063d7c8843b14610627578063e2c1f02c14610648578063e69432c814610650575b600080fd5b34801561022a57600080fd5b50610233610665565b60408051918252519081900360200190f35b34801561025157600080fd5b5061025a61066b565b60408051600160a060020a039092168252519081900360200190f35b34801561028257600080fd5b5061023361067f565b34801561029757600080fd5b506102a0610684565b604080519115158252519081900360200190f35b3480156102c057600080fd5b506102ce600435151561068d565b005b6102ce6106f5565b3480156102e457600080fd5b50610233600435602435610789565b3480156102ff57600080fd5b506102336004356107a6565b34801561031757600080fd5b506102336107dd565b34801561032c57600080fd5b506102336004356024356044356107e3565b34801561034a57600080fd5b50610233600160a060020a036004351661082b565b34801561036b57600080fd5b5061023360043560243561083d565b34801561038657600080fd5b50610233600160a060020a036004351661084c565b3480156103a757600080fd5b5061023361085e565b3480156103bc57600080fd5b50610233610864565b3480156103d157600080fd5b50610233600160a060020a036004351661086a565b3480156103f257600080fd5b506102ce61087c565b6102ce60043561092a565b34801561041257600080fd5b506102ce600160a060020a036004351661094d565b34801561043357600080fd5b50610233610ade565b34801561044857600080fd5b50610233610ae4565b34801561045d57600080fd5b50610233600160a060020a0360043516610b09565b34801561047e57600080fd5b50610233610b1b565b34801561049357600080fd5b506102a0610b20565b3480156104a857600080fd5b50610233610b29565b3480156104bd57600080fd5b50610233610b2f565b3480156104d257600080fd5b50610233600435610b5f565b3480156104ea57600080fd5b506102ce600435610b72565b6102ce610beb565b34801561050a57600080fd5b50610233600435610c82565b34801561052257600080fd5b506102ce610c9b565b34801561053757600080fd5b50610233610cf1565b34801561054c57600080fd5b50610233610cf6565b34801561056157600080fd5b5061025a610cfc565b34801561057657600080fd5b50610233600160a060020a0360043516610d0b565b34801561059757600080fd5b5061025a600160a060020a0360043516610d1d565b3480156105b857600080fd5b50610233600160a060020a0360043516610d38565b3480156105d957600080fd5b50610233600435602435610d4a565b3480156105f457600080fd5b50610233610d59565b34801561060957600080fd5b506102ce610d6c565b34801561061e57600080fd5b50610233610dd7565b34801561063357600080fd5b50610233600160a060020a0360043516610ddd565b6102ce610e86565b34801561065c57600080fd5b50610233610fb8565b60015481565b6009546101009004600160a060020a031681565b303190565b60095460ff1681565b6009546101009004600160a060020a031633146106a957600080fd5b6004805460ff191691151591909117905560095460008054610100909204600160a060020a031673ffffffffffffffffffffffffffffffffffffffff1990921691909117905542600355565b600954600090819060ff16151561070b57600080fd5b336000908152600e6020526040902054151561072657600080fd5b336000908152600e6020526040902054610741903031610fdd565b915061074d3483611001565b90506000811161075c57600080fd5b61076734600a610789565b600a80549091019055336000908152600c602052604090208054909101905550565b600061079f6107988484611018565b6064611001565b9392505050565b336000908152600e60205260408120548015156107d3576107d06005546107cb610b2f565b611043565b90505b61079f8184610fdd565b60025481565b60006108236107f460075484611018565b61081e6008546107cb61081861080c6007548a611018565b6107cb6008548c611018565b89611001565b611001565b949350505050565b600f6020526000908152604090205481565b600061079f83836012546107e3565b600b6020526000908152604090205481565b60125481565b60135481565b600d6020526000908152604090205481565b6009546000908190819060ff16151561089457600080fd5b61089c610ae4565b92506108a783610c82565b91506108b4826002610789565b336000908152600f60209081526040808320839055601090915290204290556012549091506108e39084611043565b601255600a805482019055336108fc6108fc8484611052565b6040518115909202916000818181858888f19350505050158015610924573d6000803e3d6000fd5b50505050565b6012541561093757600080fd5b6009805460ff1916600117905560125542601355565b6009546000908190819060ff16151561096557600080fd5b33600090815260116020526040902054600160a060020a03161580156109a2575033600081815260116020526040902054600160a060020a031614155b156109dd57336000908152601160205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386161790555b6109e5610ae4565b336000908152600e6020526040902054909350610a03908490611001565b336000908152600e6020526040902054909250610a21908390611018565b336000908152600d6020526040902054909150610a3e9083611043565b336000908152600d6020526040902055610a588382611052565b336000908152600f6020818152604080842094909455601081528383204290556011815283832054600160a060020a03168352522054610a9d906107cb83600a611001565b33600090815260116020908152604080832054600160a060020a03168352600f909152902055601254610ad5906107cb85600a611001565b60125550505050565b600a5481565b336000818152600f60205260408120549091610b0491906107cb90610ddd565b905090565b60106020526000908152604090205481565b601481565b60045460ff1681565b60065481565b600080610b3e42601354611052565b9050610b4c81610e10611001565b9050610b5981600a611018565b91505090565b6000610b6c82303161083d565b92915050565b6009546000906101009004600160a060020a03163314610b9157600080fd5b610b9d600a5483610789565b600a805482900390556009546040519192506101009004600160a060020a0316906108fc8315029083906000818181858888f19350505050158015610be6573d6000803e3d6000fd5b505050565b600954600090819060ff161515610c0157600080fd5b336000908152600e60205260409020541515610c1c57600080fd5b336000908152600e6020526040902054610c37903031610fdd565b6008029150610c463483611001565b905060008111610c5557600080fd5b610c6034600a610789565b600a80549091019055336000908152600b602052604090208054909101905550565b6000610b6c8260125430600160a060020a0316316107e3565b60095460ff161515610cac57600080fd5b336000908152600d602052604090205415610cc657600080fd5b336000908152601060209081526040808320429055600654600d90925290912055610cef611064565b565b600581565b60035481565b600054600160a060020a031681565b600c6020526000908152604090205481565b601160205260009081526040902054600160a060020a031681565b600e6020526000908152604090205481565b600061079f83601254846107e3565b336000908152600b602052604090205490565b60045460009060ff161515610d8057600080fd5b600054600160a060020a03163314610d9757600080fd5b610da342600354611052565b9050610db160025482611018565b60008054600160a060020a03168152600f60205260409020805490910190555042600355565b60055481565b600160a060020a03811660009081526010602052604081205481908190610e05904290611052565b600160a060020a0385166000908152600b6020526040902054909250610e2c90600a611018565b600160a060020a0385166000908152600c6020526040902054909150610e53908290611043565b600160a060020a0385166000908152600d6020526040902054909150610e7a908290611043565b90506108238282611018565b600454600090819060ff161515610e9c57600080fd5b60095460ff161515610ead57600080fd5b610ec8610ec06107986001546004611018565b600154611043565b9150348210610ed657600080fd5b610ee242600354611052565b9050610ef060025482611018565b60008054600160a060020a03168152600f6020526040902080549091019055601354610f2a90610f21904290611052565b62015180611001565b600280549091018155610f3e903490610789565b600a80549091019055600054600160a060020a03166108fc610f61346002610789565b34039081150290604051600060405180830381858888f19350505050158015610f8e573d6000803e3d6000fd5b50506001556000805473ffffffffffffffffffffffffffffffffffffffff19163317905542600355565b336000908152600d6020908152604080832054600c909252822054610b049190611043565b600080610fea8484610d4a565b9050610ff781608c610789565b91505b5092915050565b600080828481151561100f57fe5b04949350505050565b60008083151561102b5760009150610ffa565b5082820282848281151561103b57fe5b041461079f57fe5b60008282018381101561079f57fe5b60008282111561105e57fe5b50900390565b336000908152600e60205260409020541515610cef576110886005546107cb610b2f565b336000908152600e60205260409020555600a165627a7a7230582061f3d51ad5df25d8e1fd82a3733ff15f2ff6c03798996b2f3e5cd5d4c08cd58e0029

Deployed Bytecode

0x6080604052600436106102195763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663053f14da811461021e5780630a0f81681461024557806312065fe014610276578063158ef93e1461028b5780631c484a34146102b45780631d66105b146102d05780632133e3b9146102d857806321a83738146102f3578063220c166c1461030b578063229824c41461032057806324dad8101461033e57806326fd84221461035f57806328cf540e1461037a5780632e9392bb1461039b578063333f57b3146103b057806336e33086146103c55780633955f0fe146103e65780633b653755146103fb5780633ec862a8146104065780633f58a0431461042757806343ce74221461043c578063467ece791461045157806347220f25146104725780636aa633b6146104875780636d19ce041461049c57806377463b50146104b15780637e56fde5146104c6578063827cc452146104de57806387d79f8a146104f65780638e316327146104fe5780638fcbeeb714610516578063911644fa1461052b57806391ea4d071461054057806393a95fa81461055557806394e23d361461056a5780639ca423b31461058b578063a98251b0146105ac578063c5292ed9146105cd578063c6601270146105e8578063c7888a07146105fd578063d55d1fed14610612578063d7c8843b14610627578063e2c1f02c14610648578063e69432c814610650575b600080fd5b34801561022a57600080fd5b50610233610665565b60408051918252519081900360200190f35b34801561025157600080fd5b5061025a61066b565b60408051600160a060020a039092168252519081900360200190f35b34801561028257600080fd5b5061023361067f565b34801561029757600080fd5b506102a0610684565b604080519115158252519081900360200190f35b3480156102c057600080fd5b506102ce600435151561068d565b005b6102ce6106f5565b3480156102e457600080fd5b50610233600435602435610789565b3480156102ff57600080fd5b506102336004356107a6565b34801561031757600080fd5b506102336107dd565b34801561032c57600080fd5b506102336004356024356044356107e3565b34801561034a57600080fd5b50610233600160a060020a036004351661082b565b34801561036b57600080fd5b5061023360043560243561083d565b34801561038657600080fd5b50610233600160a060020a036004351661084c565b3480156103a757600080fd5b5061023361085e565b3480156103bc57600080fd5b50610233610864565b3480156103d157600080fd5b50610233600160a060020a036004351661086a565b3480156103f257600080fd5b506102ce61087c565b6102ce60043561092a565b34801561041257600080fd5b506102ce600160a060020a036004351661094d565b34801561043357600080fd5b50610233610ade565b34801561044857600080fd5b50610233610ae4565b34801561045d57600080fd5b50610233600160a060020a0360043516610b09565b34801561047e57600080fd5b50610233610b1b565b34801561049357600080fd5b506102a0610b20565b3480156104a857600080fd5b50610233610b29565b3480156104bd57600080fd5b50610233610b2f565b3480156104d257600080fd5b50610233600435610b5f565b3480156104ea57600080fd5b506102ce600435610b72565b6102ce610beb565b34801561050a57600080fd5b50610233600435610c82565b34801561052257600080fd5b506102ce610c9b565b34801561053757600080fd5b50610233610cf1565b34801561054c57600080fd5b50610233610cf6565b34801561056157600080fd5b5061025a610cfc565b34801561057657600080fd5b50610233600160a060020a0360043516610d0b565b34801561059757600080fd5b5061025a600160a060020a0360043516610d1d565b3480156105b857600080fd5b50610233600160a060020a0360043516610d38565b3480156105d957600080fd5b50610233600435602435610d4a565b3480156105f457600080fd5b50610233610d59565b34801561060957600080fd5b506102ce610d6c565b34801561061e57600080fd5b50610233610dd7565b34801561063357600080fd5b50610233600160a060020a0360043516610ddd565b6102ce610e86565b34801561065c57600080fd5b50610233610fb8565b60015481565b6009546101009004600160a060020a031681565b303190565b60095460ff1681565b6009546101009004600160a060020a031633146106a957600080fd5b6004805460ff191691151591909117905560095460008054610100909204600160a060020a031673ffffffffffffffffffffffffffffffffffffffff1990921691909117905542600355565b600954600090819060ff16151561070b57600080fd5b336000908152600e6020526040902054151561072657600080fd5b336000908152600e6020526040902054610741903031610fdd565b915061074d3483611001565b90506000811161075c57600080fd5b61076734600a610789565b600a80549091019055336000908152600c602052604090208054909101905550565b600061079f6107988484611018565b6064611001565b9392505050565b336000908152600e60205260408120548015156107d3576107d06005546107cb610b2f565b611043565b90505b61079f8184610fdd565b60025481565b60006108236107f460075484611018565b61081e6008546107cb61081861080c6007548a611018565b6107cb6008548c611018565b89611001565b611001565b949350505050565b600f6020526000908152604090205481565b600061079f83836012546107e3565b600b6020526000908152604090205481565b60125481565b60135481565b600d6020526000908152604090205481565b6009546000908190819060ff16151561089457600080fd5b61089c610ae4565b92506108a783610c82565b91506108b4826002610789565b336000908152600f60209081526040808320839055601090915290204290556012549091506108e39084611043565b601255600a805482019055336108fc6108fc8484611052565b6040518115909202916000818181858888f19350505050158015610924573d6000803e3d6000fd5b50505050565b6012541561093757600080fd5b6009805460ff1916600117905560125542601355565b6009546000908190819060ff16151561096557600080fd5b33600090815260116020526040902054600160a060020a03161580156109a2575033600081815260116020526040902054600160a060020a031614155b156109dd57336000908152601160205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386161790555b6109e5610ae4565b336000908152600e6020526040902054909350610a03908490611001565b336000908152600e6020526040902054909250610a21908390611018565b336000908152600d6020526040902054909150610a3e9083611043565b336000908152600d6020526040902055610a588382611052565b336000908152600f6020818152604080842094909455601081528383204290556011815283832054600160a060020a03168352522054610a9d906107cb83600a611001565b33600090815260116020908152604080832054600160a060020a03168352600f909152902055601254610ad5906107cb85600a611001565b60125550505050565b600a5481565b336000818152600f60205260408120549091610b0491906107cb90610ddd565b905090565b60106020526000908152604090205481565b601481565b60045460ff1681565b60065481565b600080610b3e42601354611052565b9050610b4c81610e10611001565b9050610b5981600a611018565b91505090565b6000610b6c82303161083d565b92915050565b6009546000906101009004600160a060020a03163314610b9157600080fd5b610b9d600a5483610789565b600a805482900390556009546040519192506101009004600160a060020a0316906108fc8315029083906000818181858888f19350505050158015610be6573d6000803e3d6000fd5b505050565b600954600090819060ff161515610c0157600080fd5b336000908152600e60205260409020541515610c1c57600080fd5b336000908152600e6020526040902054610c37903031610fdd565b6008029150610c463483611001565b905060008111610c5557600080fd5b610c6034600a610789565b600a80549091019055336000908152600b602052604090208054909101905550565b6000610b6c8260125430600160a060020a0316316107e3565b60095460ff161515610cac57600080fd5b336000908152600d602052604090205415610cc657600080fd5b336000908152601060209081526040808320429055600654600d90925290912055610cef611064565b565b600581565b60035481565b600054600160a060020a031681565b600c6020526000908152604090205481565b601160205260009081526040902054600160a060020a031681565b600e6020526000908152604090205481565b600061079f83601254846107e3565b336000908152600b602052604090205490565b60045460009060ff161515610d8057600080fd5b600054600160a060020a03163314610d9757600080fd5b610da342600354611052565b9050610db160025482611018565b60008054600160a060020a03168152600f60205260409020805490910190555042600355565b60055481565b600160a060020a03811660009081526010602052604081205481908190610e05904290611052565b600160a060020a0385166000908152600b6020526040902054909250610e2c90600a611018565b600160a060020a0385166000908152600c6020526040902054909150610e53908290611043565b600160a060020a0385166000908152600d6020526040902054909150610e7a908290611043565b90506108238282611018565b600454600090819060ff161515610e9c57600080fd5b60095460ff161515610ead57600080fd5b610ec8610ec06107986001546004611018565b600154611043565b9150348210610ed657600080fd5b610ee242600354611052565b9050610ef060025482611018565b60008054600160a060020a03168152600f6020526040902080549091019055601354610f2a90610f21904290611052565b62015180611001565b600280549091018155610f3e903490610789565b600a80549091019055600054600160a060020a03166108fc610f61346002610789565b34039081150290604051600060405180830381858888f19350505050158015610f8e573d6000803e3d6000fd5b50506001556000805473ffffffffffffffffffffffffffffffffffffffff19163317905542600355565b336000908152600d6020908152604080832054600c909252822054610b049190611043565b600080610fea8484610d4a565b9050610ff781608c610789565b91505b5092915050565b600080828481151561100f57fe5b04949350505050565b60008083151561102b5760009150610ffa565b5082820282848281151561103b57fe5b041461079f57fe5b60008282018381101561079f57fe5b60008282111561105e57fe5b50900390565b336000908152600e60205260409020541515610cef576110886005546107cb610b2f565b336000908152600e60205260409020555600a165627a7a7230582061f3d51ad5df25d8e1fd82a3733ff15f2ff6c03798996b2f3e5cd5d4c08cd58e0029

Swarm Source

bzzr://61f3d51ad5df25d8e1fd82a3733ff15f2ff6c03798996b2f3e5cd5d4c08cd58e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.