Sponsored:   LH-CRYPTO - 200 instruments (BTC, EUR, GOLD, OIL, SHARES). Leverage up to 1:500. OPEN ACCOUNT
Contract Overview
Balance: 348.680096678674936031 Ether
Ether Value: $62,242.88 (@ $178.51/ETH)
Transactions: 2272 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x71ddb2862d4d9495258b4359a5850b46bc67b8ccat txn 0xf1a83b0bc900a049b2b4b3d9e5e5aa22523f54ab1a0e88306aaca2a690d65fbc
 Latest 25 transactions from a total of 2272 transactions
(+3 PendingTxns)

TxHash Age From To Value [TxFee]
0xa57ea33307df6427a35e4876aef49726744d6331487ba9b0ecff48f60850c5ca(pending)0x67038e58ea06fc3fb8eb4dd8c6388d8e3c6553bf  IN  0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether(Pending)
0x8989ec32f9d793f329b88cff1f9a2c7e26d007fb65af6fc937f323991aca41ae(pending)0x67038e58ea06fc3fb8eb4dd8c6388d8e3c6553bf  IN  0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether(Pending)
0x33d2c71f41071f2e495634126eef202f2c5f6f6435318c8de4fe15b6aa8e1bce(pending)0x36da7d0b7a24dfb9034b7147437468d76f1a78f3  IN  0xc0b52b76055c392d67392622ae7737cdb6d421330.1 Ether(Pending)
0x9121363549fa9eb477629b8baa7aeaa3922343393cff6fa4d22bb288db2abcdd1 min ago0x2b03c4ac09be1dc342309c47a9d305647cb2fb98  IN   0xc0b52b76055c392d67392622ae7737cdb6d421331.382820638474576 Ether0.000623895
0x6493ac1365805e0da60befdf459aa3e12af6d9d20131f771b5377f8b9ed96d5212 mins ago0xe53ecdcb23575dde150e7ff6a0472f1b2cc788bd  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.002534128
0xb7ffe87ab6925f9c8c124e6075c433f775095f4fb976c847eaaca771cb39287327 mins ago0x71ddb2862d4d9495258b4359a5850b46bc67b8cc  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000631815
0xb4463cb37773c0c3d041e450ae988a764a90f9ce93e59c63d904a899dddcc3cf30 mins ago0x2b03c4ac09be1dc342309c47a9d305647cb2fb98  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00028872
0xf9f44ba3adf1a702226120a5023824547114d5431b029d97b2dd809dc7e6092536 mins ago0xf21bc054f78042e81073ef3d317685f8b9a88abd  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000423837
0x723c32892aee539244dd70bf0528679b0d3722adb9e7e87c6fa585bf0c3ab92036 mins ago0x2e2177360e385d0bb2507dd387f2c1fdfd743494  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.07 Ether0.00167919
0x7f833f51724b2065e9734725a20df38a2abbaeee3b506a5748565d26977b6b7f41 mins ago0x36da7d0b7a24dfb9034b7147437468d76f1a78f3  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.1 Ether0.000314823
0xf9c0432c75d52b1f50344b0a7abecb9f5e1ce3c37be55e62092c6bf20ff4b02343 mins ago0x2e2177360e385d0bb2507dd387f2c1fdfd743494  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.075 Ether0.000321965
0x6f2b958df6785e53b70fe1f0e10ec3b9399c7e2ab801ff1c32ceefb34880e3c646 mins ago0x816b34b2d2901ba561623d9c0b958029dda2afdb  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.79118033 Ether0.00104941
0x2d5c47e5e1817b258914ee3cfc03e0edc849ca686a239bbe8ee17a9588cac79453 mins ago0x6dacabd1686ab4764b5ffd80c0d9a050132395d6  IN   0xc0b52b76055c392d67392622ae7737cdb6d421331.12 Ether0.006884679
0x9644cc31a43b2017908f133cb2d183fcf70633d5adbb338183f30ace7d1bb72e58 mins ago0x2e2177360e385d0bb2507dd387f2c1fdfd743494  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.075 Ether0.00066793
0xe8fc76d8d535db938e41ecf8acbecdd40487df35ee1fff6078d563ed09b94b231 hr 2 mins ago0x2e2177360e385d0bb2507dd387f2c1fdfd743494  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.075 Ether0.0003
0x63cfcd3c1feea54f8d412eeb5f09c65fd5a499bfbb9c2c3215548d1c3e7ea56c1 hr 18 mins ago0x43a9fdde046d4cb163d72bbcbb3e80c1a54dedb4  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00032037
0x3055a4cc00e64e1a52ca38b12633c16e94e770eafc17ba522b95c523c9dcb3d21 hr 30 mins ago0x58bce930321079d95954a99d6c3ee855f3309936  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.025 Ether0.00074025
0x35c926cbb0be6aad2d30c0fbf3a8f15e129a91e0c861028cd7c7deeb04746c0b1 hr 41 mins ago0x15be34f7947060466f8d9a5f09baeadec79a0fb2  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.0638 Ether0.00167919
0x85d022a6bf02498fea133bea6833170e2e8c125f75b8375df014e4ad08b2f0df1 hr 42 mins ago0xf46da354f74e80a4575e4d824b579447dad8a2fc  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001574195
0xc217285ce37b2136913f8fbcea436c4ae9d95a169e40a21ec906647f5cd5f3d81 hr 53 mins ago0x58bce930321079d95954a99d6c3ee855f3309936  IN   0xc0b52b76055c392d67392622ae7737cdb6d421332 Ether0.00035556
0xd56970fefa29279e652c444f6c0a24dd2ad4c80da60d7e4ec8658bcfa0ffc0281 hr 54 mins ago0x5627f38a20ae7d0b18dc94b9701d7fe44f15a433  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001930813
0x39ebcb41fced8c08fee408472013d334d8295f09944311d033e57d98acceb3d42 hrs 5 mins ago0xb68a65facf2b81f52590c417e7f47876457d3b39  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00047093
0x0f720d964af79ad41eed70d039fa1908e528d1be2d4019eb962a113d4be9cd142 hrs 10 mins ago0x44bf9da121f7c9c681ae7b77ca3300d2619f4c4a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000141279
0x924894776c89bd84d10f70a2ca03d9aec4a7bd7c9b3442f8c2c0ddbac13da9b12 hrs 26 mins ago0x1aed5355b64397dd0666c96f20c73c3e70620fe0  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000753488
0x23213d2140fbd8dd38e4bebd26228686cb834bbb7b9d26bb8f7db4a478feaa042 hrs 29 mins ago0xf18d5f4adb4cc3e1baf33ee096a88d03bca33e9f  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.0001459883
[ 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
0x9121363549fa9eb477629b8baa7aeaa3922343393cff6fa4d22bb288db2abcdd67152371 min ago0xc0b52b76055c392d67392622ae7737cdb6d421330x2b03c4ac09be1dc342309c47a9d305647cb2fb980.000289714576271186 Ether
0x6493ac1365805e0da60befdf459aa3e12af6d9d20131f771b5377f8b9ed96d52671519812 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xe53ecdcb23575dde150e7ff6a0472f1b2cc788bd0.002518596610169491 Ether
0xb7ffe87ab6925f9c8c124e6075c433f775095f4fb976c847eaaca771cb392873671513227 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x71ddb2862d4d9495258b4359a5850b46bc67b8cc3.350804835309411091 Ether
0xb4463cb37773c0c3d041e450ae988a764a90f9ce93e59c63d904a899dddcc3cf671511830 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x2b03c4ac09be1dc342309c47a9d305647cb2fb980.132722548474576271 Ether
0xf9f44ba3adf1a702226120a5023824547114d5431b029d97b2dd809dc7e60925671508236 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xf21bc054f78042e81073ef3d317685f8b9a88abd0.012142202033898305 Ether
0x63cfcd3c1feea54f8d412eeb5f09c65fd5a499bfbb9c2c3215548d1c3e7ea56c67148941 hr 18 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x43a9fdde046d4cb163d72bbcbb3e80c1a54dedb41.138788745762711864 Ether
0x85d022a6bf02498fea133bea6833170e2e8c125f75b8375df014e4ad08b2f0df67147841 hr 42 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xf46da354f74e80a4575e4d824b579447dad8a2fc1.072828095131599759 Ether
0xc217285ce37b2136913f8fbcea436c4ae9d95a169e40a21ec906647f5cd5f3d867147411 hr 53 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x58bce930321079d95954a99d6c3ee855f33099360.000453966101694915 Ether
0xd56970fefa29279e652c444f6c0a24dd2ad4c80da60d7e4ec8658bcfa0ffc02867147341 hr 54 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x5627f38a20ae7d0b18dc94b9701d7fe44f15a4330.02116824406779661 Ether
0x39ebcb41fced8c08fee408472013d334d8295f09944311d033e57d98acceb3d467146972 hrs 5 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb68a65facf2b81f52590c417e7f47876457d3b390.037686508474576271 Ether
0x0f720d964af79ad41eed70d039fa1908e528d1be2d4019eb962a113d4be9cd1467146752 hrs 10 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x44bf9da121f7c9c681ae7b77ca3300d2619f4c4a0.011183674576271186 Ether
0x924894776c89bd84d10f70a2ca03d9aec4a7bd7c9b3442f8c2c0ddbac13da9b167146132 hrs 26 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1aed5355b64397dd0666c96f20c73c3e70620fe00.008216542372881355 Ether
0x23213d2140fbd8dd38e4bebd26228686cb834bbb7b9d26bb8f7db4a478feaa0467145982 hrs 29 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xf18d5f4adb4cc3e1baf33ee096a88d03bca33e9f0.003081404745762711 Ether
0x7df246f315feea31bba3dcebc6864d297650c4878caac666b5e0072b32d8892767145382 hrs 43 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x7e9da01be08aa1855c5bd6f342b38e96d11857f80.906181505084745762 Ether
0x36d9a1aada0dd16073c7f9576543d94dbd2b078e3151b9964285408d2c021e9d67145352 hrs 43 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x491d7fb24d3097715c4fa5aed319b87e194666850.000462166779661016 Ether
0x06746f115767100b0cce3949eecc213fe110d97a6226e20d77ef33854d9a4cd967144313 hrs 9 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x58bce930321079d95954a99d6c3ee855f33099360.016251986440677966 Ether
0xe8339b5f49149406f45b62e038c577a87658592b9662616df0cfaf50feefc51967144223 hrs 11 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x936089647d2fdb8b4cbff30bd94a6552850dcb3a0.007139715254237288 Ether
0xf4d0ac6365be1303c7b59f407faa3af9e2dd04ca715542e86e986745e573745267144043 hrs 15 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb02d278bbb2a98403fd28d8d99534c376dc138980.008546009491525423 Ether
0x0bc14de516d1daebc183127c92aa925c94a82e8c8356c439ea904272fc005deb67143623 hrs 23 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x70ff73556dc77da36925e4ef558af0ebec02dc3d0.00030264406779661 Ether
0x9d6aa230da6383a9e4352cc28964a1259d88ea7297f2cf95cd392f5f6a1c060c67143403 hrs 27 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x9fe00585e04e3912fcb4f35503b56b97ec0073720.151700338983050847 Ether
0x749ed11a9dc84b564412718f05ef8a808ffab17e66218d1a4e4ac48aa50c144267143393 hrs 27 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x6a6a65f76d8a3c3f7889565d16c7a757c67446b40.217588881355932203 Ether
0x65626966723fc854b329e72378d278e249066e7e5f0f452ca21729009082069067142683 hrs 42 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x37e868e9b9e5c6d90ae78a87495462fac835fa090.023570300745762711 Ether
0x3e200d0d9eeb2da9e1ae72f36afaaf2c3735e7da014a428788b6f40fea3e209267142383 hrs 48 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x70ff73556dc77da36925e4ef558af0ebec02dc3d0.089596474576271186 Ether
0xa145f1887237fcaa6b47292bf8b8e626c4c80bbb1a87039d1555fd9968e9e56c67141734 hrs 6 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xe0a2bc4f5fb0878389c0ab0772af77103d2cfa4f0.006992615593220338 Ether
0xf32bae3529a7963a3c4c87cb06974acfae49097b0cbc46551a695864bda4320c67141674 hrs 7 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x269a78fa1154e30cb8c5b85d59814dca70d972e90.01995937627118644 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: WallieInvest
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.25;

/**
 * 
 *                                  ╔╗╔╗╔╗╔══╗╔╗──╔╗──╔══╗╔═══╗──╔╗──╔╗╔═══╗
 *                                  ║║║║║║║╔╗║║║──║║──╚╗╔╝║╔══╝──║║──║║║╔══╝
 *                                  ║║║║║║║╚╝║║║──║║───║║─║╚══╗──║╚╗╔╝║║╚══╗
 *                                  ║║║║║║║╔╗║║║──║║───║║─║╔══╝──║╔╗╔╗║║╔══╝
 *                                  ║╚╝╚╝║║║║║║╚═╗║╚═╗╔╝╚╗║╚══╗╔╗║║╚╝║║║╚══╗
 *                                  ╚═╝╚═╝╚╝╚╝╚══╝╚══╝╚══╝╚═══╝╚╝╚╝──╚╝╚═══╝
 *                                  ┌──────────────────────────────────────┐  
 *                                  │      Website:  http://wallie.me      │
 *                                  │                                      │  
 *                                  │  CN Telegram: https://t.me/WallieCH  │
 *                                  │  RU Telegram: https://t.me/wallieRU  |
 *                                  │  *  Telegram: https://t.me/WallieNews|
 *                                  |Twitter: https://twitter.com/WalliemeO|
 *                                  └──────────────────────────────────────┘ 
 *                    | Youtube – https://www.youtube.com/channel/UC1q3sPOlXsaJGrT8k-BZuyw |
 *
 *                                     * WALLIE - distribution contract *
 * 
 *  - Growth of 1.44% in 24 hours (every 5900 blocks)
 * 
 * Distribution: *
 * - 10% Advertising, promotion
 * - 10% Referral program
 * - 3% Cashback
 * - 5% for developers and technical support
 *
 * Usage rules *
 *  Holding:
 *   1. Send any amount of ether but not less than 0.01 THD to make a contribution.
 *   2. Send 0 ETH at any time to get profit from the Deposit.
 *  
 *  - You can make a profit at any time. Consider your transaction costs (GAS).
 *  
 * Affiliate program *
 * - You have access to a single-level referral system for additional profit (10% of the referral's contribution).
 * - * - Affiliate fees will come from each referral's Deposit as long as it doesn't change your wallet address Ethereum on the other.
 * 1. The depositor in the transfer of funds indicates the DATA in your e-wallet Ethereum.
 * 2. After successful transfer you will be charged 10% of the amount of his Deposit.
 * * 3. Your partner receives a "Refback bonus" in the amount of 3% of his contribution.
 * 
 *  
 * 
 *
 * RECOMMENDED GAS LIMIT: 250000
 * RECOMMENDED GAS PRICE: https://ethgasstation.info/
 *
 * The contract has been tested for vulnerabilities!
 *
 */ 

contract WallieInvest{

    mapping (address => uint256) public invested;

    mapping (address => uint256) public payments; 
     
    mapping (address => address) public investedRef;
    
    mapping (address => uint256) public atBlock;
    
    mapping (address => uint256) public cashBack;
    
    mapping (address => uint256) public cashRef;
    
    mapping (address => uint256) public admComiss;
    
    using SafeMath for uint;
    using ToAddress for *;
    using Zero for *;
    
    address private adm_addr; //NB!
    uint256 private start_block;
    uint256 private constant dividends = 144;           // 1.44%
    uint256 private constant adm_comission = 15;        // 15%
    uint256 private constant ref_bonus = 10;            // 10%
    uint256 private constant ref_cashback = 3;          // 3%
    uint256 private constant block_of_24h = 5900;       // ~24 hour
    uint256 private constant min_invesment = 10 finney; // 0.01 eth
    
    //Statistics
    uint256 private all_invest_users_count = 0;
    uint256 private all_invest = 0;
    uint256 private all_payments = 0;
    uint256 private all_cash_back_payments = 0;
    uint256 private all_ref_payments = 0;
    uint256 private all_adm_payments = 0;
    uint256 private all_reinvest = 0;
    address private last_invest_addr = 0;
    uint256 private last_invest_amount = 0;
    uint256 private last_invest_block = 0;
    
    constructor() public {
    adm_addr = msg.sender;
    start_block = block.number;
    }
    
    // this function called every time anyone sends a transaction to this contract
    function() public payable {
        
        uint256 amount = 0;
        
        // if sender is invested more than 0 ether
        if (invested[msg.sender] != 0) {
            
            // calculate profit:
            //amount = (amount invested) * 1.44% * (blocks since last transaction) / 5900
            //amount = invested[msg.sender] * dividends / 10000 * (block.number - atBlock[msg.sender]) / block_of_24h;
            amount = invested[msg.sender].mul(dividends).div(10000).mul(block.number.sub(atBlock[msg.sender])).div(block_of_24h);
        }
        

        if (msg.value == 0) {
           
            // Commission payment
            if (admComiss[adm_addr] != 0 && msg.sender == adm_addr){
                amount = amount.add(admComiss[adm_addr]);
                admComiss[adm_addr] = 0;
                all_adm_payments += amount;
               }
           
            // Payment of referral fees
            if (cashRef[msg.sender] != 0){
                amount = amount.add(cashRef[msg.sender]);
                cashRef[msg.sender] = 0;
                all_ref_payments += amount;
            }
            
            // Payment of cashback
            if (cashBack[msg.sender] != 0){
                amount = amount.add(cashBack[msg.sender]);
                cashBack[msg.sender] = 0;
                all_cash_back_payments += amount;
               }
           }
        else
           {
            
            // Minimum payment
            require(msg.value >= min_invesment, "msg.value must be >= 0.01 ether (10 finney)");
               
            // Enrollment fees
            admComiss[adm_addr] += msg.value.mul(adm_comission).div(100);
             
            address ref_addr = msg.data.toAddr();
            
              if (ref_addr.notZero()) {
                  
                 //Anti-Cheat mode
                 require(msg.sender != ref_addr, "referal must be != msg.sender");
                  
                 // Referral enrollment
                 cashRef[ref_addr] += msg.value.mul(ref_bonus).div(100);
                 
                 // Securing the referral for the investor
                 investedRef[msg.sender] = ref_addr;
                 
                 // Cashback Enrollment
                 if (invested[msg.sender] == 0)
                     cashBack[msg.sender] += msg.value.mul(ref_cashback).div(100);
                 
                 }
                 else
                 {
                 // Referral enrollment
                   if (investedRef[msg.sender].notZero())
                      cashRef[investedRef[msg.sender]] += msg.value.mul(ref_bonus).div(100);    
                 }
                 
                 
            if (invested[msg.sender] == 0) all_invest_users_count++;   
               
            // investment accounting
            invested[msg.sender] += msg.value;
            
            atBlock[msg.sender] = block.number;
            
            // statistics
            all_invest += msg.value;
            if (invested[msg.sender] > 0) all_reinvest += msg.value;
            last_invest_addr = msg.sender;
            last_invest_amount = msg.value;
            last_invest_block = block.number;
            
           }
           
         // record block number and invested amount (msg.value) of this transaction
         atBlock[msg.sender] = block.number;    
           
         if (amount != 0)
            {
            // send calculated amount of ether directly to sender (aka YOU)
            address sender = msg.sender;
            
            all_payments += amount;
            payments[sender] += amount;
            
            sender.transfer(amount);
            }
   }
   
    
    //Stat
    //getFundStatsMap
    function getFundStatsMap() public view returns (uint256[7]){
    uint256[7] memory stateMap; 
    stateMap[0] = all_invest_users_count;
    stateMap[1] = all_invest;
    stateMap[2] = all_payments;
    stateMap[3] = all_cash_back_payments;
    stateMap[4] = all_ref_payments;
    stateMap[5] = all_adm_payments;
    stateMap[6] = all_reinvest;
    return (stateMap); 
    }
    
    //getUserStats
    function getUserStats(address addr) public view returns (uint256,uint256,uint256,uint256,uint256,uint256,address){
    return (invested[addr],cashBack[addr],cashRef[addr],atBlock[addr],block.number,payments[addr],investedRef[addr]); 
    }
    
    //getWebStats
    function getWebStats() public view returns (uint256,uint256,uint256,uint256,address,uint256,uint256){
    return (all_invest_users_count,address(this).balance,all_invest,all_payments,last_invest_addr,last_invest_amount,last_invest_block); 
    }
  
}   
    

library SafeMath {
 

/**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

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

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

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

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}


library ToAddress {
  function toAddr(uint source) internal pure returns(address) {
    return address(source);
  }

  function toAddr(bytes source) internal pure returns(address addr) {
    assembly { addr := mload(add(source,0x14)) }
    return addr;
  }
}

library Zero {
  function requireNotZero(uint a) internal pure {
    require(a != 0, "require not zero");
  }

  function requireNotZero(address addr) internal pure {
    require(addr != address(0), "require not zero address");
  }

  function notZero(address addr) internal pure returns(bool) {
    return !(addr == address(0));
  }

  function isZero(address addr) internal pure returns(bool) {
    return addr == address(0);
  }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investedRef","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"getUserStats","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"atBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getFundStatsMap","outputs":[{"name":"","type":"uint256[7]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cashBack","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cashRef","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"admComiss","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"payments","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getWebStats","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
608060405260006009819055600a819055600b819055600c819055600d819055600e819055600f81905560108054600160a060020a0319169055601181905560125534801561004d57600080fd5b5060078054600160a060020a0319163317905543600855610a46806100736000396000f3006080604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663481ea47381146105fa5780634e43603a1461063757806366b3f6bf146106995780638aac1362146106cc57806397b1b2b7146106ed57806397fc93ab1461073a578063b920d0b41461075b578063ce5dbc0b1461077c578063e2982c211461079d578063f831e962146107be575b33600090815260208190526040812054819081901561012d573360009081526003602052604090205461012a9061170c90610112906100e990439063ffffffff61081416565b3360009081526020819052604090205461011e906127109061011290609063ffffffff61083216565b9063ffffffff61086716565b9063ffffffff61083216565b92505b34151561026557600754600160a060020a0316600090815260066020526040902054158015906101675750600754600160a060020a031633145b156101be57600754600160a060020a031660009081526006602052604090205461019890849063ffffffff61088a16565b600754600160a060020a0316600090815260066020526040812055600e80548201905592505b336000908152600560205260409020541561020f57336000908152600560205260409020546101f490849063ffffffff61088a16565b33600090815260056020526040812055600d80548201905592505b3360009081526004602052604090205415610260573360009081526004602052604090205461024590849063ffffffff61088a16565b33600090815260046020526040812055600c80548201905592505b610593565b662386f26fc1000034101561030157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f6d73672e76616c7565206d757374206265203e3d20302e30312065746865722060448201527f2831302066696e6e657929000000000000000000000000000000000000000000606482015290519081900360840190fd5b610317606461011234600f63ffffffff61083216565b600754600160a060020a0316600090815260066020908152604080832080549094019093558251601f3690810183900483028201830190945283815261037093909291819084018382808284375061089c945050505050565b915061038482600160a060020a03166108a3565b156104a15733600160a060020a038316141561040157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f7265666572616c206d75737420626520213d206d73672e73656e646572000000604482015290519081900360640190fd5b610417606461011234600a63ffffffff61083216565b600160a060020a0383166000818152600560209081526040808320805490950190945533825260028152838220805473ffffffffffffffffffffffffffffffffffffffff1916909317909255908190522054151561049c57610485606461011234600363ffffffff61083216565b336000908152600460205260409020805490910190555b61050b565b336000908152600260205260409020546104c390600160a060020a03166108a3565b1561050b576104de606461011234600a63ffffffff61083216565b33600090815260026020908152604080832054600160a060020a0316835260059091529020805490910190555b33600090815260208190526040902054151561052b576009805460010190555b33600090815260208181526040808320805434908101825560038452918420439055600a80549092019091559082905254111561056b57600f8054340190555b6010805473ffffffffffffffffffffffffffffffffffffffff19163317905534601155436012555b33600090815260036020526040902043905582156105f55750600b8054830190553360008181526001602052604080822080548601905551829185156108fc02918691818181858888f193505050501580156105f3573d6000803e3d6000fd5b505b505050005b34801561060657600080fd5b5061061b600160a060020a03600435166108b1565b60408051600160a060020a039092168252519081900360200190f35b34801561064357600080fd5b50610658600160a060020a03600435166108cc565b604080519788526020880196909652868601949094526060860192909252608085015260a0840152600160a060020a031660c0830152519081900360e00190f35b3480156106a557600080fd5b506106ba600160a060020a036004351661091f565b60408051918252519081900360200190f35b3480156106d857600080fd5b506106ba600160a060020a0360043516610931565b3480156106f957600080fd5b50610702610943565b604051808260e080838360005b8381101561072757818101518382015260200161070f565b5050505090500191505060405180910390f35b34801561074657600080fd5b506106ba600160a060020a036004351661098d565b34801561076757600080fd5b506106ba600160a060020a036004351661099f565b34801561078857600080fd5b506106ba600160a060020a03600435166109b1565b3480156107a957600080fd5b506106ba600160a060020a03600435166109c3565b3480156107ca57600080fd5b506107d36109d5565b604080519788526020880196909652868601949094526060860192909252600160a060020a0316608085015260a084015260c0830152519081900360e00190f35b6000808383111561082457600080fd5b5050808203805b5092915050565b600080831515610845576000915061082b565b5082820282848281151561085557fe5b041461086057600080fd5b9392505050565b60008080831161087657600080fd5b828481151561088157fe5b04949350505050565b60008282018381101561086057600080fd5b6014015190565b600160a060020a0316151590565b600260205260009081526040902054600160a060020a031681565b600160a060020a0390811660009081526020818152604080832054600483528184205460058452828520546003855283862054600186528487205460029096529390952054919690959293439390921690565b60006020819052908152604090205481565b60036020526000908152604090205481565b61094b6109fb565b6109536109fb565b6009548152600a546020820152600b546040820152600c546060820152600d546080820152600e5460a0820152600f5460c0820152919050565b60046020526000908152604090205481565b60056020526000908152604090205481565b60066020526000908152604090205481565b60016020526000908152604090205481565b600954600a54600b546010546011546012549495303195600160a060020a039093169290565b60e06040519081016040528060079060208202803883395091929150505600a165627a7a7230582086925451b1537482827042ba37fa59f508cd615297ccb79f2eeb81225b916e5a0029

   Swarm Source:
bzzr://86925451b1537482827042ba37fa59f508cd615297ccb79f2eeb81225b916e5a

 

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.