ETH Price: $3,076.53 (-1.19%)

Contract

0x097581495f8F7b34Ab4a0C8E48644117BA4393c2
 

Overview

ETH Balance

0.00001352633254942 ETH

Eth Value

$0.04 (@ $3,076.53/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit67510212018-11-22 10:03:182190 days ago1542880998IN
0x09758149...7BA4393c2
0 ETH0.000445876
Exit67509922018-11-22 9:57:422190 days ago1542880662IN
0x09758149...7BA4393c2
0 ETH0.00066
Exit67509722018-11-22 9:52:572190 days ago1542880377IN
0x09758149...7BA4393c2
0 ETH0.000484226
Exit67509282018-11-22 9:43:562190 days ago1542879836IN
0x09758149...7BA4393c2
0 ETH0.000484226
Transfer67157302018-11-16 14:33:272196 days ago1542378807IN
0x09758149...7BA4393c2
0.6 ETH0.0015248810
Transfer67157162018-11-16 14:30:422196 days ago1542378642IN
0x09758149...7BA4393c2
0.025 ETH0.0015236710
Transfer67157112018-11-16 14:30:222196 days ago1542378622IN
0x09758149...7BA4393c2
0.5 ETH0.0043960530
Transfer67156132018-11-16 14:06:232196 days ago1542377183IN
0x09758149...7BA4393c2
0.5 ETH0.000153137
Transfer67156032018-11-16 14:04:032196 days ago1542377043IN
0x09758149...7BA4393c2
0.5 ETH0.000153137
Transfer67156012018-11-16 14:03:532196 days ago1542377033IN
0x09758149...7BA4393c2
0.5 ETH0.0004594121
Transfer67155902018-11-16 14:00:382196 days ago1542376838IN
0x09758149...7BA4393c2
0.025 ETH0.000153137
Transfer67155772018-11-16 13:57:552196 days ago1542376675IN
0x09758149...7BA4393c2
0.03058653 ETH0.0001266
0x60c0604067155682018-11-16 13:55:582196 days ago1542376558IN
 Create: NeverEndingToken
0 ETH0.0292874613

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
67510212018-11-22 10:03:182190 days ago1542880998
0x09758149...7BA4393c2
0.0225455 ETH
67510212018-11-22 10:03:182190 days ago1542880998
0x09758149...7BA4393c2
0.00000234 ETH
67510212018-11-22 10:03:182190 days ago1542880998
0x09758149...7BA4393c2
0.00000234 ETH
67510212018-11-22 10:03:182190 days ago1542880998
0x09758149...7BA4393c2
0.00000234 ETH
67509922018-11-22 9:57:422190 days ago1542880662
0x09758149...7BA4393c2
0.00000234 ETH
67509922018-11-22 9:57:422190 days ago1542880662
0x09758149...7BA4393c2
0.00000234 ETH
67509922018-11-22 9:57:422190 days ago1542880662
0x09758149...7BA4393c2
0.00000234 ETH
67509722018-11-22 9:52:572190 days ago1542880377
0x09758149...7BA4393c2
0.53289578 ETH
67509722018-11-22 9:52:572190 days ago1542880377
0x09758149...7BA4393c2
0.00404014 ETH
67509722018-11-22 9:52:572190 days ago1542880377
0x09758149...7BA4393c2
0.00404014 ETH
67509722018-11-22 9:52:572190 days ago1542880377
0x09758149...7BA4393c2
0.00404014 ETH
67509282018-11-22 9:43:562190 days ago1542879836
0x09758149...7BA4393c2
0.45355774 ETH
67509282018-11-22 9:43:562190 days ago1542879836
0x09758149...7BA4393c2
0.00461999 ETH
67509282018-11-22 9:43:562190 days ago1542879836
0x09758149...7BA4393c2
0.00461999 ETH
67509282018-11-22 9:43:562190 days ago1542879836
0x09758149...7BA4393c2
0.00461999 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.006 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.006 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.006 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.006 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.006 ETH
67157302018-11-16 14:33:272196 days ago1542378807
0x09758149...7BA4393c2
0.018 ETH
67157162018-11-16 14:30:422196 days ago1542378642
0x09758149...7BA4393c2
0.00025 ETH
67157162018-11-16 14:30:422196 days ago1542378642
0x09758149...7BA4393c2
0.00025 ETH
67157162018-11-16 14:30:422196 days ago1542378642
0x09758149...7BA4393c2
0.00025 ETH
67157162018-11-16 14:30:422196 days ago1542378642
0x09758149...7BA4393c2
0.00025 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NeverEndingToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.25;

contract NeverEndingToken {


    /*=================================
    =            MODIFIERS            =
    =================================*/

    /// @dev Only people with tokens
    modifier onlyBagholders {
        require(myTokens() > 0);
        _;
    }

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


    /*==============================
    =            EVENTS            =
    ==============================*/

    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy,
        uint timestamp,
        uint256 price
    );

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

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

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

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


    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/

    string public name = "Never Ending Token";
    string public symbol = "NET"; // (Never Ending Token)
    uint8 constant public decimals = 18;

    /// @dev 15% dividends for token purchase
    uint8 constant internal entryFee_ = 15;

    /// @dev 4% dividends for token transfer
    uint8 constant internal transferFee_ = 4;

    /// @dev 5% dividends for token selling
    uint8 constant internal exitFee_ = 5;

    /// @dev 35% masternode
    uint8 constant internal refferalFee_ = 35;

    uint256 constant internal tokenPriceInitial_ = 0.000000000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.0000000000009 ether;
    uint256 constant internal magnitude = 2 ** 64;

    /// @dev 100 Never Ending App Tokens needed for masternode activation
    uint256 public stakingRequirement = 100e18;
    
    // 8% Total extra fee to keep the FOMO going
    
    // Dev (3%)
    address internal devFeeAddress = 0xBf7da5d6236ad9A375E5121466bc6b0925E6CbB7;
    // Yes we need to pay for marketing (1% buy)
    address internal marketingFeeAddress = 0xBf7da5d6236ad9A375E5121466bc6b0925E6CbB7;
    // To make it rain dividends once in a while (1% sell)
    address internal feedingFeeAddress = 0x5aFa2A530B83E239261Aa46C6c29c9dF371FAA62;
    // Website and community runners (1% buy)
    address internal employeeFeeAddress1 = 0xa4940d54f21cb7d28ddfcd6c058a428704c08360; 
    // Admin/Moderator
    address internal employeeFeeAddress2 = 0xBf7da5d6236ad9A375E5121466bc6b0925E6CbB7;
    // Admin/Moderator
    address internal employeeFeeAddress3 = 0x5aFa2A530B83E239261Aa46C6c29c9dF371FAA62;
    
    address internal admin;
    mapping(address => bool) internal ambassadors_;


   /*=================================
    =            DATASETS            =
    ================================*/

    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    uint256 internal tokenSupply_;
    uint256 internal profitPerShare_;
    uint256 constant internal ambassadorMaxPurchase_ = 0.55 ether;
    uint256 constant internal ambassadorQuota_ = 500 ether;
    bool public onlyAmbassadors = true;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    
    uint ACTIVATION_TIME = 1542378600;
    
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        if (now >= ACTIVATION_TIME) {
            onlyAmbassadors = false;
        }
        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol 
        if(onlyAmbassadors){
            require(
                // is the customer in the ambassador list?
                (ambassadors_[msg.sender] == true &&
                
                // does the customer purchase exceed the max ambassador quota?
                (ambassadorAccumulatedQuota_[msg.sender] + _amountOfEthereum) <= ambassadorMaxPurchase_)
                
            );
            
            // updated the accumulated quota    
            ambassadorAccumulatedQuota_[msg.sender] = SafeMath.add(ambassadorAccumulatedQuota_[msg.sender], _amountOfEthereum);
        
            // execute
            _;
        }else{
            onlyAmbassadors=false;
            _;
        }
        
    }
    
    
    function NeverEndingApp() public{
        admin=msg.sender;
                
        ambassadors_[0x77c192342F25a364FB17C25cdDddb194a8d34991] = true; // 
        ambassadors_[0xE206201116978a48080C4b65cFA4ae9f03DA3F0D] = true; // 
        ambassadors_[0x21adD73393635b26710C7689519a98b09ecdc474] = true; // 
        ambassadors_[0xEc31176d4df0509115abC8065A8a3F8275aafF2b] = true; // 
        ambassadors_[0xc7F15d0238d207e19cce6bd6C0B85f343896F046] = true; //
        ambassadors_[0xBa21d01125D6932ce8ABf3625977899Fd2C7fa30] = true; //
        ambassadors_[0x2277715856C6d9E0181BA01d21e059f76C79f2bD] = true; //
        ambassadors_[0xB1dB0FB75Df1cfb37FD7fF0D7189Ddd0A68C9AAF] = true; //
        ambassadors_[0xEafE863757a2b2a2c5C3f71988b7D59329d09A78] = true; //
        ambassadors_[0xBf7da5d6236ad9A375E5121466bc6b0925E6CbB7] = true; // 
        ambassadors_[0xB19772e5E8229aC499C67E820Db53BF52dbaf0dE] = true; //        
        ambassadors_[0x42830382f378d083A8Ae55Eb729A9d789fA4dEA6] = true; //
        ambassadors_[0x87f7a5708e384407B4ED494bE1ff22aE68aB11F9] = true; //
        ambassadors_[0x53e1eB6a53d9354d43155f76861C5a2AC80ef361] = true; //  
        ambassadors_[0x267fa9F2F846da2c7A07eCeCc52dF7F493589098] = true; // 
        
        

    }
    
  function disableAmbassadorPhase() public{
        require(admin==msg.sender);
        onlyAmbassadors=false;
    }
    
  function changeEmployee1(address _employeeAddress1) public{
        require(admin==msg.sender);
        employeeFeeAddress1=_employeeAddress1;
    }
    
  function changeEmployee2(address _employeeAddress2) public{
        require(admin==msg.sender);
        employeeFeeAddress2=_employeeAddress2;
    }
    
  function changeEmployee3(address _employeeAddress3) public{
        require(admin==msg.sender);
        employeeFeeAddress3=_employeeAddress3;
    }
    
  function changeMarketing(address _marketingAddress) public{
        require(admin==msg.sender);
        marketingFeeAddress=_marketingAddress;
    }
    
    /*=======================================
    =            PUBLIC FUNCTIONS           =
    =======================================*/

    /// @dev 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);
    }

    /**
     * @dev 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);
    }

    /// @dev 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
         onReinvestment(_customerAddress, _dividends, _tokens);
    }

    /// @dev 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();
    }

    /// @dev 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
         onWithdraw(_customerAddress, _dividends);
    }

    /// @dev 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 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee_), 100);
        uint256 _devFee = SafeMath.div(SafeMath.mul(_ethereum, 1), 100);
        uint256 _marketingFee = SafeMath.div(SafeMath.mul(_ethereum, 1), 100);
        uint256 _feedingFee = SafeMath.div(SafeMath.mul(_ethereum, 1), 100);
        
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _devFee), _marketingFee), _feedingFee);

        // 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_);
        }
        devFeeAddress.transfer(_devFee);
        marketingFeeAddress.transfer(_marketingFee);
        feedingFeeAddress.transfer(_feedingFee);
        // fire event
         onTokenSell(_customerAddress, _tokens, _taxedEthereum, now, buyPrice());
       
    }


    /**
     * @dev Transfer tokens from the caller to a new holder.
     *  Remember, there's a 5% fee here as well.
     */
    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();
        }

        // liquify 5% of the tokens that are transfered
        // these are dispersed to shareholders
        uint256 _tokenFee = SafeMath.div(SafeMath.mul(_amountOfTokens, transferFee_), 100);
        uint256 _taxedTokens = SafeMath.sub(_amountOfTokens, _tokenFee);
        uint256 _dividends = tokensToEthereum_(_tokenFee);

        // burn the fee tokens
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokenFee);

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

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

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

        // fire event
         Transfer(_customerAddress, _toAddress, _taxedTokens);

        // ERC20
        return true;
    }


    /*=====================================
    =      HELPERS AND CALCULATORS        =
    =====================================*/

    /**
     * @dev Method to view the current Ethereum stored in the contract
     *  Example: totalEthereumBalance()
     */
    function totalEthereumBalance() public view returns (uint256) {
        return this.balance;
    }

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

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

    /**
     * @dev 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) ;
    }

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

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

    /// @dev Return the sell 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, exitFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

            return _taxedEthereum;
        }
    }

    /// @dev Return the buy 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, entryFee_), 100);
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);

            return _taxedEthereum;
        }
    }

    /// @dev 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, entryFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        return _amountOfTokens;
    }

    /// @dev 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, exitFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }


    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/

    /// @dev Internal function to actually purchase the tokens.
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy) antiEarlyWhale(_incomingEthereum)
       internal returns (uint256) {
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, entryFee_), 100);
        uint256 _referralBonus = SafeMath.div(SafeMath.mul(_undividedDividends, refferalFee_), 100);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 3), 100));
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        _taxedEthereum = SafeMath.sub(_taxedEthereum, SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        
        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
        ) {
            // wealth redistribution
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
        } 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;

        // fire event
         onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy, now, buyPrice());
        devFeeAddress.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 3), 100));
        marketingFeeAddress.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        feedingFeeAddress.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        employeeFeeAddress1.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        employeeFeeAddress2.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        employeeFeeAddress3.transfer(SafeMath.div(SafeMath.mul(_incomingEthereum, 1), 100));
        return _amountOfTokens;
    }

    /**
     * @dev 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;
    }

    /**
     * @dev 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;
    }

    /// @dev This is where all your gas goes.
    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 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

[{"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":"onlyAmbassadors","outputs":[{"name":"","type":"bool"}],"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":"disableAmbassadorPhase","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_employeeAddress1","type":"address"}],"name":"changeEmployee1","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_employeeAddress3","type":"address"}],"name":"changeEmployee3","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_marketingAddress","type":"address"}],"name":"changeMarketing","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"NeverEndingApp","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_employeeAddress2","type":"address"}],"name":"changeEmployee2","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"},{"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"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"}],"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"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","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":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

60c0604052601260808190527f4e6576657220456e64696e6720546f6b656e000000000000000000000000000060a09081526200004091600091906200014a565b506040805180820190915260038082527f4e45540000000000000000000000000000000000000000000000000000000000602090920191825262000087916001916200014a565b5068056bc75e2d6310000060025560038054600160a060020a031990811673bf7da5d6236ad9a375e5121466bc6b0925e6cbb790811790925560048054821683179055600580548216735afa2a530b83e239261aa46c6c29c9df371faa6290811790915560068054831673a4940d54f21cb7d28ddfcd6c058a428704c083601790556007805483169093179092556008805490911690911790556010805460ff19166001179055635beed4686012553480156200014357600080fd5b50620001ef565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018d57805160ff1916838001178555620001bd565b82800160010185558215620001bd579182015b82811115620001bd578251825591602001919060010190620001a0565b50620001cb929150620001cf565b5090565b620001ec91905b80821115620001cb5760008155600101620001d6565b90565b611caf80620001ff6000396000f30060806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd14610240578063226093731461025557806327defa1f1461026d578063313ce56714610296578063330ae38f146102c15780633ccfd60b146102d85780634b750334146102ed57806356d399e814610302578063688abbf7146103175780636b2f46321461033157806370a082311461034657806371d1995e146103675780637eb8d948146103885780638620410b146103a95780638d7dd837146103be578063949e8acd146103df57806395d89b41146103f4578063a9059cbb14610409578063ddbe7c411461042d578063e4849b3214610442578063e995064e1461045a578063e9fad8ee1461047b578063f088d54714610490578063fdb5a03e146104a4575b6101683460006104b9565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610e79565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610eb4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610f42565b34801561024c57600080fd5b5061018c610f75565b34801561026157600080fd5b5061018c600435610f7b565b34801561027957600080fd5b50610282610fb7565b604080519115158252519081900360200190f35b3480156102a257600080fd5b506102ab610fc0565b6040805160ff9092168252519081900360200190f35b3480156102cd57600080fd5b506102d6610fc5565b005b3480156102e457600080fd5b506102d6610fe8565b3480156102f957600080fd5b5061018c6110bb565b34801561030e57600080fd5b5061018c611110565b34801561032357600080fd5b5061018c6004351515611116565b34801561033d57600080fd5b5061018c611159565b34801561035257600080fd5b5061018c600160a060020a036004351661115e565b34801561037357600080fd5b506102d6600160a060020a0360043516611179565b34801561039457600080fd5b506102d6600160a060020a03600435166111bf565b3480156103b557600080fd5b5061018c611205565b3480156103ca57600080fd5b506102d6600160a060020a036004351661124e565b3480156103eb57600080fd5b5061018c611294565b34801561040057600080fd5b506101b36112a6565b34801561041557600080fd5b50610282600160a060020a0360043516602435611300565b34801561043957600080fd5b506102d66114a3565b34801561044e57600080fd5b506102d6600435611752565b34801561046657600080fd5b506102d6600160a060020a03600435166119c1565b34801561048757600080fd5b506102d6611a07565b61018c600160a060020a0360043516611a34565b3480156104b057600080fd5b506102d6611a40565b60008060008060008060008060008a601254421015156104de576010805460ff191690555b60105460ff16156109e757336000908152600a602052604090205460ff16151560011480156105275750336000908152601160205260409020546707a1fe160277000090820111155b151561053257600080fd5b3360009081526011602052604090205461054c9082611af6565b33600081815260116020526040902091909155985061057661056f8d600f611b10565b6064611b3b565b975061058661056f896023611b10565b96506105928888611b52565b955061059e8c89611b52565b94506105b7856105b261056f8f6003611b10565b611b52565b94506105cb856105b261056f8f6001611b10565b94506105df856105b261056f8f6001611b10565b94506105f3856105b261056f8f6001611b10565b9450610607856105b261056f8f6001611b10565b945061061b856105b261056f8f6001611b10565b945061062685611b64565b935068010000000000000000860292506000841180156106505750600e5461064e8582611af6565b115b151561065b57600080fd5b600160a060020a038b1615801590610685575088600160a060020a03168b600160a060020a031614155b80156106ab5750600254600160a060020a038c166000908152600b602052604090205410155b156106f157600160a060020a038b166000908152600c60205260409020546106d39088611af6565b600160a060020a038c166000908152600c602052604090205561070c565b6106fb8688611af6565b955068010000000000000000860292505b6000600e54111561077057610723600e5485611af6565b600e81905568010000000000000000870281151561073d57fe5b600f8054929091049091019055600e5468010000000000000000870281151561076257fe5b048402830383039250610776565b600e8490555b600160a060020a0389166000908152600b60205260409020546107999085611af6565b600160a060020a03808b166000818152600b6020908152604080832095909555600f54600d909152939020805493880287900393840190559193508c16907f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e8742610803611205565b604080519485526020850193909352838301919091526060830152519081900360800190a3600360009054906101000a9004600160a060020a0316600160a060020a03166108fc61085861056f8f6003611b10565b6040518115909202916000818181858888f19350505050158015610880573d6000803e3d6000fd5b50600454600160a060020a03166108fc61089e61056f8f6001611b10565b6040518115909202916000818181858888f193505050501580156108c6573d6000803e3d6000fd5b50600554600160a060020a03166108fc6108e461056f8f6001611b10565b6040518115909202916000818181858888f1935050505015801561090c573d6000803e3d6000fd5b50600654600160a060020a03166108fc61092a61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610952573d6000803e3d6000fd5b50600754600160a060020a03166108fc61097061056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610998573d6000803e3d6000fd5b50600854600160a060020a03166108fc6109b661056f8f6001611b10565b6040518115909202916000818181858888f193505050501580156109de573d6000803e3d6000fd5b50839950610e6a565b6010805460ff19169055339850610a0261056f8d600f611b10565b9750610a1261056f896023611b10565b9650610a1e8888611b52565b9550610a2a8c89611b52565b9450610a3e856105b261056f8f6003611b10565b9450610a52856105b261056f8f6001611b10565b9450610a66856105b261056f8f6001611b10565b9450610a7a856105b261056f8f6001611b10565b9450610a8e856105b261056f8f6001611b10565b9450610aa2856105b261056f8f6001611b10565b9450610aad85611b64565b93506801000000000000000086029250600084118015610ad75750600e54610ad58582611af6565b115b1515610ae257600080fd5b600160a060020a038b1615801590610b0c575088600160a060020a03168b600160a060020a031614155b8015610b325750600254600160a060020a038c166000908152600b602052604090205410155b15610b7857600160a060020a038b166000908152600c6020526040902054610b5a9088611af6565b600160a060020a038c166000908152600c6020526040902055610b93565b610b828688611af6565b955068010000000000000000860292505b6000600e541115610bf757610baa600e5485611af6565b600e819055680100000000000000008702811515610bc457fe5b600f8054929091049091019055600e54680100000000000000008702811515610be957fe5b048402830383039250610bfd565b600e8490555b600160a060020a0389166000908152600b6020526040902054610c209085611af6565b600160a060020a03808b166000818152600b6020908152604080832095909555600f54600d909152939020805493880287900393840190559193508c16907f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e8742610c8a611205565b604080519485526020850193909352838301919091526060830152519081900360800190a3600360009054906101000a9004600160a060020a0316600160a060020a03166108fc610cdf61056f8f6003611b10565b6040518115909202916000818181858888f19350505050158015610d07573d6000803e3d6000fd5b50600454600160a060020a03166108fc610d2561056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610d4d573d6000803e3d6000fd5b50600554600160a060020a03166108fc610d6b61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610d93573d6000803e3d6000fd5b50600654600160a060020a03166108fc610db161056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610dd9573d6000803e3d6000fd5b50600754600160a060020a03166108fc610df761056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610e1f573d6000803e3d6000fd5b50600854600160a060020a03166108fc610e3d61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610e65573d6000803e3d6000fd5b508399505b50505050505050505092915050565b600160a060020a03166000908152600d6020908152604080832054600b90925290912054600f54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b820191906000526020600020905b815481529060010190602001808311610f1d57829003601f168201915b505050505081565b6000808080610f5561056f86600f611b10565b9250610f618584611b52565b9150610f6c82611b64565b95945050505050565b600e5490565b600080600080600e548511151515610f9257600080fd5b610f9b85611be8565b9250610fab61056f846005611b10565b9150610f6c8383611b52565b60105460ff1681565b601281565b600954600160a060020a03163314610fdc57600080fd5b6010805460ff19169055565b6000806000610ff76001611116565b1161100157600080fd5b33915061100e6000611116565b600160a060020a0383166000818152600d602090815260408083208054680100000000000000008702019055600c909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015611077573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600080600080600e54600014156110d757620186a0935061110a565b6110e8670de0b6b3a7640000611be8565b92506110f861056f846005611b10565b91506111048383611b52565b90508093505b50505090565b60025481565b6000338261112c5761112781610e79565b611150565b600160a060020a0381166000908152600c602052604090205461114e82610e79565b015b91505b50919050565b303190565b600160a060020a03166000908152600b602052604090205490565b600954600160a060020a0316331461119057600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600954600160a060020a031633146111d657600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080600080600e546000141561122157621cfde0935061110a565b611232670de0b6b3a7640000611be8565b925061124261056f84600f611b10565b91506111048383611af6565b600954600160a060020a0316331461126557600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000336112a08161115e565b91505090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b600080600080600080611311611294565b1161131b57600080fd5b336000818152600b602052604090205490945086111561133a57600080fd5b60006113466001611116565b111561135457611354610fe8565b61136261056f876004611b10565b925061136e8684611b52565b915061137983611be8565b9050611387600e5484611b52565b600e55600160a060020a0384166000908152600b60205260409020546113ad9087611b52565b600160a060020a038086166000908152600b602052604080822093909355908916815220546113dc9083611af6565b600160a060020a038881166000818152600b6020908152604080832095909555600f8054948a168352600d9091528482208054948c02909403909355825491815292909220805492850290920190915554600e54611450919068010000000000000000840281151561144a57fe5b04611af6565b600f55604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b6009805473ffffffffffffffffffffffffffffffffffffffff191633179055600a6020527f3f7c616033cdbcd60022aae81b275cc9b21483e7295fa9b3980cc930d8f8789d805460ff1990811660019081179092557fe8d8b1b66bed6136c7f5bb831d39779fd59c98fe4d5e9c1dac1451ecb11e258180548216831790557f0888719f30741e4a074b7421687abf806816792f487666e1daa3419c4c84fb4f80548216831790557f26e87e13491326ad34cc4739c36dd70fed713dfe21bc677675d66934658eeb8480548216831790557f9d32f8c6c7b7610e1ac436ab920e1cdc934ef67069ef7dea4aa5f489e2ea9e2a80548216831790557fde7c3e38f366235dcbfad74c36afe5060ba99747b5a4b399b631605dce60e89b80548216831790557fa56f36a7d202da45bd8edf8f459950bff8fb1e4c65df02528f10d2a82f839b6c80548216831790557f684ee09286a6717184c52e88579ffd24f8f7c814b54cecf2b4dec87270adef9b80548216831790557f34dcad4d6e8dbd09803618df5abb8d0b60e1f177474efef1502b7ca1572c7e6680548216831790557fa65b65dd6b033ead4b493d5e3610a61ae8f7bc31f4663d3284c3196a1d91ef8f80548216831790557fc8a75084a8e351669d2fa7001e321bf867a03d58e4c9f0438322fc7dd035321b80548216831790557f69ba62c08ff2b4ec8d52b6298c386334b4c73c4244e228b36f9761609ba00ea280548216831790557f9d7bffb4dc955b9ab7dbb8943371f7b50f743b02a4b8f538ac449a76d1fd7e8a80548216831790557fcc086d9acffa753ab204c95702dadb0b5b48ac32e23b8393c2e2b8b0b36f7847805482168317905573267fa9f2f846da2c7a07ececc52df7f4935890986000527fc88c0b95193ceac074f487cbce52ae19218a3b620574c249c554531f96fe16f980549091169091179055565b600080600080600080600080600080611769611294565b1161177357600080fd5b336000818152600b60205260409020549099508a111561179257600080fd5b89975061179e88611be8565b96506117ae61056f886005611b10565b95506117be61056f886001611b10565b94506117ce61056f886001611b10565b93506117de61056f886001611b10565b92506118056117ff6117f96117f38a8a611b52565b88611b52565b86611b52565b84611b52565b9150611813600e5489611b52565b600e55600160a060020a0389166000908152600b60205260409020546118399089611b52565b600160a060020a038a166000908152600b6020908152604080832093909355600f54600d9091529181208054928b0268010000000000000000860201928390039055600e5491925010156118a9576118a5600f54600e5468010000000000000000890281151561144a57fe5b600f555b600354604051600160a060020a039091169086156108fc029087906000818181858888f193505050501580156118e3573d6000803e3d6000fd5b50600454604051600160a060020a039091169085156108fc029086906000818181858888f1935050505015801561191e573d6000803e3d6000fd5b50600554604051600160a060020a039091169084156108fc029085906000818181858888f19350505050158015611959573d6000803e3d6000fd5b5088600160a060020a03167f8d3a0130073dbd54ab6ac632c05946df540553d3b514c9f8165b4ab7f2b1805e898442611990611205565b604080519485526020850193909352838301919091526060830152519081900360800190a250505050505050505050565b600954600160a060020a031633146119d857600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b336000818152600b602052604081205490811115611a2857611a2881611752565b611a30610fe8565b5050565b600061115334836104b9565b600080600080611a506001611116565b11611a5a57600080fd5b611a646000611116565b336000818152600d602090815260408083208054680100000000000000008702019055600c909152812080549082905590920194509250611aa69084906104b9565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b600082820183811015611b0557fe5b8091505b5092915050565b600080831515611b235760009150611b09565b50828202828482811515611b3357fe5b0414611b0557fe5b6000808284811515611b4957fe5b04949350505050565b600082821115611b5e57fe5b50900390565b600e5460009069d3c21bcecceda1000000908290620dbba0611bd5611bcf7114a9b97dfd5d23d6c4bec088340000000000880264bc97c324006002860a02016c16b81d1a43b205ac3f4000000085020173af298d050e4395d69670b12b7f4100000000000001611c4e565b85611b52565b811515611bde57fe5b0403949350505050565b600e54600090670de0b6b3a7640000838101918101908390611c3b620186a0828504620dbba002018702600283670de0b6b3a763ffff1982890a8b90030104620dbba002811515611c3557fe5b04611b52565b811515611c4457fe5b0495945050505050565b80600260018201045b81811015611153578091506002818285811515611c7057fe5b0401811515611c7b57fe5b049050611c575600a165627a7a72305820e83797de09b0034a8fa3c2f47f67a8b6d202968c62dfa240183af67b72f75f870029

Deployed Bytecode

0x60806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd14610240578063226093731461025557806327defa1f1461026d578063313ce56714610296578063330ae38f146102c15780633ccfd60b146102d85780634b750334146102ed57806356d399e814610302578063688abbf7146103175780636b2f46321461033157806370a082311461034657806371d1995e146103675780637eb8d948146103885780638620410b146103a95780638d7dd837146103be578063949e8acd146103df57806395d89b41146103f4578063a9059cbb14610409578063ddbe7c411461042d578063e4849b3214610442578063e995064e1461045a578063e9fad8ee1461047b578063f088d54714610490578063fdb5a03e146104a4575b6101683460006104b9565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610e79565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610eb4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610f42565b34801561024c57600080fd5b5061018c610f75565b34801561026157600080fd5b5061018c600435610f7b565b34801561027957600080fd5b50610282610fb7565b604080519115158252519081900360200190f35b3480156102a257600080fd5b506102ab610fc0565b6040805160ff9092168252519081900360200190f35b3480156102cd57600080fd5b506102d6610fc5565b005b3480156102e457600080fd5b506102d6610fe8565b3480156102f957600080fd5b5061018c6110bb565b34801561030e57600080fd5b5061018c611110565b34801561032357600080fd5b5061018c6004351515611116565b34801561033d57600080fd5b5061018c611159565b34801561035257600080fd5b5061018c600160a060020a036004351661115e565b34801561037357600080fd5b506102d6600160a060020a0360043516611179565b34801561039457600080fd5b506102d6600160a060020a03600435166111bf565b3480156103b557600080fd5b5061018c611205565b3480156103ca57600080fd5b506102d6600160a060020a036004351661124e565b3480156103eb57600080fd5b5061018c611294565b34801561040057600080fd5b506101b36112a6565b34801561041557600080fd5b50610282600160a060020a0360043516602435611300565b34801561043957600080fd5b506102d66114a3565b34801561044e57600080fd5b506102d6600435611752565b34801561046657600080fd5b506102d6600160a060020a03600435166119c1565b34801561048757600080fd5b506102d6611a07565b61018c600160a060020a0360043516611a34565b3480156104b057600080fd5b506102d6611a40565b60008060008060008060008060008a601254421015156104de576010805460ff191690555b60105460ff16156109e757336000908152600a602052604090205460ff16151560011480156105275750336000908152601160205260409020546707a1fe160277000090820111155b151561053257600080fd5b3360009081526011602052604090205461054c9082611af6565b33600081815260116020526040902091909155985061057661056f8d600f611b10565b6064611b3b565b975061058661056f896023611b10565b96506105928888611b52565b955061059e8c89611b52565b94506105b7856105b261056f8f6003611b10565b611b52565b94506105cb856105b261056f8f6001611b10565b94506105df856105b261056f8f6001611b10565b94506105f3856105b261056f8f6001611b10565b9450610607856105b261056f8f6001611b10565b945061061b856105b261056f8f6001611b10565b945061062685611b64565b935068010000000000000000860292506000841180156106505750600e5461064e8582611af6565b115b151561065b57600080fd5b600160a060020a038b1615801590610685575088600160a060020a03168b600160a060020a031614155b80156106ab5750600254600160a060020a038c166000908152600b602052604090205410155b156106f157600160a060020a038b166000908152600c60205260409020546106d39088611af6565b600160a060020a038c166000908152600c602052604090205561070c565b6106fb8688611af6565b955068010000000000000000860292505b6000600e54111561077057610723600e5485611af6565b600e81905568010000000000000000870281151561073d57fe5b600f8054929091049091019055600e5468010000000000000000870281151561076257fe5b048402830383039250610776565b600e8490555b600160a060020a0389166000908152600b60205260409020546107999085611af6565b600160a060020a03808b166000818152600b6020908152604080832095909555600f54600d909152939020805493880287900393840190559193508c16907f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e8742610803611205565b604080519485526020850193909352838301919091526060830152519081900360800190a3600360009054906101000a9004600160a060020a0316600160a060020a03166108fc61085861056f8f6003611b10565b6040518115909202916000818181858888f19350505050158015610880573d6000803e3d6000fd5b50600454600160a060020a03166108fc61089e61056f8f6001611b10565b6040518115909202916000818181858888f193505050501580156108c6573d6000803e3d6000fd5b50600554600160a060020a03166108fc6108e461056f8f6001611b10565b6040518115909202916000818181858888f1935050505015801561090c573d6000803e3d6000fd5b50600654600160a060020a03166108fc61092a61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610952573d6000803e3d6000fd5b50600754600160a060020a03166108fc61097061056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610998573d6000803e3d6000fd5b50600854600160a060020a03166108fc6109b661056f8f6001611b10565b6040518115909202916000818181858888f193505050501580156109de573d6000803e3d6000fd5b50839950610e6a565b6010805460ff19169055339850610a0261056f8d600f611b10565b9750610a1261056f896023611b10565b9650610a1e8888611b52565b9550610a2a8c89611b52565b9450610a3e856105b261056f8f6003611b10565b9450610a52856105b261056f8f6001611b10565b9450610a66856105b261056f8f6001611b10565b9450610a7a856105b261056f8f6001611b10565b9450610a8e856105b261056f8f6001611b10565b9450610aa2856105b261056f8f6001611b10565b9450610aad85611b64565b93506801000000000000000086029250600084118015610ad75750600e54610ad58582611af6565b115b1515610ae257600080fd5b600160a060020a038b1615801590610b0c575088600160a060020a03168b600160a060020a031614155b8015610b325750600254600160a060020a038c166000908152600b602052604090205410155b15610b7857600160a060020a038b166000908152600c6020526040902054610b5a9088611af6565b600160a060020a038c166000908152600c6020526040902055610b93565b610b828688611af6565b955068010000000000000000860292505b6000600e541115610bf757610baa600e5485611af6565b600e819055680100000000000000008702811515610bc457fe5b600f8054929091049091019055600e54680100000000000000008702811515610be957fe5b048402830383039250610bfd565b600e8490555b600160a060020a0389166000908152600b6020526040902054610c209085611af6565b600160a060020a03808b166000818152600b6020908152604080832095909555600f54600d909152939020805493880287900393840190559193508c16907f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e8742610c8a611205565b604080519485526020850193909352838301919091526060830152519081900360800190a3600360009054906101000a9004600160a060020a0316600160a060020a03166108fc610cdf61056f8f6003611b10565b6040518115909202916000818181858888f19350505050158015610d07573d6000803e3d6000fd5b50600454600160a060020a03166108fc610d2561056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610d4d573d6000803e3d6000fd5b50600554600160a060020a03166108fc610d6b61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610d93573d6000803e3d6000fd5b50600654600160a060020a03166108fc610db161056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610dd9573d6000803e3d6000fd5b50600754600160a060020a03166108fc610df761056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610e1f573d6000803e3d6000fd5b50600854600160a060020a03166108fc610e3d61056f8f6001611b10565b6040518115909202916000818181858888f19350505050158015610e65573d6000803e3d6000fd5b508399505b50505050505050505092915050565b600160a060020a03166000908152600d6020908152604080832054600b90925290912054600f54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b820191906000526020600020905b815481529060010190602001808311610f1d57829003601f168201915b505050505081565b6000808080610f5561056f86600f611b10565b9250610f618584611b52565b9150610f6c82611b64565b95945050505050565b600e5490565b600080600080600e548511151515610f9257600080fd5b610f9b85611be8565b9250610fab61056f846005611b10565b9150610f6c8383611b52565b60105460ff1681565b601281565b600954600160a060020a03163314610fdc57600080fd5b6010805460ff19169055565b6000806000610ff76001611116565b1161100157600080fd5b33915061100e6000611116565b600160a060020a0383166000818152600d602090815260408083208054680100000000000000008702019055600c909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015611077573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600080600080600e54600014156110d757620186a0935061110a565b6110e8670de0b6b3a7640000611be8565b92506110f861056f846005611b10565b91506111048383611b52565b90508093505b50505090565b60025481565b6000338261112c5761112781610e79565b611150565b600160a060020a0381166000908152600c602052604090205461114e82610e79565b015b91505b50919050565b303190565b600160a060020a03166000908152600b602052604090205490565b600954600160a060020a0316331461119057600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600954600160a060020a031633146111d657600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080600080600e546000141561122157621cfde0935061110a565b611232670de0b6b3a7640000611be8565b925061124261056f84600f611b10565b91506111048383611af6565b600954600160a060020a0316331461126557600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000336112a08161115e565b91505090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f3a5780601f10610f0f57610100808354040283529160200191610f3a565b600080600080600080611311611294565b1161131b57600080fd5b336000818152600b602052604090205490945086111561133a57600080fd5b60006113466001611116565b111561135457611354610fe8565b61136261056f876004611b10565b925061136e8684611b52565b915061137983611be8565b9050611387600e5484611b52565b600e55600160a060020a0384166000908152600b60205260409020546113ad9087611b52565b600160a060020a038086166000908152600b602052604080822093909355908916815220546113dc9083611af6565b600160a060020a038881166000818152600b6020908152604080832095909555600f8054948a168352600d9091528482208054948c02909403909355825491815292909220805492850290920190915554600e54611450919068010000000000000000840281151561144a57fe5b04611af6565b600f55604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b6009805473ffffffffffffffffffffffffffffffffffffffff191633179055600a6020527f3f7c616033cdbcd60022aae81b275cc9b21483e7295fa9b3980cc930d8f8789d805460ff1990811660019081179092557fe8d8b1b66bed6136c7f5bb831d39779fd59c98fe4d5e9c1dac1451ecb11e258180548216831790557f0888719f30741e4a074b7421687abf806816792f487666e1daa3419c4c84fb4f80548216831790557f26e87e13491326ad34cc4739c36dd70fed713dfe21bc677675d66934658eeb8480548216831790557f9d32f8c6c7b7610e1ac436ab920e1cdc934ef67069ef7dea4aa5f489e2ea9e2a80548216831790557fde7c3e38f366235dcbfad74c36afe5060ba99747b5a4b399b631605dce60e89b80548216831790557fa56f36a7d202da45bd8edf8f459950bff8fb1e4c65df02528f10d2a82f839b6c80548216831790557f684ee09286a6717184c52e88579ffd24f8f7c814b54cecf2b4dec87270adef9b80548216831790557f34dcad4d6e8dbd09803618df5abb8d0b60e1f177474efef1502b7ca1572c7e6680548216831790557fa65b65dd6b033ead4b493d5e3610a61ae8f7bc31f4663d3284c3196a1d91ef8f80548216831790557fc8a75084a8e351669d2fa7001e321bf867a03d58e4c9f0438322fc7dd035321b80548216831790557f69ba62c08ff2b4ec8d52b6298c386334b4c73c4244e228b36f9761609ba00ea280548216831790557f9d7bffb4dc955b9ab7dbb8943371f7b50f743b02a4b8f538ac449a76d1fd7e8a80548216831790557fcc086d9acffa753ab204c95702dadb0b5b48ac32e23b8393c2e2b8b0b36f7847805482168317905573267fa9f2f846da2c7a07ececc52df7f4935890986000527fc88c0b95193ceac074f487cbce52ae19218a3b620574c249c554531f96fe16f980549091169091179055565b600080600080600080600080600080611769611294565b1161177357600080fd5b336000818152600b60205260409020549099508a111561179257600080fd5b89975061179e88611be8565b96506117ae61056f886005611b10565b95506117be61056f886001611b10565b94506117ce61056f886001611b10565b93506117de61056f886001611b10565b92506118056117ff6117f96117f38a8a611b52565b88611b52565b86611b52565b84611b52565b9150611813600e5489611b52565b600e55600160a060020a0389166000908152600b60205260409020546118399089611b52565b600160a060020a038a166000908152600b6020908152604080832093909355600f54600d9091529181208054928b0268010000000000000000860201928390039055600e5491925010156118a9576118a5600f54600e5468010000000000000000890281151561144a57fe5b600f555b600354604051600160a060020a039091169086156108fc029087906000818181858888f193505050501580156118e3573d6000803e3d6000fd5b50600454604051600160a060020a039091169085156108fc029086906000818181858888f1935050505015801561191e573d6000803e3d6000fd5b50600554604051600160a060020a039091169084156108fc029085906000818181858888f19350505050158015611959573d6000803e3d6000fd5b5088600160a060020a03167f8d3a0130073dbd54ab6ac632c05946df540553d3b514c9f8165b4ab7f2b1805e898442611990611205565b604080519485526020850193909352838301919091526060830152519081900360800190a250505050505050505050565b600954600160a060020a031633146119d857600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b336000818152600b602052604081205490811115611a2857611a2881611752565b611a30610fe8565b5050565b600061115334836104b9565b600080600080611a506001611116565b11611a5a57600080fd5b611a646000611116565b336000818152600d602090815260408083208054680100000000000000008702019055600c909152812080549082905590920194509250611aa69084906104b9565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b600082820183811015611b0557fe5b8091505b5092915050565b600080831515611b235760009150611b09565b50828202828482811515611b3357fe5b0414611b0557fe5b6000808284811515611b4957fe5b04949350505050565b600082821115611b5e57fe5b50900390565b600e5460009069d3c21bcecceda1000000908290620dbba0611bd5611bcf7114a9b97dfd5d23d6c4bec088340000000000880264bc97c324006002860a02016c16b81d1a43b205ac3f4000000085020173af298d050e4395d69670b12b7f4100000000000001611c4e565b85611b52565b811515611bde57fe5b0403949350505050565b600e54600090670de0b6b3a7640000838101918101908390611c3b620186a0828504620dbba002018702600283670de0b6b3a763ffff1982890a8b90030104620dbba002811515611c3557fe5b04611b52565b811515611c4457fe5b0495945050505050565b80600260018201045b81811015611153578091506002818285811515611c7057fe5b0401811515611c7b57fe5b049050611c575600a165627a7a72305820e83797de09b0034a8fa3c2f47f67a8b6d202968c62dfa240183af67b72f75f870029

Swarm Source

bzzr://e83797de09b0034a8fa3c2f47f67a8b6d202968c62dfa240183af67b72f75f87

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.