Sponsored:   LH-CRYPTO - 200 instruments (BTC, EUR, GOLD, OIL, SHARES). Leverage up to 1:500. OPEN ACCOUNT
Contract Overview
Balance: 314.611540201093130407 Ether
Ether Value: $55,497.48 (@ $176.40/ETH)
Transactions: 2021 txns
 Latest 25 transactions from a total of 2021 transactions
(+1 PendingTxn)

TxHash Age From To Value [TxFee]
0x262c814eb2895f498819d72d05caa42dba1d1f2a0c8f96b101d8c495c6f75e4e(pending)0x8c298d69b8b3d32d546401d813435ee1063aa077  IN  0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether(Pending)
0x598d10dc4fa173c38d0c95b56d355fa7fe239dcea152b915e5c0c53208beb3c74 mins ago0x0d4fe844509419a2f06736bb64170f63e362c353  IN   0xc0b52b76055c392d67392622ae7737cdb6d421331.96 Ether0.0020778
0xfdfb65d3d23c971a9bc47c48c15729033466c3edc7b4e2b08fd55599cb2828145 mins ago0x0d4fe844509419a2f06736bb64170f63e362c353  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.1 Ether0.00209882
0x5dd1a2ddfdb30b4d7680c658aa3f2c65b28818894f2c20556230bf9431cfe0a056 mins ago0xfcdc2c67112d6ca29f7f79e5c30170af608a3818  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00047093
0xd7c49ab8c324b86d88800120ade15166e183557358256bfc502dac6ae18e17721 hr 25 mins ago0x893402e26baf171086b8396c70d1fad10ed3f5ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000376744
0x2983b1a2cd8f83b414a9c003d9551a1e3b1e3d967c480b0bd16072024c66360b4 hrs 6 mins ago0x491d7fb24d3097715c4fa5aed319b87e19466685  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000243465
0xb25caa40698923a23ea3d63a9ea9c66dc6b1e33824d45c03b621e7bc598054ee4 hrs 35 mins ago0x4446d8bc464639096ccdfa42b898a0f294b1a08c  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000282558
0x5a6fb6a24c46074b73f3c07fe4e40c47e2c97f5890a027ffc443ab060ceb007f5 hrs 7 mins ago0x7e9da01be08aa1855c5bd6f342b38e96d11857f8  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.9 Ether0.000284337
0x32f36dd7458400f30c46ced15bc7ba214c832deaa3eef9e17ae31f31ea1c526f5 hrs 12 mins ago0x7e9da01be08aa1855c5bd6f342b38e96d11857f8  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000141279
0x72ddc3f59a2c76d7332ffd88fa0995a69ce6e02aa2cf84c510991d48f87cbf5c5 hrs 25 mins ago0xe5387d3b1ad5d3cec7c7847d52c3a54d0957ad37  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00047093
0xb009d7e1766a2915a9be3460f0ce348dc3b9df65adc3783597d60c65b7240ffe5 hrs 30 mins ago0xb683e2a6088ebdf3bcb746bbe52ebf09c3289d11  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000094186
0x82866bf21c1e6bbadf9c532ff9fb59b3fa8949836595d7c9300e365d8defc3945 hrs 49 mins ago0x7a486d4f8906172b2870000e39855abf64c6d556  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.01 Ether0.000303978
0xbe5b9c6fb7a303ee84f48b33588080825ca530f39c1ee17a6ef16f7c662fea565 hrs 58 mins ago0x1ee4f269755a9188b12def879996e7d30b6f200e  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.01 Ether0.000458757
0x9481c4b0c32a38d5a47409bd0589af039e7542ca53e26038564c91b22de209fe6 hrs 9 mins ago0xb683e2a6088ebdf3bcb746bbe52ebf09c3289d11  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000146079
0x1639ffaf0d32823be2acefc849c29626863a4c4367861f3e854f1f06c3d87def6 hrs 17 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000393978
0xe4ae47cbda06890b97a77a9e34a7a8d39061fc415cf7c846be9894e28b267b6a6 hrs 20 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000182308
0xafda9c96c750e47e296cd8b3f987cce04af341866d0f10cb114722d1a06d07666 hrs 23 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000227885
0x36cee9ad86a0d81aa78767c47af3d336be359580c0beea6bfd4cf6dba5cb8dc86 hrs 26 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.1 Ether0.000227885
0x4a5f5cfbc9bdf38822e855a18d77e8fec7758cfcbb4e5e2f0bbdffa70bfc7afe6 hrs 29 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000227885
0xb2369637783b20b95c60c1c79be50dba4f8d9babbf60f2a0fc34f0b9429116ee6 hrs 33 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000227885
0xd2c75a51e972d384696b97ce885e4781aed64fb78104df02a154e4bd079efccc6 hrs 34 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.155 Ether0.000227885
0xdc3173d9883443664bc55ab5eac2bbcc961b01e36bb8be35aec893187206ea326 hrs 35 mins ago0xb683e2a6088ebdf3bcb746bbe52ebf09c3289d11  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000145224
0x62ccd333f7ff3b275dc0ce85c5d6bb8ea9e064b8a2c50f2dd9e3e714c8ac5c316 hrs 36 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000227885
0x9c5b85639264320a695eaa64894cb06fb8c31ea793dd5c345c522aca9e038bc16 hrs 38 mins ago0xb1d09d2b31ba7fb49802d86826a8386ab46417ec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330.16 Ether0.000182308
0xca19f0b01bbc4bc377a6eecb2f20c74be494a96735422af277ac1ed71a66fc606 hrs 39 mins ago0xb683e2a6088ebdf3bcb746bbe52ebf09c3289d11  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00023404
[ 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
0x598d10dc4fa173c38d0c95b56d355fa7fe239dcea152b915e5c0c53208beb3c767069934 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x0d4fe844509419a2f06736bb64170f63e362c3530.000001464406779661 Ether
0x5dd1a2ddfdb30b4d7680c658aa3f2c65b28818894f2c20556230bf9431cfe0a0670675256 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xfcdc2c67112d6ca29f7f79e5c30170af608a38180.004673898305084745 Ether
0xd7c49ab8c324b86d88800120ade15166e183557358256bfc502dac6ae18e177267066281 hr 25 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x893402e26baf171086b8396c70d1fad10ed3f5ec0.006653458983050847 Ether
0x2983b1a2cd8f83b414a9c003d9551a1e3b1e3d967c480b0bd16072024c66360b67059904 hrs 6 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x491d7fb24d3097715c4fa5aed319b87e194666850.000090109830508474 Ether
0xb25caa40698923a23ea3d63a9ea9c66dc6b1e33824d45c03b621e7bc598054ee67058584 hrs 35 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x4446d8bc464639096ccdfa42b898a0f294b1a08c0.000790096610451648 Ether
0x5a6fb6a24c46074b73f3c07fe4e40c47e2c97f5890a027ffc443ab060ceb007f67057295 hrs 7 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x7e9da01be08aa1855c5bd6f342b38e96d11857f80.005703058983050847 Ether
0x32f36dd7458400f30c46ced15bc7ba214c832deaa3eef9e17ae31f31ea1c526f67057085 hrs 12 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x7e9da01be08aa1855c5bd6f342b38e96d11857f81.950174597966101694 Ether
0x72ddc3f59a2c76d7332ffd88fa0995a69ce6e02aa2cf84c510991d48f87cbf5c67056655 hrs 25 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xe5387d3b1ad5d3cec7c7847d52c3a54d0957ad370.127146630508474576 Ether
0xb009d7e1766a2915a9be3460f0ce348dc3b9df65adc3783597d60c65b7240ffe67056445 hrs 30 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb683e2a6088ebdf3bcb746bbe52ebf09c3289d110.003796913898305084 Ether
0x82866bf21c1e6bbadf9c532ff9fb59b3fa8949836595d7c9300e365d8defc39467055625 hrs 49 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x7a486d4f8906172b2870000e39855abf64c6d5560.000854823050847457 Ether
0x9481c4b0c32a38d5a47409bd0589af039e7542ca53e26038564c91b22de209fe67054766 hrs 9 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb683e2a6088ebdf3bcb746bbe52ebf09c3289d110.002847685423728813 Ether
0x1639ffaf0d32823be2acefc849c29626863a4c4367861f3e854f1f06c3d87def67054356 hrs 17 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb1d09d2b31ba7fb49802d86826a8386ab46417ec0.000113101016949152 Ether
0xdc3173d9883443664bc55ab5eac2bbcc961b01e36bb8be35aec893187206ea3267053506 hrs 35 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb683e2a6088ebdf3bcb746bbe52ebf09c3289d110.000339010169491525 Ether
0xca19f0b01bbc4bc377a6eecb2f20c74be494a96735422af277ac1ed71a66fc6067053356 hrs 39 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb683e2a6088ebdf3bcb746bbe52ebf09c3289d110.435017849491525423 Ether
0x7fefb589c229f8ed1c647a8c7fcf01172f76e1ba06748c78b330983a0fbb749b67052826 hrs 51 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x71ddb2862d4d9495258b4359a5850b46bc67b8cc3.217154412526427196 Ether
0xfac7e5691a77368a6948c8d6ccbe193d1973105eede06a318c4d57856ec2946f67051847 hrs 12 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x53eb17511710ea83f6281aee970e08e0424c77750.000399817708474576 Ether
0x24ee9b166e12a45c96bad1649920d038e28d0fa1d7ed5f009c522a140fc70f5b67051627 hrs 19 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x53eb17511710ea83f6281aee970e08e0424c77750.030332745762711864 Ether
0x315cfac92a749f1dc136c02072e0a4487aa7e46e0414efeb705b21833f44390567051207 hrs 28 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xf8fb852005af21fffc84cd725438f931bb81078b0.007 Ether
0xf10f86278ddbd31080143e05d44bff1cd07a9ba964bf93a63569df8ad53b601967051047 hrs 31 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xb1d09d2b31ba7fb49802d86826a8386ab46417ec0.001139552542372881 Ether
0x537cac30570a6df7661a0cc28cef7fc9f695aa03941aa07d5c753b6aa4f7680967050657 hrs 40 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xd4319b56cfafcebb50f0b0e504a9d1e8a25ee9db0.000864273355932203 Ether
0xc7e14315764aa84daf574e35594078d08c662fa85de766bf7099d9f32623166867050377 hrs 48 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x2123f45f20e065f34333469f195e54403633d9710.01285993220338983 Ether
0x3a9279d49d262459ecfe75ea653f6a6d5b86f71ebc0dbc62a1337b49d644fb0067049778 hrs ago0xc0b52b76055c392d67392622ae7737cdb6d421330xd4319b56cfafcebb50f0b0e504a9d1e8a25ee9db0.069385629288135593 Ether
0x01f3716d305b88e2f5bb45067851fc28429399ea57b6a8c08c4f4088370b80ba67049628 hrs 4 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1d4f0fb40ebe0d914111b0c77d0f6c6ff3fad8440.000003514576271186 Ether
0x1fe3b972cb623d8ee8c66066ad4c7c28fda8dac5d5fd6d225feda940f14c87bc67049468 hrs 7 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1d4f0fb40ebe0d914111b0c77d0f6c6ff3fad8440.000000439322033898 Ether
0x6f99a7555647698a03855ba0c7ebcc6a49371fee5528398b506134285f62401967049448 hrs 7 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x1d4f0fb40ebe0d914111b0c77d0f6c6ff3fad8440.000218782372881355 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.