sTRONgHOLD Contract Audit

Contract Description

 

Function Report:

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

Read Functions:

  1. PERCENTS_DIVIDER: Showing percent divider in the contract which is 1000
  2. TIME_CYCLE: Showing Time Cycle of the contract which is 1728000(20 days)
  3. getReferralCount:  Get number of referrals by user
  4. TIME_STEP: Showing time step, which is set to 1 day (86400)
  5. getUserReferrer: Check user’s referrer using the wallet address
  6. REFERRAL_HOLD_PERCENTS: Showing the referral hold percent
  7. projectAddress: Showing project wallet address of the contract
  8. isUser: Checking if user deposited in the contract or not
  9. getBonusData: Showing Matrix Created, Paid Matrix and referral bonus
  10. REFERRAL_PERCENTS: Showing referral percent
  11. PROJECT_FEE: Showing project fee of the project, which is 35%[=3.5% of principal deposit]
  12. REFERRAL_BONUS_PERCENTS: Showing referral bonus percent
  13. totalWithdrawn: Total withdrawn from the contract
  14. totalInvested: Total invested amount
  15. getUserMatrixsCreated: Get matrices created by user
  16. OWNER_FEE: Showing owner fee of the project, which is 35%[=3.5% of principal deposit]
  17. nextUserReinvesmentAmount: Showing next reinvestment amount by user address
  18. BASE_PERCENT: Showing basic daily percentage. In this case it has been set to 10% per “Time Step”
  19. developmentAddress: Showing development wallet address of the contract
  20. getUserDeposiState: Showing user deposit status, amount, cycle and reinvestment
  21. getContractBalance: Showing the current contract balance
  22. REINVESTMENT_PERCENT: Showing reinvestment percent
  23. getMainInfo: Get contract balance, total referral hold and if the caller is participate in the contract and has activated his/her investment or not.
  24. totalDeposits: Showing total number of deposits
  25. getUserTotalDeposits: Showing amount of principal deposit
  26. owner: Showing owner wallet address of the contract
  27. isActive: Checking if the user is still getting dividends or reached his/her profit
  28. marketingAddress: Showing marketing wallet address of the contract
  29. getUserMatrixsPaid: Showing user’s paid matrices
  30. ACTIVATE_PLAN: Showing activate plan percentage which is 20%
  31. MARKETING_FEE: Showing marketing fee of the project, which is 2% of principal deposit
  32. time_start: The time that contact deployed in Unix Timestamp
  33. calculateUserCurrentDividens: User’s current dividends
  34. getUserDepositInfo: Get user’s full deposit info using user’s address
  35. totalUsers: Total number of users participated in
  36. DEVELOPMENT_FEE: Showing development fee of the project, which is 30%[=3% of principal deposit]
  37. totalReferralHold: Showing total Rreferral Hold amount
  38. getUserCheckpoint: First deposit date and time made by user in Unix Timestamp format
  39. INVEST_MIN_AMOUNT: Showing the minimum investment amount which is set to 250 TRX
  40. getUserReferralBonus: Showing user’s referral bonus using the wallet address
  41. MAX_MATRIX: Showing maximum matrix number
  42. getUserTotalWithdrawn: Showing the user’s total withdrawn using the wallet address

Write Functions:

1. invest: Deposit(invest) in the contract

Depositing (investing) into the smart contract. Can also use a referral link.

Who can use this function: Everybody

2. withdrawOnlyBonus: Withdraw Bonus

Withdrawing bonus from the contract

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

3. payReinvesment: Pay Reinvestment

Reinvest 110% of your principal deposit

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

4. activateUser: Activating investment

Activate investment by 20% of your principal deposit.

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.