ETH Price: $1,911.65 (+4.64%)
 

Overview

ETH Balance

0.00610173237059268 ETH

Eth Value

$11.66 (@ $1,911.65/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sell72405022019-02-19 13:23:282562 days ago1550582608IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000276995
Withdraw67030052018-11-14 12:55:462659 days ago1542200146IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000209815
Sell66973192018-11-13 14:26:222660 days ago1542119182IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000492797
Withdraw61231102018-08-10 15:43:232755 days ago1533915803IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000209815
Withdraw61182342018-08-09 20:04:172756 days ago1533845057IN
0xe7BBBC53...4cd1D2B98
0 ETH0.0004782911
Sell61137992018-08-09 2:00:272757 days ago1533780027IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000146123
Withdraw61022132018-08-07 2:59:542759 days ago1533610794IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000130443
Sell61020632018-08-07 2:23:342759 days ago1533608614IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000146123
Withdraw60987682018-08-06 13:00:322759 days ago1533560432IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000086962
Sell60984082018-08-06 11:35:192759 days ago1533555319IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000097412
Withdraw60956652018-08-06 0:28:372760 days ago1533515317IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000086962
Withdraw60944622018-08-05 19:45:132760 days ago1533498313IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000041961
Withdraw60932692018-08-05 14:53:082760 days ago1533480788IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000056961.31
Transfer60916402018-08-05 8:17:302761 days ago1533457050IN
0xe7BBBC53...4cd1D2B98
0 ETH0.0003669810
Withdraw60916052018-08-05 8:09:132761 days ago1533456553IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000091384
Withdraw60914392018-08-05 7:30:282761 days ago1533454228IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000068533
Withdraw60914392018-08-05 7:30:282761 days ago1533454228IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000045692
Withdraw60914382018-08-05 7:30:012761 days ago1533454201IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000043481
Sell60914372018-08-05 7:29:262761 days ago1533454166IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000107692.211
Withdraw60906442018-08-05 4:10:182761 days ago1533442218IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000130443
Withdraw60905002018-08-05 3:33:222761 days ago1533440002IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000050351.2
Sell60896752018-08-05 0:13:562761 days ago1533428036IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000097412
Withdraw60875892018-08-04 15:41:032761 days ago1533397263IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000095652.2
Sell60875852018-08-04 15:40:332761 days ago1533397233IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000107152.2
Reinvest60875782018-08-04 15:38:572761 days ago1533397137IN
0xe7BBBC53...4cd1D2B98
0 ETH0.000182822.2
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Redistribution239095182025-11-30 5:53:5987 days ago1764482039
0xe7BBBC53...4cd1D2B98
0.00001009 ETH
Redistribution239000012025-11-28 21:58:2388 days ago1764367103
0xe7BBBC53...4cd1D2B98
0.00001166 ETH
Redistribution236741482025-10-28 6:30:11120 days ago1761633011
0xe7BBBC53...4cd1D2B98
0.00001362 ETH
Redistribution236074952025-10-18 22:25:59129 days ago1760826359
0xe7BBBC53...4cd1D2B98
0.00001613 ETH
Redistribution235724322025-10-14 0:41:35134 days ago1760402495
0xe7BBBC53...4cd1D2B98
0.0000194 ETH
Redistribution235072232025-10-04 21:53:47143 days ago1759614827
0xe7BBBC53...4cd1D2B98
0.00002378 ETH
Redistribution234647822025-09-28 23:30:23149 days ago1759102223
0xe7BBBC53...4cd1D2B98
0.00002983 ETH
Redistribution233367402025-09-11 2:08:47167 days ago1757556527
0xe7BBBC53...4cd1D2B98
0.00003851 ETH
Redistribution232873742025-09-04 4:31:35174 days ago1756960295
0xe7BBBC53...4cd1D2B98
0.00005164 ETH
Transfer232238872025-08-26 7:46:47183 days ago1756194407
0xe7BBBC53...4cd1D2B98
0.00103765 ETH
Redistribution231626412025-08-17 18:43:11191 days ago1755456191
0xe7BBBC53...4cd1D2B98
0.00007286 ETH
Redistribution231483622025-08-15 18:55:11193 days ago1755284111
0xe7BBBC53...4cd1D2B98
0.0000826 ETH
Redistribution231427172025-08-15 0:00:11194 days ago1755216011
0xe7BBBC53...4cd1D2B98
0.00016565 ETH
Redistribution231210732025-08-11 23:26:23197 days ago1754954783
0xe7BBBC53...4cd1D2B98
0.00032494 ETH
Redistribution230793352025-08-06 3:27:11203 days ago1754450831
0xe7BBBC53...4cd1D2B98
0.00092675 ETH
Redistribution230543512025-08-02 15:44:47206 days ago1754149487
0xe7BBBC53...4cd1D2B98
0.00181861 ETH
Redistribution229923822025-07-24 23:46:23215 days ago1753400783
0xe7BBBC53...4cd1D2B98
0.00015 ETH
Transfer61486722018-08-14 23:40:272751 days ago1534290027
0xe7BBBC53...4cd1D2B98
0.0000009 ETH
Transfer61310362018-08-11 23:42:252754 days ago1534030945
0xe7BBBC53...4cd1D2B98
0.00073643 ETH
Transfer61253272018-08-11 0:41:162755 days ago1533948076
0xe7BBBC53...4cd1D2B98
0.00117496 ETH
Transfer61183232018-08-09 20:26:102756 days ago1533846370
0xe7BBBC53...4cd1D2B98
0.00121738 ETH
Transfer61182342018-08-09 20:04:172756 days ago1533845057
0xe7BBBC53...4cd1D2B98
0.01949621 ETH
Transfer61177192018-08-09 17:58:352756 days ago1533837515
0xe7BBBC53...4cd1D2B98
0.00000849 ETH
Transfer61143892018-08-09 4:24:172757 days ago1533788657
0xe7BBBC53...4cd1D2B98
0.00321745 ETH
Transfer61085792018-08-08 4:58:502758 days ago1533704330
0xe7BBBC53...4cd1D2B98
0.00065707 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Lucky8d

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.20;

contract Lucky8d {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }

    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }

    // administrator can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty (How many tokens it costs to hold a masternode, in case it gets crazy high later)
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        require(msg.sender == owner);
        _;
    }

    modifier limitBuy() {
        if(limit && msg.value > 2 ether && msg.sender != owner) { // check if the transaction is over 2ether and limit is active
            if ((msg.value) < address(this).balance && (address(this).balance-(msg.value)) >= 50 ether) { // if contract reaches 50 ether disable limit
                limit = false;
            }
            else {
                revert(); // revert the transaction
            }
        }
        _;
    }

    /*==============================
    =            EVENTS            =
    ==============================*/
    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy
    );

    event onTokenSell(
        address indexed customerAddress,
        uint256 tokensBurned,
        uint256 ethereumEarned
    );

    event onReinvestment(
        address indexed customerAddress,
        uint256 ethereumReinvested,
        uint256 tokensMinted
    );

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

    event OnRedistribution (
        uint256 amount,
        uint256 timestamp
    );

    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );


    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "Lucky8D";
    string public symbol = "Lucky";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 20; // 20%
    uint256 constant internal tokenPriceInitial_ = 0.0000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether;
    uint256 constant internal magnitude = 2**64;

    // proof of stake (defaults at 10 tokens)
    uint256 public stakingRequirement = 0;



   /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => address) internal referralOf_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => bool) internal alreadyBought;
    uint256 internal tokenSupply_ = 0;
    uint256 internal profitPerShare_;
    mapping(address => bool) internal whitelisted_;
    bool internal whitelist_ = true;
    bool internal limit = true;

    address public owner;



    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --
    */
    constructor()
        public
    {
        owner = msg.sender;
        whitelisted_[msg.sender] = true;
        // WorldFomo Divs Account
        whitelisted_[0x8B4cE0C6021eb6AA43B854fB262E03F207e9ceBb] = true;

        whitelist_ = true;
    }


    /**
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
     */
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
        purchaseTokens(msg.value, _referredBy);
    }

    /**
     * Fallback function to handle ethereum that was send straight to the contract
     * Unfortunately we cannot use a referral address this way.
     */
    function()
        payable
        public
    {
        purchaseTokens(msg.value, 0x0);
    }

    /**
     * Converts all of caller's dividends to tokens.
     */
    function reinvest()
        onlyStronghands()
        public
    {
        // fetch dividends
        uint256 _dividends = myDividends(false); // retrieve ref. bonus later in the code

        // pay out the dividends virtually
        address _customerAddress = msg.sender;
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // retrieve ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // dispatch a buy order with the virtualized "withdrawn dividends"
        uint256 _tokens = purchaseTokens(_dividends, 0x0);

        // fire event
        emit onReinvestment(_customerAddress, _dividends, _tokens);
    }

    /**
     * Alias of sell() and withdraw().
     */
    function exit()
        public
    {
        // get token count for caller & sell them all
        address _customerAddress = msg.sender;
        uint256 _tokens = tokenBalanceLedger_[_customerAddress];
        if(_tokens > 0) sell(_tokens);

        // lambo delivery service
        withdraw();
    }

    /**
     * Withdraws all of the callers earnings.
     */
    function withdraw()
        onlyStronghands()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        uint256 _dividends = myDividends(false); // get ref. bonus later in the code

        // update dividend tracker
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // add ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // lambo delivery service
        _customerAddress.transfer(_dividends);

        // fire event
        emit onWithdraw(_customerAddress, _dividends);
    }

    /**
     * Liquifies tokens to ethereum.
     */
    function sell(uint256 _amountOfTokens)
        onlyBagholders()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        // russian hackers BTFO
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);

        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100); // 20% dividendFee_
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 2); // 50% of dividends: 10%
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);



        uint256 _taxedEthereum = SafeMath.sub(_ethereum, (_dividends));

        address _referredBy = referralOf_[_customerAddress];

        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != _customerAddress &&

            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ){

            // wealth redistribution
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], (_referralBonus / 2)); // Tier 1 gets 50% of referrals (5%)

            address tier2 = referralOf_[_referredBy];

            if (tier2 != 0x0000000000000000000000000000000000000000 && tokenBalanceLedger_[tier2] >= stakingRequirement) {
                referralBalance_[tier2] = SafeMath.add(referralBalance_[tier2], (_referralBonus*30 / 100)); // Tier 2 gets 30% of referrals (3%)

                //address tier3 = referralOf_[tier2];
                if (referralOf_[tier2] != 0x0000000000000000000000000000000000000000 && tokenBalanceLedger_[referralOf_[tier2]] >= stakingRequirement) {
                    referralBalance_[referralOf_[tier2]] = SafeMath.add(referralBalance_[referralOf_[tier2]], (_referralBonus*20 / 100)); // Tier 3 get 20% of referrals (2%)
                    }
                else {
                    _dividends = SafeMath.add(_dividends, (_referralBonus*20 / 100));
                }
            }
            else {
                _dividends = SafeMath.add(_dividends, (_referralBonus*30 / 100));
            }

        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
        }

        // burn the sold tokens
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokens);
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _tokens);

        // update dividends tracker
        int256 _updatedPayouts = (int256) (profitPerShare_ * _tokens + (_taxedEthereum * magnitude));
        payoutsTo_[_customerAddress] -= _updatedPayouts;

        // dividing by zero is a bad idea
        if (tokenSupply_ > 0) {
            // update the amount of dividends per token
            profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);
        }

        // fire event
        emit onTokenSell(_customerAddress, _tokens, _taxedEthereum);
    }

     /**
     * Transfer tokens from the caller to a new holder.
     * 0% fee.
     */
    function transfer(address _toAddress, uint256 _amountOfTokens)
        onlyBagholders()
        public
        returns(bool)
    {
        // setup
        address _customerAddress = msg.sender;

        // make sure we have the requested tokens
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);

        // withdraw all outstanding dividends first
        if(myDividends(true) > 0) withdraw();

        // exchange tokens
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _amountOfTokens);

        // update dividend trackers
        payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _amountOfTokens);

        // fire event
        emit Transfer(_customerAddress, _toAddress, _amountOfTokens);

        // ERC20
        return true;

    }

    /**
    * redistribution of dividends
     */
    function redistribution()
        external
        payable
    {
        // setup
        uint256 ethereum = msg.value;

        // disperse ethereum among holders
        profitPerShare_ = SafeMath.add(profitPerShare_, (ethereum * magnitude) / tokenSupply_);

        // fire event
        emit OnRedistribution(ethereum, block.timestamp);
    }

    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _newAdmin)
        onlyAdministrator()
        external
    {
        owner = _newAdmin;
    }

    /**
     * Precautionary measures in case we need to adjust the masternode rate.
     */
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setSymbol(string _symbol)
        onlyAdministrator()
        public
    {
        symbol = _symbol;
    }


    /*----------  HELPERS AND CALCULATORS  ----------*/
    /**
     * Method to view the current Ethereum stored in the contract
     * Example: totalEthereumBalance()
     */
    function totalEthereumBalance()
        public
        view
        returns(uint)
    {
        return address(this).balance;
    }

    /**
     * Retrieve the total token supply.
     */
    function totalSupply()
        public
        view
        returns(uint256)
    {
        return tokenSupply_;
    }

    /**
     * Retrieve the tokens owned by the caller.
     */
    function myTokens()
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return balanceOf(_customerAddress);
    }

    /**
     * Retrieve the dividends owned by the caller.
     * If `_includeReferralBonus` is to to 1/true, the referral bonus will be included in the calculations.
     * The reason for this, is that in the frontend, we will want to get the total divs (global + ref)
     * But in the internal calculations, we want them separate.
     */
    function myDividends(bool _includeReferralBonus)
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
    }

    /**
     * Retrieve the token balance of any single address.
     */
    function balanceOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return tokenBalanceLedger_[_customerAddress];
    }

    /**
     * Retrieve the dividend balance of any single address.
     */
    function dividendsOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return (uint256) ((int256)(profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude;
    }

    /**
     * Return the buy price of 1 individual token.
     */
    function sellPrice()
        public
        view
        returns(uint256)
    {
        // our calculation relies on the token supply, so we need supply. Doh.
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_),100);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }

    /**
     * Return the sell price of 1 individual token.
     */
    function buyPrice()
        public
        view
        returns(uint256)
    {
        // our calculation relies on the token supply, so we need supply. Doh.
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ + tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_),100);
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }

    /**
     * Function for the frontend to dynamically retrieve the price scaling of buy orders.
     */
    function calculateTokensReceived(uint256 _ethereumToSpend)
        public
        view
        returns(uint256)
    {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereumToSpend, dividendFee_),100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        return _amountOfTokens;
    }

    /**
     * Function for the frontend to dynamically retrieve the price scaling of sell orders.
     */
    function calculateEthereumReceived(uint256 _tokensToSell)
        public
        view
        returns(uint256)
    {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        uint256 _dividends =  SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }

    function disableWhitelist() onlyAdministrator() external {
        whitelist_ = false;
    }

    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        limitBuy()
        internal
        returns(uint256)
    {

        //As long as the whitelist is true, only whitelisted people are allowed to buy.

        // if the person is not whitelisted but whitelist is true/active, revert the transaction
        if (whitelisted_[msg.sender] == false && whitelist_ == true) {
            revert();
        }
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, dividendFee_), 100); // 20% dividendFee_


        uint256 _referralBonus = SafeMath.div(_undividedDividends, 2); // 50% of dividends: 10%

        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);

        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, (_undividedDividends));
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;


        // no point in continuing execution if OP is a poorfag russian hacker
        // prevents overflow in the case that the pyramid somehow magically starts being used by everyone in the world
        // (or hackers)
        // and yes we know that the safemath function automatically rules out the "greater then" equasion.
        require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_));

        // is the user referred by a masternode?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != _customerAddress &&

            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= stakingRequirement &&

            referralOf_[_customerAddress] == 0x0000000000000000000000000000000000000000 &&

            alreadyBought[_customerAddress] == false
        ){
            referralOf_[_customerAddress] = _referredBy;

            // wealth redistribution
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], (_referralBonus / 2)); // Tier 1 gets 50% of referrals (5%)

            address tier2 = referralOf_[_referredBy];

            if (tier2 != 0x0000000000000000000000000000000000000000 && tokenBalanceLedger_[tier2] >= stakingRequirement) {
                referralBalance_[tier2] = SafeMath.add(referralBalance_[tier2], (_referralBonus*30 / 100)); // Tier 2 gets 30% of referrals (3%)

                //address tier3 = referralOf_[tier2];

                if (referralOf_[tier2] != 0x0000000000000000000000000000000000000000 && tokenBalanceLedger_[referralOf_[tier2]] >= stakingRequirement) {
                    referralBalance_[referralOf_[tier2]] = SafeMath.add(referralBalance_[referralOf_[tier2]], (_referralBonus*20 / 100)); // Tier 3 get 20% of referrals (2%)
                    }
                else {
                    _dividends = SafeMath.add(_dividends, (_referralBonus*20 / 100));
                    _fee = _dividends * magnitude;
                }
            }
            else {
                _dividends = SafeMath.add(_dividends, (_referralBonus*30 / 100));
                _fee = _dividends * magnitude;
            }

        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }

        // we can't give people infinite ethereum
        if(tokenSupply_ > 0){

            // add tokens to the pool
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);

            // take the amount of dividends gained through this transaction, and allocates them evenly to each shareholder
            profitPerShare_ += (_dividends * magnitude / (tokenSupply_));

            // calculate the amount of tokens the customer receives over his purchase
            _fee = _fee - (_fee-(_amountOfTokens * (_dividends * magnitude / (tokenSupply_))));

        } else {
            // add tokens to the pool
            tokenSupply_ = _amountOfTokens;
        }

        // update circulating supply & the ledger address for the customer
        tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);

        // Tells the contract that the buyer doesn't deserve dividends for the tokens before they owned them;
        //really i know you think you do but you don't
        int256 _updatedPayouts = (int256) ((profitPerShare_ * _amountOfTokens) - _fee);
        payoutsTo_[_customerAddress] += _updatedPayouts;
        alreadyBought[_customerAddress] = true;
        // fire event
        emit onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy);

        return _amountOfTokens;
    }

    /**
     * Calculate Token price based on an amount of incoming ethereum
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
    function ethereumToTokens_(uint256 _ethereum)
        internal
        view
        returns(uint256)
    {
        uint256 _tokenPriceInitial = tokenPriceInitial_ * 1e18;
        uint256 _tokensReceived =
         (
            (
                // underflow attempts BTFO
                SafeMath.sub(
                    (sqrt
                        (
                            (_tokenPriceInitial**2)
                            +
                            (2*(tokenPriceIncremental_ * 1e18)*(_ethereum * 1e18))
                            +
                            (((tokenPriceIncremental_)**2)*(tokenSupply_**2))
                            +
                            (2*(tokenPriceIncremental_)*_tokenPriceInitial*tokenSupply_)
                        )
                    ), _tokenPriceInitial
                )
            )/(tokenPriceIncremental_)
        )-(tokenSupply_)
        ;

        return _tokensReceived;
    }

    /**
     * Calculate token sell value.
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
    function tokensToEthereum_(uint256 _tokens)
        internal
        view
        returns(uint256)
    {

        uint256 tokens_ = (_tokens + 1e18);
        uint256 _tokenSupply = (tokenSupply_ + 1e18);
        uint256 _etherReceived =
        (
            // underflow attempts BTFO
            SafeMath.sub(
                (
                    (
                        (
                            tokenPriceInitial_ +(tokenPriceIncremental_ * (_tokenSupply/1e18))
                        )-tokenPriceIncremental_
                    )*(tokens_ - 1e18)
                ),(tokenPriceIncremental_*((tokens_**2-tokens_)/1e18))/2
            )
        /1e18);
        return _etherReceived;
    }


    //This is where all your gas goes, sorry
    //Not sorry, you probably only paid 1 gwei
    function sqrt(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

/**
 * @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 Security Audit

Contract ABI

API
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"disableWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"redistribution","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"OnRedistribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

60c0604052600760808190527f4c75636b7938440000000000000000000000000000000000000000000000000060a090815262000040916000919062000142565b506040805180820190915260058082527f4c75636b790000000000000000000000000000000000000000000000000000006020909201918252620000879160019162000142565b5060006002819055600855600b805461ff001960ff1990911660011716610100179055348015620000b757600080fd5b50600b80546201000060b060020a031916336201000081029190911782556000908152600a60205260408120805460ff199081166001908117909255738b4ce0c6021eb6aa43b854fb262e03f207e9cebb9092527fc8695fec9ee6e8e06a0dcfdff50056aa0d29ff66f68ef6b88fb90fd1f0e41f6f80548316821790558254909116179055620001e7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018557805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b557825182559160200191906001019062000198565b50620001c3929150620001c7565b5090565b620001e491905b80821115620001c35760008155600101620001ce565b90565b6117da80620001f76000396000f30060806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd146102405780632260937314610255578063313ce5671461026d5780633ccfd60b146102985780634b750334146102af57806356d399e8146102c4578063688abbf7146102d95780636b2f4632146102f357806370a08231146103085780638328b610146103295780638620410b146103415780638da5cb5b14610356578063949e8acd1461038757806395d89b411461039c578063a9059cbb146103b1578063b84c8246146103e9578063c47f002714610442578063d6b0f4841461049b578063df8089ef146104b0578063e37b346d146104d1578063e4849b32146104d9578063e9fad8ee146104f1578063f088d54714610506578063fdb5a03e1461051a575b61016834600061052f565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610ace565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610b09565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610b97565b34801561024c57600080fd5b5061018c610bca565b34801561026157600080fd5b5061018c600435610bd1565b34801561027957600080fd5b50610282610c0d565b6040805160ff9092168252519081900360200190f35b3480156102a457600080fd5b506102ad610c12565b005b3480156102bb57600080fd5b5061018c610ce5565b3480156102d057600080fd5b5061018c610d3c565b3480156102e557600080fd5b5061018c6004351515610d42565b3480156102ff57600080fd5b5061018c610d85565b34801561031457600080fd5b5061018c600160a060020a0360043516610d8a565b34801561033557600080fd5b506102ad600435610da5565b34801561034d57600080fd5b5061018c610dc7565b34801561036257600080fd5b5061036b610e12565b60408051600160a060020a039092168252519081900360200190f35b34801561039357600080fd5b5061018c610e27565b3480156103a857600080fd5b506101b3610e3a565b3480156103bd57600080fd5b506103d5600160a060020a0360043516602435610e94565b604080519115158252519081900360200190f35b3480156103f557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102ad943694929360249392840191908190840183828082843750949750610fc39650505050505050565b34801561044e57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102ad943694929360249392840191908190840183828082843750949750610ff79650505050505050565b3480156104a757600080fd5b506102ad611027565b3480156104bc57600080fd5b506102ad600160a060020a0360043516611050565b6102ad6110a4565b3480156104e557600080fd5b506102ad600435611105565b3480156104fd57600080fd5b506102ad611492565b61018c600160a060020a03600435166114bb565b34801561052657600080fd5b506102ad6114c7565b600080600080600080600080600080600b60019054906101000a900460ff1680156105615750671bc16d674ec8000034115b801561057e5750600b54620100009004600160a060020a03163314155b156105b95730313410801561059f57506802b5e3af16b18800003430310310155b156105b457600b805461ff00191690556105b9565b600080fd5b336000908152600a602052604090205460ff161580156105e05750600b5460ff1615156001145b156105ea57600080fd5b3398506106026105fb8d601461157d565b60646115af565b975061060f8860026115af565b965061061b88886115c6565b95506106278c896115c6565b9450610632856115d8565b9350680100000000000000008602925060008411801561065c575060085461065a8582611670565b115b151561066757600080fd5b600160a060020a038b1615801590610691575088600160a060020a03168b600160a060020a031614155b80156106b75750600254600160a060020a038c1660009081526003602052604090205410155b80156106db5750600160a060020a03808a1660009081526004602052604090205416155b80156107005750600160a060020a03891660009081526007602052604090205460ff16155b15610920578a600460008b600160a060020a0316600160a060020a0316815260200190815260200160002060006101000a815481600160a060020a030219169083600160a060020a0316021790555061078a600560008d600160a060020a0316600160a060020a031681526020019081526020016000205460028981151561078457fe5b04611670565b600160a060020a03808d1660009081526005602090815260408083209490945560049052919091205416915081158015906107df5750600254600160a060020a03831660009081526003602052604090205410155b156108fb57600160a060020a03821660009081526005602052604090205461080c906064601e8a02610784565b600160a060020a03808416600090815260056020908152604080832094909455600490529190912054161580159061086d5750600254600160a060020a03808416600090815260046020908152604080832054909316825260039052205410155b156108d657600160a060020a0380831660009081526004602090815260408083205490931682526005905220546108a990606460148a02610784565b600160a060020a0380841660009081526004602090815260408083205490931682526005905220556108f6565b6108e586606460148a02610784565b955068010000000000000000860292505b61091b565b61090a866064601e8a02610784565b955068010000000000000000860292505b61093b565b61092a8688611670565b955068010000000000000000860292505b6000600854111561099f5761095260085485611670565b600881905568010000000000000000870281151561096c57fe5b6009805492909104909101905560085468010000000000000000870281151561099157fe5b0484028303830392506109a5565b60088490555b600160a060020a0389166000908152600360205260409020546109c89085611670565b600360008b600160a060020a0316600160a060020a031681526020019081526020016000208190555082846009540203905080600660008b600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055506001600760008b600160a060020a0316600160a060020a0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508a600160a060020a031689600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e87604051808381526020018281526020019250505060405180910390a350919a9950505050505050505050565b600160a060020a0316600090815260066020908152604080832054600390925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b505050505081565b6000808080610baa6105fb86601461157d565b9250610bb685846115c6565b9150610bc1826115d8565b95945050505050565b6008545b90565b6000806000806008548511151515610be857600080fd5b610bf18561167f565b9250610c016105fb84601461157d565b9150610bc183836115c6565b601281565b6000806000610c216001610d42565b11610c2b57600080fd5b339150610c386000610d42565b600160a060020a038316600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610ca1573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60008060008060085460001415610d03576414f46b04009350610d36565b610d14670de0b6b3a764000061167f565b9250610d246105fb84601461157d565b9150610d3083836115c6565b90508093505b50505090565b60025481565b60003382610d5857610d5381610ace565b610d7c565b600160a060020a038116600090815260056020526040902054610d7a82610ace565b015b91505b50919050565b303190565b600160a060020a031660009081526003602052604090205490565b600b54620100009004600160a060020a03163314610dc257600080fd5b600255565b60008060008060085460001415610de55764199c82cc009350610d36565b610df6670de0b6b3a764000061167f565b9250610e066105fb84601461157d565b9150610d308383611670565b600b54620100009004600160a060020a031681565b600033610e3381610d8a565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b6000806000610ea1610e27565b11610eab57600080fd5b5033600081815260036020526040902054831115610ec857600080fd5b6000610ed46001610d42565b1115610ee257610ee2610c12565b600160a060020a038116600090815260036020526040902054610f0590846115c6565b600160a060020a038083166000908152600360205260408082209390935590861681522054610f349084611670565b600160a060020a0385811660008181526003602090815260408083209590955560098054948716808452600683528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b600b54620100009004600160a060020a03163314610fe057600080fd5b8051610ff3906001906020840190611720565b5050565b600b54620100009004600160a060020a0316331461101457600080fd5b8051610ff3906000906020840190611720565b600b54620100009004600160a060020a0316331461104457600080fd5b600b805460ff19169055565b600b54620100009004600160a060020a0316331461106d57600080fd5b600b8054600160a060020a03909216620100000275ffffffffffffffffffffffffffffffffffffffff000019909216919091179055565b60095460085434916110c59168010000000000000000840281151561078457fe5b6009556040805182815242602082015281517fcda2c9671a954c8617003d284779b6b0948f2771e11316c5db1510d0d634e542929181900390910190a150565b600080600080600080600080600080600061111e610e27565b1161112857600080fd5b33600081815260036020526040902054909a508b111561114757600080fd5b8a98506111538961167f565b97506111636105fb89601461157d565b96506111708760026115af565b955061117c87876115c6565b945061118888866115c6565b600160a060020a03808c1660009081526004602052604090205491955016925082158015906111c9575089600160a060020a031683600160a060020a031614155b80156111ef5750600254600160a060020a03841660009081526003602052604090205410155b1561139357600160a060020a03831660009081526005602052604090205461121990600288610784565b600160a060020a03808516600090815260056020908152604080832094909455600490529190912054169150811580159061126e5750600254600160a060020a03831660009081526003602052604090205410155b1561137c57600160a060020a03821660009081526005602052604090205461129b906064601e8902610784565b600160a060020a0380841660009081526005602090815260408083209490945560049052919091205416158015906112fc5750600254600160a060020a03808416600090815260046020908152604080832054909316825260039052205410155b1561136557600160a060020a03808316600090815260046020908152604080832054909316825260059052205461133890606460148902610784565b600160a060020a038084166000908152600460209081526040808320549093168252600590522055611377565b61137485606460148902610784565b94505b61138e565b61138b856064601e8902610784565b94505b6113a0565b61139d8587611670565b94505b6113ac6008548a6115c6565b600855600160a060020a038a166000908152600360205260409020546113d2908a6115c6565b600160a060020a038b1660009081526003602090815260408083209390935560095460069091529181208054928c026801000000000000000088020192839003905560085491925010156114425761143e60095460085468010000000000000000880281151561078457fe5b6009555b604080518a8152602081018690528151600160a060020a038d16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050505050565b33600081815260036020526040812054908111156114b3576114b381611105565b610ff3610c12565b6000610d7f348361052f565b6000806000806114d76001610d42565b116114e157600080fd5b6114eb6000610d42565b3360008181526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061152d90849061052f565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000808315156115905760009150610fbc565b508282028284828115156115a057fe5b04146115a857fe5b9392505050565b60008082848115156115bd57fe5b04949350505050565b6000828211156115d257fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061165d611657730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016116eb565b856115c6565b81151561166657fe5b0403949350505050565b6000828201838110156115a857fe5b600854600090670de0b6b3a76400008381019181019083906116d86414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156116d257fe5b046115c6565b8115156116e157fe5b0495945050505050565b80600260018201045b81811015610d7f57809150600281828581151561170d57fe5b040181151561171857fe5b0490506116f4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061176157805160ff191683800117855561178e565b8280016001018555821561178e579182015b8281111561178e578251825591602001919060010190611773565b50610e3692610bce9250905b80821115610e36576000815560010161179a5600a165627a7a72305820cf679a151fc1679da194bb387c338d2e09fff31f26e508ac1a37d75161aed58a0029

Deployed Bytecode

0x60806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd146102405780632260937314610255578063313ce5671461026d5780633ccfd60b146102985780634b750334146102af57806356d399e8146102c4578063688abbf7146102d95780636b2f4632146102f357806370a08231146103085780638328b610146103295780638620410b146103415780638da5cb5b14610356578063949e8acd1461038757806395d89b411461039c578063a9059cbb146103b1578063b84c8246146103e9578063c47f002714610442578063d6b0f4841461049b578063df8089ef146104b0578063e37b346d146104d1578063e4849b32146104d9578063e9fad8ee146104f1578063f088d54714610506578063fdb5a03e1461051a575b61016834600061052f565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610ace565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610b09565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610b97565b34801561024c57600080fd5b5061018c610bca565b34801561026157600080fd5b5061018c600435610bd1565b34801561027957600080fd5b50610282610c0d565b6040805160ff9092168252519081900360200190f35b3480156102a457600080fd5b506102ad610c12565b005b3480156102bb57600080fd5b5061018c610ce5565b3480156102d057600080fd5b5061018c610d3c565b3480156102e557600080fd5b5061018c6004351515610d42565b3480156102ff57600080fd5b5061018c610d85565b34801561031457600080fd5b5061018c600160a060020a0360043516610d8a565b34801561033557600080fd5b506102ad600435610da5565b34801561034d57600080fd5b5061018c610dc7565b34801561036257600080fd5b5061036b610e12565b60408051600160a060020a039092168252519081900360200190f35b34801561039357600080fd5b5061018c610e27565b3480156103a857600080fd5b506101b3610e3a565b3480156103bd57600080fd5b506103d5600160a060020a0360043516602435610e94565b604080519115158252519081900360200190f35b3480156103f557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102ad943694929360249392840191908190840183828082843750949750610fc39650505050505050565b34801561044e57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102ad943694929360249392840191908190840183828082843750949750610ff79650505050505050565b3480156104a757600080fd5b506102ad611027565b3480156104bc57600080fd5b506102ad600160a060020a0360043516611050565b6102ad6110a4565b3480156104e557600080fd5b506102ad600435611105565b3480156104fd57600080fd5b506102ad611492565b61018c600160a060020a03600435166114bb565b34801561052657600080fd5b506102ad6114c7565b600080600080600080600080600080600b60019054906101000a900460ff1680156105615750671bc16d674ec8000034115b801561057e5750600b54620100009004600160a060020a03163314155b156105b95730313410801561059f57506802b5e3af16b18800003430310310155b156105b457600b805461ff00191690556105b9565b600080fd5b336000908152600a602052604090205460ff161580156105e05750600b5460ff1615156001145b156105ea57600080fd5b3398506106026105fb8d601461157d565b60646115af565b975061060f8860026115af565b965061061b88886115c6565b95506106278c896115c6565b9450610632856115d8565b9350680100000000000000008602925060008411801561065c575060085461065a8582611670565b115b151561066757600080fd5b600160a060020a038b1615801590610691575088600160a060020a03168b600160a060020a031614155b80156106b75750600254600160a060020a038c1660009081526003602052604090205410155b80156106db5750600160a060020a03808a1660009081526004602052604090205416155b80156107005750600160a060020a03891660009081526007602052604090205460ff16155b15610920578a600460008b600160a060020a0316600160a060020a0316815260200190815260200160002060006101000a815481600160a060020a030219169083600160a060020a0316021790555061078a600560008d600160a060020a0316600160a060020a031681526020019081526020016000205460028981151561078457fe5b04611670565b600160a060020a03808d1660009081526005602090815260408083209490945560049052919091205416915081158015906107df5750600254600160a060020a03831660009081526003602052604090205410155b156108fb57600160a060020a03821660009081526005602052604090205461080c906064601e8a02610784565b600160a060020a03808416600090815260056020908152604080832094909455600490529190912054161580159061086d5750600254600160a060020a03808416600090815260046020908152604080832054909316825260039052205410155b156108d657600160a060020a0380831660009081526004602090815260408083205490931682526005905220546108a990606460148a02610784565b600160a060020a0380841660009081526004602090815260408083205490931682526005905220556108f6565b6108e586606460148a02610784565b955068010000000000000000860292505b61091b565b61090a866064601e8a02610784565b955068010000000000000000860292505b61093b565b61092a8688611670565b955068010000000000000000860292505b6000600854111561099f5761095260085485611670565b600881905568010000000000000000870281151561096c57fe5b6009805492909104909101905560085468010000000000000000870281151561099157fe5b0484028303830392506109a5565b60088490555b600160a060020a0389166000908152600360205260409020546109c89085611670565b600360008b600160a060020a0316600160a060020a031681526020019081526020016000208190555082846009540203905080600660008b600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055506001600760008b600160a060020a0316600160a060020a0316815260200190815260200160002060006101000a81548160ff0219169083151502179055508a600160a060020a031689600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e87604051808381526020018281526020019250505060405180910390a350919a9950505050505050505050565b600160a060020a0316600090815260066020908152604080832054600390925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b505050505081565b6000808080610baa6105fb86601461157d565b9250610bb685846115c6565b9150610bc1826115d8565b95945050505050565b6008545b90565b6000806000806008548511151515610be857600080fd5b610bf18561167f565b9250610c016105fb84601461157d565b9150610bc183836115c6565b601281565b6000806000610c216001610d42565b11610c2b57600080fd5b339150610c386000610d42565b600160a060020a038316600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610ca1573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60008060008060085460001415610d03576414f46b04009350610d36565b610d14670de0b6b3a764000061167f565b9250610d246105fb84601461157d565b9150610d3083836115c6565b90508093505b50505090565b60025481565b60003382610d5857610d5381610ace565b610d7c565b600160a060020a038116600090815260056020526040902054610d7a82610ace565b015b91505b50919050565b303190565b600160a060020a031660009081526003602052604090205490565b600b54620100009004600160a060020a03163314610dc257600080fd5b600255565b60008060008060085460001415610de55764199c82cc009350610d36565b610df6670de0b6b3a764000061167f565b9250610e066105fb84601461157d565b9150610d308383611670565b600b54620100009004600160a060020a031681565b600033610e3381610d8a565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b6000806000610ea1610e27565b11610eab57600080fd5b5033600081815260036020526040902054831115610ec857600080fd5b6000610ed46001610d42565b1115610ee257610ee2610c12565b600160a060020a038116600090815260036020526040902054610f0590846115c6565b600160a060020a038083166000908152600360205260408082209390935590861681522054610f349084611670565b600160a060020a0385811660008181526003602090815260408083209590955560098054948716808452600683528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b600b54620100009004600160a060020a03163314610fe057600080fd5b8051610ff3906001906020840190611720565b5050565b600b54620100009004600160a060020a0316331461101457600080fd5b8051610ff3906000906020840190611720565b600b54620100009004600160a060020a0316331461104457600080fd5b600b805460ff19169055565b600b54620100009004600160a060020a0316331461106d57600080fd5b600b8054600160a060020a03909216620100000275ffffffffffffffffffffffffffffffffffffffff000019909216919091179055565b60095460085434916110c59168010000000000000000840281151561078457fe5b6009556040805182815242602082015281517fcda2c9671a954c8617003d284779b6b0948f2771e11316c5db1510d0d634e542929181900390910190a150565b600080600080600080600080600080600061111e610e27565b1161112857600080fd5b33600081815260036020526040902054909a508b111561114757600080fd5b8a98506111538961167f565b97506111636105fb89601461157d565b96506111708760026115af565b955061117c87876115c6565b945061118888866115c6565b600160a060020a03808c1660009081526004602052604090205491955016925082158015906111c9575089600160a060020a031683600160a060020a031614155b80156111ef5750600254600160a060020a03841660009081526003602052604090205410155b1561139357600160a060020a03831660009081526005602052604090205461121990600288610784565b600160a060020a03808516600090815260056020908152604080832094909455600490529190912054169150811580159061126e5750600254600160a060020a03831660009081526003602052604090205410155b1561137c57600160a060020a03821660009081526005602052604090205461129b906064601e8902610784565b600160a060020a0380841660009081526005602090815260408083209490945560049052919091205416158015906112fc5750600254600160a060020a03808416600090815260046020908152604080832054909316825260039052205410155b1561136557600160a060020a03808316600090815260046020908152604080832054909316825260059052205461133890606460148902610784565b600160a060020a038084166000908152600460209081526040808320549093168252600590522055611377565b61137485606460148902610784565b94505b61138e565b61138b856064601e8902610784565b94505b6113a0565b61139d8587611670565b94505b6113ac6008548a6115c6565b600855600160a060020a038a166000908152600360205260409020546113d2908a6115c6565b600160a060020a038b1660009081526003602090815260408083209390935560095460069091529181208054928c026801000000000000000088020192839003905560085491925010156114425761143e60095460085468010000000000000000880281151561078457fe5b6009555b604080518a8152602081018690528151600160a060020a038d16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050505050565b33600081815260036020526040812054908111156114b3576114b381611105565b610ff3610c12565b6000610d7f348361052f565b6000806000806114d76001610d42565b116114e157600080fd5b6114eb6000610d42565b3360008181526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061152d90849061052f565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000808315156115905760009150610fbc565b508282028284828115156115a057fe5b04146115a857fe5b9392505050565b60008082848115156115bd57fe5b04949350505050565b6000828211156115d257fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061165d611657730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016116eb565b856115c6565b81151561166657fe5b0403949350505050565b6000828201838110156115a857fe5b600854600090670de0b6b3a76400008381019181019083906116d86414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156116d257fe5b046115c6565b8115156116e157fe5b0495945050505050565b80600260018201045b81811015610d7f57809150600281828581151561170d57fe5b040181151561171857fe5b0490506116f4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061176157805160ff191683800117855561178e565b8280016001018555821561178e579182015b8281111561178e578251825591602001919060010190611773565b50610e3692610bce9250905b80821115610e36576000815560010161179a5600a165627a7a72305820cf679a151fc1679da194bb387c338d2e09fff31f26e508ac1a37d75161aed58a0029

Swarm Source

bzzr://cf679a151fc1679da194bb387c338d2e09fff31f26e508ac1a37d75161aed58a

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.