Contract 0x9C025C5EAb68f658C6C6C3A7f6a9E1b24616Ef0A

 

Contract Overview

Balance:
1.078180102236474053 Ether

EtherValue:
$134.01 (@ $124.29/ETH)
TxHash Block Age From To Value [TxFee]
0x20dd1bd0ee6938c935e59d4571bea6beffe3e08123150e5f13db07539e756e2c706553733 days 13 hrs ago0x10d915c0b3e01090c7b5f80ef2d9cdb616283853  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000213705
0xc3d00aa0b1457239cae2ab1a2c86ded43a574ccd0f24ae0bc20209316f592dce695892452 days 6 hrs ago0x281017b4e914b79371d62518b17693b36c7a221e  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.002539663
0xa31e4b275b4e41fe120f3ad8126899c36f40f785f449c4a5e3f6f03965ec4843695891652 days 6 hrs ago0x281017b4e914b79371d62518b17693b36c7a221e  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.001783254
0x11299d206b3ecc1d1220a3d15bfc34e6af5e9ed0292ffe8557d062f771a07a25695884352 days 6 hrs ago0x281017b4e914b79371d62518b17693b36c7a221e  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a1 wei0.00004307
0xba11166ee38da582d32b931eca9e510851b629ea91850f38645514949104bca0694251655 days 29 mins ago0x37c1e248f6acd83d6ef2ee40626b4b1f6bc90454  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000185829
0x61e62cd9e923981a80b53d1f062c4ee97b5468f765fb49f4df3fe574384243eb694248155 days 35 mins ago0xf6fbb138a45446baa0f6671b3642f8702a0a2b86  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000185829
0x61e93ed0d33f36a3c9114c6fe518d0dba9712ac6b1a192fe167165f8f1956ec8693917355 days 13 hrs ago0x2b546d8c42f6b74e9c50455d0b8577e26662387e  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000123886
0xea4206d29f0d649795ddee032121296e607f868b63568750e88fbdab2f1d2fdd693750555 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000070251
0x5214e5988f1b247ca4ecc861431a7a142deb7f6995ebac616ecc204151addf93693750555 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000374672
0x0397e2f55594ed23dc74df6d526eaad0e15edf3cf497fe078cedbe757fc6b650693750255 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000772761
0x1b311b25d1276df4aea0c6dafd830a2b85d60ef359a5149330bcbe52783194c5693750255 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.0001053765
0x4f9630ece0513dfd1308c8db937a87f5ebb2fc134f3359d3db8c415cef06118f693750255 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000070251
0x60083cb50a084304f203ee89b799d59515fa14b43b7267417e77f7f36d97f78b693750255 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.0000538591
0xab0cf9c5a993048e47ee75d8850b9d5c5a03f5aa7fcb2daa8036c59683189a18693750055 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000070251
0xd45a12580f63d2166b72e3f349d4bc0e68c7110f2e501f7a05ec59943779f0d4693750055 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.0000515174
0xc2b941b76beb850c07228de9e998696139d92363f49774cdc7f8198591196d8a693749755 days 20 hrs ago0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b64  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.0001300803
0xb1d40cd689ee9922f4ea4db623f608840c241be97ab41152bf9b84e668875e7f693746455 days 20 hrs ago0xf384e94f871ced25643b93665aae0298e4db3075  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.0005265155
0xff57d3a2eaffbd1ebf078cc007e203f837c0cc366e052fa2a3d017cc99743a48693353956 days 13 hrs ago0xa79dd2d94772bbe4949e5bca5df5cb875df4d995  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000185829
0xe64f7e305d5c920708f02462fa8566704416a0ad6d8de924112627ccbce36b0a693350356 days 13 hrs ago0x684969b54b3f010a6dc7c9f8c3c5d3706584aed4  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.00017715698
0x3ec50cbd7fecd4ee5b41cfd34d5d2f616692d6a6a83b833541d1d380ba288671693319156 days 14 hrs ago0xb74d5f0a81ce99ac1857133e489bc2b4954935ff  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000371658
0x72bc14a7fc586212b51212cc4696e86d851d51972ed3b06a7a889f00233c5ba5693310756 days 14 hrs ago0x47671005fea3821d68323ee9c7721d99518a404e  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.00061943
0x30fcf77ccb80d07176ee67acb928978797ab1b9ca8c96e2920fc59ad8477c44b693310556 days 14 hrs ago0x9365daf86e478d39f944ce85c3bb871813766684  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000140829
0x5e27bc6b9ead36d0f05087f10f11fa53292bb4757dcc218f8aa96c73af42654e693310556 days 14 hrs ago0x300e0ebb5f03d0c7270d83cc003caf152cba921d  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000247772
0x1cba807744bfd67da664d7841bf2777e3b9d77b8c368039a5350fbacfd2d12f7693264156 days 16 hrs ago0x1bc62f3c72b744b5c8c31e0b3c4e687f4fc66ce1  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.000185829
0x6b187af4e91ac5b7cf17edfb2ed919f74e0f579eb0fb7dce0691ccc1353bb0e1693241556 days 17 hrs ago0x49681adf3579ac627cc8980a767e9a4af13d50d7  IN   0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0 Ether0.00046943
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x20dd1bd0ee6938c935e59d4571bea6beffe3e08123150e5f13db07539e756e2c706553733 days 13 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x10d915c0b3e01090c7b5f80ef2d9cdb6162838538.980386108722339131 Ether
0xc3d00aa0b1457239cae2ab1a2c86ded43a574ccd0f24ae0bc20209316f592dce695892452 days 6 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x281017b4e914b79371d62518b17693b36c7a221e0.0891 Ether
0xa31e4b275b4e41fe120f3ad8126899c36f40f785f449c4a5e3f6f03965ec4843695891652 days 6 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x281017b4e914b79371d62518b17693b36c7a221e0.006296360842840394 Ether
0xba11166ee38da582d32b931eca9e510851b629ea91850f38645514949104bca0694251655 days 29 mins ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x37c1e248f6acd83d6ef2ee40626b4b1f6bc904540.237435754174137019 Ether
0x61e62cd9e923981a80b53d1f062c4ee97b5468f765fb49f4df3fe574384243eb694248155 days 35 mins ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xf6fbb138a45446baa0f6671b3642f8702a0a2b861.414184802173470129 Ether
0x61e93ed0d33f36a3c9114c6fe518d0dba9712ac6b1a192fe167165f8f1956ec8693917355 days 13 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x2b546d8c42f6b74e9c50455d0b8577e26662387e0.765047296140144295 Ether
0xc2b941b76beb850c07228de9e998696139d92363f49774cdc7f8198591196d8a693749755 days 20 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x1df3fd4d77455c76f2a65a8f6ddf47c7c2ab9b641.335646774219032709 Ether
0xb1d40cd689ee9922f4ea4db623f608840c241be97ab41152bf9b84e668875e7f693746455 days 20 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xf384e94f871ced25643b93665aae0298e4db30750.0530071058526638 Ether
0xff57d3a2eaffbd1ebf078cc007e203f837c0cc366e052fa2a3d017cc99743a48693353956 days 13 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xa79dd2d94772bbe4949e5bca5df5cb875df4d9954.760755681348578498 Ether
0xe64f7e305d5c920708f02462fa8566704416a0ad6d8de924112627ccbce36b0a693350356 days 13 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x684969b54b3f010a6dc7c9f8c3c5d3706584aed40.294254441416160784 Ether
0x3ec50cbd7fecd4ee5b41cfd34d5d2f616692d6a6a83b833541d1d380ba288671693319156 days 14 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xb74d5f0a81ce99ac1857133e489bc2b4954935ff1.950372533647362642 Ether
0x72bc14a7fc586212b51212cc4696e86d851d51972ed3b06a7a889f00233c5ba5693310756 days 14 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x47671005fea3821d68323ee9c7721d99518a404e1.132773966000595589 Ether
0x30fcf77ccb80d07176ee67acb928978797ab1b9ca8c96e2920fc59ad8477c44b693310556 days 14 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x9365daf86e478d39f944ce85c3bb8718137666840.181058959108004182 Ether
0x5e27bc6b9ead36d0f05087f10f11fa53292bb4757dcc218f8aa96c73af42654e693310556 days 14 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x300e0ebb5f03d0c7270d83cc003caf152cba921d1.367326656931378737 Ether
0x1cba807744bfd67da664d7841bf2777e3b9d77b8c368039a5350fbacfd2d12f7693264156 days 16 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x1bc62f3c72b744b5c8c31e0b3c4e687f4fc66ce11.077444746267147867 Ether
0x6b187af4e91ac5b7cf17edfb2ed919f74e0f579eb0fb7dce0691ccc1353bb0e1693241556 days 17 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x49681adf3579ac627cc8980a767e9a4af13d50d70.99017190679451462 Ether
0x8c83c6e4d768cd48f1afe6097b6f72e5d317c3c142d8c6594648e921e81e498f693221156 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x9e697c0aaeed5b45519fe9e4f8bbd7e3ac2610f114.15730444449063804 Ether
0x40f677c44d7b2058d3269f2cca3c852f7a826d4e330915b84d83f5a60b72f0df693209856 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x459eea9627dd1f1e1e7214324de16d9e64bae3420.113758274956942169 Ether
0xf7b04a454f8c6692db7af810bd6fc95caf457c95f5b47befa430609341ba28aa693208656 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x2c039bf6543d34a14d8ecea95bfd6a77142859cc0.087861455014992203 Ether
0x6671d7a8a441bb61a939ba52a5be256408493b45068f6d96d2383d50ff218e83693208356 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xa5170bc4dd57327416f7bb82b41d4393058d43e30.083237965111038352 Ether
0x8a0b64ae478d1e706952ea77d0a535de9f11589c681ced6030b6a8d00a9e4f72693208056 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xec8c7069294501962f6755fabbed393b8b7799ed0.092488097533280397 Ether
0xa1faf4d795a1ddb4388408b851e10ef6f59bda46d25f1929a808e22c066601f9693207656 days 18 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x7eb020d2e0790e705cb57a272349d898c7b5d4eb0.092487421668187872 Ether
0x51bc8d2f9de850f21e4d60da9269f2578d9164b9edc3a9b621ef1e23bbdfc260693164756 days 20 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x00dfecf2df1b0bda707775c0c19287affa0cf21f63.481485608440107736 Ether
0x57829962483393090d786b8cfca20c39f34644cf53844c697f46cac6d872386d693163256 days 20 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0xd956c1172077db01ec2c139676c1030b1e96c0f73.151390791923465968 Ether
0x65c54a49da6bd42696ccf296f778b6fec620cf355c56ff6e070987f0f066621d693147956 days 21 hrs ago0x9c025c5eab68f658c6c6c3a7f6a9e1b24616ef0a0x5773a8391867611dbe68b09297f946948c06e5e05.053801114132989207 Ether
[ Download CSV Export 
Contract Source Code Verified (Exact Match)
Contract Name: NeutrinoTokenStandard
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.25;

/*
 [Rules]

 [✓] 10% Deposit fee
            33% => referrer (or contract owner, if none)
            10% => contract owner
            57% => dividends
 [✓] 1% Withdraw fee
           100% => contract owner
*/

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

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

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

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

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

    event onWithdraw(
        address indexed customerAddress,
        uint256 ethereumWithdrawn
    );

    string public name = "Neutrino Token Standard";
    string public symbol = "NTS";
    address constant internal boss = 0x10d915C0B3e01090C7B5f80eF2D9CdB616283853;
    uint8 constant public decimals = 18;
    uint8 constant internal entryFee_ = 10;
    uint8 constant internal exitFee_ = 1;
    uint8 constant internal refferalFee_ = 33;
    uint8 constant internal ownerFee1 = 10;
    uint8 constant internal ownerFee2 = 25;
    uint32 holdTimeInBlocks = 558000;
    uint256 constant internal tokenPrice = 0.001 ether;
    
    uint256 constant internal magnitude = 2 ** 64;
    uint256 public stakingRequirement = 50e18;
    mapping(address => uint256) internal tokenBalanceLedger_;
    mapping(address => uint256) internal referralBalance_;
    mapping(address => int256) internal payoutsTo_;
    mapping(address => uint256) public since;

    uint256 internal tokenSupply_;
    uint256 internal profitPerShare_;

    function buy(address _referredBy) public payable returns (uint256) {
        return purchaseTokens(msg.value, _referredBy);
    }

    function() payable public {
        purchaseTokens(msg.value, 0x0);
    }

    function reinvest() onlyStronghands public {
        uint256 _dividends = myDividends(false);
        address _customerAddress = msg.sender;
        payoutsTo_[_customerAddress] +=  (int256) (_dividends * magnitude);
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;
        uint256 _tokens = purchaseTokens(_dividends, 0x0);
        emit onReinvestment(_customerAddress, _dividends, _tokens);
    }

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

    function withdraw() onlyStronghands public {
        address _customerAddress = msg.sender;
        uint256 _dividends = myDividends(false);
        payoutsTo_[_customerAddress] += (int256) (_dividends * magnitude);
        _dividends += referralBalance_[_customerAddress];
        referralBalance_[_customerAddress] = 0;
        _customerAddress.transfer(_dividends);
        emit onWithdraw(_customerAddress, _dividends);
    }

    function sell(uint256 _amountOfTokens) onlyBagholders public {
        address _customerAddress = msg.sender;
        require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]);
        uint256 _tokens = _amountOfTokens;
        uint256 _ethereum = tokensToEthereum_(_tokens);

        uint8 applyFee = exitFee_;
        if (since[msg.sender] + holdTimeInBlocks < block.number) applyFee = 20;

        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, applyFee), 100);
        uint256 forBoss = SafeMath.div(SafeMath.mul(_dividends, ownerFee2), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

        _dividends = SafeMath.sub(_dividends, forBoss);

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

        int256 _updatedPayouts = (int256) (profitPerShare_ * _tokens + (_taxedEthereum * magnitude));
        payoutsTo_[_customerAddress] -= _updatedPayouts;
        referralBalance_[boss] = SafeMath.add(referralBalance_[boss], forBoss);

        if (tokenSupply_ > 0) {
            profitPerShare_ = SafeMath.add(profitPerShare_, (_dividends * magnitude) / tokenSupply_);
        }
        emit onTokenSell(_customerAddress, _tokens, _taxedEthereum, now, buyPrice());
    }

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

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

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

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

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

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

    function sellPrice() public pure returns (uint256) {
        uint256 _ethereum = tokensToEthereum_(1e18);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, exitFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);

        return _taxedEthereum;
    }

    function buyPrice() public pure returns (uint256) {
        uint256 _ethereum = tokensToEthereum_(1e18);
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, entryFee_), 100);
        uint256 _taxedEthereum = SafeMath.add(_ethereum, _dividends);

        return _taxedEthereum;
    }

    function calculateTokensReceived(uint256 _ethereumToSpend) public pure returns (uint256) {
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereumToSpend, entryFee_), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereumToSpend, _dividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);

        return _amountOfTokens;
    }

    function calculateEthereumReceived(uint256 _tokensToSell) public view returns (uint256) {
        require(_tokensToSell <= tokenSupply_);
        uint256 _ethereum = tokensToEthereum_(_tokensToSell);
        uint8 applyFee = exitFee_;
        if (since[msg.sender] + holdTimeInBlocks > block.number) applyFee = 20;
        
        uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, applyFee), 100);
        uint256 _taxedEthereum = SafeMath.sub(_ethereum, _dividends);
        return _taxedEthereum;
    }

    function purchaseTokens(uint256 _incomingEthereum, address _referredBy) internal returns (uint256) {
        address _customerAddress = msg.sender;
        uint256 _undividedDividends = SafeMath.div(SafeMath.mul(_incomingEthereum, entryFee_), 100);
        uint256 _referralBonus = SafeMath.div(SafeMath.mul(_undividedDividends, refferalFee_), 100);
        uint256 forBoss = SafeMath.div(SafeMath.mul(_undividedDividends, ownerFee1), 100);
        uint256 _dividends = SafeMath.sub(SafeMath.sub(_undividedDividends, _referralBonus), forBoss);
        uint256 _taxedEthereum = SafeMath.sub(_incomingEthereum, _undividedDividends);
        uint256 _amountOfTokens = ethereumToTokens_(_taxedEthereum);
        uint256 _fee = _dividends * magnitude;

        require(_amountOfTokens > 0 && SafeMath.add(_amountOfTokens, tokenSupply_) > tokenSupply_);

        if (
            _referredBy != 0x0000000000000000000000000000000000000000 &&
            _referredBy != _customerAddress &&
            tokenBalanceLedger_[_referredBy] >= stakingRequirement
        ) {
            referralBalance_[_referredBy] = SafeMath.add(referralBalance_[_referredBy], _referralBonus);
            emit onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, _referredBy, now, buyPrice());
        } else {
            referralBalance_[boss] = SafeMath.add(referralBalance_[boss], _referralBonus);
            emit onTokenPurchase(_customerAddress, _incomingEthereum, _amountOfTokens, 0x0, now, buyPrice());
        }

        referralBalance_[boss] = SafeMath.add(referralBalance_[boss], forBoss);

        if (tokenSupply_ > 0) {
            tokenSupply_ = SafeMath.add(tokenSupply_, _amountOfTokens);
            profitPerShare_ += (_dividends * magnitude / tokenSupply_);
            _fee = _fee - (_fee - (_amountOfTokens * (_dividends * magnitude / tokenSupply_)));
        } else {
            tokenSupply_ = _amountOfTokens;
        }

        tokenBalanceLedger_[_customerAddress] = SafeMath.add(tokenBalanceLedger_[_customerAddress], _amountOfTokens);
        int256 _updatedPayouts = (int256) (profitPerShare_ * _amountOfTokens - _fee);
        payoutsTo_[_customerAddress] += _updatedPayouts;
        if (since[msg.sender] == 0) since[msg.sender] = block.number;

        return _amountOfTokens;
    }

    function ethereumToTokens_(uint256 _ethereum) public pure returns (uint256) {
        uint256 _tokensReceived = SafeMath.div(SafeMath.mul(_ethereum, 1e18), tokenPrice);

        return _tokensReceived;
    }

    function tokensToEthereum_(uint256 _tokens) public pure returns (uint256) {
        uint256 _etherReceived = SafeMath.div(SafeMath.mul(_tokens, tokenPrice), 1e18);

        return _etherReceived;
    }

    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = (x + 1) / 2;
        y = x;

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

library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0);
        uint256 c = a / b;
        return c;
    }

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

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

Contract ABI
[{"constant":true,"inputs":[{"name":"_customerAddress","type":"address"}],"name":"dividendsOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_ethereumToSpend","type":"uint256"}],"name":"calculateTokensReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","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":"_ethereum","type":"uint256"}],"name":"ethereumToTokens_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","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":"pure","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":"pure","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":true,"inputs":[{"name":"_tokens","type":"uint256"}],"name":"tokensToEthereum_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","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":true,"inputs":[{"name":"","type":"address"}],"name":"since","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"incomingEthereum","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"},{"indexed":true,"name":"referredBy","type":"address"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"}],"name":"onTokenPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"tokensBurned","type":"uint256"},{"indexed":false,"name":"ethereumEarned","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"}],"name":"onTokenSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumReinvested","type":"uint256"},{"indexed":false,"name":"tokensMinted","type":"uint256"}],"name":"onReinvestment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"customerAddress","type":"address"},{"indexed":false,"name":"ethereumWithdrawn","type":"uint256"}],"name":"onWithdraw","type":"event"}]

Contract Creation Code
60c0604052601760808190527f4e65757472696e6f20546f6b656e205374616e6461726400000000000000000060a0908152620000409160009190620000bb565b506040805180820190915260038082527f4e5453000000000000000000000000000000000000000000000000000000000060209092019182526200008791600191620000bb565b506002805463ffffffff1916620883b01790556802b5e3af16b1880000600355348015620000b457600080fd5b5062000160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000fe57805160ff19168380011785556200012e565b828001600101855582156200012e579182015b828111156200012e57825182559160200191906001019062000111565b506200013c92915062000140565b5090565b6200015d91905b808211156200013c576000815560010162000147565b90565b610f7280620001706000396000f3006080604052600436106101265763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166265318b811461013457806306fdde031461016757806310d0ffdd146101f157806318160ddd14610209578063226093731461021e5780632a9121c714610236578063313ce5671461024e5780633ccfd60b146102795780634b7503341461029057806356d399e8146102a5578063688abbf7146102ba5780636b2f4632146102d457806370a08231146102e95780638620410b1461030a578063949e8acd1461031f57806395d89b4114610334578063bf3b397b14610349578063e4849b3214610361578063e9fad8ee14610379578063eaec2b431461038e578063f088d547146103af578063fdb5a03e146103c3575b6101313460006103d8565b50005b34801561014057600080fd5b50610155600160a060020a036004351661078d565b60408051918252519081900360200190f35b34801561017357600080fd5b5061017c6107c8565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b657818101518382015260200161019e565b50505050905090810190601f1680156101e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101fd57600080fd5b50610155600435610856565b34801561021557600080fd5b50610155610889565b34801561022a57600080fd5b5061015560043561088f565b34801561024257600080fd5b50610155600435610908565b34801561025a57600080fd5b50610263610934565b6040805160ff9092168252519081900360200190f35b34801561028557600080fd5b5061028e610939565b005b34801561029c57600080fd5b50610155610a0c565b3480156102b157600080fd5b50610155610a47565b3480156102c657600080fd5b506101556004351515610a4d565b3480156102e057600080fd5b50610155610a8d565b3480156102f557600080fd5b50610155600160a060020a0360043516610a92565b34801561031657600080fd5b50610155610aad565b34801561032b57600080fd5b50610155610ae0565b34801561034057600080fd5b5061017c610af2565b34801561035557600080fd5b50610155600435610b4c565b34801561036d57600080fd5b5061028e600435610b71565b34801561038557600080fd5b5061028e610d9c565b34801561039a57600080fd5b50610155600160a060020a0360043516610dc9565b610155600160a060020a0360043516610ddb565b3480156103cf57600080fd5b5061028e610ded565b60003381808080808080806103f86103f18d600a610ea3565b6064610edc565b97506104086103f1896021610ea3565b96506104186103f189600a610ea3565b955061042d6104278989610eff565b87610eff565b94506104398c89610eff565b935061044484610908565b9250680100000000000000008502915060008311801561046e575060085461046c8482610f14565b115b151561047957600080fd5b600160a060020a038b16158015906104a3575088600160a060020a03168b600160a060020a031614155b80156104c95750600354600160a060020a038c1660009081526004602052604090205410155b1561056657600160a060020a038b166000908152600560205260409020546104f19088610f14565b600160a060020a03808d166000818152600560205260409020929092558a167f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e864261053c610aad565b604080519485526020850193909352838301919091526060830152519081900360800190a361062b565b7310d915c0b3e01090c7b5f80ef2d9cdb6162838536000526005602052600080516020610f278339815191525461059d9088610f14565b7310d915c0b3e01090c7b5f80ef2d9cdb61628385360009081526005602052600080516020610f2783398151915291909155600160a060020a038a167f8032875b28d82ddbd303a9e4e5529d047a14ecb6290f80012a81b7e6227ff1ab8e8642610605610aad565b604080519485526020850193909352838301919091526060830152519081900360800190a35b7310d915c0b3e01090c7b5f80ef2d9cdb6162838536000526005602052600080516020610f27833981519152546106629087610f14565b7310d915c0b3e01090c7b5f80ef2d9cdb61628385360009081526005602052600080516020610f278339815191529190915560085411156106f6576106a960085484610f14565b60088190556801000000000000000086028115156106c357fe5b600980549290910490910190556008546801000000000000000086028115156106e857fe5b0483028203820391506106fc565b60088390555b600160a060020a03891660009081526004602052604090205461071f9084610f14565b600160a060020a038a166000908152600460209081526040808320939093556009546006825283832080549188028790039182019055338352600790915291902054909150151561077d573360009081526007602052604090204390555b50909a9950505050505050505050565b600160a060020a0316600090815260066020908152604080832054600490925290912054600954680100000000000000009102919091030490565b6000805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561084e5780601f106108235761010080835404028352916020019161084e565b820191906000526020600020905b81548152906001019060200180831161083157829003601f168201915b505050505081565b60008080806108696103f186600a610ea3565b92506108758584610eff565b915061088082610908565b95945050505050565b60085490565b600080600080600060085486111515156108a857600080fd5b6108b186610b4c565b60025433600090815260076020526040902054919550600194504363ffffffff90911690910111156108e257601492505b6108f26103f1858560ff16610ea3565b91506108fe8483610eff565b9695505050505050565b60008061092d61092084670de0b6b3a7640000610ea3565b66038d7ea4c68000610edc565b9392505050565b601281565b60008060006109486001610a4d565b1161095257600080fd5b33915061095f6000610a4d565b600160a060020a038316600081815260066020908152604080832080546801000000000000000087020190556005909152808220805490839055905193019350909183156108fc0291849190818181858888f193505050501580156109c8573d6000803e3d6000fd5b50604080518281529051600160a060020a038416917fccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc919081900360200190a25050565b600080600080610a23670de0b6b3a7640000610b4c565b9250610a336103f1846001610ea3565b9150610a3f8383610eff565b949350505050565b60035481565b60003382610a6357610a5e8161078d565b61092d565b600160a060020a038116600090815260056020526040902054610a858261078d565b019392505050565b303190565b600160a060020a031660009081526004602052604090205490565b600080600080610ac4670de0b6b3a7640000610b4c565b9250610ad46103f184600a610ea3565b9150610a3f8383610f14565b600033610aec81610a92565b91505090565b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561084e5780601f106108235761010080835404028352916020019161084e565b60008061092d610b638466038d7ea4c68000610ea3565b670de0b6b3a7640000610edc565b6000806000806000806000806000610b87610ae0565b11610b9157600080fd5b33600081815260046020526040902054909850891115610bb057600080fd5b889650610bbc87610b4c565b60025433600090815260076020526040902054919750600196504363ffffffff9091169091011015610bed57601494505b610bfd6103f1878760ff16610ea3565b9350610c0d6103f1856019610ea3565b9250610c198685610eff565b9150610c258484610eff565b9350610c3360085488610eff565b600855600160a060020a038816600090815260046020526040902054610c599088610eff565b600160a060020a038916600090815260046020908152604080832093909355600954600682529282208054938b02680100000000000000008702019384900390557310d915c0b3e01090c7b5f80ef2d9cdb61628385390915260059052600080516020610f2783398151915254909150610cd39084610f14565b7310d915c0b3e01090c7b5f80ef2d9cdb61628385360009081526005602052600080516020610f27833981519152919091556008541115610d3657610d32600954600854680100000000000000008702811515610d2c57fe5b04610f14565b6009555b87600160a060020a03167f8d3a0130073dbd54ab6ac632c05946df540553d3b514c9f8165b4ab7f2b1805e888442610d6c610aad565b604080519485526020850193909352838301919091526060830152519081900360800190a2505050505050505050565b3360008181526004602052604081205490811115610dbd57610dbd81610b71565b610dc5610939565b5050565b60076020526000908152604090205481565b6000610de734836103d8565b92915050565b600080600080610dfd6001610a4d565b11610e0757600080fd5b610e116000610a4d565b33600081815260066020908152604080832080546801000000000000000087020190556005909152812080549082905590920194509250610e539084906103d8565b905081600160a060020a03167fbe339fc14b041c2b0e0f3dd2cd325d0c3668b78378001e53160eab36153264588483604051808381526020018281526020019250505060405180910390a2505050565b600080831515610eb65760009150610ed5565b50828202828482811515610ec657fe5b0414610ed157600080fd5b8091505b5092915050565b600080808311610eeb57600080fd5b8284811515610ef657fe5b04949350505050565b600082821115610f0e57600080fd5b50900390565b600082820183811015610ed157600080fd003da9f4950be0ad425c904eb1e7a324f21d3383c7b2b242570f7821e9665dcdc9a165627a7a723058201db17b783af1cb61eb192846fbec08ce57bc1274070f4182d7b9c4226546e8c80029


   Swarm Source:
bzzr://1db17b783af1cb61eb192846fbec08ce57bc1274070f4182d7b9c4226546e8c8
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.