ETH Price: $2,154.42 (-14.46%)

Contract

0x5044ac8dA9601EDF970dcc91A10c5F41C5c548C0
 

Overview

ETH Balance

2.190213235265775794 ETH

Eth Value

$4,718.63 (@ $2,154.42/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit203126372024-07-15 14:53:59231 days ago1721055239IN
0x5044ac8d...1C5c548C0
0 ETH0.000713513.26189851
Exit94678922020-02-12 11:37:161846 days ago1581507436IN
0x5044ac8d...1C5c548C0
0 ETH0.00035386.1
Exit94678902020-02-12 11:36:391846 days ago1581507399IN
0x5044ac8d...1C5c548C0
0 ETH0.00035386.1
Exit94678862020-02-12 11:35:091846 days ago1581507309IN
0x5044ac8d...1C5c548C0
0 ETH0.00035386.1
Exit94678302020-02-12 11:20:181846 days ago1581506418IN
0x5044ac8d...1C5c548C0
0 ETH0.00035386.1
Exit71275072019-01-26 5:09:522228 days ago1548479392IN
0x5044ac8d...1C5c548C0
0 ETH0.000198045
Transfer71275002019-01-26 5:08:002228 days ago1548479280IN
0x5044ac8d...1C5c548C0
0 ETH0.000419765
Transfer71274852019-01-26 5:04:162228 days ago1548479056IN
0x5044ac8d...1C5c548C0
0 ETH0.000419765
Transfer71274562019-01-26 4:55:312228 days ago1548478531IN
0x5044ac8d...1C5c548C0
0.05 ETH0.000333535
Transfer71274492019-01-26 4:53:542228 days ago1548478434IN
0x5044ac8d...1C5c548C0
0.05 ETH0.000483535
Exit69263652018-12-21 11:22:322264 days ago1545391352IN
0x5044ac8d...1C5c548C0
0 ETH0.000218434
Exit68902572018-12-15 8:58:042270 days ago1544864284IN
0x5044ac8d...1C5c548C0
0 ETH0.000273045
Sell63632872018-09-19 23:43:092356 days ago1537400589IN
0x5044ac8d...1C5c548C0
0 ETH0.000286876
Exit62339592018-08-29 9:34:262378 days ago1535535266IN
0x5044ac8d...1C5c548C0
0 ETH0.000114672.1
Withdraw61053252018-08-07 15:47:142400 days ago1533656834IN
0x5044ac8d...1C5c548C0
0 ETH0.0026101860
Sell61053072018-08-07 15:43:252400 days ago1533656605IN
0x5044ac8d...1C5c548C0
0 ETH0.0028764660
Withdraw61052992018-08-07 15:41:052400 days ago1533656465IN
0x5044ac8d...1C5c548C0
0 ETH0.0026101860
Sell61052922018-08-07 15:39:562400 days ago1533656396IN
0x5044ac8d...1C5c548C0
0 ETH0.0028764660
Withdraw61052692018-08-07 15:35:072400 days ago1533656107IN
0x5044ac8d...1C5c548C0
0 ETH0.0013720860
Withdraw61047302018-08-07 13:24:372400 days ago1533648277IN
0x5044ac8d...1C5c548C0
0 ETH0.0004350310
Sell61001442018-08-06 18:36:012401 days ago1533580561IN
0x5044ac8d...1C5c548C0
0 ETH0.000069913
Withdraw60813372018-08-03 14:53:292404 days ago1533308009IN
0x5044ac8d...1C5c548C0
0 ETH0.00008553
Withdraw60573192018-07-30 12:55:592408 days ago1532955359IN
0x5044ac8d...1C5c548C0
0 ETH0.00004351
Sell60573072018-07-30 12:53:532408 days ago1532955233IN
0x5044ac8d...1C5c548C0
0 ETH0.000047811
Buy60519952018-07-29 15:34:072409 days ago1532878447IN
0x5044ac8d...1C5c548C0
0.01 ETH0.000097851
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
203126372024-07-15 14:53:59231 days ago1721055239
0x5044ac8d...1C5c548C0
0.0081003 ETH
94678922020-02-12 11:37:161846 days ago1581507436
0x5044ac8d...1C5c548C0
3.68274469 ETH
94678902020-02-12 11:36:391846 days ago1581507399
0x5044ac8d...1C5c548C0
2.52744844 ETH
94678862020-02-12 11:35:091846 days ago1581507309
0x5044ac8d...1C5c548C0
3.12480664 ETH
94678302020-02-12 11:20:181846 days ago1581506418
0x5044ac8d...1C5c548C0
44.26585708 ETH
71275072019-01-26 5:09:522228 days ago1548479392
0x5044ac8d...1C5c548C0
0.75753861 ETH
71275032019-01-26 5:08:452228 days ago1548479325
0x5044ac8d...1C5c548C0
0.2339228 ETH
71275032019-01-26 5:08:452228 days ago1548479325
0x5044ac8d...1C5c548C0
19.86668955 ETH
71275002019-01-26 5:08:002228 days ago1548479280
0x5044ac8d...1C5c548C0
0.80496298 ETH
71274892019-01-26 5:04:472228 days ago1548479087
0x5044ac8d...1C5c548C0
19.86668955 ETH
71274892019-01-26 5:04:472228 days ago1548479087
0x5044ac8d...1C5c548C0
23.97568512 ETH
71274852019-01-26 5:04:162228 days ago1548479056
0x5044ac8d...1C5c548C0
0.96953857 ETH
71274642019-01-26 4:56:552228 days ago1548478615
0x5044ac8d...1C5c548C0
23.97568512 ETH
71274642019-01-26 4:56:552228 days ago1548478615
0x5044ac8d...1C5c548C0
28.85841431 ETH
69263652018-12-21 11:22:322264 days ago1545391352
0x5044ac8d...1C5c548C0
10.28095107 ETH
68902572018-12-15 8:58:042270 days ago1544864284
0x5044ac8d...1C5c548C0
0.65652816 ETH
62339592018-08-29 9:34:262378 days ago1535535266
0x5044ac8d...1C5c548C0
0.2097952 ETH
61053252018-08-07 15:47:142400 days ago1533656834
0x5044ac8d...1C5c548C0
2.22161696 ETH
61052992018-08-07 15:41:052400 days ago1533656465
0x5044ac8d...1C5c548C0
2.44553402 ETH
61047302018-08-07 13:24:372400 days ago1533648277
0x5044ac8d...1C5c548C0
0.00011525 ETH
60813372018-08-03 14:53:292404 days ago1533308009
0x5044ac8d...1C5c548C0
0.0024602 ETH
60573192018-07-30 12:55:592408 days ago1532955359
0x5044ac8d...1C5c548C0
0.0120933 ETH
60488612018-07-29 3:03:112409 days ago1532833391
0x5044ac8d...1C5c548C0
0.03710384 ETH
60488572018-07-29 3:02:292409 days ago1532833349
0x5044ac8d...1C5c548C0
0.02543859 ETH
60455172018-07-28 13:48:382410 days ago1532785718
0x5044ac8d...1C5c548C0
0.01088266 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UPower

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.24;

/**
 * Based on the open source code of PowerH3D, we built our UPower application ecosystem.
 * We will inherit the open source spirit of PowerH3D and accept the community review. 
 * In future, we will launch more creative games to enrich UPower ecosystem. 
 * Thanks to Just Team!
 */

contract UPower {
    //using SafeMath for uint256;
    
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }
    
    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }
    
    // administrators 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(){
        address _customerAddress = msg.sender;
        require(administrators[_customerAddress]);
        _;
    }
    
    
    // ensures that the first tokens in the contract will be equally distributed
    // meaning, no divine dump will be ever possible
    // result: healthy longevity.
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        address _customerAddress = msg.sender;
        
        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol 
        if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){
            require(
                // is the customer in the ambassador list?
                ambassadors_[_customerAddress] == true &&
                
                // does the customer purchase exceed the max ambassador quota?
                (ambassadorAccumulatedQuota_[_customerAddress] + _amountOfEthereum) <= ambassadorMaxPurchase_
                
            );
            
            // updated the accumulated quota    
            ambassadorAccumulatedQuota_[_customerAddress] = SafeMath.add(ambassadorAccumulatedQuota_[_customerAddress], _amountOfEthereum);
        
            // execute
            _;
        } else {
            // in case the ether count drops low, the ambassador phase won't reinitiate
            onlyAmbassadors = false;
            _;    
        }
        
    }
    
    
    /*==============================
    =            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
    );
    
    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );
    
    
    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "UPower";
    string public symbol = "UP";
    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 100 tokens)
    uint256 public stakingRequirement = 100e18;
    
    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 1 ether;
    uint256 constant internal ambassadorQuota_ = 4 ether;
    
    
    
   /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal tokenSupply_ = 0;
    uint256 internal profitPerShare_;
    
    // administrator list (see above on what they can do)
    mapping(address => bool) public administrators;
    
    // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid)
    bool public onlyAmbassadors = true;
    


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    constructor()
        public
    {
        // add administrators here
        administrators[0x1d85A7C26952d4a7D940573eaE73f44D0D6Fa76D] = true;
        
        ambassadors_[0x5724fc4Abb369C6F2339F784E5b42189f3d30180] = true;
        
        ambassadors_[0x6Be04d4ef139eE9fd08A32FdBFb7A532Fe9eD53F] = true;
        
        ambassadors_[0x53E3E6444C416e2A981644706A8E5E9C13511cf7] = true;
        
        ambassadors_[0xEeF4f752D105fEaCB288bB7071F619A2E90a34aC] = 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 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        
        // 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.
     * Remember, there's a 10% 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
        // also disables transfers until ambassador phase is over
        // ( we dont want whale premines )
        require(!onlyAmbassadors && _amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        
        // withdraw all outstanding dividends first
        if(myDividends(true) > 0) withdraw();
        
        // liquify 10% of the tokens that are transfered
        // these are dispersed to shareholders
        uint256 _tokenFee = SafeMath.div(_amountOfTokens, dividendFee_);
        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
        emit Transfer(_customerAddress, _toAddress, _taxedTokens);
        
        // ERC20
        return true;
       
    }
    
    /*----------  ADMINISTRATOR ONLY FUNCTIONS  ----------*/
    /**
     * In case the amassador quota is not met, the administrator can manually disable the ambassador phase.
     */
    function disableInitialStage()
        onlyAdministrator()
        public
    {
        onlyAmbassadors = false;
    }
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }
    
    /**
     * 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;
    }
    
    
    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        antiEarlyWhale(_incomingEthereum)
        internal
        returns(uint256)
    {
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(_incomingEthereum, dividendFee_);
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;
 
        // no point in continuing execution if OP is a poorfag russian hacker
        // prevents overflow in the case that the pyramid somehow magically starts being used by everyone in the world
        // (or hackers)
        // and yes we know that the safemath function automatically rules out the "greater then" equasion.
        require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_));
        
        // is the user referred by a masternode?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != _customerAddress &&
            
            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ){
            // 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

API
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"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":"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":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"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":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","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":"disableInitialStage","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_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":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

60c0604052600660808190527f55506f776572000000000000000000000000000000000000000000000000000060a0908152620000409160009190620001ae565b506040805180820190915260028082527f555000000000000000000000000000000000000000000000000000000000000060209092019182526200008791600191620001ae565b5068056bc75e2d631000006002556000600855600b805460ff19166001179055348015620000b457600080fd5b507f69b82149d56e64cc7b5f0cc0d5dff598bad7fd12debd6c8a8e3303415030d0678054600160ff19918216811790925560036020527f345c2b6a9b4108add5c0e16921aa19076b19e0b11c5513178cb9b9f9a97efd1c80548216831790557f509b6a42df6622304fcff501c698b499c6d8ca608c5c9c82001e0bc1db91f40f80548216831790557fa4770d88380cf227930aff976bce99f07d41461ca9c3038818c5c303609ea5f2805482168317905573eef4f752d105feacb288bb7071f619a2e90a34ac6000527f20e9441c1e72cefd14b7e7e92df2380f5e121188b784fce15870fc972b1124978054909116909117905562000253565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001f157805160ff191683800117855562000221565b8280016001018555821562000221579182015b828111156200022157825182559160200191906001019062000204565b506200022f92915062000233565b5090565b6200025091905b808211156200022f57600081556001016200023a565b90565b6115d380620002636000396000f30060806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd14610240578063226093731461025557806327defa1f1461026d578063313ce567146102965780633ccfd60b146102c15780634b750334146102d857806356d399e8146102ed578063688abbf7146103025780636b2f46321461031c57806370a082311461033157806376be1585146103525780638328b610146103735780638620410b1461038b57806387c95058146103a0578063949e8acd146103c657806395d89b41146103db578063a8e04f34146103f0578063a9059cbb14610405578063b84c824614610429578063c47f002714610482578063e4849b32146104db578063e9fad8ee146104f3578063f088d54714610508578063fdb5a03e1461051c575b610168346000610531565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610b06565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610b41565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610bcf565b34801561024c57600080fd5b5061018c610bff565b34801561026157600080fd5b5061018c600435610c06565b34801561027957600080fd5b50610282610c3f565b604080519115158252519081900360200190f35b3480156102a257600080fd5b506102ab610c48565b6040805160ff9092168252519081900360200190f35b3480156102cd57600080fd5b506102d6610c4d565b005b3480156102e457600080fd5b5061018c610d20565b3480156102f957600080fd5b5061018c610d74565b34801561030e57600080fd5b5061018c6004351515610d7a565b34801561032857600080fd5b5061018c610dbd565b34801561033d57600080fd5b5061018c600160a060020a0360043516610dc2565b34801561035e57600080fd5b50610282600160a060020a0360043516610ddd565b34801561037f57600080fd5b506102d6600435610df2565b34801561039757600080fd5b5061018c610e16565b3480156103ac57600080fd5b506102d6600160a060020a03600435166024351515610e5e565b3480156103d257600080fd5b5061018c610ea8565b3480156103e757600080fd5b506101b3610ebb565b3480156103fc57600080fd5b506102d6610f15565b34801561041157600080fd5b50610282600160a060020a0360043516602435610f40565b34801561043557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102d69436949293602493928401919081908401838280828437509497506110fa9650505050505050565b34801561048e57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102d69436949293602493928401919081908401838280828437509497506111309650505050505050565b3480156104e757600080fd5b506102d6600435611161565b3480156104ff57600080fd5b506102d66112b2565b61018c600160a060020a03600435166112df565b34801561052857600080fd5b506102d66112eb565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff1680156105725750673782dace9d9000008261056e610dbd565b0311155b1561087f57600160a060020a03811660009081526003602052604090205460ff16151560011480156105c75750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b15156105d257600080fd5b600160a060020a0381166000908152600760205260409020546105f590836113a1565b600160a060020a03821660009081526007602052604090205533995061061c8d600a6113b7565b98506106298960036113b7565b975061063589896113ce565b96506106418d8a6113ce565b955061064c866113e0565b94506801000000000000000087029350600085118015610676575060085461067486826113a1565b115b151561068157600080fd5b600160a060020a038c16158015906106ab575089600160a060020a03168c600160a060020a031614155b80156106d15750600254600160a060020a038d1660009081526004602052604090205410155b1561071757600160a060020a038c166000908152600560205260409020546106f990896113a1565b600160a060020a038d16600090815260056020526040902055610732565b61072187896113a1565b965068010000000000000000870293505b6000600854111561079657610749600854866113a1565b600881905568010000000000000000880281151561076357fe5b6009805492909104909101905560085468010000000000000000880281151561078857fe5b04850284038403935061079c565b60088590555b600160a060020a038a166000908152600460205260409020546107bf90866113a1565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a50610af6565b600b805460ff191690553399506108978d600a6113b7565b98506108a48960036113b7565b97506108b089896113ce565b96506108bc8d8a6113ce565b95506108c7866113e0565b945068010000000000000000870293506000851180156108f157506008546108ef86826113a1565b115b15156108fc57600080fd5b600160a060020a038c1615801590610926575089600160a060020a03168c600160a060020a031614155b801561094c5750600254600160a060020a038d1660009081526004602052604090205410155b1561099257600160a060020a038c1660009081526005602052604090205461097490896113a1565b600160a060020a038d166000908152600560205260409020556109ad565b61099c87896113a1565b965068010000000000000000870293505b60006008541115610a11576109c4600854866113a1565b60088190556801000000000000000088028115156109de57fe5b60098054929091049091019055600854680100000000000000008802811515610a0357fe5b048502840384039350610a17565b60088590555b600160a060020a038a16600090815260046020526040902054610a3a90866113a1565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b505050505081565b6000808080610bdf85600a6113b7565b9250610beb85846113ce565b9150610bf6826113e0565b95945050505050565b6008545b90565b6000806000806008548511151515610c1d57600080fd5b610c2685611478565b9250610c3383600a6113b7565b9150610bf683836113ce565b600b5460ff1681565b601281565b6000806000610c5c6001610d7a565b11610c6657600080fd5b339150610c736000610d7a565b600160a060020a038316600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610cdc573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60008060008060085460001415610d3e576414f46b04009350610d6e565b610d4f670de0b6b3a7640000611478565b9250610d5c83600a6113b7565b9150610d6883836113ce565b90508093505b50505090565b60025481565b60003382610d9057610d8b81610b06565b610db4565b600160a060020a038116600090815260056020526040902054610db282610b06565b015b91505b50919050565b303190565b600160a060020a031660009081526004602052604090205490565b600a6020526000908152604090205460ff1681565b336000818152600a602052604090205460ff161515610e1057600080fd5b50600255565b60008060008060085460001415610e345764199c82cc009350610d6e565b610e45670de0b6b3a7640000611478565b9250610e5283600a6113b7565b9150610d6883836113a1565b336000818152600a602052604090205460ff161515610e7c57600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610eb481610dc2565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b336000818152600a602052604090205460ff161515610f3357600080fd5b50600b805460ff19169055565b600080600080600080610f51610ea8565b11610f5b57600080fd5b600b5433945060ff16158015610f895750600160a060020a0384166000908152600460205260409020548611155b1515610f9457600080fd5b6000610fa06001610d7a565b1115610fae57610fae610c4d565b610fb986600a6113b7565b9250610fc586846113ce565b9150610fd083611478565b9050610fde600854846113ce565b600855600160a060020a03841660009081526004602052604090205461100490876113ce565b600160a060020a03808616600090815260046020526040808220939093559089168152205461103390836113a1565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110a791906801000000000000000084028115156110a157fe5b046113a1565b600955604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b336000818152600a602052604090205460ff16151561111857600080fd5b815161112b906001906020850190611519565b505050565b336000818152600a602052604090205460ff16151561114e57600080fd5b815161112b906000906020850190611519565b6000806000806000806000611174610ea8565b1161117e57600080fd5b3360008181526004602052604090205490965087111561119d57600080fd5b8694506111a985611478565b93506111b684600a6113b7565b92506111c284846113ce565b91506111d0600854866113ce565b600855600160a060020a0386166000908152600460205260409020546111f690866113ce565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192501015611266576112626009546008546801000000000000000086028115156110a157fe5b6009555b60408051868152602081018490528151600160a060020a038916927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a250505050505050565b33600081815260046020526040812054908111156112d3576112d381611161565b6112db610c4d565b5050565b6000610db73483610531565b6000806000806112fb6001610d7a565b1161130557600080fd5b61130f6000610d7a565b33600081815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250611351908490610531565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000828201838110156113b057fe5b9392505050565b60008082848115156113c557fe5b04949350505050565b6000828211156113da57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061146561145f730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016114e4565b856113ce565b81151561146e57fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906114d16414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156114cb57fe5b046113ce565b8115156114da57fe5b0495945050505050565b80600260018201045b81811015610db757809150600281828581151561150657fe5b040181151561151157fe5b0490506114ed565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061155a57805160ff1916838001178555611587565b82800160010185558215611587579182015b8281111561158757825182559160200191906001019061156c565b50610eb792610c039250905b80821115610eb757600081556001016115935600a165627a7a723058206bf5b6b0ff3d2a8779d3aca7b35cf17567e00fde47d71ae64f60bc35654a99b20029

Deployed Bytecode

0x60806040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019e57806310d0ffdd1461022857806318160ddd14610240578063226093731461025557806327defa1f1461026d578063313ce567146102965780633ccfd60b146102c15780634b750334146102d857806356d399e8146102ed578063688abbf7146103025780636b2f46321461031c57806370a082311461033157806376be1585146103525780638328b610146103735780638620410b1461038b57806387c95058146103a0578063949e8acd146103c657806395d89b41146103db578063a8e04f34146103f0578063a9059cbb14610405578063b84c824614610429578063c47f002714610482578063e4849b32146104db578063e9fad8ee146104f3578063f088d54714610508578063fdb5a03e1461051c575b610168346000610531565b50005b34801561017757600080fd5b5061018c600160a060020a0360043516610b06565b60408051918252519081900360200190f35b3480156101aa57600080fd5b506101b3610b41565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ed5781810151838201526020016101d5565b50505050905090810190601f16801561021a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561023457600080fd5b5061018c600435610bcf565b34801561024c57600080fd5b5061018c610bff565b34801561026157600080fd5b5061018c600435610c06565b34801561027957600080fd5b50610282610c3f565b604080519115158252519081900360200190f35b3480156102a257600080fd5b506102ab610c48565b6040805160ff9092168252519081900360200190f35b3480156102cd57600080fd5b506102d6610c4d565b005b3480156102e457600080fd5b5061018c610d20565b3480156102f957600080fd5b5061018c610d74565b34801561030e57600080fd5b5061018c6004351515610d7a565b34801561032857600080fd5b5061018c610dbd565b34801561033d57600080fd5b5061018c600160a060020a0360043516610dc2565b34801561035e57600080fd5b50610282600160a060020a0360043516610ddd565b34801561037f57600080fd5b506102d6600435610df2565b34801561039757600080fd5b5061018c610e16565b3480156103ac57600080fd5b506102d6600160a060020a03600435166024351515610e5e565b3480156103d257600080fd5b5061018c610ea8565b3480156103e757600080fd5b506101b3610ebb565b3480156103fc57600080fd5b506102d6610f15565b34801561041157600080fd5b50610282600160a060020a0360043516602435610f40565b34801561043557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102d69436949293602493928401919081908401838280828437509497506110fa9650505050505050565b34801561048e57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102d69436949293602493928401919081908401838280828437509497506111309650505050505050565b3480156104e757600080fd5b506102d6600435611161565b3480156104ff57600080fd5b506102d66112b2565b61018c600160a060020a03600435166112df565b34801561052857600080fd5b506102d66112eb565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff1680156105725750673782dace9d9000008261056e610dbd565b0311155b1561087f57600160a060020a03811660009081526003602052604090205460ff16151560011480156105c75750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b15156105d257600080fd5b600160a060020a0381166000908152600760205260409020546105f590836113a1565b600160a060020a03821660009081526007602052604090205533995061061c8d600a6113b7565b98506106298960036113b7565b975061063589896113ce565b96506106418d8a6113ce565b955061064c866113e0565b94506801000000000000000087029350600085118015610676575060085461067486826113a1565b115b151561068157600080fd5b600160a060020a038c16158015906106ab575089600160a060020a03168c600160a060020a031614155b80156106d15750600254600160a060020a038d1660009081526004602052604090205410155b1561071757600160a060020a038c166000908152600560205260409020546106f990896113a1565b600160a060020a038d16600090815260056020526040902055610732565b61072187896113a1565b965068010000000000000000870293505b6000600854111561079657610749600854866113a1565b600881905568010000000000000000880281151561076357fe5b6009805492909104909101905560085468010000000000000000880281151561078857fe5b04850284038403935061079c565b60088590555b600160a060020a038a166000908152600460205260409020546107bf90866113a1565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a50610af6565b600b805460ff191690553399506108978d600a6113b7565b98506108a48960036113b7565b97506108b089896113ce565b96506108bc8d8a6113ce565b95506108c7866113e0565b945068010000000000000000870293506000851180156108f157506008546108ef86826113a1565b115b15156108fc57600080fd5b600160a060020a038c1615801590610926575089600160a060020a03168c600160a060020a031614155b801561094c5750600254600160a060020a038d1660009081526004602052604090205410155b1561099257600160a060020a038c1660009081526005602052604090205461097490896113a1565b600160a060020a038d166000908152600560205260409020556109ad565b61099c87896113a1565b965068010000000000000000870293505b60006008541115610a11576109c4600854866113a1565b60088190556801000000000000000088028115156109de57fe5b60098054929091049091019055600854680100000000000000008802811515610a0357fe5b048502840384039350610a17565b60088590555b600160a060020a038a16600090815260046020526040902054610a3a90866113a1565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b820191906000526020600020905b815481529060010190602001808311610baa57829003601f168201915b505050505081565b6000808080610bdf85600a6113b7565b9250610beb85846113ce565b9150610bf6826113e0565b95945050505050565b6008545b90565b6000806000806008548511151515610c1d57600080fd5b610c2685611478565b9250610c3383600a6113b7565b9150610bf683836113ce565b600b5460ff1681565b601281565b6000806000610c5c6001610d7a565b11610c6657600080fd5b339150610c736000610d7a565b600160a060020a038316600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610cdc573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60008060008060085460001415610d3e576414f46b04009350610d6e565b610d4f670de0b6b3a7640000611478565b9250610d5c83600a6113b7565b9150610d6883836113ce565b90508093505b50505090565b60025481565b60003382610d9057610d8b81610b06565b610db4565b600160a060020a038116600090815260056020526040902054610db282610b06565b015b91505b50919050565b303190565b600160a060020a031660009081526004602052604090205490565b600a6020526000908152604090205460ff1681565b336000818152600a602052604090205460ff161515610e1057600080fd5b50600255565b60008060008060085460001415610e345764199c82cc009350610d6e565b610e45670de0b6b3a7640000611478565b9250610e5283600a6113b7565b9150610d6883836113a1565b336000818152600a602052604090205460ff161515610e7c57600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610eb481610dc2565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610bc75780601f10610b9c57610100808354040283529160200191610bc7565b336000818152600a602052604090205460ff161515610f3357600080fd5b50600b805460ff19169055565b600080600080600080610f51610ea8565b11610f5b57600080fd5b600b5433945060ff16158015610f895750600160a060020a0384166000908152600460205260409020548611155b1515610f9457600080fd5b6000610fa06001610d7a565b1115610fae57610fae610c4d565b610fb986600a6113b7565b9250610fc586846113ce565b9150610fd083611478565b9050610fde600854846113ce565b600855600160a060020a03841660009081526004602052604090205461100490876113ce565b600160a060020a03808616600090815260046020526040808220939093559089168152205461103390836113a1565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110a791906801000000000000000084028115156110a157fe5b046113a1565b600955604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b336000818152600a602052604090205460ff16151561111857600080fd5b815161112b906001906020850190611519565b505050565b336000818152600a602052604090205460ff16151561114e57600080fd5b815161112b906000906020850190611519565b6000806000806000806000611174610ea8565b1161117e57600080fd5b3360008181526004602052604090205490965087111561119d57600080fd5b8694506111a985611478565b93506111b684600a6113b7565b92506111c284846113ce565b91506111d0600854866113ce565b600855600160a060020a0386166000908152600460205260409020546111f690866113ce565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192501015611266576112626009546008546801000000000000000086028115156110a157fe5b6009555b60408051868152602081018490528151600160a060020a038916927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a250505050505050565b33600081815260046020526040812054908111156112d3576112d381611161565b6112db610c4d565b5050565b6000610db73483610531565b6000806000806112fb6001610d7a565b1161130557600080fd5b61130f6000610d7a565b33600081815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250611351908490610531565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000828201838110156113b057fe5b9392505050565b60008082848115156113c557fe5b04949350505050565b6000828211156113da57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061146561145f730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016114e4565b856113ce565b81151561146e57fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906114d16414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156114cb57fe5b046113ce565b8115156114da57fe5b0495945050505050565b80600260018201045b81811015610db757809150600281828581151561150657fe5b040181151561151157fe5b0490506114ed565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061155a57805160ff1916838001178555611587565b82800160010185558215611587579182015b8281111561158757825182559160200191906001019061156c565b50610eb792610c039250905b80821115610eb757600081556001016115935600a165627a7a723058206bf5b6b0ff3d2a8779d3aca7b35cf17567e00fde47d71ae64f60bc35654a99b20029

Swarm Source

bzzr://6bf5b6b0ff3d2a8779d3aca7b35cf17567e00fde47d71ae64f60bc35654a99b2

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.