ETH Price: $3,415.28 (-6.84%)

Contract

0xA146240bF2C04005A743032DC0D241ec0bB2BA2B
 
Transaction Hash
Method
Block
From
To
Exit212441012024-11-22 15:14:5927 days ago1732288499IN
0xA146240b...c0bB2BA2B
0 ETH0.0009012416.70897249
Withdraw192725782024-02-21 0:47:47303 days ago1708476467IN
0xA146240b...c0bB2BA2B
0 ETH0.0014287333.385631
Withdraw182072782023-09-24 17:55:11452 days ago1695578111IN
0xA146240b...c0bB2BA2B
0 ETH0.000393369.19179251
Buy182072772023-09-24 17:54:59452 days ago1695578099IN
0xA146240b...c0bB2BA2B
0.000001 ETH0.00091899.40371471
Exit181875312023-09-21 23:29:47455 days ago1695338987IN
0xA146240b...c0bB2BA2B
0 ETH0.0008519715.79544265
Exit180227992023-08-29 20:57:23478 days ago1693342643IN
0xA146240b...c0bB2BA2B
0 ETH0.0019178835.55716003
Exit177521092023-07-23 0:01:35516 days ago1690070495IN
0xA146240b...c0bB2BA2B
0 ETH0.0009878318.31430184
Withdraw177521032023-07-23 0:00:23516 days ago1690070423IN
0xA146240b...c0bB2BA2B
0 ETH0.000663915.5136351
Exit176558012023-07-09 11:17:47529 days ago1688901467IN
0xA146240b...c0bB2BA2B
0 ETH0.0006965212.91351965
Exit175834242023-06-29 7:18:59539 days ago1688023139IN
0xA146240b...c0bB2BA2B
0 ETH0.0009555817.71633969
Exit157415742022-10-13 20:28:11798 days ago1665692891IN
0xA146240b...c0bB2BA2B
0 ETH0.0010987720.37103355
Exit131493572021-09-02 23:45:221204 days ago1630626322IN
0xA146240b...c0bB2BA2B
0 ETH0.0037307669.16765772
Reinvest123794782021-05-06 7:47:581323 days ago1620287278IN
0xA146240b...c0bB2BA2B
0 ETH0.0032394247
Exit120055032021-03-09 16:55:141381 days ago1615308914IN
0xA146240b...c0bB2BA2B
0 ETH0.00726725125
Withdraw120053882021-03-09 16:29:051381 days ago1615307345IN
0xA146240b...c0bB2BA2B
0 ETH0.00496341111.55
Exit119425852021-02-28 0:19:151391 days ago1614471555IN
0xA146240b...c0bB2BA2B
0 ETH0.0056975298
Exit113774172020-12-03 4:19:591477 days ago1606969199IN
0xA146240b...c0bB2BA2B
0 ETH0.0017208829.6
Exit113773862020-12-03 4:14:441477 days ago1606968884IN
0xA146240b...c0bB2BA2B
0 ETH0.0015697227
Get Me Out Of He...113773422020-12-03 4:05:201477 days ago1606968320IN
0xA146240b...c0bB2BA2B
0 ETH0.0010659926.9
Exit94703392020-02-12 20:29:081772 days ago1581539348IN
0xA146240b...c0bB2BA2B
0 ETH0.00046518
Exit94703332020-02-12 20:27:231772 days ago1581539243IN
0xA146240b...c0bB2BA2B
0 ETH0.0004488
Exit94591282020-02-11 3:07:561774 days ago1581390476IN
0xA146240b...c0bB2BA2B
0 ETH0.000129192.2222
Exit85358082019-09-12 15:48:231925 days ago1568303303IN
0xA146240b...c0bB2BA2B
0 ETH0.0005474610
Exit81988162019-07-22 6:11:521977 days ago1563775912IN
0xA146240b...c0bB2BA2B
0 ETH0.000054741
Exit81983302019-07-22 4:27:011977 days ago1563769621IN
0xA146240b...c0bB2BA2B
0 ETH0.000082111.5
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
212441012024-11-22 15:14:5927 days ago1732288499
0xA146240b...c0bB2BA2B
0.16022962 ETH
192725782024-02-21 0:47:47303 days ago1708476467
0xA146240b...c0bB2BA2B
0.00000123 ETH
182074272023-09-24 18:25:11452 days ago1695579911
0xA146240b...c0bB2BA2B
0.000001 ETH
182073692023-09-24 18:13:35452 days ago1695579215
0xA146240b...c0bB2BA2B
0.000001 ETH
182073392023-09-24 18:07:23452 days ago1695578843
0xA146240b...c0bB2BA2B
0 ETH
182073132023-09-24 18:02:11452 days ago1695578531
0xA146240b...c0bB2BA2B
0.000001 ETH
182072782023-09-24 17:55:11452 days ago1695578111
0xA146240b...c0bB2BA2B
0 ETH
181875312023-09-21 23:29:47455 days ago1695338987
0xA146240b...c0bB2BA2B
0.00337465 ETH
180227992023-08-29 20:57:23478 days ago1693342643
0xA146240b...c0bB2BA2B
0.01636075 ETH
177521092023-07-23 0:01:35516 days ago1690070495
0xA146240b...c0bB2BA2B
0.00059128 ETH
177521032023-07-23 0:00:23516 days ago1690070423
0xA146240b...c0bB2BA2B
0.00507211 ETH
176558012023-07-09 11:17:47529 days ago1688901467
0xA146240b...c0bB2BA2B
0.00008391 ETH
175834242023-06-29 7:18:59539 days ago1688023139
0xA146240b...c0bB2BA2B
0.07710258 ETH
157415742022-10-13 20:28:11798 days ago1665692891
0xA146240b...c0bB2BA2B
0.34315367 ETH
131493572021-09-02 23:45:221204 days ago1630626322
0xA146240b...c0bB2BA2B
0.00014407 ETH
120055032021-03-09 16:55:141381 days ago1615308914
0xA146240b...c0bB2BA2B
0.01039275 ETH
120053882021-03-09 16:29:051381 days ago1615307345
0xA146240b...c0bB2BA2B
0.0404567 ETH
119425852021-02-28 0:19:151391 days ago1614471555
0xA146240b...c0bB2BA2B
0.00009601 ETH
113774172020-12-03 4:19:591477 days ago1606969199
0xA146240b...c0bB2BA2B
0.11446993 ETH
113773862020-12-03 4:14:441477 days ago1606968884
0xA146240b...c0bB2BA2B
0.99098206 ETH
94703392020-02-12 20:29:081772 days ago1581539348
0xA146240b...c0bB2BA2B
0.06326977 ETH
94591282020-02-11 3:07:561774 days ago1581390476
0xA146240b...c0bB2BA2B
0.01126588 ETH
85358082019-09-12 15:48:231925 days ago1568303303
0xA146240b...c0bB2BA2B
0.00026079 ETH
81988162019-07-22 6:11:521977 days ago1563775912
0xA146240b...c0bB2BA2B
0.00523841 ETH
81983302019-07-22 4:27:011977 days ago1563769621
0xA146240b...c0bB2BA2B
0.00000393 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
POWM

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.20;

/*
* Team JUST presents..
* ====================================*
* _____     _ _ _ _____               * 
*|  _  |___| | | |  |  |              *
*|   __| . | | | |  |  |              * 
*|__|  |___|_____|  |  |              *
*                                     *
* ====================================*
* -> What?
* The original autonomous pyramid, improved:
* [x] More stable than ever, having withstood severe testnet abuse and attack attempts from our community!.
* [x] Audited, tested, and approved by known community security specialists such as tocsick and Arc.
* [X] New functionality; you can now perform partial sell orders. If you succumb to weak hands, you don't have to dump all of your bags!
* [x] New functionality; you can now transfer tokens between wallets. Trading is now possible from within the contract!
* [x] New Feature: PoS Masternodes! The first implementation of Ethereum Staking in the world! Vitalik is mad.
* [x] Masternodes: Holding 100 PoWH3D Tokens allow you to generate a Masternode link, Masternode links are used as unique entry points to the contract!
* [x] Masternodes: All players who enter the contract through your Masternode have 30% of their 10% dividends fee rerouted from the master-node, to the node-master!
*
* -> What about the last projects?
* Every programming member of the old dev team has been fired and/or killed by 232.
* The new dev team consists of seasoned, professional developers and has been audited by veteran solidity experts.
* Additionally, two independent testnet iterations have been used by hundreds of people; not a single point of failure was found.
* 
* -> Who worked on this project?
* - PonziBot (math/memes/main site/master)
* - Mantso (lead solidity dev/lead web3 dev)
* - swagg (concept design/feedback/management)
* - Anonymous#1 (main site/web3/test cases)
* - Anonymous#2 (math formulae/whitepaper)
*
* -> Who has audited & approved the projected:
* - Arc
* - tocisck
* - sumpunk
*/

contract POWM {
    /*=================================
    =            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[keccak256(_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 = "POWM";
    string public symbol = "PWM";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 5; // Look, strong Math
    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_ = 20 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(bytes32 => 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 --  
    */
    function POWM()
        public
    {
        // add administrators here

        administrators[0xec5a56760ad4239aef050513534820e3bcf6fd401927ff93e2cb035eff65cff8] = true;
        administrators[0x4b3cd99b7c1c3322322698bc4d3cfeaeeb8c45df19023dc497caa74de5328831] = true;
        administrators[0x1000cfa122d436a7ddc6b6faafa09339715175935b9ce3946dc055e3b7f2fa35] = 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
        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
        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
        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
        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(bytes32 _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 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
        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":"_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":true,"inputs":[{"name":"","type":"bytes32"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"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":"_identifier","type":"bytes32"},{"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"}]

606060405260408051908101604052600481527f504f574d00000000000000000000000000000000000000000000000000000000602082015260009080516200004d92916020019062000176565b5060408051908101604052600381527f50574d0000000000000000000000000000000000000000000000000000000000602082015260019080516200009792916020019062000176565b5068056bc75e2d631000006002556000600855600b805460ff191660011790553415620000c357600080fd5b600a6020527f4ea143e60e4a12d172f4171a38d22dea7a09ea5ac3493193ad8293156331e53e8054600160ff1991821681179092557fbb74baef6a87c515d01f9ea0eedbb6acf9f1316629166e797210c47b6ba5430780548216831790557f1000cfa122d436a7ddc6b6faafa09339715175935b9ce3946dc055e3b7f2fa356000527f7910d1af3cc1a1ee53f17a812028cc379f873eb4b7d4931f89f3ff0f796369fd805490911690911790556200021b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001b957805160ff1916838001178555620001e9565b82800160010185558215620001e9579182015b82811115620001e9578251825591602001919060010190620001cc565b50620001f7929150620001fb565b5090565b6200021891905b80821115620001f7576000815560010162000202565b90565b6116aa806200022b6000396000f30060606040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019c57806310d0ffdd1461022657806318160ddd1461023c578063226093731461024f57806327defa1f14610265578063313ce5671461028c578063392efb52146102b55780633ccfd60b146102cb5780634b750334146102e057806356d399e8146102f3578063688abbf7146103065780636b2f46321461031e57806370a08231146103315780638328b610146103505780638620410b1461036657806389135ae914610379578063949e8acd1461039457806395d89b41146103a7578063a8e04f34146103ba578063a9059cbb146103cd578063b84c8246146103ef578063c47f002714610440578063e4849b3214610491578063e9fad8ee146104a7578063f088d547146104ba578063fdb5a03e146104ce575b6101683460006104e1565b50005b341561017657600080fd5b61018a600160a060020a0360043516610aad565b60405190815260200160405180910390f35b34156101a757600080fd5b6101af610ae8565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151838201526020016101d3565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b61018a600435610b86565b341561024757600080fd5b61018a610bb6565b341561025a57600080fd5b61018a600435610bbd565b341561027057600080fd5b610278610bf6565b604051901515815260200160405180910390f35b341561029757600080fd5b61029f610bff565b60405160ff909116815260200160405180910390f35b34156102c057600080fd5b610278600435610c04565b34156102d657600080fd5b6102de610c19565b005b34156102eb57600080fd5b61018a610ce5565b34156102fe57600080fd5b61018a610d39565b341561031157600080fd5b61018a6004351515610d3f565b341561032957600080fd5b61018a610d82565b341561033c57600080fd5b61018a600160a060020a0360043516610d90565b341561035b57600080fd5b6102de600435610dab565b341561037157600080fd5b61018a610e02565b341561038457600080fd5b6102de6004356024351515610e4a565b341561039f57600080fd5b61018a610ebc565b34156103b257600080fd5b6101af610ecf565b34156103c557600080fd5b6102de610f3a565b34156103d857600080fd5b610278600160a060020a0360043516602435610f98565b34156103fa57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061115095505050505050565b341561044b57600080fd5b6102de60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506111b995505050505050565b341561049c57600080fd5b6102de60043561121d565b34156104b257600080fd5b6102de61137a565b61018a600160a060020a03600435166113b1565b34156104d957600080fd5b6102de6113bd565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff16801561052357506801158e460913d000008261051f610d82565b0311155b1561082b57600160a060020a03811660009081526003602052604090205460ff16151560011480156105785750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b151561058357600080fd5b600160a060020a0381166000908152600760205260409020546105a69083611478565b600160a060020a0382166000908152600760205260409020553399506105cd8d600561148e565b98506105da89600361148e565b97506105e689896114a5565b96506105f28d8a6114a5565b95506105fd866114b7565b9450680100000000000000008702935060008511801561062757506008546106258682611478565b115b151561063257600080fd5b600160a060020a038c161580159061065c575089600160a060020a03168c600160a060020a031614155b80156106825750600254600160a060020a038d1660009081526004602052604090205410155b156106c857600160a060020a038c166000908152600560205260409020546106aa9089611478565b600160a060020a038d166000908152600560205260409020556106e3565b6106d28789611478565b965068010000000000000000870293505b60006008541115610747576106fa60085486611478565b600881905568010000000000000000880281151561071457fe5b6009805492909104909101905560085468010000000000000000880281151561073957fe5b04850284038403935061074d565b60088590555b600160a060020a038a166000908152600460205260409020546107709086611478565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610a9d565b600b805460ff191690553399506108438d600561148e565b985061085089600361148e565b975061085c89896114a5565b96506108688d8a6114a5565b9550610873866114b7565b9450680100000000000000008702935060008511801561089d575060085461089b8682611478565b115b15156108a857600080fd5b600160a060020a038c16158015906108d2575089600160a060020a03168c600160a060020a031614155b80156108f85750600254600160a060020a038d1660009081526004602052604090205410155b1561093e57600160a060020a038c166000908152600560205260409020546109209089611478565b600160a060020a038d16600090815260056020526040902055610959565b6109488789611478565b965068010000000000000000870293505b600060085411156109bd5761097060085486611478565b600881905568010000000000000000880281151561098a57fe5b600980549290910490910190556008546801000000000000000088028115156109af57fe5b0485028403840393506109c3565b60088590555b600160a060020a038a166000908152600460205260409020546109e69086611478565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b820191906000526020600020905b815481529060010190602001808311610b6157829003601f168201915b505050505081565b6000808080610b9685600561148e565b9250610ba285846114a5565b9150610bad826114b7565b95945050505050565b6008545b90565b6000806000806008548511151515610bd457600080fd5b610bdd8561154f565b9250610bea83600561148e565b9150610bad83836114a5565b600b5460ff1681565b601281565b600a6020526000908152604090205460ff1681565b6000806000610c286001610d3f565b11610c3257600080fd5b339150610c3f6000610d3f565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610ca457600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610d03576414f46b04009350610d33565b610d14670de0b6b3a764000061154f565b9250610d2183600561148e565b9150610d2d83836114a5565b90508093505b50505090565b60025481565b60003382610d5557610d5081610aad565b610d79565b600160a060020a038116600090815260056020526040902054610d7782610aad565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610dfc57600080fd5b50600255565b60008060008060085460001415610e205764199c82cc009350610d33565b610e31670de0b6b3a764000061154f565b9250610e3e83600561148e565b9150610d2d8383611478565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e9b57600080fd5b506000918252600a6020526040909120805460ff1916911515919091179055565b600033610ec881610d90565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610f8b57600080fd5b50600b805460ff19169055565b600080600080600080610fa9610ebc565b11610fb357600080fd5b600b5433945060ff16158015610fe15750600160a060020a0384166000908152600460205260409020548611155b1515610fec57600080fd5b6000610ff86001610d3f565b111561100657611006610c19565b61101186600561148e565b925061101d86846114a5565b91506110288361154f565b9050611036600854846114a5565b600855600160a060020a03841660009081526004602052604090205461105c90876114a5565b600160a060020a03808616600090815260046020526040808220939093559089168152205461108b9083611478565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110ff91906801000000000000000084028115156110f957fe5b04611478565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111a157600080fd5b60018280516111b49291602001906115f0565b505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561120a57600080fd5b60008280516111b49291602001906115f0565b6000806000806000806000611230610ebc565b1161123a57600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561126357600080fd5b86945061126f8561154f565b935061127c84600561148e565b925061128884846114a5565b9150611296600854866114a5565b600855600160a060020a0386166000908152600460205260409020546112bc90866114a5565b600160a060020a038716600090815260046020908152604080832093909355600954600690915291812080549288026801000000000000000086020192839003905560085491925090111561132d576113296009546008546801000000000000000086028115156110f957fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260046020526040812054908111156113a5576113a58161121d565b6113ad610c19565b5050565b6000610d7c34836104e1565b6000806000806113cd6001610d3f565b116113d757600080fd5b6113e16000610d3f565b33600160a060020a03811660009081526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061142d9084906104e1565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561148757fe5b9392505050565b600080828481151561149c57fe5b04949350505050565b6000828211156114b157fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061153c611536730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016115bb565b856114a5565b81151561154557fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906115a86414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156115a257fe5b046114a5565b8115156115b157fe5b0495945050505050565b80600260018201045b81811015610d7c5780915060028182858115156115dd57fe5b04018115156115e857fe5b0490506115c4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061163157805160ff191683800117855561165e565b8280016001018555821561165e579182015b8281111561165e578251825591602001919060010190611643565b50610ecb92610bba9250905b80821115610ecb576000815560010161166a5600a165627a7a7230582042b5058b043a5ed24945bf02618c1919dec6556f77bedcdfea3d53aa7ee3352f0029

Deployed Bytecode

0x60606040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019c57806310d0ffdd1461022657806318160ddd1461023c578063226093731461024f57806327defa1f14610265578063313ce5671461028c578063392efb52146102b55780633ccfd60b146102cb5780634b750334146102e057806356d399e8146102f3578063688abbf7146103065780636b2f46321461031e57806370a08231146103315780638328b610146103505780638620410b1461036657806389135ae914610379578063949e8acd1461039457806395d89b41146103a7578063a8e04f34146103ba578063a9059cbb146103cd578063b84c8246146103ef578063c47f002714610440578063e4849b3214610491578063e9fad8ee146104a7578063f088d547146104ba578063fdb5a03e146104ce575b6101683460006104e1565b50005b341561017657600080fd5b61018a600160a060020a0360043516610aad565b60405190815260200160405180910390f35b34156101a757600080fd5b6101af610ae8565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151838201526020016101d3565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b61018a600435610b86565b341561024757600080fd5b61018a610bb6565b341561025a57600080fd5b61018a600435610bbd565b341561027057600080fd5b610278610bf6565b604051901515815260200160405180910390f35b341561029757600080fd5b61029f610bff565b60405160ff909116815260200160405180910390f35b34156102c057600080fd5b610278600435610c04565b34156102d657600080fd5b6102de610c19565b005b34156102eb57600080fd5b61018a610ce5565b34156102fe57600080fd5b61018a610d39565b341561031157600080fd5b61018a6004351515610d3f565b341561032957600080fd5b61018a610d82565b341561033c57600080fd5b61018a600160a060020a0360043516610d90565b341561035b57600080fd5b6102de600435610dab565b341561037157600080fd5b61018a610e02565b341561038457600080fd5b6102de6004356024351515610e4a565b341561039f57600080fd5b61018a610ebc565b34156103b257600080fd5b6101af610ecf565b34156103c557600080fd5b6102de610f3a565b34156103d857600080fd5b610278600160a060020a0360043516602435610f98565b34156103fa57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061115095505050505050565b341561044b57600080fd5b6102de60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506111b995505050505050565b341561049c57600080fd5b6102de60043561121d565b34156104b257600080fd5b6102de61137a565b61018a600160a060020a03600435166113b1565b34156104d957600080fd5b6102de6113bd565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff16801561052357506801158e460913d000008261051f610d82565b0311155b1561082b57600160a060020a03811660009081526003602052604090205460ff16151560011480156105785750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b151561058357600080fd5b600160a060020a0381166000908152600760205260409020546105a69083611478565b600160a060020a0382166000908152600760205260409020553399506105cd8d600561148e565b98506105da89600361148e565b97506105e689896114a5565b96506105f28d8a6114a5565b95506105fd866114b7565b9450680100000000000000008702935060008511801561062757506008546106258682611478565b115b151561063257600080fd5b600160a060020a038c161580159061065c575089600160a060020a03168c600160a060020a031614155b80156106825750600254600160a060020a038d1660009081526004602052604090205410155b156106c857600160a060020a038c166000908152600560205260409020546106aa9089611478565b600160a060020a038d166000908152600560205260409020556106e3565b6106d28789611478565b965068010000000000000000870293505b60006008541115610747576106fa60085486611478565b600881905568010000000000000000880281151561071457fe5b6009805492909104909101905560085468010000000000000000880281151561073957fe5b04850284038403935061074d565b60088590555b600160a060020a038a166000908152600460205260409020546107709086611478565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610a9d565b600b805460ff191690553399506108438d600561148e565b985061085089600361148e565b975061085c89896114a5565b96506108688d8a6114a5565b9550610873866114b7565b9450680100000000000000008702935060008511801561089d575060085461089b8682611478565b115b15156108a857600080fd5b600160a060020a038c16158015906108d2575089600160a060020a03168c600160a060020a031614155b80156108f85750600254600160a060020a038d1660009081526004602052604090205410155b1561093e57600160a060020a038c166000908152600560205260409020546109209089611478565b600160a060020a038d16600090815260056020526040902055610959565b6109488789611478565b965068010000000000000000870293505b600060085411156109bd5761097060085486611478565b600881905568010000000000000000880281151561098a57fe5b600980549290910490910190556008546801000000000000000088028115156109af57fe5b0485028403840393506109c3565b60088590555b600160a060020a038a166000908152600460205260409020546109e69086611478565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b820191906000526020600020905b815481529060010190602001808311610b6157829003601f168201915b505050505081565b6000808080610b9685600561148e565b9250610ba285846114a5565b9150610bad826114b7565b95945050505050565b6008545b90565b6000806000806008548511151515610bd457600080fd5b610bdd8561154f565b9250610bea83600561148e565b9150610bad83836114a5565b600b5460ff1681565b601281565b600a6020526000908152604090205460ff1681565b6000806000610c286001610d3f565b11610c3257600080fd5b339150610c3f6000610d3f565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610ca457600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610d03576414f46b04009350610d33565b610d14670de0b6b3a764000061154f565b9250610d2183600561148e565b9150610d2d83836114a5565b90508093505b50505090565b60025481565b60003382610d5557610d5081610aad565b610d79565b600160a060020a038116600090815260056020526040902054610d7782610aad565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610dfc57600080fd5b50600255565b60008060008060085460001415610e205764199c82cc009350610d33565b610e31670de0b6b3a764000061154f565b9250610e3e83600561148e565b9150610d2d8383611478565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e9b57600080fd5b506000918252600a6020526040909120805460ff1916911515919091179055565b600033610ec881610d90565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b7e5780601f10610b5357610100808354040283529160200191610b7e565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610f8b57600080fd5b50600b805460ff19169055565b600080600080600080610fa9610ebc565b11610fb357600080fd5b600b5433945060ff16158015610fe15750600160a060020a0384166000908152600460205260409020548611155b1515610fec57600080fd5b6000610ff86001610d3f565b111561100657611006610c19565b61101186600561148e565b925061101d86846114a5565b91506110288361154f565b9050611036600854846114a5565b600855600160a060020a03841660009081526004602052604090205461105c90876114a5565b600160a060020a03808616600090815260046020526040808220939093559089168152205461108b9083611478565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110ff91906801000000000000000084028115156110f957fe5b04611478565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111a157600080fd5b60018280516111b49291602001906115f0565b505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561120a57600080fd5b60008280516111b49291602001906115f0565b6000806000806000806000611230610ebc565b1161123a57600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561126357600080fd5b86945061126f8561154f565b935061127c84600561148e565b925061128884846114a5565b9150611296600854866114a5565b600855600160a060020a0386166000908152600460205260409020546112bc90866114a5565b600160a060020a038716600090815260046020908152604080832093909355600954600690915291812080549288026801000000000000000086020192839003905560085491925090111561132d576113296009546008546801000000000000000086028115156110f957fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260046020526040812054908111156113a5576113a58161121d565b6113ad610c19565b5050565b6000610d7c34836104e1565b6000806000806113cd6001610d3f565b116113d757600080fd5b6113e16000610d3f565b33600160a060020a03811660009081526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061142d9084906104e1565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561148757fe5b9392505050565b600080828481151561149c57fe5b04949350505050565b6000828211156114b157fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061153c611536730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016115bb565b856114a5565b81151561154557fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906115a86414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156115a257fe5b046114a5565b8115156115b157fe5b0495945050505050565b80600260018201045b81811015610d7c5780915060028182858115156115dd57fe5b04018115156115e857fe5b0490506115c4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061163157805160ff191683800117855561165e565b8280016001018555821561165e579182015b8281111561165e578251825591602001919060010190611643565b50610ecb92610bba9250905b80821115610ecb576000815560010161166a5600a165627a7a7230582042b5058b043a5ed24945bf02618c1919dec6556f77bedcdfea3d53aa7ee3352f0029

Swarm Source

bzzr://42b5058b043a5ed24945bf02618c1919dec6556f77bedcdfea3d53aa7ee3352f

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.