ETH Price: $3,501.16 (+0.59%)
Gas: 6 Gwei

Token

Halo3D (H3D)
 

Overview

Max Total Supply

4,969.61064883261731392 H3D

Holders

107

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
14.632539028585609793 H3D

Value
$0.00
0xf50b48d0c31228ca87cffe0ed564a5a1ad18efe5
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Halo3D

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-05-17
*/

pragma solidity ^0.4.21;

/*
******************** HALO 3D *********************
* ===============================================*
MMMMMMMMMMMMMMMMMMMMMWWXKKXNWMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMWWXko;'',lkKNWWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMNOc'.       .:d0XWWMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMNOc'.          .,lkKNWWMMMMMMMMMM
MMMMMMMWWNKKXWWMMMWNKkl'            .:d0XWWMMMMMMM
MMMMWWXOo;..'cx0NNWX0d:.               .,lkKWWMMMM
MMWWKo,.       .;lc,.           .          'l0NWMM
MMWOc;,'.                   .,lkOdc'.    ..,,:xNWM
MWNd. .';;,.              .lOXNWWWNXOo;,,,'.  :XWM
MWNo.    .ckxl,.          .'cxKNWMMMWWXd.     :KWM
MWNo.     :KNNXOo;.           'oKNWMMWNo.     :KWM
MWNd.     :KWWWW0l;;;'.    ..,,,:kWMMWNo.     :KWM
MWNo.     ;0WWWWO'  .,;;;;;;'.  .dNWMWXo.     :KWM
MWNo.     .lkXNNO'     'dx;     .dXNX0d,      :KWM
MWNo.       .':dd.     .ox;     .lxl;.        :KWM
MWNo.           .      .ox;      ..           :KWM
MWNd.                  .ox;                   :KWM
MWNd.     ,dl;.        .ox;        .'cdc.     :KWM
MMNx.     ;0NN0d;.     .ox;      'oOXNXo.    .oXWM
MMWNOo;.  :KWMWNO'     .ox;     .oXWMWNo. .,lkXWMM
MMMMWWN0xlxNWMMWO'     .ox;     .dNWMMWOox0NWWMMMM
MMMMMMMMWWWMMMMWO'     .ox;     .dNWMMMWWWMMMMMMMM
MMMMMMMMMMMMMMMWKc.    .ox,     ,OWMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMWXOo;. .ox; .,lkXWWMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMWWN0xx0Kkx0NWWMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMWWWWWMMMMMMMMMMMMMMMMMMMMMM
* ===============================================*
******************** HALO 3D *********************
*
* The World's FIRST Charity/Gaming Pyramid! All the features of a classic pyramid plus more.
* Brought to you by a collaboration of crypto gaming experts and YouTubers.
*
* What is new?
* [x] REVOLUTIONARY 0% TRANSFER FEES, Now you can send Halo3D tokens to all your family, no charge
* [X] 20% DIVIDENDS AND MASTERNODES! We know you all love your divies :D
* [x] GENEROUS 2% FEE ON EACH BUY AND SELL GO TO CHARITY https://giveth.io/
*     https://etherscan.io/address/0x5ADF43DD006c6C36506e2b2DFA352E60002d22Dc
* [x] DAPP INTEROPERABILITY, games and other dAPPs can incorporate Halo3D tokens!
*
* Official website is https://h3d.pw/  :)
* Official discord is https://discord.gg/w6HamAS 0_0
*/


/**
 * Definition of contract accepting Halo3D tokens
 * Games, casinos, anything can reuse this contract to support Halo3D tokens
 */
contract AcceptsHalo3D {
    Halo3D public tokenContract;

    function AcceptsHalo3D(address _tokenContract) public {
        tokenContract = Halo3D(_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 Halo3D {
    /*=================================
    =            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]);
        _;
    }


    // ensures that the first tokens in the contract will be equally distributed
    // meaning, no divine dump will be ever possible
    // result: healthy longevity.
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        address _customerAddress = msg.sender;

        // are we still in the vulnerable phase?
        // if so, enact anti early whale protocol
        if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){
            require(
                // is the customer in the ambassador list?
                ambassadors_[_customerAddress] == true &&

                // does the customer purchase exceed the max ambassador quota?
                (ambassadorAccumulatedQuota_[_customerAddress] + _amountOfEthereum) <= ambassadorMaxPurchase_

            );

            // updated the accumulated quota
            ambassadorAccumulatedQuota_[_customerAddress] = SafeMath.add(ambassadorAccumulatedQuota_[_customerAddress], _amountOfEthereum);

            // execute
            _;
        } else {
            // in case the ether count drops low, the ambassador phase won't reinitiate
            onlyAmbassadors = false;
            _;
        }

    }

    /*==============================
    =            EVENTS            =
    ==============================*/
    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy
    );

    event onTokenSell(
        address indexed customerAddress,
        uint256 tokensBurned,
        uint256 ethereumEarned
    );

    event onReinvestment(
        address indexed customerAddress,
        uint256 ethereumReinvested,
        uint256 tokensMinted
    );

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

    // ERC20
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 tokens
    );


    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "Halo3D";
    string public symbol = "H3D";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 20; // 20% dividend fee on each buy and sell
    uint8 constant internal charityFee_ = 2; // 2% charity fee on each buy and sell
    uint256 constant internal tokenPriceInitial_ = 0.0000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether;
    uint256 constant internal magnitude = 2**64;

    // Address to send the charity  ! :)
    //  https://giveth.io/
    // https://etherscan.io/address/0x5ADF43DD006c6C36506e2b2DFA352E60002d22Dc
    address constant public giveEthCharityAddress = 0x5ADF43DD006c6C36506e2b2DFA352E60002d22Dc;
    uint256 public totalEthCharityRecieved; // total ETH charity recieved from this contract
    uint256 public totalEthCharityCollected; // total ETH charity collected in this contract

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

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



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

    // 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 Halo3D Platform control from scam game contracts on Halo3D platform
    mapping(address => bool) public canAcceptTokens_; // contracts, which can accept Halo3D tokens



    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --
    */
    function Halo3D()
        public
    {
        // add administrators here
        administrators[0xf4cFeD6A0f869548F73f05a364B329b86B6Bb157] = true;

        // add the ambassadors here.
        ambassadors_[0xf4cFeD6A0f869548F73f05a364B329b86B6Bb157] = true;
        //ambassador B
        ambassadors_[0xe436cbd3892c6dc3d6c8a3580153e6e0fa613cfc] = true;
        //ambassador W
        ambassadors_[0x922cFfa33A078B4Cc6077923e43447d8467F8B55] = true;
        //ambassador B1
        ambassadors_[0x8Dd512843c24c382210a9CcC9C98B8b5eEED97e8] = true;
        //ambassador J
        ambassadors_[0x4ffe17a2a72bc7422cb176bc71c04ee6d87ce329] = true;
        //ambassador CG
        ambassadors_[0x3747EaFE2Bc9cB5221879758ca24a0d15B47A9B6] = true;
        //ambassador BL
        ambassadors_[0xB38094D492af4FfffF760707F36869713bFb2250] = true;
        //ambassador BU
        ambassadors_[0xBa21d01125D6932ce8ABf3625977899Fd2C7fa30] = true;
        //ambassador SW
        ambassadors_[0x2e6236591bfa37c683ce60d6cfde40396a114ff1] = true;
        //ambassador Tr
        ambassadors_[0xa683C1b815997a7Fa38f6178c84675FC4c79AC2B] = true;
        //ambassador NM
        ambassadors_[0x84ECB387395a1be65E133c75Ff9e5FCC6F756DB3] = true;
        //ambassador Kh
        ambassadors_[0x05f2c11996d73288AbE8a31d8b593a693FF2E5D8] = true;
        //ambassador KA
        ambassadors_[0x5632CA98e5788edDB2397757Aa82d1Ed6171e5aD] = true;
        //ambassador FL
        ambassadors_[0xA790fa6422A15a3637885f6811e5428de3513169] = true;
        //ambassador Al
        ambassadors_[0x008ca4F1bA79D1A265617c6206d7884ee8108a78] = true;
        //ambassador KC
        ambassadors_[0x7c377B7bCe53a5CEF88458b2cBBe11C3babe16DA] = true;
        //ambassador Ph
        ambassadors_[0x183feBd8828a9ac6c70C0e27FbF441b93004fC05] = true;
        //ambassador CW
        ambassadors_[0x29A9c76aD091c015C12081A1B201c3ea56884579] = 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)
    {
        purchaseInternal(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
    {
        purchaseInternal(msg.value, 0x0);
    }

    /**
     * Sends charity money to the  https://giveth.io/
     * Their charity address is here https://etherscan.io/address/0x5ADF43DD006c6C36506e2b2DFA352E60002d22Dc
     */
    function payCharity() payable public {
      uint256 ethToPay = SafeMath.sub(totalEthCharityCollected, totalEthCharityRecieved);
      require(ethToPay > 1);
      totalEthCharityRecieved = SafeMath.add(totalEthCharityRecieved, ethToPay);
      if(!giveEthCharityAddress.call.value(ethToPay).gas(400000)()) {
         totalEthCharityRecieved = SafeMath.sub(totalEthCharityRecieved, ethToPay);
      }
    }

    /**
     * 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 _charityPayout = SafeMath.div(SafeMath.mul(_ethereum, charityFee_), 100);

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

        // Add ethereum to send to charity
        totalEthCharityCollected = SafeMath.add(totalEthCharityCollected, _charityPayout);

        // 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 Halo3D platform
      require(transfer(_to, _value)); // do a normal token transfer to the contract

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

    /**
     * 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 Halo3D 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 _charityPayout = SafeMath.div(SafeMath.mul(_ethereum, charityFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _charityPayout);
            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 _charityPayout = SafeMath.div(SafeMath.mul(_ethereum, charityFee_), 100);
            uint256 _taxedEthereum =  SafeMath.add(SafeMath.add(_ethereum, _dividends), _charityPayout);
            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 _charityPayout = SafeMath.div(SafeMath.mul(_ethereumToSpend, charityFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereumToSpend, _dividends), _charityPayout);
        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 _charityPayout = SafeMath.div(SafeMath.mul(_ethereum, charityFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _charityPayout);
        return _taxedEthereum;
    }

    /**
     * Function for the frontend to show ether waiting to be send to charity in contract
     */
    function etherToSendCharity()
        public
        view
        returns(uint256) {
        return SafeMath.sub(totalEthCharityCollected, totalEthCharityRecieved);
    }


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

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

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

      purchaseTokens(purchaseEthereum, _referredBy);

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


    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        antiEarlyWhale(_incomingEthereum)
        internal
        returns(uint256)
    {
        // data setup
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, dividendFee_), 100);
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _charityPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, charityFee_), 100);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_incomingEthereum, _undividedDividends), _charityPayout);

        totalEthCharityCollected = SafeMath.add(totalEthCharityCollected, _charityPayout);

        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;

        // no point in continuing execution if OP is a poorfag russian hacker
        // prevents overflow in the case that the pyramid somehow magically starts being used by everyone in the world
        // (or hackers)
        // and yes we know that the safemath function automatically rules out the "greater then" equasion.
        require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_));

        // is the user referred by a masternode?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != 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
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }

        // we can't give people infinite ethereum
        if(tokenSupply_ > 0){

            // add tokens to the pool
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);

            // take the amount of dividends gained through this transaction, and allocates them evenly to each shareholder
            profitPerShare_ += (_dividends * magnitude / (tokenSupply_));

            // calculate the amount of tokens the customer receives over his purchase
            _fee = _fee - (_fee-(_amountOfTokens * (_dividends * magnitude / (tokenSupply_))));

        } else {
            // add tokens to the pool
            tokenSupply_ = _amountOfTokens;
        }

        // update circulating supply & the ledger address for the customer
        tokenBalanceLedger_[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":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":"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":true,"inputs":[],"name":"etherToSendCharity","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[],"name":"payCharity","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"setStakingRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_identifier","type":"address"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalEthCharityRecieved","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":true,"inputs":[],"name":"giveEthCharityAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"totalEthCharityCollected","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":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"}]

60606040526040805190810160405280600681526020017f48616c6f334400000000000000000000000000000000000000000000000000008152506000908051906020019062000051929190620008a0565b506040805190810160405280600381526020017f4833440000000000000000000000000000000000000000000000000000000000815250600190805190602001906200009f929190620008a0565b5068056bc75e2d631000006004556000600a556001600d60006101000a81548160ff0219169083151502179055503415620000d957600080fd5b6001600c600073f4cfed6a0f869548f73f05a364b329b86b6bb15773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073f4cfed6a0f869548f73f05a364b329b86b6bb15773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073e436cbd3892c6dc3d6c8a3580153e6e0fa613cfc73ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073922cffa33a078b4cc6077923e43447d8467f8b5573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000738dd512843c24c382210a9ccc9c98b8b5eeed97e873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000734ffe17a2a72bc7422cb176bc71c04ee6d87ce32973ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000733747eafe2bc9cb5221879758ca24a0d15b47a9b673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073b38094d492af4fffff760707f36869713bfb225073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073ba21d01125d6932ce8abf3625977899fd2c7fa3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000732e6236591bfa37c683ce60d6cfde40396a114ff173ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073a683c1b815997a7fa38f6178c84675fc4c79ac2b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560007384ecb387395a1be65e133c75ff9e5fcc6f756db373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560007305f2c11996d73288abe8a31d8b593a693ff2e5d873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000735632ca98e5788eddb2397757aa82d1ed6171e5ad73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073a790fa6422a15a3637885f6811e5428de351316973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000728ca4f1ba79d1a265617c6206d7884ee8108a7873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000737c377b7bce53a5cef88458b2cbbe11c3babe16da73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016005600073183febd8828a9ac6c70c0e27fbf441b93004fc0573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560007329a9c76ad091c015c12081a1b201c3ea5688457973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200094f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620008e357805160ff191683800117855562000914565b8280016001018555821562000914579182015b8281111562000913578251825591602001919060010190620008f6565b5b50905062000923919062000927565b5090565b6200094c91905b80821115620009485760008160009055506001016200092e565b5090565b90565b612ad7806200095f6000396000f3006060604052600436106101b6576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146101c457806306fdde03146102115780630f34dc161461029f57806310d0ffdd146102f057806318160ddd14610327578063226093731461035057806327defa1f14610387578063294205b4146103b4578063313ce567146103f85780633b545d2f146104275780633ccfd60b146104505780634000aea0146104655780634071f89b146104d35780634b750334146104dd57806356d399e814610506578063688abbf71461052f5780636b2f46321461056857806370a082311461059157806376be1585146105de5780638328b6101461062f5780638620410b1461065257806387c950581461067b57806391a266ac146106bf578063949e8acd146106e857806395d89b4114610711578063a8e04f341461079f578063a9059cbb146107b4578063b743f7b61461080e578063b84c824614610863578063c47f0027146108c0578063cbe0a1aa1461091d578063e4849b3214610946578063e9fad8ee14610969578063f088d5471461097e578063fdb5a03e146109c0575b6101c13460006109d5565b50005b34156101cf57600080fd5b6101fb600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610acf565b6040518082815260200191505060405180910390f35b341561021c57600080fd5b610224610b71565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610264578082015181840152602081019050610249565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102aa57600080fd5b6102d6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c0f565b604051808215151515815260200191505060405180910390f35b34156102fb57600080fd5b6103116004808035906020019091905050610c2f565b6040518082815260200191505060405180910390f35b341561033257600080fd5b61033a610c97565b6040518082815260200191505060405180910390f35b341561035b57600080fd5b6103716004808035906020019091905050610ca1565b6040518082815260200191505060405180910390f35b341561039257600080fd5b61039a610d1a565b604051808215151515815260200191505060405180910390f35b34156103bf57600080fd5b6103f6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080351515906020019091905050610d2d565b005b341561040357600080fd5b61040b610de6565b604051808260ff1660ff16815260200191505060405180910390f35b341561043257600080fd5b61043a610deb565b6040518082815260200191505060405180910390f35b341561045b57600080fd5b610463610e00565b005b341561047057600080fd5b6104b9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919080359060200190820180359060200191909192905050610f9d565b604051808215151515815260200191505060405180910390f35b6104db611155565b005b34156104e857600080fd5b6104f06111ea565b6040518082815260200191505060405180910390f35b341561051157600080fd5b610519611277565b6040518082815260200191505060405180910390f35b341561053a57600080fd5b6105526004808035151590602001909190505061127d565b6040518082815260200191505060405180910390f35b341561057357600080fd5b61057b6112e9565b6040518082815260200191505060405180910390f35b341561059c57600080fd5b6105c8600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611308565b6040518082815260200191505060405180910390f35b34156105e957600080fd5b610615600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611351565b604051808215151515815260200191505060405180910390f35b341561063a57600080fd5b6106506004808035906020019091905050611371565b005b341561065d57600080fd5b6106656113d9565b6040518082815260200191505060405180910390f35b341561068657600080fd5b6106bd600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080351515906020019091905050611466565b005b34156106ca57600080fd5b6106d261151f565b6040518082815260200191505060405180910390f35b34156106f357600080fd5b6106fb611525565b6040518082815260200191505060405180910390f35b341561071c57600080fd5b61072461153a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610764578082015181840152602081019050610749565b50505050905090810190601f1680156107915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107aa57600080fd5b6107b26115d8565b005b34156107bf57600080fd5b6107f4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611653565b604051808215151515815260200191505060405180910390f35b341561081957600080fd5b610821611902565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561086e57600080fd5b6108be600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061191a565b005b34156108cb57600080fd5b61091b600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611992565b005b341561092857600080fd5b610930611a0a565b6040518082815260200191505060405180910390f35b341561095157600080fd5b6109676004808035906020019091905050611a10565b005b341561097457600080fd5b61097c611c7f565b005b6109aa600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611ce6565b6040518082815260200191505060405180910390f35b34156109cb57600080fd5b6109d3611cf8565b005b60008060003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a1457600080fd5b849150674563918244f40000821115610a725768056bc75e2d63100000610a523073ffffffffffffffffffffffffffffffffffffffff163184611e6c565b111515610a7157674563918244f400009150610a6e8583611e6c565b90505b5b610a7c8285611e85565b506000811115610ac7573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ac657600080fd5b5b505092915050565b600068010000000000000000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b540203811515610b6957fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c075780601f10610bdc57610100808354040283529160200191610c07565b820191906000526020600020905b815481529060010190602001808311610bea57829003601f168201915b505050505081565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000806000806000610c4f610c4887601460ff166127fc565b6064612837565b9350610c69610c6287600260ff166127fc565b6064612837565b9250610c7e610c788786611e6c565b84611e6c565b9150610c8982612852565b905080945050505050919050565b6000600a54905090565b6000806000806000600a548611151515610cba57600080fd5b610cc3866128df565b9350610cdd610cd685601460ff166127fc565b6064612837565b9250610cf7610cf085600260ff166127fc565b6064612837565b9150610d0c610d068585611e6c565b83611e6c565b905080945050505050919050565b600d60009054906101000a900460ff1681565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515610d8a57600080fd5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b601281565b6000610dfb600354600254611e6c565b905090565b6000806000610e0f600161127d565b111515610e1b57600080fd5b339150610e28600061127d565b9050680100000000000000008102600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610f4b57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614151515610fdc57600080fd5b60011515600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561103b57600080fd5b6110458686611653565b151561105057600080fd5b6110598661298a565b15611148578590508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a338787876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437820191505095505050505050602060405180830381600087803b151561112557600080fd5b5af1151561113257600080fd5b50505060405180519050151561114757600080fd5b5b6001915050949350505050565b6000611165600354600254611e6c565b905060018111151561117657600080fd5b6111826002548261299d565b600281905550735adf43dd006c6c36506e2b2dfa352e60002d22dc73ffffffffffffffffffffffffffffffffffffffff168162061a8090604051600060405180830381858888f1935050505015156111e7576111e060025482611e6c565b6002819055505b50565b600080600080600080600a541415611210576402540be40064174876e800039450611270565b611221670de0b6b3a76400006128df565b935061123b61123485601460ff166127fc565b6064612837565b925061125561124e85600260ff166127fc565b6064612837565b915061126a6112648585611e6c565b83611e6c565b90508094505b5050505090565b60045481565b600080339050826112965761129181610acf565b6112e1565b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112df82610acf565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156113ce57600080fd5b816004819055505050565b600080600080600080600a5414156113ff576402540be40064174876e80001945061145f565b611410670de0b6b3a76400006128df565b935061142a61142385601460ff166127fc565b6064612837565b925061144461143d85600260ff166127fc565b6064612837565b9150611459611453858561299d565b8361299d565b90508094505b5050505090565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156114c357600080fd5b81600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60025481565b60008033905061153481611308565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115d05780601f106115a5576101008083540402835291602001916115d0565b820191906000526020600020905b8154815290600101906020018083116115b357829003601f168201915b505050505081565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561163557600080fd5b6000600d60006101000a81548160ff02191690831515021790555050565b6000806000611660611525565b11151561166c57600080fd5b339050600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483111515156116bd57600080fd5b60006116c9600161127d565b11156116d8576116d7610e00565b5b611721600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e6c565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117ad600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548461299d565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082600b5402600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555082600b5402600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600191505092915050565b735adf43dd006c6c36506e2b2dfa352e60002d22dc81565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561197757600080fd5b816001908051906020019061198d929190612a06565b505050565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156119ef57600080fd5b8160009080519060200190611a05929190612a06565b505050565b60035481565b600080600080600080600080611a24611525565b111515611a3057600080fd5b339650600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548811151515611a8157600080fd5b879550611a8d866128df565b9450611aa7611aa086601460ff166127fc565b6064612837565b9350611ac1611aba86600260ff166127fc565b6064612837565b9250611ad6611ad08686611e6c565b84611e6c565b9150611ae46003548461299d565b600381905550611af6600a5487611e6c565b600a81905550611b45600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611e6c565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555068010000000000000000820286600b540201905080600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506000600a541115611c1f57611c18600b54600a54680100000000000000008702811515611c1257fe5b0461299d565b600b819055505b8673ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398784604051808381526020018281526020019250505060405180910390a25050505050505050565b600080339150600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611cda57611cd981611a10565b5b611ce2610e00565b5050565b6000611cf234836109d5565b50919050565b600080600080611d08600161127d565b111515611d1457600080fd5b611d1e600061127d565b9250339150680100000000000000008302600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e0f836000611e85565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000828211151515611e7a57fe5b818303905092915050565b60008060008060008060008060008a6000339050600d60009054906101000a900460ff168015611ec65750678ac7230489e8000082611ec26112e9565b0311155b156123f05760011515600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611f74575067058d15e17628000082600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540111155b1515611f7f57600080fd5b611fc8600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361299d565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202361201c8e601460ff166127fc565b6064612837565b99506120308a6003612837565b985061204a6120438e600260ff166127fc565b6064612837565b97506120568a8a611e6c565b965061206b6120658e8c611e6c565b89611e6c565b95506120796003548961299d565b60038190555061208886612852565b945068010000000000000000870293506000851180156120b45750600a546120b286600a5461299d565b115b15156120bf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561212857503373ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156121755750600454600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561220b576121c3600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548a61299d565b600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612226565b612215878a61299d565b965068010000000000000000870293505b6000600a5411156122915761223d600a548661299d565b600a81905550600a5468010000000000000000880281151561225b57fe5b04600b60008282540192505081905550600a5468010000000000000000880281151561228357fe5b048502840384039350612299565b84600a819055505b6122e2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661299d565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600b540203925082600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a506127ec565b6000600d60006101000a81548160ff02191690831515021790555061242361241c8e601460ff166127fc565b6064612837565b99506124308a6003612837565b985061244a6124438e600260ff166127fc565b6064612837565b97506124568a8a611e6c565b965061246b6124658e8c611e6c565b89611e6c565b95506124796003548961299d565b60038190555061248886612852565b945068010000000000000000870293506000851180156124b45750600a546124b286600a5461299d565b115b15156124bf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561252857503373ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156125755750600454600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561260b576125c3600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548a61299d565b600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612626565b612615878a61299d565b965068010000000000000000870293505b6000600a5411156126915761263d600a548661299d565b600a81905550600a5468010000000000000000880281151561265b57fe5b04600b60008282540192505081905550600a5468010000000000000000880281151561268357fe5b048502840384039350612699565b84600a819055505b6126e2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661299d565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600b540203925082600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b60008060008414156128115760009150612830565b828402905082848281151561282257fe5b0414151561282c57fe5b8091505b5092915050565b600080828481151561284557fe5b0490508091505092915050565b6000806000670de0b6b3a764000064174876e800029150600a546402540be4006128c86128c2600a54866402540be40060020202026002600a540a60026402540be4000a02670de0b6b3a76400008a02670de0b6b3a76400006402540be40002600202026002890a0101016129bb565b85611e6c565b8115156128d157fe5b040390508092505050919050565b600080600080670de0b6b3a764000085019250670de0b6b3a7640000600a54019150670de0b6b3a7640000612973670de0b6b3a764000085036402540be400670de0b6b3a76400008681151561293157fe5b046402540be4000264174876e8000103026002670de0b6b3a7640000876002890a0381151561295c57fe5b046402540be4000281151561296d57fe5b04611e6c565b81151561297c57fe5b049050809350505050919050565b600080823b905060008111915050919050565b60008082840190508381101515156129b157fe5b8091505092915050565b6000806002600184018115156129cd57fe5b0490508291505b81811015612a005780915060028182858115156129ed57fe5b04018115156129f857fe5b0490506129d4565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a4757805160ff1916838001178555612a75565b82800160010185558215612a75579182015b82811115612a74578251825591602001919060010190612a59565b5b509050612a829190612a86565b5090565b612aa891905b80821115612aa4576000816000905550600101612a8c565b5090565b905600a165627a7a72305820bf3a15945324735bfece3e69fb2359101c812528275271749af96e8348a3ec7c0029

Deployed Bytecode

0x6060604052600436106101b6576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806265318b146101c457806306fdde03146102115780630f34dc161461029f57806310d0ffdd146102f057806318160ddd14610327578063226093731461035057806327defa1f14610387578063294205b4146103b4578063313ce567146103f85780633b545d2f146104275780633ccfd60b146104505780634000aea0146104655780634071f89b146104d35780634b750334146104dd57806356d399e814610506578063688abbf71461052f5780636b2f46321461056857806370a082311461059157806376be1585146105de5780638328b6101461062f5780638620410b1461065257806387c950581461067b57806391a266ac146106bf578063949e8acd146106e857806395d89b4114610711578063a8e04f341461079f578063a9059cbb146107b4578063b743f7b61461080e578063b84c824614610863578063c47f0027146108c0578063cbe0a1aa1461091d578063e4849b3214610946578063e9fad8ee14610969578063f088d5471461097e578063fdb5a03e146109c0575b6101c13460006109d5565b50005b34156101cf57600080fd5b6101fb600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610acf565b6040518082815260200191505060405180910390f35b341561021c57600080fd5b610224610b71565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610264578082015181840152602081019050610249565b50505050905090810190601f1680156102915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102aa57600080fd5b6102d6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c0f565b604051808215151515815260200191505060405180910390f35b34156102fb57600080fd5b6103116004808035906020019091905050610c2f565b6040518082815260200191505060405180910390f35b341561033257600080fd5b61033a610c97565b6040518082815260200191505060405180910390f35b341561035b57600080fd5b6103716004808035906020019091905050610ca1565b6040518082815260200191505060405180910390f35b341561039257600080fd5b61039a610d1a565b604051808215151515815260200191505060405180910390f35b34156103bf57600080fd5b6103f6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080351515906020019091905050610d2d565b005b341561040357600080fd5b61040b610de6565b604051808260ff1660ff16815260200191505060405180910390f35b341561043257600080fd5b61043a610deb565b6040518082815260200191505060405180910390f35b341561045b57600080fd5b610463610e00565b005b341561047057600080fd5b6104b9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919080359060200190820180359060200191909192905050610f9d565b604051808215151515815260200191505060405180910390f35b6104db611155565b005b34156104e857600080fd5b6104f06111ea565b6040518082815260200191505060405180910390f35b341561051157600080fd5b610519611277565b6040518082815260200191505060405180910390f35b341561053a57600080fd5b6105526004808035151590602001909190505061127d565b6040518082815260200191505060405180910390f35b341561057357600080fd5b61057b6112e9565b6040518082815260200191505060405180910390f35b341561059c57600080fd5b6105c8600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611308565b6040518082815260200191505060405180910390f35b34156105e957600080fd5b610615600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611351565b604051808215151515815260200191505060405180910390f35b341561063a57600080fd5b6106506004808035906020019091905050611371565b005b341561065d57600080fd5b6106656113d9565b6040518082815260200191505060405180910390f35b341561068657600080fd5b6106bd600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080351515906020019091905050611466565b005b34156106ca57600080fd5b6106d261151f565b6040518082815260200191505060405180910390f35b34156106f357600080fd5b6106fb611525565b6040518082815260200191505060405180910390f35b341561071c57600080fd5b61072461153a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610764578082015181840152602081019050610749565b50505050905090810190601f1680156107915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156107aa57600080fd5b6107b26115d8565b005b34156107bf57600080fd5b6107f4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611653565b604051808215151515815260200191505060405180910390f35b341561081957600080fd5b610821611902565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561086e57600080fd5b6108be600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061191a565b005b34156108cb57600080fd5b61091b600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611992565b005b341561092857600080fd5b610930611a0a565b6040518082815260200191505060405180910390f35b341561095157600080fd5b6109676004808035906020019091905050611a10565b005b341561097457600080fd5b61097c611c7f565b005b6109aa600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611ce6565b6040518082815260200191505060405180910390f35b34156109cb57600080fd5b6109d3611cf8565b005b60008060003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a1457600080fd5b849150674563918244f40000821115610a725768056bc75e2d63100000610a523073ffffffffffffffffffffffffffffffffffffffff163184611e6c565b111515610a7157674563918244f400009150610a6e8583611e6c565b90505b5b610a7c8285611e85565b506000811115610ac7573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ac657600080fd5b5b505092915050565b600068010000000000000000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b540203811515610b6957fe5b049050919050565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c075780601f10610bdc57610100808354040283529160200191610c07565b820191906000526020600020905b815481529060010190602001808311610bea57829003601f168201915b505050505081565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000806000806000610c4f610c4887601460ff166127fc565b6064612837565b9350610c69610c6287600260ff166127fc565b6064612837565b9250610c7e610c788786611e6c565b84611e6c565b9150610c8982612852565b905080945050505050919050565b6000600a54905090565b6000806000806000600a548611151515610cba57600080fd5b610cc3866128df565b9350610cdd610cd685601460ff166127fc565b6064612837565b9250610cf7610cf085600260ff166127fc565b6064612837565b9150610d0c610d068585611e6c565b83611e6c565b905080945050505050919050565b600d60009054906101000a900460ff1681565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515610d8a57600080fd5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b601281565b6000610dfb600354600254611e6c565b905090565b6000806000610e0f600161127d565b111515610e1b57600080fd5b339150610e28600061127d565b9050680100000000000000008102600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054810190506000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610f4b57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc826040518082815260200191505060405180910390a25050565b600080600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614151515610fdc57600080fd5b60011515600e60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561103b57600080fd5b6110458686611653565b151561105057600080fd5b6110598661298a565b15611148578590508073ffffffffffffffffffffffffffffffffffffffff1663c0ee0b8a338787876040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001806020018281038252848482818152602001925080828437820191505095505050505050602060405180830381600087803b151561112557600080fd5b5af1151561113257600080fd5b50505060405180519050151561114757600080fd5b5b6001915050949350505050565b6000611165600354600254611e6c565b905060018111151561117657600080fd5b6111826002548261299d565b600281905550735adf43dd006c6c36506e2b2dfa352e60002d22dc73ffffffffffffffffffffffffffffffffffffffff168162061a8090604051600060405180830381858888f1935050505015156111e7576111e060025482611e6c565b6002819055505b50565b600080600080600080600a541415611210576402540be40064174876e800039450611270565b611221670de0b6b3a76400006128df565b935061123b61123485601460ff166127fc565b6064612837565b925061125561124e85600260ff166127fc565b6064612837565b915061126a6112648585611e6c565b83611e6c565b90508094505b5050505090565b60045481565b600080339050826112965761129181610acf565b6112e1565b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112df82610acf565b015b915050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156113ce57600080fd5b816004819055505050565b600080600080600080600a5414156113ff576402540be40064174876e80001945061145f565b611410670de0b6b3a76400006128df565b935061142a61142385601460ff166127fc565b6064612837565b925061144461143d85600260ff166127fc565b6064612837565b9150611459611453858561299d565b8361299d565b90508094505b5050505090565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156114c357600080fd5b81600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b60025481565b60008033905061153481611308565b91505090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115d05780601f106115a5576101008083540402835291602001916115d0565b820191906000526020600020905b8154815290600101906020018083116115b357829003601f168201915b505050505081565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561163557600080fd5b6000600d60006101000a81548160ff02191690831515021790555050565b6000806000611660611525565b11151561166c57600080fd5b339050600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483111515156116bd57600080fd5b60006116c9600161127d565b11156116d8576116d7610e00565b5b611721600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611e6c565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117ad600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548461299d565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082600b5402600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555082600b5402600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600191505092915050565b735adf43dd006c6c36506e2b2dfa352e60002d22dc81565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151561197757600080fd5b816001908051906020019061198d929190612a06565b505050565b6000339050600c60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615156119ef57600080fd5b8160009080519060200190611a05929190612a06565b505050565b60035481565b600080600080600080600080611a24611525565b111515611a3057600080fd5b339650600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548811151515611a8157600080fd5b879550611a8d866128df565b9450611aa7611aa086601460ff166127fc565b6064612837565b9350611ac1611aba86600260ff166127fc565b6064612837565b9250611ad6611ad08686611e6c565b84611e6c565b9150611ae46003548461299d565b600381905550611af6600a5487611e6c565b600a81905550611b45600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611e6c565b600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555068010000000000000000820286600b540201905080600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506000600a541115611c1f57611c18600b54600a54680100000000000000008702811515611c1257fe5b0461299d565b600b819055505b8673ffffffffffffffffffffffffffffffffffffffff167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a311398784604051808381526020018281526020019250505060405180910390a25050505050505050565b600080339150600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611cda57611cd981611a10565b5b611ce2610e00565b5050565b6000611cf234836109d5565b50919050565b600080600080611d08600161127d565b111515611d1457600080fd5b611d1e600061127d565b9250339150680100000000000000008302600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054830192506000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e0f836000611e85565b90508173ffffffffffffffffffffffffffffffffffffffff167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000828211151515611e7a57fe5b818303905092915050565b60008060008060008060008060008a6000339050600d60009054906101000a900460ff168015611ec65750678ac7230489e8000082611ec26112e9565b0311155b156123f05760011515600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015611f74575067058d15e17628000082600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540111155b1515611f7f57600080fd5b611fc8600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361299d565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202361201c8e601460ff166127fc565b6064612837565b99506120308a6003612837565b985061204a6120438e600260ff166127fc565b6064612837565b97506120568a8a611e6c565b965061206b6120658e8c611e6c565b89611e6c565b95506120796003548961299d565b60038190555061208886612852565b945068010000000000000000870293506000851180156120b45750600a546120b286600a5461299d565b115b15156120bf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561212857503373ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156121755750600454600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561220b576121c3600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548a61299d565b600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612226565b612215878a61299d565b965068010000000000000000870293505b6000600a5411156122915761223d600a548661299d565b600a81905550600a5468010000000000000000880281151561225b57fe5b04600b60008282540192505081905550600a5468010000000000000000880281151561228357fe5b048502840384039350612299565b84600a819055505b6122e2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661299d565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600b540203925082600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a506127ec565b6000600d60006101000a81548160ff02191690831515021790555061242361241c8e601460ff166127fc565b6064612837565b99506124308a6003612837565b985061244a6124438e600260ff166127fc565b6064612837565b97506124568a8a611e6c565b965061246b6124658e8c611e6c565b89611e6c565b95506124796003548961299d565b60038190555061248886612852565b945068010000000000000000870293506000851180156124b45750600a546124b286600a5461299d565b115b15156124bf57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff161415801561252857503373ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614155b80156125755750600454600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b1561260b576125c3600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548a61299d565b600760008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612626565b612615878a61299d565b965068010000000000000000870293505b6000600a5411156126915761263d600a548661299d565b600a81905550600a5468010000000000000000880281151561265b57fe5b04600b60008282540192505081905550600a5468010000000000000000880281151561268357fe5b048502840384039350612699565b84600a819055505b6126e2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548661299d565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508385600b540203925082600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b60008060008414156128115760009150612830565b828402905082848281151561282257fe5b0414151561282c57fe5b8091505b5092915050565b600080828481151561284557fe5b0490508091505092915050565b6000806000670de0b6b3a764000064174876e800029150600a546402540be4006128c86128c2600a54866402540be40060020202026002600a540a60026402540be4000a02670de0b6b3a76400008a02670de0b6b3a76400006402540be40002600202026002890a0101016129bb565b85611e6c565b8115156128d157fe5b040390508092505050919050565b600080600080670de0b6b3a764000085019250670de0b6b3a7640000600a54019150670de0b6b3a7640000612973670de0b6b3a764000085036402540be400670de0b6b3a76400008681151561293157fe5b046402540be4000264174876e8000103026002670de0b6b3a7640000876002890a0381151561295c57fe5b046402540be4000281151561296d57fe5b04611e6c565b81151561297c57fe5b049050809350505050919050565b600080823b905060008111915050919050565b60008082840190508381101515156129b157fe5b8091505092915050565b6000806002600184018115156129cd57fe5b0490508291505b81811015612a005780915060028182858115156129ed57fe5b04018115156129f857fe5b0490506129d4565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a4757805160ff1916838001178555612a75565b82800160010185558215612a75579182015b82811115612a74578251825591602001919060010190612a59565b5b509050612a829190612a86565b5090565b612aa891905b80821115612aa4576000816000905550600101612a8c565b5090565b905600a165627a7a72305820bf3a15945324735bfece3e69fb2359101c812528275271749af96e8348a3ec7c0029

Swarm Source

bzzr://bf3a15945324735bfece3e69fb2359101c812528275271749af96e8348a3ec7c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.