ETH Price: $3,291.96 (+0.59%)

Contract

0x2747fE8Dc21D5eFcC0787101dc986DF028bd42B9
 

Overview

ETH Balance

1.33735970618530818 ETH

Eth Value

$4,402.54 (@ $3,291.96/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit203639002024-07-22 18:36:47183 days ago1721673407IN
0x2747fE8D...028bd42B9
0 ETH0.000238284.12958882
Sell88474952019-10-31 16:19:361909 days ago1572538776IN
0x2747fE8D...028bd42B9
0 ETH0.000139052.6
Buy87841522019-10-21 13:18:221919 days ago1571663902IN
0x2747fE8D...028bd42B9
0.00019 ETH0.000281644
Transfer87396972019-10-14 13:22:291926 days ago1571059349IN
0x2747fE8D...028bd42B9
0 ETH0.000071891
Sell87393152019-10-14 11:56:391926 days ago1571054199IN
0x2747fE8D...028bd42B9
0 ETH0.000053931
Transfer87391002019-10-14 11:02:421926 days ago1571050962IN
0x2747fE8D...028bd42B9
0 ETH0.000071891
Pay Fund86049922019-09-23 10:51:461947 days ago1569235906IN
0x2747fE8D...028bd42B9
0 ETH0.0006727319
Withdraw86048012019-09-23 10:06:371947 days ago1569233197IN
0x2747fE8D...028bd42B9
0 ETH0.0010449324
Sell86047962019-09-23 10:04:321947 days ago1569233072IN
0x2747fE8D...028bd42B9
0 ETH0.0012974624
Transfer86046842019-09-23 9:40:361947 days ago1569231636IN
0x2747fE8D...028bd42B9
0 ETH0.0013701624
Transfer86046402019-09-23 9:28:301947 days ago1569230910IN
0x2747fE8D...028bd42B9
0 ETH0.0013716924
Transfer86046272019-09-23 9:24:471947 days ago1569230687IN
0x2747fE8D...028bd42B9
0 ETH0.0006212525
Transfer86044632019-09-23 8:50:471948 days ago1569228647IN
0x2747fE8D...028bd42B9
0 ETH0.0009113916
Withdraw85984192019-09-22 10:25:141948 days ago1569147914IN
0x2747fE8D...028bd42B9
0 ETH0.0004919911.3
Sell85983912019-09-22 10:19:451948 days ago1569147585IN
0x2747fE8D...028bd42B9
0 ETH0.0006479612
Transfer85956272019-09-21 23:43:421949 days ago1569109422IN
0x2747fE8D...028bd42B9
0 ETH0.000431776
Withdraw85928382019-09-21 13:20:581949 days ago1569072058IN
0x2747fE8D...028bd42B9
0 ETH0.0006530815
Sell85927762019-09-21 13:06:261949 days ago1569071186IN
0x2747fE8D...028bd42B9
0 ETH0.0008089915
Transfer85897162019-09-21 1:39:491950 days ago1569029989IN
0x2747fE8D...028bd42B9
0 ETH0.000456728
Transfer85889712019-09-20 22:46:331950 days ago1569019593IN
0x2747fE8D...028bd42B9
0 ETH0.000310
Withdraw85859072019-09-20 11:31:421950 days ago1568979102IN
0x2747fE8D...028bd42B9
0 ETH0.0008707820
Sell85858952019-09-20 11:27:231950 days ago1568978843IN
0x2747fE8D...028bd42B9
0 ETH0.0007786620
Transfer And Cal...85839112019-09-20 3:59:361951 days ago1568951976IN
0x2747fE8D...028bd42B9
0 ETH0.0015644820
Transfer And Cal...85833622019-09-20 1:58:501951 days ago1568944730IN
0x2747fE8D...028bd42B9
0 ETH0.0023048420
Buy85833482019-09-20 1:55:321951 days ago1568944532IN
0x2747fE8D...028bd42B9
0.1 ETH0.0014106220
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
203639002024-07-22 18:36:47183 days ago1721673407
0x2747fE8D...028bd42B9
0.06678675 ETH
87396972019-10-14 13:22:291926 days ago1571059349
0x2747fE8D...028bd42B9
0 ETH
87391002019-10-14 11:02:421926 days ago1571050962
0x2747fE8D...028bd42B9
0.00631509 ETH
86049922019-09-23 10:51:461947 days ago1569235906
0x2747fE8D...028bd42B9
0.05058691 ETH
86048012019-09-23 10:06:371947 days ago1569233197
0x2747fE8D...028bd42B9
1.23588295 ETH
86046842019-09-23 9:40:361947 days ago1569231636
0x2747fE8D...028bd42B9
0.2521463 ETH
86046402019-09-23 9:28:301947 days ago1569230910
0x2747fE8D...028bd42B9
0.36589664 ETH
86044632019-09-23 8:50:471948 days ago1569228647
0x2747fE8D...028bd42B9
0.04594069 ETH
85984192019-09-22 10:25:141948 days ago1569147914
0x2747fE8D...028bd42B9
0.03183004 ETH
85956272019-09-21 23:43:421949 days ago1569109422
0x2747fE8D...028bd42B9
0.003258 ETH
85928382019-09-21 13:20:581949 days ago1569072058
0x2747fE8D...028bd42B9
0.0827985 ETH
85897162019-09-21 1:39:491950 days ago1569029989
0x2747fE8D...028bd42B9
0 ETH
85896602019-09-21 1:26:011950 days ago1569029161
0x2747fE8D...028bd42B9
0.00160118 ETH
85859072019-09-20 11:31:421950 days ago1568979102
0x2747fE8D...028bd42B9
0.0009017 ETH
85833622019-09-20 1:58:501951 days ago1568944730
0x2747fE8D...028bd42B9
0.00020594 ETH
85833112019-09-20 1:47:171951 days ago1568944037
0x2747fE8D...028bd42B9
0.00000851 ETH
85810832019-09-19 17:16:191951 days ago1568913379
0x2747fE8D...028bd42B9
0.00670536 ETH
85796142019-09-19 11:41:401951 days ago1568893300
0x2747fE8D...028bd42B9
0.01289759 ETH
85795602019-09-19 11:30:201951 days ago1568892620
0x2747fE8D...028bd42B9
0.02350658 ETH
85786652019-09-19 8:11:031952 days ago1568880663
0x2747fE8D...028bd42B9
0.68169348 ETH
85776942019-09-19 4:29:161952 days ago1568867356
0x2747fE8D...028bd42B9
0.03850541 ETH
85774722019-09-19 3:38:531952 days ago1568864333
0x2747fE8D...028bd42B9
0.01009996 ETH
85734082019-09-18 12:26:271952 days ago1568809587
0x2747fE8D...028bd42B9
0.07957677 ETH
85728802019-09-18 10:22:441952 days ago1568802164
0x2747fE8D...028bd42B9
2.27995767 ETH
85695812019-09-17 22:21:211953 days ago1568758881
0x2747fE8D...028bd42B9
0.06559245 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HyperETH

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-04-01
*/

pragma solidity ^0.4.25;

/*
██╗  ██╗██╗   ██╗██████╗ ███████╗██████╗ ███████╗████████╗██╗  ██╗
██║  ██║╚██╗ ██╔╝██╔══██╗██╔════╝██╔══██╗██╔════╝╚══██╔══╝██║  ██║
███████║ ╚████╔╝ ██████╔╝█████╗  ██████╔╝█████╗     ██║   ███████║
██╔══██║  ╚██╔╝  ██╔═══╝ ██╔══╝  ██╔══██╗██╔══╝     ██║   ██╔══██║
██║  ██║   ██║   ██║     ███████╗██║  ██║███████╗   ██║   ██║  ██║
╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚══════╝╚═╝  ╚═╝╚══════╝   ╚═╝   ╚═╝  ╚═╝
Sepcial thanks to P3D & HODL(tobi) basecode & modification 
HyperETH - 2019
Decentralized Blockchain Gaming Ecosystem 
Smart Contract & Web Games
*/


contract AcceptsHyperETH {
    HyperETH public tokenContract;

    constructor(address _tokenContract) public {
        tokenContract = HyperETH(_tokenContract);
    }

    modifier onlyTokenContract {
        require(msg.sender == address(tokenContract));
        _;
    }

    /**
    * @dev Standard ERC677 function that will handle incoming token transfers.
    *
    * @param _from  Token sender address.
    * @param _value Amount of tokens.
    * @param _data  Transaction metadata.
    */
    function tokenFallback(address _from, uint256 _value, bytes _data) external returns (bool);
}

contract HyperETH {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }
    
    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }
    
    // administrator 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, except the funding contract
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        address _customerAddress = msg.sender;
        require(administrator == _customerAddress);
        _;
    }
    
    // ensures that the first tokens in the contract will be equally distributed
    // meaning, no divine dump will be ever possible
    // result: healthy longevity.
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        address _customerAddress = msg.sender;
        
        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol 
        if( onlyAmbassadors && 
			((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ ) &&
			now < ACTIVATION_TIME)
		{
            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);
        
        } else {
            // in case the ether count drops low, the ambassador phase won't reinitiate
			// only write state variable once
			if (onlyAmbassadors) {
				onlyAmbassadors = false;
			}
        }
		
		_;
    }
	
	// ambassadors are not allowed to sell their tokens within the anti-pump-and-dump phase
	// @Sordren
	// hopefully many devs will use this as a standard
	modifier ambassAntiPumpAndDump() {
		
		// we are still in ambassadors antiPumpAndDump phase
		if (now <= antiPumpAndDumpEnd_) {
			address _customerAddress = msg.sender;
			
			// require sender is not an ambassador
			require(!ambassadors_[_customerAddress]);
		}
	
		// execute
		_;
	}
	
	// ambassadors are not allowed to transfer tokens to non-amassador accounts within the anti-pump-and-dump phase
	// @Sordren
	modifier ambassOnlyToAmbass(address _to) {
		
		// we are still in ambassadors antiPumpAndDump phase
		if (now <= antiPumpAndDumpEnd_){
			address _from = msg.sender;
			
			// sender is ambassador
			if (ambassadors_[_from]) {
				
				// sender is not the lending
				// this is required for withdrawing capital from lending
				if (_from != lendingAddress_) {
					// require receiver is ambassador
					require(ambassadors_[_to], "As ambassador you should know better :P");
				}
			}
		}
		
		// execute
		_;
	}
    
    
    /*==============================
    =            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 = "Hyper Token";
    string public symbol = "HYPER";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 10;	// 10% dividend dispersement
	uint8 constant internal fundFee_ = 3; 		// 3% development fund
	uint8 constant internal referralBonus_ = 10;
    uint256 constant internal tokenPriceInitial_ =     0.000000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether;
    uint256 constant internal magnitude = 2**64;	
    
    // proof of stake (defaults at 100 tokens)
    uint256 public stakingRequirement = 100e18;
    
    // ambassador program
    uint256 constant internal ambassadorMaxPurchase_ = 2 ether;
    uint256 constant internal ambassadorQuota_ = 2 ether;
	
	// anti pump and dump phase time (default 30 days)
	uint256 constant internal antiPumpAndDumpTime_ = 30 days;								// remember it is constant, so it cannot be changed after deployment
	uint256 constant public antiPumpAndDumpEnd_ = ACTIVATION_TIME + antiPumpAndDumpTime_;	// set anti-pump-and-dump time to 30 days after deploying
	uint256 constant internal ACTIVATION_TIME = 1541966400;
	
	// 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;
    
    
   /*================================
    =            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 => address) internal lastRef_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal tokenSupply_ = 0;
    uint256 internal profitPerShare_;
    
    // administrator (see above on what they can do)
    address internal administrator;
	
	// staking address
	address internal lendingAddress_;
	
	// Address to send the 3% fee
    address public fundAddress_;
    uint256 internal totalEthFundReceived; 		// total ETH received from this contract
    uint256 internal totalEthFundCollected; 	// total ETH collected in this contract
	
	// ambassador program
	mapping(address => bool) internal ambassadors_;
	
	// Special HYPER Platform control from scam game contracts on HYPER platform
    mapping(address => bool) public canAcceptTokens_; // contracts, which can accept HYPER tokens


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    constructor()
        public
    {
        // add administrators here
        administrator = 0x73018870D10173ae6F71Cac3047ED3b6d175F274;
		fundAddress_ = 0xFa48ee5030771E39bc0F89046bF5BeECb65dcf27;
		lendingAddress_ = 0xa206d217c0642735e82a6b11547bf00659623163;
        
        // add the ambassadors here.
        ambassadors_[0x73018870D10173ae6F71Cac3047ED3b6d175F274] = true;	// dev team
		ambassadors_[lendingAddress_] 							 = true;	// staking, to be the first to buy tokens
		ambassadors_[fundAddress_]								 = true;	// fund, to be able to be masternode
		
		// set lending ref
		lastRef_[lendingAddress_] = fundAddress_;
    }
    
     
    /**
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral
     */
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
		require(tx.gasprice <= 0.05 szabo);
		address _lastRef = handleLastRef(_referredBy);
		purchaseInternal(msg.value, _lastRef);
    }
    
    /**
     * Fallback function to handle ethereum that was send straight to the contract
     * Unfortunately we cannot use a referral address this way.
     */
    function()
        payable
        external
    {
		require(tx.gasprice <= 0.05 szabo);
		address lastRef = handleLastRef(address(0));	// hopefully (for you) you used a referral somewhere in the past
		purchaseInternal(msg.value, lastRef);
    }
    
    /**
     * 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"
		address _lastRef = handleLastRef(address(0));	// hopefully you used a referral somewhere in the past
        uint256 _tokens = purchaseInternal(_dividends, _lastRef);
        
        // fire event
        emit 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
        emit onWithdraw(_customerAddress, _dividends);
    }
    
    /**
     * Liquifies tokens to ethereum.
     */
    function sell(uint256 _amountOfTokens)
        onlyBagholders()
		ambassAntiPumpAndDump()
        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(SafeMath.mul(_ethereum, dividendFee_), 100);				// 10%
		uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);					// 3%
        uint256 _taxedEthereum =  SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _fundPayout);	// Take out dividends and then _fundPayout
		
		// Add ethereum for fund
        totalEthFundCollected = SafeMath.add(totalEthFundCollected, _fundPayout);
        
        // 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
        emit onTokenSell(_customerAddress, _tokens, _taxedEthereum);
    }
    
    
    /**
     * Transfer tokens from the caller to a new holder.
     * Remember, there's 0% fee here.
     */
    function transfer(address _toAddress, uint256 _amountOfTokens)
        onlyBagholders()
		ambassOnlyToAmbass(_toAddress)
        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(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        
        // withdraw all outstanding dividends first
        if(myDividends(true) > 0) withdraw();

        // exchange tokens
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _amountOfTokens);
		
		// update dividend trackers
        payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _amountOfTokens);
        
        // fire event
        emit Transfer(_customerAddress, _toAddress, _amountOfTokens);
        
        // ERC20
        return true;
    }
	
	/**
    * Transfer token to a specified address and forward the data to recipient
    * ERC-677 standard
    * https://github.com/ethereum/EIPs/issues/677
    * @param _to    Receiver address.
    * @param _value Amount of tokens that will be transferred.
    * @param _data  Transaction metadata.
    */
    function transferAndCall(address _to, uint256 _value, bytes _data)
		external
		returns (bool) 
	{
		require(_to != address(0));
		require(canAcceptTokens_[_to] == true); 	// security check that contract approved by HYPER platform
		require(transfer(_to, _value)); 			// do a normal token transfer to the contract

		if (isContract(_to)) {
			AcceptsHyperETH receiver = AcceptsHyperETH(_to);
			require(receiver.tokenFallback(msg.sender, _value, _data));
		}

		return true;
    }

    /**
     * Additional check that the game address we are sending tokens to is a contract
     * assemble the given address bytecode. If bytecode exists then the _addr is a contract.
     */
     function isContract(address _addr) 
		private 
		constant 
		returns (bool is_contract) 
	{
		// retrieve the size of the code on target address, this needs assembly
		uint length;
		assembly { length := extcodesize(_addr) }
		return length > 0;
     }
	 
    
    /*----------  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;
    }
	
	/**
     * Sends FUND money to the Fund Contract
     */
    function payFund()
		public 
	{
		uint256 ethToPay = SafeMath.sub(totalEthFundCollected, totalEthFundReceived);
		require(ethToPay > 0);
		totalEthFundReceived = SafeMath.add(totalEthFundReceived, ethToPay);
      
		if(!fundAddress_.call.value(ethToPay).gas(400000)()) {
			totalEthFundReceived = SafeMath.sub(totalEthFundReceived, ethToPay);
		}
    }
    
    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _identifier)
        onlyAdministrator()
        public
    {
        administrator = _identifier;
    }
	
	/**
     * Only Add game contract, which can accept HYPER tokens.
	 * Disabling a contract is not possible after activating
     */
    function setCanAcceptTokens(address _address)
      onlyAdministrator()
      public
    {
      canAcceptTokens_[_address] = true;
    }
    
    /**
     * 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 address(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 last used referral address of the given address
	 */
	function myLastRef(address _addr)
		public
		view
		returns(address)
	{
		return lastRef_[_addr];
	}
    
    /**
     * 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(SafeMath.mul(_ethereum, dividendFee_), 100);
			uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, SafeMath.add(_dividends, _fundPayout));    
            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 _taxedEthereum = SafeMath.div(SafeMath.mul(_ethereum, 100), 80); // 125% => 100/80
            return _taxedEthereum;
        }
    }
    
    /**
     * Function for the frontend to dynamically retrieve the price scaling of buy orders.
     */
    function calculateTokensReceived(uint256 _weiToSpend)
        public 
        view 
        returns(uint256)
    {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_weiToSpend, dividendFee_), 100);			// 10%
		uint256 _fundPayout = SafeMath.div(SafeMath.mul(_weiToSpend, fundFee_), 100);				// 3%
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_weiToSpend, _dividends), _fundPayout); // 87%
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        return SafeMath.div(_amountOfTokens, 1e18);
    }
    
    /**
     * 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(SafeMath.mul(_ethereum, dividendFee_), 100);				// 10%
		uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);					// 3%
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _fundPayout);	// 87%
        return _taxedEthereum;
    }
	
	/**
     * Function for the frontend to show ether waiting to be send to fund in contract
     */
    function etherToSendFund()
        public
        view
        returns(uint256)
	{
        return SafeMath.sub(totalEthFundCollected, totalEthFundReceived);
    }
    
    
    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
	function handleLastRef(address _ref)
		internal 
		returns(address)
	{
		address _customerAddress = msg.sender;			// sender
		address _lastRef = lastRef_[_customerAddress];	// last saved ref
		
		// no cheating by referring yourself
		if (_ref == _customerAddress) {
			return _lastRef;
		}
		
		// try to use last ref of customer
		if (_ref == address(0)) {
			return _lastRef;
		} else {
			// new ref is another address, replace 
			if (_ref != _lastRef) {
				lastRef_[_customerAddress] = _ref;	// save new ref for next time
				return _ref;						// return new ref
			} else {
				return _lastRef;					// return last used ref
			}
		}
	}
	
	// Make sure we will send back excess if user sends more then 10 ether before 100 ETH in contract
    function purchaseInternal(uint256 _incomingEthereum, address _referredBy)
		internal
		returns(uint256)
	{
		address _customerAddress = msg.sender;
		uint256 _purchaseEthereum = _incomingEthereum;
		uint256 _excess = 0;

		// limit customers value if needed
		if(_purchaseEthereum > 10 ether) { // check if the transaction is over 10 ether
			if (SafeMath.sub(totalEthereumBalance(), _purchaseEthereum) < 100 ether) { // if so check the contract is less then 100 ether
				_purchaseEthereum = 10 ether;
				_excess = SafeMath.sub(_incomingEthereum, _purchaseEthereum);
			}
		}

		// purchase tokens
		purchaseTokens(_purchaseEthereum, _referredBy);

		// payback
		if (_excess > 0) {
			_customerAddress.transfer(_excess);
		}
    }
	
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        antiEarlyWhale(_incomingEthereum)
        internal
        returns(uint256)
    {
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, dividendFee_), 100);				// 10%
		uint256 _fundPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, fundFee_), 100);							// 3%
		uint256 _referralPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, referralBonus_), 100);				// 10%
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralPayout);									// 7% => 10% - 3%
        //uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_incomingEthereum, _undividedDividends), _fundPayout);	// 87%
        totalEthFundCollected = SafeMath.add(totalEthFundCollected, _fundPayout);
		
		// _taxedEthereum should be used, but stack is too deep here
        uint256 _amountOfTokens = ethereumToTokens_(SafeMath.sub(SafeMath.sub(_incomingEthereum, _undividedDividends), _fundPayout));
        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], _referralPayout);
        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralPayout);
            _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
        emit 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 _tokensReceived = 
		(
			// underflow attempts BTFO
			SafeMath.sub(
				(sqrt
					(
						(tokenPriceInitial_)**2 * 10**36
						+
						(tokenPriceInitial_) * (tokenPriceIncremental_) * 10**36
						+
						25 * (tokenPriceIncremental_)**2 * 10**34
						+
						(tokenPriceIncremental_)**2 * (tokenSupply_)**2
						+
						2 * (tokenPriceIncremental_) * (tokenPriceInitial_) * (tokenSupply_) * 10**18
						+
						(tokenPriceIncremental_)**2 * (tokenSupply_) * 10**18
						+
						2 * (tokenPriceIncremental_) * (_ethereum) * 10**36
					)
				), ((tokenPriceInitial_)* 10**18 + 5 * (tokenPriceIncremental_) * 10**17)
			) / (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 _etherReceived =
        (
            // underflow attempts BTFO
            SafeMath.sub(
                (
					((tokenPriceIncremental_) * (_tokens) * (tokenSupply_)) / 1e18
                    +
                    (tokenPriceInitial_) * (_tokens)
                    +
                    ((tokenPriceIncremental_) * (_tokens)) / 2        
                ), (
					((tokenPriceIncremental_) * (_tokens**2)) / 2
				) / 1e18
			)
        ) / 1e18
		;
        
		return _etherReceived;
    }
    
    
    //This is where all your gas goes, sorry
    //Not sorry, you probably only paid 1 gwei
    function sqrt(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"canAcceptTokens_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_weiToSpend","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":"antiPumpAndDumpEnd_","outputs":[{"name":"","type":"uint256"}],"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":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferAndCall","outputs":[{"name":"","type":"bool"}],"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":"_addr","type":"address"}],"name":"myLastRef","outputs":[{"name":"","type":"address"}],"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":"etherToSendFund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"payFund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableInitialStage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_address","type":"address"}],"name":"setCanAcceptTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fundAddress_","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"}],"name":"setAdministrator","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"}]

60806040526040805190810160405280600b81526020017f487970657220546f6b656e000000000000000000000000000000000000000000815250600090805190602001906200005192919062000402565b506040805190810160405280600581526020017f4859504552000000000000000000000000000000000000000000000000000000815250600190805190602001906200009f92919062000402565b5068056bc75e2d631000006002556001600360006101000a81548160ff0219169083151502179055506000600955348015620000da57600080fd5b507373018870d10173ae6f71cac3047ed3b6d175f274600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073fa48ee5030771e39bc0f89046bf5beecb65dcf27600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a206d217c0642735e82a6b11547bf00659623163600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601060007373018870d10173ae6f71cac3047ed3b6d175f27473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160106000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160106000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660076000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620004b1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200044557805160ff191683800117855562000476565b8280016001018555821562000476579182015b828111156200047557825182559160200191906001019062000458565b5b50905062000485919062000489565b5090565b620004ae91905b80821115620004aa57600081600090555060010162000490565b5090565b90565b612c8b80620004c16000396000f3006080604052600436106101ab576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146101db57806306fdde03146102325780630f34dc16146102c257806310d0ffdd1461031d57806318160ddd1461035e578063226093731461038957806327defa1f146103ca5780632d7b30e3146103f9578063313ce567146104245780633ccfd60b146104555780634000aea01461046c5780634b750334146104e957806354f4824d1461051457806356d399e81461059757806366042e7a146105c2578063688abbf7146105ed5780636b2f46321461063057806370a082311461065b5780638328b610146106b25780638620410b146106df5780638974372d1461070a578063949e8acd1461072157806395d89b411461074c578063a8e04f34146107dc578063a9059cbb146107f3578063b84c824614610858578063c47f0027146108c1578063d3fb447c1461092a578063ddda52ad1461096d578063df8089ef146109c4578063e4849b3214610a07578063e9fad8ee14610a34578063f088d54714610a4b578063fdb5a03e14610a95575b6000640ba43b74003a111515156101c157600080fd5b6101cb6000610aac565b90506101d73482610c55565b5050005b3480156101e757600080fd5b5061021c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d14565b6040518082815260200191505060405180910390f35b34801561023e57600080fd5b50610247610db6565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028757808201518184015260208101905061026c565b50505050905090810190601f1680156102b45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ce57600080fd5b50610303600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e54565b604051808215151515815260200191505060405180910390f35b34801561032957600080fd5b5061034860048036038101908080359060200190929190505050610e74565b6040518082815260200191505060405180910390f35b34801561036a57600080fd5b50610373610eed565b6040518082815260200191505060405180910390f35b34801561039557600080fd5b506103b460048036038101908080359060200190929190505050610ef7565b6040518082815260200191505060405180910390f35b3480156103d657600080fd5b506103df610f70565b604051808215151515815260200191505060405180910390f35b34801561040557600080fd5b5061040e610f83565b6040518082815260200191505060405180910390f35b34801561043057600080fd5b50610439610f90565b604051808260ff1660ff16815260200191505060405180910390f35b34801561046157600080fd5b5061046a610f95565b005b34801561047857600080fd5b506104cf600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001919091929391929390505050611139565b604051808215151515815260200191505060405180910390f35b3480156104f557600080fd5b506104fe611316565b6040518082815260200191505060405180910390f35b34801561052057600080fd5b50610555600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113a2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105a357600080fd5b506105ac61140b565b6040518082815260200191505060405180910390f35b3480156105ce57600080fd5b506105d7611411565b6040518082815260200191505060405180910390f35b3480156105f957600080fd5b5061061a600480360381019080803515159060200190929190505050611426565b6040518082815260200191505060405180910390f35b34801561063c57600080fd5b50610645611492565b6040518082815260200191505060405180910390f35b34801561066757600080fd5b5061069c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114b1565b6040518082815260200191505060405180910390f35b3480156106be57600080fd5b506106dd600480360381019080803590602001909291905050506114fa565b005b3480156106eb57600080fd5b506106f4611566565b6040518082815260200191505060405180910390f35b34801561071657600080fd5b5061071f6115bb565b005b34801561072d57600080fd5b5061073661165e565b6040518082815260200191505060405180910390f35b34801561075857600080fd5b50610761611673565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107a1578082015181840152602081019050610786565b50505050905090810190601f1680156107ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156107e857600080fd5b506107f1611711565b005b3480156107ff57600080fd5b5061083e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611790565b604051808215151515815260200191505060405180910390f35b34801561086457600080fd5b506108bf600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611bec565b005b3480156108cd57600080fd5b50610928600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611c68565b005b34801561093657600080fd5b5061096b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ce4565b005b34801561097957600080fd5b50610982611da1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156109d057600080fd5b50610a05600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dc7565b005b348015610a1357600080fd5b50610a3260048036038101908080359060200190929190505050611e6d565b005b348015610a4057600080fd5b50610a4961214e565b005b610a7f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121b5565b6040518082815260200191505060405180910390f35b348015610aa157600080fd5b50610aaa6121e8565b005b6000806000339150600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610b5257809250610c4e565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610b8f57809250610c4e565b8073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141515610c4a5783600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550839250610c4e565b8092505b5050919050565b60008060008033925085915060009050678ac7230489e80000821115610caf5768056bc75e2d63100000610c90610c8a611492565b8461236a565b1015610cae57678ac7230489e800009150610cab868361236a565b90505b5b610cb98286612383565b506000811115610d0b578273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d09573d6000803e3d6000fd5b505b50505092915050565b600068010000000000000000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a540203811515610dae57fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e4c5780601f10610e2157610100808354040283529160200191610e4c565b820191906000526020600020905b815481529060010190602001808311610e2f57829003601f168201915b505050505081565b60116020528060005260406000206000915054906101000a900460ff1681565b6000806000806000610e94610e8d87600a60ff1661294c565b6064612987565b9350610eae610ea787600360ff1661294c565b6064612987565b9250610ec3610ebd878661236a565b8461236a565b9150610ece826129a2565b9050610ee281670de0b6b3a7640000612987565b945050505050919050565b6000600954905090565b60008060008060006009548611151515610f1057600080fd5b610f1986612ab0565b9350610f33610f2c85600a60ff1661294c565b6064612987565b9250610f4d610f4685600360ff1661294c565b6064612987565b9150610f62610f5c858561236a565b8361236a565b905080945050505050919050565b600360009054906101000a900460ff1681565b62278d00635be88a400181565b601281565b6000806000610fa46001611426565b111515610fb057600080fd5b339150610fbd6000611426565b9050680100000000000000008102600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110e6573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415151561117857600080fd5b60011515601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156111d757600080fd5b6111e18686611790565b15156111ec57600080fd5b6111f586612b3e565b15611309578590508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a338787876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437820191505095505050505050602060405180830381600087803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b505050506040513d60208110156112ec57600080fd5b8101908080519060200190929190505050151561130857600080fd5b5b6001915050949350505050565b600080600080600080600954141561133b576402540be400633b9aca0003945061139b565b61134c670de0b6b3a7640000612ab0565b935061136661135f85600a60ff1661294c565b6064612987565b925061138061137985600360ff1661294c565b6064612987565b9150611395846113908585612b51565b61236a565b90508094505b5050505090565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60025481565b6000611421600f54600e5461236a565b905090565b6000803390508261143f5761143a81610d14565b61148a565b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461148882610d14565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561155b57600080fd5b816002819055505050565b6000806000806009541415611588576402540be400633b9aca000192506115b6565b611599670de0b6b3a7640000612ab0565b91506115b06115a983606461294c565b6050612987565b90508092505b505090565b60006115cb600f54600e5461236a565b90506000811115156115dc57600080fd5b6115e8600e5482612b51565b600e81905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168162061a8090604051600060405180830381858888f19350505050151561165b57611654600e548261236a565b600e819055505b50565b60008033905061166d816114b1565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117095780601f106116de57610100808354040283529160200191611709565b820191906000526020600020905b8154815290600101906020018083116116ec57829003601f168201915b505050505081565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561177257600080fd5b6000600360006101000a81548160ff02191690831515021790555050565b600080600061179d61165e565b1115156117a957600080fd5b83600062278d00635be88a40014211151561195457339050601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561195357600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561195257601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515611951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f417320616d6261737361646f7220796f752073686f756c64206b6e6f7720626581526020017f74746572203a500000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b5b5b5b339250600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485111515156119a557600080fd5b60006119b16001611426565b11156119c0576119bf610f95565b5b611a09600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661236a565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a95600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486612b51565b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084600a5402600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555084600a5402600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a36001935050505092915050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611c4d57600080fd5b8160019080519060200190611c63929190612bba565b505050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611cc957600080fd5b8160009080519060200190611cdf929190612bba565b505050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611d4557600080fd5b6001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611e2857600080fd5b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600080600080600080611e8161165e565b111515611e8d57600080fd5b600062278d00635be88a400142111515611efe57339050601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515611efd57600080fd5b5b339750600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548911151515611f4f57600080fd5b889650611f5b87612ab0565b9550611f75611f6e87600a60ff1661294c565b6064612987565b9450611f8f611f8887600360ff1661294c565b6064612987565b9350611fa4611f9e878761236a565b8561236a565b9250611fb2600f5485612b51565b600f81905550611fc46009548861236a565b600981905550612013600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548861236a565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555068010000000000000000830287600a540201915081600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550600060095411156120ed576120e6600a546009546801000000000000000088028115156120e057fe5b04612b51565b600a819055505b8773ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398885604051808381526020018281526020019250505060405180910390a2505050505050505050565b600080339150600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156121a9576121a881611e6d565b5b6121b1610f95565b5050565b600080640ba43b74003a111515156121cc57600080fd5b6121d583610aac565b90506121e13482610c55565b5050919050565b60008060008060006121fa6001611426565b11151561220657600080fd5b6122106000611426565b9350339250680100000000000000008402600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054840193506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506123006000610aac565b915061230c8483610c55565b90508273ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588583604051808381526020018281526020019250505060405180910390a250505050565b600082821115151561237857fe5b818303905092915050565b60008060008060008060008060008a6000339050600360009054906101000a900460ff1680156123c45750671bc16d674ec80000826123c0611492565b0311155b80156123d35750635be88a4042105b1561251d5760011515601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480156124815750671bc16d674ec8000082600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540111155b151561248c57600080fd5b6124d5600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483612b51565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061254f565b600360009054906101000a900460ff161561254e576000600360006101000a81548160ff0219169083151502179055505b5b33995061256a6125638e600a60ff1661294c565b6064612987565b985061258461257d8e600360ff1661294c565b6064612987565b975061259e6125978e600a60ff1661294c565b6064612987565b96506125aa898861236a565b95506125b8600f5489612b51565b600f819055506125d96125d46125ce8f8c61236a565b8a61236a565b6129a2565b94506801000000000000000086029350600085118015612605575060095461260386600954612b51565b115b151561261057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561267957508973ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156126c65750600254600460008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561275c57612714600560008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488612b51565b600560008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612777565b6127668688612b51565b955068010000000000000000860293505b600060095411156127e25761278e60095486612b51565b6009819055506009546801000000000000000087028115156127ac57fe5b04600a600082825401925050819055506009546801000000000000000087028115156127d457fe5b0485028403840393506127ea565b846009819055505b612833600460008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486612b51565b600460008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600a540203925082600660008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505050505050505050505092915050565b60008060008414156129615760009150612980565b828402905082848281151561297257fe5b0414151561297c57fe5b8091505b5092915050565b600080828481151561299557fe5b0490508091505092915050565b6000806009546402540be400612a9a612a726ec097ce7bc90715b34b9f1000000000876402540be4006002020202670de0b6b3a764000060095460026402540be4000a0202670de0b6b3a7640000600954633b9aca006402540be40060020202020260026009540a60026402540be4000a026e01ed09bead87c0378d8e640000000060026402540be4000a601902026ec097ce7bc90715b34b9f10000000006402540be400633b9aca0002026ec097ce7bc90715b34b9f10000000006002633b9aca000a02010101010101612b6f565b67016345785d8a00006402540be40060050202670de0b6b3a7640000633b9aca00020161236a565b811515612aa357fe5b0403905080915050919050565b600080670de0b6b3a7640000612b296002856402540be40002811515612ad257fe5b0485633b9aca0002670de0b6b3a7640000600954886402540be4000202811515612af857fe5b040101670de0b6b3a7640000600280880a6402540be40002811515612b1957fe5b04811515612b2357fe5b0461236a565b811515612b3257fe5b04905080915050919050565b600080823b905060008111915050919050565b6000808284019050838110151515612b6557fe5b8091505092915050565b600080600260018401811515612b8157fe5b0490508291505b81811015612bb4578091506002818285811515612ba157fe5b0401811515612bac57fe5b049050612b88565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612bfb57805160ff1916838001178555612c29565b82800160010185558215612c29579182015b82811115612c28578251825591602001919060010190612c0d565b5b509050612c369190612c3a565b5090565b612c5c91905b80821115612c58576000816000905550600101612c40565b5090565b905600a165627a7a72305820f811aafd13e93063bf16f05efa1b94a7d0628d2e2f3b158876ad97fb06b3d3c70029

Deployed Bytecode

0x6080604052600436106101ab576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146101db57806306fdde03146102325780630f34dc16146102c257806310d0ffdd1461031d57806318160ddd1461035e578063226093731461038957806327defa1f146103ca5780632d7b30e3146103f9578063313ce567146104245780633ccfd60b146104555780634000aea01461046c5780634b750334146104e957806354f4824d1461051457806356d399e81461059757806366042e7a146105c2578063688abbf7146105ed5780636b2f46321461063057806370a082311461065b5780638328b610146106b25780638620410b146106df5780638974372d1461070a578063949e8acd1461072157806395d89b411461074c578063a8e04f34146107dc578063a9059cbb146107f3578063b84c824614610858578063c47f0027146108c1578063d3fb447c1461092a578063ddda52ad1461096d578063df8089ef146109c4578063e4849b3214610a07578063e9fad8ee14610a34578063f088d54714610a4b578063fdb5a03e14610a95575b6000640ba43b74003a111515156101c157600080fd5b6101cb6000610aac565b90506101d73482610c55565b5050005b3480156101e757600080fd5b5061021c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d14565b6040518082815260200191505060405180910390f35b34801561023e57600080fd5b50610247610db6565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028757808201518184015260208101905061026c565b50505050905090810190601f1680156102b45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ce57600080fd5b50610303600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e54565b604051808215151515815260200191505060405180910390f35b34801561032957600080fd5b5061034860048036038101908080359060200190929190505050610e74565b6040518082815260200191505060405180910390f35b34801561036a57600080fd5b50610373610eed565b6040518082815260200191505060405180910390f35b34801561039557600080fd5b506103b460048036038101908080359060200190929190505050610ef7565b6040518082815260200191505060405180910390f35b3480156103d657600080fd5b506103df610f70565b604051808215151515815260200191505060405180910390f35b34801561040557600080fd5b5061040e610f83565b6040518082815260200191505060405180910390f35b34801561043057600080fd5b50610439610f90565b604051808260ff1660ff16815260200191505060405180910390f35b34801561046157600080fd5b5061046a610f95565b005b34801561047857600080fd5b506104cf600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001908201803590602001919091929391929390505050611139565b604051808215151515815260200191505060405180910390f35b3480156104f557600080fd5b506104fe611316565b6040518082815260200191505060405180910390f35b34801561052057600080fd5b50610555600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113a2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156105a357600080fd5b506105ac61140b565b6040518082815260200191505060405180910390f35b3480156105ce57600080fd5b506105d7611411565b6040518082815260200191505060405180910390f35b3480156105f957600080fd5b5061061a600480360381019080803515159060200190929190505050611426565b6040518082815260200191505060405180910390f35b34801561063c57600080fd5b50610645611492565b6040518082815260200191505060405180910390f35b34801561066757600080fd5b5061069c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114b1565b6040518082815260200191505060405180910390f35b3480156106be57600080fd5b506106dd600480360381019080803590602001909291905050506114fa565b005b3480156106eb57600080fd5b506106f4611566565b6040518082815260200191505060405180910390f35b34801561071657600080fd5b5061071f6115bb565b005b34801561072d57600080fd5b5061073661165e565b6040518082815260200191505060405180910390f35b34801561075857600080fd5b50610761611673565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107a1578082015181840152602081019050610786565b50505050905090810190601f1680156107ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156107e857600080fd5b506107f1611711565b005b3480156107ff57600080fd5b5061083e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611790565b604051808215151515815260200191505060405180910390f35b34801561086457600080fd5b506108bf600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611bec565b005b3480156108cd57600080fd5b50610928600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611c68565b005b34801561093657600080fd5b5061096b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ce4565b005b34801561097957600080fd5b50610982611da1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156109d057600080fd5b50610a05600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611dc7565b005b348015610a1357600080fd5b50610a3260048036038101908080359060200190929190505050611e6d565b005b348015610a4057600080fd5b50610a4961214e565b005b610a7f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121b5565b6040518082815260200191505060405180910390f35b348015610aa157600080fd5b50610aaa6121e8565b005b6000806000339150600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610b5257809250610c4e565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610b8f57809250610c4e565b8073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141515610c4a5783600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550839250610c4e565b8092505b5050919050565b60008060008033925085915060009050678ac7230489e80000821115610caf5768056bc75e2d63100000610c90610c8a611492565b8461236a565b1015610cae57678ac7230489e800009150610cab868361236a565b90505b5b610cb98286612383565b506000811115610d0b578273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d09573d6000803e3d6000fd5b505b50505092915050565b600068010000000000000000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a540203811515610dae57fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e4c5780601f10610e2157610100808354040283529160200191610e4c565b820191906000526020600020905b815481529060010190602001808311610e2f57829003601f168201915b505050505081565b60116020528060005260406000206000915054906101000a900460ff1681565b6000806000806000610e94610e8d87600a60ff1661294c565b6064612987565b9350610eae610ea787600360ff1661294c565b6064612987565b9250610ec3610ebd878661236a565b8461236a565b9150610ece826129a2565b9050610ee281670de0b6b3a7640000612987565b945050505050919050565b6000600954905090565b60008060008060006009548611151515610f1057600080fd5b610f1986612ab0565b9350610f33610f2c85600a60ff1661294c565b6064612987565b9250610f4d610f4685600360ff1661294c565b6064612987565b9150610f62610f5c858561236a565b8361236a565b905080945050505050919050565b600360009054906101000a900460ff1681565b62278d00635be88a400181565b601281565b6000806000610fa46001611426565b111515610fb057600080fd5b339150610fbd6000611426565b9050680100000000000000008102600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110e6573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415151561117857600080fd5b60011515601160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156111d757600080fd5b6111e18686611790565b15156111ec57600080fd5b6111f586612b3e565b15611309578590508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a338787876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437820191505095505050505050602060405180830381600087803b1580156112c257600080fd5b505af11580156112d6573d6000803e3d6000fd5b505050506040513d60208110156112ec57600080fd5b8101908080519060200190929190505050151561130857600080fd5b5b6001915050949350505050565b600080600080600080600954141561133b576402540be400633b9aca0003945061139b565b61134c670de0b6b3a7640000612ab0565b935061136661135f85600a60ff1661294c565b6064612987565b925061138061137985600360ff1661294c565b6064612987565b9150611395846113908585612b51565b61236a565b90508094505b5050505090565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60025481565b6000611421600f54600e5461236a565b905090565b6000803390508261143f5761143a81610d14565b61148a565b600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461148882610d14565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561155b57600080fd5b816002819055505050565b6000806000806009541415611588576402540be400633b9aca000192506115b6565b611599670de0b6b3a7640000612ab0565b91506115b06115a983606461294c565b6050612987565b90508092505b505090565b60006115cb600f54600e5461236a565b90506000811115156115dc57600080fd5b6115e8600e5482612b51565b600e81905550600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168162061a8090604051600060405180830381858888f19350505050151561165b57611654600e548261236a565b600e819055505b50565b60008033905061166d816114b1565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117095780601f106116de57610100808354040283529160200191611709565b820191906000526020600020905b8154815290600101906020018083116116ec57829003601f168201915b505050505081565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561177257600080fd5b6000600360006101000a81548160ff02191690831515021790555050565b600080600061179d61165e565b1115156117a957600080fd5b83600062278d00635be88a40014211151561195457339050601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561195357600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561195257601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515611951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001807f417320616d6261737361646f7220796f752073686f756c64206b6e6f7720626581526020017f74746572203a500000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b5b5b5b339250600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485111515156119a557600080fd5b60006119b16001611426565b11156119c0576119bf610f95565b5b611a09600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661236a565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a95600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486612b51565b600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084600a5402600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555084600a5402600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a36001935050505092915050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611c4d57600080fd5b8160019080519060200190611c63929190612bba565b505050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611cc957600080fd5b8160009080519060200190611cdf929190612bba565b505050565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611d4557600080fd5b6001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003390508073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515611e2857600080fd5b81600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600080600080600080600080611e8161165e565b111515611e8d57600080fd5b600062278d00635be88a400142111515611efe57339050601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151515611efd57600080fd5b5b339750600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548911151515611f4f57600080fd5b889650611f5b87612ab0565b9550611f75611f6e87600a60ff1661294c565b6064612987565b9450611f8f611f8887600360ff1661294c565b6064612987565b9350611fa4611f9e878761236a565b8561236a565b9250611fb2600f5485612b51565b600f81905550611fc46009548861236a565b600981905550612013600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548861236a565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555068010000000000000000830287600a540201915081600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550600060095411156120ed576120e6600a546009546801000000000000000088028115156120e057fe5b04612b51565b600a819055505b8773ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398885604051808381526020018281526020019250505060405180910390a2505050505050505050565b600080339150600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156121a9576121a881611e6d565b5b6121b1610f95565b5050565b600080640ba43b74003a111515156121cc57600080fd5b6121d583610aac565b90506121e13482610c55565b5050919050565b60008060008060006121fa6001611426565b11151561220657600080fd5b6122106000611426565b9350339250680100000000000000008402600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054840193506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506123006000610aac565b915061230c8483610c55565b90508273ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588583604051808381526020018281526020019250505060405180910390a250505050565b600082821115151561237857fe5b818303905092915050565b60008060008060008060008060008a6000339050600360009054906101000a900460ff1680156123c45750671bc16d674ec80000826123c0611492565b0311155b80156123d35750635be88a4042105b1561251d5760011515601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480156124815750671bc16d674ec8000082600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540111155b151561248c57600080fd5b6124d5600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483612b51565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061254f565b600360009054906101000a900460ff161561254e576000600360006101000a81548160ff0219169083151502179055505b5b33995061256a6125638e600a60ff1661294c565b6064612987565b985061258461257d8e600360ff1661294c565b6064612987565b975061259e6125978e600a60ff1661294c565b6064612987565b96506125aa898861236a565b95506125b8600f5489612b51565b600f819055506125d96125d46125ce8f8c61236a565b8a61236a565b6129a2565b94506801000000000000000086029350600085118015612605575060095461260386600954612b51565b115b151561261057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561267957508973ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156126c65750600254600460008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561275c57612714600560008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488612b51565b600560008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612777565b6127668688612b51565b955068010000000000000000860293505b600060095411156127e25761278e60095486612b51565b6009819055506009546801000000000000000087028115156127ac57fe5b04600a600082825401925050819055506009546801000000000000000087028115156127d457fe5b0485028403840393506127ea565b846009819055505b612833600460008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486612b51565b600460008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600a540203925082600660008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505050505050505050505092915050565b60008060008414156129615760009150612980565b828402905082848281151561297257fe5b0414151561297c57fe5b8091505b5092915050565b600080828481151561299557fe5b0490508091505092915050565b6000806009546402540be400612a9a612a726ec097ce7bc90715b34b9f1000000000876402540be4006002020202670de0b6b3a764000060095460026402540be4000a0202670de0b6b3a7640000600954633b9aca006402540be40060020202020260026009540a60026402540be4000a026e01ed09bead87c0378d8e640000000060026402540be4000a601902026ec097ce7bc90715b34b9f10000000006402540be400633b9aca0002026ec097ce7bc90715b34b9f10000000006002633b9aca000a02010101010101612b6f565b67016345785d8a00006402540be40060050202670de0b6b3a7640000633b9aca00020161236a565b811515612aa357fe5b0403905080915050919050565b600080670de0b6b3a7640000612b296002856402540be40002811515612ad257fe5b0485633b9aca0002670de0b6b3a7640000600954886402540be4000202811515612af857fe5b040101670de0b6b3a7640000600280880a6402540be40002811515612b1957fe5b04811515612b2357fe5b0461236a565b811515612b3257fe5b04905080915050919050565b600080823b905060008111915050919050565b6000808284019050838110151515612b6557fe5b8091505092915050565b600080600260018401811515612b8157fe5b0490508291505b81811015612bb4578091506002818285811515612ba157fe5b0401811515612bac57fe5b049050612b88565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612bfb57805160ff1916838001178555612c29565b82800160010185558215612c29579182015b82811115612c28578251825591602001919060010190612c0d565b5b509050612c369190612c3a565b5090565b612c5c91905b80821115612c58576000816000905550600101612c40565b5090565b905600a165627a7a72305820f811aafd13e93063bf16f05efa1b94a7d0628d2e2f3b158876ad97fb06b3d3c70029

Swarm Source

bzzr://f811aafd13e93063bf16f05efa1b94a7d0628d2e2f3b158876ad97fb06b3d3c7

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.