Interstellar

Screenshot 2020-12-02 185827
0 0 votes
Article Rating

Conclusion:

In the TronTravels Interstellar Smart-Contract were found no vulnerabilities, no backdoors and no scam scripts. The code was manually reviewed for all commonly known and more specific vulnerabilities.

So TronTravels Interstellar Smart-Contract is safe for use in the main network.

 

OFFICIAL AUDIT: DOWNLOAD

Disclaimer:

This audit is only to the Smart-Contract code at the specified address.

TronTravels Interstellar:

https://tronscan.org/#/contract/TYwEmam8XhRcxPyF8AKuTVJH6iRFWtv7Cw/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 that can trigger a contract failure, with further recovery only possible through manual modification of the contract state or contract replacement altogether; Lack of necessary security precautions; other warnings for owners and users.

 

OPTIMIZATION POSSIBILITIES (very low severity): 1

Possibilities to decrease the cost of transactions and data storage of Smart-Contracts.

 

 

 

 

Optimization possibilities

• Recording statistical parameters in the blockchain

uint private totalInvested;
uint private totalReinvest;
uint private totalWithdrawn;
uint private totalUsers;
……

Solution:

Use data function to calculate parameters instead of writing it in the blockchain.

Note: this comment doesn’t affect the main functionality of the smart-contract.

 

Pre Contract Interface

TronTravels Interstellar to pay compensation of pre contract (TronTravels) create an interface function of it to calculate the lost value of users.
// UserInfo Interface – Old TronTravels
contract TronTravels{
function userInfo(address _addr) view external returns(uint256 for_withdraw, uint256 total_invested, uint256 total_withdrawn, uint256 total_match_bonus, uint256[3] memory structure);
}

userInfo function get user data from old contract, this function type is view and there is no vulnerability.

 

 

 

 

 

Independent description of the smart-contract functionality

The TronTravels Interstellar contract provides the opportunity to invest any amount in TRX (from 150 TRX) in the contract and get a 200% 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.

Contract owners fee: 10%

Each subsequent Deposit is kept separately in the contract, in order to maintain the payment amount for each Deposit.

 

BASIC ROI : 1% Daily

All Investors will start with the basic ROI.

 

Reinvest Bonus:

There is a rule if users reinvest his available dividends can get an extra 0.3% daily ROI bonus.
Maximum Reinvest bonus is 3% and it means you can reinvest 10 times and reach an extra 3% ROI bonus.

Based on the contract users could reinvest when available dividends are greater than 10% of the total invested amount.

Note: Reinvest Bones is fixed and when you get It nothing can decrease it.

 

Hold Bonus:

Users can get an extra 0.05% daily ROI every 24 h if you did not withdraw.
Maximum hold bonus is 0.5% ROI.

Note: If you make a withdraw your hold bonus will reset.

 

Contract Bonus:

Each 1,000,000 TRX contract balance will give all users 0.025% daily ROI.

Maximum contract bonus is 0.5% daily ROI.

Note: contract bonus is fixed and will not decrease even contract balance goes down.

Leader Bonus:

TronTravels Interstellar contract gives active users extra bonus in 7 levels from 0.1% to 1.5% extra daily ROI and 200 TRX to 130,000 TRX direct prize.

Based on the contract code each user has Turnover which calculated by their subsequent users and calculated in below formula.

Turnover = (level 1 users deposit amount * 1)+ (level 2 users deposit amount * 0.5)+ (level 3 users deposit amount * 0.25)

Leader table information in the main website is completely the same as rules in the contract and users get leader title and bonus and prizes based on it.

Referral System:

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

The 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.

 

Compensation Plan:

This contract prepared an automatic system to pay compensation to their old contract version users which have rules:

Users can get 10% of their first deposit which can be the max value of the lost TRX in the old contract.

Note: user can use compensation system just once. This system calculates based on the first deposit of users.

TronTravels Interstellar Smart-Contract Functions

• _init : define leaders tables parameters
• setReferrer: config upline user and pay referral bonuses directly and update leader system
• invest: create new deposit
• reinvest: create new deposit and increase reinvest bonus
• withdraw: transfer available dividends to user and reset hold bones
• getTotalDividends: get profit of all deposits
• getDepositDividends: get deposit profit based on its id
• getUserBonus: return total bonus of a user
• getHoldBonus: return hold bonus of a user based on last withdraw
• updateContractBonus: update contract bonus which used in deposit and withdeaw functions
• updateLeaderBonus: update leader turnover and transfer user prize directly and increase leader bones
• getContractBalance: return current contract balance
• getUserDeposits: return all deposit getUserInfoPoints of a user
• getUserInfo, getUserInfoBonus, getUserInfoPoint : this three function return all user struct variables
• getContractInfo: return total stats of contract like total invests and reinvests….
• withdrawCompensation: transfer compensation amount to user
• getCompensationStats: return compensation data like first deposit and old invest and withdraw and calculate lost amount.

 

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