MOONBANK

66

2021.05.07

Disclaimer:

show more...

Conclusion:

In the MoonBank Smart-Contract were found no vulnerabilities, no backdoors, and no scam scripts.

The code was tested with compatible compilers and simulate manually reviewed for all commonly known and specific vulnerabilities.

So MoonBank Smart-Contract is safe for use in the Binance Smart Chain main network.

CRITICAL ISSUES (critical, high severity): 0

Critical and harmful access for owners, user block ability, Bugs and vulnerabilities that enable theft of funds, lock access to funds without possibility to restore it, or lead to any other loss of funds to be transferred to any party.

 

ERRORS, BUGS AND WARNINGS (medium, low severity): 0

Bugs can negatively affect the usability of a program, errors that can trigger a contract failure, Lack of necessary security precautions, other warnings for owners and users, warning codes that are valid code but the compiler thinks are suspicious.

 

OPTIMIZATION (low severity): 1

Methods to decrease the cost of transactions in Smart-Contract.

 

RECOMMENDATIONS (very low severity): 0

Hint and tips to improve contract functionality and trustworthiness

 

OPTIMIZATION SUGGESTIONS

 

1- Loop on the dynamic variable (low severity).

If the user gets more parallel deposits his withdrawal transaction fee will cost more transaction fees because the loop on the dynamic variable is used in the ‘withdraw’ function.

In case of the GAS limit of exceeding the size of transaction withdraw is not possible.

Note:

This comment is relevant only if a user creates an excessive number of parallel deposits (more than 100).

 

 

 

INDEPENDENT DESCRIPTION OF THE SMART-CONTRACT FUNCTIONALITY

The MOONBANK smart contract provides the opportunity to invest any amount in BNB (from 0.01 BNB) in the contract and get a 120% to unlimited return on investment in 4 different plans if the contract balance has enough funds for payment.

 

  • Dividends are paid from deposits of users.
  • All dividends are calculated at the moment of request and available for withdrawal anytime
  • Each subsequent Deposit is kept separately in the contract, in order to maintain the payment amount for each Deposit.

 

 

Contract Owners Fee

DEVELOPER:   5%

MARKETING:    5%

 

 

FOUR INVESTMENT PLANS

Plans Total Return Days Daily Profit
1 unlimited forever 3.7%
2 211.5% 45 4.7%
3 142.5% 25 5.7%
4 120.6% 18 6.7%

 

Notes:

  • The minimum deposit amount is 0.01 BNB

 

 

 

 

Referral System (Match Bonus)

This contract pays a 10% referral commission over 5 levels

  • Level 1: 5%
  • Level 2: 3%
  • Level 3: 1%
  • Level 4: 0.5%
  • Level 5: 0.5%

 

Notes:

  • Referral should be an active user. it means the referral address has at least one deposit
  • A referrer is specified once at the time of the first deposit and is assigned to the user without the possibility of changing. From each subsequent Deposit, the referrer will get his percent.
  • If a user has not a valid referrer, referral commission transfer to owners.

 

Notes and Hints:

  • In this contract based on function “grant”, the user can send BNB to create a new deposit for another address and his address is upline.

 

receive() external payable {

if (msg.value == 0) {

withdraw();

} else {

invest(0, 0); //default to buy plan 0, no referrer

}

}

 

  • Based on the above code if an address sends BNB directly to the contract address, a deposit will be created for him without a referral on first plan
  • If an address sends zero amount directly to the contract address withdraw function runs automatically.