ETH Price: $2,148.62 (-2.84%)

Token

Proof of Satoshi Nakamoto (PoSatoshi)
 

Overview

Max Total Supply

3,355.237507613899201515 PoSatoshi

Holders

12

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.834048161458760957 PoSatoshi

Value
$0.00
0x238361f646681118c3dc9df3197fd82d3324856e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PoSatoshi

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-04-30
*/

pragma solidity 0.4.20;

/*===========================================
=    [ Proof of Satoshi Nakamoto (20%) ]    =
=          https://posatoshi.com/           =
=        https://discord.gg/ENXNGHc         =
=============================================

  _________       __               .__    .__              
 /   _____/____ _/  |_  ____  _____|  |__ |__|             
 \_____  \\__  \\   __\/  _ \/  ___/  |  \|  |             
 /        \/ __ \|  | (  <_> )___ \|   Y  \  |             
/_______  (____  /__|  \____/____  >___|  /__|             
        \/     \/                \/     \/                 
 _______          __                           __          
 \      \ _____  |  | _______    _____   _____/  |_  ____  
 /   |   \\__  \ |  |/ /\__  \  /     \ /  _ \   __\/  _ \ 
/    |    \/ __ \|    <  / __ \|  Y Y  (  <_> )  | (  <_> )
\____|__  (____  /__|_ \(____  /__|_|  /\____/|__|  \____/ 
        \/     \/     \/     \/      \/                    

> Where It All Begins... - @2018-05-01T02:00:00Z

* -> Features!
* All the features from the original Po contract, with dividend fee 20%:
* [x] Highly Secure: Hundreds of thousands of investers have invested in the original contract.
* [X] Purchase/Sell: You can perform partial sell orders. If you succumb to weak hands, you don't have to dump all of your bags.
* [x] Purchase/Sell: You can transfer tokens between wallets. Trading is possible from within the contract.
* [x] Masternodes: The implementation of Ethereum Staking in the world.
* [x] Masternodes: Holding 50 PoSatoshi Tokens allow you to generate a Masternode link, Masternode links are used as unique entry points to the contract.
* [x] Masternodes: All players who enter the contract through your Masternode have 30% of their 20% dividends fee rerouted from the master-node, to the node-master.
*
* -> Who worked not this project?
* - Satashi Nakamoto (GOD)
* - Mantso (Original Program)
*
* -> Owner of contract can:
* - Low pre-mine (0.999ETH)
* - And nothing else
*
* -> Owner of contract CANNOT:
* - exit scam
* - kill the contract
* - take funds
* - pause the contract
* - disable withdrawals
* - change the price of tokens
*
* -> THE FOMO IS REAL!! ** https://posatoshi.com/ **
*/

contract PoSatoshi {


    /*=====================================
    =            CONFIGURABLES            =
    =====================================*/

    uint beginTime = 1525140000; // GMT: Tuesday, May 1, 2018 2:00:00 AM

    string public name = "Proof of Satoshi Nakamoto";
    string public symbol = "PoSatoshi";
    uint8 constant public decimals = 18;
    uint8 constant internal dividendFee_ = 5; // 20% Dividends (In & Out)
    uint constant internal tokenPriceInitial_ = 0.0000001 ether;
    uint constant internal tokenPriceIncremental_ = 0.00000001 ether;
    uint constant internal magnitude = 2**64;

    // proof of stake (defaults at 50 tokens)
    uint public stakingRequirement = 50e18;


   /*===============================
    =            STORAGE           =
    ==============================*/
    
    // amount of shares for each address (scaled number)
    mapping(address => uint) internal tokenBalanceLedger_;
    mapping(address => uint) internal referralBalance_;
    mapping(address => int) internal payoutsTo_;
    uint internal tokenSupply_ = 0;
    uint internal profitPerShare_;


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

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

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

    event onWithdraw(
        address indexed customerAddress,
        uint ethereumWithdrawn
    );

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


    /*=======================================
    =            CONSTRUCTOR                =
    =======================================*/
    
    function PoSatoshi() public payable {
        // Owner can only pre-mine once (0.999ETH)
        purchaseTokens(msg.value, 0x0);
    }


    /*=======================================
    =           PUBLIC FUNCTIONS            =
    =======================================*/

    /// @dev Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any)
    function buy(address _referredBy) public payable returns (uint) {
        require(now >= beginTime);

        purchaseTokens(msg.value, _referredBy);
    }

    /**
     * @dev Fallback function to handle ethereum that was send straight to the contract
     *  Unfortunately we cannot use a referral address this way.
     */
    function() payable public {
        require(now >= beginTime);

        purchaseTokens(msg.value, 0x0);
    }

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

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

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

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

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

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

        // lambo delivery service
        withdraw();
    }

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

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

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

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

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

    /// @dev Liquifies tokens to ethereum.
    function sell(uint _amountOfTokens) onlyBagholders public {
        // setup data
        address _customerAddress = msg.sender;
        // russian hackers BTFO
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint _tokens = _amountOfTokens;
        uint _ethereum = tokensToEthereum_(_tokens);
        uint _dividends = SafeMath.div(_ethereum, dividendFee_);
        uint _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

        // burn the sold tokens
        tokenSupply_ = SafeMath.sub(tokenSupply_, _tokens);
        tokenBalanceLedger_[_customerAddress] = SafeMath.sub(tokenBalanceLedger_[_customerAddress], _tokens);

        // update dividends tracker
        int _updatedPayouts = (int) (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);
    }


    /**
     * @dev Transfer tokens from the caller to a new holder.
     *  Remember, there's a 20% fee here as well.
     */
    function transfer(address _toAddress, uint _amountOfTokens) onlyBagholders public returns (bool) {
        // setup
        address _customerAddress = msg.sender;

        // make sure we have the requested tokens
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);

        // withdraw all outstanding dividends first
        if (myDividends(true) > 0) {
            withdraw();
        }

        // liquify 20% of the tokens that are transfered
        // these are dispersed to shareholders
        uint _tokenFee = SafeMath.div(_amountOfTokens, dividendFee_);
        uint _taxedTokens = SafeMath.sub(_amountOfTokens, _tokenFee);
        uint _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] -= (int) (profitPerShare_ * _amountOfTokens);
        payoutsTo_[_toAddress] += (int) (profitPerShare_ * _taxedTokens);

        // disperse dividends among holders
        profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);

        // fire event
        Transfer(_customerAddress, _toAddress, _taxedTokens);

        // ERC20
        return true;
    }


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

    /// @dev Retrieve the total token supply.
    function totalSupply() public view returns (uint) {
        return tokenSupply_;
    }

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

    /**
     * @dev 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 (uint) {
        address _customerAddress = msg.sender;
        return _includeReferralBonus ? dividendsOf(_customerAddress) + referralBalance_[_customerAddress] : dividendsOf(_customerAddress) ;
    }

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

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

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

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

    /// @dev Function for the frontend to dynamically retrieve the price scaling of buy orders.
    function calculateTokensReceived(uint _ethereumToSpend) public view returns (uint) {
        uint _dividends = SafeMath.div(_ethereumToSpend, dividendFee_);
        uint _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        return _amountOfTokens;
    }

    /// @dev Function for the frontend to dynamically retrieve the price scaling of sell orders.
    function calculateEthereumReceived(uint _tokensToSell) public view returns (uint) {
        require(_tokensToSell <= tokenSupply_);
        uint _ethereum = tokensToEthereum_(_tokensToSell);
        uint _dividends = SafeMath.div(_ethereum, dividendFee_);
        uint _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }


    /*==========================================
    =            INTERNAL FUNCTIONS            =
    ==========================================*/
    function purchaseTokens(uint _incomingEthereum, address _referredBy) internal returns (uint) {
        // data setup
        address _customerAddress = msg.sender;
        uint _undividedDividends = SafeMath.div(_incomingEthereum, dividendFee_);
        uint _referralBonus = SafeMath.div(_undividedDividends, 3);
        uint _dividends = SafeMath.sub(_undividedDividends, _referralBonus);
        uint _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        uint _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint _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] >= stakingRequirement
        ) {
            // wealth redistribution
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
        } else {
            // no ref purchase
            // add the referral bonus back to the global dividends cake
            _dividends = SafeMath.add(_dividends, _referralBonus);
            _fee = _dividends * magnitude;
        }

        // we can't give people infinite ethereum
        if (tokenSupply_ > 0) {

            // add tokens to the pool
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);

            // take the amount of dividends gained through this transaction, and allocates them evenly to each shareholder
            profitPerShare_ += (_dividends * magnitude / (tokenSupply_));

            // calculate the amount of tokens the customer receives over his purchase
            _fee = _fee - (_fee-(_amountOfTokens * (_dividends * magnitude / (tokenSupply_))));

        } else {
            // add tokens to the pool
            tokenSupply_ = _amountOfTokens;
        }

        // update circulating supply & the ledger address for the customer
        tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);

        // 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
        int _updatedPayouts = (int) ((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_(uint _ethereum) internal view returns (uint) {
        uint _tokenPriceInitial = tokenPriceInitial_ * 1e18;
        uint _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;
    }

    /**
     * @dev 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_(uint _tokens) internal view returns (uint) {
        uint tokens_ = (_tokens + 1e18);
        uint _tokenSupply = (tokenSupply_ + 1e18);
        uint _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(uint x) internal pure returns (uint y) {
        uint z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }


    /*=================================
    =            MODIFIERS            =
    =================================*/

    /// @dev Only people with tokens
    modifier onlyBagholders {
        require(myTokens() > 0);
        _;
    }

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


}

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

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

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function div(uint a, uint b) internal pure returns (uint) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint 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(uint a, uint b) internal pure returns (uint) {
        assert(b <= a);
        return a - b;
    }

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

Contract Security Audit

Contract ABI

API
[{"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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_includeReferralBonus","type":"bool"}],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEthereumBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","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":"_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":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"}]

6060604052635ae7ca2060005560408051908101604052601981527f50726f6f66206f66205361746f736869204e616b616d6f746f00000000000000602082015260019080516200005592916020019062000505565b5060408051908101604052600981527f506f5361746f7368690000000000000000000000000000000000000000000000602082015260029080516200009f92916020019062000505565b506802b5e3af16b18800006003556000600755620000d3346000620000da6401000000000262000394176401000000009004565b50620005aa565b60003381808080808080620000ff8b600564010000000062000d8a620003cb82021704565b96506200011c87600364010000000062000d8a620003cb82021704565b955062000138878764010000000062000da1620003e382021704565b9450620001548b8864010000000062000da1620003e382021704565b93506200016f8464010000000062000db3620003f682021704565b92506801000000000000000085029150600083118015620001aa5750600754620001a8848264010000000062000e4b620004af82021704565b115b1515620001b657600080fd5b600160a060020a038a1615801590620001e1575087600160a060020a03168a600160a060020a031614155b8015620002085750600354600160a060020a038b1660009081526004602052604090205410155b156200026057600160a060020a038a1660009081526005602052604090205462000241908764010000000062000e4b620004af82021704565b600160a060020a038b166000908152600560205260409020556200028b565b6200027a858764010000000062000e4b620004af82021704565b945068010000000000000000850291505b600060075411156200030957620002b960075484620004af6401000000000262000e4b176401000000009004565b6007819055680100000000000000008602811515620002d457fe5b60088054929091049091019055600754680100000000000000008602811515620002fa57fe5b0483028203820391506200030f565b60078390555b600160a060020a03881660009081526004602052604090205462000342908464010000000062000e4b620004af82021704565b600160a060020a03808a16600081815260046020908152604080832095909555600854600690915290849020805491880287900391820190559350908c16917f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5908e9087905191825260208201526040908101905180910390a350909998505050505050505050565b6000808284811515620003da57fe5b04949350505050565b600082821115620003f057fe5b50900390565b6007546000906c01431e0fae6d7217caa00000009082906402540be4006200049b62000486730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e4000000000000000164010000000062000ecd620004c682021704565b8564010000000062000da1620003e382021704565b811515620004a557fe5b0403949350505050565b600082820183811015620004bf57fe5b9392505050565b80600260018201045b81811015620004ff578091506002818285811515620004ea57fe5b0401811515620004f657fe5b049050620004cf565b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200054857805160ff191683800117855562000578565b8280016001018555821562000578579182015b82811115620005785782518255916020019190600101906200055b565b50620005869291506200058a565b5090565b620005a791905b8082111562000586576000815560010162000591565b90565b610f2e80620005ba6000396000f3006060604052600436106101105763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461012d57806306fdde031461015e57806310d0ffdd146101e857806318160ddd146101fe5780632260937314610211578063313ce567146102275780633ccfd60b146102505780634b7503341461026557806356d399e814610278578063688abbf71461028b5780636b2f4632146102a357806370a08231146102b65780638620410b146102d5578063949e8acd146102e857806395d89b41146102fb578063a9059cbb1461030e578063e4849b3214610344578063e9fad8ee1461035a578063f088d5471461036d578063fdb5a03e14610381575b60005442101561011f57600080fd5b61012a346000610394565b50005b341561013857600080fd5b61014c600160a060020a03600435166105d5565b60405190815260200160405180910390f35b341561016957600080fd5b610171610610565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101ad578082015183820152602001610195565b50505050905090810190601f1680156101da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101f357600080fd5b61014c6004356106ae565b341561020957600080fd5b61014c6106de565b341561021c57600080fd5b61014c6004356106e4565b341561023257600080fd5b61023a61071d565b60405160ff909116815260200160405180910390f35b341561025b57600080fd5b610263610722565b005b341561027057600080fd5b61014c6107ee565b341561028357600080fd5b61014c610842565b341561029657600080fd5b61014c6004351515610848565b34156102ae57600080fd5b61014c61088b565b34156102c157600080fd5b61014c600160a060020a0360043516610899565b34156102e057600080fd5b61014c6108b4565b34156102f357600080fd5b61014c6108fc565b341561030657600080fd5b61017161090e565b341561031957600080fd5b610330600160a060020a0360043516602435610979565b604051901515815260200160405180910390f35b341561034f57600080fd5b610263600435610b21565b341561036557600080fd5b610263610c7e565b61014c600160a060020a0360043516610cb5565b341561038c57600080fd5b610263610ccf565b600033818080808080806103a98b6005610d8a565b96506103b6876003610d8a565b95506103c28787610da1565b94506103ce8b88610da1565b93506103d984610db3565b9250680100000000000000008502915060008311801561040357506007546104018482610e4b565b115b151561040e57600080fd5b600160a060020a038a1615801590610438575087600160a060020a03168a600160a060020a031614155b801561045e5750600354600160a060020a038b1660009081526004602052604090205410155b156104a457600160a060020a038a166000908152600560205260409020546104869087610e4b565b600160a060020a038b166000908152600560205260409020556104bf565b6104ae8587610e4b565b945068010000000000000000850291505b60006007541115610523576104d660075484610e4b565b60078190556801000000000000000086028115156104f057fe5b6008805492909104909101905560075468010000000000000000860281151561051557fe5b048302820382039150610529565b60078390555b600160a060020a03881660009081526004602052604090205461054c9084610e4b565b600160a060020a03808a16600081815260046020908152604080832095909555600854600690915290849020805491880287900391820190559350908c16917f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5908e9087905191825260208201526040908101905180910390a350909998505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600854680100000000000000009102919091030490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106a65780601f1061067b576101008083540402835291602001916106a6565b820191906000526020600020905b81548152906001019060200180831161068957829003601f168201915b505050505081565b60008080806106be856005610d8a565b92506106ca8584610da1565b91506106d582610db3565b95945050505050565b60075490565b60008060008060075485111515156106fb57600080fd5b61070485610e61565b9250610711836005610d8a565b91506106d58383610da1565b601281565b60008060006107316001610848565b1161073b57600080fd5b3391506107486000610848565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f1935050505015156107ad57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b6000806000806007546000141561080c576414f46b0400935061083c565b61081d670de0b6b3a7640000610e61565b925061082a836005610d8a565b91506108368383610da1565b90508093505b50505090565b60035481565b6000338261085e57610859816105d5565b610882565b600160a060020a038116600090815260056020526040902054610880826105d5565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b600080600080600754600014156108d25764199c82cc00935061083c565b6108e3670de0b6b3a7640000610e61565b92506108f0836005610d8a565b91506108368383610e4b565b60003361090881610899565b91505090565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106a65780601f1061067b576101008083540402835291602001916106a6565b60008060008060008061098a6108fc565b1161099457600080fd5b33600160a060020a0381166000908152600460205260409020549094508611156109bd57600080fd5b60006109c96001610848565b11156109d7576109d7610722565b6109e2866005610d8a565b92506109ee8684610da1565b91506109f983610e61565b9050610a0760075484610da1565b600755600160a060020a038416600090815260046020526040902054610a2d9087610da1565b600160a060020a038086166000908152600460205260408082209390935590891681522054610a5c9083610e4b565b600160a060020a0388811660008181526004602090815260408083209590955560088054948a16835260069091528482208054948c02909403909355825491815292909220805492850290920190915554600754610ad09190680100000000000000008402811515610aca57fe5b04610e4b565b600855600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b6000806000806000806000610b346108fc565b11610b3e57600080fd5b33600160a060020a038116600090815260046020526040902054909650871115610b6757600080fd5b869450610b7385610e61565b9350610b80846005610d8a565b9250610b8c8484610da1565b9150610b9a60075486610da1565b600755600160a060020a038616600090815260046020526040902054610bc09086610da1565b600160a060020a0387166000908152600460209081526040808320939093556008546006909152918120805492880268010000000000000000860201928390039055600754919250901115610c3157610c2d600854600754680100000000000000008602811515610aca57fe5b6008555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a03811660009081526004602052604081205490811115610ca957610ca981610b21565b610cb1610722565b5050565b60008054421015610cc557600080fd5b6108853483610394565b600080600080610cdf6001610848565b11610ce957600080fd5b610cf36000610848565b33600160a060020a038116600090815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250610d3f908490610394565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b6000808284811515610d9857fe5b04949350505050565b600082821115610dad57fe5b50900390565b6007546000906c01431e0fae6d7217caa00000009082906402540be400610e38610e32730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001610ecd565b85610da1565b811515610e4157fe5b0403949350505050565b600082820183811015610e5a57fe5b9392505050565b600754600090670de0b6b3a7640000838101918101908390610eba6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be40002811515610eb457fe5b04610da1565b811515610ec357fe5b0495945050505050565b80600260018201045b81811015610885578091506002818285811515610eef57fe5b0401811515610efa57fe5b049050610ed65600a165627a7a723058203f530ae894b7ddfee5305fd0ebfcf9a8f1a5553f05e9ca41357d207a046349070029

Deployed Bytecode

0x6060604052600436106101105763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461012d57806306fdde031461015e57806310d0ffdd146101e857806318160ddd146101fe5780632260937314610211578063313ce567146102275780633ccfd60b146102505780634b7503341461026557806356d399e814610278578063688abbf71461028b5780636b2f4632146102a357806370a08231146102b65780638620410b146102d5578063949e8acd146102e857806395d89b41146102fb578063a9059cbb1461030e578063e4849b3214610344578063e9fad8ee1461035a578063f088d5471461036d578063fdb5a03e14610381575b60005442101561011f57600080fd5b61012a346000610394565b50005b341561013857600080fd5b61014c600160a060020a03600435166105d5565b60405190815260200160405180910390f35b341561016957600080fd5b610171610610565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101ad578082015183820152602001610195565b50505050905090810190601f1680156101da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101f357600080fd5b61014c6004356106ae565b341561020957600080fd5b61014c6106de565b341561021c57600080fd5b61014c6004356106e4565b341561023257600080fd5b61023a61071d565b60405160ff909116815260200160405180910390f35b341561025b57600080fd5b610263610722565b005b341561027057600080fd5b61014c6107ee565b341561028357600080fd5b61014c610842565b341561029657600080fd5b61014c6004351515610848565b34156102ae57600080fd5b61014c61088b565b34156102c157600080fd5b61014c600160a060020a0360043516610899565b34156102e057600080fd5b61014c6108b4565b34156102f357600080fd5b61014c6108fc565b341561030657600080fd5b61017161090e565b341561031957600080fd5b610330600160a060020a0360043516602435610979565b604051901515815260200160405180910390f35b341561034f57600080fd5b610263600435610b21565b341561036557600080fd5b610263610c7e565b61014c600160a060020a0360043516610cb5565b341561038c57600080fd5b610263610ccf565b600033818080808080806103a98b6005610d8a565b96506103b6876003610d8a565b95506103c28787610da1565b94506103ce8b88610da1565b93506103d984610db3565b9250680100000000000000008502915060008311801561040357506007546104018482610e4b565b115b151561040e57600080fd5b600160a060020a038a1615801590610438575087600160a060020a03168a600160a060020a031614155b801561045e5750600354600160a060020a038b1660009081526004602052604090205410155b156104a457600160a060020a038a166000908152600560205260409020546104869087610e4b565b600160a060020a038b166000908152600560205260409020556104bf565b6104ae8587610e4b565b945068010000000000000000850291505b60006007541115610523576104d660075484610e4b565b60078190556801000000000000000086028115156104f057fe5b6008805492909104909101905560075468010000000000000000860281151561051557fe5b048302820382039150610529565b60078390555b600160a060020a03881660009081526004602052604090205461054c9084610e4b565b600160a060020a03808a16600081815260046020908152604080832095909555600854600690915290849020805491880287900391820190559350908c16917f022c0d992e4d873a3748436d960d5140c1f9721cf73f7ca5ec679d3d9f4fe2d5908e9087905191825260208201526040908101905180910390a350909998505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600854680100000000000000009102919091030490565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106a65780601f1061067b576101008083540402835291602001916106a6565b820191906000526020600020905b81548152906001019060200180831161068957829003601f168201915b505050505081565b60008080806106be856005610d8a565b92506106ca8584610da1565b91506106d582610db3565b95945050505050565b60075490565b60008060008060075485111515156106fb57600080fd5b61070485610e61565b9250610711836005610d8a565b91506106d58383610da1565b601281565b60008060006107316001610848565b1161073b57600080fd5b3391506107486000610848565b600160a060020a0383166000818152600660209081526040808320805468010000000000000000870201905560059091528082208054929055920192509082156108fc0290839051600060405180830381858888f1935050505015156107ad57600080fd5b81600160a060020a03167fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc8260405190815260200160405180910390a25050565b6000806000806007546000141561080c576414f46b0400935061083c565b61081d670de0b6b3a7640000610e61565b925061082a836005610d8a565b91506108368383610da1565b90508093505b50505090565b60035481565b6000338261085e57610859816105d5565b610882565b600160a060020a038116600090815260056020526040902054610880826105d5565b015b91505b50919050565b600160a060020a0330163190565b600160a060020a031660009081526004602052604090205490565b600080600080600754600014156108d25764199c82cc00935061083c565b6108e3670de0b6b3a7640000610e61565b92506108f0836005610d8a565b91506108368383610e4b565b60003361090881610899565b91505090565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106a65780601f1061067b576101008083540402835291602001916106a6565b60008060008060008061098a6108fc565b1161099457600080fd5b33600160a060020a0381166000908152600460205260409020549094508611156109bd57600080fd5b60006109c96001610848565b11156109d7576109d7610722565b6109e2866005610d8a565b92506109ee8684610da1565b91506109f983610e61565b9050610a0760075484610da1565b600755600160a060020a038416600090815260046020526040902054610a2d9087610da1565b600160a060020a038086166000908152600460205260408082209390935590891681522054610a5c9083610e4b565b600160a060020a0388811660008181526004602090815260408083209590955560088054948a16835260069091528482208054948c02909403909355825491815292909220805492850290920190915554600754610ad09190680100000000000000008402811515610aca57fe5b04610e4b565b600855600160a060020a038088169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019695505050505050565b6000806000806000806000610b346108fc565b11610b3e57600080fd5b33600160a060020a038116600090815260046020526040902054909650871115610b6757600080fd5b869450610b7385610e61565b9350610b80846005610d8a565b9250610b8c8484610da1565b9150610b9a60075486610da1565b600755600160a060020a038616600090815260046020526040902054610bc09086610da1565b600160a060020a0387166000908152600460209081526040808320939093556008546006909152918120805492880268010000000000000000860201928390039055600754919250901115610c3157610c2d600854600754680100000000000000008602811515610aca57fe5b6008555b85600160a060020a03167fc4823739c5787d2ca17e404aa47d5569ae71dfb49cbf21b3f6152ed238a31139868460405191825260208201526040908101905180910390a250505050505050565b33600160a060020a03811660009081526004602052604081205490811115610ca957610ca981610b21565b610cb1610722565b5050565b60008054421015610cc557600080fd5b6108853483610394565b600080600080610cdf6001610848565b11610ce957600080fd5b610cf36000610848565b33600160a060020a038116600090815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250610d3f908490610394565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab3615326458848360405191825260208201526040908101905180910390a2505050565b6000808284811515610d9857fe5b04949350505050565b600082821115610dad57fe5b50900390565b6007546000906c01431e0fae6d7217caa00000009082906402540be400610e38610e32730380d4bd8a8678c1bb542c80deb4800000000000880268056bc75e2d631000006002860a02017005e0a1fd2712875988becaad0000000000850201780197d4df19d605767337e9f14d3eec8920e40000000000000001610ecd565b85610da1565b811515610e4157fe5b0403949350505050565b600082820183811015610e5a57fe5b9392505050565b600754600090670de0b6b3a7640000838101918101908390610eba6414f46b04008285046402540be40002018702600283670de0b6b3a763ffff1982890a8b900301046402540be40002811515610eb457fe5b04610da1565b811515610ec357fe5b0495945050505050565b80600260018201045b81811015610885578091506002818285811515610eef57fe5b0401811515610efa57fe5b049050610ed65600a165627a7a723058203f530ae894b7ddfee5305fd0ebfcf9a8f1a5553f05e9ca41357d207a046349070029

Swarm Source

bzzr://3f530ae894b7ddfee5305fd0ebfcf9a8f1a5553f05e9ca41357d207a04634907
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.