ETH Price: $3,213.80 (+2.71%)
 

Overview

ETH Balance

0.002 ETH

Eth Value

$6.43 (@ $3,213.80/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Settle Bet55693682018-05-07 1:18:242460 days ago1525655904IN
0x58A11A44...ca5aE7F63
0 ETH0.000193051
Bet55677022018-05-06 18:36:422460 days ago1525631802IN
0x58A11A44...ca5aE7F63
0.013 ETH0.00020082
Bet55638272018-05-06 2:29:102461 days ago1525573750IN
0x58A11A44...ca5aE7F63
0.013 ETH0.00030123
Bet55527182018-05-04 3:28:452463 days ago1525404525IN
0x58A11A44...ca5aE7F63
0.055 ETH0.000485524
Bet55527012018-05-04 3:23:522463 days ago1525404232IN
0x58A11A44...ca5aE7F63
0.013 ETH0.000224573
Bet55527002018-05-04 3:23:282463 days ago1525404208IN
0x58A11A44...ca5aE7F63
0.013 ETH0.00030123
Bet55525882018-05-04 2:55:532463 days ago1525402553IN
0x58A11A44...ca5aE7F63
0.011 ETH0.000301433
Bet55524942018-05-04 2:32:292463 days ago1525401149IN
0x58A11A44...ca5aE7F63
0.013 ETH0.000168813.1
Bet55521982018-05-04 1:17:152463 days ago1525396635IN
0x58A11A44...ca5aE7F63
0.055 ETH0.000425524
Bet55521692018-05-04 1:11:342463 days ago1525396294IN
0x58A11A44...ca5aE7F63
0.01 ETH0.000222762
Bet55521212018-05-04 0:57:392463 days ago1525395459IN
0x58A11A44...ca5aE7F63
0.026 ETH0.000280845
Bet55521192018-05-04 0:57:002463 days ago1525395420IN
0x58A11A44...ca5aE7F63
0.02 ETH0.000356215
Bet55521152018-05-04 0:55:542463 days ago1525395354IN
0x58A11A44...ca5aE7F63
0.151 ETH0.000546862
Bet55521142018-05-04 0:55:152463 days ago1525395315IN
0x58A11A44...ca5aE7F63
0.011 ETH0.000421694.2
Bet55520842018-05-04 0:48:542463 days ago1525394934IN
0x58A11A44...ca5aE7F63
0.01 ETH0.000200952
Bet55520832018-05-04 0:48:382463 days ago1525394918IN
0x58A11A44...ca5aE7F63
0.151 ETH0.001381164
Bet55520732018-05-04 0:45:122463 days ago1525394712IN
0x58A11A44...ca5aE7F63
0.01 ETH0.000301433
Bet55520472018-05-04 0:39:232463 days ago1525394363IN
0x58A11A44...ca5aE7F63
0.1 ETH0.001063574
Bet55513482018-05-03 21:49:382463 days ago1525384178IN
0x58A11A44...ca5aE7F63
0.01 ETH0.000581614

Latest 11 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0159375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0159375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0159375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0478125 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0159375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.2390625 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.2071875 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0159375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.03375 ETH
55693682018-05-07 1:18:242460 days ago1525655904
0x58A11A44...ca5aE7F63
0.0675 ETH
55521152018-05-04 0:55:542463 days ago1525395354
0x58A11A44...ca5aE7F63
0.008 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Ethervote

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.23;

contract Ethervote {
    
    address feeRecieverOne = 0xa03F27587883135DA9565e7EfB523e1657A47a07;
    address feeRecieverTwo = 0x549377418b1b7030381de9aA1319E41C044467c7;

    address[] playerAddresses;
    
    uint public expiryBlock;
    
    uint public leftSharePrice = 10 finney;
    uint public rightSharePrice = 10 finney;
    
    uint public leftSharePriceRateOfIncrease = 1 finney;
    uint public rightSharePriceRateOfIncrease = 1 finney;
    
    uint public leftVotes = 0;
    uint public rightVotes = 0;
    
    uint public thePot = 0 wei;
    
    bool public betIsSettled = false;

    struct Player {
        uint leftShares;
        uint rightShares;
        uint excessEther;
        bool hasBetBefore;
    }
    
    mapping(address => Player) players;
    
    
    constructor() public {
        expiryBlock = block.number + 17500;
    }
    
    function bet(bool bettingLeft) public payable {
        
        require(block.number < expiryBlock);
        
        if(!players[msg.sender].hasBetBefore){
            playerAddresses.push(msg.sender);
            players[msg.sender].hasBetBefore = true;
        }
            
            uint amountSent = msg.value;
            
            if(bettingLeft){
                require(amountSent >= leftSharePrice);
                
                while(amountSent >= leftSharePrice){
                    players[msg.sender].leftShares++;
                    leftVotes++;
                    thePot += leftSharePrice;
                    amountSent -= leftSharePrice;
                    
                    if((leftVotes % 15) == 0){//if the number of left votes is a multiple of 15
                        leftSharePrice += leftSharePriceRateOfIncrease;
                        if(leftVotes <= 45){//increase the rate at first, then decrease it to zero.
                            leftSharePriceRateOfIncrease += 1 finney;
                        }else if(leftVotes > 45){
                            if(leftSharePriceRateOfIncrease > 1 finney){
                                leftSharePriceRateOfIncrease -= 1 finney;
                            }else if(leftSharePriceRateOfIncrease <= 1 finney){
                                leftSharePriceRateOfIncrease = 0 finney;
                            }
                        }
                    }
                    
                }
                if(amountSent > 0){
                    players[msg.sender].excessEther += amountSent;
                }
                
            }
            else{//betting for the right option
                require(amountSent >= rightSharePrice);
                
                while(amountSent >= rightSharePrice){
                    players[msg.sender].rightShares++;
                    rightVotes++;
                    thePot += rightSharePrice;
                    amountSent -= rightSharePrice;
                    
                    if((rightVotes % 15) == 0){//if the number of right votes is a multiple of 15
                        rightSharePrice += rightSharePriceRateOfIncrease;
                        if(rightVotes <= 45){//increase the rate at first, then decrease it to zero.
                            rightSharePriceRateOfIncrease += 1 finney;
                        }else if(rightVotes > 45){
                            if(rightSharePriceRateOfIncrease > 1 finney){
                                rightSharePriceRateOfIncrease -= 1 finney;
                            }else if(rightSharePriceRateOfIncrease <= 1 finney){
                                rightSharePriceRateOfIncrease = 0 finney;
                            }
                        }
                    }
                    
                }
                if(amountSent > 0){
                    if(msg.sender.send(amountSent) == false)players[msg.sender].excessEther += amountSent;
                }
            }
    }
    
    
    function settleBet() public {
        require(block.number >= expiryBlock);
        require(betIsSettled == false);

        uint winRewardOne = thePot * 2;
        winRewardOne = winRewardOne / 20;
        if(feeRecieverOne.send(winRewardOne) == false) players[feeRecieverOne].excessEther = winRewardOne;//in case the tx fails, the excess ether function lets you withdraw it manually

        uint winRewardTwo = thePot * 1;
        winRewardTwo = winRewardTwo / 20;
        if(feeRecieverTwo.send(winRewardTwo) == false) players[feeRecieverTwo].excessEther = winRewardTwo;

        uint winReward = thePot * 17;
        winReward = winReward / 20;
        
        if(leftVotes > rightVotes){
            winReward = winReward / leftVotes;
            for(uint i=0;i<playerAddresses.length;i++){
                if(players[playerAddresses[i]].leftShares > 0){
                    if(playerAddresses[i].send(players[playerAddresses[i]].leftShares * winReward) == false){
                        //if the send fails
                        players[playerAddresses[i]].excessEther = players[playerAddresses[i]].leftShares * winReward;
                    }
                }
            }
        }else if(rightVotes > leftVotes){
            winReward = winReward / rightVotes;
            for(uint u=0;u<playerAddresses.length;u++){
                if(players[playerAddresses[u]].rightShares > 0){
                    if(playerAddresses[u].send(players[playerAddresses[u]].rightShares * winReward) == false){
                        //if the send fails
                        players[playerAddresses[u]].excessEther = players[playerAddresses[u]].rightShares * winReward;
                    }
                }
            }
        }else if(rightVotes == leftVotes){//split it in a tie
            uint rightWinReward = (winReward / rightVotes) / 2;
            for(uint q=0;q<playerAddresses.length;q++){
                if(players[playerAddresses[q]].rightShares > 0){
                    if(playerAddresses[q].send(players[playerAddresses[q]].rightShares * rightWinReward) == false){
                        //if the send fails
                        players[playerAddresses[q]].excessEther = players[playerAddresses[q]].rightShares * rightWinReward;
                    }
                }
            }

            uint leftWinReward = winReward / leftVotes;
            for(uint l=0;l<playerAddresses.length;l++){
                if(players[playerAddresses[l]].leftShares > 0){
                    if(playerAddresses[l].send(players[playerAddresses[l]].leftShares * leftWinReward) == false){
                        //if the send fails
                        players[playerAddresses[l]].excessEther = players[playerAddresses[l]].leftShares * leftWinReward;
                    }
                }
            }

        }

        betIsSettled = true;
    }
    
    
    function retrieveExcessEther() public {
        assert(players[msg.sender].excessEther > 0);
        if(msg.sender.send(players[msg.sender].excessEther)){
            players[msg.sender].excessEther = 0;
        }
    }
    
    function viewMyShares(bool left) public view returns(uint){
        if(left)return players[msg.sender].leftShares;
        return players[msg.sender].rightShares;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"rightSharePriceRateOfIncrease","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"retrieveExcessEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rightSharePrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"bettingLeft","type":"bool"}],"name":"bet","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"thePot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"betIsSettled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"settleBet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"leftSharePriceRateOfIncrease","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rightVotes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"expiryBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"leftSharePrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"leftVotes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"left","type":"bool"}],"name":"viewMyShares","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

608060405273a03f27587883135da9565e7efb523e1657a47a076000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073549377418b1b7030381de9aa1319e41c044467c7600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550662386f26fc10000600455662386f26fc1000060055566038d7ea4c6800060065566038d7ea4c68000600755600060085560006009556000600a556000600b60006101000a81548160ff02191690831515021790555034801561010f57600080fd5b5061445c43016003819055506116eb8061012a6000396000f3006080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631290a2b4146100ca57806344c20e6f146100f55780634dd123291461010c578063523afb0d1461013757806380b20208146101595780638c96e34b146101845780638e4bf820146101b3578063ba95d63a146101ca578063baa24fce146101f5578063bf62427314610220578063c5ac8a4d1461024b578063cb1faac114610276578063e16c8d4b146102a1575b600080fd5b3480156100d657600080fd5b506100df6102e4565b6040518082815260200191505060405180910390f35b34801561010157600080fd5b5061010a6102ea565b005b34801561011857600080fd5b506101216103ff565b6040518082815260200191505060405180910390f35b610157600480360381019080803515159060200190929190505050610405565b005b34801561016557600080fd5b5061016e6108c6565b6040518082815260200191505060405180910390f35b34801561019057600080fd5b506101996108cc565b604051808215151515815260200191505060405180910390f35b3480156101bf57600080fd5b506101c86108df565b005b3480156101d657600080fd5b506101df611604565b6040518082815260200191505060405180910390f35b34801561020157600080fd5b5061020a61160a565b6040518082815260200191505060405180910390f35b34801561022c57600080fd5b50610235611610565b6040518082815260200191505060405180910390f35b34801561025757600080fd5b50610260611616565b6040518082815260200191505060405180910390f35b34801561028257600080fd5b5061028b61161c565b6040518082815260200191505060405180910390f35b3480156102ad57600080fd5b506102ce600480360381019080803515159060200190929190505050611622565b6040518082815260200191505060405180910390f35b60075481565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015411151561033857fe5b3373ffffffffffffffffffffffffffffffffffffffff166108fc600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201549081150290604051600060405180830381858888f19350505050156103fd576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b565b60055481565b60006003544310151561041757600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff16151561052f5760023390806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff0219169083151502179055505b34905081156106de57600454811015151561054957600080fd5b5b6004548110151561067f57600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906001019190505550600860008154809291906001019190505550600454600a60008282540192505081905550600454810390506000600f6008548115156105e257fe5b06141561067a57600654600460008282540192505081905550602d6008541115156106235766038d7ea4c68000600660008282540192505081905550610679565b602d60085411156106785766038d7ea4c68000600654111561065b5766038d7ea4c68000600660008282540392505081905550610677565b66038d7ea4c680006006541115156106765760006006819055505b5b5b5b5b61054a565b60008111156106d95780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825401925050819055505b6108c2565b60055481101515156106ef57600080fd5b5b6005548110151561082557600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160008154809291906001019190505550600960008154809291906001019190505550600554600a60008282540192505081905550600554810390506000600f60095481151561078857fe5b06141561082057600754600560008282540192505081905550602d6009541115156107c95766038d7ea4c6800060076000828254019250508190555061081f565b602d600954111561081e5766038d7ea4c6800060075411156108015766038d7ea4c6800060076000828254039250508190555061081d565b66038d7ea4c6800060075411151561081c5760006007819055505b5b5b5b5b6106f0565b60008111156108c157600015153373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050151514156108c05780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825401925050819055505b5b5b5050565b600a5481565b600b60009054906101000a900460ff1681565b600080600080600080600080600060035443101515156108fe57600080fd5b60001515600b60009054906101000a900460ff16151514151561092057600080fd5b6002600a5402985060148981151561093457fe5b049850600015156000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8b9081150290604051600060405180830381858888f1935050505015151415610a025788600c60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b6001600a54029750601488811515610a1657fe5b04975060001515600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f1935050505015151415610ae65787600c6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b6011600a54029650601487811515610afa57fe5b0496506009546008541115610db75760085487811515610b1657fe5b049650600095505b600280549050861015610db2576000600c6000600289815481101515610b4057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541115610da55760001515600287815481101515610bc257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc89600c600060028c815481101515610c1a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154029081150290604051600060405180830381858888f1935050505015151415610da45786600c6000600289815481101515610cba57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015402600c6000600289815481101515610d3757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8580600101965050610b1e565b6115de565b60085460095411156110715760095487811515610dd057fe5b049650600094505b60028054905085101561106c576000600c6000600288815481101515610dfa57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154111561105f5760001515600286815481101515610e7c57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc89600c600060028b815481101515610ed457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154029081150290604051600060405180830381858888f193505050501515141561105e5786600c6000600288815481101515610f7457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015402600c6000600288815481101515610ff157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8480600101955050610dd8565b6115dd565b60085460095414156115dc5760026009548881151561108c57fe5b0481151561109657fe5b049350600092505b600280549050831015611332576000600c60006002868154811015156110c057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101541115611325576000151560028481548110151561114257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc86600c600060028981548110151561119a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154029081150290604051600060405180830381858888f19350505050151514156113245783600c600060028681548110151561123a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015402600c60006002868154811015156112b757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b828060010193505061109e565b6008548781151561133f57fe5b049150600090505b6002805490508110156115db576000600c600060028481548110151561136957fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411156115ce57600015156002828154811015156113eb57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84600c600060028781548110151561144357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154029081150290604051600060405180830381858888f19350505050151514156115cd5781600c60006002848154811015156114e357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015402600c600060028481548110151561156057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8080600101915050611347565b5b5b5b6001600b60006101000a81548160ff021916908315150217905550505050505050505050565b60065481565b60095481565b60035481565b60045481565b60085481565b6000811561167457600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506116ba565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015490505b9190505600a165627a7a72305820f5b581919e7bc72d29d71241a923c84c5a2bac7a9da4d515c58bc501cd40654e0029

Deployed Bytecode

0x6080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631290a2b4146100ca57806344c20e6f146100f55780634dd123291461010c578063523afb0d1461013757806380b20208146101595780638c96e34b146101845780638e4bf820146101b3578063ba95d63a146101ca578063baa24fce146101f5578063bf62427314610220578063c5ac8a4d1461024b578063cb1faac114610276578063e16c8d4b146102a1575b600080fd5b3480156100d657600080fd5b506100df6102e4565b6040518082815260200191505060405180910390f35b34801561010157600080fd5b5061010a6102ea565b005b34801561011857600080fd5b506101216103ff565b6040518082815260200191505060405180910390f35b610157600480360381019080803515159060200190929190505050610405565b005b34801561016557600080fd5b5061016e6108c6565b6040518082815260200191505060405180910390f35b34801561019057600080fd5b506101996108cc565b604051808215151515815260200191505060405180910390f35b3480156101bf57600080fd5b506101c86108df565b005b3480156101d657600080fd5b506101df611604565b6040518082815260200191505060405180910390f35b34801561020157600080fd5b5061020a61160a565b6040518082815260200191505060405180910390f35b34801561022c57600080fd5b50610235611610565b6040518082815260200191505060405180910390f35b34801561025757600080fd5b50610260611616565b6040518082815260200191505060405180910390f35b34801561028257600080fd5b5061028b61161c565b6040518082815260200191505060405180910390f35b3480156102ad57600080fd5b506102ce600480360381019080803515159060200190929190505050611622565b6040518082815260200191505060405180910390f35b60075481565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015411151561033857fe5b3373ffffffffffffffffffffffffffffffffffffffff166108fc600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201549081150290604051600060405180830381858888f19350505050156103fd576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b565b60055481565b60006003544310151561041757600080fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160009054906101000a900460ff16151561052f5760023390806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060030160006101000a81548160ff0219169083151502179055505b34905081156106de57600454811015151561054957600080fd5b5b6004548110151561067f57600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008154809291906001019190505550600860008154809291906001019190505550600454600a60008282540192505081905550600454810390506000600f6008548115156105e257fe5b06141561067a57600654600460008282540192505081905550602d6008541115156106235766038d7ea4c68000600660008282540192505081905550610679565b602d60085411156106785766038d7ea4c68000600654111561065b5766038d7ea4c68000600660008282540392505081905550610677565b66038d7ea4c680006006541115156106765760006006819055505b5b5b5b5b61054a565b60008111156106d95780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825401925050819055505b6108c2565b60055481101515156106ef57600080fd5b5b6005548110151561082557600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160008154809291906001019190505550600960008154809291906001019190505550600554600a60008282540192505081905550600554810390506000600f60095481151561078857fe5b06141561082057600754600560008282540192505081905550602d6009541115156107c95766038d7ea4c6800060076000828254019250508190555061081f565b602d600954111561081e5766038d7ea4c6800060075411156108015766038d7ea4c6800060076000828254039250508190555061081d565b66038d7ea4c6800060075411151561081c5760006007819055505b5b5b5b5b6106f0565b60008111156108c157600015153373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050151514156108c05780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825401925050819055505b5b5b5050565b600a5481565b600b60009054906101000a900460ff1681565b600080600080600080600080600060035443101515156108fe57600080fd5b60001515600b60009054906101000a900460ff16151514151561092057600080fd5b6002600a5402985060148981151561093457fe5b049850600015156000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8b9081150290604051600060405180830381858888f1935050505015151415610a025788600c60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b6001600a54029750601488811515610a1657fe5b04975060001515600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8a9081150290604051600060405180830381858888f1935050505015151415610ae65787600c6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b6011600a54029650601487811515610afa57fe5b0496506009546008541115610db75760085487811515610b1657fe5b049650600095505b600280549050861015610db2576000600c6000600289815481101515610b4057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541115610da55760001515600287815481101515610bc257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc89600c600060028c815481101515610c1a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154029081150290604051600060405180830381858888f1935050505015151415610da45786600c6000600289815481101515610cba57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015402600c6000600289815481101515610d3757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8580600101965050610b1e565b6115de565b60085460095411156110715760095487811515610dd057fe5b049650600094505b60028054905085101561106c576000600c6000600288815481101515610dfa57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154111561105f5760001515600286815481101515610e7c57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc89600c600060028b815481101515610ed457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154029081150290604051600060405180830381858888f193505050501515141561105e5786600c6000600288815481101515610f7457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015402600c6000600288815481101515610ff157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8480600101955050610dd8565b6115dd565b60085460095414156115dc5760026009548881151561108c57fe5b0481151561109657fe5b049350600092505b600280549050831015611332576000600c60006002868154811015156110c057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101541115611325576000151560028481548110151561114257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc86600c600060028981548110151561119a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154029081150290604051600060405180830381858888f19350505050151514156113245783600c600060028681548110151561123a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015402600c60006002868154811015156112b757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b828060010193505061109e565b6008548781151561133f57fe5b049150600090505b6002805490508110156115db576000600c600060028481548110151561136957fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015411156115ce57600015156002828154811015156113eb57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc84600c600060028781548110151561144357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154029081150290604051600060405180830381858888f19350505050151514156115cd5781600c60006002848154811015156114e357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015402600c600060028481548110151561156057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201819055505b5b8080600101915050611347565b5b5b5b6001600b60006101000a81548160ff021916908315150217905550505050505050505050565b60065481565b60095481565b60035481565b60045481565b60085481565b6000811561167457600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015490506116ba565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015490505b9190505600a165627a7a72305820f5b581919e7bc72d29d71241a923c84c5a2bac7a9da4d515c58bc501cd40654e0029

Swarm Source

bzzr://f5b581919e7bc72d29d71241a923c84c5a2bac7a9da4d515c58bc501cd40654e

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.