Sponsored:   Ubex.com - World roadshow: Seoul Sep 17-19, Singapore Sep 19-20, Dubai 18-23. Meet us!.
Contract Overview
Balance: 0.254170572204291315 Ether
Ether Value: $63.38 (@ $249.35/ETH)
Transactions: 622 txns
 Latest 25 txns From a total of 622 Transactions

TxHash Age From To Value [TxFee]
0x77ead8e678ffcfd8c00833354c543083809145f59177d5db67dc975d7d95693961 days 2 mins ago0x36711bbaa7dcabc10d04fdc00d1682cde34404c7  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000030594517212 Ether0.000147544
0xf1a6461f88391e622238a6b6ad46db3bfc26e1c59f2f6c88c884dc4470125eda61 days 2 mins ago0x36711bbaa7dcabc10d04fdc00d1682cde34404c7  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000030594517212 Ether0.000177824
0x29ff19c831d551d8409535c8cc246e0165392b2c00cd1506156ae242590c75e262 days 15 hrs ago0xbaf444f03d2057e3f5fb4ac4b81567d20c6471a5  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000311706
0x2a94b0217c4a92636d635de21577a13c5488da292245eebe1f80079a2563188963 days 2 hrs ago0x08f4ae96b647b30177cc15b21195960625ba4163  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.0003498034
0xb2d2aa0dcfec3b8c324115c2903be124b137423929a2e71d869e81658dd36dbb74 days 4 hrs ago0x3e5386fc13c123da53523f6b11417e83433c4fca  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.0003498034
0x881963c914cdbdc88dbd5d7fb0062f6ce8b17b683352698e3170632bc471d49d81 days 19 hrs ago0x89bfdb2f35857cd446a90ad8013e813f44923f3f  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.001454628
0xf7a1ccfbf0aa75ee9003a6027808022e42cb3f67c5917174132995a064aca0e989 days 8 hrs ago0x959af00ed26fbbecc512816048314ad10a1f8a7d  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000022309
0x1fbc878fa76481fc17591d6a49750cd9a5c18e01aaf14151ab6733496e2e0bb189 days 10 hrs ago0x959af00ed26fbbecc512816048314ad10a1f8a7d  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000033824784093 Ether0.000177824
0x48b732d5bc16fbe92bd0e6bc88d037763ed50a2f92d931b8917a89348ebf23c489 days 10 hrs ago0x959af00ed26fbbecc512816048314ad10a1f8a7d  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000022309
0x17e2c1bca67ae74dfa5238763f22749985b40178c04a82bec50f89cde86d09a990 days 12 hrs ago0x959af00ed26fbbecc512816048314ad10a1f8a7d  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.0013 Ether0.0000947277
0xae2b2791f388a8ab20e78575c05d02b3564044f76889d2e0e255207376bbfb7690 days 13 hrs ago0x959af00ed26fbbecc512816048314ad10a1f8a7d  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000031492495884 Ether0.000088912
0xa09eef614b48465de8eeeb7e9188fa9ff323d27d26cec070d7602c2cc6e3528693 days 12 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000156163
0xeac9e9794e41430e007d0707323752fc7eee5b28e43c30a37eca42c77f4562c993 days 12 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000034817574222 Ether0.000221736
0x5c849a355bc25bb1c1fafb072705008d333bb17fcf5c94c31a502304b21660f993 days 23 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000038493724955 Ether0.00036956
0xc1a787fb35da801dcb5bd8474660528bc449773d9c6882e2a908173ffd7bbb2e94 days 16 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000042558015429 Ether0.000443472
0xb684a7e7cafe74f74ab4b47a273e9c166b65b2892aa9a9a6d8b11c375a2c0f5895 days 4 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000047051426676 Ether0.00044456
0x036418047441fad5b3850e3c849d60e5fa52bbef62627e8951c1b7c3c8770a4d96 days 14 hrs ago0x99315975a9fed3c1a104071849503db695b96bdc  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000052019266641 Ether0.000443472
0x6d6e581422aea174bc7578c8d3a94c621f830698b7d94103551c3bde8812706e97 days 15 hrs ago0xb04b473418b6f09e5a1f809ae2d01f14211e03ff  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000057511627021 Ether0.000177808
0x53e05f3bf48a116e71afd14b4a8d530ca6e9cc5c4494fcd1dbe072955483016e97 days 15 hrs ago0xb04b473418b6f09e5a1f809ae2d01f14211e03ff  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.01 Ether0.000315783
0xea072efe81bf319988390886b50c38af907c45b0dc8c266e79f9eb1e1f9a4e0697 days 16 hrs ago0x84041aaf9b6a9e4fe399d4a700b9e764278b2e42  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000069268
0xb06ef2933fc3c574cacdd19fe55f4de57bd0ad2d9120a5252ebf1e7a38373f7099 days 9 hrs ago0xf04a2b229aefe4fff8ca685df1c51b48ae5be091  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000008329717756 Ether0.000800208
0xd03eaef290d0946e9e82c9db455fa31049504ddef5e8e4ef1b6507ec18753354101 days 15 hrs ago0xb037d21bb091cc3e0678c289b7268537da40e536  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000069268
0xccf33b36441beb14b55b63bd1c232cedd01cc439e7858b6e929f93f812c15d30101 days 15 hrs ago0xb037d21bb091cc3e0678c289b7268537da40e536  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000044618
0x186a0d4cdafc2718ab0ba63cf015424550930a4c29dcbaac274af5f9bdd58f64102 days 5 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.000089236
0x184ef9411b890ca3505c6dc883ee52150a12df8bf62e50d9587fd764256a2e23102 days 19 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000009203508363 Ether0.00073904
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0x29ff19c831d551d8409535c8cc246e0165392b2c00cd1506156ae242590c75e2600168862 days 15 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xbaf444f03d2057e3f5fb4ac4b81567d20c6471a50.0240068789456323 Ether
0x2a94b0217c4a92636d635de21577a13c5488da292245eebe1f80079a25631889599916463 days 2 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x08f4ae96b647b30177cc15b21195960625ba41630.056016050873142033 Ether
0xb2d2aa0dcfec3b8c324115c2903be124b137423929a2e71d869e81658dd36dbb593365474 days 4 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x3e5386fc13c123da53523f6b11417e83433c4fca0.320091719275097336 Ether
0x881963c914cdbdc88dbd5d7fb0062f6ce8b17b683352698e3170632bc471d49d588937181 days 19 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x89bfdb2f35857cd446a90ad8013e813f44923f3f0.0960275157825292 Ether
0xf7a1ccfbf0aa75ee9003a6027808022e42cb3f67c5917174132995a064aca0e9584557789 days 8 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x959af00ed26fbbecc512816048314ad10a1f8a7d0.000375830934377137 Ether
0x48b732d5bc16fbe92bd0e6bc88d037763ed50a2f92d931b8917a89348ebf23c4584516089 days 10 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x959af00ed26fbbecc512816048314ad10a1f8a7d0.000056686492591574 Ether
0xa09eef614b48465de8eeeb7e9188fa9ff323d27d26cec070d7602c2cc6e35286582120793 days 12 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x99315975a9fed3c1a104071849503db695b96bdc0.001810230458713834 Ether
0xea072efe81bf319988390886b50c38af907c45b0dc8c266e79f9eb1e1f9a4e06579660197 days 16 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x84041aaf9b6a9e4fe399d4a700b9e764278b2e420.697636887119871768 Ether
0xd03eaef290d0946e9e82c9db455fa31049504ddef5e8e4ef1b6507ec187533545773938101 days 15 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xb037d21bb091cc3e0678c289b7268537da40e5361.60138869553478369 Ether
0xccf33b36441beb14b55b63bd1c232cedd01cc439e7858b6e929f93f812c15d305773933101 days 15 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xb037d21bb091cc3e0678c289b7268537da40e5360.001749797337563894 Ether
0x186a0d4cdafc2718ab0ba63cf015424550930a4c29dcbaac274af5f9bdd58f645770538102 days 5 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee9.621335828862234374 Ether
0xbdd721884e7a53fd733679cfc80d33c26b7ca8f2eca8bc6db397e22215fc7a965706712113 days 13 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x2c2d2ef82dbf0864ac7eeb6284a4e95eaf3ef7550.007924141131070248 Ether
0x2387810935df7e118e720c7fb5b525c7cdd13d660192cbd196919c111df8eff65681375118 days 1 hr ago0xcc3935479af6703a287d84daaebc18c6b2322a550xaff993a092de26e3292de578a143352048045b8c1.518028144985358932 Ether
0x4a3f042e9b6b97ebf8fc0019817ed03562f18c20da712c69cc322c429366c1155651977123 days 6 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xef764bac8a438e7e498c2e5fccf0f174c3e3f8db0.758408039475287546 Ether
0x4fb6c19e188f3d9e53017b5867a153fdf68cda14c6c0857f0dce9d5215a7d2385637263125 days 20 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x6fd9a6a46f0e1465b88d0c8929fd827b50a7b5140.007890010292395507 Ether
0xefdd170ae95c990c12499bd551308baad1d0f20c10f2ac8fa93434df84354d205447601158 days 20 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xdc2d516c2eb8741f12df5b82e73a593c25e7f2da0.191507191505790966 Ether
0xc2ef0b5bc6575ec958fdcc307b54e3b655dc84b4fdfef2c17fcd8b2532692ad05418298163 days 18 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xd8fa1a08fa1c1a4795028a0e6beac068a55a65ab0.076152587286817904 Ether
0xbedd43275257f0ebf0f52b1dcc4310892617d3a7236785d9305a3101626dec805405569165 days 21 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x172f820de0db7e26a5e7a70d322409199e2bfded0.900257649583434013 Ether
0x1c6873a92b34cb1a69daa0757b5d096302dec4cfaff04dcfcd084ef4f82b19145405223165 days 22 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xc1fd489d0eeafc1135d53bdb5ea2754dde03f52b0.279912042307454273 Ether
0x1b35ae60d9812b85ec9a86ce266bf4dae69962464d58559ef6f8d5271ebd38a85394693167 days 16 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xdc00c6d42397b672988fada754e2f53ef3db9f9a0.068086712993705093 Ether
0x172136aff16ecb735cfc6f8839acf842ed66754063804ebd42714ad4336c22615391479168 days 5 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xd17e2bfe196470a9fefb567e8f5992214eb42f241.375613074968752152 Ether
0x1354b5615240abf35e675f27c0ef589832004405b66e84225a2502d620e2e5255391406168 days 5 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x588557dfe658dcd9809b9fa406e24e0c8ff549980.143607958375858741 Ether
0xfe2847c66065bc66b0da6cddcf8fe51a02b24cd194fecd962b75674db3c2ecba5384700169 days 8 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x7c377b7bce53a5cef88458b2cbbe11c3babe16da0.696080562007693597 Ether
0x84e3d7f384a8ae573e221dd87b94f4bac94abfee705e3ced72b766c93f0f2aa65374520171 days 44 mins ago0xcc3935479af6703a287d84daaebc18c6b2322a550x477ccd47d62a4929dd11651ab835e132c8eab3b80.000901368666582519 Ether
0x1168e95a571fedd8f1c28c33ebb1438bd45b81dd7782da68ed3dfa735e4e015e5374518171 days 45 mins ago0xcc3935479af6703a287d84daaebc18c6b2322a550x477ccd47d62a4929dd11651ab835e132c8eab3b81.383639759726875727 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EtherHellHydrant
Compiler Text: v0.4.20+commit.3155dd80
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.20;

contract EtherHellHydrant {
    using SafeMath for uint256;

    event Bid(
        uint _timestamp,
        address _address,
        uint _amount,
        uint _cappedAmount,
        uint _newRound,
        uint _newPot
    );

    event Winner(
        uint _timestamp,
        address _address,
        uint _totalPayout,
        uint _round,
        uint _leaderTimestamp
    );

    event EarningsWithdrawal(
        uint _timestamp,
        address _address,
        uint _amount
    );

    event DividendsWithdrawal(
        uint _timestamp,
        address _address,
        uint _dividendShares,
        uint _amount,
        uint _newTotalDividendShares,
        uint _newDividendFund
    );

    // Amount of money distributed per payout as a fraction of the current bid
    uint public constant PAYOUT_FRAC_TOP = 10;
    uint public constant PAYOUT_FRAC_BOT = 100;

    // Amount of time between payouts
    uint public constant PAYOUT_TIME = 5 minutes;

    // Maximum fraction of the pot that can be won in one round
    uint public constant MAX_PAYOUT_FRAC_TOP = 1;
    uint public constant MAX_PAYOUT_FRAC_BOT = 10;

    // Minimum bid as a fraction of the pot
    uint public constant MIN_BID_FRAC_TOP = 1;
    uint public constant MIN_BID_FRAC_BOT = 1000;

    // Maximum bid as a fraction of the pot
    uint public constant MAX_BID_FRAC_TOP = 1;
    uint public constant MAX_BID_FRAC_BOT = 100;

    // Fraction of each bid put into the dividend fund
    uint public constant DIVIDEND_FUND_FRAC_TOP = 1;
    uint public constant DIVIDEND_FUND_FRAC_BOT = 2;

    // Owner of the contract
    address owner;

    // Mapping from addresses to amounts earned
    mapping(address => uint) public earnings;

    // Mapping from addresses to dividend shares
    mapping(address => uint) public dividendShares;

    // Total number of dividend shares
    uint public totalDividendShares;

    // Value of the dividend fund
    uint public dividendFund;

    // Current round number
    uint public round;

    // Value of the pot
    uint public pot;

    // Address of the current leader
    address public leader;

    // Time at which the most recent bid was placed
    uint public leaderTimestamp;

    // Amount of the most recent bid, capped at the maximum bid
    uint public leaderBid;

    function EtherHellHydrant() public payable {
        require(msg.value > 0);
        owner = msg.sender;
        totalDividendShares = 0;
        dividendFund = 0;
        round = 0;
        pot = msg.value;
        leader = owner;
        leaderTimestamp = now;
        leaderBid = 0;
        Bid(now, msg.sender, 0, 0, round, pot);
    }

    function bid() public payable {
        uint _maxPayout = pot.mul(MAX_PAYOUT_FRAC_TOP).div(MAX_PAYOUT_FRAC_BOT);
        uint _numPayoutIntervals = now.sub(leaderTimestamp).div(PAYOUT_TIME);
        uint _totalPayout = _numPayoutIntervals.mul(leaderBid).mul(PAYOUT_FRAC_TOP).div(PAYOUT_FRAC_BOT);
        if (_totalPayout > _maxPayout) {
            _totalPayout = _maxPayout;
        }

        uint _bidAmountToDividendFund = msg.value.mul(DIVIDEND_FUND_FRAC_TOP).div(DIVIDEND_FUND_FRAC_BOT);
        uint _bidAmountToPot = msg.value.sub(_bidAmountToDividendFund);

        uint _minBidForNewPot = pot.sub(_totalPayout).mul(MIN_BID_FRAC_TOP).div(MIN_BID_FRAC_BOT);

        if (msg.value < _minBidForNewPot) {
            dividendFund = dividendFund.add(_bidAmountToDividendFund);
            pot = pot.add(_bidAmountToPot);
        } else {
            earnings[leader] = earnings[leader].add(_totalPayout);
            pot = pot.sub(_totalPayout);

            Winner(now, leader, _totalPayout, round, leaderTimestamp);

            uint _maxBid = pot.mul(MAX_BID_FRAC_TOP).div(MAX_BID_FRAC_BOT);

            uint _dividendSharePrice;
            if (totalDividendShares == 0) {
                _dividendSharePrice = _maxBid.mul(DIVIDEND_FUND_FRAC_TOP).div(DIVIDEND_FUND_FRAC_BOT);
            } else {
                _dividendSharePrice = dividendFund.div(totalDividendShares);
            }

            dividendFund = dividendFund.add(_bidAmountToDividendFund);
            pot = pot.add(_bidAmountToPot);

            if (msg.value > _maxBid) {
                uint _investment = msg.value.sub(_maxBid).mul(DIVIDEND_FUND_FRAC_TOP).div(DIVIDEND_FUND_FRAC_BOT);
                uint _dividendShares = _investment.div(_dividendSharePrice);
                dividendShares[msg.sender] = dividendShares[msg.sender].add(_dividendShares);
                totalDividendShares = totalDividendShares.add(_dividendShares);
            }

            round++;
            leader = msg.sender;
            leaderTimestamp = now;
            leaderBid = msg.value;
            if (leaderBid > _maxBid) {
                leaderBid = _maxBid;
            }

            Bid(now, msg.sender, msg.value, leaderBid, round, pot);
        }
    }

    function withdrawEarnings() public {
        require(earnings[msg.sender] > 0);
        assert(earnings[msg.sender] <= this.balance);
        uint _amount = earnings[msg.sender];
        earnings[msg.sender] = 0;
        msg.sender.transfer(_amount);
        EarningsWithdrawal(now, msg.sender, _amount);
    }

    function withdrawDividends() public {
        require(dividendShares[msg.sender] > 0);
        uint _dividendShares = dividendShares[msg.sender];
        assert(_dividendShares <= totalDividendShares);
        uint _amount = dividendFund.mul(_dividendShares).div(totalDividendShares);
        assert(_amount <= this.balance);
        dividendShares[msg.sender] = 0;
        totalDividendShares = totalDividendShares.sub(_dividendShares);
        dividendFund = dividendFund.sub(_amount);
        msg.sender.transfer(_amount);
        DividendsWithdrawal(now, msg.sender, _dividendShares, _amount, totalDividendShares, dividendFund);
    }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

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

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

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

    Contract ABI  
[{"constant":true,"inputs":[],"name":"PAYOUT_FRAC_BOT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"round","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"bid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"dividendFund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_BID_FRAC_BOT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_BID_FRAC_BOT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_PAYOUT_FRAC_BOT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawDividends","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MIN_BID_FRAC_TOP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"leader","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PAYOUT_FRAC_TOP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"earnings","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PAYOUT_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_BID_FRAC_TOP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawEarnings","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"DIVIDEND_FUND_FRAC_BOT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_PAYOUT_FRAC_TOP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"leaderBid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDividendShares","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DIVIDEND_FUND_FRAC_TOP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"leaderTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"dividendShares","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_timestamp","type":"uint256"},{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_cappedAmount","type":"uint256"},{"indexed":false,"name":"_newRound","type":"uint256"},{"indexed":false,"name":"_newPot","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_timestamp","type":"uint256"},{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"_totalPayout","type":"uint256"},{"indexed":false,"name":"_round","type":"uint256"},{"indexed":false,"name":"_leaderTimestamp","type":"uint256"}],"name":"Winner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_timestamp","type":"uint256"},{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"EarningsWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_timestamp","type":"uint256"},{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"_dividendShares","type":"uint256"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_newTotalDividendShares","type":"uint256"},{"indexed":false,"name":"_newDividendFund","type":"uint256"}],"name":"DividendsWithdrawal","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405260003411151561001357600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060038190555060006004819055506000600581905550346006819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260088190555060006009819055507f28509951dc993ba7b496b468d64706535c28d1d872d3d452ae7bc9695dd7656f4233600080600554600654604051808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a1611083806101826000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806308306af314610138578063146ca531146101615780631998aeef1461018a5780631a06008a146101945780631bc44213146101bd57806321ab561d146101e65780632871587d1461020f5780632e92abdd1461023857806331fc5b181461024d57806340eedabb1461027657806341c0dc59146102cb5780634ba2363a146102f4578063543fd3131461031d57806384c6f6501461036a5780638a7ed05c14610393578063b73c6ce9146103bc578063b74e825e146103d1578063bcc9ed6f146103fa578063c395a16b14610423578063c64fa2e41461044c578063d90025d114610475578063e28965981461049e578063fc9774c1146104c7575b600080fd5b341561014357600080fd5b61014b610514565b6040518082815260200191505060405180910390f35b341561016c57600080fd5b610174610519565b6040518082815260200191505060405180910390f35b61019261051f565b005b341561019f57600080fd5b6101a7610af7565b6040518082815260200191505060405180910390f35b34156101c857600080fd5b6101d0610afd565b6040518082815260200191505060405180910390f35b34156101f157600080fd5b6101f9610b02565b6040518082815260200191505060405180910390f35b341561021a57600080fd5b610222610b08565b6040518082815260200191505060405180910390f35b341561024357600080fd5b61024b610b0d565b005b341561025857600080fd5b610260610d4a565b6040518082815260200191505060405180910390f35b341561028157600080fd5b610289610d4f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102d657600080fd5b6102de610d75565b6040518082815260200191505060405180910390f35b34156102ff57600080fd5b610307610d7a565b6040518082815260200191505060405180910390f35b341561032857600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d80565b6040518082815260200191505060405180910390f35b341561037557600080fd5b61037d610d98565b6040518082815260200191505060405180910390f35b341561039e57600080fd5b6103a6610d9e565b6040518082815260200191505060405180910390f35b34156103c757600080fd5b6103cf610da3565b005b34156103dc57600080fd5b6103e4610f91565b6040518082815260200191505060405180910390f35b341561040557600080fd5b61040d610f96565b6040518082815260200191505060405180910390f35b341561042e57600080fd5b610436610f9b565b6040518082815260200191505060405180910390f35b341561045757600080fd5b61045f610fa1565b6040518082815260200191505060405180910390f35b341561048057600080fd5b610488610fa7565b6040518082815260200191505060405180910390f35b34156104a957600080fd5b6104b1610fac565b6040518082815260200191505060405180910390f35b34156104d257600080fd5b6104fe600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610fb2565b6040518082815260200191505060405180910390f35b606481565b60055481565b600080600080600080600080600080610557600a6105496001600654610fca90919063ffffffff16565b61100590919063ffffffff16565b995061058261012c6105746008544261102090919063ffffffff16565b61100590919063ffffffff16565b98506105bf60646105b1600a6105a36009548e610fca90919063ffffffff16565b610fca90919063ffffffff16565b61100590919063ffffffff16565b9750898811156105cd578997505b6105f460026105e6600134610fca90919063ffffffff16565b61100590919063ffffffff16565b9650610609873461102090919063ffffffff16565b95506106476103e8610639600161062b8c60065461102090919063ffffffff16565b610fca90919063ffffffff16565b61100590919063ffffffff16565b94508434101561068c576106668760045461103990919063ffffffff16565b6004819055506106818660065461103990919063ffffffff16565b600681905550610aeb565b6107008860016000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461103990919063ffffffff16565b60016000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061077a8860065461102090919063ffffffff16565b6006819055507f4d22c521bcd5982b45759419512fca837125546c4ff15d0b15eb01a62e93e01742600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a600554600854604051808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060405180910390a161085260646108446001600654610fca90919063ffffffff16565b61100590919063ffffffff16565b93506000600354141561088d576108866002610878600187610fca90919063ffffffff16565b61100590919063ffffffff16565b92506108a7565b6108a460035460045461100590919063ffffffff16565b92505b6108bc8760045461103990919063ffffffff16565b6004819055506108d78660065461103990919063ffffffff16565b600681905550833411156109e65761091e60026109106001610902883461102090919063ffffffff16565b610fca90919063ffffffff16565b61100590919063ffffffff16565b9150610933838361100590919063ffffffff16565b905061098781600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461103990919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109df8160035461103990919063ffffffff16565b6003819055505b60056000815480929190600101919050555033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260088190555034600981905550836009541115610a5957836009819055505b7f28509951dc993ba7b496b468d64706535c28d1d872d3d452ae7bc9695dd7656f423334600954600554600654604051808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a15b50505050505050505050565b60045481565b606481565b6103e881565b600a81565b6000806000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111515610b5e57600080fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491506003548211151515610bae57fe5b610bd7600354610bc984600454610fca90919063ffffffff16565b61100590919063ffffffff16565b90503073ffffffffffffffffffffffffffffffffffffffff16318111151515610bfc57fe5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c568260035461102090919063ffffffff16565b600381905550610c718160045461102090919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610cb757600080fd5b7fcce21eda251c851dfe62c325d090fc0ad5c64a451311792b95157a0cc3fa199d42338484600354600454604051808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a15050565b600181565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a81565b60065481565b60016020528060005260406000206000915090505481565b61012c81565b600181565b600080600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111515610df257600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411151515610e5457fe5b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610f1b57600080fd5b7f9722cdc65dd852fc27a66eb73f3075ebafbfe00a914437ce1b7b8c8d9fcde127423383604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a150565b600281565b600181565b60095481565b60035481565b600181565b60085481565b60026020528060005260406000206000915090505481565b6000806000841415610fdf5760009150610ffe565b8284029050828482811515610ff057fe5b04141515610ffa57fe5b8091505b5092915050565b600080828481151561101357fe5b0490508091505092915050565b600082821115151561102e57fe5b818303905092915050565b600080828401905083811015151561104d57fe5b80915050929150505600a165627a7a723058206a3860580e219812c877a6fad79c83b2576e2b2dec7f42f399f44820fa2de25d0029

   Swarm Source:
bzzr://6a3860580e219812c877a6fad79c83b2576e2b2dec7f42f399f44820fa2de25d

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.