The ONETRON 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 ONETRON Smart-Contract is safe for use in the Tron main network.
This audit is only for the ONETRON smart contract codes base on the below-specified address only.
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 trustworthiness.
1- Duplicate calculations (low severity).
In the calculation of bonuses, the number of days is calculated several times. It was better to do the time calculations once. This reduces the cost of transactions.
This has no effect on the main performance of the contract
Independent description of the smart-contract functionality
The OneTron smart contract provides the opportunity to invest any amount in TRX (from 500 TRX) in the contract and get a 300% return on investment 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 only once a day
Contract Owners Fee
Owner Fee: 5%
Promote FEE: 10%
300% return on every investment. The basic interest rate of 2% daily and plenty of diverse bonuses.
- The minimum deposit amount is 500 TRX
- Withdraw is allowed only once a day
The basic interest of the contract is 2% every 24 hours
Users can get an extra 0.1% daily every 24h if they did not withdraw.
- The maximum hold bonus is 2%.
Each 1,000,000 TRX contract balance will give all users 0.1% daily.
- This bonus increases and decreases with contract balance changes
Each 500,000 TRX referral commission turnover will give a 2% daily bonus
Referral System (Match Bonus)
This contract pays referrals in five-level with a totally of 15%.
- Level one: 7%
- Level two: 3%
- Level three: 2%
- Level Four: 2%
- Level five: 1%
- Referral should be an active user. it means the referral address has at least one deposit
- The referrer is specified once at the time of the first deposit with an active referral code and is assigned to the user without the possibility of changing. every subsequent deposit, the referrer will get his share.
- The user cannot use his referral code for himself
ONETRON Smart-Contract Functions
- Constructor: an initial referral system
- _setSponsor: define upline
- _deposit: make a new deposit
- _refPayout: payout referral commissions
- Deposit: define upline and make a new deposit
- Withdraw: transfer dividends to a user
- maxPayoutOf: return max profit
- payoutOf: calculate dividends
- dailyBonus: return daily bonus
- getHoldBonus: calculate hold bonus
- holdBonus: return hold bonus
- getFundBonus: calculate fund bonus
- fundBonus: return fund bonus
- getLeaderBonus: calculate leader bonus
- leaderBonus: return leader bonus
- referralsCount: return referral stats