ETH Price: $3,683.55 (-5.14%)

Contract

0x416768387836bD8715d127ef9065975325CfAD14
 

Overview

ETH Balance

0.002237617788015963 ETH

Eth Value

$8.24 (@ $3,683.55/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sell Eggs56811122018-05-26 17:06:132398 days ago1527354373IN
0x41676838...325CfAD14
0 ETH0.000291735
Sell Eggs56752982018-05-25 16:43:562399 days ago1527266636IN
0x41676838...325CfAD14
0 ETH0.0005834610
Claim Free Drago...56710882018-05-24 22:48:502400 days ago1527202130IN
0x41676838...325CfAD14
0 ETH0.000498728
Sell Eggs56354302018-05-18 14:55:502406 days ago1526655350IN
0x41676838...325CfAD14
0 ETH0.0009335316
Buy Eggs56353782018-05-18 14:41:232406 days ago1526654483IN
0x41676838...325CfAD14
0.05 ETH0.0004254420
Buy Eggs56353722018-05-18 14:37:052406 days ago1526654225IN
0x41676838...325CfAD14
0.005 ETH0.000656312
Buy Eggs56353722018-05-18 14:37:052406 days ago1526654225IN
0x41676838...325CfAD14
0.05 ETH0.0008750716
Buy Eggs56353392018-05-18 14:28:022406 days ago1526653682IN
0x41676838...325CfAD14
0.01 ETH0.0007109913
Seed Market56353362018-05-18 14:27:152406 days ago1526653635IN
0x41676838...325CfAD14
0 ETH0.000596612.56875

Latest 9 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
56811122018-05-26 17:06:132398 days ago1527354373
0x41676838...325CfAD14
0.00186597 ETH
56811122018-05-26 17:06:132398 days ago1527354373
0x41676838...325CfAD14
0.00007774 ETH
56752982018-05-25 16:43:562399 days ago1527266636
0x41676838...325CfAD14
0.02654821 ETH
56752982018-05-25 16:43:562399 days ago1527266636
0x41676838...325CfAD14
0.00110617 ETH
56354302018-05-18 14:55:502406 days ago1526655350
0x41676838...325CfAD14
0.02934169 ETH
56354302018-05-18 14:55:502406 days ago1526655350
0x41676838...325CfAD14
0.00122257 ETH
56353722018-05-18 14:37:052406 days ago1526654225
0x41676838...325CfAD14
0.0002 ETH
56353722018-05-18 14:37:052406 days ago1526654225
0x41676838...325CfAD14
0.002 ETH
56353392018-05-18 14:28:022406 days ago1526653682
0x41676838...325CfAD14
0.0004 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GoTDragonFarm

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

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

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

contract GoTDragonFarm {
    uint256 public EGGS_TO_HATCH_1DRAGON = 43200; // every 12 hours
    
    uint256 PSN = 10000;
    uint256 PSNH = 5000;
    
    bool public initialized = false;
    
    address public ceoAddress;
    
    mapping (address => uint256) public hatchery;
    mapping (address => uint256) public claimedEggs;
    mapping (address => uint256) public lastHatch;
    mapping (address => address) public referrals;
    
    uint256 public marketEggs;
    
    event Buy(address _from, uint256 _eggs);
    event Sell(address _from, uint256 _eggs);
    event Hatch(address _from, uint256 _eggs, uint256 _dragons);
    
    constructor() public {
        ceoAddress=msg.sender;
    }
    
    function hatchEggs(address ref) public {
        require(initialized);
        
        if(referrals[msg.sender] == 0 && referrals[msg.sender] != msg.sender){
            referrals[msg.sender] = ref;
        }
        
        uint256 eggsUsed = getMyEggs();
        
        uint256 newDragons = SafeMath.div(eggsUsed, EGGS_TO_HATCH_1DRAGON);
        hatchery[msg.sender] = SafeMath.add(hatchery[msg.sender], newDragons);
        claimedEggs[msg.sender] = 0;
        lastHatch[msg.sender] = now;
        
        //send referral eggs
        claimedEggs[referrals[msg.sender]] = SafeMath.add(claimedEggs[referrals[msg.sender]],SafeMath.div(eggsUsed,5));
        
        //boost market to nerf dragon hoarding
        marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,10));
        
        emit Hatch(msg.sender, eggsUsed, newDragons);
    }
    
    function sellEggs() public {
        require(initialized);
        
        uint256 hasEggs = getMyEggs();
        uint256 eggValue = calculateEggSell(hasEggs);
        
        uint256 fee = calculateDevFee(eggValue);
        
        claimedEggs[msg.sender] = 0;
        lastHatch[msg.sender] = now;
        marketEggs = SafeMath.add(marketEggs,hasEggs);
        
        ceoAddress.transfer(fee);
        
        msg.sender.transfer(SafeMath.sub(eggValue,fee));
        
        emit Sell(msg.sender, hasEggs);
    }
    
    function buyEggs() public payable {
        require(initialized);
        
        uint256 eggsBought = calculateEggBuy(msg.value,SafeMath.sub(address(this).balance,msg.value));
        eggsBought = SafeMath.sub(eggsBought, calculateDevFee(eggsBought));
        
        ceoAddress.transfer(calculateDevFee(msg.value));
        
        claimedEggs[msg.sender] = SafeMath.add(claimedEggs[msg.sender], eggsBought);
        
        emit Buy(msg.sender, eggsBought);
    }
    
    //magic trade balancing algorithm
    function calculateTrade(uint256 rt,uint256 rs, uint256 bs) public view returns(uint256){
        //(PSN*bs)/(PSNH+((PSN*rs+PSNH*rt)/rt));
        return SafeMath.div(SafeMath.mul(PSN,bs),SafeMath.add(PSNH,SafeMath.div(SafeMath.add(SafeMath.mul(PSN,rs),SafeMath.mul(PSNH,rt)),rt)));
    }
    
    function calculateEggSell(uint256 eggs) public view returns(uint256){
        return calculateTrade(eggs,marketEggs, 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 calculateDevFee(uint256 amount) public view returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,4),100);
    }
    
    function seedMarket(uint256 eggs) public payable{
        require(marketEggs == 0);
        initialized = true;
        marketEggs = eggs;
    }
    
    function claimFreeDragon() public{
        require(initialized);
        require(hatchery[msg.sender] == 0);
        lastHatch[msg.sender] = now;
        hatchery[msg.sender] = 300;
    }
    
    function getBalance() public view returns(uint256){
        return address(this).balance;
    }
    
    function getMyDragons() public view returns(uint256){
        return hatchery[msg.sender];
    }
    
    function getMyEggs() public view returns(uint256){
        return SafeMath.add(claimedEggs[msg.sender], getEggsSinceLastHatch(msg.sender));
    }
    
    function getEggsSinceLastHatch(address _address) public view returns(uint256){
        uint256 secondsPassed = min(EGGS_TO_HATCH_1DRAGON, SafeMath.sub(now, lastHatch[_address]));
        return SafeMath.mul(secondsPassed, hatchery[_address]);
    }
    
    function min(uint256 a, uint256 b) private pure returns (uint256) {
        return a < b ? a : b;
    }
}

library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"rt","type":"uint256"},{"name":"rs","type":"uint256"},{"name":"bs","type":"uint256"}],"name":"calculateTrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":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":"getMyDragons","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":"claimFreeDragon","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"getMyEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyEggs","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hatchery","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":"eth","type":"uint256"}],"name":"calculateEggBuySimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EGGS_TO_HATCH_1DRAGON","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":"amount","type":"uint256"}],"name":"calculateDevFee","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":"_address","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"},{"indexed":false,"name":"_dragons","type":"uint256"}],"name":"Hatch","type":"event"}]

608060405261a8c06000556127106001556113886002556000600360006101000a81548160ff02191690831515021790555034801561003d57600080fd5b5033600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506113fe8061008e6000396000f300608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe014610184578063158ef93e146101af578063229824c4146101de57806326fd8422146102335780632c8737611461027e5780632e9392bb146102a95780633009bc01146102d45780633955f0fe146102eb5780633b653755146103025780633ec862a81461032257806343ce742214610365578063467ece79146103905780634f74acfe146103e75780635bbaee67146103f157806372670361146104485780637e56fde51461049f5780638783bf1a146104e05780638e3163271461050b5780639a8cea821461054c5780639ca423b31461058d578063d7c8843b14610610575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b604051808215151515815260200191505060405180910390f35b3480156101ea57600080fd5b5061021d6004803603810190808035906020019092919080359060200190929190803590602001909291905050506106bf565b6040518082815260200191505060405180910390f35b34801561023f57600080fd5b506102686004803603810190808035906020019092919080359060200190929190505050610712565b6040518082815260200191505060405180910390f35b34801561028a57600080fd5b50610293610729565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b3480156102f757600080fd5b5061030061086b565b005b61032060048036038101908080359060200190929190505050610a6f565b005b34801561032e57600080fd5b50610363600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aa5565b005b34801561037157600080fd5b5061037a610f6c565b6040518082815260200191505060405180910390f35b34801561039c57600080fd5b506103d1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc4565b6040518082815260200191505060405180910390f35b6103ef610fdc565b005b3480156103fd57600080fd5b50610432600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111a4565b6040518082815260200191505060405180910390f35b34801561045457600080fd5b50610489600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111bc565b6040518082815260200191505060405180910390f35b3480156104ab57600080fd5b506104ca600480360381019080803590602001909291905050506111d4565b6040518082815260200191505060405180910390f35b3480156104ec57600080fd5b506104f56111fe565b6040518082815260200191505060405180910390f35b34801561051757600080fd5b5061053660048036038101908080359060200190929190505050611204565b6040518082815260200191505060405180910390f35b34801561055857600080fd5b5061057760048036038101908080359060200190929190505050611231565b6040518082815260200191505060405180910390f35b34801561059957600080fd5b506105ce600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561061c57600080fd5b50610651600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611282565b6040518082815260200191505060405180910390f35b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600360009054906101000a900460ff1681565b60006107096106d06001548461132c565b6107046002546106ff6106f96106e86001548a61132c565b6106f46002548c61132c565b611367565b89611385565b611367565b611385565b90509392505050565b600061072183836008546106bf565b905092915050565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60085481565b600360009054906101000a900460ff16151561079157600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107df57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000806000600360009054906101000a900460ff16151561088b57600080fd5b610893610f6c565b925061089e83611204565b91506108a982611231565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061094060085484611367565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ae573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109d384846113a0565b9081150290604051600060405180830381858888f193505050501580156109fe573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b6000600854141515610a8057600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610ac357600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610bd357503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610c575782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c5f610f6c565b9150610c6d82600054611385565b9050610cb8600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611367565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e3660056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e31846005611385565b611367565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610eee600854610ee984600a611385565b611367565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610fbf600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fba33611282565b611367565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610ff957600080fd5b6110233461101e3073ffffffffffffffffffffffffffffffffffffffff1631346113a0565b610712565b90506110378161103283611231565b6113a0565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61107e34611231565b9081150290604051600060405180830381858888f193505050501580156110a9573d6000803e3d6000fd5b506110f3600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611367565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b60006111f7823073ffffffffffffffffffffffffffffffffffffffff1631610712565b9050919050565b60005481565b600061122a826008543073ffffffffffffffffffffffffffffffffffffffff16316106bf565b9050919050565b600061124861124183600461132c565b6064611385565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806112d96000546112d442600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a0565b6113b9565b905061132481600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461132c565b915050919050565b60008060008414156113415760009150611360565b828402905082848281151561135257fe5b0414151561135c57fe5b8091505b5092915050565b600080828401905083811015151561137b57fe5b8091505092915050565b600080828481151561139357fe5b0490508091505092915050565b60008282111515156113ae57fe5b818303905092915050565b60008183106113c857816113ca565b825b9050929150505600a165627a7a723058205d45df6b23025b82fe8d1dba43db73aa778f6792001f15a732d83c60bb178a900029

Deployed Bytecode

0x608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe014610184578063158ef93e146101af578063229824c4146101de57806326fd8422146102335780632c8737611461027e5780632e9392bb146102a95780633009bc01146102d45780633955f0fe146102eb5780633b653755146103025780633ec862a81461032257806343ce742214610365578063467ece79146103905780634f74acfe146103e75780635bbaee67146103f157806372670361146104485780637e56fde51461049f5780638783bf1a146104e05780638e3163271461050b5780639a8cea821461054c5780639ca423b31461058d578063d7c8843b14610610575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b604051808215151515815260200191505060405180910390f35b3480156101ea57600080fd5b5061021d6004803603810190808035906020019092919080359060200190929190803590602001909291905050506106bf565b6040518082815260200191505060405180910390f35b34801561023f57600080fd5b506102686004803603810190808035906020019092919080359060200190929190505050610712565b6040518082815260200191505060405180910390f35b34801561028a57600080fd5b50610293610729565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b3480156102f757600080fd5b5061030061086b565b005b61032060048036038101908080359060200190929190505050610a6f565b005b34801561032e57600080fd5b50610363600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aa5565b005b34801561037157600080fd5b5061037a610f6c565b6040518082815260200191505060405180910390f35b34801561039c57600080fd5b506103d1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fc4565b6040518082815260200191505060405180910390f35b6103ef610fdc565b005b3480156103fd57600080fd5b50610432600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111a4565b6040518082815260200191505060405180910390f35b34801561045457600080fd5b50610489600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111bc565b6040518082815260200191505060405180910390f35b3480156104ab57600080fd5b506104ca600480360381019080803590602001909291905050506111d4565b6040518082815260200191505060405180910390f35b3480156104ec57600080fd5b506104f56111fe565b6040518082815260200191505060405180910390f35b34801561051757600080fd5b5061053660048036038101908080359060200190929190505050611204565b6040518082815260200191505060405180910390f35b34801561055857600080fd5b5061057760048036038101908080359060200190929190505050611231565b6040518082815260200191505060405180910390f35b34801561059957600080fd5b506105ce600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561061c57600080fd5b50610651600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611282565b6040518082815260200191505060405180910390f35b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600360009054906101000a900460ff1681565b60006107096106d06001548461132c565b6107046002546106ff6106f96106e86001548a61132c565b6106f46002548c61132c565b611367565b89611385565b611367565b611385565b90509392505050565b600061072183836008546106bf565b905092915050565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60085481565b600360009054906101000a900460ff16151561079157600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156107df57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000806000600360009054906101000a900460ff16151561088b57600080fd5b610893610f6c565b925061089e83611204565b91506108a982611231565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061094060085484611367565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ae573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6109d384846113a0565b9081150290604051600060405180830381858888f193505050501580156109fe573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b6000600854141515610a8057600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610ac357600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610bd357503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610c575782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610c5f610f6c565b9150610c6d82600054611385565b9050610cb8600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611367565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e3660056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e31846005611385565b611367565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610eee600854610ee984600a611385565b611367565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610fbf600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610fba33611282565b611367565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610ff957600080fd5b6110233461101e3073ffffffffffffffffffffffffffffffffffffffff1631346113a0565b610712565b90506110378161103283611231565b6113a0565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61107e34611231565b9081150290604051600060405180830381858888f193505050501580156110a9573d6000803e3d6000fd5b506110f3600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611367565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b60006111f7823073ffffffffffffffffffffffffffffffffffffffff1631610712565b9050919050565b60005481565b600061122a826008543073ffffffffffffffffffffffffffffffffffffffff16316106bf565b9050919050565b600061124861124183600461132c565b6064611385565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806112d96000546112d442600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a0565b6113b9565b905061132481600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461132c565b915050919050565b60008060008414156113415760009150611360565b828402905082848281151561135257fe5b0414151561135c57fe5b8091505b5092915050565b600080828401905083811015151561137b57fe5b8091505092915050565b600080828481151561139357fe5b0490508091505092915050565b60008282111515156113ae57fe5b818303905092915050565b60008183106113c857816113ca565b825b9050929150505600a165627a7a723058205d45df6b23025b82fe8d1dba43db73aa778f6792001f15a732d83c60bb178a900029

Swarm Source

bzzr://5d45df6b23025b82fe8d1dba43db73aa778f6792001f15a732d83c60bb178a90

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.