Bitcoin Forum
May 21, 2024, 09:16:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1] 2 »  All
  Print  
Author Topic: [ANN] Wallie.me - the best smart contract in the world!  (Read 247 times)
SHALARIBA (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 1


View Profile
November 09, 2018, 11:29:53 PM
 #1







Code:
pragma solidity ^0.4.25;

/**
 *
 *                                  г¬г¬г¬г==¬г¬--г¬--г==¬г===¬--г¬--г¬г===¬
 *                                  ¦¦¦¦¦¦¦г¬¦¦¦--¦¦--L¬г-¦г==---¦¦--¦¦¦г==-
 *                                  ¦¦¦¦¦¦¦L-¦¦¦--¦¦---¦¦-¦L==¬--¦L¬г-¦¦L==¬
 *                                  ¦¦¦¦¦¦¦г¬¦¦¦--¦¦---¦¦-¦г==---¦г¬г¬¦¦г==-
 *                                  ¦L-L-¦¦¦¦¦¦L=¬¦L=¬г-L¬¦L==¬г¬¦¦L-¦¦¦L==¬
 *                                  L=-L=-L-L-L==-L==-L==-L===-L-L---L-L===-
 *                                  ---------------------------------------¬  
 *                                  ¦      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|
 *                                  L---------------------------------------
 *                    | 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);
  }
}










Thank you. Waiting for your feedback and suggestions!
SHALARIBA (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 1


View Profile
November 09, 2018, 11:32:04 PM
 #2

Audit CryptoManiacs

batang_bitcoin
Hero Member
*****
Online Online

Activity: 2982
Merit: 600


Eloncoin.org - Mars, here we come!


View Profile
November 09, 2018, 11:36:43 PM
 #3

This isn't the section for this thread.

Move it to Announcement (Altcoins). Use Move topic below.



 

 

 

 

 

 


▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
.
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
.
 ElonCoin.org 
.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"
▬▬▬▬▬
Grizer
Jr. Member
*
Offline Offline

Activity: 140
Merit: 1


View Profile
November 10, 2018, 05:33:36 PM
 #4

I like that this project has been successfully audited by independent experts, it is very important for every investor.
zorgo
Member
**
Offline Offline

Activity: 350
Merit: 10


View Profile
November 10, 2018, 06:27:51 PM
 #5

I would like to see a table on the distribution of the investment Fund of this project, preferably in percentage.
TimurBit
Jr. Member
*
Offline Offline

Activity: 350
Merit: 1


View Profile
November 10, 2018, 07:40:01 PM
 #6

I would like to see a table on the distribution of the investment Fund of this project, preferably in percentage.

85% of the proceeds immediately go to the payments to the participants, the remaining 15% are sent to the marketing and salary of the project team.
NeZoX
Jr. Member
*
Offline Offline

Activity: 196
Merit: 1


View Profile
November 11, 2018, 10:15:33 AM
 #7

I invested $ 300 in this project, I hope that I was not mistaken in my choice.
FlooMeer
Jr. Member
*
Offline Offline

Activity: 224
Merit: 1


View Profile
November 11, 2018, 10:30:34 AM
 #8

I invested $ 300 in this project, I hope that I was not mistaken in my choice.

I also invested in the project about the same amount, I hope I will not go into minus, Wallie.me looks promising.

◊ ◊ ◊ 𝗘𝘁𝗵𝗲𝗿𝗲𝘂𝗺 𝗖𝗹𝗮𝘀𝘀𝗶𝗰 𝗩𝗶𝘀𝗶𝗼𝗻 ◊ ◊ ◊
ETCV ▬▬▬▬▬▬▬ ▬▬▬▬▬ ▬▬▬ ▬▬ Hard fork of Ethereum ▬▬▬ ▬▬ ▬
https://ethereumcv.io
mish987i
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
November 11, 2018, 12:30:50 PM
 #9

Greetings colleagues! You will not believe, but I have an instinct for really large and profitable projects, I learned about Wallie a week ago, and yesterday I made a contribution to 1.97 Ethereum. I also recommend that you take part in this project according to my example))

 Wink I boast about taking profit profit withdrawal: https://etherscan.io/address/0x487c9eeaaee1679ba1db6fafe2fd38d25b4ed9ae#internaltx

PS: When registering with my link, you will receive 3% cashback from your deposit: https://wallie.me/?p=0x487c9eeaaee1679ba1db6fafe2fd38d25b4ed9ae   Roll Eyes

mish987i
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
November 12, 2018, 01:30:52 PM
 #10

How to use Wallie? https://www.youtube.com/watch?v=GTsWdNWEiWI&feature=youtu.be

PS: When registering with my link, you will receive 3% cashback from your deposit: https://wallie.me/?p=0x487c9eeaaee1679ba1db6fafe2fd38d25b4ed9ae    Wink
NeZoX
Jr. Member
*
Offline Offline

Activity: 196
Merit: 1


View Profile
November 12, 2018, 07:22:14 PM
 #11

I invested $ 300 in this project, I hope that I was not mistaken in my choice.

I also invested in the project about the same amount, I hope I will not go into minus, Wallie.me looks promising.

Yesterday I received my first payment, and today the second payment. My conclusions: the Project pays.
Dezlife
Jr. Member
*
Offline Offline

Activity: 168
Merit: 1


View Profile
November 12, 2018, 07:36:17 PM
 #12

I want to earn my income twice a day, how can I do it?
dima234
Jr. Member
*
Offline Offline

Activity: 70
Merit: 1


View Profile
November 12, 2018, 07:42:40 PM
 #13

Is there a yield calculator on your website so I can calculate my profit for the future?
Grizer
Jr. Member
*
Offline Offline

Activity: 140
Merit: 1


View Profile
November 12, 2018, 07:51:32 PM
 #14

Is there a yield calculator on your website so I can calculate my profit for the future?

On the website there is a calculator, it works without glitches and any failures.
Loxness
Jr. Member
*
Offline Offline

Activity: 182
Merit: 2


View Profile
November 12, 2018, 08:16:23 PM
 #15

The balance of the reserve Fund is 61439.82 dollars, how long will this money be enough to pay investors?
Sondale
Member
**
Offline Offline

Activity: 252
Merit: 10


View Profile
November 12, 2018, 08:17:27 PM
 #16







Code:
pragma solidity ^0.4.25;

/**
 *
 *                                  г¬г¬г¬г==¬г¬--г¬--г==¬г===¬--г¬--г¬г===¬
 *                                  ¦¦¦¦¦¦¦г¬¦¦¦--¦¦--L¬г-¦г==---¦¦--¦¦¦г==-
 *                                  ¦¦¦¦¦¦¦L-¦¦¦--¦¦---¦¦-¦L==¬--¦L¬г-¦¦L==¬
 *                                  ¦¦¦¦¦¦¦г¬¦¦¦--¦¦---¦¦-¦г==---¦г¬г¬¦¦г==-
 *                                  ¦L-L-¦¦¦¦¦¦L=¬¦L=¬г-L¬¦L==¬г¬¦¦L-¦¦¦L==¬
 *                                  L=-L=-L-L-L==-L==-L==-L===-L-L---L-L===-
 *                                  ---------------------------------------¬  
 *                                  ¦      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|
 *                                  L---------------------------------------
 *                    | 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);
  }
}










Thank you. Waiting for your feedback and suggestions!
thank ypu very much for this information i promise to look ot through as somethong seems to be too suspisios fpr em
Sondale
Member
**
Offline Offline

Activity: 252
Merit: 10


View Profile
November 12, 2018, 08:18:17 PM
 #17

Audit CryptoManiacs


well i think taht this project is good and i beliebe that there sjpupd be more enthusiasts like them and ypu will like that
JohnMeltzer
Newbie
*
Offline Offline

Activity: 102
Merit: 0


View Profile
November 12, 2018, 08:22:37 PM
 #18

The balance of the reserve Fund is 61439.82 dollars, how long will this money be enough to pay investors?

This is a HYIP project, the life of the project depends on new investors, you need to understand this.
BrieMiller
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
November 12, 2018, 08:25:55 PM
 #19

The balance of the reserve Fund is 61439.82 dollars, how long will this money be enough to pay investors?

This is a HYIP project, the life of the project depends on new investors, you need to understand this.

I participate in such projects do not forget about the risks and do not be greedy, then you will be profitable.
1ceStorm
Jr. Member
*
Offline Offline

Activity: 112
Merit: 1


View Profile
November 12, 2018, 08:43:47 PM
 #20

The balance of the reserve Fund is 61439.82 dollars, how long will this money be enough to pay investors?

This is a HYIP project, the life of the project depends on new investors, you need to understand this.

I participate in such projects do not forget about the risks and do not be greedy, then you will be profitable.

Wallie.me a great representative of hyip projects, I do not see anything wrong with them, the main thing is not to lose your head.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!