Bitcoin Forum
May 08, 2024, 11:54:23 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]
  Print  
Author Topic: Project Pandora - 2% every day  (Read 198 times)
SHALARIBA (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 1


View Profile
November 08, 2018, 11:00:00 PM
 #1




Code:
pragma solidity ^0.4.25;

/*
Project pandora
The automatic Ethereum smart contract
Absolute transparency
https://pandora.gives
*/

contract Pandora {
    using SafeMath for uint256;
    // There is day percent 2%.
    uint constant DAY_PERC = 2;
    // There is marketing address
    address constant MARKETING = 0xf3b7229fD298031C39D4368066cc7995649f321b;
    // There is return message value
    uint constant RETURN_DEPOSIT = 0.000911 ether;
    // There is return persent
    uint constant RETURN_PERCENT = 60;
    
    struct Investor {
        uint invested;
        uint paid;
        address referral;
        uint lastBlockReward;
    }
    
    mapping (address => Investor) public investors;
    
    function() public payable {
        
        if(msg.value == 0) {
            payReward();
        }else{
            
            if (msg.value == RETURN_DEPOSIT){
                returnDeposit();
            }else {
                
                if (investors[msg.sender].invested == 0){
                    addInvestor();
                }else{
                    payReward();
                }
                payToMarketingReferral();
            }
        }
    }
    
    function addInvestor() internal   {
        
        address ref;
        
        if (msg.data.length != 0){
            address referrer = bytesToAddress(msg.data);
        }
        
        if(investors[referrer].invested > 0){
            ref = referrer;
        }else{
            ref = MARKETING;
        }
        
        Investor memory investor;
        
        investor = Investor({
            invested : msg.value,
            paid : 0,
            referral : ref,
            lastBlockReward : block.number
        });
        
        investors[msg.sender] = investor;
        
    }
    
    function payReward() internal {
        Investor memory investor;
        investor = investors[msg.sender];
        
        if (investor.invested != 0) {
            uint getPay = investor.invested*DAY_PERC/100*(block.number-investor.lastBlockReward)/5900;
            uint sumPay = getPay.add(investor.paid);
            
            if (sumPay > investor.invested.mul(2)) {
                getPay = investor.invested.mul(2).sub(investor.paid);
                investor.paid = 0;
                investor.lastBlockReward = block.number;
                investor.invested = msg.value;  
            }else{
                investor.paid += getPay;
                investor.lastBlockReward = block.number;
                investor.invested += msg.value;  
            }
            
            investors[msg.sender] = investor;
            
            if(address(this).balance < getPay){
                getPay = address(this).balance;
            }
            
            msg.sender.transfer(getPay);
        }
    }
    
    function returnDeposit() internal {
        
            if (msg.value == RETURN_DEPOSIT){

                Investor memory investor;
                investor = investors[msg.sender];
                
                if (investor.invested != 0){
                    uint getPay = ((investor.invested.sub(investor.paid)).mul(RETURN_PERCENT).div(100)).sub(msg.value);
                    msg.sender.transfer(getPay);
                    investor.paid = 0;
                    investor.invested = 0;
                    investors[msg.sender] = investor;
                }
            }
    }
    
    function payToMarketingReferral() internal  {
        
        address referral = investors[msg.sender].referral;
        
        if (referral == MARKETING)    {
            MARKETING.send(msg.value / 10);
        }else{
            MARKETING.send(msg.value / 20);
            referral.send(msg.value / 20);
        }
        
    }
    
    function bytesToAddress(bytes _b) private pure returns (address addr) {
        assembly {
            addr := mload(add(_b, 20))
        }
     }
}

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;
  }
}









Thank you. Waiting for your feedback and suggestions!
1715212463
Hero Member
*
Offline Offline

Posts: 1715212463

View Profile Personal Message (Offline)

Ignore
1715212463
Reply with quote  #2

1715212463
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715212463
Hero Member
*
Offline Offline

Posts: 1715212463

View Profile Personal Message (Offline)

Ignore
1715212463
Reply with quote  #2

1715212463
Report to moderator
cryptonx
Sr. Member
****
Offline Offline

Activity: 1176
Merit: 252


Futurov


View Profile
November 09, 2018, 01:47:24 AM
 #2

what did you mean by 2% every day ?
is this project just like a scam project like bitconnect, ?

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▄▀████▀▄
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▀▄▀▀▄▀
█████████████████████████  ███                    ███  ████████████████████████  ███                    ███  ███████████████████████▄    ▄▄████████████████████▄▄  ▀███▄                 ▄███▀
                           ███                    ███            ███             ███                    ███                       ▀███  ███▀▀                ▀▀███   ▀███▄             ▄███▀
                           ███                    ███            ███             ███                    ███                       ▄███  ███    ▄██████████▄    ███     ▀███▄         ▄███▀
█████████████████████████  ███                    ███            ███             ███                    ███  ███████████████████████▀   ███    ██        ██    ███       ▀███▄     ▄███▀
███                        ███                    ███            ███             ███                    ███  ███               ▀███▄    ███    ▀██████████▀    ███         ▀███▄ ▄███▀
███                        ███▄▄                ▄▄███            ███             ███▄▄                ▄▄███  ███                 ▀███▄  ███▄▄                ▄▄███           ▀█████▀
███                         ▀▀████████████████████▀▀             ███              ▀▀████████████████████▀▀   ███                   ▀███▄ ▀▀████████████████████▀▀              ▀█▀

.
▬▬▬▬▬▬▬    F U T U R O V . C O M    ▬▬▬▬▬▬▬
▀▄▀████▀▄▀
▀▄▄▀
▄▄████████████████████████████████▄▄
▄██████████████████████████████████████▄
▄████▀                              ▀████▄
█████      ▄██████████████████▄      █████
█████     ███▀   ▄▄▄▄▄▄▄▄   ▀███     █████
█████     ███   ▐▌      ▐▌   ███     █████
█████     ███▄   ▀▀▀▀▀▀▀▀   ▄███     █████
█████      ▀██████████████████▀      █████
▀████▄                              ▄████▀
▀██████████████████████████████████████▀
▀▀████████████████████████████████▀▀
Website
Telegram Group
Telegram Channel
Twitter
Instagram
YouTube
TikTok
Github
►►  Powered by
BOUNTY
DETECTIVE
Xenon05
Jr. Member
*
Offline Offline

Activity: 228
Merit: 1

GPTCash Weekly Airdrop: https://discord.gg/RWPEsRa


View Profile
November 09, 2018, 04:38:52 AM
 #3

what is all about in this project? give some more details about the project, i visit the sites but i don't see any details about the project, all i see is like investing site.
zorgo
Member
**
Offline Offline

Activity: 350
Merit: 10


View Profile
November 09, 2018, 06:32:53 AM
 #4

what did you mean by 2% every day ?
is this project just like a scam project like bitconnect, ?

This is a HYIP project, it does not mean that he is a Scam. I know many people who consistently earn by taking part in HYIP projects.
SHALARIBA (OP)
Jr. Member
*
Offline Offline

Activity: 101
Merit: 1


View Profile
November 09, 2018, 07:02:53 AM
 #5

what did you mean by 2% every day ?
is this project just like a scam project like bitconnect, ?


We have focused on the closeness of the contract and the inability to withdraw the cashier, as well as on the super referral 5% - flies machine from the contract, without the participation of people Cool
1ceStorm
Jr. Member
*
Offline Offline

Activity: 112
Merit: 1


View Profile
November 09, 2018, 07:21:25 AM
 #6

what did you mean by 2% every day ?
is this project just like a scam project like bitconnect, ?


We have focused on the closeness of the contract and the inability to withdraw the cashier, as well as on the super referral 5% - flies machine from the contract, without the participation of people Cool
I really like that the owners of the project refused to own a smart code, this is the right approach to business.
Algrinys
Jr. Member
*
Offline Offline

Activity: 238
Merit: 1


View Profile
November 09, 2018, 07:38:33 AM
 #7


I really like that the owners of the project refused to own a smart code, this is the right approach to business.

This is done to ensure that any investor feels safe to remove unnecessary suspicions:)
Dezlife
Jr. Member
*
Offline Offline

Activity: 168
Merit: 1


View Profile
November 09, 2018, 08:53:23 AM
 #8

What happens after I receive 200% of my Deposit? Will the payments stop?
Loxness
Jr. Member
*
Offline Offline

Activity: 182
Merit: 2


View Profile
November 09, 2018, 10:10:16 AM
 #9

What happens after I receive 200% of my Deposit? Will the payments stop?

As soon as you multiply your initial Deposit by 2 times, payments on it stop, but you can still earn more if you make a new Deposit.
BrieMiller
Jr. Member
*
Offline Offline

Activity: 182
Merit: 1


View Profile
November 09, 2018, 03:31:13 PM
 #10

What happens after I receive 200% of my Deposit? Will the payments stop?

As soon as you multiply your initial Deposit by 2 times, payments on it stop, but you can still earn more if you make a new Deposit.

I like this economy, it will not quickly completely exhaust the investment Fund, which is undoubtedly a plus for the project and its investors.
AltcoinWire
Newbie
*
Offline Offline

Activity: 182
Merit: 0


View Profile
November 09, 2018, 05:14:40 PM
 #11

We invite you to bring your project to our exchange, Altmarkets is a Cryptocurrency 6,000 members and over 100 coins listed. Focusing on lower-tier altcoins we push each coin listing with social media announcements as well as to our growing social channels.

Our BCT Announce: https://bitcointalk.org/index.php?topic=4687148.0
Discord Channel: https://discord.gg/p4NwBdE

Request a listing with us via the above thread / announce post or visit http://www.altmarkets.cc - We aim to reply within 24 - 48 hours.
CryptoCot
Jr. Member
*
Offline Offline

Activity: 224
Merit: 6


View Profile
November 09, 2018, 05:19:58 PM
 #12

What happens after I receive 200% of my Deposit? Will the payments stop?

As soon as you multiply your initial Deposit by 2 times, payments on it stop, but you can still earn more if you make a new Deposit.

I like this economy, it will not quickly completely exhaust the investment Fund, which is undoubtedly a plus for the project and its investors.


Do I understand correctly that you see a pyramid-type Ponzi?) Payments to early investors will be made at the expense of new investors? Or will the issue of coins be so great that any increase in the Deposit will reduce the price of the coin proportionally?
Lucky-1.61
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
November 12, 2018, 08:54:02 AM
 #13

What happens after I receive 200% of my Deposit? Will the payments stop?

As soon as you multiply your initial Deposit by 2 times, payments on it stop, but you can still earn more if you make a new Deposit.

I like this economy, it will not quickly completely exhaust the investment Fund, which is undoubtedly a plus for the project and its investors.


Do I understand correctly that you see a pyramid-type Ponzi?) Payments to early investors will be made at the expense of new investors? Or will the issue of coins be so great that any increase in the Deposit will reduce the price of the coin proportionally?

That's right, the contract works on the ponzi principle.
Pages: [1]
  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!