103
2021.03.31
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.
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.
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).
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.
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%
Notes: