Author

Topic: [ANN] Wallie.me - the best smart contract in the world! (Read 287 times)

jr. member
Activity: 182
Merit: 2
The project itself looks very cheerful, according to statistics, new investors more and more every day.
jr. member
Activity: 182
Merit: 1
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.

If you decide to invest in Wallie.me, now is the best time for this, then it may be too late!
member
Activity: 271
Merit: 10
I am sorry that I will not invest in such a project. I think the wave of smart contracts has faded. Of course, this does not mean that this coin has no value. I just think that this is not mainstream value. The value of smart contract has been released by Ethereum.
jr. member
Activity: 112
Merit: 1
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.
jr. member
Activity: 182
Merit: 1
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.
newbie
Activity: 102
Merit: 0
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.
member
Activity: 252
Merit: 10
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
member
Activity: 252
Merit: 10
jr. member
Activity: 182
Merit: 2
The balance of the reserve Fund is 61439.82 dollars, how long will this money be enough to pay investors?
jr. member
Activity: 140
Merit: 1
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.
jr. member
Activity: 70
Merit: 1
Is there a yield calculator on your website so I can calculate my profit for the future?
jr. member
Activity: 168
Merit: 1
I want to earn my income twice a day, how can I do it?
jr. member
Activity: 196
Merit: 1
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.
newbie
Activity: 15
Merit: 0
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
newbie
Activity: 15
Merit: 0
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

jr. member
Activity: 224
Merit: 1
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.
jr. member
Activity: 196
Merit: 1
I invested $ 300 in this project, I hope that I was not mistaken in my choice.
jr. member
Activity: 350
Merit: 1
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.
member
Activity: 350
Merit: 10
I would like to see a table on the distribution of the investment Fund of this project, preferably in percentage.
jr. member
Activity: 140
Merit: 1
I like that this project has been successfully audited by independent experts, it is very important for every investor.
hero member
Activity: 3080
Merit: 603
This isn't the section for this thread.

Move it to Announcement (Altcoins). Use Move topic below.
jr. member
Activity: 101
Merit: 1
Audit CryptoManiacs

jr. member
Activity: 101
Merit: 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!
Jump to: