ETH Price: $3,686.10 (+18.01%)
Gas: 9 Gwei

Contract

0x4C902A3FF72dcF01BAc6B9d0438565e649a87404
 

Overview

ETH Balance

1.39716332433350333 ETH

Eth Value

$5,150.08 (@ $3,686.10/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Exit180228062023-08-29 20:58:47265 days ago1693342727IN
0x4C902A3F...649a87404
0 ETH0.0023268135.46323683
Withdraw64671442018-10-07 0:13:242053 days ago1538871204IN
0x4C902A3F...649a87404
0 ETH0.0021747550
Withdraw63943472018-09-25 2:37:052065 days ago1537843025IN
0x4C902A3F...649a87404
0 ETH0.0005219412
Exit63580982018-09-19 3:13:332071 days ago1537326813IN
0x4C902A3F...649a87404
0 ETH0.000500968
Exit63152442018-09-12 1:14:482078 days ago1536714888IN
0x4C902A3F...649a87404
0 ETH0.000062621
Exit63088432018-09-10 23:43:302079 days ago1536623010IN
0x4C902A3F...649a87404
0 ETH0.000187863
Withdraw62686362018-09-04 5:43:132085 days ago1536039793IN
0x4C902A3F...649a87404
0 ETH0.000217475
Sell62664942018-09-03 21:06:112086 days ago1536008771IN
0x4C902A3F...649a87404
0 ETH0.000111812
Withdraw62644862018-09-03 13:03:012086 days ago1535979781IN
0x4C902A3F...649a87404
0 ETH0.000043491
Withdraw62635582018-09-03 9:13:422086 days ago1535966022IN
0x4C902A3F...649a87404
0 ETH0.000086992
Withdraw62440162018-08-31 2:10:122090 days ago1535681412IN
0x4C902A3F...649a87404
0 ETH0.000130483
Sell62440102018-08-31 2:08:522090 days ago1535681332IN
0x4C902A3F...649a87404
0 ETH0.000167723
Withdraw62440012018-08-31 2:06:412090 days ago1535681201IN
0x4C902A3F...649a87404
0 ETH0.000130483
Exit62194352018-08-26 22:30:192094 days ago1535322619IN
0x4C902A3F...649a87404
0 ETH0.000062621
Withdraw62162342018-08-26 9:34:082094 days ago1535276048IN
0x4C902A3F...649a87404
0 ETH0.000178324.1
Withdraw62140202018-08-26 0:40:392095 days ago1535244039IN
0x4C902A3F...649a87404
0 ETH0.000391459
Sell62140072018-08-26 0:37:142095 days ago1535243834IN
0x4C902A3F...649a87404
0 ETH0.0005597210
Withdraw62140042018-08-26 0:36:202095 days ago1535243780IN
0x4C902A3F...649a87404
0 ETH0.000037321.31
Sell62139842018-08-26 0:31:112095 days ago1535243471IN
0x4C902A3F...649a87404
0 ETH0.0005590810
Reinvest62096022018-08-25 6:41:242095 days ago1535179284IN
0x4C902A3F...649a87404
0 ETH0.000085831
Buy62020082018-08-24 0:04:572097 days ago1535069097IN
0x4C902A3F...649a87404
0.1 ETH0.000868178
Buy62009352018-08-23 19:48:572097 days ago1535053737IN
0x4C902A3F...649a87404
0.99 ETH0.000392615
Withdraw61991162018-08-23 12:15:392097 days ago1535026539IN
0x4C902A3F...649a87404
0 ETH0.000217475
Withdraw61985572018-08-23 9:53:122097 days ago1535017992IN
0x4C902A3F...649a87404
0 ETH0.000217475
Sell61985242018-08-23 9:46:352097 days ago1535017595IN
0x4C902A3F...649a87404
0 ETH0.000112072
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
180228062023-08-29 20:58:47265 days ago1693342727
0x4C902A3F...649a87404
0.03485721 ETH
180228062023-08-29 20:58:47265 days ago1693342727
0x4C902A3F...649a87404
0.00202437 ETH
64671442018-10-07 0:13:242053 days ago1538871204
0x4C902A3F...649a87404
0.01046524 ETH
63943472018-09-25 2:37:052065 days ago1537843025
0x4C902A3F...649a87404
0.00043012 ETH
63580982018-09-19 3:13:332071 days ago1537326813
0x4C902A3F...649a87404
0.06622439 ETH
63580982018-09-19 3:13:332071 days ago1537326813
0x4C902A3F...649a87404
0.00198117 ETH
63152442018-09-12 1:14:482078 days ago1536714888
0x4C902A3F...649a87404
0.06091711 ETH
63152442018-09-12 1:14:482078 days ago1536714888
0x4C902A3F...649a87404
0.00102927 ETH
63088432018-09-10 23:43:302079 days ago1536623010
0x4C902A3F...649a87404
0.03111087 ETH
63088432018-09-10 23:43:302079 days ago1536623010
0x4C902A3F...649a87404
0.00070128 ETH
62686362018-09-04 5:43:132085 days ago1536039793
0x4C902A3F...649a87404
0.01576077 ETH
62664942018-09-03 21:06:112086 days ago1536008771
0x4C902A3F...649a87404
0.0009271 ETH
62644862018-09-03 13:03:012086 days ago1535979781
0x4C902A3F...649a87404
0.09705579 ETH
62635582018-09-03 9:13:422086 days ago1535966022
0x4C902A3F...649a87404
0.04675529 ETH
62440162018-08-31 2:10:122090 days ago1535681412
0x4C902A3F...649a87404
0.00210195 ETH
62440102018-08-31 2:08:522090 days ago1535681332
0x4C902A3F...649a87404
0.00012364 ETH
62440012018-08-31 2:06:412090 days ago1535681201
0x4C902A3F...649a87404
0.00070231 ETH
62194352018-08-26 22:30:192094 days ago1535322619
0x4C902A3F...649a87404
0.01540637 ETH
62194352018-08-26 22:30:192094 days ago1535322619
0x4C902A3F...649a87404
0.00021411 ETH
62162342018-08-26 9:34:082094 days ago1535276048
0x4C902A3F...649a87404
0.02421791 ETH
62140202018-08-26 0:40:392095 days ago1535244039
0x4C902A3F...649a87404
1.58099414 ETH
62140072018-08-26 0:37:142095 days ago1535243834
0x4C902A3F...649a87404
0.09053765 ETH
62140042018-08-26 0:36:202095 days ago1535243780
0x4C902A3F...649a87404
0.04229402 ETH
62139842018-08-26 0:31:112095 days ago1535243471
0x4C902A3F...649a87404
0.00219846 ETH
62096022018-08-25 6:41:242095 days ago1535179284
0x4C902A3F...649a87404
0.00071935 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EVOLUTION

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.20;

contract EVOLUTION {
    /*=================================
    =            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 == investor);
        _;
    }
    
    
    /*==============================
    =            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 ( //--4
        uint256 amount,
        uint256 timestamp
    );
    
    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );
    
    
    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "EVO";
    string public symbol = "EVO";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 10;
    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 5 tokens)
    uint256 public stakingRequirement = 5e18;
    
    
    
   /*================================
    =            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_ = 0;
    uint256 internal profitPerShare_;
    mapping(address => bool) internal whitelisted_; // fvrr3
    bool internal whitelist_ = true; // fvrr3 whitelist is automatically activated
    
    address public investor;
    


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    constructor()
        public
    {
        investor = 0x85ADF4cF1e98487c849805D0B28a570F15943E56;
        whitelisted_[0x85ADF4cF1e98487c849805D0B28a570F15943E56] = 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 _dividends = SafeMath.div(_ethereum, dividendFee_);
        uint256 _investmentEth = SafeMath.div(_ethereum, 20); // 5% investment fee
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, (_dividends+_investmentEth));
        
        investor.transfer(_investmentEth); // send 5% to the investor wallet

        // 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);
        //--4
    }
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _newInvestor)
        onlyAdministrator()
        external
    {
        investor = _newInvestor;
    }
    
    /**
     * 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(_ethereum, dividendFee_  );
            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(_ethereum, dividendFee_  );
            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(_ethereumToSpend, dividendFee_);
        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(_ethereum, dividendFee_);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }
    
    function disableWhitelist() external {
        require(whitelisted_[msg.sender] == true);
        whitelist_ = false;
    }

    function activateWhitelist() external {
        require(whitelisted_[msg.sender] == true);
        whitelist_ = true;
    }
    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        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(_incomingEthereum, dividendFee_);
        uint256 _investmentEth = SafeMath.div(_incomingEthereum, 20); // 5% investment fee
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, (_undividedDividends+_investmentEth));
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;

        investor.transfer(_investmentEth); // send 5% to the investor wallet

        // 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
        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

[{"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":"investor","outputs":[{"name":"","type":"address"}],"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":false,"inputs":[],"name":"activateWhitelist","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":"_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":"_newInvestor","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"}]

60806040526040805190810160405280600381526020017f45564f00000000000000000000000000000000000000000000000000000000008152506000908051906020019062000051929190620001a1565b506040805190810160405280600381526020017f45564f0000000000000000000000000000000000000000000000000000000000815250600190805190602001906200009f929190620001a1565b50674563918244f4000060025560006006556001600960006101000a81548160ff021916908315150217905550348015620000d957600080fd5b507385adf4cf1e98487c849805d0b28a570f15943e56600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600860007385adf4cf1e98487c849805d0b28a570f15943e5673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000250565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001e457805160ff191683800117855562000215565b8280016001018555821562000215579182015b8281111562000214578251825591602001919060010190620001f7565b5b50905062000224919062000228565b5090565b6200024d91905b80821115620002495760008160009055506001016200022f565b5090565b90565b61200e80620002606000396000f300608060405260043610610169576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b1461017757806306fdde03146101ce57806310d0ffdd1461025e57806318160ddd1461029f5780631e0018d6146102ca5780632260937314610321578063313ce567146103625780633ccfd60b146103935780634b750334146103aa57806356d399e8146103d5578063688abbf7146104005780636b2f46321461044357806370a082311461046e5780638328b610146104c55780638620410b146104f257806389e877a31461051d578063949e8acd1461053457806395d89b411461055f578063a9059cbb146105ef578063b84c824614610654578063c47f0027146106bd578063d6b0f48414610726578063df8089ef1461073d578063e37b346d14610780578063e4849b321461078a578063e9fad8ee146107b7578063f088d547146107ce578063fdb5a03e14610818575b61017434600061082f565b50005b34801561018357600080fd5b506101b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ce6565b6040518082815260200191505060405180910390f35b3480156101da57600080fd5b506101e3610d88565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610223578082015181840152602081019050610208565b50505050905090810190601f1680156102505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026a57600080fd5b5061028960048036038101908080359060200190929190505050610e26565b6040518082815260200191505060405180910390f35b3480156102ab57600080fd5b506102b4610e5e565b6040518082815260200191505060405180910390f35b3480156102d657600080fd5b506102df610e68565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032d57600080fd5b5061034c60048036038101908080359060200190929190505050610e8e565b6040518082815260200191505060405180910390f35b34801561036e57600080fd5b50610377610ed7565b604051808260ff1660ff16815260200191505060405180910390f35b34801561039f57600080fd5b506103a8610edc565b005b3480156103b657600080fd5b506103bf611080565b6040518082815260200191505060405180910390f35b3480156103e157600080fd5b506103ea6110de565b6040518082815260200191505060405180910390f35b34801561040c57600080fd5b5061042d6004803603810190808035151590602001909291905050506110e4565b6040518082815260200191505060405180910390f35b34801561044f57600080fd5b50610458611150565b6040518082815260200191505060405180910390f35b34801561047a57600080fd5b506104af600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b3480156104d157600080fd5b506104f0600480360381019080803590602001909291905050506111b8565b005b3480156104fe57600080fd5b5061050761121e565b6040518082815260200191505060405180910390f35b34801561052957600080fd5b5061053261127c565b005b34801561054057600080fd5b506105496112f8565b6040518082815260200191505060405180910390f35b34801561056b57600080fd5b5061057461130d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b4578082015181840152602081019050610599565b50505050905090810190601f1680156105e15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105fb57600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113ab565b604051808215151515815260200191505060405180910390f35b34801561066057600080fd5b506106bb600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061165a565b005b3480156106c957600080fd5b50610724600480360381019080803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506116d0565b005b34801561073257600080fd5b5061073b611746565b005b34801561074957600080fd5b5061077e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c2565b005b610788611862565b005b34801561079657600080fd5b506107b5600480360381019080803590602001909291905050506118d3565b005b3480156107c357600080fd5b506107cc611b7b565b005b610802600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611be2565b6040518082815260200191505060405180910390f35b34801561082457600080fd5b5061082d611bf4565b005b60008060008060008060008060008060001515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480156108b1575060011515600960009054906101000a900460ff161515145b156108bb57600080fd5b3398506108cc8c600a60ff16611d68565b97506108d98c6014611d68565b96506108e6886003611d68565b95506108f28887611d83565b94506109008c888a01611d83565b935061090b84611d9c565b92506801000000000000000085029150600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015610983573d6000803e3d6000fd5b506000831180156109a0575060065461099e84600654611e29565b115b15156109ab57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614158015610a1457508873ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614155b8015610a615750600254600360008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b15610af757610aaf600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611e29565b600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b12565b610b018587611e29565b945068010000000000000000850291505b60006006541115610b7d57610b2960065484611e29565b600681905550600654680100000000000000008602811515610b4757fe5b04600760008282540192505081905550600654680100000000000000008602811515610b6f57fe5b048302820382039150610b85565b826006819055505b610bce600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e29565b600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081836007540203905080600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508a73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e86604051808381526020018281526020019250505060405180910390a382995050505050505050505092915050565b600068010000000000000000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546007540203811515610d8057fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e1e5780601f10610df357610100808354040283529160200191610e1e565b820191906000526020600020905b815481529060010190602001808311610e0157829003601f168201915b505050505081565b600080600080610e3a85600a60ff16611d68565b9250610e468584611d83565b9150610e5182611d9c565b9050809350505050919050565b6000600654905090565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806006548511151515610ea557600080fd5b610eae85611e47565b9250610ebe83600a60ff16611d68565b9150610eca8383611d83565b9050809350505050919050565b601281565b6000806000610eeb60016110e4565b111515610ef757600080fd5b339150610f0460006110e4565b9050680100000000000000008102600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561102d573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600080600060065414156110a5576402540be40064174876e8000393506110d8565b6110b6670de0b6b3a7640000611e47565b92506110c683600a60ff16611d68565b91506110d28383611d83565b90508093505b50505090565b60025481565b600080339050826110fd576110f881610ce6565b611148565b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461114682610ce6565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561121457600080fd5b8060028190555050565b60008060008060006006541415611243576402540be40064174876e800019350611276565b611254670de0b6b3a7640000611e47565b925061126483600a60ff16611d68565b91506112708383611e29565b90508093505b50505090565b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156112db57600080fd5b6001600960006101000a81548160ff021916908315150217905550565b6000803390506113078161116f565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113a35780601f10611378576101008083540402835291602001916113a3565b820191906000526020600020905b81548152906001019060200180831161138657829003601f168201915b505050505081565b60008060006113b86112f8565b1115156113c457600080fd5b339050600360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054831115151561141557600080fd5b600061142160016110e4565b11156114305761142f610edc565b5b611479600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611d83565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611505600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e29565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260075402600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508260075402600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600191505092915050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116b657600080fd5b80600190805190602001906116cc929190611f3d565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561172c57600080fd5b8060009080519060200190611742929190611f3d565b5050565b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156117a557600080fd5b6000600960006101000a81548160ff021916908315150217905550565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561181e57600080fd5b80600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600034905061188b60075460065468010000000000000000840281151561188557fe5b04611e29565b6007819055507fcda2c9671a954c8617003d284779b6b0948f2771e11316c5db1510d0d634e5428142604051808381526020018281526020019250505060405180910390a150565b6000806000806000806000806118e76112f8565b1115156118f357600080fd5b339650600360008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054881115151561194457600080fd5b87955061195086611e47565b945061196085600a60ff16611d68565b935061196d856014611d68565b925061197b85848601611d83565b9150600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156119e5573d6000803e3d6000fd5b506119f260065487611d83565b600681905550611a41600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611d83565b600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550680100000000000000008202866007540201905080600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555060006006541115611b1b57611b14600754600654680100000000000000008702811515611b0e57fe5b04611e29565b6007819055505b8673ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398784604051808381526020018281526020019250505060405180910390a25050505050505050565b600080339150600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611bd657611bd5816118d3565b5b611bde610edc565b5050565b6000611bee348361082f565b50919050565b600080600080611c0460016110e4565b111515611c1057600080fd5b611c1a60006110e4565b9250339150680100000000000000008302600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d0b83600061082f565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000808284811515611d7657fe5b0490508091505092915050565b6000828211151515611d9157fe5b818303905092915050565b6000806000670de0b6b3a764000064174876e8000291506006546402540be400611e12611e0c600654866402540be400600202020260026006540a60026402540be4000a02670de0b6b3a76400008a02670de0b6b3a76400006402540be40002600202026002890a010101611ef2565b85611d83565b811515611e1b57fe5b040390508092505050919050565b6000808284019050838110151515611e3d57fe5b8091505092915050565b600080600080670de0b6b3a764000085019250670de0b6b3a7640000600654019150670de0b6b3a7640000611edb670de0b6b3a764000085036402540be400670de0b6b3a764000086811515611e9957fe5b046402540be4000264174876e8000103026002670de0b6b3a7640000876002890a03811515611ec457fe5b046402540be40002811515611ed557fe5b04611d83565b811515611ee457fe5b049050809350505050919050565b600080600260018401811515611f0457fe5b0490508291505b81811015611f37578091506002818285811515611f2457fe5b0401811515611f2f57fe5b049050611f0b565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f7e57805160ff1916838001178555611fac565b82800160010185558215611fac579182015b82811115611fab578251825591602001919060010190611f90565b5b509050611fb99190611fbd565b5090565b611fdf91905b80821115611fdb576000816000905550600101611fc3565b5090565b905600a165627a7a7230582079cfa3a2249e933a9e479f7008828ba8d8d5d31eab5b48b6a95649edf2dba5fc0029

Deployed Bytecode

0x608060405260043610610169576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b1461017757806306fdde03146101ce57806310d0ffdd1461025e57806318160ddd1461029f5780631e0018d6146102ca5780632260937314610321578063313ce567146103625780633ccfd60b146103935780634b750334146103aa57806356d399e8146103d5578063688abbf7146104005780636b2f46321461044357806370a082311461046e5780638328b610146104c55780638620410b146104f257806389e877a31461051d578063949e8acd1461053457806395d89b411461055f578063a9059cbb146105ef578063b84c824614610654578063c47f0027146106bd578063d6b0f48414610726578063df8089ef1461073d578063e37b346d14610780578063e4849b321461078a578063e9fad8ee146107b7578063f088d547146107ce578063fdb5a03e14610818575b61017434600061082f565b50005b34801561018357600080fd5b506101b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ce6565b6040518082815260200191505060405180910390f35b3480156101da57600080fd5b506101e3610d88565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610223578082015181840152602081019050610208565b50505050905090810190601f1680156102505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026a57600080fd5b5061028960048036038101908080359060200190929190505050610e26565b6040518082815260200191505060405180910390f35b3480156102ab57600080fd5b506102b4610e5e565b6040518082815260200191505060405180910390f35b3480156102d657600080fd5b506102df610e68565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032d57600080fd5b5061034c60048036038101908080359060200190929190505050610e8e565b6040518082815260200191505060405180910390f35b34801561036e57600080fd5b50610377610ed7565b604051808260ff1660ff16815260200191505060405180910390f35b34801561039f57600080fd5b506103a8610edc565b005b3480156103b657600080fd5b506103bf611080565b6040518082815260200191505060405180910390f35b3480156103e157600080fd5b506103ea6110de565b6040518082815260200191505060405180910390f35b34801561040c57600080fd5b5061042d6004803603810190808035151590602001909291905050506110e4565b6040518082815260200191505060405180910390f35b34801561044f57600080fd5b50610458611150565b6040518082815260200191505060405180910390f35b34801561047a57600080fd5b506104af600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061116f565b6040518082815260200191505060405180910390f35b3480156104d157600080fd5b506104f0600480360381019080803590602001909291905050506111b8565b005b3480156104fe57600080fd5b5061050761121e565b6040518082815260200191505060405180910390f35b34801561052957600080fd5b5061053261127c565b005b34801561054057600080fd5b506105496112f8565b6040518082815260200191505060405180910390f35b34801561056b57600080fd5b5061057461130d565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b4578082015181840152602081019050610599565b50505050905090810190601f1680156105e15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105fb57600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113ab565b604051808215151515815260200191505060405180910390f35b34801561066057600080fd5b506106bb600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061165a565b005b3480156106c957600080fd5b50610724600480360381019080803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506116d0565b005b34801561073257600080fd5b5061073b611746565b005b34801561074957600080fd5b5061077e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c2565b005b610788611862565b005b34801561079657600080fd5b506107b5600480360381019080803590602001909291905050506118d3565b005b3480156107c357600080fd5b506107cc611b7b565b005b610802600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611be2565b6040518082815260200191505060405180910390f35b34801561082457600080fd5b5061082d611bf4565b005b60008060008060008060008060008060001515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480156108b1575060011515600960009054906101000a900460ff161515145b156108bb57600080fd5b3398506108cc8c600a60ff16611d68565b97506108d98c6014611d68565b96506108e6886003611d68565b95506108f28887611d83565b94506109008c888a01611d83565b935061090b84611d9c565b92506801000000000000000085029150600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015610983573d6000803e3d6000fd5b506000831180156109a0575060065461099e84600654611e29565b115b15156109ab57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614158015610a1457508873ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614155b8015610a615750600254600360008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b15610af757610aaf600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611e29565b600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b12565b610b018587611e29565b945068010000000000000000850291505b60006006541115610b7d57610b2960065484611e29565b600681905550600654680100000000000000008602811515610b4757fe5b04600760008282540192505081905550600654680100000000000000008602811515610b6f57fe5b048302820382039150610b85565b826006819055505b610bce600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e29565b600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081836007540203905080600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508a73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e86604051808381526020018281526020019250505060405180910390a382995050505050505050505092915050565b600068010000000000000000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546007540203811515610d8057fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e1e5780601f10610df357610100808354040283529160200191610e1e565b820191906000526020600020905b815481529060010190602001808311610e0157829003601f168201915b505050505081565b600080600080610e3a85600a60ff16611d68565b9250610e468584611d83565b9150610e5182611d9c565b9050809350505050919050565b6000600654905090565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806006548511151515610ea557600080fd5b610eae85611e47565b9250610ebe83600a60ff16611d68565b9150610eca8383611d83565b9050809350505050919050565b601281565b6000806000610eeb60016110e4565b111515610ef757600080fd5b339150610f0460006110e4565b9050680100000000000000008102600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561102d573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600080600060065414156110a5576402540be40064174876e8000393506110d8565b6110b6670de0b6b3a7640000611e47565b92506110c683600a60ff16611d68565b91506110d28383611d83565b90508093505b50505090565b60025481565b600080339050826110fd576110f881610ce6565b611148565b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461114682610ce6565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561121457600080fd5b8060028190555050565b60008060008060006006541415611243576402540be40064174876e800019350611276565b611254670de0b6b3a7640000611e47565b925061126483600a60ff16611d68565b91506112708383611e29565b90508093505b50505090565b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156112db57600080fd5b6001600960006101000a81548160ff021916908315150217905550565b6000803390506113078161116f565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113a35780601f10611378576101008083540402835291602001916113a3565b820191906000526020600020905b81548152906001019060200180831161138657829003601f168201915b505050505081565b60008060006113b86112f8565b1115156113c457600080fd5b339050600360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054831115151561141557600080fd5b600061142160016110e4565b11156114305761142f610edc565b5b611479600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611d83565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611505600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e29565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508260075402600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508260075402600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600191505092915050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116b657600080fd5b80600190805190602001906116cc929190611f3d565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561172c57600080fd5b8060009080519060200190611742929190611f3d565b5050565b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156117a557600080fd5b6000600960006101000a81548160ff021916908315150217905550565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561181e57600080fd5b80600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600034905061188b60075460065468010000000000000000840281151561188557fe5b04611e29565b6007819055507fcda2c9671a954c8617003d284779b6b0948f2771e11316c5db1510d0d634e5428142604051808381526020018281526020019250505060405180910390a150565b6000806000806000806000806118e76112f8565b1115156118f357600080fd5b339650600360008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054881115151561194457600080fd5b87955061195086611e47565b945061196085600a60ff16611d68565b935061196d856014611d68565b925061197b85848601611d83565b9150600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156119e5573d6000803e3d6000fd5b506119f260065487611d83565b600681905550611a41600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611d83565b600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550680100000000000000008202866007540201905080600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555060006006541115611b1b57611b14600754600654680100000000000000008702811515611b0e57fe5b04611e29565b6007819055505b8673ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398784604051808381526020018281526020019250505060405180910390a25050505050505050565b600080339150600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611bd657611bd5816118d3565b5b611bde610edc565b5050565b6000611bee348361082f565b50919050565b600080600080611c0460016110e4565b111515611c1057600080fd5b611c1a60006110e4565b9250339150680100000000000000008302600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d0b83600061082f565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000808284811515611d7657fe5b0490508091505092915050565b6000828211151515611d9157fe5b818303905092915050565b6000806000670de0b6b3a764000064174876e8000291506006546402540be400611e12611e0c600654866402540be400600202020260026006540a60026402540be4000a02670de0b6b3a76400008a02670de0b6b3a76400006402540be40002600202026002890a010101611ef2565b85611d83565b811515611e1b57fe5b040390508092505050919050565b6000808284019050838110151515611e3d57fe5b8091505092915050565b600080600080670de0b6b3a764000085019250670de0b6b3a7640000600654019150670de0b6b3a7640000611edb670de0b6b3a764000085036402540be400670de0b6b3a764000086811515611e9957fe5b046402540be4000264174876e8000103026002670de0b6b3a7640000876002890a03811515611ec457fe5b046402540be40002811515611ed557fe5b04611d83565b811515611ee457fe5b049050809350505050919050565b600080600260018401811515611f0457fe5b0490508291505b81811015611f37578091506002818285811515611f2457fe5b0401811515611f2f57fe5b049050611f0b565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f7e57805160ff1916838001178555611fac565b82800160010185558215611fac579182015b82811115611fab578251825591602001919060010190611f90565b5b509050611fb99190611fbd565b5090565b611fdf91905b80821115611fdb576000816000905550600101611fc3565b5090565b905600a165627a7a7230582079cfa3a2249e933a9e479f7008828ba8d8d5d31eab5b48b6a95649edf2dba5fc0029

Swarm Source

bzzr://79cfa3a2249e933a9e479f7008828ba8d8d5d31eab5b48b6a95649edf2dba5fc

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.