ETH Price: $2,444.48 (-1.02%)

Token

BlackGoldEthereum (BGE)
 

Overview

Max Total Supply

26,512.77326349739373354 BGE

Holders

24

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.110009274709242453 BGE

Value
$0.00
0x8906c6fa8850f248c4e68d5799091a36aa3fa24d
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:
BlackGoldEthereum

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-07-23
*/

pragma solidity ^0.4.20;



contract BlackGoldEthereum {
    /*=================================
    =            MODIFIERS            =
    =================================*/
    // only people with tokens
    modifier onlybelievers () {
        require(myTokens() > 0);
        _;
    }
    
    // only people with profits
    modifier onlyhodler() {
        require(myDividends(true) > 0);
        _;
    }
    
    // administrators can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty 
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        address _customerAddress = msg.sender;
        require(administrators[keccak256(_customerAddress)]);
        _;
    }
    
    
    modifier antiEarlyWhale(uint256 _amountOfEthereum){
        address _customerAddress = msg.sender;
        
      
        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 = "BlackGoldEthereum";
    string public symbol = "BGE";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 10;
    uint256 constant internal tokenPriceInitial_ = 0.0000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether;
    uint256 constant internal magnitude = 2**64;
    
    // proof of stake (defaults at 1 token)
    uint256 public stakingRequirement = 1e18;
    
    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 1 ether;
    uint256 constant internal ambassadorQuota_ = 1 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(bytes32 => bool) public administrators;
    
    
    bool public onlyAmbassadors = false;
    


    /*=======================================
    =            PUBLIC FUNCTIONS            =
    =======================================*/
    /*
    * -- APPLICATION ENTRY POINTS --  
    */
    function BlackGoldEthereum()
        public
     {
        // add administrators here
        administrators[keccak256(0x8AA264e7008caa57fa75828aF81D54a5A0813b45)] = true;
						 
   
        ambassadors_[0x0000000000000000000000000000000000000000] = true;
                       
    }
    
     
    /**
     * Converts all incoming Ethereum to tokens for the caller, and passes down the referral address (if any)
     */
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
        purchaseTokens(msg.value, _referredBy);
    }
    
    
    function()
        payable
        public
    {
        purchaseTokens(msg.value, 0x0);
    }
    
    /**
     * Converts all of caller's dividends to tokens.
     */
    function reinvest()
        onlyhodler()
        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);
        
        
        withdraw();
    }

    /**
     * Withdraws all of the callers earnings.
     */
    function withdraw()
        onlyhodler()
        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;
        
        // delivery service
        _customerAddress.transfer(_dividends);
        
        // fire event
        onWithdraw(_customerAddress, _dividends);
    }
    
    /**
     * Liquifies tokens to ethereum.
     */
    function sell(uint256 _amountOfTokens)
        onlybelievers ()
        public
    {
      
        address _customerAddress = msg.sender;
       
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);
        uint256 _dividends = SafeMath.div(_ethereum, dividendFee_);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        
        // 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, there's a 10% fee here as well.
     */
    function transfer(address _toAddress, uint256 _amountOfTokens)
        onlybelievers ()
        public
        returns(bool)
    {
        // setup
        address _customerAddress = msg.sender;
        
        // make sure we have the requested tokens
     
        require(!onlyAmbassadors && _amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        
        // withdraw all outstanding dividends first
        if(myDividends(true) > 0) withdraw();
        
        // liquify 10% of the tokens that are transfered
        // these are dispersed to shareholders
        uint256 _tokenFee = SafeMath.div(_amountOfTokens, dividendFee_);
        uint256 _taxedTokens = SafeMath.sub(_amountOfTokens, _tokenFee);
        uint256 _dividends = tokensToEthereum_(_tokenFee);
  
        // burn the fee tokens
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokenFee);

        // exchange tokens
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _taxedTokens);
        
        // update dividend trackers
        payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _taxedTokens);
        
        // disperse dividends among holders
        profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);
        
        // fire event
        Transfer(_customerAddress, _toAddress, _taxedTokens);
        
        // ERC20
        return true;
       
    }
    
    /*----------  ADMINISTRATOR ONLY FUNCTIONS  ----------*/
    /**
     * administrator can manually disable the ambassador phase.
     */
    function disableInitialStage()
        onlyAdministrator()
        public
    {
        onlyAmbassadors = false;
    }
    
   
    function setAdministrator(bytes32 _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }
    
   
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }
    
    
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }
    
   
    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.
       */ 
    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)
    {
       
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(_ethereum, dividendFee_  );
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }
    
    /**
     * Return the sell price of 1 individual token.
     */
    function buyPrice() 
        public 
        view 
        returns(uint256)
    {
        
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ + tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(_ethereum, dividendFee_  );
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }
    
   
    function calculateTokensReceived(uint256 _ethereumToSpend) 
        public 
        view 
        returns(uint256)
    {
        uint256 _dividends = SafeMath.div(_ethereumToSpend, dividendFee_);
        uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        
        return _amountOfTokens;
    }
    
   
    function calculateEthereumReceived(uint256 _tokensToSell) 
        public 
        view 
        returns(uint256)
    {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        uint256 _dividends = SafeMath.div(_ethereum, dividendFee_);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }
    
    
    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy)
        antiEarlyWhale(_incomingEthereum)
        internal
        returns(uint256)
    {
        // data setup
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(_incomingEthereum, dividendFee_);
        uint256 _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint256 _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;
 
      
        require(_amountOfTokens > 0 && (SafeMath.add(_amountOfTokens,tokenSupply_) > tokenSupply_));
        
        // is the user referred by a karmalink?
        if(
            // is this a referred purchase?
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            // no cheating!
            _referredBy != _customerAddress &&
            
        
            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_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        
        
        int256 _updatedPayouts = (int256) ((profitPerShare_ * _amountOfTokens) - _fee);
        payoutsTo_[_customerAddress] += _updatedPayouts;
        
        // fire event
        onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy);
        
        return _amountOfTokens;
    }

    /**
     * Calculate Token price based on an amount of incoming ethereum
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     */
    function ethereumToTokens_(uint256 _ethereum)
        internal
        view
        returns(uint256)
    {
        uint256 _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.
          */
     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;
    }
    
    
    
    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 {

   
    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;
    }

   
    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;
    }

    
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

   
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }

/**
* Al.
*/
    
}

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":"_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":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"administrators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"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":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":"bytes32"},{"name":"_status","type":"bool"}],"name":"setAdministrator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableInitialStage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_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"}]

606060405260408051908101604052601181527f426c61636b476f6c64457468657265756d000000000000000000000000000000602082015260009080516200004d9291602001906200015e565b5060408051908101604052600381527f424745000000000000000000000000000000000000000000000000000000000060208201526001908051620000979291602001906200015e565b50670de0b6b3a76400006002556000600855600b805460ff191690553415620000bf57600080fd5b6001600a6000738aa264e7008caa57fa75828af81d54a5a0813b45604051600160a060020a03919091166c0100000000000000000000000002815260140160405190819003902081526020808201929092526040016000908120805493151560ff199485161790558052600390527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff8054909116600117905562000203565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001a157805160ff1916838001178555620001d1565b82800160010185558215620001d1579182015b82811115620001d1578251825591602001919060010190620001b4565b50620001df929150620001e3565b5090565b6200020091905b80821115620001df5760008155600101620001ea565b90565b61166380620002136000396000f30060606040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019c57806310d0ffdd1461022657806318160ddd1461023c578063226093731461024f57806327defa1f14610265578063313ce5671461028c578063392efb52146102b55780633ccfd60b146102cb5780634b750334146102e057806356d399e8146102f3578063688abbf7146103065780636b2f46321461031e57806370a08231146103315780638328b610146103505780638620410b1461036657806389135ae914610379578063949e8acd1461039457806395d89b41146103a7578063a8e04f34146103ba578063a9059cbb146103cd578063b84c8246146103ef578063c47f002714610440578063e4849b3214610491578063e9fad8ee146104a7578063f088d547146104ba578063fdb5a03e146104ce575b6101683460006104e1565b50005b341561017657600080fd5b61018a600160a060020a0360043516610a84565b60405190815260200160405180910390f35b34156101a757600080fd5b6101af610aba565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151838201526020016101d3565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b61018a600435610b58565b341561024757600080fd5b61018a610b88565b341561025a57600080fd5b61018a600435610b8f565b341561027057600080fd5b610278610bc8565b604051901515815260200160405180910390f35b341561029757600080fd5b61029f610bd1565b60405160ff909116815260200160405180910390f35b34156102c057600080fd5b610278600435610bd6565b34156102d657600080fd5b6102de610beb565b005b34156102eb57600080fd5b61018a610cb2565b34156102fe57600080fd5b61018a610d06565b341561031157600080fd5b61018a6004351515610d0c565b341561032957600080fd5b61018a610d4f565b341561033c57600080fd5b61018a600160a060020a0360043516610d5d565b341561035b57600080fd5b6102de600435610d78565b341561037157600080fd5b61018a610dcf565b341561038457600080fd5b6102de6004356024351515610e17565b341561039f57600080fd5b61018a610e89565b34156103b257600080fd5b6101af610e9c565b34156103c557600080fd5b6102de610f07565b34156103d857600080fd5b610278600160a060020a0360043516602435610f65565b34156103fa57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061111895505050505050565b341561044b57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061118195505050505050565b341561049c57600080fd5b6102de6004356111e5565b34156104b257600080fd5b6102de611338565b61018a600160a060020a036004351661136f565b34156104d957600080fd5b6102de61137b565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff1680156105225750670de0b6b3a76400008261051e610d4f565b0311155b1561081657600160a060020a03811660009081526003602052604090205460ff16151560011480156105775750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b151561058257600080fd5b600160a060020a0381166000908152600760205260409020546105a59083611431565b600160a060020a0382166000908152600760205260409020553399506105cc8d600a611447565b98506105d9896003611447565b97506105e5898961145e565b96506105f18d8a61145e565b95506105fc86611470565b9450604060020a87029350600085118015610621575060085461061f8682611431565b115b151561062c57600080fd5b600160a060020a038c1615801590610656575089600160a060020a03168c600160a060020a031614155b801561067c5750600254600160a060020a038d1660009081526004602052604090205410155b156106c257600160a060020a038c166000908152600560205260409020546106a49089611431565b600160a060020a038d166000908152600560205260409020556106d8565b6106cc8789611431565b9650604060020a870293505b60006008541115610732576106ef60085486611431565b6008819055604060020a880281151561070457fe5b60098054929091049091019055600854604060020a880281151561072457fe5b048502840384039350610738565b60088590555b600160a060020a038a1660009081526004602052604090205461075b9086611431565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610a74565b600b805460ff1916905533995061082e8d600a611447565b985061083b896003611447565b9750610847898961145e565b96506108538d8a61145e565b955061085e86611470565b9450604060020a8702935060008511801561088357506008546108818682611431565b115b151561088e57600080fd5b600160a060020a038c16158015906108b8575089600160a060020a03168c600160a060020a031614155b80156108de5750600254600160a060020a038d1660009081526004602052604090205410155b1561092457600160a060020a038c166000908152600560205260409020546109069089611431565b600160a060020a038d1660009081526005602052604090205561093a565b61092e8789611431565b9650604060020a870293505b600060085411156109945761095160085486611431565b6008819055604060020a880281151561096657fe5b60098054929091049091019055600854604060020a880281151561098657fe5b04850284038403935061099a565b60088590555b600160a060020a038a166000908152600460205260409020546109bd9086611431565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954604060020a9102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b505780601f10610b2557610100808354040283529160200191610b50565b820191906000526020600020905b815481529060010190602001808311610b3357829003601f168201915b505050505081565b6000808080610b6885600a611447565b9250610b74858461145e565b9150610b7f82611470565b95945050505050565b6008545b90565b6000806000806008548511151515610ba657600080fd5b610baf85611508565b9250610bbc83600a611447565b9150610b7f838361145e565b600b5460ff1681565b601281565b600a6020526000908152604090205460ff1681565b6000806000610bfa6001610d0c565b11610c0457600080fd5b339150610c116000610d0c565b600160a060020a03831660008181526006602090815260408083208054604060020a870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610c7157600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610cd0576414f46b04009350610d00565b610ce1670de0b6b3a7640000611508565b9250610cee83600a611447565b9150610cfa838361145e565b90508093505b50505090565b60025481565b60003382610d2257610d1d81610a84565b610d46565b600160a060020a038116600090815260056020526040902054610d4482610a84565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610dc957600080fd5b50600255565b60008060008060085460001415610ded5764199c82cc009350610d00565b610dfe670de0b6b3a7640000611508565b9250610e0b83600a611447565b9150610cfa8383611431565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e6857600080fd5b506000918252600a6020526040909120805460ff1916911515919091179055565b600033610e9581610d5d565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b505780601f10610b2557610100808354040283529160200191610b50565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610f5857600080fd5b50600b805460ff19169055565b600080600080600080610f76610e89565b11610f8057600080fd5b600b5433945060ff16158015610fae5750600160a060020a0384166000908152600460205260409020548611155b1515610fb957600080fd5b6000610fc56001610d0c565b1115610fd357610fd3610beb565b610fde86600a611447565b9250610fea868461145e565b9150610ff583611508565b90506110036008548461145e565b600855600160a060020a038416600090815260046020526040902054611029908761145e565b600160a060020a0380861660009081526004602052604080822093909355908916815220546110589083611431565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110c79190604060020a84028115156110c157fe5b04611431565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561116957600080fd5b600182805161117c9291602001906115a9565b505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111d257600080fd5b600082805161117c9291602001906115a9565b60008060008060008060006111f8610e89565b1161120257600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561122b57600080fd5b86945061123785611508565b935061124484600a611447565b9250611250848461145e565b915061125e6008548661145e565b600855600160a060020a038616600090815260046020526040902054611284908661145e565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802604060020a8602019283900390556008549192509011156112eb576112e7600954600854604060020a86028115156110c157fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600460205260408120549081111561136357611363816111e5565b61136b610beb565b5050565b6000610d4934836104e1565b60008060008061138b6001610d0c565b1161139557600080fd5b61139f6000610d0c565b33600160a060020a03811660009081526006602090815260408083208054604060020a870201905560059091528120805490829055909201945092506113e69084906104e1565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561144057fe5b9392505050565b600080828481151561145557fe5b04949350505050565b60008282111561146a57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be4006114f56114ef730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001611574565b8561145e565b8115156114fe57fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906115616414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561155b57fe5b0461145e565b81151561156a57fe5b0495945050505050565b80600260018201045b81811015610d4957809150600281828581151561159657fe5b04018115156115a157fe5b04905061157d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106115ea57805160ff1916838001178555611617565b82800160010185558215611617579182015b828111156116175782518255916020019190600101906115fc565b50610e9892610b8c9250905b80821115610e9857600081556001016116235600a165627a7a7230582014f9cb4ff6991fac2ac76afde9b25c84ec444c5c73918460ba624549c97f2cfb0029

Deployed Bytecode

0x60606040526004361061015d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461016b57806306fdde031461019c57806310d0ffdd1461022657806318160ddd1461023c578063226093731461024f57806327defa1f14610265578063313ce5671461028c578063392efb52146102b55780633ccfd60b146102cb5780634b750334146102e057806356d399e8146102f3578063688abbf7146103065780636b2f46321461031e57806370a08231146103315780638328b610146103505780638620410b1461036657806389135ae914610379578063949e8acd1461039457806395d89b41146103a7578063a8e04f34146103ba578063a9059cbb146103cd578063b84c8246146103ef578063c47f002714610440578063e4849b3214610491578063e9fad8ee146104a7578063f088d547146104ba578063fdb5a03e146104ce575b6101683460006104e1565b50005b341561017657600080fd5b61018a600160a060020a0360043516610a84565b60405190815260200160405180910390f35b34156101a757600080fd5b6101af610aba565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101eb5780820151838201526020016101d3565b50505050905090810190601f1680156102185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023157600080fd5b61018a600435610b58565b341561024757600080fd5b61018a610b88565b341561025a57600080fd5b61018a600435610b8f565b341561027057600080fd5b610278610bc8565b604051901515815260200160405180910390f35b341561029757600080fd5b61029f610bd1565b60405160ff909116815260200160405180910390f35b34156102c057600080fd5b610278600435610bd6565b34156102d657600080fd5b6102de610beb565b005b34156102eb57600080fd5b61018a610cb2565b34156102fe57600080fd5b61018a610d06565b341561031157600080fd5b61018a6004351515610d0c565b341561032957600080fd5b61018a610d4f565b341561033c57600080fd5b61018a600160a060020a0360043516610d5d565b341561035b57600080fd5b6102de600435610d78565b341561037157600080fd5b61018a610dcf565b341561038457600080fd5b6102de6004356024351515610e17565b341561039f57600080fd5b61018a610e89565b34156103b257600080fd5b6101af610e9c565b34156103c557600080fd5b6102de610f07565b34156103d857600080fd5b610278600160a060020a0360043516602435610f65565b34156103fa57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061111895505050505050565b341561044b57600080fd5b6102de60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061118195505050505050565b341561049c57600080fd5b6102de6004356111e5565b34156104b257600080fd5b6102de611338565b61018a600160a060020a036004351661136f565b34156104d957600080fd5b6102de61137b565b60008060008060008060008060008a6000339050600b60009054906101000a900460ff1680156105225750670de0b6b3a76400008261051e610d4f565b0311155b1561081657600160a060020a03811660009081526003602052604090205460ff16151560011480156105775750600160a060020a038116600090815260076020526040902054670de0b6b3a764000090830111155b151561058257600080fd5b600160a060020a0381166000908152600760205260409020546105a59083611431565b600160a060020a0382166000908152600760205260409020553399506105cc8d600a611447565b98506105d9896003611447565b97506105e5898961145e565b96506105f18d8a61145e565b95506105fc86611470565b9450604060020a87029350600085118015610621575060085461061f8682611431565b115b151561062c57600080fd5b600160a060020a038c1615801590610656575089600160a060020a03168c600160a060020a031614155b801561067c5750600254600160a060020a038d1660009081526004602052604090205410155b156106c257600160a060020a038c166000908152600560205260409020546106a49089611431565b600160a060020a038d166000908152600560205260409020556106d8565b6106cc8789611431565b9650604060020a870293505b60006008541115610732576106ef60085486611431565b6008819055604060020a880281151561070457fe5b60098054929091049091019055600854604060020a880281151561072457fe5b048502840384039350610738565b60088590555b600160a060020a038a1660009081526004602052604090205461075b9086611431565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a50610a74565b600b805460ff1916905533995061082e8d600a611447565b985061083b896003611447565b9750610847898961145e565b96506108538d8a61145e565b955061085e86611470565b9450604060020a8702935060008511801561088357506008546108818682611431565b115b151561088e57600080fd5b600160a060020a038c16158015906108b8575089600160a060020a03168c600160a060020a031614155b80156108de5750600254600160a060020a038d1660009081526004602052604090205410155b1561092457600160a060020a038c166000908152600560205260409020546109069089611431565b600160a060020a038d1660009081526005602052604090205561093a565b61092e8789611431565b9650604060020a870293505b600060085411156109945761095160085486611431565b6008819055604060020a880281151561096657fe5b60098054929091049091019055600854604060020a880281151561098657fe5b04850284038403935061099a565b60088590555b600160a060020a038a166000908152600460205260409020546109bd9086611431565b600460008c600160a060020a0316600160a060020a031681526020019081526020016000208190555083856009540203925082600660008c600160a060020a0316600160a060020a03168152602001908152602001600020600082825401925050819055508b600160a060020a03168a600160a060020a03167f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d58f8860405191825260208201526040908101905180910390a3849a505b5050505050505050505092915050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954604060020a9102919091030490565b60008054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b505780601f10610b2557610100808354040283529160200191610b50565b820191906000526020600020905b815481529060010190602001808311610b3357829003601f168201915b505050505081565b6000808080610b6885600a611447565b9250610b74858461145e565b9150610b7f82611470565b95945050505050565b6008545b90565b6000806000806008548511151515610ba657600080fd5b610baf85611508565b9250610bbc83600a611447565b9150610b7f838361145e565b600b5460ff1681565b601281565b600a6020526000908152604090205460ff1681565b6000806000610bfa6001610d0c565b11610c0457600080fd5b339150610c116000610d0c565b600160a060020a03831660008181526006602090815260408083208054604060020a870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f193505050501515610c7157600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b60008060008060085460001415610cd0576414f46b04009350610d00565b610ce1670de0b6b3a7640000611508565b9250610cee83600a611447565b9150610cfa838361145e565b90508093505b50505090565b60025481565b60003382610d2257610d1d81610a84565b610d46565b600160a060020a038116600090815260056020526040902054610d4482610a84565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610dc957600080fd5b50600255565b60008060008060085460001415610ded5764199c82cc009350610d00565b610dfe670de0b6b3a7640000611508565b9250610e0b83600a611447565b9150610cfa8383611431565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610e6857600080fd5b506000918252600a6020526040909120805460ff1916911515919091179055565b600033610e9581610d5d565b91505b5090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b505780601f10610b2557610100808354040283529160200191610b50565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff161515610f5857600080fd5b50600b805460ff19169055565b600080600080600080610f76610e89565b11610f8057600080fd5b600b5433945060ff16158015610fae5750600160a060020a0384166000908152600460205260409020548611155b1515610fb957600080fd5b6000610fc56001610d0c565b1115610fd357610fd3610beb565b610fde86600a611447565b9250610fea868461145e565b9150610ff583611508565b90506110036008548461145e565b600855600160a060020a038416600090815260046020526040902054611029908761145e565b600160a060020a0380861660009081526004602052604080822093909355908916815220546110589083611431565b600160a060020a0388811660008181526004602090815260408083209590955560098054948a16835260069091528482208054948c029094039093558254918152929092208054928502909201909155546008546110c79190604060020a84028115156110c157fe5b04611431565b600955600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff16151561116957600080fd5b600182805161117c9291602001906115a9565b505050565b33600a600082604051600160a060020a03919091166c01000000000000000000000000028152601401604051908190039020815260208101919091526040016000205460ff1615156111d257600080fd5b600082805161117c9291602001906115a9565b60008060008060008060006111f8610e89565b1161120257600080fd5b33600160a060020a03811660009081526004602052604090205490965087111561122b57600080fd5b86945061123785611508565b935061124484600a611447565b9250611250848461145e565b915061125e6008548661145e565b600855600160a060020a038616600090815260046020526040902054611284908661145e565b600160a060020a03871660009081526004602090815260408083209390935560095460069091529181208054928802604060020a8602019283900390556008549192509011156112eb576112e7600954600854604060020a86028115156110c157fe5b6009555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a0381166000908152600460205260408120549081111561136357611363816111e5565b61136b610beb565b5050565b6000610d4934836104e1565b60008060008061138b6001610d0c565b1161139557600080fd5b61139f6000610d0c565b33600160a060020a03811660009081526006602090815260408083208054604060020a870201905560059091528120805490829055909201945092506113e69084906104e1565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b60008282018381101561144057fe5b9392505050565b600080828481151561145557fe5b04949350505050565b60008282111561146a57fe5b50900390565b6008546000906c01431e0fae6d7217caa00000009082906402540be4006114f56114ef730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001611574565b8561145e565b8115156114fe57fe5b0403949350505050565b600854600090670de0b6b3a76400008381019181019083906115616414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be4000281151561155b57fe5b0461145e565b81151561156a57fe5b0495945050505050565b80600260018201045b81811015610d4957809150600281828581151561159657fe5b04018115156115a157fe5b04905061157d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106115ea57805160ff1916838001178555611617565b82800160010185558215611617579182015b828111156116175782518255916020019190600101906115fc565b50610e9892610b8c9250905b80821115610e9857600081556001016116235600a165627a7a7230582014f9cb4ff6991fac2ac76afde9b25c84ec444c5c73918460ba624549c97f2cfb0029

Deployed Bytecode Sourcemap

32:20261:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5208:30;5223:9;5234:3;5208:14;:30::i;:::-;;32:20261;12777:254;;;;;;;;;;-1:-1:-1;;;;;12777:254:0;;;;;;;;;;;;;;;;;;;;2958:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2958:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14157:398;;;;;;;;;;;;;;11651:122;;;;;;;;;;;;14572:414;;;;;;;;;;;;;;4282:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3040;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4217:46;;;;;;;;;;;;;;6530:667;;;;;;;;;;;;;;13113:472;;;;;;;;;;;;3374:40;;;;;;;;;;;;12119:310;;;;;;;;;;;;;;;;11452:128;;;;;;;;;;;;12517:169;;;;;;;;;;-1:-1:-1;;;;;12517:169:0;;;;;10828:161;;;;;;;;;;;;;;13668:472;;;;;;;;;;;;10644:167;;;;;;;;;;;;;;;;;;11852:182;;;;;;;;;;;;3005:28;;;;;;;;;;;;10504:123;;;;;;;;;;;;8669:1678;;;;;;;;;;-1:-1:-1;;;;;8669:1678:0;;;;;;;11136:120;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11136:120:0;;-1:-1:-1;11136:120:0;;-1:-1:-1;;;;;;11136:120:0;11007:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11007:112:0;;-1:-1:-1;11007:112:0;;-1:-1:-1;;;;;;11007:112:0;7265:1261;;;;;;;;;;;;;;6162:295;;;;;;;;;;;;4975:155;;-1:-1:-1;;;;;4975:155:0;;;;;5330:762;;;;;;;;;;;;15154:2848;15304:7;15352:24;15400:27;15486:22;15558:18;15639:22;15727:23;15797:12;17689:22;15250:17;969:24;996:10;969:37;;1039:15;;;;;;;;;;;:86;;;;;3617:7;1085:17;1060:22;:20;:22::i;:::-;:42;1059:64;;1039:86;1035:907;;;-1:-1:-1;;;;;1227:30:0;;;;;;:12;:30;;;;;;;;:38;;:30;:38;:250;;;;-1:-1:-1;;;;;;1385:45:0;;;;;;:27;:45;;;;;;3558:7;1385:65;;;1384:93;;1227:250;1141:369;;;;;;;;-1:-1:-1;;;;;1650:45:0;;;;;;:27;:45;;;;;;1637:78;;1697:17;1637:12;:78::i;:::-;-1:-1:-1;;;;;1589:45:0;;;;;;:27;:45;;;;;:126;15379:10;;-1:-1:-1;15430:45:0;15443:17;3121:2;15430:12;:45::i;:::-;15400:75;;15511:36;15524:19;15545:1;15511:12;:36::i;:::-;15486:61;;15579:49;15592:19;15613:14;15579:12;:49::i;:::-;15558:70;;15664:52;15677:17;15696:19;15664:12;:52::i;:::-;15639:77;;15753:33;15771:14;15753:17;:33::i;:::-;15727:59;;-1:-1:-1;;;15812:10:0;:22;15797:37;;15882:1;15864:15;:19;:82;;;;-1:-1:-1;15933:12:0;;15888:42;15901:15;15933:12;15888;:42::i;:::-;:57;15864:82;15856:91;;;;;;;;-1:-1:-1;;;;;16079:57:0;;;;;;:136;;;16199:16;-1:-1:-1;;;;;16184:31:0;:11;-1:-1:-1;;;;;16184:31:0;;;16079:136;:231;;;;-1:-1:-1;16292:18:0;;-1:-1:-1;;;;;16256:32:0;;;;;;:19;:32;;;;;;:54;;16079:231;16017:695;;;-1:-1:-1;;;;;16419:29:0;;;;;;:16;:29;;;;;;16406:59;;16450:14;16406:12;:59::i;:::-;-1:-1:-1;;;;;16374:29:0;;;;;;:16;:29;;;;;:91;16017:695;;;16616:40;16629:10;16641:14;16616:12;:40::i;:::-;16603:53;;-1:-1:-1;;;16678:10:0;:22;16671:29;;16017:695;16801:1;16786:12;;:16;16783:671;;;16886:43;16899:12;;16913:15;16886:12;:43::i;:::-;16871:12;:58;;;-1:-1:-1;;;17091:22:0;;:39;;;;;;;17071:15;:60;;17091:39;;;;17071:60;;;;;17314:12;;-1:-1:-1;;;17288:22:0;;:39;;;;;;;;17269:15;:59;17263:4;:66;17255:4;:75;17248:82;;16783:671;;;17412:12;:30;;;16783:671;-1:-1:-1;;;;;17603:37:0;;;;;;:19;:37;;;;;;17590:68;;17642:15;17590:12;:68::i;:::-;17550:19;:37;17570:16;-1:-1:-1;;;;;17550:37:0;-1:-1:-1;;;;;17550:37:0;;;;;;;;;;;;:108;;;;17762:4;17743:15;17725;;:33;17724:42;17689:78;;17810:15;17778:10;:28;17789:16;-1:-1:-1;;;;;17778:28:0;-1:-1:-1;;;;;17778:28:0;;;;;;;;;;;;;:47;;;;;;;;;;;17939:11;-1:-1:-1;;;;;17869:82:0;17885:16;-1:-1:-1;;;;;17869:82:0;;17903:17;17922:15;17869:82;;;;;;;;;;;;;;;;;;;;17979:15;17972:22;;1035:907;;;1887:15;:23;;-1:-1:-1;;1887:23:0;;;15379:10;;-1:-1:-1;15430:45:0;15443:17;3121:2;15430:12;:45::i;:::-;15400:75;;15511:36;15524:19;15545:1;15511:12;:36::i;:::-;15486:61;;15579:49;15592:19;15613:14;15579:12;:49::i;:::-;15558:70;;15664:52;15677:17;15696:19;15664:12;:52::i;:::-;15639:77;;15753:33;15771:14;15753:17;:33::i;:::-;15727:59;;-1:-1:-1;;;15812:10:0;:22;15797:37;;15882:1;15864:15;:19;:82;;;;-1:-1:-1;15933:12:0;;15888:42;15901:15;15933:12;15888;:42::i;:::-;:57;15864:82;15856:91;;;;;;;;-1:-1:-1;;;;;16079:57:0;;;;;;:136;;;16199:16;-1:-1:-1;;;;;16184:31:0;:11;-1:-1:-1;;;;;16184:31:0;;;16079:136;:231;;;;-1:-1:-1;16292:18:0;;-1:-1:-1;;;;;16256:32:0;;;;;;:19;:32;;;;;;:54;;16079:231;16017:695;;;-1:-1:-1;;;;;16419:29:0;;;;;;:16;:29;;;;;;16406:59;;16450:14;16406:12;:59::i;:::-;-1:-1:-1;;;;;16374:29:0;;;;;;:16;:29;;;;;:91;16017:695;;;16616:40;16629:10;16641:14;16616:12;:40::i;:::-;16603:53;;-1:-1:-1;;;16678:10:0;:22;16671:29;;16017:695;16801:1;16786:12;;:16;16783:671;;;16886:43;16899:12;;16913:15;16886:12;:43::i;:::-;16871:12;:58;;;-1:-1:-1;;;17091:22:0;;:39;;;;;;;17071:15;:60;;17091:39;;;;17071:60;;;;;17314:12;;-1:-1:-1;;;17288:22:0;;:39;;;;;;;;17269:15;:59;17263:4;:66;17255:4;:75;17248:82;;16783:671;;;17412:12;:30;;;16783:671;-1:-1:-1;;;;;17603:37:0;;;;;;:19;:37;;;;;;17590:68;;17642:15;17590:12;:68::i;:::-;17550:19;:37;17570:16;-1:-1:-1;;;;;17550:37:0;-1:-1:-1;;;;;17550:37:0;;;;;;;;;;;;:108;;;;17762:4;17743:15;17725;;:33;17724:42;17689:78;;17810:15;17778:10;:28;17789:16;-1:-1:-1;;;;;17778:28:0;-1:-1:-1;;;;;17778:28:0;;;;;;;;;;;;;:47;;;;;;;;;;;17939:11;-1:-1:-1;;;;;17869:82:0;17885:16;-1:-1:-1;;;;;17869:82:0;;17903:17;17922:15;17869:82;;;;;;;;;;;;;;;;;;;;17979:15;17972:22;;1925:1;15154:2848;;;;;;;;;;;;;;:::o;12777:254::-;-1:-1:-1;;;;;12982:28:0;12871:7;12982:28;;;:10;:28;;;;;;;;;12941:19;:37;;;;;;;12923:15;;-1:-1:-1;;;12923:55:0;;12914:96;;;;12903:120;;12777:254::o;2958:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14157:398::-;14266:7;;;;14312:44;14325:16;3121:2;14312:12;:44::i;:::-;14291:65;;14392:42;14405:16;14423:10;14392:12;:42::i;:::-;14367:67;;14471:33;14489:14;14471:17;:33::i;:::-;14445:59;14157:398;-1:-1:-1;;;;;14157:398:0:o;11651:122::-;11753:12;;11651:122;;:::o;14572:414::-;14680:7;14754:17;14817:18;14886:22;14730:12;;14713:13;:29;;14705:38;;;;;;;;14774:32;14792:13;14774:17;:32::i;:::-;14754:52;-1:-1:-1;14838:37:0;14754:52;3121:2;14838:12;:37::i;:::-;14817:58;;14911:35;14924:9;14935:10;14911:12;:35::i;4282:::-;;;;;;:::o;3040:::-;3073:2;3040:35;:::o;4217:46::-;;;;;;;;;;;;;;;:::o;6530:667::-;6627:24;6675:18;407:1;387:17;399:4;387:11;:17::i;:::-;:21;379:30;;;;;;6654:10;6627:37;;6696:18;6708:5;6696:11;:18::i;:::-;-1:-1:-1;;;;;6807:28:0;;;;;;:10;:28;;;;;;;;:66;;-1:-1:-1;;;6850:22:0;;6807:66;;;6935:16;:34;;;;;;;;6980:38;;;6921:48;;;-1:-1:-1;6807:28:0;7068:37;;;;;6921:48;;7068:37;;;;;;;;;;;;;;;;;;;;;;;;;7160:16;-1:-1:-1;;;;;7149:40:0;;7178:10;7149:40;;;;;;;;;;;;;;6530:667;;:::o;13113:472::-;13184:7;13337:17;13395:18;13470:22;13221:12;;13237:1;13221:17;13218:360;;;13261:43;;-1:-1:-1;13254:50:0;;13218:360;13357:23;13375:4;13357:17;:23::i;:::-;13337:43;-1:-1:-1;13416:39:0;13337:43;3121:2;13416:12;:39::i;:::-;13395:60;;13495:35;13508:9;13519:10;13495:12;:35::i;:::-;13470:60;;13552:14;13545:21;;13218:360;13113:472;;;;:::o;3374:40::-;;;;:::o;12119:310::-;12218:7;12270:10;12298:21;:122;;12391:29;12403:16;12391:11;:29::i;:::-;12298:122;;;-1:-1:-1;;;;;12354:34:0;;;;;;:16;:34;;;;;;12322:29;12371:16;12322:11;:29::i;:::-;:66;12298:122;12291:129;;12119:310;;;;;:::o;11452:128::-;-1:-1:-1;;;;;11560:4:0;:12;;11452:128;:::o;12517:169::-;-1:-1:-1;;;;;12641:37:0;12609:7;12641:37;;;:19;:37;;;;;;;12517:169::o;10828:161::-;797:10;826:14;770:24;797:10;841:27;;-1:-1:-1;;;;;841:27:0;;;;;;;;;;;;;;;;;;826:43;;;;;;;;;;;;;;;;818:52;;;;;;;;-1:-1:-1;10945:18:0;:36;10828:161::o;13668:472::-;13738:7;13892:17;13950:18;14025:22;13776:12;;13792:1;13776:17;13773:360;;;13816:43;;-1:-1:-1;13809:50:0;;13773:360;13912:23;13930:4;13912:17;:23::i;:::-;13892:43;-1:-1:-1;13971:39:0;13892:43;3121:2;13971:12;:39::i;:::-;13950:60;;14050:35;14063:9;14074:10;14050:12;:35::i;10644:167::-;797:10;826:14;770:24;797:10;841:27;;-1:-1:-1;;;;;841:27:0;;;;;;;;;;;;;;;;;;826:43;;;;;;;;;;;;;;;;818:52;;;;;;;;-1:-1:-1;10766:27:0;;;;:14;:27;;;;;;:37;;-1:-1:-1;;10766:37:0;;;;;;;;;;10644:167::o;11852:182::-;11919:7;11971:10;11999:27;11971:10;11999:9;:27::i;:::-;11992:34;;11852:182;;;:::o;3005:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10504:123;797:10;826:14;770:24;797:10;841:27;;-1:-1:-1;;;;;841:27:0;;;;;;;;;;;;;;;;;;826:43;;;;;;;;;;;;;;;;818:52;;;;;;;;-1:-1:-1;10596:15:0;:23;;-1:-1:-1;;10596:23:0;;;10504:123::o;8669:1678::-;8791:4;8831:24;9269:17;9343:20;9417:18;279:1;266:10;:8;:10::i;:::-;:14;258:23;;;;;;8956:15;;8858:10;;-1:-1:-1;8956:15:0;;8955:16;:76;;;;-1:-1:-1;;;;;;8994:37:0;;;;;;:19;:37;;;;;;8975:56;;;8955:76;8947:85;;;;;;;;9129:1;9109:17;9121:4;9109:11;:17::i;:::-;:21;9106:36;;;9132:10;:8;:10::i;:::-;9289:43;9302:15;3121:2;9289:12;:43::i;:::-;9269:63;;9366:40;9379:15;9396:9;9366:12;:40::i;:::-;9343:63;;9438:28;9456:9;9438:17;:28::i;:::-;9417:49;;9528:37;9541:12;;9555:9;9528:12;:37::i;:::-;9513:12;:52;-1:-1:-1;;;;;9659:37:0;;;;;;:19;:37;;;;;;9646:68;;9698:15;9646:12;:68::i;:::-;-1:-1:-1;;;;;9606:37:0;;;;;;;:19;:37;;;;;;:108;;;;9772:31;;;;;;;9759:59;;9805:12;9759;:59::i;:::-;-1:-1:-1;;;;;9725:31:0;;;;;;;:19;:31;;;;;;;;:93;;;;9918:15;;;9876:28;;;;;:10;:28;;;;;;:76;;9918:33;;;9876:76;;;;;;9999:15;;9963:22;;;;;;;:67;;9999:30;;;9963:67;;;;;;10127:15;10171:12;;10114:70;;10127:15;-1:-1:-1;;;10145:22:0;;10144:39;;;;;;;;10114:12;:70::i;:::-;10096:15;:88;-1:-1:-1;;;;;10228:52:0;;;;;;;10267:12;10228:52;;;;;;;;;;;;;;-1:-1:-1;10326:4:0;;8669:1678;-1:-1:-1;;;;;;8669:1678:0:o;11136:120::-;797:10;826:14;770:24;797:10;841:27;;-1:-1:-1;;;;;841:27:0;;;;;;;;;;;;;;;;;;826:43;;;;;;;;;;;;;;;;818:52;;;;;;;;11232:6;11241:7;;11232:16;;;;;;;;:::i;:::-;;11136:120;;:::o;11007:112::-;797:10;826:14;770:24;797:10;841:27;;-1:-1:-1;;;;;841:27:0;;;;;;;;;;;;;;;;;;826:43;;;;;;;;;;;;;;;;818:52;;;;;;;;11099:4;11106:5;;11099:12;;;;;;;;:::i;7265:1261::-;7370:24;7503:15;7547:17;7604:18;7673:22;8006;279:1;266:10;:8;:10::i;:::-;:14;258:23;;;;;;7397:10;-1:-1:-1;;;;;7454:37:0;;;;;;:19;:37;;;;;;7397:10;;-1:-1:-1;7435:56:0;;;7427:65;;;;;;7521:15;7503:33;;7567:26;7585:7;7567:17;:26::i;:::-;7547:46;-1:-1:-1;7625:37:0;7547:46;3121:2;7625:12;:37::i;:::-;7604:58;;7698:35;7711:9;7722:10;7698:12;:35::i;:::-;7673:60;;7802:35;7815:12;;7829:7;7802:12;:35::i;:::-;7787:12;:50;-1:-1:-1;;;;;7901:37:0;;;;;;:19;:37;;;;;;7888:60;;7940:7;7888:12;:60::i;:::-;-1:-1:-1;;;;;7848:37:0;;;;;;:19;:37;;;;;;;;:100;;;;8041:15;;8109:10;:28;;;;;;:47;;8041:25;;;-1:-1:-1;;;8070:26:0;;8041:56;8109:47;;;;;;8231:12;;8041:56;;-1:-1:-1;8231:16:0;;8227:194;;;8339:70;8352:15;;8396:12;;-1:-1:-1;;;8370:10:0;:22;8369:39;;;;;;8339:70;8321:15;:88;8227:194;8476:16;-1:-1:-1;;;;;8464:54:0;;8494:7;8503:14;8464:54;;;;;;;;;;;;;;;;;;;;7265:1261;;;;;;;:::o;6162:295::-;6292:10;-1:-1:-1;;;;;6331:37:0;;6265:24;6331:37;;;:19;:37;;;;;;;6382:11;;6379:29;;;6395:13;6400:7;6395:4;:13::i;:::-;6439:10;:8;:10::i;:::-;6162:295;;:::o;4975:155::-;5059:7;5084:38;5099:9;5110:11;5084:14;:38::i;5330:762::-;5432:18;5577:24;5938:15;407:1;387:17;399:4;387:11;:17::i;:::-;:21;379:30;;;;;;5453:18;5465:5;5453:11;:18::i;:::-;5604:10;-1:-1:-1;;;;;5625:28:0;;;;;;:10;:28;;;;;;;;:66;;-1:-1:-1;;;5668:22:0;;5625:66;;;5758:16;:34;;;;;;;5803:38;;;;5744:48;;;;-1:-1:-1;5604:10:0;-1:-1:-1;5956:31:0;;5744:48;;5956:14;:31::i;:::-;5938:49;;6046:16;-1:-1:-1;;;;;6031:53:0;;6064:10;6076:7;6031:53;;;;;;;;;;;;;;;;;;;;5330:762;;;:::o;21081:147::-;21139:7;21171:5;;;21194:6;;;;21187:14;;;;21219:1;21081:147;-1:-1:-1;;;21081:147:0:o;20643:288::-;20701:7;20800:9;20816:1;20812;:5;;;;;;;;;20643:288;-1:-1:-1;;;;20643:288:0:o;20945:123::-;21003:7;21030:6;;;;21023:14;;;;-1:-1:-1;21055:5:0;;;20945:123::o;18298:976::-;19206:12;;18393:7;;18447:25;;18393:7;;3250:16;18598:555;18634:457;18780:52;;;18896:27;19005:1;18926:15;;18895:47;18695:248;19005:45;:58;;18695:369;18696:21;18695:369;18634:4;:457::i;:::-;19116:18;18598:12;:555::i;:::-;18535:658;;;;;;;;18520:699;;18298:976;-1:-1:-1;;;;18298:976:0:o;19346:722::-;19535:12;;19439:7;;19495:4;19485:14;;;;19535:19;;;19439:7;;19655:357;19736:147;19814:17;;;3250:16;19788:44;19736:147;19709:214;;19996:1;19495:4;-1:-1:-1;;19969:10:0;;;:18;;;;19968:25;3250:16;19944:50;19943:54;;;;;;;;19655:12;:357::i;:::-;:372;;;;;;;;;19346:722;-1:-1:-1;;;;;19346:722:0:o;20092:198::-;20166:5;20175:1;20170;20166:5;;20165:11;20203:80;20214:1;20210;:5;20203:80;;;20236:1;20232:5;;20270:1;20265;20261;20257;:5;;;;;;;;:9;20256:15;;;;;;;;20252:19;;20203:80;;32:20261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32:20261:0;;;;-1:-1:-1;32:20261:0;;;;;;;;;;;;;;

Swarm Source

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