Contract Overview
Balance: 0.002078660551666955 Ether
Ether Value: $0.43 (@ $205.27/ETH)
Transactions: 81 txns
 Latest 25 txns From a total of 81 Transactions

TxHash Age From To Value [TxFee]
0x582e572d7394d44215258a8bb7675c4761c54e1ee000e017ea1d2dff54daec962 days 15 hrs ago0xe4920976f30a7ff1de349a114ab11bd0730c8c10  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.0006
0xef9752feded436aaef268a3e25cc22d20b060ab095a3dd9aae5fed2ccb3b60b23 days 18 hrs ago0xf4ee5f307ac43dd4ef66426e34ddcccdf300e19e  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.00004367
0x302c59c4d49a5e233afa6a3938fc935618e3c02ffdd50372dc238d261a856a013 days 22 hrs ago0x92dff9d4b7b8977e741bd93e5110114c77e314a3  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000065505
0x9b41ee879bf77828f5de6391620e921c945ec573f8113dd7bf495ac07efa80e44 days 3 hrs ago0x7e6e79c6b7a356f8d9c9f718a34985ac17d31ab8  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60.0000000001 Ether0.0000502205
0x3df124142e16074e30e149a264a1c7123746ed4334576e5621ec53015de184684 days 4 hrs ago0x78e1023f0297fd8f31a0fc6c0981574980b9d4f6  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d613 Ether0.00349668
0x13c9f2eaaa6f8dea613a801e9a8161fb2f14e193af39bd903c4f230e1d568bcb4 days 4 hrs ago0xdc52ebcf077e64076321772ef39eb336a27f8d12  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.0010498
0x79f8c35deae88d6ba4d390f4ed3646c0931abba0fc805f92c8a942477f97dccf4 days 4 hrs ago0x61ea5720b2fe33a8ad4a5b3b1780b35fe31f2344  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60.3 Ether0.008947854
0x772e1917e52f7a66080ac189e183cd032db3e91a82e3611906b5e76b9907c5c54 days 4 hrs ago0x6ad6a68ce57d01036c1a6505239c5c7ddd7290f2  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000125796
0x723fa21273e844a48a6fbaeebaa43c85c82f1ae2bfe32bd656075999972b0e674 days 6 hrs ago0xe4920976f30a7ff1de349a114ab11bd0730c8c10  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000125796
0xbd93032a3a5da5c348d95075510ae5fed2cf66465227260b62040874c1b0cb284 days 7 hrs ago0x92dff9d4b7b8977e741bd93e5110114c77e314a3  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d63 Ether0.00052431
0x28cba0d3c5a2e0e3217062c3921314261f5fda967dd9d58be053defd46b97f714 days 8 hrs ago0x93af2363a905ec2ff6a2ac6d3acf69a4c8370044  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000293524
0x2cf74dc2aacd70b5406367b67ccd92c56063ef99d553d2b4ac45ede2d3001e7c4 days 11 hrs ago0xba2111efe872651ba2c6dfa5166677c372b63412  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000125796
0xad3aac781d522ae465d3465b5b68449b4ce64c075dff2895feb1522b9204853a4 days 13 hrs ago0x305fa0b9b8df495f7ba1ea3fe59dabdc1bf8f292  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.001721672
0x02a064e0343ab11af147a9780ec7d18e41d609ab1875fdf49e274fc156ab78df4 days 13 hrs ago0x305fa0b9b8df495f7ba1ea3fe59dabdc1bf8f292  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000861
0x443f7c92bfe78192ea306a85f1b442691bdfb865a8091eb41ff36e29be9b9d4f4 days 13 hrs ago0x93af2363a905ec2ff6a2ac6d3acf69a4c8370044  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60.048 Ether0.000497103
0x926881b7604c3129002ada33805dfa9aa340714eeade622aac09bc37fd5d95074 days 17 hrs ago0xd9df63e596b9b50d121744283b8cf6fc99846d93  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000083864
0xfb1c59718fd32d7a06a64ddc8142b4f42613d53933ce11abfdc9383ae94f3b3b4 days 19 hrs ago0x477c3979d0b003b8603a68387b118ee0f74b6e31  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000335936
0x028b705d571ffadbe214dc07ca8e461d7064e0f2c2be06de1faeb9fac7bc2dad5 days 8 hrs ago0xdc52ebcf077e64076321772ef39eb336a27f8d12  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.0010498
0x8ce20942ebe2f0a284c61e336aab1b1be9ef8f483eda7be2a78904f4fb8ab08a5 days 13 hrs ago0x305fa0b9b8df495f7ba1ea3fe59dabdc1bf8f292  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.001721672
0x76d8cee0f0aa25bf879a87414e3a959662479b19df9723e277aeb846d87452bf5 days 13 hrs ago0x7eb0f125a9e67a9cf6adc1542ef10f307c682959  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.00020996
0x6c1f154812b013d76c6dbdb086f140dd297dce041529af9085263074787152845 days 15 hrs ago0xe4920976f30a7ff1de349a114ab11bd0730c8c10  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000083864
0xf9242ece85ed18b42fb3aa49330826b5ca3340eca820e8f87d6d213f16a1f48c5 days 21 hrs ago0x5b96908fd8cd473bf134f5af6b761b9ed23fd8f4  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000125796
0xd6f60d92639d968ac09a0f4a8eb2c8541ce72e0a501aff773140c7042ca659065 days 22 hrs ago0x2227d801c547a1c5c0501d16074f437347a07e2a  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.000083864
0x826ff6b9b4ef2eead7f7791d2c393913f46612344926f90c5b9bedaed22309095 days 23 hrs ago0x7e6e79c6b7a356f8d9c9f718a34985ac17d31ab8  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d61.05 Ether0.0001988412
0xbdf6231ca0302f882e26d5384f0a139c032b9b05362f7ab0d12c3730af52932b5 days 23 hrs ago0xdc52ebcf077e64076321772ef39eb336a27f8d12  IN   0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60 Ether0.0010498
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60xd9be11e7412584368546b1cae64b6c384ae85ebb0.001044859666666666 Ether
0x5f1a5b248f0527ee6479267b8652827b90bc8ca3f0cb2bb87fec26307f58c50165248344 days 3 hrs ago0x660c46a5650fb0619f603a2f4d73a1cdf8cd00d60x409c05260af7de6f4e1c68e17d07da36b1df972c0.019852333666666667 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Reternal
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

/**
 * 
 * ██████╗ ███████╗████████╗███████╗██████╗ ███╗   ██╗ █████╗ ██╗     
 * ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗████╗  ██║██╔══██╗██║     
 * ██████╔╝█████╗     ██║   █████╗  ██████╔╝██╔██╗ ██║███████║██║   
 * ██╔══██╗██╔══╝     ██║   ██╔══╝  ██╔══██╗██║╚██╗██║██╔══██║██║     
 * ██║  ██║███████╗   ██║   ███████╗██║  ██║██║ ╚████║██║  ██║███████╗
 * ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝
 * 
 *  Contacts:
 * 
 *   -- t.me/Reternal
 *   -- https://www.reternal.net
 * 
 * - GAIN PER 24 HOURS:
 * 
 *     -- Individual balance < 1 Ether: 3.55%
 *     -- Individual balance >= 1 Ether: 3.65%
 *     -- Individual balance >= 4 Ether: 3.75%
 *     -- Individual balance >= 12 Ether: 3.85%
 *     -- Individual balance >= 50 Ether: 4%
 * 
 *     -- Contract balance < 200 Ether: 0%
 *     -- Contract balance >= 200 Ether: 0.30%
 *     -- Contract balance >= 500 Ether: 0.40%
 *     -- Contract balance >= 900 Ether: 0.50%
 *     -- Contract balance >= 1500 Ether: 0.65%
 *     -- Contract balance >= 2000 Ether: 0.80%
 * 
 *  - Minimal contribution 0.01 eth
 *  - Contribution allocation schemes:
 *    -- 95% payments
 *    -- 5% Marketing + Operating Expenses
 * 
 * - How to use:
 *  1. Send from your personal ETH wallet to the smart-contract address any amount more than or equal to 0.01 ETH
 *  2. Add your refferer's wallet to a HEX data in your transaction to 
 *     get a bonus amount back to your wallet only for the FIRST deposit
 *     IMPORTANT: if you want to support Reternal project, you can leave your HEX data field empty, 
 *                if you have no referrer and do not want to support Reternal, you can type 'noreferrer'
 *                if there is no referrer, you will not get any bonuses
 *  3. Use etherscan.io to verify your transaction 
 *  4. Claim your dividents by sending 0 ether transaction (available anytime)
 *  5. You can reinvest anytime you want
 *
 * RECOMMENDED GAS LIMIT: 200000
 * RECOMMENDED GAS PRICE: https://ethgasstation.info/
 * 
 * The smart-contract has a "restart" function, more info at www.reternal.net
 * 
 * If you want to check your dividents, you can use etherscan.io site, following the "Internal Txns" tab of your wallet
 * WARNING: do not use exchanges' wallets - you will loose your funds. Only use your personal wallet for transactions 
 * 
 */

contract Reternal {
    
    // Investor's data storage
    mapping (address => Investor) public investors;
    address[] public addresses;
    
    struct Investor
    {
        uint id;
        uint deposit;
        uint depositCount;
        uint block;
        address referrer;
    }
    
    uint constant public MINIMUM_INVEST = 10000000000000000 wei;
    address defaultReferrer = 0x25EDFd665C2898c2898E499Abd8428BaC616a0ED;
    
    uint public round;
    uint public totalDepositAmount;
    bool public pause;
    uint public restartBlock;
    bool ref_flag;
    
    // Investors' dividents increase goals due to a bank growth
    uint bank1 = 200e18; // 200 eth
    uint bank2 = 500e18; // 500 eth
    uint bank3 = 900e18; // 900 eth
    uint bank4 = 1500e18; // 1500 eth
    uint bank5 = 2000e18; // 2000 eth
    // Investors' dividents increase due to individual deposit amount
    uint dep1 = 1e18; // 1 ETH
    uint dep2 = 4e18; // 4 ETH
    uint dep3 = 12e18; // 12 ETH
    uint dep4 = 5e19; // 50 ETH
    
    event NewInvestor(address indexed investor, uint deposit, address referrer);
    event PayOffDividends(address indexed investor, uint value);
    event refPayout(address indexed investor, uint value, address referrer);
    event NewDeposit(address indexed investor, uint value);
    event NextRoundStarted(uint round, uint block, address addr, uint value);
    
    constructor() public {
        addresses.length = 1;
        round = 1;
        pause = false;
    }

    function restart() private {
        address addr;

        for (uint i = addresses.length - 1; i > 0; i--) {
            addr = addresses[i];
            addresses.length -= 1;
            delete investors[addr];
        }
        
        emit NextRoundStarted(round, block.number, msg.sender, msg.value);
        pause = false;
        round += 1;
        totalDepositAmount = 0;
        
        createDeposit();
    }

    function getRaisedPercents(address addr) internal view  returns(uint){
        // Individual deposit percentage sums up with 'Reternal total fund' percentage
        uint percent = getIndividualPercent() + getBankPercent();
        uint256 amount = investors[addr].deposit * percent / 100*(block.number-investors[addr].block)/6000;
        return(amount / 100);
    }
    
    function payDividends() private{
        require(investors[msg.sender].id > 0, "Investor not found.");
        // Investor's total raised amount
        uint amount = getRaisedPercents(msg.sender);
            
        if (address(this).balance < amount) {
            pause = true;
            restartBlock = block.number + 6000;
            return;
        }
        
        // Service fee deduction 
        uint FeeToWithdraw = amount * 5 / 100;
        uint payment = amount - FeeToWithdraw;
        
        address(0xD9bE11E7412584368546b1CaE64b6C384AE85ebB).transfer(FeeToWithdraw);
        msg.sender.transfer(payment);
        emit PayOffDividends(msg.sender, amount);
        
    }
    
    function createDeposit() private{
        Investor storage user = investors[msg.sender];
        
        if (user.id == 0) {
            
            // Check for malicious smart-contract
            msg.sender.transfer(0 wei);
            user.id = addresses.push(msg.sender);

            if (msg.data.length != 0) {
                address referrer = bytesToAddress(msg.data);
                
                // Check for referrer's registration. Check for self referring
                if (investors[referrer].id > 0 && referrer != msg.sender) {
                    user.referrer = referrer;
                    
                    // Cashback only for the first deposit
                    if (user.depositCount == 0) {
                        uint cashback = msg.value / 100;
                        if (msg.sender.send(cashback)) {
                            emit refPayout(msg.sender, cashback, referrer);
                        }
                    }
                }
            } else {
                // If data is empty:
                user.referrer = defaultReferrer;
            }
            
            emit NewInvestor(msg.sender, msg.value, referrer);
            
        } else {
            // Dividents payment for an investor
            payDividends();
        }
        
        // 2% from a referral deposit transfer to a referrer 
        uint payReferrer = msg.value * 2 / 100; 
        
        if (user.referrer == defaultReferrer) {
            user.referrer.transfer(payReferrer);
        } else {
            investors[referrer].deposit += payReferrer;
        }
        
        
        user.depositCount++;
        user.deposit += msg.value;
        user.block = block.number;
        totalDepositAmount += msg.value;
        emit NewDeposit(msg.sender, msg.value);
    }

    function() external payable {
        if(pause) {
            if (restartBlock <= block.number) { restart(); }
            require(!pause, "Eternal is restarting, wait for the block in restartBlock");
        } else {
            if (msg.value == 0) {
                payDividends();
                return;
            }
            require(msg.value >= MINIMUM_INVEST, "Too small amount, minimum 0.01 ether");
            createDeposit();
        }
    }
    
    function getBankPercent() public view returns(uint){
        
        uint contractBalance = address(this).balance;
        
        uint totalBank1 = bank1;
        uint totalBank2 = bank2;
        uint totalBank3 = bank3;
        uint totalBank4 = bank4;
        uint totalBank5 = bank5;
        
        if(contractBalance < totalBank1){
            return(0);
        }
        if(contractBalance >= totalBank1 && contractBalance < totalBank2){
            return(30);
        }
        if(contractBalance >= totalBank2 && contractBalance < totalBank3){
            return(40);
        }
        if(contractBalance >= totalBank3 && contractBalance < totalBank4){
            return(50);
        }
        if(contractBalance >= totalBank4 && contractBalance < totalBank5){
            return(65);
        }
        if(contractBalance >= totalBank5){
            return(80);
        }
    }

    function getIndividualPercent() public view returns(uint){
        
        uint userBalance = investors[msg.sender].deposit;
        
        uint totalDeposit1 = dep1;
        uint totalDeposit2 = dep2;
        uint totalDeposit3 = dep3;
        uint totalDeposit4 = dep4;
        
        if(userBalance < totalDeposit1){
            return(355);
        }
        if(userBalance >= totalDeposit1 && userBalance < totalDeposit2){
            return(365);
        }
        if(userBalance >= totalDeposit2 && userBalance < totalDeposit3){
            return(375);
        }
        if(userBalance >= totalDeposit3 && userBalance < totalDeposit4){
            return(385); 
        }
        if(userBalance >= totalDeposit4){
            return(400);
        }
    }
    
    function getInvestorCount() public view returns (uint) {
        return addresses.length - 1;
    }
    
    function bytesToAddress(bytes bys) private pure returns (address addr) {
        assembly {
            addr := mload(add(bys, 20))
        }
    }

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"round","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_INVEST","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getIndividualPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investors","outputs":[{"name":"id","type":"uint256"},{"name":"deposit","type":"uint256"},{"name":"depositCount","type":"uint256"},{"name":"block","type":"uint256"},{"name":"referrer","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"restartBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInvestorCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDepositAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBankPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"addresses","outputs":[{"name":"","type":"address"}],"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":"investor","type":"address"},{"indexed":false,"name":"deposit","type":"uint256"},{"indexed":false,"name":"referrer","type":"address"}],"name":"NewInvestor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investor","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"PayOffDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investor","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"referrer","type":"address"}],"name":"refPayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"investor","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"NewDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"round","type":"uint256"},{"indexed":false,"name":"block","type":"uint256"},{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"NextRoundStarted","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405260028054600160a060020a0319167325edfd665c2898c2898e499abd8428bac616a0ed179055680ad78ebc5ac6200000600855681b1ae4d6e2ef5000006009556830ca024f987b900000600a55685150ae84a8cdf00000600b55686c6b935b8bbd400000600c55670de0b6b3a7640000600d55673782dace9d900000600e5567a688906bd8b00000600f556802b5e3af16b18800006010553480156100a857600080fd5b5060016100b581806100ca565b5060016003556005805460ff19169055610114565b8154818355818111156100ee576000838152602090206100ee9181019083016100f3565b505050565b61011191905b8082111561010d57600081556001016100f9565b5090565b90565b610bb8806101236000396000f3006080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663146ca53181146102105780633d4cfa6b14610237578063466a34431461024c5780636f7bc9be146102615780637d19ba23146102b65780638456cb59146102cb578063960524e3146102f4578063c5408d5014610309578063d77d00121461031e578063edf26d9b14610333575b60055460ff161561015c5760065443106100bf576100bf610367565b60055460ff161561015757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f457465726e616c2069732072657374617274696e672c207761697420666f722060448201527f74686520626c6f636b20696e2072657374617274426c6f636b00000000000000606482015290519081900360840190fd5b61020e565b34151561016b5761015761047a565b662386f26fc1000034101561020657604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f546f6f20736d616c6c20616d6f756e742c206d696e696d756d20302e3031206560448201527f7468657200000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61020e6105e3565b005b34801561021c57600080fd5b50610225610906565b60408051918252519081900360200190f35b34801561024357600080fd5b5061022561090c565b34801561025857600080fd5b50610225610917565b34801561026d57600080fd5b50610282600160a060020a03600435166109b7565b604080519586526020860194909452848401929092526060840152600160a060020a03166080830152519081900360a00190f35b3480156102c257600080fd5b506102256109ef565b3480156102d757600080fd5b506102e06109f5565b604080519115158252519081900360200190f35b34801561030057600080fd5b506102256109fe565b34801561031557600080fd5b50610225610a09565b34801561032a57600080fd5b50610225610a0f565b34801561033f57600080fd5b5061034b600435610ac4565b60408051600160a060020a039092168252519081900360200190f35b600154600090600019015b600081111561041057600180548290811061038957fe5b60009182526020909120015460018054600160a060020a039092169350600019909101906103b79082610b4f565b50600160a060020a038216600090815260208190526040812081815560018101829055600281018290556003810191909155600401805473ffffffffffffffffffffffffffffffffffffffff1916905560001901610372565b600354604080519182524360208301523382820152346060830152517f66a2263e9309e859994900b6ba9f464030063253fab6b5ddc8db9538c37e7b6b9181900360800190a16005805460ff1916905560038054600101905560006004556104766105e3565b5050565b336000908152602081905260408120548190819081106104fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e766573746f72206e6f7420666f756e642e00000000000000000000000000604482015290519081900360640190fd5b61050433610aec565b92503031831115610529576005805460ff1916600117905561177043016006556105de565b505060405160646005830204908183039073d9be11e7412584368546b1cae64b6c384ae85ebb906108fc8415029084906000818181858888f19350505050158015610578573d6000803e3d6000fd5b50604051339082156108fc029083906000818181858888f193505050501580156105a6573d6000803e3d6000fd5b5060408051848152905133917f38b3cd63b7181dfb8515c2b900548258df82fee21db5246ce3818c0efdf51685919081900360200190a25b505050565b33600090815260208190526040812080549091908190819015156108115760405133906108fc9060009081818181818888f1935050505015801561062b573d6000803e3d6000fd5b50600180548082018083556000929092527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805473ffffffffffffffffffffffffffffffffffffffff19163317905584553615610798576106bd6000368080601f01602080910402602001604051908101604052809392919081815260200183838082843750610b48945050505050565b600160a060020a0381166000908152602081905260408120549194501080156106ef5750600160a060020a0383163314155b156107935760048401805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038516179055600284015415156107935760405160643404925033906108fc8415029084906000818181858888f19350505050156107935760408051838152600160a060020a0385166020820152815133927f9aa90874178e269a71a0dffef5881c345119f7aecdaa0a0f214bca583472da31928290030190a25b6107ca565b60025460048501805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b60408051348152600160a060020a0385166020820152815133927f457ba32ceae43c5149268b8fdc90d253ae023e63a9be85f24b8c994f2c46057f928290030190a2610819565b61081961047a565b6064600234026002546004870154929091049250600160a060020a0391821691161415610882576004840154604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015801561087c573d6000803e3d6000fd5b506108a4565b600160a060020a03831660009081526020819052604090206001018054820190555b600284018054600190810190915584018054349081019091554360038601556004805482019055604080519182525133917f2cb77763bc1e8490c1a904905c4d74b4269919aca114464f4bb4d911e60de364919081900360200190a250505050565b60035481565b662386f26fc1000081565b33600090815260208190526040812060010154600d54600e54600f54601054838510156109485761016395506109af565b83851015801561095757508285105b156109665761016d95506109af565b82851015801561097557508185105b156109845761017795506109af565b81851015801561099357508085105b156109a25761018195506109af565b8085106109af5761019095505b505050505090565b6000602081905290815260409020805460018201546002830154600384015460049094015492939192909190600160a060020a031685565b60065481565b60055460ff1681565b600154600019015b90565b60045481565b600854600954600a54600b54600c5460009430319490939092909184861015610a3b5760009650610abb565b848610158015610a4a57508386105b15610a5857601e9650610abb565b838610158015610a6757508286105b15610a755760289650610abb565b828610158015610a8457508186105b15610a925760329650610abb565b818610158015610aa157508086105b15610aaf5760419650610abb565b808610610abb57605096505b50505050505090565b6001805482908110610ad257fe5b600091825260209091200154600160a060020a0316905081565b6000806000610af9610a0f565b610b01610917565b600160a060020a0386166000908152602081905260409020600381015460019091015492909101935061177091606490850204439190910302606491900404949350505050565b6014015190565b8154818355818111156105de576000838152602090206105de918101908301610a0691905b80821115610b885760008155600101610b74565b50905600a165627a7a72305820dc98771c806b03466b77ecd1ab07e3418f09073df1bf4268ece3e43b6af153140029

   Swarm Source:
bzzr://dc98771c806b03466b77ecd1ab07e3418f09073df1bf4268ece3e43b6af15314

 

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