TronWix

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

Conclusion:

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

OFFICIAL AUDIT: DOWNLOAD

 

Disclaimer:

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

TRONWIX: https://tronscan.io/#/contract/TUSZoCB1vCGWPWyVxvsuw4dj4Qex4RbdhB/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): 0

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

 

RECOMMENDATIONS (very low severity): 1

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 TRONWIX smart-contract provides the opportunity to invest at least 50 TRX in the contract and get a 122%-222% 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 at any time.
  • User can withdraw dividends anytime but his capital investment will be withdrawn when plan finished
  • Each subsequent Deposit is kept separately in the contract, in order to maintain the payment amount for each Deposit.

 

Contract Owners Fee

  • Admin fee: 7%
  • Marketing fee: 2%
  • Developer fee: 3%

 

THREE INVESTMENT PLANS

Plan min max Condition daily Days
1 50 10,000 Only one active deposit 1.5% 15
2 10,000 100,000 Only one active deposit 2.5% 25
3 100,000 No limits No limits 3.5% 35

 

  • Min Deposit: 50 TRX

 

 

 

 

 

Referral System (Direct Bonus)

This contract paid 8% referrals in three-level.

  • Level 1: 5%
  • Level 2: 2%
  • Level 3: 1%

Referral System Turnover

Turnover 20k 60k 300k 600k 1.2m 6m 12m 18m 25m
Referral Level 1 6% 7% 8% 10% 12% 14% 16% 18% 20%

 

Turnover: calculated based on total user referrals deposit amount

Notes:

  • Referral should be an active user; it means the referral address has at least one deposit.
  • A referrer is specified once at the time of the first deposit and is assigned to the user without the possibility of changing. From each subsequent Deposit, the referrer will get his percent.

Withdraw System

Based on the withdraw function user can withdraw their dividends during the plan but can not withdraw their capital investment until the plan finished

 

    function() external payable {

        if (msg.value == 0) {

            withdraw();

        } else {

            invest(0, 6666); //default to buy plan 0

        }

    }

 

If a user sends 0 amount to contract directly withdraw function will be called and if send any amount default invest will be called

 

 

TRONWIX Smart-Contract Functions

  • Constructor: initial admin, developer and marketing account and call _init fucntion
  • Function payable: call withdraw and invest based on sent amount
  • getMarketingAccount: return marketing address
  • getDeveloperAccount: return developer address
  • _inti: define plans and referral bonuses
  • getCurrentPlans: return active plans
  • getTotalInvestments: return total investments
  • getBalance: return contract balance
  • getUIDByAddress: return user id
  • isAvailablePlan_1: check plan 1 availability
  • isAvailablePlan_2: check plan 2 availability
  • getInvestorInfoByUID: return user stats
  • getInvestmentPlanByUID: return a user plans
  • _addInvestor: init new user
  • _invest: make a new deposit
  • Invest: call _invest
  • Withdraw: transfer dividends to user wallet
  • _calculateDividends: calculate dividends
  • _calculateReferrerReward: calculate referral bonuses

 

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