ETH Price: $3,470.17 (+0.60%)
Gas: 5 Gwei

Token

ERC20 ***
 

Overview

Max Total Supply

256,596.030992534315104933 ERC20 ***

Holders

249

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.150575922332820882 ERC20 ***

Value
$0.00
0xE8cd8047C4EEe2D9D83d8619525084FEfCa5de0d
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:
DailyDivs

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-10-07
*/

pragma solidity ^0.4.21;


/*
******************** DailyDivs.com *********************
*
*  ____        _ _       ____  _                                
* |  _ \  __ _(_) |_   _|  _ \(_)_   _____   ___ ___  _ __ ___  
* | | | |/ _` | | | | | | | | | \ \ / / __| / __/ _ \| '_ ` _ \ 
* | |_| | (_| | | | |_| | |_| | |\ V /\__ \| (_| (_) | | | | | |
* |____/ \__,_|_|_|\__, |____/|_| \_/ |___(_)___\___/|_| |_| |_|
*                  |___/                                        
*
******************** DailyDivs.com *********************
*
*
* [x] 0% TRANSFER FEES
* [x] 20% DIVIDENDS AND MASTERNODES
* [x] 5% FEE ON EACH BUY AND SELL GO TO Smart Contract Fund 0xd9092D94F74E6b5D408DBd3eCC88f3e5810d1e98
*     How 5% is divided and used: 
*     80% to Buy Tokens from the exchange to be transferred to DDT Surplus and fund other DailyDivs Games
*     20% to Dev Fund For Platform Development
* [x] Only 1 DDT Token is needed to have a masternode! This allows virtually anyone to earn via buys from their masternode!
* [x] DailyDivs Token can be used for future games
*
* Official Website: https://dailydivs.com/ 
* Official Discord: https://discord.gg/J4Bvu32
* Official Telegram: https://t.me/dailydivs
*/


/**
 * Definition of contract accepting DailyDivs tokens
 * DDT Lending and other games can reuse this contract to support DailyDivs tokens
 */
contract AcceptsDailyDivs {
    DailyDivs public tokenContract;

    function AcceptsDailyDivs(address _tokenContract) public {
        tokenContract = DailyDivs(_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 DailyDivs {
    /*=================================
    =            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]);
        _;
    }
    
    uint ACTIVATION_TIME = 1538938800;


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

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

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

            );

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

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

    }

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

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

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

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

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


    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/
    string public name = "DailyDivs";
    string public symbol = "DDT";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 20; // 20% dividend fee on each buy and sell
    uint8 constant internal fundFee_ = 5; // 5% fund tax on buys/sells/reinvest (split 80/20)
    uint256 constant internal tokenPriceInitial_ = 0.00000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.000000001 ether;
    uint256 constant internal magnitude = 2**64;

    
    // 80/20 FUND TAX CONTRACT ADDRESS
    address constant public giveEthFundAddress = 0xd9092D94F74E6b5D408DBd3eCC88f3e5810d1e98;
    uint256 public totalEthFundRecieved; // total ETH FUND recieved from this contract
    uint256 public totalEthFundCollected; // total ETH FUND collected in this contract

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

    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 8 ether;
    uint256 constant internal ambassadorQuota_ = 8 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 DailyDivs Platform control from scam game contracts on DailyDivs platform
    mapping(address => bool) public canAcceptTokens_; // contracts, which can accept DailyDivs tokens



    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --
    */
    function DailyDivs()
        public
    {
        // add administrators here
        administrators[0x0E7b52B895E3322eF341004DC6CB5C63e1d9b1c5] = true;
        
        // admin
        ambassadors_[0x0E7b52B895E3322eF341004DC6CB5C63e1d9b1c5] = true;

        // add the ambassadors
        ambassadors_[0x4A42500b817439cF9B10b4d3edf68bb63Ed0A89B] = true;
        
        // add the ambassadors
        ambassadors_[0x642e0ce9ae8c0d8007e0acaf82c8d716ff8c74c1] = true;
        
        // add the ambassadors
        ambassadors_[0xeafe863757a2b2a2c5c3f71988b7d59329d09a78] = true;
        
        // add the ambassadors
        ambassadors_[0x03B434e2dC43184538ED148f71c097b54f87EBBd] = true;
        
        // add the ambassadors
        ambassadors_[0x8f1A667590014BF2e78b88EB112970F9E3E340E5] = true;
        
        // add the ambassadors
        ambassadors_[0x6CF441B689683D3049f11B02c001E14bd0d86421] = true;
        
        // add the ambassadors
            ambassadors_[0xa39334D8363d6aAF50372313efaa4cF8bDD50a30] = true;
        
        // add the ambassadors
        ambassadors_[0xEc31176d4df0509115abC8065A8a3F8275aafF2b] = 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);
        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
    {
        
        require(tx.gasprice <= 0.01 szabo);
        purchaseInternal(msg.value, 0x0);
    }

    /**
     * Sends FUND TAX to the FUND TAX addres. (Remember 80% of the Fund is used to support DDT Lending and other platform games)
     * This is the FUND TAX address that splits the ETH (80/20): https://etherscan.io/address/0xd9092D94F74E6b5D408DBd3eCC88f3e5810d1e98
     */
    function payFund() payable public {
      uint256 ethToPay = SafeMath.sub(totalEthFundCollected, totalEthFundRecieved);
      require(ethToPay > 1);
      totalEthFundRecieved = SafeMath.add(totalEthFundRecieved, ethToPay);
      if(!giveEthFundAddress.call.value(ethToPay).gas(400000)()) {
         totalEthFundRecieved = SafeMath.sub(totalEthFundRecieved, 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 _fundPayout = SafeMath.div(SafeMath.mul(_ethereum, fundFee_), 100);

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

        // Add ethereum to send to Fund Tax Contract
        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 DailyDivs platform
      require(transfer(_to, _value)); // do a normal token transfer to the contract

      if (isContract(_to)) {
        AcceptsDailyDivs receiver = AcceptsDailyDivs(_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 ambassador 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 DailyDivs 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 sent to Fund Contract from the exchange 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 2 ether before 200 ETH in contract
    function purchaseInternal(uint256 _incomingEthereum, address _referredBy)
      notContract()// no contracts allowed
      internal
      returns(uint256) {

      uint256 purchaseEthereum = _incomingEthereum;
      uint256 excess;
      if(purchaseEthereum > 2 ether) { // check if the transaction is over 2 ether
          if (SafeMath.sub(address(this).balance, purchaseEthereum) <= 200 ether) { // if so check the contract is less then 200 ether
              purchaseEthereum = 2 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 _fundPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, fundFee_), 100);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_incomingEthereum, _undividedDividends), _fundPayout);

        totalEthFundCollected = SafeMath.add(totalEthFundCollected, _fundPayout);

        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":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":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"giveEthFundAddress","outputs":[{"name":"","type":"address"}],"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":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":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"}]

6060604052635bba57b060005560408051908101604052600981527f4461696c79446976730000000000000000000000000000000000000000000000602082015260019080516200005592916020019062000290565b5060408051908101604052600381527f4444540000000000000000000000000000000000000000000000000000000000602082015260029080516200009f92916020019062000290565b50670de0b6b3a76400006005556000600b55600e805460ff191660011790553415620000ca57600080fd5b7fef1a38c9b0f450ddfca1fe00cc6521c57b9ccc9b77d74754886f56e09c272afe8054600160ff19918216811790925560066020527fc519bc5e2494ccdf9daa5505b408de4f821b6279db01d686aad1c1f83adfc91580548216831790557f6ac3fb9c4f4634e8f250f39e011d7070ac9c4c224c614c9d9df3a66133a7810380548216831790557f5054565c7d2c73c33dfac34b063059cedb99234abccd3aa915a4ede44901b7e980548216831790557fb864a02a41791a9501c5c05d2e8ae7da667feb9250a251440df88d42d078332980548216831790557f8bfc30396853cdc7852d6cbd4d86cf192be986acba16ae86af2f28b72cede98b80548216831790557ff5df25a2b6fc6bd6b2f53fd6861921cea8d1234f220da506cb0c9b60a459490180548216831790557f60a67bfe6a86729a6dff7615a6a75970b887a9045ac62ce54fdb36dade3fceb380548216831790557f2a933c23cfbec4ccf7d1e54be82f474f84da63218dde40878cbea673fceada42805482168317905573ec31176d4df0509115abc8065a8a3f8275aaff2b6000527f3659412a45e2fee7f1d2a7c4b639041992564798eac19a3233c6a45d223c56118054909116909117905562000335565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002d357805160ff191683800117855562000303565b8280016001018555821562000303579182015b8281111562000303578251825591602001919060010190620002e6565b506200031192915062000315565b5090565b6200033291905b808211156200031157600081556001016200031c565b90565b611ab280620003456000396000f3006060604052600436106101aa5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101ca57806306fdde03146101fb5780630f34dc161461028557806310d0ffdd146102b857806318160ddd146102ce57806322609373146102e157806327defa1f146102f7578063294205b41461030a578063313ce567146103305780633ccfd60b146103595780634000aea01461036c5780634b7503341461039b57806356d399e8146103ae5780635e079aa5146103c157806366042e7a146103f0578063688abbf7146104035780636b2f46321461041b57806370a082311461042e57806376be15851461044d5780637ff276bd1461046c5780638328b6101461047f5780638620410b1461049557806387c95058146104a85780638974372d146104cc578063949e8acd146104d457806395d89b41146104e7578063a4d55686146104fa578063a9059cbb1461050d578063b84c82461461052f578063c47f002714610580578063e4849b32146105d1578063e9fad8ee146105e7578063f088d547146105fa578063fdb5a03e1461060e575b6402540be4003a11156101bc57600080fd5b6101c7346000610621565b50005b34156101d557600080fd5b6101e9600160a060020a03600435166106e1565b60405190815260200160405180910390f35b341561020657600080fd5b61020e61071c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024a578082015183820152602001610232565b50505050905090810190601f1680156102775780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029057600080fd5b6102a4600160a060020a03600435166107ba565b604051901515815260200160405180910390f35b34156102c357600080fd5b6101e96004356107cf565b34156102d957600080fd5b6101e9610824565b34156102ec57600080fd5b6101e960043561082b565b341561030257600080fd5b6102a4610882565b341561031557600080fd5b61032e600160a060020a0360043516602435151561088b565b005b341561033b57600080fd5b6103436108df565b60405160ff909116815260200160405180910390f35b341561036457600080fd5b61032e6108e4565b341561037757600080fd5b6102a460048035600160a060020a03169060248035916044359182019101356109b0565b34156103a657600080fd5b6101e9610adb565b34156103b957600080fd5b6101e9610b48565b34156103cc57600080fd5b6103d4610b4e565b604051600160a060020a03909116815260200160405180910390f35b34156103fb57600080fd5b6101e9610b66565b341561040e57600080fd5b6101e96004351515610b7b565b341561042657600080fd5b6101e9610bbe565b341561043957600080fd5b6101e9600160a060020a0360043516610bcc565b341561045857600080fd5b6102a4600160a060020a0360043516610be7565b341561047757600080fd5b6101e9610bfc565b341561048a57600080fd5b61032e600435610c02565b34156104a057600080fd5b6101e9610c30565b34156104b357600080fd5b61032e600160a060020a03600435166024351515610c96565b61032e610cea565b34156104df57600080fd5b6101e9610d60565b34156104f257600080fd5b61020e610d73565b341561050557600080fd5b6101e9610dde565b341561051857600080fd5b6102a4600160a060020a0360043516602435610de4565b341561053a57600080fd5b61032e60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f1e95505050505050565b341561058b57600080fd5b61032e60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f5e95505050505050565b34156105dc57600080fd5b61032e600435610f99565b34156105f257600080fd5b61032e611124565b6101e9600160a060020a036004351661115b565b341561061957600080fd5b61032e611179565b600080600032600160a060020a031633600160a060020a031614151561064657600080fd5b849150671bc16d674ec8000082111561069457680ad78ebc5ac620000061067730600160a060020a03163184611234565b1161069457671bc16d674ec8000091506106918583611234565b90505b61069e8285611246565b5060008111156106d957600160a060020a03331681156108fc0282604051600060405180830381858888f1935050505015156106d957600080fd5b505092915050565b600160a060020a0316600090815260096020908152604080832054600790925290912054600c54680100000000000000009102919091030490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505081565b600f6020526000908152604090205460ff1681565b6000808080806107ea6107e3876014611867565b6064611899565b93506107fa6107e3876005611867565b925061080f6108098786611234565b84611234565b915061081a826118b0565b9695505050505050565b600b545b90565b6000806000806000600b54861115151561084457600080fd5b61084d86611942565b935061085d6107e3856014611867565b925061086d6107e3856005611867565b915061081a61087c8585611234565b83611234565b600e5460ff1681565b33600160a060020a0381166000908152600d602052604090205460ff1615156108b357600080fd5b50600160a060020a03919091166000908152600f60205260409020805460ff1916911515919091179055565b601281565b60008060006108f36001610b7b565b116108fd57600080fd5b33915061090a6000610b7b565b600160a060020a0383166000818152600960209081526040808320805468010000000000000000870201905560089091528082208054929055920192509082156108fc0290839051600060405180830381858888f19350505050151561096f57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b600080600160a060020a03861615156109c857600080fd5b600160a060020a0386166000908152600f602052604090205460ff1615156001146109f257600080fd5b6109fc8686610de4565b1515610a0757600080fd5b610a10866119ac565b15610acf575084600160a060020a03811663c0ee0b8a338787876040517c010000000000000000000000000000000000000000000000000000000063ffffffff8716028152600160a060020a0385166004820190815260248201859052606060448301908152606483018490529091608401848480828437820191505095505050505050602060405180830381600087803b1515610aad57600080fd5b5af11515610aba57600080fd5b505050604051805190501515610acf57600080fd5b50600195945050505050565b6000806000806000600b5460001415610afb57640218711a009450610b41565b610b0c670de0b6b3a7640000611942565b9350610b1c6107e3856014611867565b9250610b2c6107e3856005611867565b9150610b3b61087c8585611234565b90508094505b5050505090565b60055481565b73d9092d94f74e6b5d408dbd3ecc88f3e5810d1e9881565b6000610b76600454600354611234565b905090565b60003382610b9157610b8c816106e1565b610bb5565b600160a060020a038116600090815260086020526040902054610bb3826106e1565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526007602052604090205490565b600d6020526000908152604090205460ff1681565b60045481565b33600160a060020a0381166000908152600d602052604090205460ff161515610c2a57600080fd5b50600555565b6000806000806000600b5460001415610c505764028fa6ae009450610b41565b610c61670de0b6b3a7640000611942565b9350610c716107e3856014611867565b9250610c816107e3856005611867565b9150610b3b610c9085856119b4565b836119b4565b33600160a060020a0381166000908152600d602052604090205460ff161515610cbe57600080fd5b50600160a060020a03919091166000908152600d60205260409020805460ff1916911515919091179055565b6000610cfa600454600354611234565b905060018111610d0957600080fd5b610d15600354826119b4565b60035573d9092d94f74e6b5d408dbd3ecc88f3e5810d1e9862061a8082604051600060405180830381858888f193505050501515610d5d57610d5960035482611234565b6003555b50565b600033610d6c81610bcc565b91505b5090565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107b25780601f10610787576101008083540402835291602001916107b2565b60035481565b6000806000610df1610d60565b11610dfb57600080fd5b5033600160a060020a038116600090815260076020526040902054831115610e2257600080fd5b6000610e2e6001610b7b565b1115610e3c57610e3c6108e4565b600160a060020a038116600090815260076020526040902054610e5f9084611234565b600160a060020a038083166000908152600760205260408082209390935590861681522054610e8e90846119b4565b600160a060020a03858116600081815260076020908152604080832095909555600c805494871680845260099092528583208054958a0290950390945592548282529084902080549188029091019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b5092915050565b33600160a060020a0381166000908152600d602052604090205460ff161515610f4657600080fd5b6002828051610f599291602001906119f8565b505050565b33600160a060020a0381166000908152600d602052604090205460ff161515610f8657600080fd5b6001828051610f599291602001906119f8565b600080600080600080600080610fad610d60565b11610fb757600080fd5b33600160a060020a038116600090815260076020526040902054909750881115610fe057600080fd5b879550610fec86611942565b9450610ffc6107e3866014611867565b935061100c6107e3866005611867565b925061101b6108098686611234565b9150611029600454846119b4565b600455600b546110399087611234565b600b55600160a060020a03871660009081526007602052604090205461105f9087611234565b600160a060020a038816600090815260076020908152604080832093909355600c546009909152918120805492890268010000000000000000860201928390039055600b549192509011156110d6576110d2600c54600b546801000000000000000087028115156110cc57fe5b046119b4565b600c555b86600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139878460405191825260208201526040908101905180910390a25050505050505050565b33600160a060020a0381166000908152600760205260408120549081111561114f5761114f81610f99565b6111576108e4565b5050565b6000640ba43b74003a111561116f57600080fd5b610bb83483610621565b6000806000806111896001610b7b565b1161119357600080fd5b61119d6000610b7b565b33600160a060020a0381166000908152600960209081526040808320805468010000000000000000870201905560089091528120805490829055909201945092506111e9908490611246565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282111561124057fe5b50900390565b60008060008060008060008060008a60003390506000544210151561127057600e805460ff191690555b600e5460ff1680156112935750676f05b59d3b2000008261128f610bbe565b0311155b156115c357600160a060020a03811660009081526006602052604090205460ff16151560011480156112e85750600160a060020a0381166000908152600a6020526040902054676f05b59d3b20000090830111155b15156112f357600080fd5b600160a060020a0381166000908152600a602052604090205461131690836119b4565b600160a060020a0382166000908152600a602052604090205561133d6107e38e6014611867565b995061134a8a6003611899565b985061135a6107e38e6005611867565b97506113668a8a611234565b965061137b6113758e8c611234565b89611234565b9550611389600454896119b4565b600455611395866118b0565b945068010000000000000000870293506000851180156113bf5750600b546113bd86826119b4565b115b15156113ca57600080fd5b600160a060020a038c16158015906113f4575033600160a060020a03168c600160a060020a031614155b801561141a5750600554600160a060020a038d1660009081526007602052604090205410155b1561146057600160a060020a038c16600090815260086020526040902054611442908a6119b4565b600160a060020a038d1660009081526008602052604090205561147b565b61146a878a6119b4565b965068010000000000000000870293505b6000600b5411156114df57611492600b54866119b4565b600b8190556801000000000000000088028115156114ac57fe5b600c8054929091049091019055600b546801000000000000000088028115156114d157fe5b0485028403840393506114e5565b600b8590555b600160a060020a03331660009081526007602052604090205461150890866119b4565b6007600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600c5402039250826009600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50611857565b600e805460ff191690556115db6107e38e6014611867565b99506115e88a6003611899565b98506115f86107e38e6005611867565b97506116048a8a611234565b96506116136113758e8c611234565b9550611621600454896119b4565b60045561162d866118b0565b945068010000000000000000870293506000851180156116575750600b5461165586826119b4565b115b151561166257600080fd5b600160a060020a038c161580159061168c575033600160a060020a03168c600160a060020a031614155b80156116b25750600554600160a060020a038d1660009081526007602052604090205410155b156116f857600160a060020a038c166000908152600860205260409020546116da908a6119b4565b600160a060020a038d16600090815260086020526040902055611713565b611702878a6119b4565b965068010000000000000000870293505b6000600b5411156117775761172a600b54866119b4565b600b81905568010000000000000000880281151561174457fe5b600c8054929091049091019055600b5468010000000000000000880281151561176957fe5b04850284038403935061177d565b600b8590555b600160a060020a0333166000908152600760205260409020546117a090866119b4565b6007600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600c5402039250826009600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b60008083151561187a5760009150610f17565b5082820282848281151561188a57fe5b041461189257fe5b9392505050565b60008082848115156118a757fe5b04949350505050565b600b546000906b204fce5e3e25026110000000908290633b9aca0061192f6119297259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d2100000000000000016119c3565b85611234565b81151561193857fe5b0403949350505050565b600b54600090670de0b6b3a7640000838101918101908390611999640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca000281151561199357fe5b04611234565b8115156119a257fe5b0495945050505050565b6000903b1190565b60008282018381101561189257fe5b80600260018201045b81811015610bb85780915060028182858115156119e557fe5b04018115156119f057fe5b0490506119cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a3957805160ff1916838001178555611a66565b82800160010185558215611a66579182015b82811115611a66578251825591602001919060010190611a4b565b50610d6f926108289250905b80821115610d6f5760008155600101611a725600a165627a7a7230582014d96fec83bc9cf55f3890485556a1a5d776280bd037e5612f9f3a12bf244e0d0029

Deployed Bytecode

0x6060604052600436106101aa5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101ca57806306fdde03146101fb5780630f34dc161461028557806310d0ffdd146102b857806318160ddd146102ce57806322609373146102e157806327defa1f146102f7578063294205b41461030a578063313ce567146103305780633ccfd60b146103595780634000aea01461036c5780634b7503341461039b57806356d399e8146103ae5780635e079aa5146103c157806366042e7a146103f0578063688abbf7146104035780636b2f46321461041b57806370a082311461042e57806376be15851461044d5780637ff276bd1461046c5780638328b6101461047f5780638620410b1461049557806387c95058146104a85780638974372d146104cc578063949e8acd146104d457806395d89b41146104e7578063a4d55686146104fa578063a9059cbb1461050d578063b84c82461461052f578063c47f002714610580578063e4849b32146105d1578063e9fad8ee146105e7578063f088d547146105fa578063fdb5a03e1461060e575b6402540be4003a11156101bc57600080fd5b6101c7346000610621565b50005b34156101d557600080fd5b6101e9600160a060020a03600435166106e1565b60405190815260200160405180910390f35b341561020657600080fd5b61020e61071c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561024a578082015183820152602001610232565b50505050905090810190601f1680156102775780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029057600080fd5b6102a4600160a060020a03600435166107ba565b604051901515815260200160405180910390f35b34156102c357600080fd5b6101e96004356107cf565b34156102d957600080fd5b6101e9610824565b34156102ec57600080fd5b6101e960043561082b565b341561030257600080fd5b6102a4610882565b341561031557600080fd5b61032e600160a060020a0360043516602435151561088b565b005b341561033b57600080fd5b6103436108df565b60405160ff909116815260200160405180910390f35b341561036457600080fd5b61032e6108e4565b341561037757600080fd5b6102a460048035600160a060020a03169060248035916044359182019101356109b0565b34156103a657600080fd5b6101e9610adb565b34156103b957600080fd5b6101e9610b48565b34156103cc57600080fd5b6103d4610b4e565b604051600160a060020a03909116815260200160405180910390f35b34156103fb57600080fd5b6101e9610b66565b341561040e57600080fd5b6101e96004351515610b7b565b341561042657600080fd5b6101e9610bbe565b341561043957600080fd5b6101e9600160a060020a0360043516610bcc565b341561045857600080fd5b6102a4600160a060020a0360043516610be7565b341561047757600080fd5b6101e9610bfc565b341561048a57600080fd5b61032e600435610c02565b34156104a057600080fd5b6101e9610c30565b34156104b357600080fd5b61032e600160a060020a03600435166024351515610c96565b61032e610cea565b34156104df57600080fd5b6101e9610d60565b34156104f257600080fd5b61020e610d73565b341561050557600080fd5b6101e9610dde565b341561051857600080fd5b6102a4600160a060020a0360043516602435610de4565b341561053a57600080fd5b61032e60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f1e95505050505050565b341561058b57600080fd5b61032e60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f5e95505050505050565b34156105dc57600080fd5b61032e600435610f99565b34156105f257600080fd5b61032e611124565b6101e9600160a060020a036004351661115b565b341561061957600080fd5b61032e611179565b600080600032600160a060020a031633600160a060020a031614151561064657600080fd5b849150671bc16d674ec8000082111561069457680ad78ebc5ac620000061067730600160a060020a03163184611234565b1161069457671bc16d674ec8000091506106918583611234565b90505b61069e8285611246565b5060008111156106d957600160a060020a03331681156108fc0282604051600060405180830381858888f1935050505015156106d957600080fd5b505092915050565b600160a060020a0316600090815260096020908152604080832054600790925290912054600c54680100000000000000009102919091030490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b505050505081565b600f6020526000908152604090205460ff1681565b6000808080806107ea6107e3876014611867565b6064611899565b93506107fa6107e3876005611867565b925061080f6108098786611234565b84611234565b915061081a826118b0565b9695505050505050565b600b545b90565b6000806000806000600b54861115151561084457600080fd5b61084d86611942565b935061085d6107e3856014611867565b925061086d6107e3856005611867565b915061081a61087c8585611234565b83611234565b600e5460ff1681565b33600160a060020a0381166000908152600d602052604090205460ff1615156108b357600080fd5b50600160a060020a03919091166000908152600f60205260409020805460ff1916911515919091179055565b601281565b60008060006108f36001610b7b565b116108fd57600080fd5b33915061090a6000610b7b565b600160a060020a0383166000818152600960209081526040808320805468010000000000000000870201905560089091528082208054929055920192509082156108fc0290839051600060405180830381858888f19350505050151561096f57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b600080600160a060020a03861615156109c857600080fd5b600160a060020a0386166000908152600f602052604090205460ff1615156001146109f257600080fd5b6109fc8686610de4565b1515610a0757600080fd5b610a10866119ac565b15610acf575084600160a060020a03811663c0ee0b8a338787876040517c010000000000000000000000000000000000000000000000000000000063ffffffff8716028152600160a060020a0385166004820190815260248201859052606060448301908152606483018490529091608401848480828437820191505095505050505050602060405180830381600087803b1515610aad57600080fd5b5af11515610aba57600080fd5b505050604051805190501515610acf57600080fd5b50600195945050505050565b6000806000806000600b5460001415610afb57640218711a009450610b41565b610b0c670de0b6b3a7640000611942565b9350610b1c6107e3856014611867565b9250610b2c6107e3856005611867565b9150610b3b61087c8585611234565b90508094505b5050505090565b60055481565b73d9092d94f74e6b5d408dbd3ecc88f3e5810d1e9881565b6000610b76600454600354611234565b905090565b60003382610b9157610b8c816106e1565b610bb5565b600160a060020a038116600090815260086020526040902054610bb3826106e1565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526007602052604090205490565b600d6020526000908152604090205460ff1681565b60045481565b33600160a060020a0381166000908152600d602052604090205460ff161515610c2a57600080fd5b50600555565b6000806000806000600b5460001415610c505764028fa6ae009450610b41565b610c61670de0b6b3a7640000611942565b9350610c716107e3856014611867565b9250610c816107e3856005611867565b9150610b3b610c9085856119b4565b836119b4565b33600160a060020a0381166000908152600d602052604090205460ff161515610cbe57600080fd5b50600160a060020a03919091166000908152600d60205260409020805460ff1916911515919091179055565b6000610cfa600454600354611234565b905060018111610d0957600080fd5b610d15600354826119b4565b60035573d9092d94f74e6b5d408dbd3ecc88f3e5810d1e9862061a8082604051600060405180830381858888f193505050501515610d5d57610d5960035482611234565b6003555b50565b600033610d6c81610bcc565b91505b5090565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107b25780601f10610787576101008083540402835291602001916107b2565b60035481565b6000806000610df1610d60565b11610dfb57600080fd5b5033600160a060020a038116600090815260076020526040902054831115610e2257600080fd5b6000610e2e6001610b7b565b1115610e3c57610e3c6108e4565b600160a060020a038116600090815260076020526040902054610e5f9084611234565b600160a060020a038083166000908152600760205260408082209390935590861681522054610e8e90846119b4565b600160a060020a03858116600081815260076020908152604080832095909555600c805494871680845260099092528583208054958a0290950390945592548282529084902080549188029091019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b5092915050565b33600160a060020a0381166000908152600d602052604090205460ff161515610f4657600080fd5b6002828051610f599291602001906119f8565b505050565b33600160a060020a0381166000908152600d602052604090205460ff161515610f8657600080fd5b6001828051610f599291602001906119f8565b600080600080600080600080610fad610d60565b11610fb757600080fd5b33600160a060020a038116600090815260076020526040902054909750881115610fe057600080fd5b879550610fec86611942565b9450610ffc6107e3866014611867565b935061100c6107e3866005611867565b925061101b6108098686611234565b9150611029600454846119b4565b600455600b546110399087611234565b600b55600160a060020a03871660009081526007602052604090205461105f9087611234565b600160a060020a038816600090815260076020908152604080832093909355600c546009909152918120805492890268010000000000000000860201928390039055600b549192509011156110d6576110d2600c54600b546801000000000000000087028115156110cc57fe5b046119b4565b600c555b86600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139878460405191825260208201526040908101905180910390a25050505050505050565b33600160a060020a0381166000908152600760205260408120549081111561114f5761114f81610f99565b6111576108e4565b5050565b6000640ba43b74003a111561116f57600080fd5b610bb83483610621565b6000806000806111896001610b7b565b1161119357600080fd5b61119d6000610b7b565b33600160a060020a0381166000908152600960209081526040808320805468010000000000000000870201905560089091528120805490829055909201945092506111e9908490611246565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282111561124057fe5b50900390565b60008060008060008060008060008a60003390506000544210151561127057600e805460ff191690555b600e5460ff1680156112935750676f05b59d3b2000008261128f610bbe565b0311155b156115c357600160a060020a03811660009081526006602052604090205460ff16151560011480156112e85750600160a060020a0381166000908152600a6020526040902054676f05b59d3b20000090830111155b15156112f357600080fd5b600160a060020a0381166000908152600a602052604090205461131690836119b4565b600160a060020a0382166000908152600a602052604090205561133d6107e38e6014611867565b995061134a8a6003611899565b985061135a6107e38e6005611867565b97506113668a8a611234565b965061137b6113758e8c611234565b89611234565b9550611389600454896119b4565b600455611395866118b0565b945068010000000000000000870293506000851180156113bf5750600b546113bd86826119b4565b115b15156113ca57600080fd5b600160a060020a038c16158015906113f4575033600160a060020a03168c600160a060020a031614155b801561141a5750600554600160a060020a038d1660009081526007602052604090205410155b1561146057600160a060020a038c16600090815260086020526040902054611442908a6119b4565b600160a060020a038d1660009081526008602052604090205561147b565b61146a878a6119b4565b965068010000000000000000870293505b6000600b5411156114df57611492600b54866119b4565b600b8190556801000000000000000088028115156114ac57fe5b600c8054929091049091019055600b546801000000000000000088028115156114d157fe5b0485028403840393506114e5565b600b8590555b600160a060020a03331660009081526007602052604090205461150890866119b4565b6007600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600c5402039250826009600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50611857565b600e805460ff191690556115db6107e38e6014611867565b99506115e88a6003611899565b98506115f86107e38e6005611867565b97506116048a8a611234565b96506116136113758e8c611234565b9550611621600454896119b4565b60045561162d866118b0565b945068010000000000000000870293506000851180156116575750600b5461165586826119b4565b115b151561166257600080fd5b600160a060020a038c161580159061168c575033600160a060020a03168c600160a060020a031614155b80156116b25750600554600160a060020a038d1660009081526007602052604090205410155b156116f857600160a060020a038c166000908152600860205260409020546116da908a6119b4565b600160a060020a038d16600090815260086020526040902055611713565b611702878a6119b4565b965068010000000000000000870293505b6000600b5411156117775761172a600b54866119b4565b600b81905568010000000000000000880281151561174457fe5b600c8054929091049091019055600b5468010000000000000000880281151561176957fe5b04850284038403935061177d565b600b8590555b600160a060020a0333166000908152600760205260409020546117a090866119b4565b6007600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600c5402039250826009600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b60008083151561187a5760009150610f17565b5082820282848281151561188a57fe5b041461189257fe5b9392505050565b60008082848115156118a757fe5b04949350505050565b600b546000906b204fce5e3e25026110000000908290633b9aca0061192f6119297259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d2100000000000000016119c3565b85611234565b81151561193857fe5b0403949350505050565b600b54600090670de0b6b3a7640000838101918101908390611999640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca000281151561199357fe5b04611234565b8115156119a257fe5b0495945050505050565b6000903b1190565b60008282018381101561189257fe5b80600260018201045b81811015610bb85780915060028182858115156119e557fe5b04018115156119f057fe5b0490506119cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a3957805160ff1916838001178555611a66565b82800160010185558215611a66579182015b82811115611a66578251825591602001919060010190611a4b565b50610d6f926108289250905b80821115610d6f5760008155600101611a725600a165627a7a7230582014d96fec83bc9cf55f3890485556a1a5d776280bd037e5612f9f3a12bf244e0d0029

Swarm Source

bzzr://14d96fec83bc9cf55f3890485556a1a5d776280bd037e5612f9f3a12bf244e0d
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.