Sponsored Link:   Revain - How to find moon tokens to invest? See what crypto experts are saying. Read reviews!
Contract Overview
Balance: 14.906001024362344169 Ether
Ether Value: $10,599.36 (@ $711.08/ETH)
Transactions: 495 txns
 Latest 25 txns from a total Of 495 transactions
View All

TxHash Age From To Value [TxFee]
0x22ef2c67dab25d3e906df05596d46a8e17c9d81131a04e4191fb54c88fa01acf1 hr 41 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000946766176774 Ether0.000885264
0x2c0ee7ca2babacf6445017528bc3bc4079dd98455dbe28425d74035a86973b041 hr 41 mins ago0x015268ec66b8c0b5fc5028bb2bb68dfb813e215a  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000105613528666 Ether0.00036952
0x1cb615f3988015458ca13aabb30a18b7e5a0a5b66a915f08ef5313cabaa153352 hrs 12 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000947143344905 Ether0.000885264
0x2d172fc0540dc317fa547cc515c44744732edb43950264f03380003e443a102e2 hrs 12 mins ago0x015268ec66b8c0b5fc5028bb2bb68dfb813e215a  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000105613528666 Ether0.000295616
0x140e4a1840128041355962a534387aee2a4617f245bc0e2fb30214c51ea9f0e24 hrs 11 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001070464991532 Ether0.000886848
0x5dfc4a22f9dd5a1712a1eda9ada4eb2cbe108b96d5ab5f4d39b147a68945b10712 hrs 31 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001182837496038 Ether0.000886848
0x2ed88974740ac653048a4b196f7f37c96c1efa26b01eab288af839753a10032b20 hrs 51 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001307725258196 Ether0.000886944
0xb668f7cb390abf0b59da7334059a5136028731bd4e315d4fad9ad233ad6344b71 day 5 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001444903879764 Ether0.000886848
0x7b62a719e406948bb92527bbd5f4c18acd8fb0f6aaddba22b4ed1cf7bad0c3921 day 13 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001596452100301 Ether0.000886848
0x00c3ddb1068be9519f879b0de839486479e2f3aef9d4031d20dff70720285cde1 day 21 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001763691722097 Ether0.000886848
0x4fb6c19e188f3d9e53017b5867a153fdf68cda14c6c0857f0dce9d5215a7d2382 days 2 hrs ago0x6fd9a6a46f0e1465b88d0c8929fd827b50a7b514  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550 Ether0.0004537054
0xd1ab08fc903a0710281ae2b080ea9f1df8aff9c9db3b98a656417cb903e613002 days 6 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.00194640260606 Ether0.000886848
0x78ffbe1602da4907fe5e0de37c902a0bdcf59ac7a6ccfe2014bee36a24259bb82 days 14 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.002127441063228 Ether0.000886848
0xfcb5897b7e5caa3c3c847ad5fcafee609a218aa2ad742115fdffc4f81be8297d2 days 23 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.00211791046613 Ether0.000885264
0xe5defac0d5379720681b8e61e52c71752560df93b823b132d73a9c27d8de6a762 days 23 hrs ago0xfa85fdcce467a477a58867f1b42957c538a17cb6  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.000235839948871 Ether0.000665136
0x898d6e8575bbd0df43e94b6dda7b9e7f3e13b5ee99f85c0fbd4aa551913e03712 days 23 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.002114945735198 Ether0.000885264
0x5c747f6a8e5e5b42c12a0ff65ddb4cd766d9dc4a1387215813d1c586427499a82 days 23 hrs ago0xfa85fdcce467a477a58867f1b42957c538a17cb6  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.080768334381614 Ether0.000947277
0x4b3e7f2d6cd1eac2d1b816da27e2209fcda9764903fc46eb51a02337d92967ae3 days 59 mins ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001970626836789 Ether0.000886848
0xd345af46b571d71955a56bd0b51707b84ae98c7d55271615f0c2fcd4a69d97413 days 9 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.002178691914637 Ether0.000886944
0x2622a392096c98f1052f119ef96d9577c31956fc84ff20608aaccc667ddbef9d3 days 18 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.002646908087281 Ether0.000722024
0x546f1bece475ae82a83e5e4bbff5b03883fcda99eb7fa749f34002406a9db2174 days 13 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001027355509341 Ether0.000591296
0x66588def4f2aa63a9d8b567a32299cbff30cc92e22512018f0049cbdeb54e9675 days 17 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001139290833758 Ether0.000591296
0xc0bdcf3da64d27c56279b4f5927ba596503c788f020d663a0bfb7fbc2735d42c6 days 17 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001137300557781 Ether0.000590176
0x94deb8c1f5d784c6d6cf4626d4fe0e5456d1fa642fdf6b61ba3a5edd33b587466 days 17 hrs ago0x4f0d861281161f39c62b790995fb1e7a0b81b07b  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.01 Ether0.0009115553
0x96a287b4c24a48da68ec1cddf1a1b511ab0a9fe27c751f127b6198fbad689c267 days 9 hrs ago0xc96d9f8413e8b760d7d18c60cb9ab43bd16f56ee  IN   0xcc3935479af6703a287d84daaebc18c6b2322a550.001342928053944 Ether0.000591296
[ 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
0x4fb6c19e188f3d9e53017b5867a153fdf68cda14c6c0857f0dce9d5215a7d23856372632 days 2 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x6fd9a6a46f0e1465b88d0c8929fd827b50a7b5140.007890010292395507 Ether
0xefdd170ae95c990c12499bd551308baad1d0f20c10f2ac8fa93434df84354d20544760135 days 2 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xdc2d516c2eb8741f12df5b82e73a593c25e7f2da0.191507191505790966 Ether
0xc2ef0b5bc6575ec958fdcc307b54e3b655dc84b4fdfef2c17fcd8b2532692ad0541829840 days 1 hr ago0xcc3935479af6703a287d84daaebc18c6b2322a550xd8fa1a08fa1c1a4795028a0e6beac068a55a65ab0.076152587286817904 Ether
0xbedd43275257f0ebf0f52b1dcc4310892617d3a7236785d9305a3101626dec80540556942 days 3 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x172f820de0db7e26a5e7a70d322409199e2bfded0.900257649583434013 Ether
0x1c6873a92b34cb1a69daa0757b5d096302dec4cfaff04dcfcd084ef4f82b1914540522342 days 5 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xc1fd489d0eeafc1135d53bdb5ea2754dde03f52b0.279912042307454273 Ether
0x1b35ae60d9812b85ec9a86ce266bf4dae69962464d58559ef6f8d5271ebd38a8539469343 days 22 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xdc00c6d42397b672988fada754e2f53ef3db9f9a0.068086712993705093 Ether
0x172136aff16ecb735cfc6f8839acf842ed66754063804ebd42714ad4336c2261539147944 days 11 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xd17e2bfe196470a9fefb567e8f5992214eb42f241.375613074968752152 Ether
0x1354b5615240abf35e675f27c0ef589832004405b66e84225a2502d620e2e525539140644 days 11 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x588557dfe658dcd9809b9fa406e24e0c8ff549980.143607958375858741 Ether
0xfe2847c66065bc66b0da6cddcf8fe51a02b24cd194fecd962b75674db3c2ecba538470045 days 14 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x7c377b7bce53a5cef88458b2cbbe11c3babe16da0.696080562007693597 Ether
0x84e3d7f384a8ae573e221dd87b94f4bac94abfee705e3ced72b766c93f0f2aa6537452047 days 6 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x477ccd47d62a4929dd11651ab835e132c8eab3b80.000901368666582519 Ether
0x1168e95a571fedd8f1c28c33ebb1438bd45b81dd7782da68ed3dfa735e4e015e537451847 days 6 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x477ccd47d62a4929dd11651ab835e132c8eab3b81.383639759726875727 Ether
0x4f6698866b901b546a6f8b82e666f1d15359e02afcd5ca9e902d57997cde7f65536980348 days 1 hr ago0xcc3935479af6703a287d84daaebc18c6b2322a550x83c0efc6d8b16d87bfe1335ab6bcab3ed39602850.104526474084554664 Ether
0x07caf636ef2c9a5c5e0164ba084addaf93cfb1a9f4ffe45e839d94b4f055691a536156449 days 10 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x305ce3ca65d9b84b8561b0055ecaefeba2217fc80.313579422253663992 Ether
0x750fd3a97194e6ec6b27fe6f9dcac56179549ba47edd8c2e0ca42398a6c87241534805851 days 16 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xe52470bef1da70af094a91e326076c0bdca688ff0.208192316639587338 Ether
0xaf4ac3b724c6289ab3b6841965b1ebe9ccdb8ba235c282be1026dc46a384f1f4534462552 days 6 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x9d221b2100cbe5f05a0d2048e2556a6df6f9a6c30.014870879759970524 Ether
0xdf1bf7b1860bb90a3a5fc466c06378d6525ccc605719406ff51505e0826ece80534462552 days 6 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x9d221b2100cbe5f05a0d2048e2556a6df6f9a6c30.013820585953252878 Ether
0xeda6a2726efcfb2a89eca3b0982a4dcd96972173207e0dcdd650913dbc6fe96b531961056 days 11 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550xbaf444f03d2057e3f5fb4ac4b81567d20c6471a50.009543579185775317 Ether
0x5a3ba118828850f1c872f294ebf8fc495e729f4e052b19432f67d0b654697d03531036157 days 23 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x0e36a835ffff5cf64b4c99182470c7836c96b7530.139221735960886576 Ether
0x3a080ccec1ae5ab124aa60fd163608c8b5dfc7e11e134cdf09d4c0b02f3c8bcb530477958 days 22 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x6132e824e08b78eef93a58108b134971046371220.182814394051813333 Ether
0xe1276ef5f5e1887ff0f11f3cc1ec12eac6aeb82abe7558f2af6256429744b309530477858 days 22 hrs ago0xcc3935479af6703a287d84daaebc18c6b2322a550x031ce360526d6be64a3ed1e50b32889e1c7c21c50.182814394051813333 Ether
0x480e03f689a1ea32550561ab260fdb4776ed49fb6ba9096d6eabc671eeda5e63528761461 days 19 hrs ago0x4496becd422700fac30dd15a6664d3a8a41b9e7e0xcc3935479af6703a287d84daaebc18c6b2322a550.008884439727026959 Ether
0xf187c6a421255871d2b78f888e783dad7d9a5f03bb15e6c551c8950e8180745d528759861 days 19 hrs ago0x4496becd422700fac30dd15a6664d3a8a41b9e7e0xcc3935479af6703a287d84daaebc18c6b2322a550.008876403891685621 Ether
0x8b7b9f11088b826b2da8a49d696742992ab0c9b5c38a8d4e1c89def52881aaed528757661 days 19 hrs ago0x4496becd422700fac30dd15a6664d3a8a41b9e7e0xcc3935479af6703a287d84daaebc18c6b2322a550.008867489377742996 Ether
0xa3fec726355a7aedd8cfe49e20a635b96dc27fe490953324be80d39ad018f87a528755461 days 19 hrs ago0x4496becd422700fac30dd15a6664d3a8a41b9e7e0xcc3935479af6703a287d84daaebc18c6b2322a550.008859468873724737 Ether
0xe0cb4f0818251e5824a29565fb934ab5b4b8e02e62619d0c77734e6f9eebdfa8528752561 days 19 hrs ago0x4496becd422700fac30dd15a6664d3a8a41b9e7e0xcc3935479af6703a287d84daaebc18c6b2322a550.015 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: EtherHellHydrant
Compiler Version: 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 txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.