ETH Price: $3,021.39 (+2.49%)
Gas: 22 Gwei

Contract

0x51c46C33064A9d7171dbDbFc65c3BF2d2eF688A4
 

Overview

ETH Balance

0.024184912545905315 ETH

Eth Value

$73.07 (@ $3,021.39/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Administrato...166645412023-02-19 18:53:47370 days 10 hrs ago1676832827IN
0x51c46C...2eF688A4
0 ETH0.0010985323.46743178
Buy134758932021-10-23 20:11:22854 days 9 hrs ago1635019882IN
0x51c46C...2eF688A4
0.1 ETH0.0017721178.91158008
Buy134758772021-10-23 20:08:46854 days 9 hrs ago1635019726IN
0x51c46C...2eF688A4
0.1 ETH0.0018830983.85318858
Buy134758672021-10-23 20:06:50854 days 9 hrs ago1635019610IN
0x51c46C...2eF688A4
0.1 ETH0.00238084106.01813278
Set Fee Rates134758492021-10-23 20:02:54854 days 9 hrs ago1635019374IN
0x51c46C...2eF688A4
0 ETH0.0036918124.94263461
Exit134749392021-10-23 16:46:11854 days 12 hrs ago1635007571IN
0x51c46C...2eF688A4
0 ETH0.0052856683.06488752
Set Fee Rates134720372021-10-23 5:48:59854 days 23 hrs ago1634968139IN
0x51c46C...2eF688A4
0 ETH0.0012297541.65274249
Buy134720292021-10-23 5:47:17854 days 23 hrs ago1634968037IN
0x51c46C...2eF688A4
2 ETH0.0036019347.82173702
Set Fee Rates134720022021-10-23 5:42:52854 days 23 hrs ago1634967772IN
0x51c46C...2eF688A4
0 ETH0.0014363848.61193542
Set Fee Rates134717562021-10-23 4:40:21855 days 42 mins ago1634964021IN
0x51c46C...2eF688A4
0 ETH0.0018046761.12564011
Buy134717522021-10-23 4:39:10855 days 43 mins ago1634963950IN
0x51c46C...2eF688A4
5 ETH0.0037533949.8325851
Buy134716932021-10-23 4:25:12855 days 57 mins ago1634963112IN
0x51c46C...2eF688A4
5 ETH0.0013902161.9054905
Set Fee Rates134716762021-10-23 4:22:16855 days 1 hr ago1634962936IN
0x51c46C...2eF688A4
0 ETH0.0023595479.85474371
Set Bond Fund Ad...134715102021-10-23 3:41:47855 days 1 hr ago1634960507IN
0x51c46C...2eF688A4
0 ETH0.0018740463.09079641
Set Alt Fund Add...134715072021-10-23 3:41:14855 days 1 hr ago1634960474IN
0x51c46C...2eF688A4
0 ETH0.0018252462.93938247
Set Administrato...134715052021-10-23 3:40:33855 days 1 hr ago1634960433IN
0x51c46C...2eF688A4
0 ETH0.0029930563.93911817
Exit115464542020-12-29 3:20:171153 days 2 hrs ago1609212017IN
0x51c46C...2eF688A4
0 ETH0.0058305785
Withdraw115464402020-12-29 3:17:521153 days 2 hrs ago1609211872IN
0x51c46C...2eF688A4
0 ETH0.0036486781.84
Withdraw100080072020-05-05 19:09:591390 days 10 hrs ago1588705799IN
0x51c46C...2eF688A4
0 ETH0.000356668
Sell100080002020-05-05 19:09:031390 days 10 hrs ago1588705743IN
0x51c46C...2eF688A4
0 ETH0.000391198
Withdraw89723792019-11-21 4:28:341557 days 53 mins ago1574310514IN
0x51c46C...2eF688A4
0 ETH0.000043591
Transfer84846742019-09-04 16:32:551634 days 12 hrs ago1567614775IN
0x51c46C...2eF688A4
0 ETH0.0000633
Withdraw81684622019-07-17 13:10:021683 days 16 hrs ago1563369002IN
0x51c46C...2eF688A4
0 ETH0.0005666813
Pay Fund81684532019-07-17 13:07:121683 days 16 hrs ago1563368832IN
0x51c46C...2eF688A4
0 ETH0.0005144410.4
Set Alt Fund Add...81683182019-07-17 12:34:061683 days 16 hrs ago1563366846IN
0x51c46C...2eF688A4
0 ETH0.000114194
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
246.68080429 ETH
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
384.44685467 ETH
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
210.5 ETH
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
210.5 ETH
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
100 ETH
166645442023-02-19 18:54:23370 days 10 hrs ago1676832863
0x51c46C...2eF688A4
100 ETH
134749392021-10-23 16:46:11854 days 12 hrs ago1635007571
0x51c46C...2eF688A4
1.84252194 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00002334 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00002853 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00004245 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00005188 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00007718 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00009433 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00014033 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00017151 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00025515 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00031185 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00046391 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.000567 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00084348 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00103092 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.0015336 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.0018744 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.00278836 ETH
134720412021-10-23 5:49:39854 days 23 hrs ago1634968179
0x51c46C...2eF688A4
0.003408 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Exchange

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-09-16
*/

pragma solidity ^0.4.21;

/*
* Wall Street Market presents......

 _       __      ____   _____ __                 __     ______          __                         
| |     / /___ _/ / /  / ___// /_________  ___  / /_   / ____/  _______/ /_  ____ _____  ____ ____ 
| | /| / / __ `/ / /   \__ \/ __/ ___/ _ \/ _ \/ __/  / __/ | |/_/ ___/ __ \/ __ `/ __ \/ __ `/ _ \
| |/ |/ / /_/ / / /   ___/ / /_/ /  /  __/  __/ /_   / /____>  </ /__/ / / / /_/ / / / / /_/ /  __/
|__/|__/\__,_/_/_/   /____/\__/_/   \___/\___/\__/  /_____/_/|_|\___/_/ /_/\__,_/_/ /_/\__, /\___/ 
                                                                                      /____/       


website:    https://wallstreetmarket.tk

discord:    https://discord.gg/8AFP9gS

25% Dividends Fees/Payouts

5% of Buy In Fee Goes into the Bond Market Contract for Distribution to Bond holders

Referral Program pays out 33% of Buy-in/Sell Fees to user of masternode link

*/





contract AcceptsExchange {
    Exchange public tokenContract;

    function AcceptsExchange(address _tokenContract) public {
        tokenContract = Exchange(_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 Exchange {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }

    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }

    modifier notContract() {
      require (msg.sender == tx.origin);
      _;
    }

    // administrators can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty (How many tokens it costs to hold a masternode, in case it gets crazy high later)
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        address _customerAddress = msg.sender;
        require(administrators[_customerAddress]);
        _;
    }

 
    /*==============================
    =            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 = "WallStreetExchange";
    string public symbol = "STOCK";
    uint8 constant public decimals = 18;

    uint256 constant internal tokenPriceInitial_ = 0.00000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.000000001 ether;
    uint256 constant internal magnitude = 2**64;

   
    uint256 public totalEthFundRecieved; // total ETH charity recieved from this contract
    uint256 public totalEthFundCollected; // total ETH charity collected in this contract

    // proof of stake (defaults at 25 tokens)
    uint256 public stakingRequirement = 25e18;

    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 2.5 ether;
    uint256 constant internal ambassadorQuota_ = 2.5 ether;



   /*================================
    =            DATASETS            =
    ================================*/
    // amount of shares for each address (scaled number)
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) internal ambassadorAccumulatedQuota_;
    uint256 internal tokenSupply_ = 0;
    uint256 internal profitPerShare_;


    uint8 internal dividendFee_ = 20; // 20% dividend fee on each buy and sell
    uint8 internal fundFee_ = 5; // 5% bond fund fee on each buy and sell
    uint8 internal altFundFee_ = 0; // Fund fee rate on each buy and sell for future game


    // administrator list (see above on what they can do)
    mapping(address => bool) public administrators;

    // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid)
    bool public onlyAmbassadors = true;

    // Special Wall Street Market Platform control from scam game contracts on Wall Street Market platform
    mapping(address => bool) public canAcceptTokens_; // contracts, which can accept Wall Street tokens

    mapping(address => address) public stickyRef;

     address public bondFundAddress = 0x1822435de9b923a7a8c4fbd2f6d0aa8f743d3010;   //Bond Fund
     address public altFundAddress = 0x1822435de9b923a7a8c4fbd2f6d0aa8f743d3010;    //Alternate Fund for Future Game

    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --
    */
    function Exchange()
        public
    {
        // add administrators here
        administrators[msg.sender] = true;
    }
    /**
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
     */
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
        
        require(tx.gasprice <= 0.05 szabo);
        purchaseTokens(msg.value, _referredBy);
    }

    /**
     * Fallback function to handle ethereum that was send straight to the contract
     * Unfortunately we cannot use a referral address this way.
     */
    function()
        payable
        public
    {
        
        require(tx.gasprice <= 0.05 szabo);
        purchaseTokens(msg.value, 0x0);
    }

    /**
     * Sends Bondf Fund ether to the bond contract
     * 
     */
    function payFund() payable public 
    onlyAdministrator()
    {
        

        uint256 _bondEthToPay = 0;

        uint256 ethToPay = SafeMath.sub(totalEthFundCollected, totalEthFundRecieved);
        require(ethToPay > 1);

        uint256 altEthToPay = SafeMath.div(SafeMath.mul(ethToPay,altFundFee_),100);
        if (altFundFee_ > 0){
            _bondEthToPay = SafeMath.sub(ethToPay,altEthToPay);
        } else{
            _bondEthToPay = 0;
        }

        
        totalEthFundRecieved = SafeMath.add(totalEthFundRecieved, ethToPay);
        if(!bondFundAddress.call.value(_bondEthToPay).gas(400000)()) {
            totalEthFundRecieved = SafeMath.sub(totalEthFundRecieved, _bondEthToPay);
        }

        if(altEthToPay > 0){
            if(!altFundAddress.call.value(altEthToPay).gas(400000)()) {
                totalEthFundRecieved = SafeMath.sub(totalEthFundRecieved, altEthToPay);
            }
        }
      
    }

    /**
     * Converts all of caller's dividends to tokens.
     */
    function reinvest()
        onlyStronghands()
        public
    {
        // fetch dividends
        uint256 _dividends = myDividends(false); // retrieve ref. bonus later in the code

        // pay out the dividends virtually
        address _customerAddress = msg.sender;
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // retrieve ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // dispatch a buy order with the virtualized "withdrawn dividends"
        uint256 _tokens = purchaseTokens(_dividends, 0x0);

        // fire event
        onReinvestment(_customerAddress, _dividends, _tokens);
    }

    /**
     * Alias of sell() and withdraw().
     */
    function exit()
        public
    {
        // get token count for caller & sell them all
        address _customerAddress = msg.sender;
        uint256 _tokens = tokenBalanceLedger_[_customerAddress];
        if(_tokens > 0) sell(_tokens);

        // lambo delivery service
        withdraw();
    }

    /**
     * Withdraws all of the callers earnings.
     */
    function withdraw()
        onlyStronghands()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        uint256 _dividends = myDividends(false); // get ref. bonus later in the code

        // update dividend tracker
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // add ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // lambo delivery service
        _customerAddress.transfer(_dividends);

        // fire event
        onWithdraw(_customerAddress, _dividends);
    }

    /**
     * Liquifies tokens to ethereum.
     */
    function sell(uint256 _amountOfTokens)
        onlyBagholders()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        // russian hackers BTFO
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);

        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
        uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);
        
        uint256 _refPayout = _dividends / 3;
        _dividends = SafeMath.sub(_dividends, _refPayout);
        (_dividends,) = handleRef(stickyRef[msg.sender], _refPayout, _dividends, 0);

        // Take out dividends and then _fundPayout
        uint256 _taxedEthereum =  SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _fundPayout);

        // Add ethereum to send to 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
        onTokenSell(_customerAddress, _tokens, _taxedEthereum);
    }


    /**
     * Transfer tokens from the caller to a new holder.
     * REMEMBER THIS IS 0% TRANSFER FEE
     */
    function transfer(address _toAddress, uint256 _amountOfTokens)
        onlyBagholders()
        public
        returns(bool)
    {
        // setup
        address _customerAddress = msg.sender;

        // make sure we have the requested tokens
        // also disables transfers until ambassador phase is over
        // ( we dont want whale premines )
        require(_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
        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 Wall Street Exchange platform
      require(transfer(_to, _value)); // do a normal token transfer to the contract

      if (isContract(_to)) {
        AcceptsExchange receiver = AcceptsExchange(_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;
    //}

    
  
    function setBondFundAddress(address _newBondFundAddress)
        onlyAdministrator()
        public
    {
        bondFundAddress = _newBondFundAddress;
    }

    
    function setAltFundAddress(address _newAltFundAddress)
        onlyAdministrator()
        public
    {
        altFundAddress = _newAltFundAddress;
    }


    /**
     * Set fees/rates
     */
    function setFeeRates(uint8 _newDivRate, uint8 _newFundFee, uint8 _newAltRate)
        onlyAdministrator()
        public
    {
        dividendFee_ = _newDivRate;
        fundFee_ = _newFundFee;
        altFundFee_ = _newAltRate;
    }


    /**
     * In case one of us dies, we need to replace ourselves.
     */
    function setAdministrator(address _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }

    /**
     * Precautionary measures in case we need to adjust the masternode rate.
     */
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }

    /**
     * Add or remove game contract, which can accept Wall Street Market tokens
     */
    function setCanAcceptTokens(address _address, bool _value)
      onlyAdministrator()
      public
    {
      canAcceptTokens_[_address] = _value;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }

    /**
     * If we want to rebrand, we can.
     */
    function setSymbol(string _symbol)
        onlyAdministrator()
        public
    {
        symbol = _symbol;
    }


    /*----------  HELPERS AND CALCULATORS  ----------*/
    /**
     * Method to view the current Ethereum stored in the contract
     * Example: totalEthereumBalance()
     */
    function totalEthereumBalance()
        public
        view
        returns(uint)
    {
        return this.balance;
    }

    /**
     * Retrieve the total token supply.
     */
    function totalSupply()
        public
        view
        returns(uint256)
    {
        return tokenSupply_;
    }

    /**
     * Retrieve the tokens owned by the caller.
     */
    function myTokens()
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return balanceOf(_customerAddress);
    }

    /**
     * Retrieve the dividends owned by the caller.
     * If `_includeReferralBonus` is to to 1/true, the referral bonus will be included in the calculations.
     * The reason for this, is that in the frontend, we will want to get the total divs (global + ref)
     * But in the internal calculations, we want them separate.
     */
    function myDividends(bool _includeReferralBonus)
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
    }

    /**
     * Retrieve the token balance of any single address.
     */
    function balanceOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return tokenBalanceLedger_[_customerAddress];
    }

    /**
     * Retrieve the dividend balance of any single address.
     */
    function dividendsOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return (uint256) ((int256)(profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude;
    }

    /**
     * Return the buy price of 1 individual token.
     */
    function sellPrice()
        public
        view
        returns(uint256)
    {
        // our calculation relies on the token supply, so we need supply. Doh.
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
            uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _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 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
            uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);
            uint256 _taxedEthereum =  SafeMath.add(SafeMath.add(_ethereum, _dividends), _fundPayout);
            return _taxedEthereum;
        }
    }

    /**
     * Function for the frontend to dynamically retrieve the price scaling of buy orders.
     */
    function calculateTokensReceived(uint256 _ethereumToSpend)
        public
        view
        returns(uint256)
    {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereumToSpend, dividendFee_), 100);
        uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereumToSpend, fundFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereumToSpend, _dividends), _fundPayout);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        return _amountOfTokens;
    }

    /**
     * Function for the frontend to dynamically retrieve the price scaling of sell orders.
     */
    function calculateEthereumReceived(uint256 _tokensToSell)
        public
        view
        returns(uint256)
    {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
        uint256 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _fundPayout);
        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, totalEthFundRecieved);
    }


    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/

    // Make sure we will send back excess if user sends more then 5 ether before 10 ETH in contract
    function purchaseInternal(uint256 _incomingEthereum, address _referredBy)
      notContract()// no contracts allowed
      internal
      returns(uint256) {

      uint256 purchaseEthereum = _incomingEthereum;
      uint256 excess;
      if(purchaseEthereum > 2.5 ether) { // check if the transaction is over 2.5 ether
          if (SafeMath.sub(address(this).balance, purchaseEthereum) <= 10 ether) { // if so check the contract is less then 100 ether
              purchaseEthereum = 2.5 ether;
              excess = SafeMath.sub(_incomingEthereum, purchaseEthereum);
          }
      }

      purchaseTokens(purchaseEthereum, _referredBy);

      if (excess > 0) {
        msg.sender.transfer(excess);
      }
    }

    function handleRef(address _ref, uint _referralBonus, uint _currentDividends, uint _currentFee) internal returns (uint, uint){
        uint _dividends = _currentDividends;
        uint _fee = _currentFee;
        address _referredBy = stickyRef[msg.sender];
        if (_referredBy == address(0x0)){
            _referredBy = _ref;
        }
        // is the user referred by a masternode?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != msg.sender &&

            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ){
            // wealth redistribution
            if (stickyRef[msg.sender] == address(0x0)){
                stickyRef[msg.sender] = _referredBy;
            }
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus/2);
            address currentRef = stickyRef[_referredBy];
            if (currentRef != address(0x0) && tokenBalanceLedger_[currentRef] >= stakingRequirement){
                referralBalance_[currentRef] = SafeMath.add(referralBalance_[currentRef], (_referralBonus/10)*3);
                currentRef = stickyRef[currentRef];
                if (currentRef != address(0x0) && tokenBalanceLedger_[currentRef] >= stakingRequirement){
                    referralBalance_[currentRef] = SafeMath.add(referralBalance_[currentRef], (_referralBonus/10)*2);
                }
                else{
                    _dividends = SafeMath.add(_dividends, _referralBonus - _referralBonus/2 - (_referralBonus/10)*3);
                    _fee = _dividends * magnitude;
                }
            }
            else{
                _dividends = SafeMath.add(_dividends, _referralBonus - _referralBonus/2);
                _fee = _dividends * magnitude;
            }
            
            
        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }
        return (_dividends, _fee);
    }


    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
       
        internal
        returns(uint256)
    {
        // data setup
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, dividendFee_), 100);
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _fundPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, fundFee_), 100);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _fee;
        (_dividends, _fee) = handleRef(_referredBy, _referralBonus, _dividends, _fee);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_incomingEthereum, _dividends), _fundPayout);
        totalEthFundCollected = SafeMath.add(totalEthFundCollected, _fundPayout);

        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);


        // 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_));



        // 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_[msg.sender] = SafeMath.add(tokenBalanceLedger_[msg.sender], _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_[msg.sender] += _updatedPayouts;

        // fire event
        onTokenPurchase(msg.sender, _incomingEthereum, _amountOfTokens, _referredBy);

        return _amountOfTokens;
    }

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

        return _tokensReceived;
    }

    /**
     * Calculate token sell value.
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
     function tokensToEthereum_(uint256 _tokens)
        internal
        view
        returns(uint256)
    {

        uint256 tokens_ = (_tokens + 1e18);
        uint256 _tokenSupply = (tokenSupply_ + 1e18);
        uint256 _etherReceived =
        (
            // underflow attempts BTFO
            SafeMath.sub(
                (
                    (
                        (
                            tokenPriceInitial_ +(tokenPriceIncremental_ * (_tokenSupply/1e18))
                        )-tokenPriceIncremental_
                    )*(tokens_ - 1e18)
                ),(tokenPriceIncremental_*((tokens_**2-tokens_)/1e18))/2
            )
        /1e18);
        return _etherReceived;
    }


    //This is where all your gas goes, sorry
    //Not sorry, you probably only paid 1 gwei
    function sqrt(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newAltFundAddress","type":"address"}],"name":"setAltFundAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"canAcceptTokens_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"altFundAddress","outputs":[{"name":"","type":"address"}],"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":false,"inputs":[{"name":"_address","type":"address"},{"name":"_value","type":"bool"}],"name":"setCanAcceptTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"","type":"address"}],"name":"stickyRef","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":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthFundCollected","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"payFund","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_newDivRate","type":"uint8"},{"name":"_newFundFee","type":"uint8"},{"name":"_newAltRate","type":"uint8"}],"name":"setFeeRates","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthFundRecieved","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bondFundAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newBondFundAddress","type":"address"}],"name":"setBondFundAddress","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"}]

60c0604052601260808190527f57616c6c53747265657445786368616e6765000000000000000000000000000060a090815262000040916000919062000129565b506040805180820190915260058082527f53544f434b0000000000000000000000000000000000000000000000000000006020909201918252620000879160019162000129565b5068015af1d78b58c400006004556000600a55600c8054601460ff199182161761ff0019166105001762ff00001916909155600e8054909116600117905560118054731822435de9b923a7a8c4fbd2f6d0aa8f743d3010600160a060020a031991821681179092556012805490911690911790553480156200010857600080fd5b50336000908152600d60205260409020805460ff19166001179055620001ce565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016c57805160ff19168380011785556200019c565b828001600101855582156200019c579182015b828111156200019c5782518255916020019190600101906200017f565b50620001aa929150620001ae565b5090565b620001cb91905b80821115620001aa5760008155600101620001b5565b90565b611b5180620001de6000396000f3006080604052600436106101e15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461020157806306fdde03146102345780630c9c1c58146102be5780630f34dc16146102e157806310d0ffdd14610316578063119f1bd51461032e57806318160ddd1461035f578063226093731461037457806327defa1f1461038c578063294205b4146103a1578063313ce567146103c75780633ccfd60b146103f25780634000aea0146104075780634b750334146104385780634d6352e51461044d57806356d399e81461046e57806366042e7a14610483578063688abbf7146104985780636b2f4632146104b257806370a08231146104c757806376be1585146104e85780637ff276bd146105095780638328b6101461051e5780638620410b1461053657806387c950581461054b5780638974372d146105715780638d664d6a14610579578063949e8acd146105a057806395d89b41146105b5578063a4d55686146105ca578063a9059cbb146105df578063b84c824614610603578063c47f00271461065c578063c9adc9d3146106b5578063ddbe92d3146106ca578063e4849b32146106eb578063e9fad8ee14610703578063f088d54714610718578063fdb5a03e1461072c575b640ba43b74003a11156101f357600080fd5b6101fe346000610741565b50005b34801561020d57600080fd5b50610222600160a060020a0360043516610916565b60408051918252519081900360200190f35b34801561024057600080fd5b50610249610951565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ca57600080fd5b506102df600160a060020a03600435166109df565b005b3480156102ed57600080fd5b50610302600160a060020a0360043516610a2d565b604080519115158252519081900360200190f35b34801561032257600080fd5b50610222600435610a42565b34801561033a57600080fd5b50610343610aa9565b60408051600160a060020a039092168252519081900360200190f35b34801561036b57600080fd5b50610222610ab8565b34801561038057600080fd5b50610222600435610abf565b34801561039857600080fd5b50610302610b2b565b3480156103ad57600080fd5b506102df600160a060020a03600435166024351515610b34565b3480156103d357600080fd5b506103dc610b7e565b6040805160ff9092168252519081900360200190f35b3480156103fe57600080fd5b506102df610b83565b34801561041357600080fd5b5061030260048035600160a060020a0316906024803591604435918201910135610c56565b34801561044457600080fd5b50610222610d90565b34801561045957600080fd5b50610343600160a060020a0360043516610e12565b34801561047a57600080fd5b50610222610e2d565b34801561048f57600080fd5b50610222610e33565b3480156104a457600080fd5b506102226004351515610e48565b3480156104be57600080fd5b50610222610e8b565b3480156104d357600080fd5b50610222600160a060020a0360043516610e90565b3480156104f457600080fd5b50610302600160a060020a0360043516610eab565b34801561051557600080fd5b50610222610ec0565b34801561052a57600080fd5b506102df600435610ec6565b34801561054257600080fd5b50610222610eea565b34801561055757600080fd5b506102df600160a060020a03600435166024351515610f65565b6102df610faf565b34801561058557600080fd5b506102df60ff600435811690602435811690604435166110d6565b3480156105ac57600080fd5b5061022261112d565b3480156105c157600080fd5b50610249611140565b3480156105d657600080fd5b5061022261119a565b3480156105eb57600080fd5b50610302600160a060020a03600435166024356111a0565b34801561060f57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102df9436949293602493928401919081908401838280828437509497506112cf9650505050505050565b34801561066857600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102df9436949293602493928401919081908401838280828437509497506113059650505050505050565b3480156106c157600080fd5b50610343611336565b3480156106d657600080fd5b506102df600160a060020a0360043516611345565b3480156106f757600080fd5b506102df600435611393565b34801561070f57600080fd5b506102df61156d565b610222600160a060020a036004351661159a565b34801561073857600080fd5b506102df6115b8565b600080600080600080600080600061077561076e8c600c60009054906101000a900460ff1660ff1661166e565b60646116a0565b97506107828860036116a0565b600c5490975061079f9061076e908d90610100900460ff1661166e565b95506107ab88886116b7565b94506107b98a8887876116c9565b90955093506107d16107cb8c876116b7565b876116b7565b92506107df60035487611955565b6003556107eb83611964565b91506000821180156108075750600a546108058382611955565b115b151561081257600080fd5b6000600a54111561087657610829600a5483611955565b600a81905568010000000000000000860281151561084357fe5b600b8054929091049091019055600a5468010000000000000000860281151561086857fe5b04820284038403935061087c565b600a8290555b336000908152600660205260409020546108969083611955565b33600081815260066020908152604080832094909455600b5460088252918490208054928702899003928301905583518f81529081018690528351919450600160a060020a038e16937f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d592918290030190a3509998505050505050505050565b600160a060020a0316600090815260086020908152604080832054600690925290912054600b54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b505050505081565b336000818152600d602052604090205460ff1615156109fd57600080fd5b506012805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600f6020526000908152604090205460ff1681565b600c546000908190819081908190610a629061076e90889060ff1661166e565b600c54909450610a7f9061076e908890610100900460ff1661166e565b9250610a94610a8e87866116b7565b846116b7565b9150610a9f82611964565b9695505050505050565b601254600160a060020a031681565b600a545b90565b6000806000806000600a548611151515610ad857600080fd5b610ae1866119f0565b600c54909450610af99061076e90869060ff1661166e565b600c54909350610b169061076e908690610100900460ff1661166e565b9150610a9f610b2585856116b7565b836116b7565b600e5460ff1681565b336000818152600d602052604090205460ff161515610b5257600080fd5b50600160a060020a03919091166000908152600f60205260409020805460ff1916911515919091179055565b601281565b6000806000610b926001610e48565b11610b9c57600080fd5b339150610ba96000610e48565b600160a060020a038316600081815260086020908152604080832080546801000000000000000087020190556007909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610c12573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600080600160a060020a0386161515610c6e57600080fd5b600160a060020a0386166000908152600f602052604090205460ff161515600114610c9857600080fd5b610ca286866111a0565b1515610cad57600080fd5b610cb686611a5a565b15610d8457506040517fc0ee0b8a000000000000000000000000000000000000000000000000000000008152336004820181815260248301879052606060448401908152606484018690528893600160a060020a0385169363c0ee0b8a9390928a928a928a929091608401848480828437820191505095505050505050602060405180830381600087803b158015610d4d57600080fd5b505af1158015610d61573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b50511515610d8457600080fd5b50600195945050505050565b6000806000806000600a5460001415610db057640218711a009450610e0b565b610dc1670de0b6b3a76400006119f0565b600c54909450610dd99061076e90869060ff1661166e565b600c54909350610df69061076e908690610100900460ff1661166e565b9150610e05610b2585856116b7565b90508094505b5050505090565b601060205260009081526040902054600160a060020a031681565b60045481565b6000610e436003546002546116b7565b905090565b60003382610e5e57610e5981610916565b610e82565b600160a060020a038116600090815260076020526040902054610e8082610916565b015b91505b50919050565b303190565b600160a060020a031660009081526006602052604090205490565b600d6020526000908152604090205460ff1681565b60035481565b336000818152600d602052604090205460ff161515610ee457600080fd5b50600455565b6000806000806000600a5460001415610f0a5764028fa6ae009450610e0b565b610f1b670de0b6b3a76400006119f0565b600c54909450610f339061076e90869060ff1661166e565b600c54909350610f509061076e908690610100900460ff1661166e565b9150610e05610f5f8585611955565b83611955565b336000818152600d602052604090205460ff161515610f8357600080fd5b50600160a060020a03919091166000908152600d60205260409020805460ff1916911515919091179055565b336000818152600d60205260408120549091829182919060ff161515610fd457600080fd5b60009350610fe66003546002546116b7565b925060018311610ff557600080fd5b600c546110109061076e90859062010000900460ff1661166e565b600c5490925060006201000090910460ff1611156110395761103283836116b7565b935061103e565b600093505b61104a60025484611955565b600255601154604051600160a060020a039091169062061a809086906000818181858888f19350505050151561108a57611086600254856116b7565b6002555b60008211156110d057601254604051600160a060020a039091169062061a809084906000818181858888f1935050505015156110d0576110cc600254836116b7565b6002555b50505050565b336000818152600d602052604090205460ff1615156110f457600080fd5b50600c805460ff191660ff9485161761ff001916610100938516939093029290921762ff00001916620100009190931602919091179055565b60003361113981610e90565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109d75780601f106109ac576101008083540402835291602001916109d7565b60025481565b60008060006111ad61112d565b116111b757600080fd5b50336000818152600660205260409020548311156111d457600080fd5b60006111e06001610e48565b11156111ee576111ee610b83565b600160a060020a03811660009081526006602052604090205461121190846116b7565b600160a060020a0380831660009081526006602052604080822093909355908616815220546112409084611955565b600160a060020a03858116600081815260066020908152604080832095909555600b8054948716808452600883528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b336000818152600d602052604090205460ff1615156112ed57600080fd5b8151611300906001906020850190611a97565b505050565b336000818152600d602052604090205460ff16151561132357600080fd5b8151611300906000906020850190611a97565b601154600160a060020a031681565b336000818152600d602052604090205460ff16151561136357600080fd5b506011805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008060008060008060008060006113a961112d565b116113b357600080fd5b336000818152600660205260409020549098508911156113d257600080fd5b8896506113de876119f0565b600c549096506113f69061076e90889060ff1661166e565b600c549095506114139061076e908890610100900460ff1661166e565b935060038504925061142585846116b7565b3360009081526010602052604081205491965061144f91600160a060020a031690859088906116c9565b50945061146561145f87876116b7565b856116b7565b915061147360035485611955565b600355600a5461148390886116b7565b600a55600160a060020a0388166000908152600660205260409020546114a990886116b7565b600160a060020a038916600090815260066020908152604080832093909355600b5460089091529181208054928a0268010000000000000000860201928390039055600a54919250101561151f5761151b600b54600a5468010000000000000000880281151561151557fe5b04611955565b600b555b60408051888152602081018490528151600160a060020a038b16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a2505050505050505050565b336000818152600660205260408120549081111561158e5761158e81611393565b611596610b83565b5050565b6000640ba43b74003a11156115ae57600080fd5b610e853483610741565b6000806000806115c86001610e48565b116115d257600080fd5b6115dc6000610e48565b3360008181526008602090815260408083208054680100000000000000008702019055600790915281208054908290559092019450925061161e908490610741565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008083151561168157600091506112c8565b5082820282848281151561169157fe5b041461169957fe5b9392505050565b60008082848115156116ae57fe5b04949350505050565b6000828211156116c357fe5b50900390565b33600090815260106020526040812054819084908490600160a060020a0316838115156116f4578991505b600160a060020a038216158015906117155750600160a060020a0382163314155b801561173b5750600454600160a060020a03831660009081526006602052604090205410155b1561192b5733600090815260106020526040902054600160a060020a0316151561179557336000908152601060205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b600160a060020a0382166000908152600760205260409020546117ba9060028b611515565b600160a060020a03808416600090815260076020908152604080832094909455601090529190912054169050801580159061180f5750600454600160a060020a03821660009081526006602052604090205410155b1561190657600160a060020a03811660009081526007602052604090205461183d90600a8b04600302611955565b600160a060020a0391821660009081526007602090815260408083209390935560109052205416801580159061188d5750600454600160a060020a03821660009081526006602052604090205410155b156118d957600160a060020a0381166000908152600760205260409020546118bb90600a8b04600202611955565b600160a060020a038216600090815260076020526040902055611901565b6118f084600a8b0460030260028c048c0303611955565b935068010000000000000000840292505b611926565b6119158460028b048b03611955565b935068010000000000000000840292505b611946565b611935848a611955565b935068010000000000000000840292505b50919890975095505050505050565b60008282018381101561169957fe5b600a546000906b204fce5e3e25026110000000908290633b9aca006119dd61145f7259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d210000000000000001611a62565b8115156119e657fe5b0403949350505050565b600a54600090670de0b6b3a7640000838101918101908390611a47640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca0002811515611a4157fe5b046116b7565b811515611a5057fe5b0495945050505050565b6000903b1190565b80600260018201045b81811015610e85578091506002818285811515611a8457fe5b0401811515611a8f57fe5b049050611a6b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611ad857805160ff1916838001178555611b05565b82800160010185558215611b05579182015b82811115611b05578251825591602001919060010190611aea565b5061113c92610abc9250905b8082111561113c5760008155600101611b115600a165627a7a72305820de5c6c8d089c4d422dbd4b7acfa2ad9e99c79cab4c3fc7ebde61dcdc0ec0c4920029

Deployed Bytecode

0x6080604052600436106101e15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461020157806306fdde03146102345780630c9c1c58146102be5780630f34dc16146102e157806310d0ffdd14610316578063119f1bd51461032e57806318160ddd1461035f578063226093731461037457806327defa1f1461038c578063294205b4146103a1578063313ce567146103c75780633ccfd60b146103f25780634000aea0146104075780634b750334146104385780634d6352e51461044d57806356d399e81461046e57806366042e7a14610483578063688abbf7146104985780636b2f4632146104b257806370a08231146104c757806376be1585146104e85780637ff276bd146105095780638328b6101461051e5780638620410b1461053657806387c950581461054b5780638974372d146105715780638d664d6a14610579578063949e8acd146105a057806395d89b41146105b5578063a4d55686146105ca578063a9059cbb146105df578063b84c824614610603578063c47f00271461065c578063c9adc9d3146106b5578063ddbe92d3146106ca578063e4849b32146106eb578063e9fad8ee14610703578063f088d54714610718578063fdb5a03e1461072c575b640ba43b74003a11156101f357600080fd5b6101fe346000610741565b50005b34801561020d57600080fd5b50610222600160a060020a0360043516610916565b60408051918252519081900360200190f35b34801561024057600080fd5b50610249610951565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ca57600080fd5b506102df600160a060020a03600435166109df565b005b3480156102ed57600080fd5b50610302600160a060020a0360043516610a2d565b604080519115158252519081900360200190f35b34801561032257600080fd5b50610222600435610a42565b34801561033a57600080fd5b50610343610aa9565b60408051600160a060020a039092168252519081900360200190f35b34801561036b57600080fd5b50610222610ab8565b34801561038057600080fd5b50610222600435610abf565b34801561039857600080fd5b50610302610b2b565b3480156103ad57600080fd5b506102df600160a060020a03600435166024351515610b34565b3480156103d357600080fd5b506103dc610b7e565b6040805160ff9092168252519081900360200190f35b3480156103fe57600080fd5b506102df610b83565b34801561041357600080fd5b5061030260048035600160a060020a0316906024803591604435918201910135610c56565b34801561044457600080fd5b50610222610d90565b34801561045957600080fd5b50610343600160a060020a0360043516610e12565b34801561047a57600080fd5b50610222610e2d565b34801561048f57600080fd5b50610222610e33565b3480156104a457600080fd5b506102226004351515610e48565b3480156104be57600080fd5b50610222610e8b565b3480156104d357600080fd5b50610222600160a060020a0360043516610e90565b3480156104f457600080fd5b50610302600160a060020a0360043516610eab565b34801561051557600080fd5b50610222610ec0565b34801561052a57600080fd5b506102df600435610ec6565b34801561054257600080fd5b50610222610eea565b34801561055757600080fd5b506102df600160a060020a03600435166024351515610f65565b6102df610faf565b34801561058557600080fd5b506102df60ff600435811690602435811690604435166110d6565b3480156105ac57600080fd5b5061022261112d565b3480156105c157600080fd5b50610249611140565b3480156105d657600080fd5b5061022261119a565b3480156105eb57600080fd5b50610302600160a060020a03600435166024356111a0565b34801561060f57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102df9436949293602493928401919081908401838280828437509497506112cf9650505050505050565b34801561066857600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102df9436949293602493928401919081908401838280828437509497506113059650505050505050565b3480156106c157600080fd5b50610343611336565b3480156106d657600080fd5b506102df600160a060020a0360043516611345565b3480156106f757600080fd5b506102df600435611393565b34801561070f57600080fd5b506102df61156d565b610222600160a060020a036004351661159a565b34801561073857600080fd5b506102df6115b8565b600080600080600080600080600061077561076e8c600c60009054906101000a900460ff1660ff1661166e565b60646116a0565b97506107828860036116a0565b600c5490975061079f9061076e908d90610100900460ff1661166e565b95506107ab88886116b7565b94506107b98a8887876116c9565b90955093506107d16107cb8c876116b7565b876116b7565b92506107df60035487611955565b6003556107eb83611964565b91506000821180156108075750600a546108058382611955565b115b151561081257600080fd5b6000600a54111561087657610829600a5483611955565b600a81905568010000000000000000860281151561084357fe5b600b8054929091049091019055600a5468010000000000000000860281151561086857fe5b04820284038403935061087c565b600a8290555b336000908152600660205260409020546108969083611955565b33600081815260066020908152604080832094909455600b5460088252918490208054928702899003928301905583518f81529081018690528351919450600160a060020a038e16937f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d592918290030190a3509998505050505050505050565b600160a060020a0316600090815260086020908152604080832054600690925290912054600b54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b505050505081565b336000818152600d602052604090205460ff1615156109fd57600080fd5b506012805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600f6020526000908152604090205460ff1681565b600c546000908190819081908190610a629061076e90889060ff1661166e565b600c54909450610a7f9061076e908890610100900460ff1661166e565b9250610a94610a8e87866116b7565b846116b7565b9150610a9f82611964565b9695505050505050565b601254600160a060020a031681565b600a545b90565b6000806000806000600a548611151515610ad857600080fd5b610ae1866119f0565b600c54909450610af99061076e90869060ff1661166e565b600c54909350610b169061076e908690610100900460ff1661166e565b9150610a9f610b2585856116b7565b836116b7565b600e5460ff1681565b336000818152600d602052604090205460ff161515610b5257600080fd5b50600160a060020a03919091166000908152600f60205260409020805460ff1916911515919091179055565b601281565b6000806000610b926001610e48565b11610b9c57600080fd5b339150610ba96000610e48565b600160a060020a038316600081815260086020908152604080832080546801000000000000000087020190556007909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610c12573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600080600160a060020a0386161515610c6e57600080fd5b600160a060020a0386166000908152600f602052604090205460ff161515600114610c9857600080fd5b610ca286866111a0565b1515610cad57600080fd5b610cb686611a5a565b15610d8457506040517fc0ee0b8a000000000000000000000000000000000000000000000000000000008152336004820181815260248301879052606060448401908152606484018690528893600160a060020a0385169363c0ee0b8a9390928a928a928a929091608401848480828437820191505095505050505050602060405180830381600087803b158015610d4d57600080fd5b505af1158015610d61573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b50511515610d8457600080fd5b50600195945050505050565b6000806000806000600a5460001415610db057640218711a009450610e0b565b610dc1670de0b6b3a76400006119f0565b600c54909450610dd99061076e90869060ff1661166e565b600c54909350610df69061076e908690610100900460ff1661166e565b9150610e05610b2585856116b7565b90508094505b5050505090565b601060205260009081526040902054600160a060020a031681565b60045481565b6000610e436003546002546116b7565b905090565b60003382610e5e57610e5981610916565b610e82565b600160a060020a038116600090815260076020526040902054610e8082610916565b015b91505b50919050565b303190565b600160a060020a031660009081526006602052604090205490565b600d6020526000908152604090205460ff1681565b60035481565b336000818152600d602052604090205460ff161515610ee457600080fd5b50600455565b6000806000806000600a5460001415610f0a5764028fa6ae009450610e0b565b610f1b670de0b6b3a76400006119f0565b600c54909450610f339061076e90869060ff1661166e565b600c54909350610f509061076e908690610100900460ff1661166e565b9150610e05610f5f8585611955565b83611955565b336000818152600d602052604090205460ff161515610f8357600080fd5b50600160a060020a03919091166000908152600d60205260409020805460ff1916911515919091179055565b336000818152600d60205260408120549091829182919060ff161515610fd457600080fd5b60009350610fe66003546002546116b7565b925060018311610ff557600080fd5b600c546110109061076e90859062010000900460ff1661166e565b600c5490925060006201000090910460ff1611156110395761103283836116b7565b935061103e565b600093505b61104a60025484611955565b600255601154604051600160a060020a039091169062061a809086906000818181858888f19350505050151561108a57611086600254856116b7565b6002555b60008211156110d057601254604051600160a060020a039091169062061a809084906000818181858888f1935050505015156110d0576110cc600254836116b7565b6002555b50505050565b336000818152600d602052604090205460ff1615156110f457600080fd5b50600c805460ff191660ff9485161761ff001916610100938516939093029290921762ff00001916620100009190931602919091179055565b60003361113981610e90565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109d75780601f106109ac576101008083540402835291602001916109d7565b60025481565b60008060006111ad61112d565b116111b757600080fd5b50336000818152600660205260409020548311156111d457600080fd5b60006111e06001610e48565b11156111ee576111ee610b83565b600160a060020a03811660009081526006602052604090205461121190846116b7565b600160a060020a0380831660009081526006602052604080822093909355908616815220546112409084611955565b600160a060020a03858116600081815260066020908152604080832095909555600b8054948716808452600883528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b336000818152600d602052604090205460ff1615156112ed57600080fd5b8151611300906001906020850190611a97565b505050565b336000818152600d602052604090205460ff16151561132357600080fd5b8151611300906000906020850190611a97565b601154600160a060020a031681565b336000818152600d602052604090205460ff16151561136357600080fd5b506011805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008060008060008060008060006113a961112d565b116113b357600080fd5b336000818152600660205260409020549098508911156113d257600080fd5b8896506113de876119f0565b600c549096506113f69061076e90889060ff1661166e565b600c549095506114139061076e908890610100900460ff1661166e565b935060038504925061142585846116b7565b3360009081526010602052604081205491965061144f91600160a060020a031690859088906116c9565b50945061146561145f87876116b7565b856116b7565b915061147360035485611955565b600355600a5461148390886116b7565b600a55600160a060020a0388166000908152600660205260409020546114a990886116b7565b600160a060020a038916600090815260066020908152604080832093909355600b5460089091529181208054928a0268010000000000000000860201928390039055600a54919250101561151f5761151b600b54600a5468010000000000000000880281151561151557fe5b04611955565b600b555b60408051888152602081018490528151600160a060020a038b16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a2505050505050505050565b336000818152600660205260408120549081111561158e5761158e81611393565b611596610b83565b5050565b6000640ba43b74003a11156115ae57600080fd5b610e853483610741565b6000806000806115c86001610e48565b116115d257600080fd5b6115dc6000610e48565b3360008181526008602090815260408083208054680100000000000000008702019055600790915281208054908290559092019450925061161e908490610741565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008083151561168157600091506112c8565b5082820282848281151561169157fe5b041461169957fe5b9392505050565b60008082848115156116ae57fe5b04949350505050565b6000828211156116c357fe5b50900390565b33600090815260106020526040812054819084908490600160a060020a0316838115156116f4578991505b600160a060020a038216158015906117155750600160a060020a0382163314155b801561173b5750600454600160a060020a03831660009081526006602052604090205410155b1561192b5733600090815260106020526040902054600160a060020a0316151561179557336000908152601060205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790555b600160a060020a0382166000908152600760205260409020546117ba9060028b611515565b600160a060020a03808416600090815260076020908152604080832094909455601090529190912054169050801580159061180f5750600454600160a060020a03821660009081526006602052604090205410155b1561190657600160a060020a03811660009081526007602052604090205461183d90600a8b04600302611955565b600160a060020a0391821660009081526007602090815260408083209390935560109052205416801580159061188d5750600454600160a060020a03821660009081526006602052604090205410155b156118d957600160a060020a0381166000908152600760205260409020546118bb90600a8b04600202611955565b600160a060020a038216600090815260076020526040902055611901565b6118f084600a8b0460030260028c048c0303611955565b935068010000000000000000840292505b611926565b6119158460028b048b03611955565b935068010000000000000000840292505b611946565b611935848a611955565b935068010000000000000000840292505b50919890975095505050505050565b60008282018381101561169957fe5b600a546000906b204fce5e3e25026110000000908290633b9aca006119dd61145f7259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d210000000000000001611a62565b8115156119e657fe5b0403949350505050565b600a54600090670de0b6b3a7640000838101918101908390611a47640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca0002811515611a4157fe5b046116b7565b811515611a5057fe5b0495945050505050565b6000903b1190565b80600260018201045b81811015610e85578091506002818285811515611a8457fe5b0401811515611a8f57fe5b049050611a6b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611ad857805160ff1916838001178555611b05565b82800160010185558215611b05579182015b82811115611b05578251825591602001919060010190611aea565b5061113c92610abc9250905b8082111561113c5760008155600101611b115600a165627a7a72305820de5c6c8d089c4d422dbd4b7acfa2ad9e99c79cab4c3fc7ebde61dcdc0ec0c4920029

Swarm Source

bzzr://de5c6c8d089c4d422dbd4b7acfa2ad9e99c79cab4c3fc7ebde61dcdc0ec0c492

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.