✅
Security Audits
Security Audits is conducted by an independent team to prove that TrueFund is a fair and reliable project without any hidden backdoors or suspicious logic in its code
The code is verified and thoroughly tested in multiple different ways to ensure that the contract works as intended and its financial model behaves exactly as promised
TRUEFUND_V2 Smart-Contract is safe for use in the Binance Smart Chain main network.
The TRUEFUND_V2 Smart-Contract found no vulnerabilities, backdoors, or scam scripts.
Part #1
Contract Name: TRUEFUND_V2
Compiler Version: v0.8.19+commit.7dd6d404
Optimization Enabled: Yes, with 200 runs
License: NO license
Part #2
Contract Name: TRUEFUND_INSURANCE
Compiler Version: v0.8.19+commit.7dd6d404
Optimization Enabled: Yes, with 200 runs
License: NO license
Contract Overview Checklist
The code was tested with compatible compilers and simulated manually reviewed for all commonly known and specific vulnerabilities.
Vulnerability Check | Status |
---|---|
Visibility of functions and variables | Passed |
Compiler error | Passed |
ROI Investment Plan | Warning |
Transfer Block | Passed |
Floating pragma | Passed |
Timestamp dependence | Passed |
Deprecated solidity functions | Passed |
Gas limit and loops | Passed |
Front running | Passed |
User balance manipulation | Passed |
Dos with revert | Passed |
Dos with block gas limit | Passed |
Reentrancy security | Not used |
ERC20 approves () Race | Passed |
Malicious libraries | Passed |
Integer overflow/underflow | Passed |
Using inline assembly | Passed |
Missing zero address validation | Passed |
Use of tx.origin | Passed |
Oracle security | Passed |
Outdated compiler version | Passed |
Block values as a proxy for time | Passed |
Presence of unused code | Passed |
Data consistency | Passed |
Money giving bug | Passed |
Self-destruct interaction | Passed |
Signature unique id | Passed |
Weak sources of randomness | Passed |
Optimize code and efficient gas fee | Warning |
The TRUEFUND_V2 smart contract provides the opportunity to invest any amount in USDT (from 1 USDT) in the contract and get 2.5% profit per day on investment without a finish date if the contract balance has enough funds for payment. The user's profit is stored in the contract for a maximum of 3 days. Users can buy lottery tickets by paying 2.5 USDT per ticket and participate in the lottery and win a prize
Users deposit USDT into the smart contract and accumulate daily interest of 2.5%, which can be increased by utilizing the referral system or playing the lottery.
Unit testing was conducted to verify the proper execution of the smart contract and its functions. The tests simulated usage scenarios and interactions with the contract by comparing the expected theoretical output to the actual returns from executing the code, and was done successfully.
Token: USDT (0x55d398326f99059fF775485246999027B3197955)
Daily interest rate: 2.5%
Interest accumulation cutoff: 72 hours
Insurance: The insurance is automatically triggered when a deposit is made if the TVL is zero, or if the TVL compared to the balance has reached a certain threshold (1000 times withdrawn rewards divided by TVL is greater than 250, or the average weekly balance is lower than 750). Deposits and completed lotteries will contribute funds to the insurance contract. The owner may also trigger the transfer from the insurance contract to the main contract
Fees: 10% on deposits to the owner
Referral system: The system allows for up to 3 referrals upline, with referral fees set at 3% for the first referral, 2% for the second referral, and 1% for the final referral. Referrals are set if the provided referrer address has already made a deposit, and cannot be changed after being set. Referral fees are paid out based on new deposits made
Lottery rules:
- ticket price: 2.5 usdt,
- prize percentage: 80% of the lottery bank,
- max participants: 100.
The rules of the lottery can be changed by the owner for the next lottery drawing, and randomly picking the winner is a privilege reserved for the owner.
Additionally, bonuses will be paid out weekly to the top 3 referrers based on the referral fees they earned that week. The referrer who earned the most fees will receive a 50% bonus, the second place referrer will receive 25%, and the third place referrer will get 10%. This bonus payout function can be triggered without needing special permissions.
Interaction | Result |
---|---|
[CPUT-1] deployment | OK |
[CPUT-2] basic interactions (deposits / compound / reinvest) | OK |
[CPUT-3] min deposits | OK |
[CPUT-4] referral system | OK |
[CPUT-5] fees on deposits | OK |
[CPUT-6] interest rate | OK |
[CPUT-7] interest accumulation cutoff | OK |
[CPUT-8] top referrers of the week | OK |
Owner Privileges
- Has to be the first depositor
- Can transfer funds from the insurance to the main contract
- Can change deposit fees from 0% to 10%
- Can change insurance fees from 0% to 10%
- Defines lottery parameters, maximum number of participants (starting from 10), minimum ticket price of 1 usdt, and winner earns between 50% to 100% of the lottery bank
Last modified 11d ago