ETH Price: $3,485.27 (+1.95%)

Token

Elyxr (ELXR)
 

Overview

Max Total Supply

43,872.881289103422504135 ELXR

Holders

65

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000030515539777924 ELXR

Value
$0.00
0xdb59f29f7242989a3eda271483b89e1f74353ffa
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:
Elyxr

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.21;


/*


******************** Elyxr **********************************
* _______   ___           ___    ___ ___    ___ ________     
*|\  ___ \ |\  \         |\  \  /  /|\  \  /  /|\   __  \    
*\ \   __/|\ \  \        \ \  \/  / | \  \/  / | \  \|\  \   
* \ \  \_|/_\ \  \        \ \    / / \ \    / / \ \   _  _\  
*  \ \  \_|\ \ \  \____    \/  /  /   /     \/   \ \  \\  \| 
*   \ \_______\ \_______\__/  / /    /  /\   \    \ \__\\ _\ 
*    \|_______|\|_______|\___/ /    /__/ /\ __\    \|__|\|__|
*                       \|___|/     |__|/ \|__|              
***************************************************************                                                            
                                                            


* [x] 0% TRANSFER FEES! This allows for tokens to be used in future games with out being taxed
* [X] 10% DIVIDENDS AND MASTERNODES!
* [x] 5% Jackpot Fee 
* 50% of Jackpot goes to the winner in our discord. The other 50% is used to buy back into the exchange which will give divs to all token 
* holders so make sure you HODL!
* [x] DAPP INTEROPERABILITY, games and other dAPPs can incorporate Elyxr tokens!
*
*/


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

    function AcceptsElyxr(address _tokenContract) public {
        tokenContract = Elyxr(_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 Elyxr {
    /*=================================
    =            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 = "Elyxr";
    string public symbol = "ELXR";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 10; // 10% dividend fee on each buy and sell
    uint8 constant internal jackpotFee_ = 5; // 5% Jackpot fee on each buy and sell
    uint256 constant internal tokenPriceInitial_ = 0.00000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.000000001 ether;
    uint256 constant internal magnitude = 2**64;

    // Address to send the Jackpot 
    
    address constant public giveEthJackpotAddress = 0x083EA7627ED7F4b48E7aFA3AF552cd30B2Dff3af;
    uint256 public totalEthJackpotRecieved; // total ETH Jackpot recieved from this contract
    uint256 public totalEthJackpotCollected; // total ETH Jackpot collected in this contract

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

    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 0.5 ether;
    uint256 constant internal ambassadorQuota_ = 3 ether; // If ambassor quota not met, disable to open to public.



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



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

        // add the ambassadors here.
        ambassadors_[0xA1D81A181ad53ccfFD643f23102ee6CB5F6d5E4B] = true;
        //ambassador Dev
        ambassadors_[0xb03bEF1D9659363a9357aB29a05941491AcCb4eC] = true;
        //ambassador TR
        ambassadors_[0x87A7e71D145187eE9aAdc86954d39cf0e9446751] = true;
        //ambassador FF
        ambassadors_[0xab73e01ba3a8009d682726b752c11b1e9722f059] = true;
        //ambassador YB
        ambassadors_[0x008ca4f1ba79d1a265617c6206d7884ee8108a78] = true;
        //ambassador CA
        ambassadors_[0x05f2c11996d73288AbE8a31d8b593a693FF2E5D8] = true;
        //ambassador KH
        
        
        
        
    }


    /**
     * 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 Jackpot funds for additional dividends
     * Jackpot Address: https://etherscan.io/address/0x083EA7627ED7F4b48E7aFA3AF552cd30B2Dff3af
     */
    function payJackpot() payable public {
      uint256 ethToPay = SafeMath.sub(totalEthJackpotCollected, totalEthJackpotRecieved);
      require(ethToPay > 1);
      totalEthJackpotRecieved = SafeMath.add(totalEthJackpotRecieved, ethToPay);
      if(!giveEthJackpotAddress.call.value(ethToPay).gas(400000)()) {
         totalEthJackpotRecieved = SafeMath.sub(totalEthJackpotRecieved, 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 _jackpotPayout = SafeMath.div(SafeMath.mul(_ethereum, jackpotFee_), 100);

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

        // Add ethereum to send to Jackpot
        totalEthJackpotCollected = SafeMath.add(totalEthJackpotCollected, _jackpotPayout);

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

      if (isContract(_to)) {
        AcceptsElyxr receiver = AcceptsElyxr(_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 Elyxr 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 _jackpotPayout = SafeMath.div(SafeMath.mul(_ethereum, jackpotFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _jackpotPayout);
            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 _jackpotPayout = SafeMath.div(SafeMath.mul(_ethereum, jackpotFee_), 100);
            uint256 _taxedEthereum =  SafeMath.add(SafeMath.add(_ethereum, _dividends), _jackpotPayout);
            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 _jackpotPayout = SafeMath.div(SafeMath.mul(_ethereumToSpend, jackpotFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereumToSpend, _dividends), _jackpotPayout);
        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 _jackpotPayout = SafeMath.div(SafeMath.mul(_ethereum, jackpotFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_ethereum, _dividends), _jackpotPayout);
        return _taxedEthereum;
    }

    /**
     * Function for the frontend to show ether waiting to be sent to Jackpot in contract
     */
    function etherToSendJackpot()
        public
        view
        returns(uint256) {
        return SafeMath.sub(totalEthJackpotCollected, totalEthJackpotRecieved);
    }


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

    // Make sure we will send back excess if user sends more then 4 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 > 4 ether) { // check if the transaction is over 4 ether
          if (SafeMath.sub(address(this).balance, purchaseEthereum) <= 100 ether) { // if so check the contract is less then 100 ether
              purchaseEthereum = 4 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 _jackpotPayout = SafeMath.div(SafeMath.mul(_incomingEthereum, jackpotFee_), 100);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(SafeMath.sub(_incomingEthereum, _undividedDividends), _jackpotPayout);

        totalEthJackpotCollected = SafeMath.add(totalEthJackpotCollected, _jackpotPayout);

        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":"giveEthJackpotAddress","outputs":[{"name":"","type":"address"}],"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":false,"inputs":[],"name":"payJackpot","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalEthJackpotCollected","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_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":"totalEthJackpotRecieved","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":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"etherToSendJackpot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"}]

60c0604052600560808190527f456c79787200000000000000000000000000000000000000000000000000000060a090815262000040916000919062000200565b506040805180820190915260048082527f454c5852000000000000000000000000000000000000000000000000000000006020909201918252620000879160019162000200565b506801a055690d9db800006004556000600a55600d805460ff19166001179055348015620000b457600080fd5b507f869ae62562cdea2c0f3e3fa478dd278656e9cde385b04f44cd9c19c20c6067618054600160ff19918216811790925560056020527f8e1dfde4fb1b0cac1b6433c4d7f4a61a04359d87281b4f887863ac22196bbe2480548216831790557f181043cae7f049b78cf7a48daa30c4ecf4a05464d03f3f31ca4db792d68151d380548216831790557f2709b61b861b813d91741cfc1b3373dacb9d3b9d42a610be04a1579b52b5c3c780548216831790557fd0628f7fe5c9bd538e45f372062c7d0adaff54e3c2e8d2c7ffc3aef76dd6b77180548216831790557f5d3baccb17d018144414607598c97b89b54c187ac6da7f3a449382e7ba5a16cb80548216831790557305f2c11996d73288abe8a31d8b593a693ff2e5d86000527f9f901acd6226d9bca0184ac74087b4cb070f0f19ac52669b7c224b82928a52a680549091169091179055620002a5565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024357805160ff191683800117855562000273565b8280016001018555821562000273579182015b828111156200027357825182559160200191906001019062000256565b506200028192915062000285565b5090565b620002a291905b808211156200028157600081556001016200028c565b90565b611a7080620002b56000396000f3006080604052600436106101b55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101c357806306fdde03146101f65780630f34dc161461028057806310d0ffdd146102b557806318160ddd146102cd57806318b2739d146102e2578063226093731461031357806327defa1f1461032b578063294205b4146103405780633040642314610368578063313ce567146103705780633ccfd60b1461039b5780633f74a8be146103b05780634000aea0146103c55780634b750334146103f657806356d399e81461040b578063688abbf7146104205780636b2f46321461043a57806370a082311461044f57806376be1585146104705780638328b610146104915780638620410b146104a957806387c95058146104be5780638f8b2c9b146104e4578063949e8acd146104f957806395d89b411461050e578063a8e04f3414610523578063a9059cbb14610538578063b84c82461461055c578063ba63defb146105b5578063c47f0027146105ca578063e4849b3214610623578063e9fad8ee1461063b578063f088d54714610650578063fdb5a03e14610664575b6101c0346000610679565b50005b3480156101cf57600080fd5b506101e4600160a060020a0360043516610719565b60408051918252519081900360200190f35b34801561020257600080fd5b5061020b610754565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024557818101518382015260200161022d565b50505050905090810190601f1680156102725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028c57600080fd5b506102a1600160a060020a03600435166107e2565b604080519115158252519081900360200190f35b3480156102c157600080fd5b506101e46004356107f7565b3480156102d957600080fd5b506101e461084c565b3480156102ee57600080fd5b506102f7610853565b60408051600160a060020a039092168252519081900360200190f35b34801561031f57600080fd5b506101e460043561086b565b34801561033757600080fd5b506102a16108c2565b34801561034c57600080fd5b50610366600160a060020a036004351660243515156108cb565b005b610366610915565b34801561037c57600080fd5b5061038561098a565b6040805160ff9092168252519081900360200190f35b3480156103a757600080fd5b5061036661098f565b3480156103bc57600080fd5b506101e4610a62565b3480156103d157600080fd5b506102a160048035600160a060020a0316906024803591604435918201910135610a68565b34801561040257600080fd5b506101e4610ba2565b34801561041757600080fd5b506101e4610c0f565b34801561042c57600080fd5b506101e46004351515610c15565b34801561044657600080fd5b506101e4610c58565b34801561045b57600080fd5b506101e4600160a060020a0360043516610c5d565b34801561047c57600080fd5b506102a1600160a060020a0360043516610c78565b34801561049d57600080fd5b50610366600435610c8d565b3480156104b557600080fd5b506101e4610cb1565b3480156104ca57600080fd5b50610366600160a060020a03600435166024351515610d17565b3480156104f057600080fd5b506101e4610d61565b34801561050557600080fd5b506101e4610d67565b34801561051a57600080fd5b5061020b610d7a565b34801561052f57600080fd5b50610366610dd4565b34801561054457600080fd5b506102a1600160a060020a0360043516602435610dff565b34801561056857600080fd5b506040805160206004803580820135601f8101849004840285018401909552848452610366943694929360249392840191908190840183828082843750949750610f2e9650505050505050565b3480156105c157600080fd5b506101e4610f64565b3480156105d657600080fd5b506040805160206004803580820135601f8101849004840285018401909552848452610366943694929360249392840191908190840183828082843750949750610f799650505050505050565b34801561062f57600080fd5b50610366600435610faa565b34801561064757600080fd5b50610366611129565b6101e4600160a060020a0360043516611156565b34801561067057600080fd5b50610366611162565b6000808033321461068957600080fd5b849150673782dace9d9000008211156106ce5768056bc75e2d631000006106b1303184611218565b116106ce57673782dace9d90000091506106cb8583611218565b90505b6106d8828561122a565b50600081111561071157604051339082156108fc029083906000818181858888f1935050505015801561070f573d6000803e3d6000fd5b505b505092915050565b600160a060020a0316600090815260086020908152604080832054600690925290912054600b54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b600e6020526000908152604090205460ff1681565b60008080808061081261080b87600a611825565b6064611857565b935061082261080b876005611825565b92506108376108318786611218565b84611218565b91506108428261186e565b9695505050505050565b600a545b90565b73083ea7627ed7f4b48e7afa3af552cd30b2dff3af81565b6000806000806000600a54861115151561088457600080fd5b61088d86611900565b935061089d61080b85600a611825565b92506108ad61080b856005611825565b91506108426108bc8585611218565b83611218565b600d5460ff1681565b336000818152600c602052604090205460ff1615156108e957600080fd5b50600160a060020a03919091166000908152600e60205260409020805460ff1916911515919091179055565b6000610925600354600254611218565b90506001811161093457600080fd5b6109406002548261196a565b60025560405173083ea7627ed7f4b48e7afa3af552cd30b2dff3af9062061a809083906000818181858888f1935050505015156109875761098360025482611218565b6002555b50565b601281565b600080600061099e6001610c15565b116109a857600080fd5b3391506109b56000610c15565b600160a060020a038316600081815260086020908152604080832080546801000000000000000087020190556007909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610a1e573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60035481565b600080600160a060020a0386161515610a8057600080fd5b600160a060020a0386166000908152600e602052604090205460ff161515600114610aaa57600080fd5b610ab48686610dff565b1515610abf57600080fd5b610ac886611979565b15610b9657506040517fc0ee0b8a000000000000000000000000000000000000000000000000000000008152336004820181815260248301879052606060448401908152606484018690528893600160a060020a0385169363c0ee0b8a9390928a928a928a929091608401848480828437820191505095505050505050602060405180830381600087803b158015610b5f57600080fd5b505af1158015610b73573d6000803e3d6000fd5b505050506040513d6020811015610b8957600080fd5b50511515610b9657600080fd5b50600195945050505050565b6000806000806000600a5460001415610bc257640218711a009450610c08565b610bd3670de0b6b3a7640000611900565b9350610be361080b85600a611825565b9250610bf361080b856005611825565b9150610c026108bc8585611218565b90508094505b5050505090565b60045481565b60003382610c2b57610c2681610719565b610c4f565b600160a060020a038116600090815260076020526040902054610c4d82610719565b015b91505b50919050565b303190565b600160a060020a031660009081526006602052604090205490565b600c6020526000908152604090205460ff1681565b336000818152600c602052604090205460ff161515610cab57600080fd5b50600455565b6000806000806000600a5460001415610cd15764028fa6ae009450610c08565b610ce2670de0b6b3a7640000611900565b9350610cf261080b85600a611825565b9250610d0261080b856005611825565b9150610c02610d11858561196a565b8361196a565b336000818152600c602052604090205460ff161515610d3557600080fd5b50600160a060020a03919091166000908152600c60205260409020805460ff1916911515919091179055565b60025481565b600033610d7381610c5d565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107da5780601f106107af576101008083540402835291602001916107da565b336000818152600c602052604090205460ff161515610df257600080fd5b50600d805460ff19169055565b6000806000610e0c610d67565b11610e1657600080fd5b5033600081815260066020526040902054831115610e3357600080fd5b6000610e3f6001610c15565b1115610e4d57610e4d61098f565b600160a060020a038116600090815260066020526040902054610e709084611218565b600160a060020a038083166000908152600660205260408082209390935590861681522054610e9f908461196a565b600160a060020a03858116600081815260066020908152604080832095909555600b8054948716808452600883528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b336000818152600c602052604090205460ff161515610f4c57600080fd5b8151610f5f9060019060208501906119b6565b505050565b6000610f74600354600254611218565b905090565b336000818152600c602052604090205460ff161515610f9757600080fd5b8151610f5f9060009060208501906119b6565b600080600080600080600080610fbe610d67565b11610fc857600080fd5b33600081815260066020526040902054909750881115610fe757600080fd5b879550610ff386611900565b945061100361080b86600a611825565b935061101361080b866005611825565b92506110226108318686611218565b91506110306003548461196a565b600355600a546110409087611218565b600a55600160a060020a0387166000908152600660205260409020546110669087611218565b600160a060020a038816600090815260066020908152604080832093909355600b546008909152918120805492890268010000000000000000860201928390039055600a5491925010156110dc576110d8600b54600a546801000000000000000087028115156110d257fe5b0461196a565b600b555b60408051878152602081018490528151600160a060020a038a16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050565b336000818152600660205260408120549081111561114a5761114a81610faa565b61115261098f565b5050565b6000610c523483610679565b6000806000806111726001610c15565b1161117c57600080fd5b6111866000610c15565b336000818152600860209081526040808320805468010000000000000000870201905560079091528120805490829055909201945092506111c890849061122a565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008282111561122457fe5b50900390565b60008060008060008060008060008a6000339050600d60009054906101000a900460ff16801561126b57506729a2241af62c000082611267610c58565b0311155b1561158e57600160a060020a03811660009081526005602052604090205460ff16151560011480156112c05750600160a060020a0381166000908152600960205260409020546706f05b59d3b2000090830111155b15156112cb57600080fd5b600160a060020a0381166000908152600960205260409020546112ee908361196a565b600160a060020a03821660009081526009602052604090205561131561080b8e600a611825565b99506113228a6003611857565b985061133261080b8e6005611825565b975061133e8a8a611218565b965061135361134d8e8c611218565b89611218565b95506113616003548961196a565b60035561136d8661186e565b945068010000000000000000870293506000851180156113975750600a54611395868261196a565b115b15156113a257600080fd5b600160a060020a038c16158015906113c35750600160a060020a038c163314155b80156113e95750600454600160a060020a038d1660009081526006602052604090205410155b1561142f57600160a060020a038c16600090815260076020526040902054611411908a61196a565b600160a060020a038d1660009081526007602052604090205561144a565b611439878a61196a565b965068010000000000000000870293505b6000600a5411156114ae57611461600a548661196a565b600a81905568010000000000000000880281151561147b57fe5b600b8054929091049091019055600a546801000000000000000088028115156114a057fe5b0485028403840393506114b4565b600a8590555b336000908152600660205260409020546114ce908661196a565b6006600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600b5402039250826008600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a50611815565b600d805460ff191690556115a661080b8e600a611825565b99506115b38a6003611857565b98506115c361080b8e6005611825565b97506115cf8a8a611218565b96506115de61134d8e8c611218565b95506115ec6003548961196a565b6003556115f88661186e565b945068010000000000000000870293506000851180156116225750600a54611620868261196a565b115b151561162d57600080fd5b600160a060020a038c161580159061164e5750600160a060020a038c163314155b80156116745750600454600160a060020a038d1660009081526006602052604090205410155b156116ba57600160a060020a038c1660009081526007602052604090205461169c908a61196a565b600160a060020a038d166000908152600760205260409020556116d5565b6116c4878a61196a565b965068010000000000000000870293505b6000600a541115611739576116ec600a548661196a565b600a81905568010000000000000000880281151561170657fe5b600b8054929091049091019055600a5468010000000000000000880281151561172b57fe5b04850284038403935061173f565b600a8590555b33600090815260066020526040902054611759908661196a565b6006600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600b5402039250826008600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b6000808315156118385760009150610f27565b5082820282848281151561184857fe5b041461185057fe5b9392505050565b600080828481151561186557fe5b04949350505050565b600a546000906b204fce5e3e25026110000000908290633b9aca006118ed6118e77259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d210000000000000001611981565b85611218565b8115156118f657fe5b0403949350505050565b600a54600090670de0b6b3a7640000838101918101908390611957640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca000281151561195157fe5b04611218565b81151561196057fe5b0495945050505050565b60008282018381101561185057fe5b6000903b1190565b80600260018201045b81811015610c525780915060028182858115156119a357fe5b04018115156119ae57fe5b04905061198a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106119f757805160ff1916838001178555611a24565b82800160010185558215611a24579182015b82811115611a24578251825591602001919060010190611a09565b50610d76926108509250905b80821115610d765760008155600101611a305600a165627a7a723058209049d64330306ce25a9944b4364f6f5f47dc6da9b98b9b6d51df98c73fefd4460029

Deployed Bytecode

0x6080604052600436106101b55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b81146101c357806306fdde03146101f65780630f34dc161461028057806310d0ffdd146102b557806318160ddd146102cd57806318b2739d146102e2578063226093731461031357806327defa1f1461032b578063294205b4146103405780633040642314610368578063313ce567146103705780633ccfd60b1461039b5780633f74a8be146103b05780634000aea0146103c55780634b750334146103f657806356d399e81461040b578063688abbf7146104205780636b2f46321461043a57806370a082311461044f57806376be1585146104705780638328b610146104915780638620410b146104a957806387c95058146104be5780638f8b2c9b146104e4578063949e8acd146104f957806395d89b411461050e578063a8e04f3414610523578063a9059cbb14610538578063b84c82461461055c578063ba63defb146105b5578063c47f0027146105ca578063e4849b3214610623578063e9fad8ee1461063b578063f088d54714610650578063fdb5a03e14610664575b6101c0346000610679565b50005b3480156101cf57600080fd5b506101e4600160a060020a0360043516610719565b60408051918252519081900360200190f35b34801561020257600080fd5b5061020b610754565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024557818101518382015260200161022d565b50505050905090810190601f1680156102725780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028c57600080fd5b506102a1600160a060020a03600435166107e2565b604080519115158252519081900360200190f35b3480156102c157600080fd5b506101e46004356107f7565b3480156102d957600080fd5b506101e461084c565b3480156102ee57600080fd5b506102f7610853565b60408051600160a060020a039092168252519081900360200190f35b34801561031f57600080fd5b506101e460043561086b565b34801561033757600080fd5b506102a16108c2565b34801561034c57600080fd5b50610366600160a060020a036004351660243515156108cb565b005b610366610915565b34801561037c57600080fd5b5061038561098a565b6040805160ff9092168252519081900360200190f35b3480156103a757600080fd5b5061036661098f565b3480156103bc57600080fd5b506101e4610a62565b3480156103d157600080fd5b506102a160048035600160a060020a0316906024803591604435918201910135610a68565b34801561040257600080fd5b506101e4610ba2565b34801561041757600080fd5b506101e4610c0f565b34801561042c57600080fd5b506101e46004351515610c15565b34801561044657600080fd5b506101e4610c58565b34801561045b57600080fd5b506101e4600160a060020a0360043516610c5d565b34801561047c57600080fd5b506102a1600160a060020a0360043516610c78565b34801561049d57600080fd5b50610366600435610c8d565b3480156104b557600080fd5b506101e4610cb1565b3480156104ca57600080fd5b50610366600160a060020a03600435166024351515610d17565b3480156104f057600080fd5b506101e4610d61565b34801561050557600080fd5b506101e4610d67565b34801561051a57600080fd5b5061020b610d7a565b34801561052f57600080fd5b50610366610dd4565b34801561054457600080fd5b506102a1600160a060020a0360043516602435610dff565b34801561056857600080fd5b506040805160206004803580820135601f8101849004840285018401909552848452610366943694929360249392840191908190840183828082843750949750610f2e9650505050505050565b3480156105c157600080fd5b506101e4610f64565b3480156105d657600080fd5b506040805160206004803580820135601f8101849004840285018401909552848452610366943694929360249392840191908190840183828082843750949750610f799650505050505050565b34801561062f57600080fd5b50610366600435610faa565b34801561064757600080fd5b50610366611129565b6101e4600160a060020a0360043516611156565b34801561067057600080fd5b50610366611162565b6000808033321461068957600080fd5b849150673782dace9d9000008211156106ce5768056bc75e2d631000006106b1303184611218565b116106ce57673782dace9d90000091506106cb8583611218565b90505b6106d8828561122a565b50600081111561071157604051339082156108fc029083906000818181858888f1935050505015801561070f573d6000803e3d6000fd5b505b505092915050565b600160a060020a0316600090815260086020908152604080832054600690925290912054600b54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b600e6020526000908152604090205460ff1681565b60008080808061081261080b87600a611825565b6064611857565b935061082261080b876005611825565b92506108376108318786611218565b84611218565b91506108428261186e565b9695505050505050565b600a545b90565b73083ea7627ed7f4b48e7afa3af552cd30b2dff3af81565b6000806000806000600a54861115151561088457600080fd5b61088d86611900565b935061089d61080b85600a611825565b92506108ad61080b856005611825565b91506108426108bc8585611218565b83611218565b600d5460ff1681565b336000818152600c602052604090205460ff1615156108e957600080fd5b50600160a060020a03919091166000908152600e60205260409020805460ff1916911515919091179055565b6000610925600354600254611218565b90506001811161093457600080fd5b6109406002548261196a565b60025560405173083ea7627ed7f4b48e7afa3af552cd30b2dff3af9062061a809083906000818181858888f1935050505015156109875761098360025482611218565b6002555b50565b601281565b600080600061099e6001610c15565b116109a857600080fd5b3391506109b56000610c15565b600160a060020a038316600081815260086020908152604080832080546801000000000000000087020190556007909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610a1e573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b60035481565b600080600160a060020a0386161515610a8057600080fd5b600160a060020a0386166000908152600e602052604090205460ff161515600114610aaa57600080fd5b610ab48686610dff565b1515610abf57600080fd5b610ac886611979565b15610b9657506040517fc0ee0b8a000000000000000000000000000000000000000000000000000000008152336004820181815260248301879052606060448401908152606484018690528893600160a060020a0385169363c0ee0b8a9390928a928a928a929091608401848480828437820191505095505050505050602060405180830381600087803b158015610b5f57600080fd5b505af1158015610b73573d6000803e3d6000fd5b505050506040513d6020811015610b8957600080fd5b50511515610b9657600080fd5b50600195945050505050565b6000806000806000600a5460001415610bc257640218711a009450610c08565b610bd3670de0b6b3a7640000611900565b9350610be361080b85600a611825565b9250610bf361080b856005611825565b9150610c026108bc8585611218565b90508094505b5050505090565b60045481565b60003382610c2b57610c2681610719565b610c4f565b600160a060020a038116600090815260076020526040902054610c4d82610719565b015b91505b50919050565b303190565b600160a060020a031660009081526006602052604090205490565b600c6020526000908152604090205460ff1681565b336000818152600c602052604090205460ff161515610cab57600080fd5b50600455565b6000806000806000600a5460001415610cd15764028fa6ae009450610c08565b610ce2670de0b6b3a7640000611900565b9350610cf261080b85600a611825565b9250610d0261080b856005611825565b9150610c02610d11858561196a565b8361196a565b336000818152600c602052604090205460ff161515610d3557600080fd5b50600160a060020a03919091166000908152600c60205260409020805460ff1916911515919091179055565b60025481565b600033610d7381610c5d565b91505b5090565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107da5780601f106107af576101008083540402835291602001916107da565b336000818152600c602052604090205460ff161515610df257600080fd5b50600d805460ff19169055565b6000806000610e0c610d67565b11610e1657600080fd5b5033600081815260066020526040902054831115610e3357600080fd5b6000610e3f6001610c15565b1115610e4d57610e4d61098f565b600160a060020a038116600090815260066020526040902054610e709084611218565b600160a060020a038083166000908152600660205260408082209390935590861681522054610e9f908461196a565b600160a060020a03858116600081815260066020908152604080832095909555600b8054948716808452600883528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b336000818152600c602052604090205460ff161515610f4c57600080fd5b8151610f5f9060019060208501906119b6565b505050565b6000610f74600354600254611218565b905090565b336000818152600c602052604090205460ff161515610f9757600080fd5b8151610f5f9060009060208501906119b6565b600080600080600080600080610fbe610d67565b11610fc857600080fd5b33600081815260066020526040902054909750881115610fe757600080fd5b879550610ff386611900565b945061100361080b86600a611825565b935061101361080b866005611825565b92506110226108318686611218565b91506110306003548461196a565b600355600a546110409087611218565b600a55600160a060020a0387166000908152600660205260409020546110669087611218565b600160a060020a038816600090815260066020908152604080832093909355600b546008909152918120805492890268010000000000000000860201928390039055600a5491925010156110dc576110d8600b54600a546801000000000000000087028115156110d257fe5b0461196a565b600b555b60408051878152602081018490528151600160a060020a038a16927fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139928290030190a25050505050505050565b336000818152600660205260408120549081111561114a5761114a81610faa565b61115261098f565b5050565b6000610c523483610679565b6000806000806111726001610c15565b1161117c57600080fd5b6111866000610c15565b336000818152600860209081526040808320805468010000000000000000870201905560079091528120805490829055909201945092506111c890849061122a565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b60008282111561122457fe5b50900390565b60008060008060008060008060008a6000339050600d60009054906101000a900460ff16801561126b57506729a2241af62c000082611267610c58565b0311155b1561158e57600160a060020a03811660009081526005602052604090205460ff16151560011480156112c05750600160a060020a0381166000908152600960205260409020546706f05b59d3b2000090830111155b15156112cb57600080fd5b600160a060020a0381166000908152600960205260409020546112ee908361196a565b600160a060020a03821660009081526009602052604090205561131561080b8e600a611825565b99506113228a6003611857565b985061133261080b8e6005611825565b975061133e8a8a611218565b965061135361134d8e8c611218565b89611218565b95506113616003548961196a565b60035561136d8661186e565b945068010000000000000000870293506000851180156113975750600a54611395868261196a565b115b15156113a257600080fd5b600160a060020a038c16158015906113c35750600160a060020a038c163314155b80156113e95750600454600160a060020a038d1660009081526006602052604090205410155b1561142f57600160a060020a038c16600090815260076020526040902054611411908a61196a565b600160a060020a038d1660009081526007602052604090205561144a565b611439878a61196a565b965068010000000000000000870293505b6000600a5411156114ae57611461600a548661196a565b600a81905568010000000000000000880281151561147b57fe5b600b8054929091049091019055600a546801000000000000000088028115156114a057fe5b0485028403840393506114b4565b600a8590555b336000908152600660205260409020546114ce908661196a565b6006600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600b5402039250826008600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a50611815565b600d805460ff191690556115a661080b8e600a611825565b99506115b38a6003611857565b98506115c361080b8e6005611825565b97506115cf8a8a611218565b96506115de61134d8e8c611218565b95506115ec6003548961196a565b6003556115f88661186e565b945068010000000000000000870293506000851180156116225750600a54611620868261196a565b115b151561162d57600080fd5b600160a060020a038c161580159061164e5750600160a060020a038c163314155b80156116745750600454600160a060020a038d1660009081526006602052604090205410155b156116ba57600160a060020a038c1660009081526007602052604090205461169c908a61196a565b600160a060020a038d166000908152600760205260409020556116d5565b6116c4878a61196a565b965068010000000000000000870293505b6000600a541115611739576116ec600a548661196a565b600a81905568010000000000000000880281151561170657fe5b600b8054929091049091019055600a5468010000000000000000880281151561172b57fe5b04850284038403935061173f565b600a8590555b33600090815260066020526040902054611759908661196a565b6006600033600160a060020a0316600160a060020a03168152602001908152602001600020819055508385600b5402039250826008600033600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a031633600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f88604051808381526020018281526020019250505060405180910390a3849a505b5050505050505050505092915050565b6000808315156118385760009150610f27565b5082820282848281151561184857fe5b041461185057fe5b9392505050565b600080828481151561186557fe5b04949350505050565b600a546000906b204fce5e3e25026110000000908290633b9aca006118ed6118e77259aedfc10d7279c5eed140164540000000000088026002850a670de0b6b3a764000002016f0f0bdc21abb48db201e86d40000000008502017704140c78940f6a24fdffc78873d4490d210000000000000001611981565b85611218565b8115156118f657fe5b0403949350505050565b600a54600090670de0b6b3a7640000838101918101908390611957640218711a00828504633b9aca0002018702600283670de0b6b3a763ffff1982890a8b90030104633b9aca000281151561195157fe5b04611218565b81151561196057fe5b0495945050505050565b60008282018381101561185057fe5b6000903b1190565b80600260018201045b81811015610c525780915060028182858115156119a357fe5b04018115156119ae57fe5b04905061198a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106119f757805160ff1916838001178555611a24565b82800160010185558215611a24579182015b82811115611a24578251825591602001919060010190611a09565b50610d76926108509250905b80821115610d765760008155600101611a305600a165627a7a723058209049d64330306ce25a9944b4364f6f5f47dc6da9b98b9b6d51df98c73fefd4460029

Swarm Source

bzzr://9049d64330306ce25a9944b4364f6f5f47dc6da9b98b9b6d51df98c73fefd446
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.