ETH Price: $3,274.76 (+0.92%)

Contract

0x8C7f97965f6811E5F1e839EF23D38d2ecd86a445
 

Overview

ETH Balance

0.000497298005333111 ETH

Eth Value

$1.63 (@ $3,274.76/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Hatch Eggs57786362018-06-12 23:48:312405 days ago1528847311IN
0x8C7f9796...ecd86a445
0 ETH0.000058991
Hatch Eggs57162962018-06-01 22:44:392416 days ago1527893079IN
0x8C7f9796...ecd86a445
0 ETH0.0005899810
Hatch Eggs57161522018-06-01 22:14:542416 days ago1527891294IN
0x8C7f9796...ecd86a445
0 ETH0.0005899810
Sell Eggs57134502018-06-01 10:40:012416 days ago1527849601IN
0x8C7f9796...ecd86a445
0 ETH0.0009333416
Hatch Eggs57108832018-05-31 23:38:152417 days ago1527809895IN
0x8C7f9796...ecd86a445
0 ETH0.0005899810
Hatch Eggs57103342018-05-31 21:21:502417 days ago1527801710IN
0x8C7f9796...ecd86a445
0 ETH0.0007079712
Sell Eggs57052242018-05-30 23:36:572418 days ago1527723417IN
0x8C7f9796...ecd86a445
0 ETH0.0005259
Hatch Eggs57050612018-05-30 22:53:042418 days ago1527720784IN
0x8C7f9796...ecd86a445
0 ETH0.000530989
Hatch Eggs57026762018-05-30 12:54:152418 days ago1527684855IN
0x8C7f9796...ecd86a445
0 ETH0.0007079712
Hatch Eggs56995712018-05-29 23:25:162419 days ago1527636316IN
0x8C7f9796...ecd86a445
0 ETH0.0005899810
Hatch Eggs56925482018-05-28 17:41:312420 days ago1527529291IN
0x8C7f9796...ecd86a445
0 ETH0.0006489711
Hatch Eggs56854152018-05-27 11:33:442421 days ago1527420824IN
0x8C7f9796...ecd86a445
0 ETH0.000354046
Hatch Eggs56826652018-05-26 23:44:352422 days ago1527378275IN
0x8C7f9796...ecd86a445
0 ETH0.000353986
Hatch Eggs56794332018-05-26 10:11:052422 days ago1527329465IN
0x8C7f9796...ecd86a445
0 ETH0.0005900810
Hatch Eggs56765932018-05-25 22:11:142423 days ago1527286274IN
0x8C7f9796...ecd86a445
0 ETH0.000236034
Sell Eggs56739632018-05-25 10:52:372423 days ago1527245557IN
0x8C7f9796...ecd86a445
0 ETH0.000408337
Hatch Eggs56712452018-05-24 23:26:392424 days ago1527204399IN
0x8C7f9796...ecd86a445
0 ETH0.0005900810
Sell Eggs56710892018-05-24 22:48:572424 days ago1527202137IN
0x8C7f9796...ecd86a445
0 ETH0.000291625
Sell Eggs56701452018-05-24 18:46:492424 days ago1527187609IN
0x8C7f9796...ecd86a445
0 ETH0.0005259
Hatch Eggs56685482018-05-24 12:01:402424 days ago1527163300IN
0x8C7f9796...ecd86a445
0 ETH0.0004839711
Sell Eggs56647352018-05-23 19:38:102425 days ago1527104290IN
0x8C7f9796...ecd86a445
0 ETH0.000346598
Hatch Eggs56647262018-05-23 19:35:302425 days ago1527104130IN
0x8C7f9796...ecd86a445
0 ETH0.000417436
Buy Eggs56639432018-05-23 16:19:202425 days ago1527092360IN
0x8C7f9796...ecd86a445
0.005 ETH0.0006013711
Sell Eggs56622532018-05-23 9:14:002425 days ago1527066840IN
0x8C7f9796...ecd86a445
0 ETH0.0008748615
Sell Eggs56610272018-05-23 3:44:192425 days ago1527047059IN
0x8C7f9796...ecd86a445
0 ETH0.0006998812
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
57134502018-06-01 10:40:012416 days ago1527849601
0x8C7f9796...ecd86a445
0.00076802 ETH
57134502018-06-01 10:40:012416 days ago1527849601
0x8C7f9796...ecd86a445
0.000032 ETH
57052242018-05-30 23:36:572418 days ago1527723417
0x8C7f9796...ecd86a445
0.00740888 ETH
57052242018-05-30 23:36:572418 days ago1527723417
0x8C7f9796...ecd86a445
0.0003087 ETH
56739632018-05-25 10:52:372423 days ago1527245557
0x8C7f9796...ecd86a445
0.00368253 ETH
56739632018-05-25 10:52:372423 days ago1527245557
0x8C7f9796...ecd86a445
0.00015343 ETH
56710892018-05-24 22:48:572424 days ago1527202137
0x8C7f9796...ecd86a445
0.00141186 ETH
56710892018-05-24 22:48:572424 days ago1527202137
0x8C7f9796...ecd86a445
0.00005882 ETH
56701452018-05-24 18:46:492424 days ago1527187609
0x8C7f9796...ecd86a445
0.00352875 ETH
56701452018-05-24 18:46:492424 days ago1527187609
0x8C7f9796...ecd86a445
0.00014703 ETH
56647352018-05-23 19:38:102425 days ago1527104290
0x8C7f9796...ecd86a445
0.00585736 ETH
56647352018-05-23 19:38:102425 days ago1527104290
0x8C7f9796...ecd86a445
0.00024405 ETH
56639432018-05-23 16:19:202425 days ago1527092360
0x8C7f9796...ecd86a445
0.0002 ETH
56622532018-05-23 9:14:002425 days ago1527066840
0x8C7f9796...ecd86a445
0.00841707 ETH
56622532018-05-23 9:14:002425 days ago1527066840
0x8C7f9796...ecd86a445
0.00035071 ETH
56610272018-05-23 3:44:192425 days ago1527047059
0x8C7f9796...ecd86a445
0.01082693 ETH
56610272018-05-23 3:44:192425 days ago1527047059
0x8C7f9796...ecd86a445
0.00045112 ETH
56594322018-05-22 20:58:252426 days ago1527022705
0x8C7f9796...ecd86a445
0.0004 ETH
56591552018-05-22 19:45:472426 days ago1527018347
0x8C7f9796...ecd86a445
0.00184665 ETH
56591552018-05-22 19:45:472426 days ago1527018347
0x8C7f9796...ecd86a445
0.00007694 ETH
56559382018-05-22 5:51:542426 days ago1526968314
0x8C7f9796...ecd86a445
0.00214833 ETH
56559382018-05-22 5:51:542426 days ago1526968314
0x8C7f9796...ecd86a445
0.00008951 ETH
56537462018-05-21 20:32:412427 days ago1526934761
0x8C7f9796...ecd86a445
0.01506797 ETH
56537462018-05-21 20:32:412427 days ago1526934761
0x8C7f9796...ecd86a445
0.00062783 ETH
56526042018-05-21 15:45:102427 days ago1526917510
0x8C7f9796...ecd86a445
0.00566851 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CrabFarm

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 CrabFarm {
    uint256 public EGGS_TO_HATCH_1CRAB = 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 _crabs);
    
    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 newCrabs = SafeMath.div(eggsUsed, EGGS_TO_HATCH_1CRAB);
        hatchery[msg.sender] = SafeMath.add(hatchery[msg.sender], newCrabs);
        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 crab hoarding
        marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,10));
        
        emit Hatch(msg.sender, eggsUsed, newCrabs);
    }
    
    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(msg.sender == ceoAddress);
        require(marketEggs == 0);
        initialized = true;
        marketEggs = eggs;
    }
    
    function claimFreeCrab() 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 getMyCrabs() 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_1CRAB, 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":"getMyCrabs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"rt","type":"uint256"},{"name":"rs","type":"uint256"},{"name":"bs","type":"uint256"}],"name":"calculateTrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"},{"name":"contractBalance","type":"uint256"}],"name":"calculateEggBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sellEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":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_1CRAB","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"},{"constant":false,"inputs":[],"name":"claimFreeCrab","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_crabs","type":"uint256"}],"name":"Hatch","type":"event"}]

608060405261a8c06000556127106001556113886002556000600360006101000a81548160ff02191690831515021790555034801561003d57600080fd5b5033600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061145a8061008e6000396000f300608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe01461018457806313defbd9146101af578063158ef93e146101da578063229824c41461020957806326fd84221461025e5780632e9392bb146102a95780633955f0fe146102d45780633b653755146102eb5780633ec862a81461030b57806343ce74221461034e578063467ece79146103795780634f74acfe146103d05780635bbaee67146103da57806372670361146104315780637e56fde5146104885780638ba19d4f146104c95780638e316327146104f45780639a8cea82146105355780639ca423b314610576578063d7c8843b146105f9578063e190d1b514610650575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b6040518082815260200191505060405180910390f35b3480156101e657600080fd5b506101ef6106f3565b604051808215151515815260200191505060405180910390f35b34801561021557600080fd5b50610248600480360381019080803590602001909291908035906020019092919080359060200190929190505050610706565b6040518082815260200191505060405180910390f35b34801561026a57600080fd5b506102936004803603810190808035906020019092919080359060200190929190505050610759565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b6103096004803603810190808035906020019092919050505061097a565b005b34801561031757600080fd5b5061034c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a0c565b005b34801561035a57600080fd5b50610363610ed3565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b506103ba600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f2b565b6040518082815260200191505060405180910390f35b6103d8610f43565b005b3480156103e657600080fd5b5061041b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061110b565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610472600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611123565b6040518082815260200191505060405180910390f35b34801561049457600080fd5b506104b36004803603810190808035906020019092919050505061113b565b6040518082815260200191505060405180910390f35b3480156104d557600080fd5b506104de611165565b6040518082815260200191505060405180910390f35b34801561050057600080fd5b5061051f6004803603810190808035906020019092919050505061116b565b6040518082815260200191505060405180910390f35b34801561054157600080fd5b5061056060048036038101908080359060200190929190505050611198565b6040518082815260200191505060405180910390f35b34801561058257600080fd5b506105b7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060557600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e9565b6040518082815260200191505060405180910390f35b34801561065c57600080fd5b50610665611293565b005b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600360009054906101000a900460ff1681565b600061075061071760015484611388565b61074b60025461074661074061072f6001548a611388565b61073b6002548c611388565b6113c3565b896113e1565b6113c3565b6113e1565b90509392505050565b60006107688383600854610706565b905092915050565b60085481565b6000806000600360009054906101000a900460ff16151561079657600080fd5b61079e610ed3565b92506107a98361116b565b91506107b482611198565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061084b600854846113c3565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108b9573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6108de84846113fc565b9081150290604051600060405180830381858888f19350505050158015610909573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109d657600080fd5b60006008541415156109e757600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610a2a57600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b3a57503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bbe5782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610bc6610ed3565b9150610bd4826000546113e1565b9050610c1f600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d9d60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d988460056113e1565b6113c3565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e55600854610e5084600a6113e1565b6113c3565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610f26600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f21336111e9565b6113c3565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610f6057600080fd5b610f8a34610f853073ffffffffffffffffffffffffffffffffffffffff1631346113fc565b610759565b9050610f9e81610f9983611198565b6113fc565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fe534611198565b9081150290604051600060405180830381858888f19350505050158015611010573d6000803e3d6000fd5b5061105a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b600061115e823073ffffffffffffffffffffffffffffffffffffffff1631610759565b9050919050565b60005481565b6000611191826008543073ffffffffffffffffffffffffffffffffffffffff1631610706565b9050919050565b60006111af6111a8836004611388565b60646113e1565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061124060005461123b42600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113fc565b611415565b905061128b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611388565b915050919050565b600360009054906101000a900460ff1615156112ae57600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156112fc57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600080600084141561139d57600091506113bc565b82840290508284828115156113ae57fe5b041415156113b857fe5b8091505b5092915050565b60008082840190508381101515156113d757fe5b8091505092915050565b60008082848115156113ef57fe5b0490508091505092915050565b600082821115151561140a57fe5b818303905092915050565b60008183106114245781611426565b825b9050929150505600a165627a7a723058205fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc3230029

Deployed Bytecode

0x608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe01461018457806313defbd9146101af578063158ef93e146101da578063229824c41461020957806326fd84221461025e5780632e9392bb146102a95780633955f0fe146102d45780633b653755146102eb5780633ec862a81461030b57806343ce74221461034e578063467ece79146103795780634f74acfe146103d05780635bbaee67146103da57806372670361146104315780637e56fde5146104885780638ba19d4f146104c95780638e316327146104f45780639a8cea82146105355780639ca423b314610576578063d7c8843b146105f9578063e190d1b514610650575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b6040518082815260200191505060405180910390f35b3480156101e657600080fd5b506101ef6106f3565b604051808215151515815260200191505060405180910390f35b34801561021557600080fd5b50610248600480360381019080803590602001909291908035906020019092919080359060200190929190505050610706565b6040518082815260200191505060405180910390f35b34801561026a57600080fd5b506102936004803603810190808035906020019092919080359060200190929190505050610759565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b6103096004803603810190808035906020019092919050505061097a565b005b34801561031757600080fd5b5061034c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a0c565b005b34801561035a57600080fd5b50610363610ed3565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b506103ba600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f2b565b6040518082815260200191505060405180910390f35b6103d8610f43565b005b3480156103e657600080fd5b5061041b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061110b565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610472600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611123565b6040518082815260200191505060405180910390f35b34801561049457600080fd5b506104b36004803603810190808035906020019092919050505061113b565b6040518082815260200191505060405180910390f35b3480156104d557600080fd5b506104de611165565b6040518082815260200191505060405180910390f35b34801561050057600080fd5b5061051f6004803603810190808035906020019092919050505061116b565b6040518082815260200191505060405180910390f35b34801561054157600080fd5b5061056060048036038101908080359060200190929190505050611198565b6040518082815260200191505060405180910390f35b34801561058257600080fd5b506105b7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060557600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e9565b6040518082815260200191505060405180910390f35b34801561065c57600080fd5b50610665611293565b005b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600360009054906101000a900460ff1681565b600061075061071760015484611388565b61074b60025461074661074061072f6001548a611388565b61073b6002548c611388565b6113c3565b896113e1565b6113c3565b6113e1565b90509392505050565b60006107688383600854610706565b905092915050565b60085481565b6000806000600360009054906101000a900460ff16151561079657600080fd5b61079e610ed3565b92506107a98361116b565b91506107b482611198565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061084b600854846113c3565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108b9573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6108de84846113fc565b9081150290604051600060405180830381858888f19350505050158015610909573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109d657600080fd5b60006008541415156109e757600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610a2a57600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b3a57503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bbe5782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610bc6610ed3565b9150610bd4826000546113e1565b9050610c1f600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d9d60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d988460056113e1565b6113c3565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e55600854610e5084600a6113e1565b6113c3565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610f26600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f21336111e9565b6113c3565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610f6057600080fd5b610f8a34610f853073ffffffffffffffffffffffffffffffffffffffff1631346113fc565b610759565b9050610f9e81610f9983611198565b6113fc565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fe534611198565b9081150290604051600060405180830381858888f19350505050158015611010573d6000803e3d6000fd5b5061105a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b600061115e823073ffffffffffffffffffffffffffffffffffffffff1631610759565b9050919050565b60005481565b6000611191826008543073ffffffffffffffffffffffffffffffffffffffff1631610706565b9050919050565b60006111af6111a8836004611388565b60646113e1565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061124060005461123b42600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113fc565b611415565b905061128b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611388565b915050919050565b600360009054906101000a900460ff1615156112ae57600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156112fc57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600080600084141561139d57600091506113bc565b82840290508284828115156113ae57fe5b041415156113b857fe5b8091505b5092915050565b60008082840190508381101515156113d757fe5b8091505092915050565b60008082848115156113ef57fe5b0490508091505092915050565b600082821115151561140a57fe5b818303905092915050565b60008183106114245781611426565b825b9050929150505600a165627a7a723058205fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc3230029

Swarm Source

bzzr://5fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc323

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.