Contract Overview
Balance: 0.922382355241988682 Ether
Ether Value: $195.04 (@ $211.45/ETH)
Transactions: 4 txns
Token Tracker: CryptoX (CryptoX)
 Latest 4 txns

TxHash Age From To Value [TxFee]
0xacfa027854a67153ea03119fd1d185644ea660e1ad62215f5e254f826bcf4e4c3 days 19 hrs ago0x2e6236591bfa37c683ce60d6cfde40396a114ff1  IN   0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50 Ether0.0005026
0xd07c05f121093f3df119e73d6ef163e2ea6286c688ed04cb9bca01e09ce470473 days 21 hrs ago0x2e6236591bfa37c683ce60d6cfde40396a114ff1  IN   0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50.05 Ether0.0024192
0x93074b279513cd53cb177891b8775eeb2bbd019a8d2aba4df98ec2f45c298a523 days 21 hrs ago0x54efb8160a4185cb5a0c86eb2abc0f1fcf4c3d07  IN   0x9610724e5c2fc1add8cf9ed2351e455ba08c4db51 Ether0.0027807
0x662fc026ccac8b40ff27b7786a813375172f91e58c8c5d5205442fa1d82710264 days 4 hrs ago0x54efb8160a4185cb5a0c86eb2abc0f1fcf4c3d07  IN    Contract Creation0 Ether0.03712042
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 5 Internal Transactions

ParentTxHash Block Age From To Value
0xacfa027854a67153ea03119fd1d185644ea660e1ad62215f5e254f826bcf4e4c65009443 days 19 hrs ago0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50x2e6236591bfa37c683ce60d6cfde40396a114ff10.022617644758011318 Ether
0xd07c05f121093f3df119e73d6ef163e2ea6286c688ed04cb9bca01e09ce4704765003453 days 21 hrs ago0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50x41fe3738b503cbafd01c1fd8dd66b7fe6ec11b010.0025 Ether
0xd07c05f121093f3df119e73d6ef163e2ea6286c688ed04cb9bca01e09ce4704765003453 days 21 hrs ago0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50x54efb8160a4185cb5a0c86eb2abc0f1fcf4c3d070.0025 Ether
0x93074b279513cd53cb177891b8775eeb2bbd019a8d2aba4df98ec2f45c298a5265003153 days 21 hrs ago0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50x41fe3738b503cbafd01c1fd8dd66b7fe6ec11b010.05 Ether
0x93074b279513cd53cb177891b8775eeb2bbd019a8d2aba4df98ec2f45c298a5265003153 days 21 hrs ago0x9610724e5c2fc1add8cf9ed2351e455ba08c4db50x54efb8160a4185cb5a0c86eb2abc0f1fcf4c3d070.05 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: CryptoXchange
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

/***
 * https://cryptox.market
 * 
 *
 *
 * 10 % entry fee
 * 30 % to masternode referrals
 * 0 % transfer fee
 * Exit fee starts at 50% from contract start
 * Exit fee decreases over 30 days  until 3%
 * Stays at 3% forever, thereby allowing short trades.
 */
contract CryptoXchange {

   

    
    modifier onlyBagholders {
        require(myTokens() > 0);
        _;
    }

    
    modifier onlyStronghands {
        require(myDividends(true) > 0);
        _;
    }

    
    modifier notGasbag() {
      require(tx.gasprice < 200999999999);
      _;
    }

    
    modifier antiEarlyWhale {
        if (address(this).balance  -msg.value < whaleBalanceLimit){
          require(msg.value <= maxEarlyStake);
        }
        if (depositCount_ == 0){
          require(ambassadors_[msg.sender] && msg.value == 1 ether);
        }else
        if (depositCount_ < 1){
          require(ambassadors_[msg.sender] && msg.value == 1 ether);
        }else
        if (depositCount_ == 2 || depositCount_==3){
          require(ambassadors_[msg.sender] && msg.value == 1 ether);
        }
        _;
    }

    
    modifier isControlled() {
      require(isPremine() || isStarted());
      _;
    }

    

    event onTokenPurchase(
        address indexed customerAddress,
        uint256 incomingEthereum,
        uint256 tokensMinted,
        address indexed referredBy,
        uint timestamp,
        uint256 price
    );

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

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


    

    string public name = "CryptoX";
    string public symbol = "CryptoX";
    uint8 constant public decimals = 18;

    
    uint8 constant internal entryFee_ = 10;

   
    uint8 constant internal startExitFee_ = 50;

    
    uint8 constant internal finalExitFee_ = 3;

    
    uint256 constant internal exitFeeFallDuration_ = 30 days;

   
    uint8 constant internal refferalFee_ = 30;

    
    uint256 constant internal tokenPriceInitial_ = 0.00000001 ether;
    uint256 constant internal tokenPriceIncremental_ = 0.00000001 ether;

    uint256 constant internal magnitude = 2 ** 64;

    
    uint256 public stakingRequirement = 100e18;

    
    uint256 public maxEarlyStake = 5 ether;
    uint256 public whaleBalanceLimit = 50 ether;

    
    address public owner;

    
    uint256 public startTime = 0; 
    
    address promo1 = 0x54efb8160a4185cb5a0c86eb2abc0f1fcf4c3d07;
    address promo2 = 0x41FE3738B503cBaFD01C1Fd8DD66b7fE6Ec11b01;
   

    
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => uint256) internal bonusBalance_;
    mapping(address => int256) internal payoutsTo_;
    uint256 internal tokenSupply_;
    uint256 internal profitPerShare_;
    uint256 public depositCount_;

    mapping(address => bool) internal ambassadors_;

    

   constructor () public {

     //Marketing Fund
     ambassadors_[msg.sender]=true;
     //1
     ambassadors_[0x3f2cc2a7c15d287dd4d0614df6338e2414d5935a]=true;
     //2
     ambassadors_[0x41FE3738B503cBaFD01C1Fd8DD66b7fE6Ec11b01]=true;
     //3
     ambassadors_[0x0f238601e6b61bf4abf9d34fe846c108da38936c]=true;
    
     owner = msg.sender;
   }



    function setStartTime(uint256 _startTime) public {
      require(msg.sender==owner && !isStarted() && now < _startTime);
      startTime = _startTime;
    }


    function buy(address _referredBy) antiEarlyWhale notGasbag isControlled public payable  returns (uint256) {
        purchaseTokens(msg.value, _referredBy , msg.sender);
        uint256 getmsgvalue = msg.value / 20;
        promo1.transfer(getmsgvalue);
        promo2.transfer(getmsgvalue);
    }


    function buyFor(address _referredBy, address _customerAddress) antiEarlyWhale notGasbag isControlled public payable returns (uint256) {
        purchaseTokens(msg.value, _referredBy , _customerAddress);
        uint256 getmsgvalue = msg.value / 20;
        promo1.transfer(getmsgvalue);
        promo2.transfer(getmsgvalue);
    }


    function() antiEarlyWhale notGasbag isControlled payable public {
        purchaseTokens(msg.value, 0x0 , msg.sender);
        uint256 getmsgvalue = msg.value / 20;
        promo1.transfer(getmsgvalue);
        promo2.transfer(getmsgvalue);
    }


    function reinvest() onlyStronghands public {
    
        uint256 _dividends = myDividends(false); 

        
        address _customerAddress = msg.sender;
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        
        uint256 _tokens = purchaseTokens(_dividends, 0x0 , _customerAddress);

        
        emit onReinvestment(_customerAddress, _dividends, _tokens);
    }


    function exit() public {
        
        address _customerAddress = msg.sender;
        uint256 _tokens = tokenBalanceLedger_[_customerAddress];
        if (_tokens > 0) sell(_tokens);

        
        withdraw();
    }


    function withdraw() onlyStronghands public {
        
        address _customerAddress = msg.sender;
        uint256 _dividends = myDividends(false); 

        
        payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude);

        
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        
        _customerAddress.transfer(_dividends);

        
        emit onWithdraw(_customerAddress, _dividends);
    }

   
    function sell(uint256 _amountOfTokens) onlyBagholders public {
       
        address _customerAddress = msg.sender;
        
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee()), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

        
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokens);
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _tokens);

        
        int256 _updatedPayouts = (int256) (profitPerShare_ * _tokens + (_taxedEthereum * magnitude));
        payoutsTo_[_customerAddress] -= _updatedPayouts;

        
        if (tokenSupply_ > 0) {
            
            profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);
        }

        
        emit onTokenSell(_customerAddress, _tokens, _taxedEthereum, now, buyPrice());
    }


    
    function transfer(address _toAddress, uint256 _amountOfTokens) onlyBagholders public returns (bool) {
        
        address _customerAddress = msg.sender;

        
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);

        
        if (myDividends(true) > 0) {
            withdraw();
        }

        
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        tokenBalanceLedger_[_toAddress] = SafeMath.add(tokenBalanceLedger_[_toAddress], _amountOfTokens);

        
        payoutsTo_[_customerAddress] -= (int256) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int256) (profitPerShare_ * _amountOfTokens);

        
        emit Transfer(_customerAddress, _toAddress, _amountOfTokens);

        
        return true;
    }


  
  
    function totalEthereumBalance() public view returns (uint256) {
        return address(this).balance;
    }

   
    function totalSupply() public view returns (uint256) {
        return tokenSupply_;
    }

   
    function myTokens() public view returns (uint256) {
        address _customerAddress = msg.sender;
        return balanceOf(_customerAddress);
    }


    function myDividends(bool _includeReferralBonus) public view returns (uint256) {
        address _customerAddress = msg.sender;
        return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
    }

    
    function balanceOf(address _customerAddress) public view returns (uint256) {
        return tokenBalanceLedger_[_customerAddress];
    }

    
    function dividendsOf(address _customerAddress) public view returns (uint256) {
        return (uint256) ((int256) (profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude;
    }

    
    function sellPrice() public view returns (uint256) {
        
        if (tokenSupply_ == 0) {
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee()), 100);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

            return _taxedEthereum;
        }
    }

    
    function buyPrice() public view returns (uint256) {
        
        if (tokenSupply_ == 0) {
            return tokenPriceInitial_ + tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, entryFee_), 100);
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);

            return _taxedEthereum;
        }
    }

   
    function calculateTokensReceived(uint256 _ethereumToSpend) public view returns (uint256) {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereumToSpend, entryFee_), 100);
        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(SafeMath.mul(_ethereum, exitFee()), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }


    function calculateUntaxedEthereumReceived(uint256 _tokensToSell) public view returns (uint256) {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        //uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee()), 100);
        //uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _ethereum;
    }


    
    function exitFee() public view returns (uint8) {
        if (startTime==0){
           return startExitFee_;
        }
        if ( now < startTime) {
          return 0;
        }
        uint256 secondsPassed = now - startTime;
        if (secondsPassed >= exitFeeFallDuration_) {
            return finalExitFee_;
        }
        uint8 totalChange = startExitFee_ - finalExitFee_;
        uint8 currentChange = uint8(totalChange * secondsPassed / exitFeeFallDuration_);
        uint8 currentFee = startExitFee_- currentChange;
        return currentFee;
    }

    
    function isPremine() public view returns (bool) {
      return depositCount_<=3;
    }

    
    function isStarted() public view returns (bool) {
      return startTime!=0 && now > startTime;
    }

   
    function purchaseTokens(uint256 _incomingEthereum, address _referredBy , address _customerAddress) internal returns (uint256) {
        
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, entryFee_), 100);
        uint256 _referralBonus = SafeMath.div(SafeMath.mul(_undividedDividends, refferalFee_), 100);
        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_);

        
        if (
            
            _referredBy != 0x0000000000000000000000000000000000000000 &&

            
            _referredBy != _customerAddress &&

            
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ) {
            
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
        } else {
            
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }

        
        if (tokenSupply_ > 0) {
            
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);

            
            profitPerShare_ += (_dividends * magnitude / tokenSupply_);

            
            _fee = _fee - (_fee - (_amountOfTokens * (_dividends * magnitude / tokenSupply_)));
        } else {
            
            tokenSupply_ = _amountOfTokens;
        }

        
        tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);

        
        int256 _updatedPayouts = (int256) (profitPerShare_ * _amountOfTokens - _fee);
        payoutsTo_[_customerAddress] += _updatedPayouts;

        
        emit onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy, now, buyPrice());

        
        depositCount_++;
        return _amountOfTokens;
    }

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

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

    /// @dev This is where all your gas goes.
    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = (x + 1) / 2;
        y = x;

        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }


}


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) {
        
        uint256 c = a / b;
        
        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;
    }

}

    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":"_tokensToSell","type":"uint256"}],"name":"calculateUntaxedEthereumReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_startTime","type":"uint256"}],"name":"setStartTime","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":"isStarted","outputs":[{"name":"","type":"bool"}],"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":"maxEarlyStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"exitFee","outputs":[{"name":"","type":"uint8"}],"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":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"whaleBalanceLimit","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":"_toAddress","type":"address"},{"name":"_amountOfTokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"},{"name":"_customerAddress","type":"address"}],"name":"buyFor","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isPremine","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"depositCount_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amountOfTokens","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"}],"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"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","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"}]

  Contract Creation Code Switch To Opcodes View
60c0604052600760808190527f43727970746f580000000000000000000000000000000000000000000000000060a0908152620000409160009190620001d3565b506040805180820190915260078082527f43727970746f580000000000000000000000000000000000000000000000000060209092019182526200008791600191620001d3565b5068056bc75e2d63100000600255674563918244f400006003556802b5e3af16b1880000600455600060065560078054600160a060020a03199081167354efb8160a4185cb5a0c86eb2abc0f1fcf4c3d0717909155600880549091167341fe3738b503cbafd01c1fd8dd66b7fe6ec11b011790553480156200010857600080fd5b503360008181526010602052604081208054600160ff1991821681179092557f2671da90ce3cb58703229bb2c9c8183cc2ee89a91a3d8f021d332eb16a12fb6380548216831790557fc15940a5f6e2d2bc44ec6f5ab3d73c90f28171e4ad3b2ff753be6ad91a737a318054821683179055730f238601e6b61bf4abf9d34fe846c108da38936c9092527f90900959475a9e5a00c814c1841f9bde1b3a066a29915f0f9aa3d25eceda16fe805490921617905560058054600160a060020a031916909117905562000278565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021657805160ff191683800117855562000246565b8280016001018555821562000246579182015b828111156200024657825182559160200191906001019062000229565b506200025492915062000258565b5090565b6200027591905b808211156200025457600081556001016200025f565b90565b61166380620002886000396000f3006080604052600436106101895763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461032557806306fdde031461035857806310d0ffdd146103e257806318160ddd146103fa578063226093731461040f57806323b3b70414610427578063313ce5671461043f5780633ccfd60b1461046a5780633e0a322d146104815780634b75033414610499578063544736e6146104ae57806356d399e8146104d7578063585bc281146104ec5780636284ae4114610501578063688abbf7146105165780636b2f46321461053057806370a082311461054557806378e97925146105665780638620410b1461057b5780638da5cb5b1461059057806391e33107146105c1578063949e8acd146105d657806395d89b41146105eb578063a9059cbb14610600578063caa877e714610624578063d6dda33d1461063e578063da7af32d14610653578063e4849b3214610668578063e9fad8ee14610680578063f088d54714610695578063fdb5a03e146106a9575b6004546000903430310310156101a8576003543411156101a857600080fd5b600f5415156101e7573360009081526010602052604090205460ff1680156101d7575034670de0b6b3a7640000145b15156101e257600080fd5b610269565b6001600f541015610220573360009081526010602052604090205460ff1680156101d75750670de0b6b3a764000034146101e257600080fd5b600f54600214806102335750600f546003145b15610269573360009081526010602052604090205460ff16801561025e575034670de0b6b3a7640000145b151561026957600080fd5b642ecc8899ff3a1061027a57600080fd5b6102826106be565b8061029057506102906106c8565b151561029b57600080fd5b6102a7346000336106e3565b50506007546040516014340491600160a060020a0316906108fc8315029083906000818181858888f193505050501580156102e6573d6000803e3d6000fd5b50600854604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610321573d6000803e3d6000fd5b5050005b34801561033157600080fd5b50610346600160a060020a036004351661094d565b60408051918252519081900360200190f35b34801561036457600080fd5b5061036d610988565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103a757818101518382015260200161038f565b50505050905090810190601f1680156103d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103ee57600080fd5b50610346600435610a16565b34801561040657600080fd5b50610346610a49565b34801561041b57600080fd5b50610346600435610a4f565b34801561043357600080fd5b50610346600435610a94565b34801561044b57600080fd5b50610454610abd565b6040805160ff9092168252519081900360200190f35b34801561047657600080fd5b5061047f610ac2565b005b34801561048d57600080fd5b5061047f600435610b95565b3480156104a557600080fd5b50610346610bcf565b3480156104ba57600080fd5b506104c36106c8565b604080519115158252519081900360200190f35b3480156104e357600080fd5b50610346610c23565b3480156104f857600080fd5b50610346610c29565b34801561050d57600080fd5b50610454610c2f565b34801561052257600080fd5b506103466004351515610c97565b34801561053c57600080fd5b50610346610cd8565b34801561055157600080fd5b50610346600160a060020a0360043516610cdd565b34801561057257600080fd5b50610346610cf8565b34801561058757600080fd5b50610346610cfe565b34801561059c57600080fd5b506105a5610d49565b60408051600160a060020a039092168252519081900360200190f35b3480156105cd57600080fd5b50610346610d58565b3480156105e257600080fd5b50610346610d5e565b3480156105f757600080fd5b5061036d610d70565b34801561060c57600080fd5b506104c3600160a060020a0360043516602435610dca565b610346600160a060020a0360043581169060243516610ef9565b34801561064a57600080fd5b506104c36106be565b34801561065f57600080fd5b506103466110a1565b34801561067457600080fd5b5061047f6004356110a7565b34801561068c57600080fd5b5061047f61121a565b610346600160a060020a0360043516611247565b3480156106b557600080fd5b5061047f6113ee565b600f546003101590565b60006006546000141580156106de575060065442115b905090565b6000808080808080806107016106fa8c600a6114a5565b60646114d0565b96506107116106fa88601e6114a5565b955061071d87876114e7565b94506107298b886114e7565b9350610734846114f9565b9250680100000000000000008502915060008311801561075e5750600d5461075c848261158e565b115b151561076957600080fd5b600160a060020a038a1615801590610793575088600160a060020a03168a600160a060020a031614155b80156107b95750600254600160a060020a038b1660009081526009602052604090205410155b156107ff57600160a060020a038a166000908152600a60205260409020546107e1908761158e565b600160a060020a038b166000908152600a602052604090205561081a565b610809858761158e565b945068010000000000000000850291505b6000600d54111561087e57610831600d548461158e565b600d81905568010000000000000000860281151561084b57fe5b600e8054929091049091019055600d5468010000000000000000860281151561087057fe5b048302820382039150610884565b600d8390555b600160a060020a0389166000908152600960205260409020546108a7908461158e565b600160a060020a03808b16600081815260096020908152604080832095909555600e54600c909152939020805493870286900393840190559192508b16907f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8d8642610911610cfe565b604080519485526020850193909352838301919091526060830152519081900360800190a35050600f8054600101905598975050505050505050565b600160a060020a03166000908152600c6020908152604080832054600990925290912054600e54680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a0e5780601f106109e357610100808354040283529160200191610a0e565b820191906000526020600020905b8154815290600101906020018083116109f157829003601f168201915b505050505081565b6000808080610a296106fa86600a6114a5565b9250610a3585846114e7565b9150610a40826114f9565b95945050505050565b600d5490565b600080600080600d548511151515610a6657600080fd5b610a6f8561159d565b9250610a886106fa84610a80610c2f565b60ff166114a5565b9150610a4083836114e7565b600080600d548311151515610aa857600080fd5b610ab18361159d565b90508091505b50919050565b601281565b6000806000610ad16001610c97565b11610adb57600080fd5b339150610ae86000610c97565b600160a060020a0383166000818152600c602090815260408083208054680100000000000000008702019055600a909152808220805490839055905193019350909183156108fc0291849190818181858888f19350505050158015610b51573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600554600160a060020a031633148015610bb45750610bb26106c8565b155b8015610bbf57508042105b1515610bca57600080fd5b600655565b600080600080600d5460001415610be95760009350610c1d565b610bfa670de0b6b3a764000061159d565b9250610c0b6106fa84610a80610c2f565b9150610c1783836114e7565b90508093505b50505090565b60025481565b60035481565b600080600080600060065460001415610c4b5760329450610c90565b600654421015610c5e5760009450610c90565b6006544203935062278d008410610c785760039450610c90565b602f925062278d008484020491508160320390508094505b5050505090565b60003382610cad57610ca88161094d565b610cd1565b600160a060020a0381166000908152600a6020526040902054610ccf8261094d565b015b9392505050565b303190565b600160a060020a031660009081526009602052604090205490565b60065481565b600080600080600d5460001415610d1c576404a817c8009350610c1d565b610d2d670de0b6b3a764000061159d565b9250610d3d6106fa84600a6114a5565b9150610c17838361158e565b600554600160a060020a031681565b60045481565b600033610d6a81610cdd565b91505090565b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610a0e5780601f106109e357610100808354040283529160200191610a0e565b6000806000610dd7610d5e565b11610de157600080fd5b5033600081815260096020526040902054831115610dfe57600080fd5b6000610e0a6001610c97565b1115610e1857610e18610ac2565b600160a060020a038116600090815260096020526040902054610e3b90846114e7565b600160a060020a038083166000908152600960205260408082209390935590861681522054610e6a908461158e565b600160a060020a03858116600081815260096020908152604080832095909555600e8054948716808452600c83528684208054968b02909603909555548383529185902080549289029092019091558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600191505b5092915050565b6000806004543430600160a060020a031631031015610f2157600354341115610f2157600080fd5b600f541515610f60573360009081526010602052604090205460ff168015610f50575034670de0b6b3a7640000145b1515610f5b57600080fd5b610fe2565b6001600f541015610f99573360009081526010602052604090205460ff168015610f505750670de0b6b3a76400003414610f5b57600080fd5b600f5460021480610fac5750600f546003145b15610fe2573360009081526010602052604090205460ff168015610fd7575034670de0b6b3a7640000145b1515610fe257600080fd5b642ecc8899ff3a10610ff357600080fd5b610ffb6106be565b8061100957506110096106c8565b151561101457600080fd5b61101f3485856106e3565b50506007546040516014340491600160a060020a0316906108fc8315029083906000818181858888f1935050505015801561105e573d6000803e3d6000fd5b50600854604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015611099573d6000803e3d6000fd5b505092915050565b600f5481565b60008060008060008060006110ba610d5e565b116110c457600080fd5b336000818152600960205260409020549096508711156110e357600080fd5b8694506110ef8561159d565b93506111006106fa85610a80610c2f565b925061110c84846114e7565b915061111a600d54866114e7565b600d55600160a060020a03861660009081526009602052604090205461114090866114e7565b600160a060020a038716600090815260096020908152604080832093909355600e54600c909152918120805492880268010000000000000000860201928390039055600d5491925010156111b6576111b2600e54600d546801000000000000000086028115156111ac57fe5b0461158e565b600e555b85600160a060020a03167f8d3a0130073dbd54ab6ac632c05946df540553d3b514c9f8165b4ab7f2b1805e8684426111ec610cfe565b604080519485526020850193909352838301919091526060830152519081900360800190a250505050505050565b336000818152600960205260408120549081111561123b5761123b816110a7565b611243610ac2565b5050565b6000806004543430600160a060020a03163103101561126f5760035434111561126f57600080fd5b600f5415156112ae573360009081526010602052604090205460ff16801561129e575034670de0b6b3a7640000145b15156112a957600080fd5b611330565b6001600f5410156112e7573360009081526010602052604090205460ff16801561129e5750670de0b6b3a764000034146112a957600080fd5b600f54600214806112fa5750600f546003145b15611330573360009081526010602052604090205460ff168015611325575034670de0b6b3a7640000145b151561133057600080fd5b642ecc8899ff3a1061134157600080fd5b6113496106be565b8061135757506113576106c8565b151561136257600080fd5b61136d3484336106e3565b50506007546040516014340491600160a060020a0316906108fc8315029083906000818181858888f193505050501580156113ac573d6000803e3d6000fd5b50600854604051600160a060020a039091169082156108fc029083906000818181858888f193505050501580156113e7573d6000803e3d6000fd5b5050919050565b6000806000806113fe6001610c97565b1161140857600080fd5b6114126000610c97565b336000818152600c602090815260408083208054680100000000000000008702019055600a909152812080549082905590920194509250611455908490846106e3565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b6000808315156114b85760009150610ef2565b508282028284828115156114c857fe5b0414610cd157fe5b60008082848115156114de57fe5b04949350505050565b6000828211156114f357fe5b50900390565b600d546000906b204fce5e3e250261100000009082906402540be40061157b611575730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02016f96769950b50d88f413144480000000008502017704140c78940f6a24fdffc78873d4490d210000000000000001611602565b856114e7565b81151561158457fe5b0403949350505050565b600082820183811015610cd157fe5b600d54600090670de0b6b3a76400008381019181019083906115ef81840487026402540be40002600283670de0b6b3a763ffff1982890a8b900301046402540be400028115156115e957fe5b046114e7565b8115156115f857fe5b0495945050505050565b80600260018201045b81811015610ab757809150600281828581151561162457fe5b040181151561162f57fe5b04905061160b5600a165627a7a723058207e7ced7736a0edd8a6f44fe5cc42adfa9ee011ad201dd72235b0cd79b3d476d90029

   Swarm Source:
bzzr://7e7ced7736a0edd8a6f44fe5cc42adfa9ee011ad201dd72235b0cd79b3d476d9

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.