ETH Price: $2,275.32 (+7.32%)

Contract

0xa2b4Ee4a6a8C28Fc503EaE2c51Ec2EaBd8FEe987
 

Overview

ETH Balance

0.092413926670204296 ETH

Eth Value

$210.27 (@ $2,275.32/ETH)

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy64105882018-09-27 18:40:022726 days ago1538073602IN
0xa2b4Ee4a...Bd8FEe987
0.05 ETH0.000309563
Withdraw63112462018-09-11 9:11:282743 days ago1536657088IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000174684
Sell63107602018-09-11 7:18:392743 days ago1536650319IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000192474
Withdraw63107452018-09-11 7:14:232743 days ago1536650063IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000174684
Sell63107192018-09-11 7:07:242743 days ago1536649644IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000192214
Withdraw63085272018-09-10 22:30:012743 days ago1536618601IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0006550515
Withdraw63085102018-09-10 22:25:582743 days ago1536618358IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0006113814
Sell63084932018-09-10 22:22:252743 days ago1536618145IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0009636420
Sell63084842018-09-10 22:19:592743 days ago1536617999IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0005774112
Withdraw63006172018-09-09 14:54:422744 days ago1536504882IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0008297319
Sell63005572018-09-09 14:36:512744 days ago1536503811IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000168413.50000023
Withdraw62748192018-09-05 6:41:332749 days ago1536129693IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000131013
Sell62748082018-09-05 6:38:502749 days ago1536129530IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000099163
Sell62747922018-09-05 6:34:522749 days ago1536129292IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.001173
Transfer62666172018-09-03 21:34:192750 days ago1536010459IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000684496
Transfer62643262018-09-03 12:25:032750 days ago1535977503IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000396334
Withdraw62633412018-09-03 8:18:192751 days ago1535962699IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000436710
Sell62633252018-09-03 8:14:042751 days ago1535962444IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000240595
Reinvest62633002018-09-03 8:08:192751 days ago1535962099IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000263113
Reinvest62618652018-09-03 2:16:292751 days ago1535940989IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.0008770410
Reinvest62573152018-09-02 8:15:412752 days ago1535876141IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000263113
Withdraw62570882018-09-02 7:19:112752 days ago1535872751IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000174684
Sell62570842018-09-02 7:18:152752 days ago1535872695IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000192724
Reinvest62345942018-08-29 12:13:212755 days ago1535544801IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000263113
Reinvest62345912018-08-29 12:12:422755 days ago1535544762IN
0xa2b4Ee4a...Bd8FEe987
0 ETH0.000263113
View all transactions

Latest 11 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer63112462018-09-11 9:11:282743 days ago1536657088
0xa2b4Ee4a...Bd8FEe987
0.31639 ETH
Transfer63107452018-09-11 7:14:232743 days ago1536650063
0xa2b4Ee4a...Bd8FEe987
0.00603798 ETH
Transfer63085272018-09-10 22:30:012743 days ago1536618601
0xa2b4Ee4a...Bd8FEe987
0.83655511 ETH
Transfer63085102018-09-10 22:25:582743 days ago1536618358
0xa2b4Ee4a...Bd8FEe987
0.20378125 ETH
Transfer63006172018-09-09 14:54:422744 days ago1536504882
0xa2b4Ee4a...Bd8FEe987
0.08040535 ETH
Transfer62748192018-09-05 6:41:332749 days ago1536129693
0xa2b4Ee4a...Bd8FEe987
0.03251434 ETH
Transfer62666172018-09-03 21:34:192750 days ago1536010459
0xa2b4Ee4a...Bd8FEe987
0.00117157 ETH
Transfer62643262018-09-03 12:25:032750 days ago1535977503
0xa2b4Ee4a...Bd8FEe987
0.2149665 ETH
Transfer62633412018-09-03 8:18:192751 days ago1535962699
0xa2b4Ee4a...Bd8FEe987
0.06288297 ETH
Transfer62570882018-09-02 7:19:112752 days ago1535872751
0xa2b4Ee4a...Bd8FEe987
0.09677009 ETH
Transfer62164232018-08-26 10:24:122759 days ago1535279052
0xa2b4Ee4a...Bd8FEe987
0.07011085 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:
BULL

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.20;

/*
* ===================== NOBULL =======================*
* _   _  ____  ____  _    _ _      _      
*| \ | |/ __ \|  _ \| |  | | |    | |     
*|  \| | |  | | |_) | |  | | |    | |     
*| . ` | |  | |  _ <| |  | | |    | |     
*| |\  | |__| | |_) | |__| | |____| |____ 
*|_| \_|\____/|____/ \____/|______|______|
*                                                                
* ===============================================================*
* -> What?
* All credit goes to the original H4d - https://eth.h4d.io/  Please support there project first...

* [x] More stable than ever, having withstood severe testnet abuse and attack attempts from our community!.
* [x] Masternodes: Holding 1 BULL Token allow you to generate a Masternode link, Masternode links are used as unique entry points to the contract!
*--------------------------------
* BOT PREVENTION/DETERRENCE

* [x] Gwei Limit = 75
* [x] 1.5 ETH max buy in per TX until 50 ETH
* [x] Contract is timer activated (No TX activation)
*/

contract BULL {
    /*=================================
    =            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)]);
        _;
    }
    
    uint ACTIVATION_TIME = 1535234400;
    
    // 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;
    
        if (now >= ACTIVATION_TIME) {
            onlyAmbassadors = false;
        }
        
        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol 
        if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){
            require(
                // is the customer in the ambassador list?
                ambassadors_[_customerAddress] == true &&
                
                // does the customer purchase exceed the max ambassador quota?
                (ambassadorAccumulatedQuota_[_customerAddress] + _amountOfEthereum) <= ambassadorMaxPurchase_
                
            );
            
            // updated the accumulated quota    
            ambassadorAccumulatedQuota_[_customerAddress] = SafeMath.add(ambassadorAccumulatedQuota_[_customerAddress], _amountOfEthereum);
        
            // execute
            _;
        } else {
            // in case the ether count drops low, the ambassador phase won't reinitiate
            onlyAmbassadors = false;
            _;    
        }
        
    }
    
    
    /*==============================
    =            EVENTS            =
    ==============================*/
    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy
    );
    
    event onTokenSell(
        address indexed customerAddress,
        uint256 tokensBurned,
        uint256 ethereumEarned
    );
    
    event onReinvestment(
        address indexed customerAddress,
        uint256 ethereumReinvested,
        uint256 tokensMinted
    );
    
    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );
    
    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );
    
    
    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "NoBull";
    string public symbol = "BULL";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 5;
    uint256 constant internal tokenPriceInitial_ = 0.00000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.000000001 ether;
    uint256 constant internal magnitude = 2**64;
    
    // proof of stake (defaults at 100 tokens)
    uint256 public stakingRequirement = 1;
    
    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = .5 ether;
    uint256 constant internal ambassadorQuota_ = 3 ether; // Placeholder
    
    
    
   /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal tokenSupply_ = 0;
    uint256 internal profitPerShare_;
    
    // administrator list (see above on what they can do)
    mapping(address => bool) public administrators;
    
    // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid)
    bool public onlyAmbassadors = true;
    


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    function BULL()
        public
    {
        // add administrators here
        administrators[msg.sender] = true;
        
        // add the ambassadors here.
        // Dev Account
        ambassadors_[0xa80740d2657543c01345fe833c27397c9557b483] = true;
        
        
        
        
    }
    
     
    /**
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
     */
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
        if (address(this).balance <= 50 ether) {
            require(msg.value <= 1.5 ether);
        }
        require(tx.gasprice <= 0.075 szabo);
        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
    {
        if (address(this).balance <= 50 ether) {
            require(msg.value <= 1.5 ether);
        }
        require(tx.gasprice <= 0.075 szabo);
        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 20% fee here as well.
     */
    function transfer(address _toAddress, uint256 _amountOfTokens)
        onlyBagholders()
        public
        returns(bool)
    {
        // setup
        address _customerAddress = msg.sender;
        
        // make sure we have the requested tokens
        // also disables transfers until ambassador phase is over
        // ( we dont want whale premines )
        require(!onlyAmbassadors && _amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        
        // withdraw all outstanding dividends first
        if(myDividends(true) > 0) withdraw();
        
        // liquify 10% of the tokens that are transfered
        // these are dispersed to shareholders
        uint256 _tokenFee = SafeMath.div(_amountOfTokens, dividendFee_);
        uint256 _taxedTokens = SafeMath.sub(_amountOfTokens, _tokenFee);
        uint256 _dividends = tokensToEthereum_(_tokenFee);
  
        // burn the fee tokens
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokenFee);

        // exchange tokens
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _taxedTokens);
        
        // update dividend trackers
        payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _taxedTokens);
        
        // disperse dividends among holders
        profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);
        
        // fire event
        Transfer(_customerAddress, _toAddress, _taxedTokens);
        
        // ERC20
        return true;
       
    }
    
    /*----------  ADMINISTRATOR ONLY FUNCTIONS  ----------*/
    /**
     * In case the amassador quota is not met, the administrator can manually disable the ambassador phase.
     */
    //function disableInitialStage()
    //    onlyAdministrator()
    //    public
    //{
    //    onlyAmbassadors = false;
    //}
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(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)
        antiEarlyWhale(_incomingEthereum)
        internal
        returns(uint256)
    {
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(_incomingEthereum, dividendFee_);
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;
 
        // no point in continuing execution if OP is a poorfag russian hacker
        // prevents overflow in the case that the pyramid somehow magically starts being used by everyone in the world
        // (or hackers)
        // and yes we know that the safemath function automatically rules out the "greater then" equasion.
        require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_));
        
        // is the user referred by a masternode?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != _customerAddress &&
            
            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ){
            // wealth redistribution
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }
        
        // we can't give people infinite ethereum
        if(tokenSupply_ > 0){
            
            // add tokens to the pool
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);
 
            // take the amount of dividends gained through this transaction, and allocates them evenly to each shareholder
            profitPerShare_ += (_dividends * magnitude / (tokenSupply_));
            
            // calculate the amount of tokens the customer receives over his purchase 
            _fee = _fee - (_fee-(_amountOfTokens * (_dividends * magnitude / (tokenSupply_))));
        
        } else {
            // add tokens to the pool
            tokenSupply_ = _amountOfTokens;
        }
        
        // update circulating supply & the ledger address for the customer
        tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        
        // Tells the contract that the buyer doesn't deserve dividends for the tokens before they owned them;
        //really i know you think you do but you don't
        int256 _updatedPayouts = (int256) ((profitPerShare_ * _amountOfTokens) - _fee);
        payoutsTo_[_customerAddress] += _updatedPayouts;
        
        // fire event
        onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy);
        
        return _amountOfTokens;
    }

    /**
     * Calculate Token price based on an amount of incoming ethereum
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
    function ethereumToTokens_(uint256 _ethereum)
        internal
        view
        returns(uint256)
    {
        uint256 _tokenPriceInitial = tokenPriceInitial_ * 1e18;
        uint256 _tokensReceived = 
         (
            (
                // underflow attempts BTFO
                SafeMath.sub(
                    (sqrt
                        (
                            (_tokenPriceInitial**2)
                            +
                            (2*(tokenPriceIncremental_ * 1e18)*(_ethereum * 1e18))
                            +
                            (((tokenPriceIncremental_)**2)*(tokenSupply_**2))
                            +
                            (2*(tokenPriceIncremental_)*_tokenPriceInitial*tokenSupply_)
                        )
                    ), _tokenPriceInitial
                )
            )/(tokenPriceIncremental_)
        )-(tokenSupply_)
        ;
  
        return _tokensReceived;
    }
    
    /**
     * Calculate token sell value.
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
     function tokensToEthereum_(uint256 _tokens)
        internal
        view
        returns(uint256)
    {

        uint256 tokens_ = (_tokens + 1e18);
        uint256 _tokenSupply = (tokenSupply_ + 1e18);
        uint256 _etherReceived =
        (
            // underflow attempts BTFO
            SafeMath.sub(
                (
                    (
                        (
                            tokenPriceInitial_ +(tokenPriceIncremental_ * (_tokenSupply/1e18))
                        )-tokenPriceIncremental_
                    )*(tokens_ - 1e18)
                ),(tokenPriceIncremental_*((tokens_**2-tokens_)/1e18))/2
            )
        /1e18);
        return _etherReceived;
    }
    
    
    //This is where all your gas goes, sorry
    //Not sorry, you probably only paid 1 gwei
    function sqrt(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        // assert(b > 0 *VGhpcyBjb250cmFjdCB3YXMgbWFkZSBleGNsdXNpdmVseSBmb3IgaHR0cHM6Ly9oNGQuaW8=); //
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

    /**
    * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokensToSell","type":"uint256"}],"name":"calculateEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"onlyAmbassadors","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

6060604052635b81d16060005560408051908101604052600681527f4e6f42756c6c000000000000000000000000000000000000000000000000000060208201526001908051620000559291602001906200013a565b5060408051908101604052600481527f42554c4c00000000000000000000000000000000000000000000000000000000602082015260029080516200009f9291602001906200013a565b50600160038190556000600955600c805460ff191690911790553415620000c557600080fd5b33600160a060020a03166000908152600b6020908152604082208054600160ff19918216811790925573a80740d2657543c01345fe833c27397c9557b48390935260049091527f054084d006ad96d31d71544965da7b83b29e5d6a410b31df8d94c61e4f7eead28054909216179055620001df565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017d57805160ff1916838001178555620001ad565b82800160010185558215620001ad579182015b82811115620001ad57825182559160200191906001019062000190565b50620001bb929150620001bf565b5090565b620001dc91905b80821115620001bb5760008155600101620001c6565b90565b6115e680620001ef6000396000f3006060604052600436106101525763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101a157806306fdde03146101d257806310d0ffdd1461025c57806318160ddd14610272578063226093731461028557806327defa1f1461029b578063313ce567146102c25780633ccfd60b146102eb5780634b7503341461030057806356d399e814610313578063688abbf7146103265780636b2f46321461033e57806370a082311461035157806376be1585146103705780638328b6101461038f5780638620410b146103a557806387c95058146103b8578063949e8acd146103dc57806395d89b41146103ef578063a9059cbb14610402578063b84c824614610424578063c47f002714610475578063e4849b32146104c6578063e9fad8ee146104dc578063f088d547146104ef578063fdb5a03e14610503575b6802b5e3af16b1880000600160a060020a0330163111610181576714d1120d7b16000034111561018157600080fd5b641176592e003a111561019357600080fd5b61019e346000610516565b50005b34156101ac57600080fd5b6101c0600160a060020a0360043516610ac5565b60405190815260200160405180910390f35b34156101dd57600080fd5b6101e5610afb565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610221578082015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026757600080fd5b6101c0600435610b99565b341561027d57600080fd5b6101c0610bc9565b341561029057600080fd5b6101c0600435610bd0565b34156102a657600080fd5b6102ae610c09565b604051901515815260200160405180910390f35b34156102cd57600080fd5b6102d5610c12565b60405160ff909116815260200160405180910390f35b34156102f657600080fd5b6102fe610c17565b005b341561030b57600080fd5b6101c0610cde565b341561031e57600080fd5b6101c0610d32565b341561033157600080fd5b6101c06004351515610d38565b341561034957600080fd5b6101c0610d7b565b341561035c57600080fd5b6101c0600160a060020a0360043516610d89565b341561037b57600080fd5b6102ae600160a060020a0360043516610da4565b341561039a57600080fd5b6102fe600435610db9565b34156103b057600080fd5b6101c0610de7565b34156103c357600080fd5b6102fe600160a060020a03600435166024351515610e2f565b34156103e757600080fd5b6101c0610e83565b34156103fa57600080fd5b6101e5610e96565b341561040d57600080fd5b6102ae600160a060020a0360043516602435610f01565b341561042f57600080fd5b6102fe60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506110b495505050505050565b341561048057600080fd5b6102fe60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506110f495505050505050565b34156104d157600080fd5b6102fe60043561112f565b34156104e757600080fd5b6102fe611282565b6101c0600160a060020a03600435166112b9565b341561050e57600080fd5b6102fe611306565b60008060008060008060008060008a60003390506000544210151561054057600c805460ff191690555b600c5460ff16801561056357506729a2241af62c00008261055f610d7b565b0311155b1561085757600160a060020a03811660009081526004602052604090205460ff16151560011480156105b85750600160a060020a0381166000908152600860205260409020546706f05b59d3b2000090830111155b15156105c357600080fd5b600160a060020a0381166000908152600860205260409020546105e690836113bc565b600160a060020a03821660009081526008602052604090205533995061060d8d60056113d2565b985061061a8960036113d2565b975061062689896113e9565b96506106328d8a6113e9565b955061063d866113fb565b9450604060020a87029350600085118015610662575060095461066086826113bc565b115b151561066d57600080fd5b600160a060020a038c1615801590610697575089600160a060020a03168c600160a060020a031614155b80156106bd5750600354600160a060020a038d1660009081526005602052604090205410155b1561070357600160a060020a038c166000908152600660205260409020546106e590896113bc565b600160a060020a038d16600090815260066020526040902055610719565b61070d87896113bc565b9650604060020a870293505b6000600954111561077357610730600954866113bc565b6009819055604060020a880281151561074557fe5b600a8054929091049091019055600954604060020a880281151561076557fe5b048502840384039350610779565b60098590555b600160a060020a038a1660009081526005602052604090205461079c90866113bc565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610ab5565b600c805460ff1916905533995061086f8d60056113d2565b985061087c8960036113d2565b975061088889896113e9565b96506108948d8a6113e9565b955061089f866113fb565b9450604060020a870293506000851180156108c457506009546108c286826113bc565b115b15156108cf57600080fd5b600160a060020a038c16158015906108f9575089600160a060020a03168c600160a060020a031614155b801561091f5750600354600160a060020a038d1660009081526005602052604090205410155b1561096557600160a060020a038c1660009081526006602052604090205461094790896113bc565b600160a060020a038d1660009081526006602052604090205561097b565b61096f87896113bc565b9650604060020a870293505b600060095411156109d557610992600954866113bc565b6009819055604060020a88028115156109a757fe5b600a8054929091049091019055600954604060020a88028115156109c757fe5b0485028403840393506109db565b60098590555b600160a060020a038a166000908152600560205260409020546109fe90866113bc565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260076020908152604080832054600590925290912054600a54604060020a9102919091030490565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b505050505081565b6000808080610ba98560056113d2565b9250610bb585846113e9565b9150610bc0826113fb565b95945050505050565b6009545b90565b6000806000806009548511151515610be757600080fd5b610bf08561148d565b9250610bfd8360056113d2565b9150610bc083836113e9565b600c5460ff1681565b601281565b6000806000610c266001610d38565b11610c3057600080fd5b339150610c3d6000610d38565b600160a060020a03831660008181526007602090815260408083208054604060020a870201905560069091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610c9d57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060095460001415610cfc57640218711a009350610d2c565b610d0d670de0b6b3a764000061148d565b9250610d1a8360056113d2565b9150610d2683836113e9565b90508093505b50505090565b60035481565b60003382610d4e57610d4981610ac5565b610d72565b600160a060020a038116600090815260066020526040902054610d7082610ac5565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526005602052604090205490565b600b6020526000908152604090205460ff1681565b33600160a060020a0381166000908152600b602052604090205460ff161515610de157600080fd5b50600355565b60008060008060095460001415610e055764028fa6ae009350610d2c565b610e16670de0b6b3a764000061148d565b9250610e238360056113d2565b9150610d2683836113bc565b33600160a060020a0381166000908152600b602052604090205460ff161515610e5757600080fd5b50600160a060020a03919091166000908152600b60205260409020805460ff1916911515919091179055565b600033610e8f81610d89565b91505b5090565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b915780601f10610b6657610100808354040283529160200191610b91565b600080600080600080610f12610e83565b11610f1c57600080fd5b600c5433945060ff16158015610f4a5750600160a060020a0384166000908152600560205260409020548611155b1515610f5557600080fd5b6000610f616001610d38565b1115610f6f57610f6f610c17565b610f7a8660056113d2565b9250610f8686846113e9565b9150610f918361148d565b9050610f9f600954846113e9565b600955600160a060020a038416600090815260056020526040902054610fc590876113e9565b600160a060020a038086166000908152600560205260408082209390935590891681522054610ff490836113bc565b600160a060020a03888116600081815260056020908152604080832095909555600a8054948a16835260079091528482208054948c029094039093558254918152929092208054928502909201909155546009546110639190604060020a840281151561105d57fe5b046113bc565b600a55600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156110dc57600080fd5b60028280516110ef92916020019061152c565b505050565b33600160a060020a0381166000908152600b602052604090205460ff16151561111c57600080fd5b60018280516110ef92916020019061152c565b6000806000806000806000611142610e83565b1161114c57600080fd5b33600160a060020a03811660009081526005602052604090205490965087111561117557600080fd5b8694506111818561148d565b935061118e8460056113d2565b925061119a84846113e9565b91506111a8600954866113e9565b600955600160a060020a0386166000908152600560205260409020546111ce90866113e9565b600160a060020a038716600090815260056020908152604080832093909355600a5460079091529181208054928802604060020a86020192839003905560095491925090111561123557611231600a54600954604060020a860281151561105d57fe5b600a555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260056020526040812054908111156112ad576112ad8161112f565b6112b5610c17565b5050565b60006802b5e3af16b1880000600160a060020a03301631116112ea576714d1120d7b1600003411156112ea57600080fd5b641176592e003a11156112fc57600080fd5b610d753483610516565b6000806000806113166001610d38565b1161132057600080fd5b61132a6000610d38565b33600160a060020a03811660009081526007602090815260408083208054604060020a87020190556006909152812080549082905590920194509250611371908490610516565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b6000828201838110156113cb57fe5b9392505050565b60008082848115156113e057fe5b04949350505050565b6000828211156113f557fe5b50900390565b6009546000906b204fce5e3e25026110000000908290633b9aca0061147a6114747259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d2100000000000000016114f7565b856113e9565b81151561148357fe5b0403949350505050565b600954600090670de0b6b3a76400008381019181019083906114e4640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca00028115156114de57fe5b046113e9565b8115156114ed57fe5b0495945050505050565b80600260018201045b81811015610d7557809150600281828581151561151957fe5b040181151561152457fe5b049050611500565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061156d57805160ff191683800117855561159a565b8280016001018555821561159a579182015b8281111561159a57825182559160200191906001019061157f565b50610e9292610bcd9250905b80821115610e9257600081556001016115a65600a165627a7a723058203ef4b972d6ac6aadfcbfc44cd3395cd78859618c5afd84245f65fba77c74d83b0029

Deployed Bytecode

0x6060604052600436106101525763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101a157806306fdde03146101d257806310d0ffdd1461025c57806318160ddd14610272578063226093731461028557806327defa1f1461029b578063313ce567146102c25780633ccfd60b146102eb5780634b7503341461030057806356d399e814610313578063688abbf7146103265780636b2f46321461033e57806370a082311461035157806376be1585146103705780638328b6101461038f5780638620410b146103a557806387c95058146103b8578063949e8acd146103dc57806395d89b41146103ef578063a9059cbb14610402578063b84c824614610424578063c47f002714610475578063e4849b32146104c6578063e9fad8ee146104dc578063f088d547146104ef578063fdb5a03e14610503575b6802b5e3af16b1880000600160a060020a0330163111610181576714d1120d7b16000034111561018157600080fd5b641176592e003a111561019357600080fd5b61019e346000610516565b50005b34156101ac57600080fd5b6101c0600160a060020a0360043516610ac5565b60405190815260200160405180910390f35b34156101dd57600080fd5b6101e5610afb565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610221578082015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026757600080fd5b6101c0600435610b99565b341561027d57600080fd5b6101c0610bc9565b341561029057600080fd5b6101c0600435610bd0565b34156102a657600080fd5b6102ae610c09565b604051901515815260200160405180910390f35b34156102cd57600080fd5b6102d5610c12565b60405160ff909116815260200160405180910390f35b34156102f657600080fd5b6102fe610c17565b005b341561030b57600080fd5b6101c0610cde565b341561031e57600080fd5b6101c0610d32565b341561033157600080fd5b6101c06004351515610d38565b341561034957600080fd5b6101c0610d7b565b341561035c57600080fd5b6101c0600160a060020a0360043516610d89565b341561037b57600080fd5b6102ae600160a060020a0360043516610da4565b341561039a57600080fd5b6102fe600435610db9565b34156103b057600080fd5b6101c0610de7565b34156103c357600080fd5b6102fe600160a060020a03600435166024351515610e2f565b34156103e757600080fd5b6101c0610e83565b34156103fa57600080fd5b6101e5610e96565b341561040d57600080fd5b6102ae600160a060020a0360043516602435610f01565b341561042f57600080fd5b6102fe60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506110b495505050505050565b341561048057600080fd5b6102fe60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506110f495505050505050565b34156104d157600080fd5b6102fe60043561112f565b34156104e757600080fd5b6102fe611282565b6101c0600160a060020a03600435166112b9565b341561050e57600080fd5b6102fe611306565b60008060008060008060008060008a60003390506000544210151561054057600c805460ff191690555b600c5460ff16801561056357506729a2241af62c00008261055f610d7b565b0311155b1561085757600160a060020a03811660009081526004602052604090205460ff16151560011480156105b85750600160a060020a0381166000908152600860205260409020546706f05b59d3b2000090830111155b15156105c357600080fd5b600160a060020a0381166000908152600860205260409020546105e690836113bc565b600160a060020a03821660009081526008602052604090205533995061060d8d60056113d2565b985061061a8960036113d2565b975061062689896113e9565b96506106328d8a6113e9565b955061063d866113fb565b9450604060020a87029350600085118015610662575060095461066086826113bc565b115b151561066d57600080fd5b600160a060020a038c1615801590610697575089600160a060020a03168c600160a060020a031614155b80156106bd5750600354600160a060020a038d1660009081526005602052604090205410155b1561070357600160a060020a038c166000908152600660205260409020546106e590896113bc565b600160a060020a038d16600090815260066020526040902055610719565b61070d87896113bc565b9650604060020a870293505b6000600954111561077357610730600954866113bc565b6009819055604060020a880281151561074557fe5b600a8054929091049091019055600954604060020a880281151561076557fe5b048502840384039350610779565b60098590555b600160a060020a038a1660009081526005602052604090205461079c90866113bc565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610ab5565b600c805460ff1916905533995061086f8d60056113d2565b985061087c8960036113d2565b975061088889896113e9565b96506108948d8a6113e9565b955061089f866113fb565b9450604060020a870293506000851180156108c457506009546108c286826113bc565b115b15156108cf57600080fd5b600160a060020a038c16158015906108f9575089600160a060020a03168c600160a060020a031614155b801561091f5750600354600160a060020a038d1660009081526005602052604090205410155b1561096557600160a060020a038c1660009081526006602052604090205461094790896113bc565b600160a060020a038d1660009081526006602052604090205561097b565b61096f87896113bc565b9650604060020a870293505b600060095411156109d557610992600954866113bc565b6009819055604060020a88028115156109a757fe5b600a8054929091049091019055600954604060020a88028115156109c757fe5b0485028403840393506109db565b60098590555b600160a060020a038a166000908152600560205260409020546109fe90866113bc565b600560008c600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600a540203925082600760008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260076020908152604080832054600590925290912054600a54604060020a9102919091030490565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b505050505081565b6000808080610ba98560056113d2565b9250610bb585846113e9565b9150610bc0826113fb565b95945050505050565b6009545b90565b6000806000806009548511151515610be757600080fd5b610bf08561148d565b9250610bfd8360056113d2565b9150610bc083836113e9565b600c5460ff1681565b601281565b6000806000610c266001610d38565b11610c3057600080fd5b339150610c3d6000610d38565b600160a060020a03831660008181526007602090815260408083208054604060020a870201905560069091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610c9d57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060095460001415610cfc57640218711a009350610d2c565b610d0d670de0b6b3a764000061148d565b9250610d1a8360056113d2565b9150610d2683836113e9565b90508093505b50505090565b60035481565b60003382610d4e57610d4981610ac5565b610d72565b600160a060020a038116600090815260066020526040902054610d7082610ac5565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526005602052604090205490565b600b6020526000908152604090205460ff1681565b33600160a060020a0381166000908152600b602052604090205460ff161515610de157600080fd5b50600355565b60008060008060095460001415610e055764028fa6ae009350610d2c565b610e16670de0b6b3a764000061148d565b9250610e238360056113d2565b9150610d2683836113bc565b33600160a060020a0381166000908152600b602052604090205460ff161515610e5757600080fd5b50600160a060020a03919091166000908152600b60205260409020805460ff1916911515919091179055565b600033610e8f81610d89565b91505b5090565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b915780601f10610b6657610100808354040283529160200191610b91565b600080600080600080610f12610e83565b11610f1c57600080fd5b600c5433945060ff16158015610f4a5750600160a060020a0384166000908152600560205260409020548611155b1515610f5557600080fd5b6000610f616001610d38565b1115610f6f57610f6f610c17565b610f7a8660056113d2565b9250610f8686846113e9565b9150610f918361148d565b9050610f9f600954846113e9565b600955600160a060020a038416600090815260056020526040902054610fc590876113e9565b600160a060020a038086166000908152600560205260408082209390935590891681522054610ff490836113bc565b600160a060020a03888116600081815260056020908152604080832095909555600a8054948a16835260079091528482208054948c029094039093558254918152929092208054928502909201909155546009546110639190604060020a840281151561105d57fe5b046113bc565b600a55600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600160a060020a0381166000908152600b602052604090205460ff1615156110dc57600080fd5b60028280516110ef92916020019061152c565b505050565b33600160a060020a0381166000908152600b602052604090205460ff16151561111c57600080fd5b60018280516110ef92916020019061152c565b6000806000806000806000611142610e83565b1161114c57600080fd5b33600160a060020a03811660009081526005602052604090205490965087111561117557600080fd5b8694506111818561148d565b935061118e8460056113d2565b925061119a84846113e9565b91506111a8600954866113e9565b600955600160a060020a0386166000908152600560205260409020546111ce90866113e9565b600160a060020a038716600090815260056020908152604080832093909355600a5460079091529181208054928802604060020a86020192839003905560095491925090111561123557611231600a54600954604060020a860281151561105d57fe5b600a555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a038116600090815260056020526040812054908111156112ad576112ad8161112f565b6112b5610c17565b5050565b60006802b5e3af16b1880000600160a060020a03301631116112ea576714d1120d7b1600003411156112ea57600080fd5b641176592e003a11156112fc57600080fd5b610d753483610516565b6000806000806113166001610d38565b1161132057600080fd5b61132a6000610d38565b33600160a060020a03811660009081526007602090815260408083208054604060020a87020190556006909152812080549082905590920194509250611371908490610516565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b6000828201838110156113cb57fe5b9392505050565b60008082848115156113e057fe5b04949350505050565b6000828211156113f557fe5b50900390565b6009546000906b204fce5e3e25026110000000908290633b9aca0061147a6114747259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d2100000000000000016114f7565b856113e9565b81151561148357fe5b0403949350505050565b600954600090670de0b6b3a76400008381019181019083906114e4640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca00028115156114de57fe5b046113e9565b8115156114ed57fe5b0495945050505050565b80600260018201045b81811015610d7557809150600281828581151561151957fe5b040181151561152457fe5b049050611500565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061156d57805160ff191683800117855561159a565b8280016001018555821561159a579182015b8281111561159a57825182559160200191906001019061157f565b50610e9292610bcd9250905b80821115610e9257600081556001016115a65600a165627a7a723058203ef4b972d6ac6aadfcbfc44cd3395cd78859618c5afd84245f65fba77c74d83b0029

Swarm Source

bzzr://3ef4b972d6ac6aadfcbfc44cd3395cd78859618c5afd84245f65fba77c74d83b

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.