TronStake

Screenshot 2021-01-20 214036
0 0 votes
Article Rating

Conclusion:

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

OFFICIAL AUDIT: DOWNLOAD

 

Disclaimer:

This audit is only for the TRONSTAKE smart contract codes base on the below-specified address only.

TRONSTAKE: https://tronscan.io/#/contract/TQKCF8YFzs9gMRoLAmYgmz2AUUb4htX2Ao/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): 1

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

 

RECOMMENDATIONS (very low severity): 0

Hint and tips to improve contract functionality and trustworthy.

 

 

Optimization suggestions

 

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

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

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

Note:

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

 

 

 

Independent description of the smart-contract functionality

The TronStake smart-contract provides the opportunity to invest any amount in TRX (from 50 TRX) in the contract and get 112% to 292% return on investment in 14 to 28 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 or after deposit finished time based on plans
  • Each subsequent Deposit is kept separately in the contract, in order to maintain the payment amount for each Deposit.

 

Contract Owners Fee

Project Fee:   10%

 

SIX INVESTMENT PLANS

Plans Total Return Daily Profit Days Withdraw time
1 112% 8% 14 Any Time
2 136% 6.47% 21 Any Time
3 140% 5% 28 Any Time
4 193% 13.71 14 End of Plan
5 275% 13.1% 21 End of Plan
6 292% 10.42% 28 End of Plan

 

Minimum deposit amount is 50 TRX

 

 

 

Important: Plans return are float and daily profit for a new deposit will increase by 0.5% daily

function getPercent(uint8 plan) public view returns (uint256) {

if (block.timestamp > startUNIX) {

return plans[plan].percent.add(PERCENT_STEP.mul(block.timestamp.sub(startUNIX)).div(TIME_STEP));

} else {

return plans[plan].percent;

}

}

 

Example: plan 1 in 4th-day, daily profit is 12% and total return 168%

 

 

Referral System (Match Bonus)

This contract paid referrals in three-level totally 8%

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

Notes:

  • Referral should be an active user; it means referral address has at least one deposit

 

TRONSTAKE Smart-Contract Functions

  • Constructor: initial plans, owner address and start date
  • invest: make a new deposit
  • withdraw: transfer user profit to his wallet
  • getPlanInfo: return plan info
  • getPercent: return calculated percent
  • getResult: return deposit calculated percent, profit and finish date
  • getUserDividends: return user dividends
  • getUserCheckpoint: return user checkpoint
  • getUserReferrer: return user referrer
  • getUserDownlineCount: return referral amount in three level
  • getUserReferralBonus: return referral bonus
  • getUserReferralTotalBonus: return total referrals
  • getUserReferralWithdrawn: return total paid referrals
  • getUserAvailable: return user available
  • getUserAmountOfDeposits: return deposits amount
  • getUserTotalDeposits: return total deposit
  • getUserDepositInfo: return a deposit info
  • isContract: check the address type

 

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