ETH Price: $2,805.27 (+3.05%)

Contract

0x09f05B0876F2D5d0481D5EFDb4166dccB9FbA97D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Every Day Ea...66665222018-11-08 13:30:142298 days ago1541683814IN
0x09f05B08...cB9FbA97D
0 ETH0.0024362225
Buy Game Coin66652132018-11-08 8:22:092299 days ago1541665329IN
0x09f05B08...cB9FbA97D
9.947368 ETH0.0018487722
Buy Game Coin66651422018-11-08 8:05:322299 days ago1541664332IN
0x09f05B08...cB9FbA97D
9.980954 ETH0.000504216
Buy Game Coin66650922018-11-08 7:55:112299 days ago1541663711IN
0x09f05B08...cB9FbA97D
9.975979 ETH0.000672288
Get Every Day Ea...66604512018-11-07 13:47:312299 days ago1541598451IN
0x09f05B08...cB9FbA97D
0 ETH0.0024362225
Give To Voter66603622018-11-07 13:27:502299 days ago1541597270IN
0x09f05B08...cB9FbA97D
0 ETH0.000482148
Give To Voter66603502018-11-07 13:26:072299 days ago1541597167IN
0x09f05B08...cB9FbA97D
0 ETH0.0007232112
Give To Voter66603002018-11-07 13:13:432300 days ago1541596423IN
0x09f05B08...cB9FbA97D
0 ETH0.0012206510
Give To Voter66594832018-11-07 10:01:002300 days ago1541584860IN
0x09f05B08...cB9FbA97D
0 ETH0.0014647812
Get Player Coin66594602018-11-07 9:55:362300 days ago1541584536IN
0x09f05B08...cB9FbA97D
0 ETH0.0006664810
Buy Game Coin66593652018-11-07 9:32:322300 days ago1541583152IN
0x09f05B08...cB9FbA97D
9.971008 ETH0.0020741910
Give To Voter66593422018-11-07 9:27:502300 days ago1541582870IN
0x09f05B08...cB9FbA97D
0 ETH0.0006033210
Give To Voter66593392018-11-07 9:27:202300 days ago1541582840IN
0x09f05B08...cB9FbA97D
0 ETH0.0016712910
Buy Game Coin66593192018-11-07 9:24:142300 days ago1541582654IN
0x09f05B08...cB9FbA97D
3.111158 ETH0.000420175
Buy Game Coin66592632018-11-07 9:09:462300 days ago1541581786IN
0x09f05B08...cB9FbA97D
3.111156 ETH0.0002481910
Buy Game Coin66592622018-11-07 9:09:392300 days ago1541581779IN
0x09f05B08...cB9FbA97D
0.017189 ETH0.000503826
Buy Game Coin66592482018-11-07 9:05:412300 days ago1541581541IN
0x09f05B08...cB9FbA97D
4.124439 ETH0.0008403510
Buy Game Coin66592282018-11-07 9:01:172300 days ago1541581277IN
0x09f05B08...cB9FbA97D
2.061936 ETH0.0002475510
Buy Game Coin66592242018-11-07 9:00:502300 days ago1541581250IN
0x09f05B08...cB9FbA97D
2.749248 ETH0.0021811910
Buy Game Coin66591742018-11-07 8:49:222300 days ago1541580562IN
0x09f05B08...cB9FbA97D
9.956111 ETH0.0049780524
Game Over66544122018-11-06 13:59:192300 days ago1541512759IN
0x09f05B08...cB9FbA97D
0 ETH0.0005735225
Get Every Day Ea...66542782018-11-06 13:26:192300 days ago1541510779IN
0x09f05B08...cB9FbA97D
0 ETH0.0025554225
Game Over66540912018-11-06 12:44:352301 days ago1541508275IN
0x09f05B08...cB9FbA97D
0 ETH0.0005735225
Give To Voter66539192018-11-06 11:57:522301 days ago1541505472IN
0x09f05B08...cB9FbA97D
0 ETH0.0014464324
Buy Game Coin66538822018-11-06 11:46:582301 days ago1541504818IN
0x09f05B08...cB9FbA97D
0.017166 ETH0.0020735510
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
66652132018-11-08 8:22:092299 days ago1541665329
0x09f05B08...cB9FbA97D
9.94736795 ETH
66652132018-11-08 8:22:092299 days ago1541665329
0x09f05B08...cB9FbA97D
0.00000004 ETH
66651422018-11-08 8:05:322299 days ago1541664332
0x09f05B08...cB9FbA97D
9.98095383 ETH
66651422018-11-08 8:05:322299 days ago1541664332
0x09f05B08...cB9FbA97D
0.00000016 ETH
66650922018-11-08 7:55:112299 days ago1541663711
0x09f05B08...cB9FbA97D
9.97597831 ETH
66650922018-11-08 7:55:112299 days ago1541663711
0x09f05B08...cB9FbA97D
0.00000068 ETH
66593652018-11-07 9:32:322300 days ago1541583152
0x09f05B08...cB9FbA97D
9.97100726 ETH
66593652018-11-07 9:32:322300 days ago1541583152
0x09f05B08...cB9FbA97D
0.00000073 ETH
66593192018-11-07 9:24:142300 days ago1541582654
0x09f05B08...cB9FbA97D
3.11115798 ETH
66593192018-11-07 9:24:142300 days ago1541582654
0x09f05B08...cB9FbA97D
0.00000001 ETH
66592622018-11-07 9:09:392300 days ago1541581779
0x09f05B08...cB9FbA97D
0.0171887 ETH
66592622018-11-07 9:09:392300 days ago1541581779
0x09f05B08...cB9FbA97D
0.00000029 ETH
66592482018-11-07 9:05:412300 days ago1541581541
0x09f05B08...cB9FbA97D
4.12443838 ETH
66592482018-11-07 9:05:412300 days ago1541581541
0x09f05B08...cB9FbA97D
0.00000061 ETH
66592242018-11-07 9:00:502300 days ago1541581250
0x09f05B08...cB9FbA97D
2.7492477 ETH
66592242018-11-07 9:00:502300 days ago1541581250
0x09f05B08...cB9FbA97D
0.00000029 ETH
66591742018-11-07 8:49:222300 days ago1541580562
0x09f05B08...cB9FbA97D
9.95611063 ETH
66591742018-11-07 8:49:222300 days ago1541580562
0x09f05B08...cB9FbA97D
0.00000036 ETH
66538822018-11-06 11:46:582301 days ago1541504818
0x09f05B08...cB9FbA97D
0.01716567 ETH
66538822018-11-06 11:46:582301 days ago1541504818
0x09f05B08...cB9FbA97D
0.00000032 ETH
66527832018-11-06 7:27:472301 days ago1541489267
0x09f05B08...cB9FbA97D
0.01716564 ETH
66527832018-11-06 7:27:472301 days ago1541489267
0x09f05B08...cB9FbA97D
0.00000035 ETH
66480442018-11-05 12:39:082302 days ago1541421548
0x09f05B08...cB9FbA97D
0.34330121 ETH
66480442018-11-05 12:39:082302 days ago1541421548
0x09f05B08...cB9FbA97D
0.00000078 ETH
66480132018-11-05 12:32:062302 days ago1541421126
0x09f05B08...cB9FbA97D
0.06865977 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Voterplayer

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-11-05
*/

pragma solidity ^0.4.24;
contract Ownable {
  address public owner;
  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  constructor() public {
    owner = msg.sender;
  }
  modifier onlyOwner() {
    require(msg.sender == owner,"Have no legal powerd");
    _;
  }
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}
contract ERC20Interface {
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
}
contract VoterFactory is Ownable{
    using SafeMath for uint256; //uint256 library
    mapping(address=>uint) total; //player total Voter
    mapping(address=>mapping(uint=>uint)) totalForVoter;
    mapping(address=>uint) balances;//player gamcoin 
    mapping(address=>uint) playerP;//player PID
    mapping(uint=>address) playerA;//PID to player address
    mapping(address=>mapping(uint=>uint)) playerV;//player=>voterID=>voters
    mapping(address=>uint) playerEth;//player=>ETHER
    mapping(address=>address) referees;//player=>referees
    mapping(address=>address[]) totalReferees;//referees=>totalplayer
    mapping(address=>uint) isCreated;
    
    
    event NewVoter(uint _id,uint256 _name,uint _value,uint _vectoryvalue);// new model event
    event GiveVoter(address indexed _fromaddress,uint _toid,uint _number);// voter event
    event gameover(bool isReady);//gameover
    event NewPlayer(uint _id,address indexed _address);//createPlayer
    event restart(bool isReady,uint _RID);//reboot
    event EgiveToVoterOnlyowner(uint _toid,uint _number);
    event EgetPlayerCoin(address indexed _address,uint256 _number,bool _bool);
    event Ewithdraw(uint _ether);
    event EsetFee(uint _time,uint _fee);
    event Ebuygamecoin(uint _time,uint _number,address indexed _address);
    event EgetEveryDayEarnings(uint _time,uint _number,uint _totalplayers,address _address);
    
    struct Voter{
        uint id;
        uint256 name;
        uint value;
        address[] pa;
        uint totalplayer;
    }
    struct Winner{
        uint256 name;
        uint value;
    }
    Winner[] public winners;
    Voter[] public voters;
    Voter[] voterss;
    uint public RID=0;
    uint public totalRef;
    uint public totalplayers;//total player
    uint public ids=0;//total model
    uint public fee = 340000000000000;//gamcoin fee
    uint public createTime = now;//create Time
    uint public shutTime = 0 minutes;//shutdown time
    uint public decimals = 18; 
    bool public started = false;
    uint public EthOther = 100000000000000000000;
    uint public EthOtherfee = 10000;
    address public winnerOfplayer;
    address[]  public _addrs;
    ERC20Interface CDS;
}
contract VoterServiceImpl is VoterFactory{
    function _createPlayer(address _address) internal {
        playerA[totalplayers] = _address;
        playerP[_address] = totalplayers;
        totalplayers=totalplayers.add(1);
        _addrs.push(_address);
        emit NewPlayer(totalplayers-1,_address);
    }
    function _getEarnings(address _address,uint _playerTotal,uint _value,uint _oldvalue) internal {
        uint proportion = _playerTotal.div(_oldvalue);
        uint surplus = (_value.div(2)).add(_value.div(5));
        balances[_address] = balances[_address].add(proportion.mul(_value.sub(surplus)));
        totalRef = totalRef.add(proportion.mul(_value.sub(surplus)));
    }
    function _shutDown() internal{
        require(now>=(createTime+shutTime),"Not over yet");
        if(balances[owner]!=0){
            uint256  vectoryId=0;
            if(ids!=0){
                for(uint256 i=0;i<ids;i=i.add(1)){
                    if(voters[i].value>voters[vectoryId].value){
                        vectoryId=i;
                    }
                }
                winners.push(Winner(voters[vectoryId].name,voters[vectoryId].value));
                uint vectoryValue = balances[owner];
                uint oldvalue = voters[vectoryId].value;
                for(uint256 k=0;k<voters[vectoryId].totalplayer;k=k.add(1)){
                    address add = voters[vectoryId].pa[k];
                    uint playerTotal = playerV[add][vectoryId];
                    _getEarnings(add,playerTotal,vectoryValue,oldvalue);
                }
                for(uint256 j=0;j<ids;j=j.add(1)){
                voters[j].value=0;
                }
            }
            if(totalplayers!=0){
                for(uint256 s=0;s<totalplayers;s=s.add(1)){
                    total[playerA[s]]=0;
                    playerP[playerA[s]]=0;
                    for(uint256 n=0;n<ids;n=n.add(1)){
                        playerV[playerA[s]][n]=0;
                    }
                    playerEth[playerA[s]]=0;
                    referees[playerA[s]];
                    totalReferees[playerA[s]];
                    playerA[s]=0;
                }
            }
            balances[winnerOfplayer] = balances[winnerOfplayer].add(vectoryValue.div(50));
        }
        totalplayers=0;
        ids=0;
        EthOtherfee=10000;
        EthOther=100000000000000000000;
        winnerOfplayer = owner;
        voters = voterss;
        balances[owner]=0;
        started=false;
    }
    function _createVoter(uint256 _str) internal onlyOwner{
        address[] memory p;
        voters.push(Voter(ids,_str,0,p,0));
        ids=ids.add(1);
    }
}


contract Voterplayer is VoterServiceImpl{
    function giveToVoter(uint _value,uint _id) public {
        require(started);
        require(msg.sender!=owner);
        uint time = createTime.add(shutTime);
        require(now<time);
        require(_id<=ids);
        require(msg.sender!=owner,"owner Can't vote");
        require(balances[msg.sender]>=_value,"balances too low");
        balances[msg.sender]=balances[msg.sender].sub(_value);
        totalForVoter[msg.sender][_id]=totalForVoter[msg.sender][_id].add(_value);
        if(playerV[msg.sender][_id]==0){
            voters[_id].pa.push(msg.sender);
            voters[_id].totalplayer=voters[_id].totalplayer.add(1);
        }
        if(referees[msg.sender]!=0){
            balances[referees[msg.sender]] = balances[referees[msg.sender]].add(_value.mul(1).div(10));
            totalRef = totalRef.add(_value.mul(1).div(10));
        }
        total[msg.sender]=total[msg.sender].add(_value);
        balances[owner]=balances[owner].add(_value);
        voters[_id].value=voters[_id].value.add(_value);
        playerV[msg.sender][_id] = playerV[msg.sender][_id].add(_value);
        emit GiveVoter(msg.sender,_id,_value);
        return;
    }
    function createAllVoter(uint256[] _voter) public onlyOwner{
        for(uint i=0;i<_voter.length;i=i.add(1)){
             createVoter(_voter[i]);
        }
    }
    function giveToVoterOnlyowner(uint _value,uint _id) public onlyOwner{
        require(started);
        voters[_id].value=voters[_id].value.add(_value);
        balances[owner]=balances[owner].add(_value);
        emit EgiveToVoterOnlyowner(_id,_value);
    }
    function getaddresstotal(uint _id) public view returns(uint){
        return voters[_id].totalplayer;
    }
    function getTotalForVoter(address _address,uint _id) view public returns(uint){
        return totalForVoter[_address][_id];
    } 
    function getTotalVoter(address _address) view public returns(uint totals){
        return total[_address];
    }
    function balanceOf(address _address) view public returns(uint balance){
        return balances[_address];
    }
    function refereesOf(address _address) view public returns(address[]){
        return totalReferees[_address];
    }
    function getAllPlayer() view public returns(address[]){
        return _addrs;
    }
    function buyGameCoin(uint256 _number,address _address) public payable{
        require(started);
        require(msg.sender!=owner);
        uint256  coinfee = _number.div(10).mul(fee);
        require(msg.value>=coinfee);
        if(msg.sender!=_address&&referees[msg.sender]==0){
            require(balances[_address]>0);
            balances[_address] = balances[_address].add((_number.mul(30).div(100)).mul(1).div(10));
            totalRef = totalRef.add(_number.mul(10).div(100));
            referees[msg.sender] = _address;
            totalReferees[_address].push(msg.sender);
        }else if(msg.sender==_address&&referees[msg.sender]!=0){
            balances[referees[msg.sender]] = balances[referees[msg.sender]].add((_number.mul(30).div(100)).mul(1).div(10));
            totalRef = totalRef.add((_number.mul(30).div(100)).mul(1).div(10));
        }
        total[msg.sender] = total[msg.sender].add(_number.mul(30).div(100));
        if(isCreated[msg.sender]==0){
            isCreated[msg.sender] = 1;
            _createPlayer(msg.sender);
        }
        balances[msg.sender]=balances[msg.sender].add(_number.mul(70).div(100));
        balances[owner] = balances[owner].add(_number.mul(30).div(100));
        if(playerEth[owner]>=EthOther){
            EthOtherfee=EthOtherfee.mul(2);
            EthOther = EthOther.mul(3);
        }
        fee=fee.add(fee.div(EthOtherfee.mul(1000)).mul((msg.value.sub(msg.value%1000000000000000)).div(1000000000000000)));
        playerEth[owner] = playerEth[owner].add(msg.value);
        msg.sender.transfer(msg.value.sub(coinfee));
        owner.transfer(coinfee);
        shutTime = shutTime.add(_number.div(10));
        winnerOfplayer = msg.sender;
        emit Ebuygamecoin(now,_number,_address);
    }
    function getPlayerCoin(uint256 _number) external {
        require(balances[msg.sender]>=_number);
        balances[msg.sender] = balances[msg.sender].sub(_number);
        uint256 _token = _number.div(10).mul(10**decimals);
        require(CDS.transferFrom(owner,msg.sender,_token));
        emit EgetPlayerCoin(msg.sender,_number,true);
    }
    function createVoter(uint256 _name) public onlyOwner{
        _createVoter(_name);
        emit NewVoter(ids-1,_name,0,0);
    }
    function startGame(uint _time,address _address,uint256 _decimals) public onlyOwner{
        require(!started);
        require(_address!=address(0));
        CDS=ERC20Interface(_address);
        decimals=_decimals;
        createTime=now;
        shutTime= _time;
        RID=RID.add(1);
        started=true;
        totalRef=0;
        emit restart(started,RID);
    }
    function setTime(uint _time) public onlyOwner{
        require(started);
        shutTime= _time;
    }
    function setFee(uint _fee) public onlyOwner{
        fee=_fee;
        emit EsetFee(now,_fee);
    }
    function gameOver() public onlyOwner{
        _shutDown();
        emit gameover(true);
    }
    function withdraw() external onlyOwner {
        address myAddress = address(this);
        owner.transfer(myAddress.balance);
        emit Ewithdraw(myAddress.balance);
    }
    function setCDStokenAddress(address _address,uint256 _decimals) public onlyOwner{
       require(_address!=address(0));
        decimals=_decimals;
        CDS=ERC20Interface(_address);
    }
    
    function getEveryDayEarnings(address _address,uint256 _number) public onlyOwner{
        require(balances[owner]>=_number);
        totalRef=totalRef.add(_number.mul(2));
        balances[_address]=balances[_address].add(_number);
        if(totalplayers!=0){
                for(uint256 s=0;s<totalplayers;s=s.add(1)){
                    if(total[playerA[s]]==0){
                        continue;
                    }
                    balances[playerA[s]] = balances[playerA[s]].add(_number.mul(total[playerA[s]]).div(balances[owner]));
                }
            }
        emit EgetEveryDayEarnings(now,_number,totalplayers,_address);
    }
    
}
library SafeMath {
  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;
  }
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a / b;
    return c;
  }
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }
  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":"","type":"uint256"}],"name":"_addrs","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_id","type":"uint256"}],"name":"getaddresstotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getAllPlayer","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalplayers","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_number","type":"uint256"}],"name":"getPlayerCoin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"started","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_time","type":"uint256"},{"name":"_address","type":"address"},{"name":"_decimals","type":"uint256"}],"name":"startGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"winnerOfplayer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_voter","type":"uint256[]"}],"name":"createAllVoter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_time","type":"uint256"}],"name":"setTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"},{"name":"_id","type":"uint256"}],"name":"giveToVoter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"createTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"shutTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"RID","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"uint256"}],"name":"createVoter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalRef","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EthOtherfee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getTotalVoter","outputs":[{"name":"totals","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"winners","outputs":[{"name":"name","type":"uint256"},{"name":"value","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"refereesOf","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"},{"name":"_id","type":"uint256"}],"name":"giveToVoterOnlyowner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"},{"name":"_id","type":"uint256"}],"name":"getTotalForVoter","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"gameOver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_number","type":"uint256"},{"name":"_address","type":"address"}],"name":"buyGameCoin","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"voters","outputs":[{"name":"id","type":"uint256"},{"name":"name","type":"uint256"},{"name":"value","type":"uint256"},{"name":"totalplayer","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EthOther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ids","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"},{"name":"_decimals","type":"uint256"}],"name":"setCDStokenAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"},{"name":"_number","type":"uint256"}],"name":"getEveryDayEarnings","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_id","type":"uint256"},{"indexed":false,"name":"_name","type":"uint256"},{"indexed":false,"name":"_value","type":"uint256"},{"indexed":false,"name":"_vectoryvalue","type":"uint256"}],"name":"NewVoter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_fromaddress","type":"address"},{"indexed":false,"name":"_toid","type":"uint256"},{"indexed":false,"name":"_number","type":"uint256"}],"name":"GiveVoter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"isReady","type":"bool"}],"name":"gameover","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_id","type":"uint256"},{"indexed":true,"name":"_address","type":"address"}],"name":"NewPlayer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"isReady","type":"bool"},{"indexed":false,"name":"_RID","type":"uint256"}],"name":"restart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_toid","type":"uint256"},{"indexed":false,"name":"_number","type":"uint256"}],"name":"EgiveToVoterOnlyowner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_address","type":"address"},{"indexed":false,"name":"_number","type":"uint256"},{"indexed":false,"name":"_bool","type":"bool"}],"name":"EgetPlayerCoin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_ether","type":"uint256"}],"name":"Ewithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_time","type":"uint256"},{"indexed":false,"name":"_fee","type":"uint256"}],"name":"EsetFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_time","type":"uint256"},{"indexed":false,"name":"_number","type":"uint256"},{"indexed":true,"name":"_address","type":"address"}],"name":"Ebuygamecoin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_time","type":"uint256"},{"indexed":false,"name":"_number","type":"uint256"},{"indexed":false,"name":"_totalplayers","type":"uint256"},{"indexed":false,"name":"_address","type":"address"}],"name":"EgetEveryDayEarnings","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040526000600e81905560118190556601353a6b39400060129081554260135560148290556015556016805460ff1916905568056bc75e2d631000006017556127106018558054600160a060020a031916331790556126e6806100656000396000f3006080604052600436106101c15763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663048e628281146101c657806315b03fde146101fa57806319ac547b146102245780631cc13dff146102895780631cdd34e61461029e5780631f2698ab146102b8578063250a8da1146102e157806330aad5d014610308578063313ce5671461031d5780633470c8a4146103325780633beb26c4146103875780633ccfd60b1461039f5780635d307c6f146103b457806361dcd7ab146103cf578063685b9740146103e457806369fe0e2d146103f95780636edf72831461041157806370a08231146104265780637aa5ea31146104475780637eccfa931461045f578063868f29561461047457806386cfe153146104895780638da5cb5b146104aa578063a2fb1175146104bf578063a3e6b589146104f0578063ae0ef3f514610511578063b6d3fd021461052c578063bdb337d114610550578063d5e871fc14610565578063da58c7d91461057c578063ddca3f43146105ba578063e3f9f3e4146105cf578063e7657e15146105e4578063ecfc4dd3146105f9578063f2fde38b1461061d578063fad4da9f1461063e575b600080fd5b3480156101d257600080fd5b506101de600435610662565b60408051600160a060020a039092168252519081900360200190f35b34801561020657600080fd5b5061021260043561068a565b60408051918252519081900360200190f35b34801561023057600080fd5b506102396106b4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561027557818101518382015260200161025d565b505050509050019250505060405180910390f35b34801561029557600080fd5b50610212610717565b3480156102aa57600080fd5b506102b660043561071d565b005b3480156102c457600080fd5b506102cd610883565b604080519115158252519081900360200190f35b3480156102ed57600080fd5b506102b6600435600160a060020a036024351660443561088c565b34801561031457600080fd5b506101de610999565b34801561032957600080fd5b506102126109a8565b34801561033e57600080fd5b50604080516020600480358082013583810280860185019096528085526102b6953695939460249493850192918291850190849080828437509497506109ae9650505050505050565b34801561039357600080fd5b506102b6600435610a48565b3480156103ab57600080fd5b506102b6610aae565b3480156103c057600080fd5b506102b6600435602435610b7e565b3480156103db57600080fd5b50610212610fe4565b3480156103f057600080fd5b50610212610fea565b34801561040557600080fd5b506102b6600435610ff0565b34801561041d57600080fd5b50610212611083565b34801561043257600080fd5b50610212600160a060020a0360043516611089565b34801561045357600080fd5b506102b66004356110a4565b34801561046b57600080fd5b5061021261114e565b34801561048057600080fd5b50610212611154565b34801561049557600080fd5b50610212600160a060020a036004351661115a565b3480156104b657600080fd5b506101de611175565b3480156104cb57600080fd5b506104d7600435611184565b6040805192835260208301919091528051918290030190f35b3480156104fc57600080fd5b50610239600160a060020a03600435166111b0565b34801561051d57600080fd5b506102b6600435602435611226565b34801561053857600080fd5b50610212600160a060020a0360043516602435611344565b34801561055c57600080fd5b506102b661136c565b6102b6600435600160a060020a03602435166113fa565b34801561058857600080fd5b50610594600435611904565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156105c657600080fd5b5061021261193c565b3480156105db57600080fd5b50610212611942565b3480156105f057600080fd5b50610212611948565b34801561060557600080fd5b506102b6600160a060020a036004351660243561194e565b34801561062957600080fd5b506102b6600160a060020a03600435166119d8565b34801561064a57600080fd5b506102b6600160a060020a0360043516602435611a98565b601a80548290811061067057fe5b600091825260209091200154600160a060020a0316905081565b6000600c8281548110151561069b57fe5b9060005260206000209060050201600401549050919050565b6060601a80548060200260200160405190810160405280929190818152602001828054801561070c57602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116106ee575b505050505090505b90565b60105481565b3360009081526003602052604081205482111561073957600080fd5b33600090815260036020526040902054610759908363ffffffff611cc316565b3360009081526003602052604090205560155461079390600a90810a9061078790859063ffffffff611cd516565b9063ffffffff611cf116565b601b5460008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201523360248201526044810186905290519495509216926323b872dd926064808201936020939283900390910190829087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b505050506040513d602081101561083857600080fd5b5051151561084557600080fd5b6040805183815260016020820152815133927fa0b676c1b4f6c4d50180324b5ebf0b05420eb58b980c92c7c7d0d62c537fc8ea928290030190a25050565b60165460ff1681565b600054600160a060020a031633146108dc576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff16156108ec57600080fd5b600160a060020a038216151561090157600080fd5b601b8054600160a060020a031916600160a060020a0384161790556015819055426013556014839055600e54610938906001611d23565b600e8190556016805460ff1916600117908190556000600f556040805160ff9290921615158252602082019290925281517fca0659cef57c9cfecf8dbadd98464252354cce394e64fea484c180247616dfe5929181900390910190a1505050565b601954600160a060020a031681565b60155481565b60008054600160a060020a031633146109ff576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b5060005b8151811015610a4457610a2c8282815181101515610a1d57fe5b906020019060200201516110a4565b610a3d81600163ffffffff611d2316565b9050610a03565b5050565b600054600160a060020a03163314610a98576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff161515610aa957600080fd5b601455565b60008054600160a060020a03163314610aff576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b50600080546040513092600160a060020a0390921691833180156108fc02929091818181858888f19350505050158015610b3d573d6000803e3d6000fd5b5060408051600160a060020a03831631815290517f0eba83e7ca4379de12c437f554ad4066ad953867ce4ca04ff0e2c2ffa89e279a9181900360200190a150565b60165460009060ff161515610b9257600080fd5b600054600160a060020a0316331415610baa57600080fd5b601454601354610bbf9163ffffffff611d2316565b9050428111610bcd57600080fd5b601154821115610bdc57600080fd5b600054600160a060020a0316331415610c3f576040805160e560020a62461bcd02815260206004820152601060248201527f6f776e65722043616e277420766f746500000000000000000000000000000000604482015290519081900360640190fd5b33600090815260036020526040902054831115610ca6576040805160e560020a62461bcd02815260206004820152601060248201527f62616c616e63657320746f6f206c6f7700000000000000000000000000000000604482015290519081900360640190fd5b33600090815260036020526040902054610cc6908463ffffffff611cc316565b336000908152600360209081526040808320939093556002815282822085835290522054610cfa908463ffffffff611d2316565b3360008181526002602090815260408083208784528252808320949094559181526006825282812085825290915220541515610dcd57600c805483908110610d3e57fe5b6000918252602080832060036005909302019190910180546001818101835591845291909220018054600160a060020a03191633179055600c8054610da992919085908110610d8957fe5b906000526020600020906005020160040154611d2390919063ffffffff16565b600c805484908110610db757fe5b9060005260206000209060050201600401819055505b33600090815260086020526040902054600160a060020a031615610e9457610e42610e10600a610e0486600163ffffffff611cf116565b9063ffffffff611cd516565b33600090815260086020908152604080832054600160a060020a0316835260039091529020549063ffffffff611d2316565b33600090815260086020908152604080832054600160a060020a031683526003909152902055610e90610e81600a610e0486600163ffffffff611cf116565b600f549063ffffffff611d2316565b600f555b33600090815260016020526040902054610eb4908463ffffffff611d2316565b336000908152600160209081526040808320939093558154600160a060020a03168252600390522054610eed908463ffffffff611d2316565b60008054600160a060020a0316815260036020526040902055600c8054610f3a91859185908110610f1a57fe5b906000526020600020906005020160020154611d2390919063ffffffff16565b600c805484908110610f4857fe5b60009182526020808320600260059093020191909101929092553381526006825260408082208583529092522054610f86908463ffffffff611d2316565b336000818152600660209081526040808320878452825291829020939093558051858152928301869052805191927ff2aec651a179ce90e70dcbd52f8b3dd8ea0584780f92b6b03cf46f470a595f82929081900390910190a2505050565b60135481565b60145481565b600054600160a060020a03163314611040576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6012819055604080514281526020810183905281517f5c7b4923ca98f3c16b15d41e8e3cd73fd47abfb1fb908e24cfe8da257440df6e929181900390910190a150565b600e5481565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031633146110f4576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6110fd81611d32565b6011546040805160001990920182526020820183905260008282018190526060830152517f19daed4fce296c0a74aa1d93b2f354b5b1d521c8e6db312bbd9cc70352138f749181900360800190a150565b600f5481565b60185481565b600160a060020a031660009081526001602052604090205490565b600054600160a060020a031681565b600b80548290811061119257fe5b60009182526020909120600290910201805460019091015490915082565b600160a060020a03811660009081526009602090815260409182902080548351818402810184019094528084526060939283018282801561121a57602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116111fc575b50505050509050919050565b600054600160a060020a03163314611276576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff16151561128757600080fd5b61129a82600c83815481101515610f1a57fe5b600c8054839081106112a857fe5b60009182526020808320600260059093020191909101929092558054600160a060020a03168152600390915260409020546112e9908363ffffffff611d2316565b60008054600160a060020a031681526003602090815260409182902092909255805183815291820184905280517fda7e54d1a9a71276d44d76242eec39dc31a98ca48c35a2fa8b2caaf7c1b6e2839281900390910190a15050565b600160a060020a03919091166000908152600260209081526040808320938352929052205490565b600054600160a060020a031633146113bc576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6113c4611e99565b604080516001815290517f7b118c85ef372183e084270dac522e118abb27180b1741552a55ddeca3b74a239181900360200190a1565b60165460009060ff16151561140e57600080fd5b600054600160a060020a031633141561142657600080fd5b60125461143e9061078785600a63ffffffff611cd516565b90503481111561144d57600080fd5b33600160a060020a0383161480159061147c575033600090815260086020526040902054600160a060020a0316155b1561157757600160a060020a038216600090815260036020526040812054116114a457600080fd5b6114ea6114c5600a610e0460016107876064838a601e63ffffffff611cf116565b600160a060020a0384166000908152600360205260409020549063ffffffff611d2316565b600160a060020a03831660009081526003602052604090205561151c610e816064610e0486600a63ffffffff611cf116565b600f553360008181526008602090815260408083208054600160a060020a038816600160a060020a03199182168117909255908452600983529083208054600181018255908452919092200180549091169091179055611617565b33600160a060020a0383161480156115a6575033600090815260086020526040902054600160a060020a031615155b15611617576115cc610e10600a610e0460016107876064838a601e63ffffffff611cf116565b33600090815260086020908152604080832054600160a060020a031683526003909152902055611613610e81600a610e0460016107876064838a601e63ffffffff611cf116565b600f555b61164c6116306064610e0486601e63ffffffff611cf116565b336000908152600160205260409020549063ffffffff611d2316565b33600090815260016020908152604080832093909355600a90522054151561168a57336000818152600a602052604090206001905561168a90612328565b6116bf6116a36064610e0486604663ffffffff611cf116565b336000908152600360205260409020549063ffffffff611d2316565b3360009081526003602052604090205561170d6116e86064610e0486601e63ffffffff611cf116565b60008054600160a060020a03168152600360205260409020549063ffffffff611d2316565b60008054600160a060020a03908116825260036020908152604080842094909455601754835490921683526007905291902054106117745760185461175990600263ffffffff611cf116565b60185560175461177090600363ffffffff611cf116565b6017555b6117c86117b961179166038d7ea4c68000610e0434828106611cc3565b601854610787906117aa906103e863ffffffff611cf116565b6012549063ffffffff611cd516565b6012549063ffffffff611d2316565b60125560008054600160a060020a03168152600760205260409020546117f4903463ffffffff611d2316565b60008054600160a060020a0316815260076020526040902055336108fc611821348463ffffffff611cc316565b6040518115909202916000818181858888f19350505050158015611849573d6000803e3d6000fd5b5060008054604051600160a060020a039091169183156108fc02918491818181858888f19350505050158015611883573d6000803e3d6000fd5b506118a761189884600a63ffffffff611cd516565b6014549063ffffffff611d2316565b60145560198054600160a060020a0319163317905560408051428152602081018590528151600160a060020a038516927fc3290138d63dcaef254650f8cb4a3f7db343d5391f7a9c7c5ed9cd0e65b83a1e928290030190a2505050565b600c80548290811061191257fe5b60009182526020909120600590910201805460018201546002830154600490930154919350919084565b60125481565b60175481565b60115481565b600054600160a060020a0316331461199e576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b600160a060020a03821615156119b357600080fd5b601555601b8054600160a060020a031916600160a060020a0392909216919091179055565b600054600160a060020a03163314611a28576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b600160a060020a0381161515611a3d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008054600160a060020a03163314611ae9576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60008054600160a060020a0316815260036020526040902054821115611b0e57600080fd5b611b22610e8183600263ffffffff611cf116565b600f55600160a060020a038316600090815260036020526040902054611b4e908363ffffffff611d2316565b600160a060020a03841660009081526003602052604090205560105415611c6c575060005b601054811015611c6c57600081815260056020908152604080832054600160a060020a0316835260019091529020541515611bad57611c54565b60008054600160a060020a0390811682526003602090815260408084205485855260058352818520549093168452600190915290912054611c2e91611bfd91610e0490869063ffffffff611cf116565b600083815260056020908152604080832054600160a060020a0316835260039091529020549063ffffffff611d2316565b600082815260056020908152604080832054600160a060020a0316835260039091529020555b611c6581600163ffffffff611d2316565b9050611b73565b601054604080514281526020810185905280820192909252600160a060020a0385166060830152517ff7350dda2a288c44c62237ae68dc66e08ee55f073da3c32d3d9bfef844f7496b9181900360800190a1505050565b600082821115611ccf57fe5b50900390565b6000808284811515611ce357fe5b0490508091505b5092915050565b600080831515611d045760009150611cea565b50828202828482811515611d1457fe5b0414611d1c57fe5b9392505050565b600082820183811015611d1c57fe5b600054606090600160a060020a03163314611d85576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6040805160a0810182526011548152602080820185815260009383018481526060840186815260808501869052600c80546001810180835591909752855160059097027fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7810197885593517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c885015591517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c9840155518051919593611e6f937fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8ca01929101906124cd565b506080919091015160049091015550601154611e9290600163ffffffff611d2316565b6011555050565b600080600080600080600080600080601454601354014210151515611f08576040805160e560020a62461bcd02815260206004820152600c60248201527f4e6f74206f766572207965740000000000000000000000000000000000000000604482015290519081900360640190fd5b60008054600160a060020a0316815260036020526040902054156122a95760115460009a501561215a57600098505b601154891015611fa457600c80548b908110611f4f57fe5b906000526020600020906005020160020154600c8a815481101515611f7057fe5b9060005260206000209060050201600201541115611f8c578899505b611f9d89600163ffffffff611d2316565b9850611f37565b600b6040805190810160405280600c8d815481101515611fc057fe5b9060005260206000209060050201600101548152602001600c8d815481101515611fe657fe5b6000918252602080832060026005909302018201549093528454600181810187559583528383208551919092029091019081559282015192909301919091558154600160a060020a03168252600390526040902054600c8054919950908b90811061204d57fe5b9060005260206000209060050201600201549650600095505b600c80548b90811061207457fe5b90600052602060002090600502016004015486101561210e57600c80548b90811061209b57fe5b9060005260206000209060050201600301868154811015156120b957fe5b6000918252602080832090910154600160a060020a03168083526006825260408084208e855290925291205490955093506120f685858a8a612403565b61210786600163ffffffff611d2316565b9550612066565b600092505b60115483101561215a576000600c8481548110151561212e57fe5b600091825260209091206002600590920201015561215383600163ffffffff611d2316565b9250612113565b6010541561225257600091505b601054821015612252575060008181526005602090815260408083208054600160a060020a039081168552600184528285208590559054168352600490915281208190555b6011548110156121fb57600082815260056020908152604080832054600160a060020a03168352600682528083208484529091528120556121f481600163ffffffff611d2316565b90506121ac565b60008281526005602081815260408084208054600160a060020a0316855260078352908420849055805493869052919052600160a060020a0319909116905561224b82600163ffffffff611d2316565b9150612167565b61228d61226689603263ffffffff611cd516565b601954600160a060020a03166000908152600360205260409020549063ffffffff611d2316565b601954600160a060020a03166000908152600360205260409020555b60006010819055601181905561271060185568056bc75e2d631000006017555460198054600160a060020a031916600160a060020a03909216919091179055600d80546122f891600c91612532565b505060008054600160a060020a031681526003602052604081205550506016805460ff1916905550505050505050565b6010805460009081526005602090815260408083208054600160a060020a031916600160a060020a038716908117909155935493835260049091529020819055612373906001611d23565b6010908155601a80546001810182556000919091527f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e018054600160a060020a031916600160a060020a0384169081179091559054604080516000199092018252517f125b747364a9643dd15fc004dbdb094509c65405b7702825907a136178a252a8916020908290030190a250565b600080612416858463ffffffff611cd516565b915061244961242c85600563ffffffff611cd516565b61243d86600263ffffffff611cd516565b9063ffffffff611d2316565b905061249361246e612461868463ffffffff611cc316565b849063ffffffff611cf116565b600160a060020a0388166000908152600360205260409020549063ffffffff611d2316565b600160a060020a0387166000908152600360205260409020556124c2610e81612461868463ffffffff611cc316565b600f55505050505050565b828054828255906000526020600020908101928215612522579160200282015b828111156125225782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906124ed565b5061252e9291506125bd565b5090565b8280548282559060005260206000209060050281019282156125b15760005260206000209160050282015b828111156125b157825482556001808401549083015560028084015490830155600380840180548592859261259592918401916125e1565b506004820154816004015550509160050191906005019061255d565b5061252e929150612621565b61071491905b8082111561252e578054600160a060020a03191681556001016125c3565b8280548282559060005260206000209081019282156125225760005260206000209182015b82811115612522578254825591600101919060010190612606565b61071491905b8082111561252e576000808255600182018190556002820181905561264f600383018261265f565b5060006004820155600501612627565b508054600082559060005260206000209081019061267d9190612680565b50565b61071491905b8082111561252e5760008155600101612686560048617665206e6f206c6567616c20706f77657264000000000000000000000000a165627a7a7230582001522242412e0ff2b1e6e0f57343559fe9902a5c6f9eba70e1e50e0d274a4c550029

Deployed Bytecode

0x6080604052600436106101c15763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663048e628281146101c657806315b03fde146101fa57806319ac547b146102245780631cc13dff146102895780631cdd34e61461029e5780631f2698ab146102b8578063250a8da1146102e157806330aad5d014610308578063313ce5671461031d5780633470c8a4146103325780633beb26c4146103875780633ccfd60b1461039f5780635d307c6f146103b457806361dcd7ab146103cf578063685b9740146103e457806369fe0e2d146103f95780636edf72831461041157806370a08231146104265780637aa5ea31146104475780637eccfa931461045f578063868f29561461047457806386cfe153146104895780638da5cb5b146104aa578063a2fb1175146104bf578063a3e6b589146104f0578063ae0ef3f514610511578063b6d3fd021461052c578063bdb337d114610550578063d5e871fc14610565578063da58c7d91461057c578063ddca3f43146105ba578063e3f9f3e4146105cf578063e7657e15146105e4578063ecfc4dd3146105f9578063f2fde38b1461061d578063fad4da9f1461063e575b600080fd5b3480156101d257600080fd5b506101de600435610662565b60408051600160a060020a039092168252519081900360200190f35b34801561020657600080fd5b5061021260043561068a565b60408051918252519081900360200190f35b34801561023057600080fd5b506102396106b4565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561027557818101518382015260200161025d565b505050509050019250505060405180910390f35b34801561029557600080fd5b50610212610717565b3480156102aa57600080fd5b506102b660043561071d565b005b3480156102c457600080fd5b506102cd610883565b604080519115158252519081900360200190f35b3480156102ed57600080fd5b506102b6600435600160a060020a036024351660443561088c565b34801561031457600080fd5b506101de610999565b34801561032957600080fd5b506102126109a8565b34801561033e57600080fd5b50604080516020600480358082013583810280860185019096528085526102b6953695939460249493850192918291850190849080828437509497506109ae9650505050505050565b34801561039357600080fd5b506102b6600435610a48565b3480156103ab57600080fd5b506102b6610aae565b3480156103c057600080fd5b506102b6600435602435610b7e565b3480156103db57600080fd5b50610212610fe4565b3480156103f057600080fd5b50610212610fea565b34801561040557600080fd5b506102b6600435610ff0565b34801561041d57600080fd5b50610212611083565b34801561043257600080fd5b50610212600160a060020a0360043516611089565b34801561045357600080fd5b506102b66004356110a4565b34801561046b57600080fd5b5061021261114e565b34801561048057600080fd5b50610212611154565b34801561049557600080fd5b50610212600160a060020a036004351661115a565b3480156104b657600080fd5b506101de611175565b3480156104cb57600080fd5b506104d7600435611184565b6040805192835260208301919091528051918290030190f35b3480156104fc57600080fd5b50610239600160a060020a03600435166111b0565b34801561051d57600080fd5b506102b6600435602435611226565b34801561053857600080fd5b50610212600160a060020a0360043516602435611344565b34801561055c57600080fd5b506102b661136c565b6102b6600435600160a060020a03602435166113fa565b34801561058857600080fd5b50610594600435611904565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156105c657600080fd5b5061021261193c565b3480156105db57600080fd5b50610212611942565b3480156105f057600080fd5b50610212611948565b34801561060557600080fd5b506102b6600160a060020a036004351660243561194e565b34801561062957600080fd5b506102b6600160a060020a03600435166119d8565b34801561064a57600080fd5b506102b6600160a060020a0360043516602435611a98565b601a80548290811061067057fe5b600091825260209091200154600160a060020a0316905081565b6000600c8281548110151561069b57fe5b9060005260206000209060050201600401549050919050565b6060601a80548060200260200160405190810160405280929190818152602001828054801561070c57602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116106ee575b505050505090505b90565b60105481565b3360009081526003602052604081205482111561073957600080fd5b33600090815260036020526040902054610759908363ffffffff611cc316565b3360009081526003602052604090205560155461079390600a90810a9061078790859063ffffffff611cd516565b9063ffffffff611cf116565b601b5460008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201523360248201526044810186905290519495509216926323b872dd926064808201936020939283900390910190829087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b505050506040513d602081101561083857600080fd5b5051151561084557600080fd5b6040805183815260016020820152815133927fa0b676c1b4f6c4d50180324b5ebf0b05420eb58b980c92c7c7d0d62c537fc8ea928290030190a25050565b60165460ff1681565b600054600160a060020a031633146108dc576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff16156108ec57600080fd5b600160a060020a038216151561090157600080fd5b601b8054600160a060020a031916600160a060020a0384161790556015819055426013556014839055600e54610938906001611d23565b600e8190556016805460ff1916600117908190556000600f556040805160ff9290921615158252602082019290925281517fca0659cef57c9cfecf8dbadd98464252354cce394e64fea484c180247616dfe5929181900390910190a1505050565b601954600160a060020a031681565b60155481565b60008054600160a060020a031633146109ff576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b5060005b8151811015610a4457610a2c8282815181101515610a1d57fe5b906020019060200201516110a4565b610a3d81600163ffffffff611d2316565b9050610a03565b5050565b600054600160a060020a03163314610a98576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff161515610aa957600080fd5b601455565b60008054600160a060020a03163314610aff576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b50600080546040513092600160a060020a0390921691833180156108fc02929091818181858888f19350505050158015610b3d573d6000803e3d6000fd5b5060408051600160a060020a03831631815290517f0eba83e7ca4379de12c437f554ad4066ad953867ce4ca04ff0e2c2ffa89e279a9181900360200190a150565b60165460009060ff161515610b9257600080fd5b600054600160a060020a0316331415610baa57600080fd5b601454601354610bbf9163ffffffff611d2316565b9050428111610bcd57600080fd5b601154821115610bdc57600080fd5b600054600160a060020a0316331415610c3f576040805160e560020a62461bcd02815260206004820152601060248201527f6f776e65722043616e277420766f746500000000000000000000000000000000604482015290519081900360640190fd5b33600090815260036020526040902054831115610ca6576040805160e560020a62461bcd02815260206004820152601060248201527f62616c616e63657320746f6f206c6f7700000000000000000000000000000000604482015290519081900360640190fd5b33600090815260036020526040902054610cc6908463ffffffff611cc316565b336000908152600360209081526040808320939093556002815282822085835290522054610cfa908463ffffffff611d2316565b3360008181526002602090815260408083208784528252808320949094559181526006825282812085825290915220541515610dcd57600c805483908110610d3e57fe5b6000918252602080832060036005909302019190910180546001818101835591845291909220018054600160a060020a03191633179055600c8054610da992919085908110610d8957fe5b906000526020600020906005020160040154611d2390919063ffffffff16565b600c805484908110610db757fe5b9060005260206000209060050201600401819055505b33600090815260086020526040902054600160a060020a031615610e9457610e42610e10600a610e0486600163ffffffff611cf116565b9063ffffffff611cd516565b33600090815260086020908152604080832054600160a060020a0316835260039091529020549063ffffffff611d2316565b33600090815260086020908152604080832054600160a060020a031683526003909152902055610e90610e81600a610e0486600163ffffffff611cf116565b600f549063ffffffff611d2316565b600f555b33600090815260016020526040902054610eb4908463ffffffff611d2316565b336000908152600160209081526040808320939093558154600160a060020a03168252600390522054610eed908463ffffffff611d2316565b60008054600160a060020a0316815260036020526040902055600c8054610f3a91859185908110610f1a57fe5b906000526020600020906005020160020154611d2390919063ffffffff16565b600c805484908110610f4857fe5b60009182526020808320600260059093020191909101929092553381526006825260408082208583529092522054610f86908463ffffffff611d2316565b336000818152600660209081526040808320878452825291829020939093558051858152928301869052805191927ff2aec651a179ce90e70dcbd52f8b3dd8ea0584780f92b6b03cf46f470a595f82929081900390910190a2505050565b60135481565b60145481565b600054600160a060020a03163314611040576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6012819055604080514281526020810183905281517f5c7b4923ca98f3c16b15d41e8e3cd73fd47abfb1fb908e24cfe8da257440df6e929181900390910190a150565b600e5481565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031633146110f4576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6110fd81611d32565b6011546040805160001990920182526020820183905260008282018190526060830152517f19daed4fce296c0a74aa1d93b2f354b5b1d521c8e6db312bbd9cc70352138f749181900360800190a150565b600f5481565b60185481565b600160a060020a031660009081526001602052604090205490565b600054600160a060020a031681565b600b80548290811061119257fe5b60009182526020909120600290910201805460019091015490915082565b600160a060020a03811660009081526009602090815260409182902080548351818402810184019094528084526060939283018282801561121a57602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116111fc575b50505050509050919050565b600054600160a060020a03163314611276576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60165460ff16151561128757600080fd5b61129a82600c83815481101515610f1a57fe5b600c8054839081106112a857fe5b60009182526020808320600260059093020191909101929092558054600160a060020a03168152600390915260409020546112e9908363ffffffff611d2316565b60008054600160a060020a031681526003602090815260409182902092909255805183815291820184905280517fda7e54d1a9a71276d44d76242eec39dc31a98ca48c35a2fa8b2caaf7c1b6e2839281900390910190a15050565b600160a060020a03919091166000908152600260209081526040808320938352929052205490565b600054600160a060020a031633146113bc576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6113c4611e99565b604080516001815290517f7b118c85ef372183e084270dac522e118abb27180b1741552a55ddeca3b74a239181900360200190a1565b60165460009060ff16151561140e57600080fd5b600054600160a060020a031633141561142657600080fd5b60125461143e9061078785600a63ffffffff611cd516565b90503481111561144d57600080fd5b33600160a060020a0383161480159061147c575033600090815260086020526040902054600160a060020a0316155b1561157757600160a060020a038216600090815260036020526040812054116114a457600080fd5b6114ea6114c5600a610e0460016107876064838a601e63ffffffff611cf116565b600160a060020a0384166000908152600360205260409020549063ffffffff611d2316565b600160a060020a03831660009081526003602052604090205561151c610e816064610e0486600a63ffffffff611cf116565b600f553360008181526008602090815260408083208054600160a060020a038816600160a060020a03199182168117909255908452600983529083208054600181018255908452919092200180549091169091179055611617565b33600160a060020a0383161480156115a6575033600090815260086020526040902054600160a060020a031615155b15611617576115cc610e10600a610e0460016107876064838a601e63ffffffff611cf116565b33600090815260086020908152604080832054600160a060020a031683526003909152902055611613610e81600a610e0460016107876064838a601e63ffffffff611cf116565b600f555b61164c6116306064610e0486601e63ffffffff611cf116565b336000908152600160205260409020549063ffffffff611d2316565b33600090815260016020908152604080832093909355600a90522054151561168a57336000818152600a602052604090206001905561168a90612328565b6116bf6116a36064610e0486604663ffffffff611cf116565b336000908152600360205260409020549063ffffffff611d2316565b3360009081526003602052604090205561170d6116e86064610e0486601e63ffffffff611cf116565b60008054600160a060020a03168152600360205260409020549063ffffffff611d2316565b60008054600160a060020a03908116825260036020908152604080842094909455601754835490921683526007905291902054106117745760185461175990600263ffffffff611cf116565b60185560175461177090600363ffffffff611cf116565b6017555b6117c86117b961179166038d7ea4c68000610e0434828106611cc3565b601854610787906117aa906103e863ffffffff611cf116565b6012549063ffffffff611cd516565b6012549063ffffffff611d2316565b60125560008054600160a060020a03168152600760205260409020546117f4903463ffffffff611d2316565b60008054600160a060020a0316815260076020526040902055336108fc611821348463ffffffff611cc316565b6040518115909202916000818181858888f19350505050158015611849573d6000803e3d6000fd5b5060008054604051600160a060020a039091169183156108fc02918491818181858888f19350505050158015611883573d6000803e3d6000fd5b506118a761189884600a63ffffffff611cd516565b6014549063ffffffff611d2316565b60145560198054600160a060020a0319163317905560408051428152602081018590528151600160a060020a038516927fc3290138d63dcaef254650f8cb4a3f7db343d5391f7a9c7c5ed9cd0e65b83a1e928290030190a2505050565b600c80548290811061191257fe5b60009182526020909120600590910201805460018201546002830154600490930154919350919084565b60125481565b60175481565b60115481565b600054600160a060020a0316331461199e576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b600160a060020a03821615156119b357600080fd5b601555601b8054600160a060020a031916600160a060020a0392909216919091179055565b600054600160a060020a03163314611a28576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b600160a060020a0381161515611a3d57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008054600160a060020a03163314611ae9576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b60008054600160a060020a0316815260036020526040902054821115611b0e57600080fd5b611b22610e8183600263ffffffff611cf116565b600f55600160a060020a038316600090815260036020526040902054611b4e908363ffffffff611d2316565b600160a060020a03841660009081526003602052604090205560105415611c6c575060005b601054811015611c6c57600081815260056020908152604080832054600160a060020a0316835260019091529020541515611bad57611c54565b60008054600160a060020a0390811682526003602090815260408084205485855260058352818520549093168452600190915290912054611c2e91611bfd91610e0490869063ffffffff611cf116565b600083815260056020908152604080832054600160a060020a0316835260039091529020549063ffffffff611d2316565b600082815260056020908152604080832054600160a060020a0316835260039091529020555b611c6581600163ffffffff611d2316565b9050611b73565b601054604080514281526020810185905280820192909252600160a060020a0385166060830152517ff7350dda2a288c44c62237ae68dc66e08ee55f073da3c32d3d9bfef844f7496b9181900360800190a1505050565b600082821115611ccf57fe5b50900390565b6000808284811515611ce357fe5b0490508091505b5092915050565b600080831515611d045760009150611cea565b50828202828482811515611d1457fe5b0414611d1c57fe5b9392505050565b600082820183811015611d1c57fe5b600054606090600160a060020a03163314611d85576040805160e560020a62461bcd028152602060048201526014602482015260008051602061269b833981519152604482015290519081900360640190fd5b6040805160a0810182526011548152602080820185815260009383018481526060840186815260808501869052600c80546001810180835591909752855160059097027fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7810197885593517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c885015591517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c9840155518051919593611e6f937fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8ca01929101906124cd565b506080919091015160049091015550601154611e9290600163ffffffff611d2316565b6011555050565b600080600080600080600080600080601454601354014210151515611f08576040805160e560020a62461bcd02815260206004820152600c60248201527f4e6f74206f766572207965740000000000000000000000000000000000000000604482015290519081900360640190fd5b60008054600160a060020a0316815260036020526040902054156122a95760115460009a501561215a57600098505b601154891015611fa457600c80548b908110611f4f57fe5b906000526020600020906005020160020154600c8a815481101515611f7057fe5b9060005260206000209060050201600201541115611f8c578899505b611f9d89600163ffffffff611d2316565b9850611f37565b600b6040805190810160405280600c8d815481101515611fc057fe5b9060005260206000209060050201600101548152602001600c8d815481101515611fe657fe5b6000918252602080832060026005909302018201549093528454600181810187559583528383208551919092029091019081559282015192909301919091558154600160a060020a03168252600390526040902054600c8054919950908b90811061204d57fe5b9060005260206000209060050201600201549650600095505b600c80548b90811061207457fe5b90600052602060002090600502016004015486101561210e57600c80548b90811061209b57fe5b9060005260206000209060050201600301868154811015156120b957fe5b6000918252602080832090910154600160a060020a03168083526006825260408084208e855290925291205490955093506120f685858a8a612403565b61210786600163ffffffff611d2316565b9550612066565b600092505b60115483101561215a576000600c8481548110151561212e57fe5b600091825260209091206002600590920201015561215383600163ffffffff611d2316565b9250612113565b6010541561225257600091505b601054821015612252575060008181526005602090815260408083208054600160a060020a039081168552600184528285208590559054168352600490915281208190555b6011548110156121fb57600082815260056020908152604080832054600160a060020a03168352600682528083208484529091528120556121f481600163ffffffff611d2316565b90506121ac565b60008281526005602081815260408084208054600160a060020a0316855260078352908420849055805493869052919052600160a060020a0319909116905561224b82600163ffffffff611d2316565b9150612167565b61228d61226689603263ffffffff611cd516565b601954600160a060020a03166000908152600360205260409020549063ffffffff611d2316565b601954600160a060020a03166000908152600360205260409020555b60006010819055601181905561271060185568056bc75e2d631000006017555460198054600160a060020a031916600160a060020a03909216919091179055600d80546122f891600c91612532565b505060008054600160a060020a031681526003602052604081205550506016805460ff1916905550505050505050565b6010805460009081526005602090815260408083208054600160a060020a031916600160a060020a038716908117909155935493835260049091529020819055612373906001611d23565b6010908155601a80546001810182556000919091527f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e018054600160a060020a031916600160a060020a0384169081179091559054604080516000199092018252517f125b747364a9643dd15fc004dbdb094509c65405b7702825907a136178a252a8916020908290030190a250565b600080612416858463ffffffff611cd516565b915061244961242c85600563ffffffff611cd516565b61243d86600263ffffffff611cd516565b9063ffffffff611d2316565b905061249361246e612461868463ffffffff611cc316565b849063ffffffff611cf116565b600160a060020a0388166000908152600360205260409020549063ffffffff611d2316565b600160a060020a0387166000908152600360205260409020556124c2610e81612461868463ffffffff611cc316565b600f55505050505050565b828054828255906000526020600020908101928215612522579160200282015b828111156125225782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906124ed565b5061252e9291506125bd565b5090565b8280548282559060005260206000209060050281019282156125b15760005260206000209160050282015b828111156125b157825482556001808401549083015560028084015490830155600380840180548592859261259592918401916125e1565b506004820154816004015550509160050191906005019061255d565b5061252e929150612621565b61071491905b8082111561252e578054600160a060020a03191681556001016125c3565b8280548282559060005260206000209081019282156125225760005260206000209182015b82811115612522578254825591600101919060010190612606565b61071491905b8082111561252e576000808255600182018190556002820181905561264f600383018261265f565b5060006004820155600501612627565b508054600082559060005260206000209081019061267d9190612680565b50565b61071491905b8082111561252e5760008155600101612686560048617665206e6f206c6567616c20706f77657264000000000000000000000000a165627a7a7230582001522242412e0ff2b1e6e0f57343559fe9902a5c6f9eba70e1e50e0d274a4c550029

Swarm Source

bzzr://01522242412e0ff2b1e6e0f57343559fe9902a5c6f9eba70e1e50e0d274a4c55

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.