Contract Overview
Balance: 0.000356724166544716 Ether
Ether Value: $0.04 (@ $118.58/ETH)
Transactions: 14414 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x71ddb2862d4d9495258b4359a5850b46bc67b8ccat txn 0xf1a83b0bc900a049b2b4b3d9e5e5aa22523f54ab1a0e88306aaca2a690d65fbc
Token Balance:
 Latest 25 transactions from a total of 14414 transactions
(+1 PendingTxn)

TxHash Age From To Value [TxFee]
0x1bc2bd3fb891a8b77c99325c94a31a87b0c11ca6ff1e301134a3f5c7a6bb0654(pending)0xe3b622ecd849a95c027123eee0892c5d7e44bb94  IN  0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether(Pending)
0xb8c0e522dbd76473da14e6cf86699a2bea80498bc5a05844a58844abc43957a23 hrs 2 mins ago0x3dacb8c27856d63766686913f43005d49637103f  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000042
0x0d9c5bd293e2fb1be769795488a080b97202dce7d50999c97cd6b2ffcfab56923 hrs 40 mins ago0xed7294ee31b1f6f186bffb7d4f22c076babe98ab  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001919374
0xa64c5f48d50a5635a3641f4e37fb753f42a373c20ab3a7efc26937ab6052b8d46 hrs 13 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0x0213d18bfe9d796b318f89664a62599becc3bb9b1b0618803cf2e1ca186889636 hrs 14 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000374512
0x2c486ee3fe4a70a830db7953df0e9b98a5d2385fa06847732d51aaa32864f7f66 hrs 16 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000093628
0xcb0e2ef75dc03d3ab5829e87c56a2c51368a09fab352f8292cdaee35f10720976 hrs 17 mins ago0x1f817d6e5ea3788b6d66dddef344ad8184320d09  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000374512
0xe7cd5d65531ca3ba3325c775b7d01984efbb12c5791ccbbbf13e6bfc55ff89526 hrs 34 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00023407
0x316631f87ea3d8e625b19fc39d46b09566da8a47bd3cd5a4561e4fb8850f0d406 hrs 39 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0x756d8dae4d0bcf148fa83a16db0ae43a1f2fba9efc20ebc181a84547655c56646 hrs 40 mins ago0x243d1aeb0feb6d6fb5c8436fb75c22b0cd8f595a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0x03c76f5a5573e08c82c8cb9886c3c18110a0f04512cafd4960aa5a40acd2d1027 hrs 27 mins ago0x9740ab7eb88b235ff9be1dda02e1309f3f1be461  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001919374
0xa764171f784a5e992ce647054929695eb3ed76bb727c51cc6ab740538d11ccda7 hrs 49 mins ago0x3c03bae3ab99a2824227cb4e967afc0259430815  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.0014
0x48bd7d8bd614cbac25b6c7bf33cb73d5a6b4ea44bac8dbb4f44508601abd82249 hrs 45 mins ago0x5b50f02d0037ef870e820da1b594dd64ebc167a0  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000093628
0x83c29013380e61cbf91e848a1d2ce4ae4bfbf195b2532aa30693ee4b1e5a578610 hrs 7 mins ago0x5b50f02d0037ef870e820da1b594dd64ebc167a0  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0x0a28943f2ece918c8c64d27dde5448a5c010b4345f72892db0b44bd2e32ab46710 hrs 31 mins ago0x5b50f02d0037ef870e820da1b594dd64ebc167a0  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000063
0x6b73409058cc3f4b9b6715fb6bde766d7ac9706d47265f892a5950eb956bd78018 hrs 59 mins ago0x622f4784f38544647dfa6d119ceb5ca02666419b  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0xdee83b1c34eb2a3720cc07dfb011ded9fcad3e60921ec0b8fa9448a90e2ebef419 hrs 2 mins ago0x622f4784f38544647dfa6d119ceb5ca02666419b  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140442
0xcc5123f49b6c397dc363b488a3a1b77cb727c7aa6330cf97911581e760b7ad9322 hrs 19 mins ago0x091a6c7206bf4146929003bff5d523cb77820475  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000280884
0x40a9ce46336591b965629ebed71f7f8f5c36201e9a80b4c67510a2c360bb190f23 hrs 19 mins ago0xa68e98c8f79abf2705557ac2e8c9c87aca670587  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.0002247072
0xa1395578056f108e85fbb472bf55aa9f05f32051f61a860c5ea685da702a8fdb1 day 5 hrs ago0xe7500de05afd64c047aaa382583876b0407b709a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000046814
0x989740fe89eb3b4ae5e47b3cdcde6f63c4cca6e0508e59d06c939826fde656261 day 5 hrs ago0xd93a43d8d0a89a903f60c399cba18a24261d969f  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000861
0xb3b852a2f727312db843118a75895f64e74133fe5111da8f4d73fc75cccaac5e1 day 8 hrs ago0xd8801ecf48e16fd8bd85dcd76d06591de991d75d  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001919374
0xf02067d75e15df6025e9d9580979a540429a43d22cf2f8154a8478471596d6001 day 9 hrs ago0xe7500de05afd64c047aaa382583876b0407b709a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000125
0xceffab68e7d0f83845a0c4ee5800e386ce1db1f71afd3b24cff459a97d7c404b1 day 9 hrs ago0xe7500de05afd64c047aaa382583876b0407b709a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.0000514954
0x480858dd8f1c07285afe97866a74de12b1fcbcc44db8fba869ba0f3659ebc9251 day 13 hrs ago0x7190f23511beacef57438a6695102302bfe50c74  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00023407
[ 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
0xc3052921cfb55429fdc8ac9ad2f3901d24449b9558ee26e2cd0db70d1a8e4a8470784253 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x131ae2de82cad652ed62c6199913edf881614c5e0.001914223728813559 Ether
0xd154eb13b257f1aa6d4aea97b30a5c303bd20fa0810c367212b809b9be5fe6ec70784143 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x532e4a3f46d98433a2d9744b0386626f5864c8110.000281019661016949 Ether
0x6e1d0d023006c06cda8a2eca3a8b296048d6753a1dcb577fcf537821623d156f70783593 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x3c3f3c5fd45e980960c5a104db4a768776ccfec30.005122494915254237 Ether
0xc0a5555bb7ddf7ba90a5203ba0a6a93233de3df6da98e3ae93267d35f55725aa70783363 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x30b8f18f3fff56894093cb0ada5915bec8c5386b0.010927403389830508 Ether
0x4fb27933dc244281a0c245ddd4d25e3ce23b6a07743399ddfffaa9a961a6396a70783323 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x62857cb465fc1de4bf2aac88bc77c4042bdd1b6a0.004571096949152542 Ether
0x4fd22a46b162b9cf7f22f2c4fe5261fd9b0560be374d7f2161f74d53f4d4974a70783283 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb5d18a72fc3b0804d10dd1666de3f5d2ffac60280.007129342372881355 Ether
0x64e2acf9c50fc161967a941a2f4268c44411d715f7e4ffe3938514adfc70eab270783203 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x269a78fa1154e30cb8c5b85d59814dca70d972e90.000913301694915254 Ether
0x15daae6aa17a21058d96e2d7ce6d21d506e0bdc719f39944cf9e90f8ac952beb70783203 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x26f7162afa29be8134df35fb4e1bd7e2332072060.000615343728813559 Ether
0x79677dac288383ec7ee6a435f93c48204992f21ad99b13459affc3ed49f70d8070783203 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x868010a3fdfd5feba8531fa87d77a9cc143f3ecf0.003713464483695168 Ether
0xc1563a62752176524817ad9ca04a43a7f3af021821fd857ba2e459df4a14564970783153 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x84cc7dfdac0acc8e5471d85cbdb00622c82f6b2c0.000949509152542372 Ether
0x56270cfc8bd9b62d1fcc87f123c2777fddc41b5fedb8998cf71868f61eed2d1470783153 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x37e868e9b9e5c6d90ae78a87495462fac835fa090.003335537898305084 Ether
0xe20c8087f3ab1d159239260bb4a6debfc9f09096423b97c5eab569743d030fa470783003 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x532e4a3f46d98433a2d9744b0386626f5864c8110.00059162033898305 Ether
0x1bb727128e84a9b464ecfbe36b9d4652ed43bbbeb269a6a4f1719dea134330e870782943 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xce28c6b19b77e33505fefb8b237da4c6319146690.001581559322033898 Ether
0x6785a5bcef7eb18630df6735ce534a45517364dfc96498d07080803a700baa9570782873 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x522036d7ed26fdcd33667dabf1b5f67b33216e100.005842677039314015 Ether
0x2de1eadf3fcab7e4d0ce65d6c8f858d1f6ba9a82247ff5c26980a348a80a494070782873 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xcec41088a24aa61e8b7d4e8633255b1216abd14a0.000375864406779661 Ether
0x313a92b2a72f6dcd9635dfe6b54fb8191508d437c692036149aeaddf1947ea5f70782833 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1a9117d2fa75cabda94739d9b0463bc37e9ea6d40.073544949152542372 Ether
0x1bc2fbec8f85578a16d48cf370dc2b47f97f9b25a36b434dd0cfbcff06cbd4f670782693 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xbda18eecca5848b0e98543a03d84a8b0094f10e30.06901417220338983 Ether
0xd4eb3d1a16a67f7a3c6b06982f4cbe150d66226538b4a604c30d6106e16b131670782693 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x5586dc039bacc54fa4459e1853a17c076c2e48dd0.001432365559322033 Ether
0xc371d49b176910ebf8505556e2374c5c74990ed312d1549aaa1cec860b1996a170782693 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x07bf253eb1b0eb87b8b555b4d373307fd7e4fe430.006456187159322033 Ether
0xbbf186a29933d01fccb6c39da97cca2aec8c421ef71790e204c48e491210c9bf70782553 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x3647ab25ba76d730d1c9862ad1b90f7cdd79da720.003771816382372881 Ether
0x9707e628f7d0cfae8b00cf593619c420ab745774dcf480e9da9ec8b36768523f70782483 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x577489ab71580ec70fde9eeaf210cd8acb2a909c0.036314847457627118 Ether
0x85eba98161496c561f1060a991db751fdb5147038912d49e89b663357cfb439c70782423 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330x831d6f82d38f8dd8801714df5224ce1ff2d4d8110.002604203389830508 Ether
0xde7d1691017719e69970b8138a451ca29726983265a2d2ac8a4a0b5d135f42b370782403 days 23 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xce28c6b19b77e33505fefb8b237da4c6319146690.025012067796610169 Ether
0x8642be73cfb1c960c04373dd262b24d9b23873514e99d5b955d161c81cff725870782354 days 2 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb68a65facf2b81f52590c417e7f47876457d3b390.082065355932203389 Ether
0xc603ced45616fc8cc18042fbbc81c3ff25156349e05608206532cdcf023f9c4970782294 days 4 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1ea5d1e83ae0c78283860b7c4bc96864ba8dea950.003851389830508474 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.