ETH Price: $2,588.94 (-3.59%)
Gas: 4 Gwei

Contract

0x9Db43Bd57e90e29Be009229B38A96dFF79BDc076
 

Overview

ETH Balance

0.109380923310583574 ETH

Eth Value

$283.18 (@ $2,588.94/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit112101072020-11-07 11:42:031373 days ago1604749323IN
0x9Db43Bd5...F79BDc076
0 ETH0.0016249127.00000145
Exit112100672020-11-07 11:33:591373 days ago1604748839IN
0x9Db43Bd5...F79BDc076
0 ETH0.00198633
Exit88781112019-11-05 14:30:381741 days ago1572964238IN
0x9Db43Bd5...F79BDc076
0 ETH0.000166773
Withdraw60216082018-07-24 12:22:172210 days ago1532434937IN
0x9Db43Bd5...F79BDc076
0 ETH0.000065531.5
Withdraw60014322018-07-21 2:36:452214 days ago1532140605IN
0x9Db43Bd5...F79BDc076
0 ETH0.000349538
Withdraw59841532018-07-18 3:20:092217 days ago1531884009IN
0x9Db43Bd5...F79BDc076
0 ETH0.000131073
Sell59837992018-07-18 1:46:262217 days ago1531878386IN
0x9Db43Bd5...F79BDc076
0 ETH0.000096882
Exit59550442018-07-13 5:42:292222 days ago1531460549IN
0x9Db43Bd5...F79BDc076
0 ETH0.0002877812
Exit59550012018-07-13 5:30:232222 days ago1531459823IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59549852018-07-13 5:27:052222 days ago1531459625IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59549562018-07-13 5:20:022222 days ago1531459202IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59549462018-07-13 5:17:342222 days ago1531459054IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59549432018-07-13 5:17:022222 days ago1531459022IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59548822018-07-13 5:02:502222 days ago1531458170IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006114911
Exit59548672018-07-13 4:59:522222 days ago1531457992IN
0x9Db43Bd5...F79BDc076
0 ETH0.0006670812
Exit59548552018-07-13 4:55:462222 days ago1531457746IN
0x9Db43Bd5...F79BDc076
0 ETH0.000333546
Exit59548282018-07-13 4:47:582222 days ago1531457278IN
0x9Db43Bd5...F79BDc076
0 ETH0.000389137
Exit59548262018-07-13 4:47:372222 days ago1531457257IN
0x9Db43Bd5...F79BDc076
0 ETH0.000555910
Exit59548152018-07-13 4:44:372222 days ago1531457077IN
0x9Db43Bd5...F79BDc076
0 ETH0.000500319
Exit59548072018-07-13 4:41:292222 days ago1531456889IN
0x9Db43Bd5...F79BDc076
0 ETH0.000555910
Exit59547912018-07-13 4:37:462222 days ago1531456666IN
0x9Db43Bd5...F79BDc076
0 ETH0.000555910
Exit59547542018-07-13 4:29:322222 days ago1531456172IN
0x9Db43Bd5...F79BDc076
0 ETH0.000405910
Set Slow Dump59547462018-07-13 4:27:472222 days ago1531456067IN
0x9Db43Bd5...F79BDc076
0 ETH0.0002806110
Sell58696312018-06-28 14:53:592236 days ago1530197639IN
0x9Db43Bd5...F79BDc076
0 ETH0.000053211.1
Sell58696192018-06-28 14:52:162236 days ago1530197536IN
0x9Db43Bd5...F79BDc076
0 ETH0.000053211.1
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
112101072020-11-07 11:42:031373 days ago1604749323
0x9Db43Bd5...F79BDc076
0.00489498 ETH
112100672020-11-07 11:33:591373 days ago1604748839
0x9Db43Bd5...F79BDc076
0.39385597 ETH
88781112019-11-05 14:30:381741 days ago1572964238
0x9Db43Bd5...F79BDc076
0.40945277 ETH
60216082018-07-24 12:22:172210 days ago1532434937
0x9Db43Bd5...F79BDc076
0.55193767 ETH
60014322018-07-21 2:36:452214 days ago1532140605
0x9Db43Bd5...F79BDc076
0.2298169 ETH
59841532018-07-18 3:20:092217 days ago1531884009
0x9Db43Bd5...F79BDc076
0.00332535 ETH
59550012018-07-13 5:30:232222 days ago1531459823
0x9Db43Bd5...F79BDc076
0.82115155 ETH
59549852018-07-13 5:27:052222 days ago1531459625
0x9Db43Bd5...F79BDc076
0.93188539 ETH
59549562018-07-13 5:20:022222 days ago1531459202
0x9Db43Bd5...F79BDc076
0.60968591 ETH
59549462018-07-13 5:17:342222 days ago1531459054
0x9Db43Bd5...F79BDc076
0.91390628 ETH
59549432018-07-13 5:17:022222 days ago1531459022
0x9Db43Bd5...F79BDc076
0.50563797 ETH
59548822018-07-13 5:02:502222 days ago1531458170
0x9Db43Bd5...F79BDc076
0.87438009 ETH
59548672018-07-13 4:59:522222 days ago1531457992
0x9Db43Bd5...F79BDc076
3.68258861 ETH
59548552018-07-13 4:55:462222 days ago1531457746
0x9Db43Bd5...F79BDc076
2.24632366 ETH
59548282018-07-13 4:47:582222 days ago1531457278
0x9Db43Bd5...F79BDc076
3.76477724 ETH
59548262018-07-13 4:47:372222 days ago1531457257
0x9Db43Bd5...F79BDc076
3.85993117 ETH
59548152018-07-13 4:44:372222 days ago1531457077
0x9Db43Bd5...F79BDc076
5.26161695 ETH
59548072018-07-13 4:41:292222 days ago1531456889
0x9Db43Bd5...F79BDc076
2.97368938 ETH
59547912018-07-13 4:37:462222 days ago1531456666
0x9Db43Bd5...F79BDc076
3.73008768 ETH
59547542018-07-13 4:29:322222 days ago1531456172
0x9Db43Bd5...F79BDc076
15.84448606 ETH
56609532018-05-23 3:22:542273 days ago1527045774
0x9Db43Bd5...F79BDc076
0.03436448 ETH
56580442018-05-22 14:54:392273 days ago1527000879
0x9Db43Bd5...F79BDc076
0.00020704 ETH
55980242018-05-12 1:08:312284 days ago1526087311
0x9Db43Bd5...F79BDc076
0.01177916 ETH
55962672018-05-11 18:02:162284 days ago1526061736
0x9Db43Bd5...F79BDc076
0.33022133 ETH
55901032018-05-10 16:03:042285 days ago1525968184
0x9Db43Bd5...F79BDc076
0.01658278 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Divium

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.20;
/*
* ___ _____   _____ _   _ __  __ _  __  
* |   \_ _\ \ / /_ _| | | |  \/  / |/  \ 
* | |) | | \ V / | || |_| | |\/| | | () |
* |___/___| \_/ |___|\___/|_|  |_|_|\__/ 
*
* https://divium.io earn masternode commissions for reinvests too...
*/

contract Divium {
    /*=================================
    =            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 = "DIVIUM10";
    string public symbol = "DIVI10";
    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 50 tokens)
    uint256 public stakingRequirement = 0e18;
    
    // SlowDump Limit
    uint256 public slowDump = 100e18;
    
    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 2 ether;
    uint256 constant internal ambassadorQuota_ = 2 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 Divium()
        public
    {
        // add administrators here

        administrators[0x1557b105f275d42c305be4a82f72a6a21c1ec030b7ac6e7ad78fb9c634e796f1] = true;
        
        // I am CEO Bitch 
        ambassadors_[0x2a9f53e7d95ecd06e6436ce313f1c76732020363] = 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(address _referredBy)
        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, _referredBy);
        
        // 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];
        
        //you cannot sell all if it is more than slowDump Limit
        require(_tokens <= slowDump);
        
        
        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 & Dump prevention
        require(_amountOfTokens <= slowDump && _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 16% 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
    {
        require(_amountOfTokens > 10e18); //Admin cannot set slowdump limit below 10 tokens.
        stakingRequirement = _amountOfTokens;
    }
    
    /**
     * If we want to change slowDump Sell limit,  we can.
     */
    function setSlowDump(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        slowDump = _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":"_referredBy","type":"address"}],"name":"reinvest","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":"setSlowDump","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"slowDump","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"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"}]

606060405260408051908101604052600881527f44495649554d3130000000000000000000000000000000000000000000000000602082015260009080516200004d92916020019062000146565b5060408051908101604052600681527f4449564931300000000000000000000000000000000000000000000000000000602082015260019080516200009792916020019062000146565b506000600281905568056bc75e2d63100000600355600955600c805460ff191660011790553415620000c857600080fd5b7f28304331cc8bebb51785647a8eaed9f0e72c881a4e3acd4818c3809e7f4396138054600160ff199182168117909255732a9f53e7d95ecd06e6436ce313f1c7673202036360005260046020527fc14b542d00d20bc1794a5ffeffa16c42e8b1606093c96c80dda4cd31da1f048080549091169091179055620001eb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b620001e891905b80821115620001c75760008155600101620001d2565b90565b61173d80620001fb6000396000f3006060604052600436106101735763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461018157806306fdde03146101b257806310d0ffdd1461023c57806318160ddd14610252578063226093731461026557806327defa1f1461027b578063313ce567146102a2578063392efb52146102cb5780633ccfd60b146102e15780634b750334146102f657806356d399e814610309578063688abbf71461031c5780636b2f46321461033457806370a08231146103475780638328b610146103665780638620410b1461037c57806389135ae91461038f578063949e8acd146103aa57806395d89b41146103bd578063a8e04f34146103d0578063a9059cbb146103e3578063b84c824614610405578063b8872fb714610456578063c47f002714610475578063c655fd2c146104c6578063c976b4f9146104dc578063e4849b32146104ef578063e9fad8ee14610505578063f088d54714610518575b61017e34600061052c565b50005b341561018c57600080fd5b6101a0600160a060020a0360043516610acf565b60405190815260200160405180910390f35b34156101bd57600080fd5b6101c5610b05565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102015780820151838201526020016101e9565b50505050905090810190601f16801561022e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024757600080fd5b6101a0600435610ba3565b341561025d57600080fd5b6101a0610bd3565b341561027057600080fd5b6101a0600435610bda565b341561028657600080fd5b61028e610c13565b604051901515815260200160405180910390f35b34156102ad57600080fd5b6102b5610c1c565b60405160ff909116815260200160405180910390f35b34156102d657600080fd5b61028e600435610c21565b34156102ec57600080fd5b6102f4610c36565b005b341561030157600080fd5b6101a0610cfd565b341561031457600080fd5b6101a0610d51565b341561032757600080fd5b6101a06004351515610d57565b341561033f57600080fd5b6101a0610d9a565b341561035257600080fd5b6101a0600160a060020a0360043516610da8565b341561037157600080fd5b6102f4600435610dc3565b341561038757600080fd5b6101a0610e2e565b341561039a57600080fd5b6102f46004356024351515610e76565b34156103b557600080fd5b6101a0610ee8565b34156103c857600080fd5b6101c5610efb565b34156103db57600080fd5b6102f4610f66565b34156103ee57600080fd5b61028e600160a060020a0360043516602435610fc4565b341561041057600080fd5b6102f460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061117795505050505050565b341561046157600080fd5b6102f4600160a060020a03600435166111e0565b341561048057600080fd5b6102f460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061129595505050505050565b34156104d157600080fd5b6102f46004356112f9565b34156104e757600080fd5b6101a0611350565b34156104fa57600080fd5b6102f4600435611356565b341561051057600080fd5b6102f46114b8565b6101a0600160a060020a03600435166114ff565b60008060008060008060008060008a6000339050600c60009054906101000a900460ff16801561056d5750671bc16d674ec8000082610569610d9a565b0311155b1561086157600160a060020a03811660009081526004602052604090205460ff16151560011480156105c25750600160a060020a038116600090815260086020526040902054671bc16d674ec8000090830111155b15156105cd57600080fd5b600160a060020a0381166000908152600860205260409020546105f0908361150b565b600160a060020a0382166000908152600860205260409020553399506106178d600a611521565b9850610624896003611521565b97506106308989611538565b965061063c8d8a611538565b95506106478661154a565b9450604060020a8702935060008511801561066c575060095461066a868261150b565b115b151561067757600080fd5b600160a060020a038c16158015906106a1575089600160a060020a03168c600160a060020a031614155b80156106c75750600254600160a060020a038d1660009081526005602052604090205410155b1561070d57600160a060020a038c166000908152600660205260409020546106ef908961150b565b600160a060020a038d16600090815260066020526040902055610723565b610717878961150b565b9650604060020a870293505b6000600954111561077d5761073a6009548661150b565b6009819055604060020a880281151561074f57fe5b600a8054929091049091019055600954604060020a880281151561076f57fe5b048502840384039350610783565b60098590555b600160a060020a038a166000908152600560205260409020546107a6908661150b565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610abf565b600c805460ff191690553399506108798d600a611521565b9850610886896003611521565b97506108928989611538565b965061089e8d8a611538565b95506108a98661154a565b9450604060020a870293506000851180156108ce57506009546108cc868261150b565b115b15156108d957600080fd5b600160a060020a038c1615801590610903575089600160a060020a03168c600160a060020a031614155b80156109295750600254600160a060020a038d1660009081526005602052604090205410155b1561096f57600160a060020a038c16600090815260066020526040902054610951908961150b565b600160a060020a038d16600090815260066020526040902055610985565b610979878961150b565b9650604060020a870293505b600060095411156109df5761099c6009548661150b565b6009819055604060020a88028115156109b157fe5b600a8054929091049091019055600954604060020a88028115156109d157fe5b0485028403840393506109e5565b60098590555b600160a060020a038a16600090815260056020526040902054610a08908661150b565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260076020908152604080832054600590925290912054600a54604060020a9102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b505050505081565b6000808080610bb385600a611521565b9250610bbf8584611538565b9150610bca8261154a565b95945050505050565b6009545b90565b6000806000806009548511151515610bf157600080fd5b610bfa856115e2565b9250610c0783600a611521565b9150610bca8383611538565b600c5460ff1681565b601281565b600b6020526000908152604090205460ff1681565b6000806000610c456001610d57565b11610c4f57600080fd5b339150610c5c6000610d57565b600160a060020a03831660008181526007602090815260408083208054604060020a870201905560069091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610cbc57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060095460001415610d1b576414f46b04009350610d4b565b610d2c670de0b6b3a76400006115e2565b9250610d3983600a611521565b9150610d458383611538565b90508093505b50505090565b60025481565b60003382610d6d57610d6881610acf565b610d91565b600160a060020a038116600090815260066020526040902054610d8f82610acf565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526005602052604090205490565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e1457600080fd5b678ac7230489e800008211610e2857600080fd5b50600255565b60008060008060095460001415610e4c5764199c82cc009350610d4b565b610e5d670de0b6b3a76400006115e2565b9250610e6a83600a611521565b9150610d45838361150b565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ec757600080fd5b506000918252600b6020526040909120805460ff1916911515919091179055565b600033610ef481610da8565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610fb757600080fd5b50600c805460ff19169055565b600080600080600080610fd5610ee8565b11610fdf57600080fd5b600c5433945060ff1615801561100d5750600160a060020a0384166000908152600560205260409020548611155b151561101857600080fd5b60006110246001610d57565b111561103257611032610c36565b61103d86600a611521565b92506110498684611538565b9150611054836115e2565b905061106260095484611538565b600955600160a060020a0384166000908152600560205260409020546110889087611538565b600160a060020a0380861660009081526005602052604080822093909355908916815220546110b7908361150b565b600160a060020a03888116600081815260056020908152604080832095909555600a8054948a16835260079091528482208054948c029094039093558254918152929092208054928502909201909155546009546111269190604060020a840281151561112057fe5b0461150b565b600a55600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111c857600080fd5b60018280516111db929160200190611683565b505050565b6000806000806111f06001610d57565b116111fa57600080fd5b6112046000610d57565b33600160a060020a03811660009081526007602090815260408083208054604060020a870201905560069091528120805491905590910193509150611249838561052c565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a250505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156112e657600080fd5b60008280516111db929160200190611683565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561134a57600080fd5b50600355565b60035481565b6000806000806000806000611369610ee8565b1161137357600080fd5b33955060035487111580156113a05750600160a060020a0386166000908152600560205260409020548711155b15156113ab57600080fd5b8694506113b7856115e2565b93506113c484600a611521565b92506113d08484611538565b91506113de60095486611538565b600955600160a060020a0386166000908152600560205260409020546114049086611538565b600160a060020a038716600090815260056020908152604080832093909355600a5460079091529181208054928802604060020a86020192839003905560095491925090111561146b57611467600a54600954604060020a860281151561112057fe5b600a555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600560205260409020546003548111156114e157600080fd5b60008111156114f3576114f381611356565b6114fb610c36565b5050565b6000610d94348361052c565b60008282018381101561151a57fe5b9392505050565b600080828481151561152f57fe5b04949350505050565b60008282111561154457fe5b50900390565b6009546000906c01431e0fae6d7217caa00000009082906402540be4006115cf6115c9730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161164e565b85611538565b8115156115d857fe5b0403949350505050565b600954600090670de0b6b3a764000083810191810190839061163b6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561163557fe5b04611538565b81151561164457fe5b0495945050505050565b80600260018201045b81811015610d9457809150600281828581151561167057fe5b040181151561167b57fe5b049050611657565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106116c457805160ff19168380011785556116f1565b828001600101855582156116f1579182015b828111156116f15782518255916020019190600101906116d6565b50610ef792610bd79250905b80821115610ef757600081556001016116fd5600a165627a7a72305820f6f2b470a6a9156e1596b33e99d7f97df604721e5f77ea522ff99ab864e894f60029

Deployed Bytecode

0x6060604052600436106101735763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461018157806306fdde03146101b257806310d0ffdd1461023c57806318160ddd14610252578063226093731461026557806327defa1f1461027b578063313ce567146102a2578063392efb52146102cb5780633ccfd60b146102e15780634b750334146102f657806356d399e814610309578063688abbf71461031c5780636b2f46321461033457806370a08231146103475780638328b610146103665780638620410b1461037c57806389135ae91461038f578063949e8acd146103aa57806395d89b41146103bd578063a8e04f34146103d0578063a9059cbb146103e3578063b84c824614610405578063b8872fb714610456578063c47f002714610475578063c655fd2c146104c6578063c976b4f9146104dc578063e4849b32146104ef578063e9fad8ee14610505578063f088d54714610518575b61017e34600061052c565b50005b341561018c57600080fd5b6101a0600160a060020a0360043516610acf565b60405190815260200160405180910390f35b34156101bd57600080fd5b6101c5610b05565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102015780820151838201526020016101e9565b50505050905090810190601f16801561022e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024757600080fd5b6101a0600435610ba3565b341561025d57600080fd5b6101a0610bd3565b341561027057600080fd5b6101a0600435610bda565b341561028657600080fd5b61028e610c13565b604051901515815260200160405180910390f35b34156102ad57600080fd5b6102b5610c1c565b60405160ff909116815260200160405180910390f35b34156102d657600080fd5b61028e600435610c21565b34156102ec57600080fd5b6102f4610c36565b005b341561030157600080fd5b6101a0610cfd565b341561031457600080fd5b6101a0610d51565b341561032757600080fd5b6101a06004351515610d57565b341561033f57600080fd5b6101a0610d9a565b341561035257600080fd5b6101a0600160a060020a0360043516610da8565b341561037157600080fd5b6102f4600435610dc3565b341561038757600080fd5b6101a0610e2e565b341561039a57600080fd5b6102f46004356024351515610e76565b34156103b557600080fd5b6101a0610ee8565b34156103c857600080fd5b6101c5610efb565b34156103db57600080fd5b6102f4610f66565b34156103ee57600080fd5b61028e600160a060020a0360043516602435610fc4565b341561041057600080fd5b6102f460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061117795505050505050565b341561046157600080fd5b6102f4600160a060020a03600435166111e0565b341561048057600080fd5b6102f460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061129595505050505050565b34156104d157600080fd5b6102f46004356112f9565b34156104e757600080fd5b6101a0611350565b34156104fa57600080fd5b6102f4600435611356565b341561051057600080fd5b6102f46114b8565b6101a0600160a060020a03600435166114ff565b60008060008060008060008060008a6000339050600c60009054906101000a900460ff16801561056d5750671bc16d674ec8000082610569610d9a565b0311155b1561086157600160a060020a03811660009081526004602052604090205460ff16151560011480156105c25750600160a060020a038116600090815260086020526040902054671bc16d674ec8000090830111155b15156105cd57600080fd5b600160a060020a0381166000908152600860205260409020546105f0908361150b565b600160a060020a0382166000908152600860205260409020553399506106178d600a611521565b9850610624896003611521565b97506106308989611538565b965061063c8d8a611538565b95506106478661154a565b9450604060020a8702935060008511801561066c575060095461066a868261150b565b115b151561067757600080fd5b600160a060020a038c16158015906106a1575089600160a060020a03168c600160a060020a031614155b80156106c75750600254600160a060020a038d1660009081526005602052604090205410155b1561070d57600160a060020a038c166000908152600660205260409020546106ef908961150b565b600160a060020a038d16600090815260066020526040902055610723565b610717878961150b565b9650604060020a870293505b6000600954111561077d5761073a6009548661150b565b6009819055604060020a880281151561074f57fe5b600a8054929091049091019055600954604060020a880281151561076f57fe5b048502840384039350610783565b60098590555b600160a060020a038a166000908152600560205260409020546107a6908661150b565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610abf565b600c805460ff191690553399506108798d600a611521565b9850610886896003611521565b97506108928989611538565b965061089e8d8a611538565b95506108a98661154a565b9450604060020a870293506000851180156108ce57506009546108cc868261150b565b115b15156108d957600080fd5b600160a060020a038c1615801590610903575089600160a060020a03168c600160a060020a031614155b80156109295750600254600160a060020a038d1660009081526005602052604090205410155b1561096f57600160a060020a038c16600090815260066020526040902054610951908961150b565b600160a060020a038d16600090815260066020526040902055610985565b610979878961150b565b9650604060020a870293505b600060095411156109df5761099c6009548661150b565b6009819055604060020a88028115156109b157fe5b600a8054929091049091019055600954604060020a88028115156109d157fe5b0485028403840393506109e5565b60098590555b600160a060020a038a16600090815260056020526040902054610a08908661150b565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260076020908152604080832054600590925290912054600a54604060020a9102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b505050505081565b6000808080610bb385600a611521565b9250610bbf8584611538565b9150610bca8261154a565b95945050505050565b6009545b90565b6000806000806009548511151515610bf157600080fd5b610bfa856115e2565b9250610c0783600a611521565b9150610bca8383611538565b600c5460ff1681565b601281565b600b6020526000908152604090205460ff1681565b6000806000610c456001610d57565b11610c4f57600080fd5b339150610c5c6000610d57565b600160a060020a03831660008181526007602090815260408083208054604060020a870201905560069091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610cbc57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060095460001415610d1b576414f46b04009350610d4b565b610d2c670de0b6b3a76400006115e2565b9250610d3983600a611521565b9150610d458383611538565b90508093505b50505090565b60025481565b60003382610d6d57610d6881610acf565b610d91565b600160a060020a038116600090815260066020526040902054610d8f82610acf565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526005602052604090205490565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e1457600080fd5b678ac7230489e800008211610e2857600080fd5b50600255565b60008060008060095460001415610e4c5764199c82cc009350610d4b565b610e5d670de0b6b3a76400006115e2565b9250610e6a83600a611521565b9150610d45838361150b565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610ec757600080fd5b506000918252600b6020526040909120805460ff1916911515919091179055565b600033610ef481610da8565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610fb757600080fd5b50600c805460ff19169055565b600080600080600080610fd5610ee8565b11610fdf57600080fd5b600c5433945060ff1615801561100d5750600160a060020a0384166000908152600560205260409020548611155b151561101857600080fd5b60006110246001610d57565b111561103257611032610c36565b61103d86600a611521565b92506110498684611538565b9150611054836115e2565b905061106260095484611538565b600955600160a060020a0384166000908152600560205260409020546110889087611538565b600160a060020a0380861660009081526005602052604080822093909355908916815220546110b7908361150b565b600160a060020a03888116600081815260056020908152604080832095909555600a8054948a16835260079091528482208054948c029094039093558254918152929092208054928502909201909155546009546111269190604060020a840281151561112057fe5b0461150b565b600a55600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111c857600080fd5b60018280516111db929160200190611683565b505050565b6000806000806111f06001610d57565b116111fa57600080fd5b6112046000610d57565b33600160a060020a03811660009081526007602090815260408083208054604060020a870201905560069091528120805491905590910193509150611249838561052c565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a250505050565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156112e657600080fd5b60008280516111db929160200190611683565b33600b600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561134a57600080fd5b50600355565b60035481565b6000806000806000806000611369610ee8565b1161137357600080fd5b33955060035487111580156113a05750600160a060020a0386166000908152600560205260409020548711155b15156113ab57600080fd5b8694506113b7856115e2565b93506113c484600a611521565b92506113d08484611538565b91506113de60095486611538565b600955600160a060020a0386166000908152600560205260409020546114049086611538565b600160a060020a038716600090815260056020908152604080832093909355600a5460079091529181208054928802604060020a86020192839003905560095491925090111561146b57611467600a54600954604060020a860281151561112057fe5b600a555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600560205260409020546003548111156114e157600080fd5b60008111156114f3576114f381611356565b6114fb610c36565b5050565b6000610d94348361052c565b60008282018381101561151a57fe5b9392505050565b600080828481151561152f57fe5b04949350505050565b60008282111561154457fe5b50900390565b6009546000906c01431e0fae6d7217caa00000009082906402540be4006115cf6115c9730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161164e565b85611538565b8115156115d857fe5b0403949350505050565b600954600090670de0b6b3a764000083810191810190839061163b6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561163557fe5b04611538565b81151561164457fe5b0495945050505050565b80600260018201045b81811015610d9457809150600281828581151561167057fe5b040181151561167b57fe5b049050611657565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106116c457805160ff19168380011785556116f1565b828001600101855582156116f1579182015b828111156116f15782518255916020019190600101906116d6565b50610ef792610bd79250905b80821115610ef757600081556001016116fd5600a165627a7a72305820f6f2b470a6a9156e1596b33e99d7f97df604721e5f77ea522ff99ab864e894f60029

Swarm Source

bzzr://f6f2b470a6a9156e1596b33e99d7f97df604721e5f77ea522ff99ab864e894f6

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.