MyTronBank Audit

Contract Description

Read and write features on Tronscan is designed to assist users in interacting with any smart contract deployed onto the Tron blockchain. The function and nature of the smart contract are defined by the developers of the smart contract respectively.

Read Functions:

1.PERCENTS_DIVIDER: 1000

2.getUserDividends: Showing user’s dividends using the address

3.getUserAvailable: Check if the user has participated or not

4.MAX_CONTRACT_PERCENT: 10%

5.getSiteStats: Showing project overall status (total deposits etc)

6.LEADER_BONUS_STEP: 1B TRX on the contract balance

7.getUserReferralsStats: Showing numbers of referrals by an address

8.COMMUNITY_BONUS_STEP: 10M TRX on the contract balance

9.TIME_STEP: Showing time step, 1 day

10.projectAddress: Showing My Tron Bank Project address

11.getLeaderBonusRate: current leaders bonus rate

12.ADMIN_FEE: Showing Admin fee

13.MAX_HOLD_PERCENT: 1%

14.getUserDeposits: Showing user’s deposits info

15.PROJECT_FEE: Showing Project fee

16.totalWithdrawn: Total Withdrawn amount

17.getUserStats: Showing user’s stats

18.totalInvested: Total invested amount

19.REFERRAL_PERCENTS: Showing referral levels percent [using 0, 1, 2,…]

20.BASE_PERCENT: Showing basic daily percent

21.MAX_COMMUNITY_PERCENT: 0.5%

22.totalRefBonus: Showing total referral payout

23.CONTRACT_BALANCE_STEP: 1B TRX on the contract balance

24.getCommunityBonusRate: Showing current community bonus rate

25.getContractBalance: Showing Contract Balance

26.totalDeposits: Showing total deposits

27.INVEST_MAX_AMOUNT: Maximum investment amount

28.getUserTotalDeposits: Showing users total deposts

29.NETWORK: 5%

30.contractPercent: 0.5%

31.getUserLastDeposit: Showing users last deposiy

32.isActive: Checking if the user is still getting dividends or reached 200%

33.marketingAddress: Showing My Tron Bank Marketing address

34.getUserAmountOfDeposits: Showing users amount of deposits

35.DEPOSITS_MAX: Maximum number of deposits

36.MARKETING_FEE: Showing marketing fee of the project

37.contractCreationTime: Contract creation time

38.networkAddress: Showing My Tron Bank Network address

39.INVEST_MIN_AMOUNT: Minimum contribution amount

40.MAX_LEADER_PERCENT: Maximum leader percentage

41.getCurrentHalfDayTurnover: Current turnover in 12hours

42.getCurrentHalfDay: Get current 12hours turnover

43.getUserTotalWithdrawn: Showing the user’s total withdrawn

44.adminAddress: Showing My Tron Bank Admin address

45.getContractBalanceRate: Showing contract balance rate

 

 

Write Functions:

1.invest: Deposit(invest) in the contract

Usage: Depositing(investing) into the smart contract

Who can use this function: Everybody

1.withdraw: Withdraw dividends

Usage: Withdrawing dividends

Who can use this function: Only investors( deposited wallets)

 

Requested Audits:

Backdoor check: The contract is 100% decentralized and there is no backdoor for transferring contract balance, changing the functions, or any other way has been found.

Security check: The security of the contract is verified.