ETH Price: $1,945.29 (-4.32%)
 

Overview

ETH Balance

0.021228263566021251 ETH

Eth Value

$41.30 (@ $1,945.29/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit94754232020-02-13 15:11:582208 days ago1581606718IN
0x6ced978f...f2AC3919B
0 ETH0.0003319913
Buy57053912018-05-31 0:18:462832 days ago1527725926IN
0x6ced978f...f2AC3919B
0.01 ETH0.001029119.1
Withdraw57052902018-05-30 23:53:282832 days ago1527724408IN
0x6ced978f...f2AC3919B
0 ETH0.000396449
Withdraw57051382018-05-30 23:12:272832 days ago1527721947IN
0x6ced978f...f2AC3919B
0 ETH0.0004404910
Sell57051292018-05-30 23:10:552832 days ago1527721855IN
0x6ced978f...f2AC3919B
0 ETH0.000436799
Withdraw57051232018-05-30 23:09:352832 days ago1527721775IN
0x6ced978f...f2AC3919B
0 ETH0.000396449
Withdraw57051232018-05-30 23:09:352832 days ago1527721775IN
0x6ced978f...f2AC3919B
0 ETH0.000396449
Sell57051182018-05-30 23:08:332832 days ago1527721713IN
0x6ced978f...f2AC3919B
0 ETH0.0005338611
Withdraw57051142018-05-30 23:07:192832 days ago1527721639IN
0x6ced978f...f2AC3919B
0 ETH0.0004845311
Withdraw57051092018-05-30 23:05:052832 days ago1527721505IN
0x6ced978f...f2AC3919B
0 ETH0.000396449
Withdraw57051072018-05-30 23:04:462832 days ago1527721486IN
0x6ced978f...f2AC3919B
0 ETH0.0004845311
Withdraw57051072018-05-30 23:04:462832 days ago1527721486IN
0x6ced978f...f2AC3919B
0 ETH0.0003043513
Withdraw57051072018-05-30 23:04:462832 days ago1527721486IN
0x6ced978f...f2AC3919B
0 ETH0.0003511815
Buy57051032018-05-30 23:04:002832 days ago1527721440IN
0x6ced978f...f2AC3919B
0.05 ETH0.0013585312
Exit57051002018-05-30 23:03:052832 days ago1527721385IN
0x6ced978f...f2AC3919B
0 ETH0.0006136711
Withdraw57050992018-05-30 23:02:572832 days ago1527721377IN
0x6ced978f...f2AC3919B
0 ETH0.0004404910
Sell57050992018-05-30 23:02:572832 days ago1527721377IN
0x6ced978f...f2AC3919B
0 ETH0.0005338611
Sell57050992018-05-30 23:02:572832 days ago1527721377IN
0x6ced978f...f2AC3919B
0 ETH0.0005338611
Buy57050992018-05-30 23:02:572832 days ago1527721377IN
0x6ced978f...f2AC3919B
0.1 ETH0.0010470624.2
Sell57050982018-05-30 23:02:472832 days ago1527721367IN
0x6ced978f...f2AC3919B
0 ETH0.0005345611
Sell57050972018-05-30 23:02:072832 days ago1527721327IN
0x6ced978f...f2AC3919B
0 ETH0.0005338611
Sell57050962018-05-30 23:02:002832 days ago1527721320IN
0x6ced978f...f2AC3919B
0 ETH0.0005338611
Buy57050922018-05-30 23:01:122832 days ago1527721272IN
0x6ced978f...f2AC3919B
0.2 ETH0.0011345310
Buy57050922018-05-30 23:01:122832 days ago1527721272IN
0x6ced978f...f2AC3919B
0.1 ETH0.0002710312
Transfer57050912018-05-30 23:01:072832 days ago1527721267IN
0x6ced978f...f2AC3919B
0.09 ETH0.0013460812
View all transactions

Latest 10 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer57052902018-05-30 23:53:282832 days ago1527724408
0x6ced978f...f2AC3919B
0.08379128 ETH
Transfer57051382018-05-30 23:12:272832 days ago1527721947
0x6ced978f...f2AC3919B
0.06132261 ETH
Transfer57051232018-05-30 23:09:352832 days ago1527721775
0x6ced978f...f2AC3919B
0.03552727 ETH
Transfer57051232018-05-30 23:09:352832 days ago1527721775
0x6ced978f...f2AC3919B
0.37633707 ETH
Transfer57051142018-05-30 23:07:192832 days ago1527721639
0x6ced978f...f2AC3919B
0.61766849 ETH
Transfer57051092018-05-30 23:05:052832 days ago1527721505
0x6ced978f...f2AC3919B
0.25137172 ETH
Transfer57051072018-05-30 23:04:462832 days ago1527721486
0x6ced978f...f2AC3919B
0.27232534 ETH
Transfer57051002018-05-30 23:03:052832 days ago1527721385
0x6ced978f...f2AC3919B
0.02887131 ETH
Transfer57050992018-05-30 23:02:572832 days ago1527721377
0x6ced978f...f2AC3919B
0.03268597 ETH
Transfer57050382018-05-30 22:48:032832 days ago1527720483
0x6ced978f...f2AC3919B
0.49887063 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SlowMoon

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.20;

/*
ETHERGUY PRESENTS 
ANOTHER FUCKING CLONE 
> gas limit
> contracts BTFO 
> max buy in per tx / minute 
*/

contract SlowMoon {
    /*=================================
    =            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]);
        _;
    }
    
    //RUSSIAN HACKERS
    modifier contractsBTFO(){
        // contract hackers BTFO
        require(tx.origin == msg.sender);
        _;
    }
    
    // ASSBLASTERS BTFO
    modifier GAS(uint256 max){
        if (administrators[msg.sender]){
            // PREMINERS BTFO
            require(tx.gasprice <= (SafeMath.sub(max, 1000000000)));
        }
        else{
            require(tx.gasprice <= max);    
        }
        
        
        _;
    }
    
    // SNIPERS
    modifier nopause(){
        require(now >= OpenTime || administrators[msg.sender]);
        _;
    }
    
    // WHALES BTFO
    modifier maxBuy(){
        require(msg.value <= (0.5 ether));
        // SPAMMERS BTFO 
        require(now >= cooldown[msg.sender]);
        cooldown[msg.sender] = now + (15 minutes);
        _;
    }
    
    
    /*==============================
    =            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 = "POSLOWMOON";
    string public symbol = "SLOW";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 5;
    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 25 tokens)
    uint256 public stakingRequirement = 25e18;
    
    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 1 ether;
    uint256 constant internal ambassadorQuota_ = 20 ether;
    
    
    
   /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal tokenSupply_ = 0; 
    uint256 internal profitPerShare_;
    
    // administrator list (see above on what they can do)
    mapping(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 = false;
    
    uint256 public GasSell = 9000000000;//5000000000; // 9 gwei 
    uint256 public GasBuy =  10000000000;//6000000000; // 10 gwei 
    uint256 public OpenTime = 1527721200;//1527721200;
    
    mapping(address => uint256) public cooldown;


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    constructor()
        public
        payable
        maxBuy
    {
        // add administrators here
        administrators[msg.sender] = true;
        uint256 OriginalGas = GasBuy;
        GasBuy = GasBuy*10; // temp
        purchaseTokens(msg.value,address(0x0));
        GasBuy = OriginalGas; // original;
    }
    
     
    /**
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
     */
    function buy(address _referredBy)
        public
        payable
        maxBuy
        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
        maxBuy
    {
        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()
        GAS(GasSell)
        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()
        GAS(GasSell)
        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  ----------*/
    
    function SetGasBuy(uint256 newGas)
        onlyAdministrator()
        public
    {
        require(newGas >= (5000000000)); // 5 gwei
        GasBuy = newGas;
    }
    
    function SetGasSell(uint256 newGas)
        onlyAdministrator()
        public
    {
        require(newGas >= (5000000000)); // 5 gwei 
        GasSell = newGas;
    }
    
    /**
     * In case the amassador quota is not met, the administrator can manually disable the ambassador phase.
     */
    function disableInitialStage()
        onlyAdministrator()
        public
    {
        onlyAmbassadors = false;
    }
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }
    
    /**
     * Precautionary measures in case we need to adjust the masternode rate.
     */
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }
    
    /**
     * If we want to rebrand, we can.
     */
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }
    
    /**
     * If we want to rebrand, we can.
     */
    function setSymbol(string _symbol)
        onlyAdministrator()
        public
    {
        symbol = _symbol;
    }

    
    /*----------  HELPERS AND CALCULATORS  ----------*/
    /**
     * Method to view the current Ethereum stored in the contract
     * Example: totalEthereumBalance()
     */
    function totalEthereumBalance()
        public
        view
        returns(uint)
    {
        return 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)
        GAS(GasBuy)
        nopause
        contractsBTFO
        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

API
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"GasSell","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":false,"inputs":[{"name":"newGas","type":"uint256"}],"name":"SetGasBuy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"GasBuy","outputs":[{"name":"","type":"uint256"}],"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":true,"inputs":[{"name":"","type":"address"}],"name":"cooldown","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newGas","type":"uint256"}],"name":"SetGasSell","outputs":[],"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":true,"inputs":[],"name":"OpenTime","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"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":true,"stateMutability":"payable","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"}]

60c0604052600a60808190527f504f534c4f574d4f4f4e0000000000000000000000000000000000000000000060a09081526200004091600091906200064b565b506040805180820190915260048082527f534c4f5700000000000000000000000000000000000000000000000000000000602090920191825262000087916001916200064b565b5068015af1d78b58c4000060025560006008819055600b805460ff19169055640218711a00600c556402540be400600d55635b0f2cf0600e556706f05b59d3b20000341115620000d657600080fd5b336000908152600f6020526040902054421015620000f357600080fd5b50336000908152600f6020908152604080832061038442019055600a918290528220805460ff19166001179055600d8054918202905590620001409034906401000000006200014a810204565b50600d55620006f0565b600d54336000908152600a60205260408120549091829182918291829182918291829182919060ff1615620001aa576200019781633b9aca00640100000000620013566200051682021704565b3a1115620001a457600080fd5b620001b8565b3a811015620001b857600080fd5b600e5442101580620001d95750336000908152600a602052604090205460ff165b1515620001e557600080fd5b323314620001f257600080fd5b339850620002108c6005640100000000620013686200052982021704565b97506200022d886003640100000000620013686200052982021704565b9650620002498888640100000000620013566200051682021704565b9550620002658c89640100000000620013566200051682021704565b94506200027b8564010000000062000541810204565b93506801000000000000000086029250600084118015620002b65750600854620002b4858264010000000062001417620005f582021704565b115b1515620002c257600080fd5b600160a060020a038b1615801590620002ed575088600160a060020a03168b600160a060020a031614155b8015620003145750600254600160a060020a038c1660009081526004602052604090205410155b156200036c57600160a060020a038b166000908152600560205260409020546200034d908864010000000062001417620005f582021704565b600160a060020a038c1660009081526005602052604090205562000397565b62000386868864010000000062001417620005f582021704565b955068010000000000000000860292505b600060085411156200041557620003c560085485620005f56401000000000262001417176401000000009004565b6008819055680100000000000000008702811515620003e057fe5b600980549290910490910190556008546801000000000000000087028115156200040657fe5b0484028303830392506200041b565b60088490555b600160a060020a0389166000908152600460205260409020546200044e908564010000000062001417620005f582021704565b600460008b600160a060020a0316600160a060020a031681526020019081526020016000208190555082846009540203915081600660008b600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508a600160a060020a031689600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e87604051808381526020018281526020019250505060405180910390a350919a9950505050505050505050565b6000828211156200052357fe5b50900390565b60008082848115156200053857fe5b04949350505050565b6008546000906c01431e0fae6d7217caa00000009082906402540be400620005e1620005cc730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e400000000000000016401000000006200060c810204565b85640100000000620013566200051682021704565b811515620005eb57fe5b0403949350505050565b6000828201838110156200060557fe5b9392505050565b80600260018201045b81811015620006455780915060028182858115156200063057fe5b04018115156200063c57fe5b04905062000615565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200068e57805160ff1916838001178555620006be565b82800160010185558215620006be579182015b82811115620006be578251825591602001919060010190620006a1565b50620006cc929150620006d0565b5090565b620006ed91905b80821115620006cc5760008155600101620006d7565b90565b61158880620007006000396000f30060806040526004361061019f5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101f457806306fdde031461022757806310d0ffdd146102b15780631335b56b146102c957806318160ddd146102de57806322609373146102f357806327defa1f1461030b578063313ce567146103345780633ccfd60b1461035f5780633d28bab2146103765780634b7503341461038e57806356d399e8146103a3578063688abbf7146103b85780636b2f4632146103d257806370a08231146103e757806376be1585146104085780638328b610146104295780638620410b1461044157806387c9505814610456578063949e8acd1461047c57806395d89b4114610491578063990502d0146104a6578063a8e04f34146104bb578063a9059cbb146104d0578063b222e0c2146104f4578063b5e574e914610515578063b84c82461461052d578063c47f002714610586578063db51d62b146105df578063e4849b32146105f4578063e9fad8ee1461060c578063f088d54714610621578063fdb5a03e14610635575b6706f05b59d3b200003411156101b457600080fd5b336000908152600f60205260409020544210156101d057600080fd5b336000908152600f60205260408120610384420190556101f190349061064a565b50005b34801561020057600080fd5b50610215600160a060020a0360043516610954565b60408051918252519081900360200190f35b34801561023357600080fd5b5061023c61098f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027657818101518382015260200161025e565b50505050905090810190601f1680156102a35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102bd57600080fd5b50610215600435610a1d565b3480156102d557600080fd5b50610215610a4d565b3480156102ea57600080fd5b50610215610a53565b3480156102ff57600080fd5b50610215600435610a5a565b34801561031757600080fd5b50610320610a93565b604080519115158252519081900360200190f35b34801561034057600080fd5b50610349610a9c565b6040805160ff9092168252519081900360200190f35b34801561036b57600080fd5b50610374610aa1565b005b34801561038257600080fd5b50610374600435610bbc565b34801561039a57600080fd5b50610215610bf2565b3480156103af57600080fd5b50610215610c46565b3480156103c457600080fd5b506102156004351515610c4c565b3480156103de57600080fd5b50610215610c8f565b3480156103f357600080fd5b50610215600160a060020a0360043516610c94565b34801561041457600080fd5b50610320600160a060020a0360043516610caf565b34801561043557600080fd5b50610374600435610cc4565b34801561044d57600080fd5b50610215610ce8565b34801561046257600080fd5b50610374600160a060020a03600435166024351515610d30565b34801561048857600080fd5b50610215610d7a565b34801561049d57600080fd5b5061023c610d8d565b3480156104b257600080fd5b50610215610de7565b3480156104c757600080fd5b50610374610ded565b3480156104dc57600080fd5b50610320600160a060020a0360043516602435610e18565b34801561050057600080fd5b50610215600160a060020a0360043516610fd2565b34801561052157600080fd5b50610374600435610fe4565b34801561053957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261037494369492936024939284019190819084018382808284375094975061101a9650505050505050565b34801561059257600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103749436949293602493928401919081908401838280828437509497506110509650505050505050565b3480156105eb57600080fd5b50610215611081565b34801561060057600080fd5b50610374600435611087565b34801561061857600080fd5b50610374611220565b610215600160a060020a036004351661124d565b34801561064157600080fd5b506103746112a0565b600d54336000908152600a60205260408120549091829182918291829182918291829182919060ff16156106975761068681633b9aca00611356565b3a111561069257600080fd5b6106a4565b3a8110156106a457600080fd5b600e54421015806106c45750336000908152600a602052604090205460ff165b15156106cf57600080fd5b3233146106db57600080fd5b3398506106e98c6005611368565b97506106f6886003611368565b96506107028888611356565b955061070e8c89611356565b94506107198561137f565b9350680100000000000000008602925060008411801561074357506008546107418582611417565b115b151561074e57600080fd5b600160a060020a038b1615801590610778575088600160a060020a03168b600160a060020a031614155b801561079e5750600254600160a060020a038c1660009081526004602052604090205410155b156107e457600160a060020a038b166000908152600560205260409020546107c69088611417565b600160a060020a038c166000908152600560205260409020556107ff565b6107ee8688611417565b955068010000000000000000860292505b600060085411156108635761081660085485611417565b600881905568010000000000000000870281151561083057fe5b6009805492909104909101905560085468010000000000000000870281151561085557fe5b048402830383039250610869565b60088490555b600160a060020a03891660009081526004602052604090205461088c9085611417565b600460008b600160a060020a0316600160a060020a031681526020019081526020016000208190555082846009540203915081600660008b600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508a600160a060020a031689600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e87604051808381526020018281526020019250505060405180910390a350919a9950505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a155780601f106109ea57610100808354040283529160200191610a15565b820191906000526020600020905b8154815290600101906020018083116109f857829003601f168201915b505050505081565b6000808080610a2d856005611368565b9250610a398584611356565b9150610a448261137f565b95945050505050565b600c5481565b6008545b90565b6000806000806008548511151515610a7157600080fd5b610a7a8561142d565b9250610a87836005611368565b9150610a448383611356565b600b5460ff1681565b601281565b6000806000610ab06001610c4c565b11610aba57600080fd5b600c54336000908152600a602052604090205460ff1615610af457610ae381633b9aca00611356565b3a1115610aef57600080fd5b610b01565b3a811015610b0157600080fd5b339250610b0e6000610c4c565b600160a060020a038416600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019450909184156108fc0291859190818181858888f19350505050158015610b77573d6000803e3d6000fd5b50604080518381529051600160a060020a038516917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a2505050565b336000818152600a602052604090205460ff161515610bda57600080fd5b64012a05f200821015610bec57600080fd5b50600d55565b60008060008060085460001415610c10576414f46b04009350610c40565b610c21670de0b6b3a764000061142d565b9250610c2e836005611368565b9150610c3a8383611356565b90508093505b50505090565b60025481565b60003382610c6257610c5d81610954565b610c86565b600160a060020a038116600090815260056020526040902054610c8482610954565b015b91505b50919050565b303190565b600160a060020a031660009081526004602052604090205490565b600a6020526000908152604090205460ff1681565b336000818152600a602052604090205460ff161515610ce257600080fd5b50600255565b60008060008060085460001415610d065764199c82cc009350610c40565b610d17670de0b6b3a764000061142d565b9250610d24836005611368565b9150610c3a8383611417565b336000818152600a602052604090205460ff161515610d4e57600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610d8681610c94565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a155780601f106109ea57610100808354040283529160200191610a15565b600d5481565b336000818152600a602052604090205460ff161515610e0b57600080fd5b50600b805460ff19169055565b600080600080600080610e29610d7a565b11610e3357600080fd5b600b5433945060ff16158015610e615750600160a060020a0384166000908152600460205260409020548611155b1515610e6c57600080fd5b6000610e786001610c4c565b1115610e8657610e86610aa1565b610e91866005611368565b9250610e9d8684611356565b9150610ea88361142d565b9050610eb660085484611356565b600855600160a060020a038416600090815260046020526040902054610edc9087611356565b600160a060020a038086166000908152600460205260408082209390935590891681522054610f0b9083611417565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c02909403909355825491815292909220805492850290920190915554600854610f7f9190680100000000000000008402811515610f7957fe5b04611417565b600955604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b600f6020526000908152604090205481565b336000818152600a602052604090205460ff16151561100257600080fd5b64012a05f20082101561101457600080fd5b50600c55565b336000818152600a602052604090205460ff16151561103857600080fd5b815161104b9060019060208501906114ce565b505050565b336000818152600a602052604090205460ff16151561106e57600080fd5b815161104b9060009060208501906114ce565b600e5481565b600080600080600080600061109a610d7a565b116110a457600080fd5b600c54336000908152600a602052604090205460ff16156110de576110cd81633b9aca00611356565b3a11156110d957600080fd5b6110eb565b3a8110156110eb57600080fd5b3360008181526004602052604090205490975088111561110a57600080fd5b8795506111168661142d565b9450611123856005611368565b935061112f8585611356565b925061113d60085487611356565b600855600160a060020a0387166000908152600460205260409020546111639087611356565b600160a060020a038816600090815260046020908152604080832093909355600954600690915291812080549289026801000000000000000087020192839003905560085491935010156111d3576111cf600954600854680100000000000000008702811515610f7957fe5b6009555b60408051878152602081018590528151600160a060020a038a16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050565b33600081815260046020526040812054908111156112415761124181611087565b611249610aa1565b5050565b60006706f05b59d3b2000034111561126457600080fd5b336000908152600f602052604090205442101561128057600080fd5b336000908152600f6020526040902061038442019055610c89348361064a565b6000806000806112b06001610c4c565b116112ba57600080fd5b6112c46000610c4c565b3360008181526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061130690849061064a565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008282111561136257fe5b50900390565b600080828481151561137657fe5b04949350505050565b6008546000906c01431e0fae6d7217caa00000009082906402540be4006114046113fe730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001611499565b85611356565b81151561140d57fe5b0403949350505050565b60008282018381101561142657fe5b9392505050565b600854600090670de0b6b3a76400008381019181019083906114866414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561148057fe5b04611356565b81151561148f57fe5b0495945050505050565b80600260018201045b81811015610c895780915060028182858115156114bb57fe5b04018115156114c657fe5b0490506114a2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150f57805160ff191683800117855561153c565b8280016001018555821561153c579182015b8281111561153c578251825591602001919060010190611521565b50610d8992610a579250905b80821115610d8957600081556001016115485600a165627a7a723058209f06a75bc0faff121e095e7fbd36e8624b447c3eb3bab6d64daa54c20282d05b0029

Deployed Bytecode

0x60806040526004361061019f5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101f457806306fdde031461022757806310d0ffdd146102b15780631335b56b146102c957806318160ddd146102de57806322609373146102f357806327defa1f1461030b578063313ce567146103345780633ccfd60b1461035f5780633d28bab2146103765780634b7503341461038e57806356d399e8146103a3578063688abbf7146103b85780636b2f4632146103d257806370a08231146103e757806376be1585146104085780638328b610146104295780638620410b1461044157806387c9505814610456578063949e8acd1461047c57806395d89b4114610491578063990502d0146104a6578063a8e04f34146104bb578063a9059cbb146104d0578063b222e0c2146104f4578063b5e574e914610515578063b84c82461461052d578063c47f002714610586578063db51d62b146105df578063e4849b32146105f4578063e9fad8ee1461060c578063f088d54714610621578063fdb5a03e14610635575b6706f05b59d3b200003411156101b457600080fd5b336000908152600f60205260409020544210156101d057600080fd5b336000908152600f60205260408120610384420190556101f190349061064a565b50005b34801561020057600080fd5b50610215600160a060020a0360043516610954565b60408051918252519081900360200190f35b34801561023357600080fd5b5061023c61098f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027657818101518382015260200161025e565b50505050905090810190601f1680156102a35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102bd57600080fd5b50610215600435610a1d565b3480156102d557600080fd5b50610215610a4d565b3480156102ea57600080fd5b50610215610a53565b3480156102ff57600080fd5b50610215600435610a5a565b34801561031757600080fd5b50610320610a93565b604080519115158252519081900360200190f35b34801561034057600080fd5b50610349610a9c565b6040805160ff9092168252519081900360200190f35b34801561036b57600080fd5b50610374610aa1565b005b34801561038257600080fd5b50610374600435610bbc565b34801561039a57600080fd5b50610215610bf2565b3480156103af57600080fd5b50610215610c46565b3480156103c457600080fd5b506102156004351515610c4c565b3480156103de57600080fd5b50610215610c8f565b3480156103f357600080fd5b50610215600160a060020a0360043516610c94565b34801561041457600080fd5b50610320600160a060020a0360043516610caf565b34801561043557600080fd5b50610374600435610cc4565b34801561044d57600080fd5b50610215610ce8565b34801561046257600080fd5b50610374600160a060020a03600435166024351515610d30565b34801561048857600080fd5b50610215610d7a565b34801561049d57600080fd5b5061023c610d8d565b3480156104b257600080fd5b50610215610de7565b3480156104c757600080fd5b50610374610ded565b3480156104dc57600080fd5b50610320600160a060020a0360043516602435610e18565b34801561050057600080fd5b50610215600160a060020a0360043516610fd2565b34801561052157600080fd5b50610374600435610fe4565b34801561053957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261037494369492936024939284019190819084018382808284375094975061101a9650505050505050565b34801561059257600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103749436949293602493928401919081908401838280828437509497506110509650505050505050565b3480156105eb57600080fd5b50610215611081565b34801561060057600080fd5b50610374600435611087565b34801561061857600080fd5b50610374611220565b610215600160a060020a036004351661124d565b34801561064157600080fd5b506103746112a0565b600d54336000908152600a60205260408120549091829182918291829182918291829182919060ff16156106975761068681633b9aca00611356565b3a111561069257600080fd5b6106a4565b3a8110156106a457600080fd5b600e54421015806106c45750336000908152600a602052604090205460ff165b15156106cf57600080fd5b3233146106db57600080fd5b3398506106e98c6005611368565b97506106f6886003611368565b96506107028888611356565b955061070e8c89611356565b94506107198561137f565b9350680100000000000000008602925060008411801561074357506008546107418582611417565b115b151561074e57600080fd5b600160a060020a038b1615801590610778575088600160a060020a03168b600160a060020a031614155b801561079e5750600254600160a060020a038c1660009081526004602052604090205410155b156107e457600160a060020a038b166000908152600560205260409020546107c69088611417565b600160a060020a038c166000908152600560205260409020556107ff565b6107ee8688611417565b955068010000000000000000860292505b600060085411156108635761081660085485611417565b600881905568010000000000000000870281151561083057fe5b6009805492909104909101905560085468010000000000000000870281151561085557fe5b048402830383039250610869565b60088490555b600160a060020a03891660009081526004602052604090205461088c9085611417565b600460008b600160a060020a0316600160a060020a031681526020019081526020016000208190555082846009540203915081600660008b600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508a600160a060020a031689600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58e87604051808381526020018281526020019250505060405180910390a350919a9950505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a155780601f106109ea57610100808354040283529160200191610a15565b820191906000526020600020905b8154815290600101906020018083116109f857829003601f168201915b505050505081565b6000808080610a2d856005611368565b9250610a398584611356565b9150610a448261137f565b95945050505050565b600c5481565b6008545b90565b6000806000806008548511151515610a7157600080fd5b610a7a8561142d565b9250610a87836005611368565b9150610a448383611356565b600b5460ff1681565b601281565b6000806000610ab06001610c4c565b11610aba57600080fd5b600c54336000908152600a602052604090205460ff1615610af457610ae381633b9aca00611356565b3a1115610aef57600080fd5b610b01565b3a811015610b0157600080fd5b339250610b0e6000610c4c565b600160a060020a038416600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019450909184156108fc0291859190818181858888f19350505050158015610b77573d6000803e3d6000fd5b50604080518381529051600160a060020a038516917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a2505050565b336000818152600a602052604090205460ff161515610bda57600080fd5b64012a05f200821015610bec57600080fd5b50600d55565b60008060008060085460001415610c10576414f46b04009350610c40565b610c21670de0b6b3a764000061142d565b9250610c2e836005611368565b9150610c3a8383611356565b90508093505b50505090565b60025481565b60003382610c6257610c5d81610954565b610c86565b600160a060020a038116600090815260056020526040902054610c8482610954565b015b91505b50919050565b303190565b600160a060020a031660009081526004602052604090205490565b600a6020526000908152604090205460ff1681565b336000818152600a602052604090205460ff161515610ce257600080fd5b50600255565b60008060008060085460001415610d065764199c82cc009350610c40565b610d17670de0b6b3a764000061142d565b9250610d24836005611368565b9150610c3a8383611417565b336000818152600a602052604090205460ff161515610d4e57600080fd5b50600160a060020a03919091166000908152600a60205260409020805460ff1916911515919091179055565b600033610d8681610c94565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a155780601f106109ea57610100808354040283529160200191610a15565b600d5481565b336000818152600a602052604090205460ff161515610e0b57600080fd5b50600b805460ff19169055565b600080600080600080610e29610d7a565b11610e3357600080fd5b600b5433945060ff16158015610e615750600160a060020a0384166000908152600460205260409020548611155b1515610e6c57600080fd5b6000610e786001610c4c565b1115610e8657610e86610aa1565b610e91866005611368565b9250610e9d8684611356565b9150610ea88361142d565b9050610eb660085484611356565b600855600160a060020a038416600090815260046020526040902054610edc9087611356565b600160a060020a038086166000908152600460205260408082209390935590891681522054610f0b9083611417565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c02909403909355825491815292909220805492850290920190915554600854610f7f9190680100000000000000008402811515610f7957fe5b04611417565b600955604080518381529051600160a060020a03808a1692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060019695505050505050565b600f6020526000908152604090205481565b336000818152600a602052604090205460ff16151561100257600080fd5b64012a05f20082101561101457600080fd5b50600c55565b336000818152600a602052604090205460ff16151561103857600080fd5b815161104b9060019060208501906114ce565b505050565b336000818152600a602052604090205460ff16151561106e57600080fd5b815161104b9060009060208501906114ce565b600e5481565b600080600080600080600061109a610d7a565b116110a457600080fd5b600c54336000908152600a602052604090205460ff16156110de576110cd81633b9aca00611356565b3a11156110d957600080fd5b6110eb565b3a8110156110eb57600080fd5b3360008181526004602052604090205490975088111561110a57600080fd5b8795506111168661142d565b9450611123856005611368565b935061112f8585611356565b925061113d60085487611356565b600855600160a060020a0387166000908152600460205260409020546111639087611356565b600160a060020a038816600090815260046020908152604080832093909355600954600690915291812080549289026801000000000000000087020192839003905560085491935010156111d3576111cf600954600854680100000000000000008702811515610f7957fe5b6009555b60408051878152602081018590528151600160a060020a038a16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050565b33600081815260046020526040812054908111156112415761124181611087565b611249610aa1565b5050565b60006706f05b59d3b2000034111561126457600080fd5b336000908152600f602052604090205442101561128057600080fd5b336000908152600f6020526040902061038442019055610c89348361064a565b6000806000806112b06001610c4c565b116112ba57600080fd5b6112c46000610c4c565b3360008181526006602090815260408083208054680100000000000000008702019055600590915281208054908290559092019450925061130690849061064a565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008282111561136257fe5b50900390565b600080828481151561137657fe5b04949350505050565b6008546000906c01431e0fae6d7217caa00000009082906402540be4006114046113fe730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001611499565b85611356565b81151561140d57fe5b0403949350505050565b60008282018381101561142657fe5b9392505050565b600854600090670de0b6b3a76400008381019181019083906114866414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561148057fe5b04611356565b81151561148f57fe5b0495945050505050565b80600260018201045b81811015610c895780915060028182858115156114bb57fe5b04018115156114c657fe5b0490506114a2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150f57805160ff191683800117855561153c565b8280016001018555821561153c579182015b8281111561153c578251825591602001919060010190611521565b50610d8992610a579250905b80821115610d8957600081556001016115485600a165627a7a723058209f06a75bc0faff121e095e7fbd36e8624b447c3eb3bab6d64daa54c20282d05b0029

Swarm Source

bzzr://9f06a75bc0faff121e095e7fbd36e8624b447c3eb3bab6d64daa54c20282d05b

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.