ETH Price: $3,556.06 (-0.60%)
Gas: 19 Gwei

Contract

0x59A8B4400EbFD61D42d8aadE332076c220F72d42
 

Overview

ETH Balance

0.000001693094660875 ETH

Eth Value

Less Than $0.01 (@ $3,556.06/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw Reward66091232018-10-30 3:29:481977 days ago1540870188IN
0x59A8B440...220F72d42
0 ETH0.0018736610
Share66064872018-10-29 17:08:061977 days ago1540832886IN
0x59A8B440...220F72d42
0 ETH0.0009838210
Withdraw Reward66027792018-10-29 2:36:291978 days ago1540780589IN
0x59A8B440...220F72d42
0 ETH0.000149483
Withdraw Reward66027752018-10-29 2:35:371978 days ago1540780537IN
0x59A8B440...220F72d42
0 ETH0.000249145
Share66027442018-10-29 2:27:441978 days ago1540780064IN
0x59A8B440...220F72d42
0 ETH0.000496126
Withdraw Reward66026592018-10-29 2:07:121978 days ago1540778832IN
0x59A8B440...220F72d42
0 ETH0.000154463.1
Withdraw Reward66013432018-10-28 20:50:351978 days ago1540759835IN
0x59A8B440...220F72d42
0 ETH0.000129552.6
Withdraw Reward66011992018-10-28 20:18:361978 days ago1540757916IN
0x59A8B440...220F72d42
0 ETH0.000099652
Withdraw Reward66011042018-10-28 19:54:171978 days ago1540756457IN
0x59A8B440...220F72d42
0 ETH0.000517093
Share66009772018-10-28 19:23:221978 days ago1540754602IN
0x59A8B440...220F72d42
0 ETH0.000179223
Share66009452018-10-28 19:14:051978 days ago1540754045IN
0x59A8B440...220F72d42
0 ETH0.000186883
Share66007042018-10-28 18:19:421978 days ago1540750782IN
0x59A8B440...220F72d42
0 ETH0.000358076
Share66005812018-10-28 17:46:581978 days ago1540748818IN
0x59A8B440...220F72d42
0 ETH0.00018453
Share66003722018-10-28 17:01:261978 days ago1540746086IN
0x59A8B440...220F72d42
0 ETH0.000238974
Share66002982018-10-28 16:43:531978 days ago1540745033IN
0x59A8B440...220F72d42
0 ETH0.00018453
Share66001742018-10-28 16:11:421978 days ago1540743102IN
0x59A8B440...220F72d42
0 ETH0.000338445
Share65998622018-10-28 14:58:461978 days ago1540738726IN
0x59A8B440...220F72d42
0 ETH0.000298715
Share65986912018-10-28 10:28:161979 days ago1540722496IN
0x59A8B440...220F72d42
0 ETH0.000252564
Share65986662018-10-28 10:21:591979 days ago1540722119IN
0x59A8B440...220F72d42
0 ETH0.000316025
Share65986502018-10-28 10:18:411979 days ago1540721921IN
0x59A8B440...220F72d42
0 ETH0.000207233.3
Withdraw Reward65973192018-10-28 5:02:341979 days ago1540702954IN
0x59A8B440...220F72d42
0 ETH0.000099652
Withdraw Reward65973042018-10-28 4:58:331979 days ago1540702713IN
0x59A8B440...220F72d42
0 ETH0.000062033
Share65972882018-10-28 4:55:371979 days ago1540702537IN
0x59A8B440...220F72d42
0 ETH0.000281533
Share65969582018-10-28 3:37:041979 days ago1540697824IN
0x59A8B440...220F72d42
0 ETH0.000178652.62
Share65960222018-10-27 23:58:501979 days ago1540684730IN
0x59A8B440...220F72d42
0 ETH0.000270494
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
66091232018-10-30 3:29:481977 days ago1540870188
0x59A8B440...220F72d42
0.44485052 ETH
66091232018-10-30 3:29:481977 days ago1540870188
0x59A8B440...220F72d42
0 ETH
66027792018-10-29 2:36:291978 days ago1540780589
0x59A8B440...220F72d42
0.00169626 ETH
66027752018-10-29 2:35:371978 days ago1540780537
0x59A8B440...220F72d42
0.06111785 ETH
66026592018-10-29 2:07:121978 days ago1540778832
0x59A8B440...220F72d42
0.01189673 ETH
66013432018-10-28 20:50:351978 days ago1540759835
0x59A8B440...220F72d42
0.00539275 ETH
66011992018-10-28 20:18:361978 days ago1540757916
0x59A8B440...220F72d42
0.07177262 ETH
66011042018-10-28 19:54:171978 days ago1540756457
0x59A8B440...220F72d42
0.09224155 ETH
66011042018-10-28 19:54:171978 days ago1540756457
0x59A8B440...220F72d42
0.23573077 ETH
65973192018-10-28 5:02:341979 days ago1540702954
0x59A8B440...220F72d42
0.00829509 ETH
65973042018-10-28 4:58:331979 days ago1540702713
0x59A8B440...220F72d42
0.05143002 ETH
65960222018-10-27 23:58:501979 days ago1540684730
0x59A8B440...220F72d42
0.04007256 ETH
65957462018-10-27 22:52:591979 days ago1540680779
0x59A8B440...220F72d42
0.02730934 ETH
65951082018-10-27 20:20:541979 days ago1540671654
0x59A8B440...220F72d42
0.11460582 ETH
65949972018-10-27 19:52:071979 days ago1540669927
0x59A8B440...220F72d42
0.0199677 ETH
65949972018-10-27 19:52:071979 days ago1540669927
0x59A8B440...220F72d42
0.24411134 ETH
65900842018-10-27 0:34:421980 days ago1540600482
0x59A8B440...220F72d42
0.01507901 ETH
65893832018-10-26 22:00:461980 days ago1540591246
0x59A8B440...220F72d42
0.07163975 ETH
65892272018-10-26 21:22:061980 days ago1540588926
0x59A8B440...220F72d42
0.02015692 ETH
65889412018-10-26 20:12:081980 days ago1540584728
0x59A8B440...220F72d42
0.04194269 ETH
65888422018-10-26 19:49:101980 days ago1540583350
0x59A8B440...220F72d42
0.06922581 ETH
65888222018-10-26 19:43:381980 days ago1540583018
0x59A8B440...220F72d42
0.0200429 ETH
65888222018-10-26 19:43:381980 days ago1540583018
0x59A8B440...220F72d42
0.25338036 ETH
65861242018-10-26 9:07:261981 days ago1540544846
0x59A8B440...220F72d42
0.09787267 ETH
65852312018-10-26 5:27:531981 days ago1540531673
0x59A8B440...220F72d42
0.00789384 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CrystalShare

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.25;

/*
* CryptoMiningWar - Mining Contest Game
* Author: InspiGames
* Website: https://cryptominingwar.github.io/
*/

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;
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}
contract CryptoEngineerInterface {
    uint256 public prizePool = 0;

    function subVirus(address /*_addr*/, uint256 /*_value*/) public {}
    function claimPrizePool(address /*_addr*/, uint256 /*_value*/) public {} 
}
contract CryptoMiningWarInterface {
    uint256 public deadline; 
    function subCrystal( address /*_addr*/, uint256 /*_value*/ ) public {}
}
contract CrystalShare {
	using SafeMath for uint256;

    bool init = false;
	address public administrator;
	// mini game
    uint256 public HALF_TIME = 24 hours;
    uint256 public round = 0;
    CryptoEngineerInterface public EngineerContract;
    CryptoMiningWarInterface public MiningWarContract;
    // mining war info
    uint256 public miningWarDeadline;
    uint256 constant public CRTSTAL_MINING_PERIOD = 86400;
    /** 
    * @dev mini game information
    */
    mapping(uint256 => Game) public games;
    /** 
    * @dev player information
    */
    mapping(address => Player) public players;
   
    struct Game {
        uint256 round;
        uint256 crystals;
        uint256 prizePool;
        uint256 endTime;
        bool ended; 
    }
    struct Player {
        uint256 currentRound;
        uint256 lastRound;
        uint256 reward;
        uint256 share; // your crystals share in current round 
    }
    event EndRound(uint256 round, uint256 crystals, uint256 prizePool, uint256 endTime);
    modifier disableContract()
    {
        require(tx.origin == msg.sender);
        _;
    }

    constructor() public {
        administrator = msg.sender;
        // set interface contract
        MiningWarContract = CryptoMiningWarInterface(0xf84c61bb982041c030b8580d1634f00fffb89059);
        EngineerContract = CryptoEngineerInterface(0x69fd0e5d0a93bf8bac02c154d343a8e3709adabf);
    }
    function () public payable
    {
        
    }
    /** 
    * @dev MainContract used this function to verify game's contract
    */
    function isContractMiniGame() public pure returns( bool _isContractMiniGame )
    {
    	_isContractMiniGame = true;
    }

    /** 
    * @dev Main Contract call this function to setup mini game.
    */
    function setupMiniGame( uint256 /*_miningWarRoundNumber*/, uint256 _miningWarDeadline ) public
    {
        miningWarDeadline = _miningWarDeadline;
    }
    /**
    * @dev start the mini game
    */
     function startGame() public 
    {
        require(msg.sender == administrator);
        require(init == false);
        init = true;
        miningWarDeadline = getMiningWarDealine();

        games[round].ended = true;
    
        startRound();
    }
    function startRound() private
    {
        require(games[round].ended == true);

        uint256 crystalsLastRound = games[round].crystals;
        uint256 prizePoolLastRound= games[round].prizePool; 

        round = round + 1;

        uint256 endTime = now + HALF_TIME;
        // claim 5% of current prizePool as rewards.
        uint256 engineerPrizePool = getEngineerPrizePool();
        uint256 prizePool = SafeMath.div(SafeMath.mul(engineerPrizePool, 5),100);
        if (crystalsLastRound <= 0) {
            prizePool = SafeMath.add(prizePool, prizePoolLastRound);
        } 

        EngineerContract.claimPrizePool(address(this), prizePool);
        games[round] = Game(round, 0, prizePool, endTime, false);
    }
    function endRound() private
    {
        require(games[round].ended == false);
        require(games[round].endTime <= now);

        Game storage g = games[round];
        g.ended = true;
        
        startRound();

        emit EndRound(g.round, g.crystals, g.prizePool, g.endTime);
    }
    /**
    * @dev player send crystals to the pot
    */
    function share(uint256 _value) public disableContract
    {
        require(miningWarDeadline > now);
        require(games[round].ended == false);
        require(_value >= 10000);

        MiningWarContract.subCrystal(msg.sender, _value); 

        if (games[round].endTime <= now) endRound();
        
        updateReward(msg.sender);
        
        Game storage g = games[round];
        uint256 _share = SafeMath.mul(_value, CRTSTAL_MINING_PERIOD);
        g.crystals = SafeMath.add(g.crystals, _share);
        Player storage p = players[msg.sender];
        if (p.currentRound == round) {
            p.share = SafeMath.add(p.share, _share);
        } else {
            p.share = _share;
            p.currentRound = round;
        } 
    }
    function withdrawReward() public disableContract
    {
        if (games[round].endTime <= now) endRound();
        
        updateReward(msg.sender);
        Player storage p = players[msg.sender];
        
        msg.sender.send(p.reward);
        // update player
        p.reward = 0;
    }
    function updateReward(address _addr) private
    {
        Player storage p = players[_addr];
        
        if ( 
            games[p.currentRound].ended == true &&
            p.lastRound < p.currentRound
            ) {
            p.reward = SafeMath.add(p.share, calculateReward(msg.sender, p.currentRound));
            p.lastRound = p.currentRound;
        }
    }
      /**
    * @dev calculate reward
    */
    function calculateReward(address _addr, uint256 _round) public view returns(uint256)
    {
        Player memory p = players[_addr];
        Game memory g = games[_round];
        if (g.endTime > now) return 0;
        if (g.crystals == 0) return 0; 
        return SafeMath.div(SafeMath.mul(g.prizePool, p.share), g.crystals);
    }
    function getEngineerPrizePool() private view returns(uint256)
    {
        return EngineerContract.prizePool();
    }
    function getMiningWarDealine () private view returns(uint256)
    {
        return MiningWarContract.deadline();
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"games","outputs":[{"name":"round","type":"uint256"},{"name":"crystals","type":"uint256"},{"name":"prizePool","type":"uint256"},{"name":"endTime","type":"uint256"},{"name":"ended","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"round","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"},{"name":"_round","type":"uint256"}],"name":"calculateReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isContractMiniGame","outputs":[{"name":"_isContractMiniGame","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"miningWarDeadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"HALF_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EngineerContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"","type":"uint256"},{"name":"_miningWarDeadline","type":"uint256"}],"name":"setupMiniGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"share","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MiningWarContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"CRTSTAL_MINING_PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"startGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"players","outputs":[{"name":"currentRound","type":"uint256"},{"name":"lastRound","type":"uint256"},{"name":"reward","type":"uint256"},{"name":"share","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"administrator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"round","type":"uint256"},{"indexed":false,"name":"crystals","type":"uint256"},{"indexed":false,"name":"prizePool","type":"uint256"},{"indexed":false,"name":"endTime","type":"uint256"}],"name":"EndRound","type":"event"}]

608060405260008060006101000a81548160ff02191690831515021790555062015180600155600060025534801561003657600080fd5b5033600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f84c61bb982041c030b8580d1634f00fffb89059600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507369fd0e5d0a93bf8bac02c154d343a8e3709adabf600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061118a806101316000396000f3006080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063117a5b90146100dd578063146ca5311461013e5780631852e8d9146101695780633281d576146101ca5780634332e77a146101f95780634f9d482a1461022457806358838f891461024f578063be7ccd7e146102a6578063c3d9c4b4146102dd578063c885bc581461030a578063ca2cef5114610321578063cee0b4fe14610378578063d65ab5f2146103a3578063e2eb41ff146103ba578063f53d0a8e14610426575b005b3480156100e957600080fd5b506101086004803603810190808035906020019092919050505061047d565b60405180868152602001858152602001848152602001838152602001821515151581526020019550505050505060405180910390f35b34801561014a57600080fd5b506101536104c0565b6040518082815260200191505060405180910390f35b34801561017557600080fd5b506101b4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506104c6565b6040518082815260200191505060405180910390f35b3480156101d657600080fd5b506101df610606565b604051808215151515815260200191505060405180910390f35b34801561020557600080fd5b5061020e61060f565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b50610239610615565b6040518082815260200191505060405180910390f35b34801561025b57600080fd5b5061026461061b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102b257600080fd5b506102db6004803603810190808035906020019092919080359060200190929190505050610641565b005b3480156102e957600080fd5b506103086004803603810190808035906020019092919050505061064c565b005b34801561031657600080fd5b5061031f6108b5565b005b34801561032d57600080fd5b506103366109ac565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038457600080fd5b5061038d6109d2565b6040518082815260200191505060405180910390f35b3480156103af57600080fd5b506103b86109d9565b005b3480156103c657600080fd5b506103fb600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ab9565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b34801561043257600080fd5b5061043b610ae9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60066020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b60025481565b60006104d0611103565b6104d861112c565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505091506006600085815260200190815260200160002060a06040519081016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff161515151581525050905042816060015111156105c657600092506105fe565b6000816020015114156105dc57600092506105fe565b6105fb6105f182604001518460600151610b0f565b8260200151610b4a565b92505b505092915050565b60006001905090565b60055481565b60015481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b806005819055505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614151561068b57600080fd5b4260055411151561069b57600080fd5b6000151560066000600254815260200190815260200160002060040160009054906101000a900460ff1615151415156106d357600080fd5b61271084101515156106e457600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b04eb63933866040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156107a957600080fd5b505af11580156107bd573d6000803e3d6000fd5b5050505042600660006002548152602001908152602001600020600301541115156107eb576107ea610b65565b5b6107f433610c63565b60066000600254815260200190815260200160002092506108188462015180610b0f565b9150610828836001015483610d22565b8360010181905550600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506002548160000154141561089a5761088d816003015483610d22565b81600301819055506108af565b81816003018190555060025481600001819055505b50505050565b60003373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161415156108f157600080fd5b426006600060025481526020019081526020016000206003015411151561091b5761091a610b65565b5b61092433610c63565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff166108fc82600201549081150290604051600060405180830381858888f19350505050506000816002018190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6201518081565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a3557600080fd5b600015156000809054906101000a900460ff161515141515610a5657600080fd5b60016000806101000a81548160ff021916908315150217905550610a78610d40565b600581905550600160066000600254815260200190815260200160002060040160006101000a81548160ff021916908315150217905550610ab7610e08565b565b60076020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000841415610b245760009150610b43565b8284029050828482811515610b3557fe5b04141515610b3f57fe5b8091505b5092915050565b6000808284811515610b5857fe5b0490508091505092915050565b600080151560066000600254815260200190815260200160002060040160009054906101000a900460ff161515141515610b9e57600080fd5b426006600060025481526020019081526020016000206003015411151515610bc557600080fd5b600660006002548152602001908152602001600020905060018160040160006101000a81548160ff021916908315150217905550610c01610e08565b7fa235c93d1b2f697aad8778fa4900285a0ee92e32ec1b0bc7e9bb0515ccf488e081600001548260010154836002015484600301546040518085815260200184815260200183815260200182815260200194505050505060405180910390a150565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060011515600660008360000154815260200190815260200160002060040160009054906101000a900460ff161515148015610ce8575080600001548160010154105b15610d1e57610d088160030154610d033384600001546104c6565b610d22565b8160020181905550806000015481600101819055505b5050565b6000808284019050838110151515610d3657fe5b8091505092915050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329dcb0cf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610dc857600080fd5b505af1158015610ddc573d6000803e3d6000fd5b505050506040513d6020811015610df257600080fd5b8101908080519060200190929190505050905090565b60008060008060006001151560066000600254815260200190815260200160002060040160009054906101000a900460ff161515141515610e4857600080fd5b60066000600254815260200190815260200160002060010154945060066000600254815260200190815260200160002060020154935060016002540160028190555060015442019250610e9961103b565b9150610eb0610ea9836005610b0f565b6064610b4a565b9050600085111515610ec957610ec68185610d22565b90505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637baf71f930836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610f8e57600080fd5b505af1158015610fa2573d6000803e3d6000fd5b5050505060a060405190810160405280600254815260200160008152602001828152602001848152602001600015158152506006600060025481526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663719ce73e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156110c357600080fd5b505af11580156110d7573d6000803e3d6000fd5b505050506040513d60208110156110ed57600080fd5b8101908080519060200190929190505050905090565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b60a0604051908101604052806000815260200160008152602001600081526020016000815260200160001515815250905600a165627a7a7230582014b0efd86204a1cfe805c1e88a59138eb26b0fc40f013a58ef5065355e0e04bb0029

Deployed Bytecode

0x6080604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063117a5b90146100dd578063146ca5311461013e5780631852e8d9146101695780633281d576146101ca5780634332e77a146101f95780634f9d482a1461022457806358838f891461024f578063be7ccd7e146102a6578063c3d9c4b4146102dd578063c885bc581461030a578063ca2cef5114610321578063cee0b4fe14610378578063d65ab5f2146103a3578063e2eb41ff146103ba578063f53d0a8e14610426575b005b3480156100e957600080fd5b506101086004803603810190808035906020019092919050505061047d565b60405180868152602001858152602001848152602001838152602001821515151581526020019550505050505060405180910390f35b34801561014a57600080fd5b506101536104c0565b6040518082815260200191505060405180910390f35b34801561017557600080fd5b506101b4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506104c6565b6040518082815260200191505060405180910390f35b3480156101d657600080fd5b506101df610606565b604051808215151515815260200191505060405180910390f35b34801561020557600080fd5b5061020e61060f565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b50610239610615565b6040518082815260200191505060405180910390f35b34801561025b57600080fd5b5061026461061b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102b257600080fd5b506102db6004803603810190808035906020019092919080359060200190929190505050610641565b005b3480156102e957600080fd5b506103086004803603810190808035906020019092919050505061064c565b005b34801561031657600080fd5b5061031f6108b5565b005b34801561032d57600080fd5b506103366109ac565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561038457600080fd5b5061038d6109d2565b6040518082815260200191505060405180910390f35b3480156103af57600080fd5b506103b86109d9565b005b3480156103c657600080fd5b506103fb600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ab9565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b34801561043257600080fd5b5061043b610ae9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60066020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b60025481565b60006104d0611103565b6104d861112c565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820154815260200160038201548152505091506006600085815260200190815260200160002060a06040519081016040529081600082015481526020016001820154815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff161515151581525050905042816060015111156105c657600092506105fe565b6000816020015114156105dc57600092506105fe565b6105fb6105f182604001518460600151610b0f565b8260200151610b4a565b92505b505092915050565b60006001905090565b60055481565b60015481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b806005819055505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614151561068b57600080fd5b4260055411151561069b57600080fd5b6000151560066000600254815260200190815260200160002060040160009054906101000a900460ff1615151415156106d357600080fd5b61271084101515156106e457600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b04eb63933866040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156107a957600080fd5b505af11580156107bd573d6000803e3d6000fd5b5050505042600660006002548152602001908152602001600020600301541115156107eb576107ea610b65565b5b6107f433610c63565b60066000600254815260200190815260200160002092506108188462015180610b0f565b9150610828836001015483610d22565b8360010181905550600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506002548160000154141561089a5761088d816003015483610d22565b81600301819055506108af565b81816003018190555060025481600001819055505b50505050565b60003373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161415156108f157600080fd5b426006600060025481526020019081526020016000206003015411151561091b5761091a610b65565b5b61092433610c63565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff166108fc82600201549081150290604051600060405180830381858888f19350505050506000816002018190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6201518081565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a3557600080fd5b600015156000809054906101000a900460ff161515141515610a5657600080fd5b60016000806101000a81548160ff021916908315150217905550610a78610d40565b600581905550600160066000600254815260200190815260200160002060040160006101000a81548160ff021916908315150217905550610ab7610e08565b565b60076020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000841415610b245760009150610b43565b8284029050828482811515610b3557fe5b04141515610b3f57fe5b8091505b5092915050565b6000808284811515610b5857fe5b0490508091505092915050565b600080151560066000600254815260200190815260200160002060040160009054906101000a900460ff161515141515610b9e57600080fd5b426006600060025481526020019081526020016000206003015411151515610bc557600080fd5b600660006002548152602001908152602001600020905060018160040160006101000a81548160ff021916908315150217905550610c01610e08565b7fa235c93d1b2f697aad8778fa4900285a0ee92e32ec1b0bc7e9bb0515ccf488e081600001548260010154836002015484600301546040518085815260200184815260200183815260200182815260200194505050505060405180910390a150565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060011515600660008360000154815260200190815260200160002060040160009054906101000a900460ff161515148015610ce8575080600001548160010154105b15610d1e57610d088160030154610d033384600001546104c6565b610d22565b8160020181905550806000015481600101819055505b5050565b6000808284019050838110151515610d3657fe5b8091505092915050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329dcb0cf6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610dc857600080fd5b505af1158015610ddc573d6000803e3d6000fd5b505050506040513d6020811015610df257600080fd5b8101908080519060200190929190505050905090565b60008060008060006001151560066000600254815260200190815260200160002060040160009054906101000a900460ff161515141515610e4857600080fd5b60066000600254815260200190815260200160002060010154945060066000600254815260200190815260200160002060020154935060016002540160028190555060015442019250610e9961103b565b9150610eb0610ea9836005610b0f565b6064610b4a565b9050600085111515610ec957610ec68185610d22565b90505b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637baf71f930836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610f8e57600080fd5b505af1158015610fa2573d6000803e3d6000fd5b5050505060a060405190810160405280600254815260200160008152602001828152602001848152602001600015158152506006600060025481526020019081526020016000206000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663719ce73e6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156110c357600080fd5b505af11580156110d7573d6000803e3d6000fd5b505050506040513d60208110156110ed57600080fd5b8101908080519060200190929190505050905090565b608060405190810160405280600081526020016000815260200160008152602001600081525090565b60a0604051908101604052806000815260200160008152602001600081526020016000815260200160001515815250905600a165627a7a7230582014b0efd86204a1cfe805c1e88a59138eb26b0fc40f013a58ef5065355e0e04bb0029

Swarm Source

bzzr://14b0efd86204a1cfe805c1e88a59138eb26b0fc40f013a58ef5065355e0e04bb

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.