show more...


The BnbStars 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 BnbStars 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.



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.


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




The BNBStar smart contract provides the opportunity to invest any amount in BNB (from 0.01 BNB) in the contract and get 210% to 240% return on investment between 30 to 35 days 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

Marketing Fee:   2%

Developer Fee:   8%



Plan 1: 6% daily profit for 35 days, total return 210%

Plan 2: 8% daily profit for 30 days, total return 240%


  • The Minimum deposit amount is 0.01 BNB



Referral System (Match Bonus)

This contract pays 8% referrals commissions over 3 level deeps

  • Level one: 5%
  • Level two: 2%
  • Level three: 1%



  • The Referral should be an active user. it means the referral address has at least one deposit
  • The 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 referrer all referral amount transfer to owners.
  • If a user has a valid referrer 0.5% of his deposit return and will be added to his referral commissions


Notes and Hints:

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


function() external payable {

if (msg.value == 0) {


} else {

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



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










  • Constructor: initial developer, marketing and reference address wallets and call “_init” function at the deployment of the contract in the main net.
  • Function without any name: used this function to handle direct contract address call which returns invest and withdraws based on message TRX amount.
  • setMarketingAccount: only called by the owner and set marketing address
  • getMarketingAccount: only called by the owner and return marketing address.
  • setDeveloperAccount: only called by the owner and set developer address
  • getDeveloperAccount: only called by owner and return developer address.
  • setReferenceAccount: only called by the owner and set reference address
  • getReferenceAccount: only called by the owner and return reference address.
  • _init: define owner as a first user of contract and initial plans
  • getCurrentPlans: return all plans
  • getTotalInvestments: return total investment
  • getBalance: return contract balance
  • getUIDByAddress: return user ID based on user address
  • getInvestorInfoByUID: return all stats of a user
  • getInvestmentPlanByUID: return all user’s plans
  • _addInvestor: create a new user and set referrals
  • _invest: make a new deposit
  • grant: make a new deposit for another address
  • invest: call _invest and make a new deposit
  • withdraw: transfer available dividends, referral and bonus to the user
  • _calculateDividends: calculate dividends of a plan
  • _calculateReferrerReward: calculate referrals and turnover for bonus prizes