Bank4Tron

bank4tron
0 0 votes
Article Rating

Conclusion:

In the Bank4Tron 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 Bank4Tron Smart-Contract is safe for use in the Tron main network.

 

OFFICIAL AUDIT: DOWNLOAD

 

Disclaimer:

This audit is only to the Smart-Contract code at the specified address.

Bank4Tron:
https://tronscan.io/#/contract/TTMSr7S1exDcjtJyhHSnLFLzbVkbshtqoZ/code

The audit makes no statements or warranties about the suitability or sustainability of the business model or regulatory regime for the business model. Do take into consideration that you are doing all financial actions & transactions at your own risk, especially if you are dealing with high-risk projects / Dapps.

 

 

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): 0

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

 

RECOMMENDATIONS (very low severity): 1

Hint and tips to improve contract functionality and trustworthy.

 

 

Optimization Suggestions

 

1- Leader Prize

Based on the function “_calculateReferrerReward” in case of a user has just one or less subset than prize table level and his subset invest a large amount in one deposit, the user does not receive all prizes.

Note:

the main user should have more deposit count in his subnet equal to the prize table.

 

 

Independent description of the smart-contract functionality

The Bank4Tron smart-contract provides the opportunity to invest any amount in TRX (from 100 TRX) in the contract and get a 160-210% return on investment in four 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 at any time.
  • Users can withdraw just every 6 hours.
  • Each subsequent Deposit is kept separately in the contract, in order to maintain the payment amount for each Deposit.

 

Contract Owners Fee

DEVELOPER:   2%

MARKETING:    9%

ADMIN:              3%

 

FOUR INVESTMENT PLANS

Plans Total Return Days Daily Profit
1 160% 8 20%
2 180% 10 18%
3 192% 12 16%
4 210% 15 14%

 

Notes:

  • Minimum deposit amount is 100 TRX

 

 

 

Referral System (Match Bonus)

This contract paid referrals in five-level totally 15%

  • Level one: 5%
  • Level two: 4%
  • Level three: 3%
  • Level four:    2%
  • Level five:     1%

 

Notes:

  • Referral should be an active user, it means 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 referrer all referral amount transfer to owners.

 

 

Leader Bonus

This contract based on user subset turnover give prizes based on the below table:

Turnover Prize
15,000 200
50,000 300
100,000 500
500,000 4,000
1,000,000 15,000
5,000,000 80,000
10,000,000 200,000
20,000,000 1,300,000
50,000,000 2,400,400

** All numbers are based on TRX

 

Turnover is calculated based on subset deposits. Each level deposit amount multiplied in a fixed number based on the below table:

Level 1 Level 2 Level 3 Level 4 Level 5
1 0.5 0.25 0.1 0.05

 

 

 

Notes and Hints:

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

 

function() external payable {

if (msg.value == 0) {

withdraw();

} else {

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

}

}

  • Based on top code if an address sends TRX 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.

 

 

require(uid2Investor[uid].timer < now, “withdrawal is available only once every 6 hours”);

 

uid2Investor[uid].timer = now + 6 hours;

 

  • Based on top code, users can only withdraw once a day.

 

 

 

 

 

Bank4Tron Smart-Contract Functions

  • Constructor: init developer, marketin, admin and reference address wallets and call “_init” function at the deployment of the contract in main net.
  • Function without any name: used this function to handle direct contract address call which return invest and withdraw based on message TRX amount.
  • getMarketingAccount: only called by owner and return marketing address.
  • getDeveloperAccount: only called by owner and return developer address.
  • getReferenceAccount: only called by owner and return reference address.
  • _init: define owner as a first user of contract and initial plans and bonus levels.
  • 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 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 user
  • _calculateDividends: calculate dividends of a plan
  • _calculateReferrerReward: calculate referrals and turnover for bonus prizes

Related Posts

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x