Contract Overview
Balance: 13.821277916291191156 Ether
Ether Value: $1,706.51 (@ $123.47/ETH)
Transactions: 13927 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x71ddb2862d4d9495258b4359a5850b46bc67b8ccat txn 0xf1a83b0bc900a049b2b4b3d9e5e5aa22523f54ab1a0e88306aaca2a690d65fbc
Token Balance:
 Latest 25 transactions from a total of 13927 transactions

TxHash Age From To Value [TxFee]
0x1993d40885b3da873acce9ad83c446cb2933ad31708a4d8a7ae291553a71402a1 min ago0x135d503b5b263d24bb351e9f0d5adeb1266fe247  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.004633992
0x7088b5da00a83533126bc4a164bfcdb74ad4f73d019915df58428cbe4af4a86819 mins ago0x66afb1af6526d57a3365f41f8d06b88958360ea0  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000353353592
0x07c5d9698e5b43156f581481221c10420495b0c26a22c24570d8a5d62e7cadf222 mins ago0x0db3238e8b031a7e2084703a168f17098147929d  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000353353592
0xe0a4ecde1a1fc67fe805a85cb825c6a544f46e96b503925df2a3b4acdde52e4626 mins ago0x5c0e81205a6eb40d5e3a835e79efcc4dc8f3a752  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000187232
0x9d04a6bada13f748c369a25ea79b7f9d239f0718c7b0a4df287abb02a82f935727 mins ago0xce28c6b19b77e33505fefb8b237da4c631914669  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x160632ae220d3cbb8ca6bca2860af1a1f240fd3c26572059e31c26d91e09a29427 mins ago0xfbdcadc922f6cba27673c63d9f3b021f05d8e41a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000187232
0x2a6155e95516e8b8b5d1de08129df9b8294ff924b4e642a3020ac1cf24031f5929 mins ago0x7cff5aa3647cb120909b518f7b7df865d4a2dbde  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x25f1251bd13ea58c2485975afde3be91946b39d191208c7cbed6f6126d9567a730 mins ago0x55d3401343fbb5570f7edb4ff9704889332be624  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000187232
0x1f704dc7584cff12c0fa67bebae5562dac61650a2e66375b08a54ee15beffc1731 mins ago0x50654b33e6cce49b4e9d3c9828cc2df17220eb4b  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00046808
0xd6fab2a92818c2659b7732ee0cf28a4f2a3629e7fd80b8280189c29e70ba328f34 mins ago0x81c5e2702e355cb547c05c28336203d4700a616a  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00046808
0x07f07769341c82c6d925bb7e8fd7af2edd9b38df13c61297b349274c05bf390b38 mins ago0xe80ea89577d241cd9a990a0219229bc9692fa6e4  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0xb076d48d9460703aaea4a8963e3c08ff15be1408854b42b361de4b8e26112e0f38 mins ago0x46bdd925b95fdac973973f7679fd2f458d522010  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00046808
0x1d6522f4ede197e939751eecfad43ceaa7b18196e66ca1e397735ab49be590fb42 mins ago0x17738901627e4d8c9758b620e86882d4d5c1837b  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000538292011
0x6a48e05ba28528fadff357774bb3642a79b4adf01162e24a001fcdf0b34484bf50 mins ago0xd0531b2fc411ef5ac9f296268d9c001fb569d9f2  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000538292011
0x850f62fface8fbd06422260865c9ed6c57fc1966b08643e838c3b13206f60d8754 mins ago0x2809146326ee33073dbe6d647df2c19769484eff  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x08f3661ba787f9c7e976752a840279372b6f00baabb31196c8ae039b330fcc4656 mins ago0xa8b3dce898717f34ab13728bffa7378a8f07a2cd  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x19ee8f0127ef872725b567b93e841a413c59523453bed7d5f3caaba79fb7170758 mins ago0x08ecd9f4bd5df8063855d4914c42604db11517ea  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00011263175
0xeafbf9f36c5a81436502249e15219404a879c1ecde3576490b590d6ab9f20c1258 mins ago0xc2e92fbda6aa036bcacd3b4e2517794ec0f91976  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x3a930d7b1d48c531e986ebc5bca4fcd616aa5aacb5621fe1c6dabb5fbbae508158 mins ago0x619e91314b301089d435ec2fef1d64db246c2969  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000140424
0x4a716ee40ae5bd4231c37ff1aba1543f0cec7f2467fde87d70e6ebe21b29dedb1 hr 2 mins ago0x0f1bae04ba02114dae91c9231294d210378a46b7  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000421272
0xe16d8c2f1782ca036fd989c36d605d77d719a73b191e88bf17bc6587e254a34f1 hr 7 mins ago0x79edae2d629e7f79b916ca280ffc606157859ca6  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000187232
0x071c35b5e599bee4bb5e8bf1993977ba756eab97d4d2157629f13bafe132c0281 hr 12 mins ago0xe1a3c0de91770c70788d0ca69a9c4a49994d9810  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000145224
0x2e2820ebdf01ac23fd449df1b39d2a032de947ec3e38fca39ed10f4fa57cf6861 hr 18 mins ago0x93a23b7b6062727ff5d5d44c4452b1502e6feeec  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.001919128
0xb18f250455a8cec5b20a0ddf080549a3704c4b31b974370f28dbcad7692b54cf1 hr 26 mins ago0x9c03e22bffcc476e4367cd1a02d90b730e70f1d4  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.000280848
0x1d1814f53f435cc054f319a157d6309a53c6880f4ef339616e3bae61f8201ed31 hr 28 mins ago0xd0b8c7ce90a7ea07f68416d6b57c90f20305bf65  IN   0xc0b52b76055c392d67392622ae7737cdb6d421330 Ether0.00046808
[ 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
0x1993d40885b3da873acce9ad83c446cb2933ad31708a4d8a7ae291553a71402a70762291 min ago0xc0b52b76055c392d67392622ae7737cdb6d421330x135d503b5b263d24bb351e9f0d5adeb1266fe2470.035701046736501854 Ether
0x7088b5da00a83533126bc4a164bfcdb74ad4f73d019915df58428cbe4af4a868707616419 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x66afb1af6526d57a3365f41f8d06b88958360ea00.021027490169491525 Ether
0x07c5d9698e5b43156f581481221c10420495b0c26a22c24570d8a5d62e7cadf2707615822 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x0db3238e8b031a7e2084703a168f17098147929d0.093495543864406779 Ether
0xe0a4ecde1a1fc67fe805a85cb825c6a544f46e96b503925df2a3b4acdde52e46707614226 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x5c0e81205a6eb40d5e3a835e79efcc4dc8f3a7520.001851010169491525 Ether
0x9d04a6bada13f748c369a25ea79b7f9d239f0718c7b0a4df287abb02a82f9357707613727 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xce28c6b19b77e33505fefb8b237da4c6319146690.027179389830508474 Ether
0x160632ae220d3cbb8ca6bca2860af1a1f240fd3c26572059e31c26d91e09a294707613727 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xfbdcadc922f6cba27673c63d9f3b021f05d8e41a0.009063970169491525 Ether
0x2a6155e95516e8b8b5d1de08129df9b8294ff924b4e642a3020ac1cf24031f59707612329 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x7cff5aa3647cb120909b518f7b7df865d4a2dbde0.015975806644067796 Ether
0x25f1251bd13ea58c2485975afde3be91946b39d191208c7cbed6f6126d9567a7707612030 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x55d3401343fbb5570f7edb4ff9704889332be6240.004160100528 Ether
0x1f704dc7584cff12c0fa67bebae5562dac61650a2e66375b08a54ee15beffc17707611631 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x50654b33e6cce49b4e9d3c9828cc2df17220eb4b0.06096120406779661 Ether
0xd6fab2a92818c2659b7732ee0cf28a4f2a3629e7fd80b8280189c29e70ba328f707610934 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x81c5e2702e355cb547c05c28336203d4700a616a0.007290051254237288 Ether
0x07f07769341c82c6d925bb7e8fd7af2edd9b38df13c61297b349274c05bf390b707609738 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xe80ea89577d241cd9a990a0219229bc9692fa6e40.003309559207909997 Ether
0xb076d48d9460703aaea4a8963e3c08ff15be1408854b42b361de4b8e26112e0f707609338 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x46bdd925b95fdac973973f7679fd2f458d5220100.041383096743050847 Ether
0x1d6522f4ede197e939751eecfad43ceaa7b18196e66ca1e397735ab49be590fb707608342 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x17738901627e4d8c9758b620e86882d4d5c1837b0.018378305084745762 Ether
0x6a48e05ba28528fadff357774bb3642a79b4adf01162e24a001fcdf0b34484bf707605150 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xd0531b2fc411ef5ac9f296268d9c001fb569d9f20.004912059661016949 Ether
0x850f62fface8fbd06422260865c9ed6c57fc1966b08643e838c3b13206f60d87707603454 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x2809146326ee33073dbe6d647df2c19769484eff0.053743728813559322 Ether
0x08f3661ba787f9c7e976752a840279372b6f00baabb31196c8ae039b330fcc46707602556 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xa8b3dce898717f34ab13728bffa7378a8f07a2cd0.179214101694915254 Ether
0x19ee8f0127ef872725b567b93e841a413c59523453bed7d5f3caaba79fb71707707601558 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x08ecd9f4bd5df8063855d4914c42604db11517ea0.000399929491525423 Ether
0xeafbf9f36c5a81436502249e15219404a879c1ecde3576490b590d6ab9f20c12707601558 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xc2e92fbda6aa036bcacd3b4e2517794ec0f919760.098906033898305084 Ether
0x3a930d7b1d48c531e986ebc5bca4fcd616aa5aacb5621fe1c6dabb5fbbae5081707601558 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x619e91314b301089d435ec2fef1d64db246c29690.050586467796610169 Ether
0x4a716ee40ae5bd4231c37ff1aba1543f0cec7f2467fde87d70e6ebe21b29dedb70760021 hr 2 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x0f1bae04ba02114dae91c9231294d210378a46b70.007390087322033898 Ether
0xe16d8c2f1782ca036fd989c36d605d77d719a73b191e88bf17bc6587e254a34f70759781 hr 7 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x79edae2d629e7f79b916ca280ffc606157859ca60.046294511186440677 Ether
0x071c35b5e599bee4bb5e8bf1993977ba756eab97d4d2157629f13bafe132c02870759621 hr 12 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xe1a3c0de91770c70788d0ca69a9c4a49994d98100.08966863867118644 Ether
0x2e2820ebdf01ac23fd449df1b39d2a032de947ec3e38fca39ed10f4fa57cf68670759351 hr 18 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x93a23b7b6062727ff5d5d44c4452b1502e6feeec0.06409752406779661 Ether
0xb18f250455a8cec5b20a0ddf080549a3704c4b31b974370f28dbcad7692b54cf70759081 hr 26 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330x9c03e22bffcc476e4367cd1a02d90b730e70f1d40.025096466440677966 Ether
0x1d1814f53f435cc054f319a157d6309a53c6880f4ef339616e3bae61f8201ed370758991 hr 28 mins ago0xc0b52b76055c392d67392622ae7737cdb6d421330xd0b8c7ce90a7ea07f68416d6b57c90f20305bf650.020209078260610169 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.