ETH Price: $3,665.84 (+0.80%)
Gas: 5.89 Gwei
 

Overview

ETH Balance

0.439765744746997781 ETH

Eth Value

$1,612.11 (@ $3,665.84/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit66070132018-10-29 19:08:532260 days ago1540840133IN
0x861Ab771...a06AE7d1C
0 ETH0.000119373
Withdraw61933902018-08-22 12:49:382328 days ago1534942178IN
0x861Ab771...a06AE7d1C
0 ETH0.000173924
Sell61927222018-08-22 10:07:042328 days ago1534932424IN
0x861Ab771...a06AE7d1C
0 ETH0.000144173
Buy60912542018-08-05 6:40:572345 days ago1533451257IN
0x861Ab771...a06AE7d1C
0.001 ETH0.000201332
Withdraw60827402018-08-03 20:39:012347 days ago1533328741IN
0x861Ab771...a06AE7d1C
0 ETH0.00021745
Withdraw60764802018-08-02 19:03:392348 days ago1533236619IN
0x861Ab771...a06AE7d1C
0 ETH0.000085443
Withdraw60764762018-08-02 19:02:392348 days ago1533236559IN
0x861Ab771...a06AE7d1C
0 ETH0.000086962
Withdraw60751052018-08-02 13:29:222348 days ago1533216562IN
0x861Ab771...a06AE7d1C
0 ETH0.000113924
Withdraw60750622018-08-02 13:19:162348 days ago1533215956IN
0x861Ab771...a06AE7d1C
0 ETH0.000086962
Sell60750522018-08-02 13:16:382348 days ago1533215798IN
0x861Ab771...a06AE7d1C
0 ETH0.000239975
Reinvest60750052018-08-02 13:03:402348 days ago1533215020IN
0x861Ab771...a06AE7d1C
0 ETH0.0014831415
Reinvest60747972018-08-02 12:01:582348 days ago1533211318IN
0x861Ab771...a06AE7d1C
0 ETH0.0007515
Sell60747842018-08-02 11:57:092348 days ago1533211029IN
0x861Ab771...a06AE7d1C
0 ETH0.000116785
Sell60747812018-08-02 11:56:452348 days ago1533211005IN
0x861Ab771...a06AE7d1C
0 ETH0.000143983
Buy60744642018-08-02 10:38:472348 days ago1533206327IN
0x861Ab771...a06AE7d1C
0.1 ETH0.000253023
Sell60744572018-08-02 10:36:342348 days ago1533206194IN
0x861Ab771...a06AE7d1C
0 ETH0.000192484
Reinvest60744442018-08-02 10:34:282348 days ago1533206068IN
0x861Ab771...a06AE7d1C
0 ETH0.000494385
Sell60744162018-08-02 10:27:022348 days ago1533205622IN
0x861Ab771...a06AE7d1C
0 ETH0.000240615
Buy60744112018-08-02 10:25:112348 days ago1533205511IN
0x861Ab771...a06AE7d1C
0.1 ETH0.000421715
Reinvest60743792018-08-02 10:17:122348 days ago1533205032IN
0x861Ab771...a06AE7d1C
0 ETH0.000116755
Withdraw60743792018-08-02 10:17:122348 days ago1533205032IN
0x861Ab771...a06AE7d1C
0 ETH0.0004348110
Withdraw60700302018-08-01 16:40:462349 days ago1533141646IN
0x861Ab771...a06AE7d1C
0 ETH0.000086962
Buy60699032018-08-01 16:11:322349 days ago1533139892IN
0x861Ab771...a06AE7d1C
0.01 ETH0.000201332
Withdraw60695252018-08-01 14:42:452349 days ago1533134565IN
0x861Ab771...a06AE7d1C
0 ETH0.0017392440
Sell60695232018-08-01 14:42:112349 days ago1533134531IN
0x861Ab771...a06AE7d1C
0 ETH0.0019223240
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
66070412018-10-29 19:13:392260 days ago1540840419
0x861Ab771...a06AE7d1C
0.25983067 ETH
66070132018-10-29 19:08:532260 days ago1540840133
0x861Ab771...a06AE7d1C
0.07163459 ETH
61933902018-08-22 12:49:382328 days ago1534942178
0x861Ab771...a06AE7d1C
0.01707678 ETH
60827402018-08-03 20:39:012347 days ago1533328741
0x861Ab771...a06AE7d1C
0.03633338 ETH
60764802018-08-02 19:03:392348 days ago1533236619
0x861Ab771...a06AE7d1C
0.44499083 ETH
60764762018-08-02 19:02:392348 days ago1533236559
0x861Ab771...a06AE7d1C
0.045828 ETH
60751052018-08-02 13:29:222348 days ago1533216562
0x861Ab771...a06AE7d1C
0.0230723 ETH
60750622018-08-02 13:19:162348 days ago1533215956
0x861Ab771...a06AE7d1C
0.0213258 ETH
60743792018-08-02 10:17:122348 days ago1533205032
0x861Ab771...a06AE7d1C
0.27489168 ETH
60700302018-08-01 16:40:462349 days ago1533141646
0x861Ab771...a06AE7d1C
0.09475856 ETH
60695252018-08-01 14:42:452349 days ago1533134565
0x861Ab771...a06AE7d1C
2.04640821 ETH
60687012018-08-01 11:22:502349 days ago1533122570
0x861Ab771...a06AE7d1C
0.012672 ETH
60592842018-07-30 20:49:212351 days ago1532983761
0x861Ab771...a06AE7d1C
0.0240804 ETH
60577362018-07-30 14:38:102351 days ago1532961490
0x861Ab771...a06AE7d1C
4.09271213 ETH
60576102018-07-30 14:06:072351 days ago1532959567
0x861Ab771...a06AE7d1C
4.5629599 ETH
60514912018-07-29 13:33:022352 days ago1532871182
0x861Ab771...a06AE7d1C
0.00950481 ETH
60505282018-07-29 9:40:052352 days ago1532857205
0x861Ab771...a06AE7d1C
0.01158854 ETH
60482802018-07-29 0:45:072353 days ago1532825107
0x861Ab771...a06AE7d1C
0.03776421 ETH
60482632018-07-29 0:41:282353 days ago1532824888
0x861Ab771...a06AE7d1C
0.18827882 ETH
60433222018-07-28 4:56:522353 days ago1532753812
0x861Ab771...a06AE7d1C
0.17712283 ETH
60416692018-07-27 22:15:352354 days ago1532729735
0x861Ab771...a06AE7d1C
0.03769265 ETH
60368732018-07-27 2:51:042355 days ago1532659864
0x861Ab771...a06AE7d1C
0.06428269 ETH
60361242018-07-26 23:45:392355 days ago1532648739
0x861Ab771...a06AE7d1C
0.02616781 ETH
60356282018-07-26 21:49:082355 days ago1532641748
0x861Ab771...a06AE7d1C
0.40433728 ETH
60351902018-07-26 20:04:192355 days ago1532635459
0x861Ab771...a06AE7d1C
0.12352494 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NekoToken

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-07-25
*/

pragma solidity ^0.4.20;

/*
* 
NekoToken.xyz

* Based on the POWH3D contract but with these improvements:

* [x] Now with a Progressive Jackpot which increases with every Buy and Reinvest!

* [x] Jackpot is won randomly by Buyers and Reinvestors!

* [X] Jackpot is built up with % of every Buy-in and Reinvest DIV Fee.

* [x] 25% Divs On Buy & Sell

* [x] Master Nodes get 25% Ref fees. You need 100 NEKO Tokens for MM. (its hidden until you have 100 Tokens)

* [x] The First 0.5 ETH in the premine is a (KittyFund) Any eth earnt, including ref links and divs goes directly to KittyJackpot.xyz

TEAM KITTY > JUST
*
*/

contract NekoToken {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }
    
    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }
    
    // administrators can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty (How many tokens it costs to hold a masternode, in case it gets crazy high later)
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        address _customerAddress = msg.sender;
        require(administrators[_customerAddress]);
        _;
    }
    
    
    // ensures that the first tokens in the contract will be equally distributed
    // meaning, no divine dump will be ever possible
    // result: healthy longevity.
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        address _customerAddress = msg.sender;
        
        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol 
        if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){
            require(
                // is the customer in the ambassador list?
                ambassadors_[_customerAddress] == true &&
                
                // does the customer purchase exceed the max ambassador quota?
                (ambassadorAccumulatedQuota_[_customerAddress] + _amountOfEthereum) <= ambassadorMaxPurchase_
                
            );
            
            // updated the accumulated quota    
            ambassadorAccumulatedQuota_[_customerAddress] = SafeMath.add(ambassadorAccumulatedQuota_[_customerAddress], _amountOfEthereum);
        
            // execute
            _;
        } else {
            // in case the ether count drops low, the ambassador phase won't reinitiate
            onlyAmbassadors = false;
            _;    
        }
        
    }
    
    
    /*==============================
    =            EVENTS            =
    ==============================*/
    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy
    );
    
    event onTokenSell(
        address indexed customerAddress,
        uint256 tokensBurned,
        uint256 ethereumEarned
    );
    
    event onReinvestment(
        address indexed customerAddress,
        uint256 ethereumReinvested,
        uint256 tokensMinted
    );
    
    event onWithdraw(                               //Announce a Jackpot Win
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

     event onWin(
        address indexed customerAddress,
        uint256 ethereumWon
    );
    
    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );
    
    
    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "NEKO TOKEN";
    string public symbol = "NEKO";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 4;              //FEE DIVISOR set to 4 for 25% DIV
    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_ = 5 ether;
    uint256 constant internal ambassadorQuota_ = 10 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_;

    uint256 internal jackpot_ = 0;
    
    // administrator list (see above on what they can do)
    mapping(address => bool) public administrators;
    
    // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid)
    bool public onlyAmbassadors = true;
    
    address Master;

    uint256 jackpotThreshold;

    uint jackpotFactor = 250;

    uint256 jackpotCounter = 0;

    address lastWinner = 0x0000000000000000000000000000000000000000;


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    function NekoToken()
        public
    {
        // add administrators here
        administrators[msg.sender] = true;
        
        ambassadors_[0xa9eB31931417d89b233681dfb319783b1703C998] = true;
        ambassadors_[0x3662496Bd906054f535D534c46d130A4ee36624C] = true;
        ambassadors_[0x83c0Efc6d8B16D87BFe1335AB6BcAb3Ed3960285] = true;
        ambassadors_[0xAD6D6c25FCDAb2e737e8de31795df4c6bB6D9Bae] = true;
        // because Norsefire is literally everywhere
        ambassadors_[0x4F4eBF556CFDc21c3424F85ff6572C77c514Fcae] = true;

        Master = msg.sender;

        onlyAmbassadors = true;
   
        jackpotThreshold = random() * 1e15 * jackpotFactor;       
        

    }
    
     
    /**
     * 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 = true;
    }
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }
    
    /**
     * Precautionary measures in case we need to adjust the masternode rate.
     */
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }
    
    /**
     * If we want to rebrand, we can.
     */
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }

    /**
     * Set the JackpotFactpr
     */
    function setJackpotFactor(uint _factor)
        onlyAdministrator()
        public
    {
        jackpotFactor = _factor;
    }
    
    /**
     * 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 jackpot amount.
     */
    function jackpot()
        public
        view
        returns(uint256)
    {
        return jackpot_;
    }

     /**
     * Retrieve last winner address.
     */
    function getLastWinner()
        public
        view
        returns(address)
    {
        return lastWinner;
    }

    
    /**
     * 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, 4);   //set divisor to 4 for 25% for referrals

        //uint256 _removeFromDiv =  SafeMath.div(_undividedDividends, 2);  //This is to remove Referral Bonus and Jackpot          
       
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);        //Subtract Referral Bonus
        _dividends = SafeMath.sub(_dividends, _referralBonus);        //Subtract Jackpot
        
        
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);

        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        //_dividends = SafeMath.sub(_dividends, _referralBonus);                          //Subtract Jackpot

        uint256 _fee = _dividends * magnitude;     

        jackpotCounter += _incomingEthereum;                

              //Remove the jackpot bonus
 
        // 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);

            jackpot_ = SafeMath.add(jackpot_, _referralBonus);

        } else {
            // no ref purchase
            // 

            jackpot_ = SafeMath.add(jackpot_, _referralBonus);

            referralBalance_[Master] = SafeMath.add(referralBalance_[Master], _referralBonus);

        }
        
        // 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;
        
        //uint check = checkJackpot(_customerAddress);
        // fire event
        onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy);

        checkJackpot(msg.sender);
        
        
        return _amountOfTokens;
    }


    function random() private view returns (uint8) {
        return uint8(uint256(keccak256(block.timestamp, block.difficulty))%251);
    }


    function checkJackpot(address _jackpotAddress)
        private
        returns(uint256)
        {
        
        if (jackpotCounter >= jackpotThreshold) {     
            //WINNER
            //Add to winner dividends
            //Reset Jackpot
            uint256 winnings = jackpot_;
            //address _customerAddress = msg.sender;
            referralBalance_[_jackpotAddress] = SafeMath.add(referralBalance_[_jackpotAddress], jackpot_);
            jackpot_ = 0;
            jackpotCounter = 0;
            jackpotThreshold = random() * 1e15 * jackpotFactor;
            lastWinner = _jackpotAddress;

            onWin(msg.sender, winnings);
            
            return winnings;
        }
        
    }


    /**
     * 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":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":"jackpot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_factor","type":"uint256"}],"name":"setJackpotFactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableInitialStage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getLastWinner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWon","type":"uint256"}],"name":"onWin","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"}]

606060405260408051908101604052600a81527f4e454b4f20544f4b454e00000000000000000000000000000000000000000000602082015260009080516200004d9291602001906200027e565b5060408051908101604052600481527f4e454b4f0000000000000000000000000000000000000000000000000000000060208201526001908051620000979291602001906200027e565b5068056bc75e2d6310000060025560006008819055600a819055600c805460ff1916600117905560fa600e55600f5560108054600160a060020a03191690553415620000e257600080fd5b33600160a060020a03166000818152600b6020908152604082208054600160ff19918216811790925560039092527f21a6c79dd641d61a3510f90ff61773c3e17b31dc7bb7fa1f557bcc541ced4d8c80548316821790557f7616a2ff16cceb1b00f033349b8fa5d82e37c7668f6ab1039bd6dbae35b98b9e80548316821790557f241d292d9c780e7953b4438053936b8250e4a080b8d20ea9f2029f4d0ce0f32280548316821790557f2813de41e1ed5a07e2ce477411c4b66c03d85624da5973cff5a2013c55812bed8054831682179055734f4ebf556cfdc21c3424f85ff6572c77c514fcae9092527f896e374eda9137b5f8855ac2148b1cc883f20aff5694d9b3a67c41bf9e9b05c08054821683179055600c805461010060a860020a0319166101009094029390931716179055600e546200022d6401000000006200024f8102620017c11704565b60ff1666038d7ea4c680000266ffffffffffffff1602600d8190555062000320565b600060fb42446040519182526020820152604090810190519081900390208115156200027757fe5b0690505b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002c157805160ff1916838001178555620002f1565b82800160010185558215620002f1579182015b82811115620002f1578251825591602001919060010190620002d4565b50620002ff92915062000303565b5090565b6200027b91905b80821115620002ff57600081556001016200030a565b6118a880620003306000396000f30060606040526004361061017e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461018c57806306fdde03146101bd57806310d0ffdd1461024757806318160ddd1461025d578063226093731461027057806327defa1f14610286578063313ce567146102ad5780633ccfd60b146102d65780634b750334146102eb57806356d399e8146102fe578063688abbf7146103115780636b2f4632146103295780636b31ee011461033c5780636cf9bbf81461034f57806370a082311461036557806376be1585146103845780638328b610146103a35780638620410b146103b957806387c95058146103cc578063949e8acd146103f057806395d89b4114610403578063a8e04f3414610416578063a9059cbb14610429578063b84c82461461044b578063c47f00271461049c578063e4849b32146104ed578063e9fad8ee14610503578063f088d54714610516578063f88649a11461052a578063fdb5a03e14610559575b61018934600061056c565b50005b341561019757600080fd5b6101ab600160a060020a0360043516610c11565b60405190815260200160405180910390f35b34156101c857600080fd5b6101d0610c4c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561020c5780820151838201526020016101f4565b50505050905090810190601f1680156102395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561025257600080fd5b6101ab600435610cea565b341561026857600080fd5b6101ab610d1a565b341561027b57600080fd5b6101ab600435610d21565b341561029157600080fd5b610299610d5a565b604051901515815260200160405180910390f35b34156102b857600080fd5b6102c0610d63565b60405160ff909116815260200160405180910390f35b34156102e157600080fd5b6102e9610d68565b005b34156102f657600080fd5b6101ab610e34565b341561030957600080fd5b6101ab610e88565b341561031c57600080fd5b6101ab6004351515610e8e565b341561033457600080fd5b6101ab610ed1565b341561034757600080fd5b6101ab610edf565b341561035a57600080fd5b6102e9600435610ee5565b341561037057600080fd5b6101ab600160a060020a0360043516610f13565b341561038f57600080fd5b610299600160a060020a0360043516610f2e565b34156103ae57600080fd5b6102e9600435610f43565b34156103c457600080fd5b6101ab610f71565b34156103d757600080fd5b6102e9600160a060020a03600435166024351515610fb9565b34156103fb57600080fd5b6101ab61100d565b341561040e57600080fd5b6101d0611020565b341561042157600080fd5b6102e961108b565b341561043457600080fd5b610299600160a060020a03600435166024356110c3565b341561045657600080fd5b6102e960046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061127b95505050505050565b34156104a757600080fd5b6102e960046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506112bb95505050505050565b34156104f857600080fd5b6102e96004356112f6565b341561050e57600080fd5b6102e9611453565b6101ab600160a060020a036004351661148a565b341561053557600080fd5b61053d611496565b604051600160a060020a03909116815260200160405180910390f35b341561056457600080fd5b6102e96114a5565b60008060008060008060008060008a6000339050600c60009054906101000a900460ff1680156105ad5750678ac7230489e80000826105a9610ed1565b0311155b1561092257600160a060020a03811660009081526003602052604090205460ff16151560011480156106025750600160a060020a038116600090815260076020526040902054674563918244f4000090830111155b151561060d57600080fd5b600160a060020a0381166000908152600760205260409020546106309083611560565b600160a060020a0382166000908152600760205260409020553399506106578d6004611576565b9850610664896004611576565b9750610670898961158d565b965061067c878961158d565b96506106888d8a61158d565b95506106938661159f565b600f80548f019055945068010000000000000000870293506000851180156106c557506008546106c38682611560565b115b15156106d057600080fd5b600160a060020a038c16158015906106fa575089600160a060020a03168c600160a060020a031614155b80156107205750600254600160a060020a038d1660009081526004602052604090205410155b1561077657600160a060020a038c166000908152600560205260409020546107489089611560565b600160a060020a038d16600090815260056020526040902055600a5461076e9089611560565b600a556107d0565b610782600a5489611560565b600a55600c546101009004600160a060020a03166000908152600560205260409020546107af9089611560565b600c546101009004600160a060020a03166000908152600560205260409020555b60006008541115610834576107e760085486611560565b600881905568010000000000000000880281151561080157fe5b6009805492909104909101905560085468010000000000000000880281151561082657fe5b04850284038403935061083a565b60088590555b600160a060020a038a1660009081526004602052604090205461085d9086611560565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a361091933611637565b50849a50610c01565b600c805460ff1916905533995061093a8d6004611576565b9850610947896004611576565b9750610953898961158d565b965061095f878961158d565b965061096b8d8a61158d565b95506109768661159f565b600f80548f019055945068010000000000000000870293506000851180156109a857506008546109a68682611560565b115b15156109b357600080fd5b600160a060020a038c16158015906109dd575089600160a060020a03168c600160a060020a031614155b8015610a035750600254600160a060020a038d1660009081526004602052604090205410155b15610a5957600160a060020a038c16600090815260056020526040902054610a2b9089611560565b600160a060020a038d16600090815260056020526040902055600a54610a519089611560565b600a55610ab3565b610a65600a5489611560565b600a55600c546101009004600160a060020a0316600090815260056020526040902054610a929089611560565b600c546101009004600160a060020a03166000908152600560205260409020555b60006008541115610b1757610aca60085486611560565b6008819055680100000000000000008802811515610ae457fe5b60098054929091049091019055600854680100000000000000008802811515610b0957fe5b048502840384039350610b1d565b60088590555b600160a060020a038a16600090815260046020526040902054610b409086611560565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3610bfc33611637565b50849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce25780601f10610cb757610100808354040283529160200191610ce2565b820191906000526020600020905b815481529060010190602001808311610cc557829003601f168201915b505050505081565b6000808080610cfa856004611576565b9250610d06858461158d565b9150610d118261159f565b95945050505050565b6008545b90565b6000806000806008548511151515610d3857600080fd5b610d4185611720565b9250610d4e836004611576565b9150610d11838361158d565b600c5460ff1681565b601281565b6000806000610d776001610e8e565b11610d8157600080fd5b339150610d8e6000610e8e565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610df357600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610e52576414f46b04009350610e82565b610e63670de0b6b3a7640000611720565b9250610e70836004611576565b9150610e7c838361158d565b90508093505b50505090565b60025481565b60003382610ea457610e9f81610c11565b610ec8565b600160a060020a038116600090815260056020526040902054610ec682610c11565b015b91505b50919050565b600160a060020a0330163190565b600a5490565b33600160a060020a0381166000908152600b602052604090205460ff161515610f0d57600080fd5b50600e55565b600160a060020a031660009081526004602052604090205490565b600b6020526000908152604090205460ff1681565b33600160a060020a0381166000908152600b602052604090205460ff161515610f6b57600080fd5b50600255565b60008060008060085460001415610f8f5764199c82cc009350610e82565b610fa0670de0b6b3a7640000611720565b9250610fad836004611576565b9150610e7c8383611560565b33600160a060020a0381166000908152600b602052604090205460ff161515610fe157600080fd5b50600160a060020a03919091166000908152600b60205260409020805460ff1916911515919091179055565b60003361101981610f13565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce25780601f10610cb757610100808354040283529160200191610ce2565b33600160a060020a0381166000908152600b602052604090205460ff1615156110b357600080fd5b50600c805460ff19166001179055565b6000806000806000806110d461100d565b116110de57600080fd5b600c5433945060ff1615801561110c5750600160a060020a0384166000908152600460205260409020548611155b151561111757600080fd5b60006111236001610e8e565b111561113157611131610d68565b61113c866004611576565b9250611148868461158d565b915061115383611720565b90506111616008548461158d565b600855600160a060020a038416600090815260046020526040902054611187908761158d565b600160a060020a0380861660009081526004602052604080822093909355908916815220546111b69083611560565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c0290940390935582549181529290922080549285029092019091555460085461122a919068010000000000000000840281151561122457fe5b04611560565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156112a357600080fd5b60018280516112b69291602001906117ee565b505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156112e357600080fd5b60008280516112b69291602001906117ee565b600080600080600080600061130961100d565b1161131357600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561133c57600080fd5b86945061134885611720565b9350611355846004611576565b9250611361848461158d565b915061136f6008548661158d565b600855600160a060020a038616600090815260046020526040902054611395908661158d565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192509011156114065761140260095460085468010000000000000000860281151561122457fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600460205260408120549081111561147e5761147e816112f6565b611486610d68565b5050565b6000610ecb348361056c565b601054600160a060020a031690565b6000806000806114b56001610e8e565b116114bf57600080fd5b6114c96000610e8e565b33600160a060020a03811660009081526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061151590849061056c565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561156f57fe5b9392505050565b600080828481151561158457fe5b04949350505050565b60008282111561159957fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061162461161e730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161178c565b8561158d565b81151561162d57fe5b0403949350505050565b600080600d54600f54101515610ecb5750600a54600160a060020a03831660009081526005602052604090205461166e9082611560565b600160a060020a038416600090815260056020526040812091909155600a819055600f55600e5461169d6117c1565b60ff1666038d7ea4c680000266ffffffffffffff1602600d556010805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038581169190911790915533167f389e73058d222afabb8f75ec13dbb95687a87d8d916591ac29a0108006c6063e8260405190815260200160405180910390a2809150610ecb565b600854600090670de0b6b3a76400008381019181019083906117796414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561177357fe5b0461158d565b81151561178257fe5b0495945050505050565b80600260018201045b81811015610ecb5780915060028182858115156117ae57fe5b04018115156117b957fe5b049050611795565b600060fb42446040519182526020820152604090810190519081900390208115156117e857fe5b06905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061182f57805160ff191683800117855561185c565b8280016001018555821561185c579182015b8281111561185c578251825591602001919060010190611841565b5061101c92610d1e9250905b8082111561101c57600081556001016118685600a165627a7a72305820cfc925dc0480a9ec1db9dad0b0f14b75a07be470bf1171afb0833368848ab9060029

Deployed Bytecode

0x60606040526004361061017e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461018c57806306fdde03146101bd57806310d0ffdd1461024757806318160ddd1461025d578063226093731461027057806327defa1f14610286578063313ce567146102ad5780633ccfd60b146102d65780634b750334146102eb57806356d399e8146102fe578063688abbf7146103115780636b2f4632146103295780636b31ee011461033c5780636cf9bbf81461034f57806370a082311461036557806376be1585146103845780638328b610146103a35780638620410b146103b957806387c95058146103cc578063949e8acd146103f057806395d89b4114610403578063a8e04f3414610416578063a9059cbb14610429578063b84c82461461044b578063c47f00271461049c578063e4849b32146104ed578063e9fad8ee14610503578063f088d54714610516578063f88649a11461052a578063fdb5a03e14610559575b61018934600061056c565b50005b341561019757600080fd5b6101ab600160a060020a0360043516610c11565b60405190815260200160405180910390f35b34156101c857600080fd5b6101d0610c4c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561020c5780820151838201526020016101f4565b50505050905090810190601f1680156102395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561025257600080fd5b6101ab600435610cea565b341561026857600080fd5b6101ab610d1a565b341561027b57600080fd5b6101ab600435610d21565b341561029157600080fd5b610299610d5a565b604051901515815260200160405180910390f35b34156102b857600080fd5b6102c0610d63565b60405160ff909116815260200160405180910390f35b34156102e157600080fd5b6102e9610d68565b005b34156102f657600080fd5b6101ab610e34565b341561030957600080fd5b6101ab610e88565b341561031c57600080fd5b6101ab6004351515610e8e565b341561033457600080fd5b6101ab610ed1565b341561034757600080fd5b6101ab610edf565b341561035a57600080fd5b6102e9600435610ee5565b341561037057600080fd5b6101ab600160a060020a0360043516610f13565b341561038f57600080fd5b610299600160a060020a0360043516610f2e565b34156103ae57600080fd5b6102e9600435610f43565b34156103c457600080fd5b6101ab610f71565b34156103d757600080fd5b6102e9600160a060020a03600435166024351515610fb9565b34156103fb57600080fd5b6101ab61100d565b341561040e57600080fd5b6101d0611020565b341561042157600080fd5b6102e961108b565b341561043457600080fd5b610299600160a060020a03600435166024356110c3565b341561045657600080fd5b6102e960046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061127b95505050505050565b34156104a757600080fd5b6102e960046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506112bb95505050505050565b34156104f857600080fd5b6102e96004356112f6565b341561050e57600080fd5b6102e9611453565b6101ab600160a060020a036004351661148a565b341561053557600080fd5b61053d611496565b604051600160a060020a03909116815260200160405180910390f35b341561056457600080fd5b6102e96114a5565b60008060008060008060008060008a6000339050600c60009054906101000a900460ff1680156105ad5750678ac7230489e80000826105a9610ed1565b0311155b1561092257600160a060020a03811660009081526003602052604090205460ff16151560011480156106025750600160a060020a038116600090815260076020526040902054674563918244f4000090830111155b151561060d57600080fd5b600160a060020a0381166000908152600760205260409020546106309083611560565b600160a060020a0382166000908152600760205260409020553399506106578d6004611576565b9850610664896004611576565b9750610670898961158d565b965061067c878961158d565b96506106888d8a61158d565b95506106938661159f565b600f80548f019055945068010000000000000000870293506000851180156106c557506008546106c38682611560565b115b15156106d057600080fd5b600160a060020a038c16158015906106fa575089600160a060020a03168c600160a060020a031614155b80156107205750600254600160a060020a038d1660009081526004602052604090205410155b1561077657600160a060020a038c166000908152600560205260409020546107489089611560565b600160a060020a038d16600090815260056020526040902055600a5461076e9089611560565b600a556107d0565b610782600a5489611560565b600a55600c546101009004600160a060020a03166000908152600560205260409020546107af9089611560565b600c546101009004600160a060020a03166000908152600560205260409020555b60006008541115610834576107e760085486611560565b600881905568010000000000000000880281151561080157fe5b6009805492909104909101905560085468010000000000000000880281151561082657fe5b04850284038403935061083a565b60088590555b600160a060020a038a1660009081526004602052604090205461085d9086611560565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a361091933611637565b50849a50610c01565b600c805460ff1916905533995061093a8d6004611576565b9850610947896004611576565b9750610953898961158d565b965061095f878961158d565b965061096b8d8a61158d565b95506109768661159f565b600f80548f019055945068010000000000000000870293506000851180156109a857506008546109a68682611560565b115b15156109b357600080fd5b600160a060020a038c16158015906109dd575089600160a060020a03168c600160a060020a031614155b8015610a035750600254600160a060020a038d1660009081526004602052604090205410155b15610a5957600160a060020a038c16600090815260056020526040902054610a2b9089611560565b600160a060020a038d16600090815260056020526040902055600a54610a519089611560565b600a55610ab3565b610a65600a5489611560565b600a55600c546101009004600160a060020a0316600090815260056020526040902054610a929089611560565b600c546101009004600160a060020a03166000908152600560205260409020555b60006008541115610b1757610aca60085486611560565b6008819055680100000000000000008802811515610ae457fe5b60098054929091049091019055600854680100000000000000008802811515610b0957fe5b048502840384039350610b1d565b60088590555b600160a060020a038a16600090815260046020526040902054610b409086611560565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3610bfc33611637565b50849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce25780601f10610cb757610100808354040283529160200191610ce2565b820191906000526020600020905b815481529060010190602001808311610cc557829003601f168201915b505050505081565b6000808080610cfa856004611576565b9250610d06858461158d565b9150610d118261159f565b95945050505050565b6008545b90565b6000806000806008548511151515610d3857600080fd5b610d4185611720565b9250610d4e836004611576565b9150610d11838361158d565b600c5460ff1681565b601281565b6000806000610d776001610e8e565b11610d8157600080fd5b339150610d8e6000610e8e565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610df357600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610e52576414f46b04009350610e82565b610e63670de0b6b3a7640000611720565b9250610e70836004611576565b9150610e7c838361158d565b90508093505b50505090565b60025481565b60003382610ea457610e9f81610c11565b610ec8565b600160a060020a038116600090815260056020526040902054610ec682610c11565b015b91505b50919050565b600160a060020a0330163190565b600a5490565b33600160a060020a0381166000908152600b602052604090205460ff161515610f0d57600080fd5b50600e55565b600160a060020a031660009081526004602052604090205490565b600b6020526000908152604090205460ff1681565b33600160a060020a0381166000908152600b602052604090205460ff161515610f6b57600080fd5b50600255565b60008060008060085460001415610f8f5764199c82cc009350610e82565b610fa0670de0b6b3a7640000611720565b9250610fad836004611576565b9150610e7c8383611560565b33600160a060020a0381166000908152600b602052604090205460ff161515610fe157600080fd5b50600160a060020a03919091166000908152600b60205260409020805460ff1916911515919091179055565b60003361101981610f13565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce25780601f10610cb757610100808354040283529160200191610ce2565b33600160a060020a0381166000908152600b602052604090205460ff1615156110b357600080fd5b50600c805460ff19166001179055565b6000806000806000806110d461100d565b116110de57600080fd5b600c5433945060ff1615801561110c5750600160a060020a0384166000908152600460205260409020548611155b151561111757600080fd5b60006111236001610e8e565b111561113157611131610d68565b61113c866004611576565b9250611148868461158d565b915061115383611720565b90506111616008548461158d565b600855600160a060020a038416600090815260046020526040902054611187908761158d565b600160a060020a0380861660009081526004602052604080822093909355908916815220546111b69083611560565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c0290940390935582549181529290922080549285029092019091555460085461122a919068010000000000000000840281151561122457fe5b04611560565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156112a357600080fd5b60018280516112b69291602001906117ee565b505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156112e357600080fd5b60008280516112b69291602001906117ee565b600080600080600080600061130961100d565b1161131357600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561133c57600080fd5b86945061134885611720565b9350611355846004611576565b9250611361848461158d565b915061136f6008548661158d565b600855600160a060020a038616600090815260046020526040902054611395908661158d565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802680100000000000000008602019283900390556008549192509011156114065761140260095460085468010000000000000000860281151561122457fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600460205260408120549081111561147e5761147e816112f6565b611486610d68565b5050565b6000610ecb348361056c565b601054600160a060020a031690565b6000806000806114b56001610e8e565b116114bf57600080fd5b6114c96000610e8e565b33600160a060020a03811660009081526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061151590849061056c565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561156f57fe5b9392505050565b600080828481151561158457fe5b04949350505050565b60008282111561159957fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be40061162461161e730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000161178c565b8561158d565b81151561162d57fe5b0403949350505050565b600080600d54600f54101515610ecb5750600a54600160a060020a03831660009081526005602052604090205461166e9082611560565b600160a060020a038416600090815260056020526040812091909155600a819055600f55600e5461169d6117c1565b60ff1666038d7ea4c680000266ffffffffffffff1602600d556010805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038581169190911790915533167f389e73058d222afabb8f75ec13dbb95687a87d8d916591ac29a0108006c6063e8260405190815260200160405180910390a2809150610ecb565b600854600090670de0b6b3a76400008381019181019083906117796414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561177357fe5b0461158d565b81151561178257fe5b0495945050505050565b80600260018201045b81811015610ecb5780915060028182858115156117ae57fe5b04018115156117b957fe5b049050611795565b600060fb42446040519182526020820152604090810190519081900390208115156117e857fe5b06905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061182f57805160ff191683800117855561185c565b8280016001018555821561185c579182015b8281111561185c578251825591602001919060010190611841565b5061101c92610d1e9250905b8082111561101c57600081556001016118685600a165627a7a72305820cfc925dc0480a9ec1db9dad0b0f14b75a07be470bf1171afb0833368848ab9060029

Swarm Source

bzzr://cfc925dc0480a9ec1db9dad0b0f14b75a07be470bf1171afb0833368848ab906

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.