Conclusion:In the NYG 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 NYG Smart-Contract is safe for use in the Tron main network.
OFFICIAL AUDIT: DOWNLOAD
This audit is only for the NYG smart contract codes base on the below-specified address only.
NYG : https://tronscan.io/#/contract/TA2srgwYYSnAuJXoMUe5uNbt9aA2vz93FT/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.
1- Check Contract Balance on Withdraw
It is better to check contract balance before withdrawing an amount. in case if a user withdrawable amount, be greater than contract balance, the withdraw will failed.
Note: this issue doesn’t affect the main functionality and security of the smart-contract.
Independent description of the smart-contract functionality
The NYG smart-contract provides the opportunity to buy NYG token at least 100 TRX in the contract and get profit by stake your NYG tokens if the contract balance has enough funds for payment.
- Dividends are paid from 5% of the total sold token
- All profits are calculated at the moment of request and available for the claim at any time.
- All investment keeps in one deposit.
Launch Date: 01/11/2021 @ 8:00am (UTC)
Contract Owners Fee
- Basic investment is by stake NYG token and earn a profit.
- User can buy or sell NYG token in this contract.
- Token price increase daily.
- User can stake or unstake any time without limitation
- There is no commission or fee on unstake
- Users can claim their profit any time
The minimum amount of token which user can buy is 100 TRX
NYG token name is NewYearGifts, there is an overview of this token:
- Token ID: 1003594
- Total Supply: 100,000,000 NYG
- Circulating Supply: 99,999,980 NYG
- Holders: 400,005 Address
- Transfers: 514,880 Txns
- TA2srgwYYSnAuJXoMUe5uNbt9aA2vz93FT (NYG Contract) with 90% of total supply : 90,000,000 NYG Token
- TCLjYuaox4UEp6BvFBqcW3ZAjkEvS4Y4t9 : 5,625,010 NYG Token, according to this address transactions, it is used to airdrop 10 tokens to active addresses in Tron blockchain
- all these stats are related to 01/08/2021 8 am
- airdrop is active but this audit does not guarantee all this 5m Token will airdrop and it is not related to HazeCrypto team
Buy and Sell Token Price
- Token price will start from 0.01 TRX
- Buy price will increase 0.01 TRX daily
- Sell price always is 80% of the buy price
Referral System (Direct Bonus)
This contract paid 10% referrals in 4 levels.
- Level 1: 4%
- Level 2: 3%
- Level 3: 2%
- Level 4: 1%
- Referral Bonus will transfer directly to the referrer wallet address
- Referral should be an active user; it means the referral address has at least one buy token.
- 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.
According to the geProfitFromStaked:
- Stake profit will start after the launch date
- It will be paid from 5% of total investments
- Depends on the user’s stake share of the total stake
- Depends on user’s stake duration of total time passed from the launch date
- All calculation is floated and related to different parameters
NYG Smart-Contract Functions
- Constructor: initial ref bonuses
- modifier playtime: check launch date time and access to other functions
- register: register a new user and set referrals
- rewardReferers: calculate referrals and transfer directly
- getBuyTokenPrice: calculate and return buy toke price
- getSellTokenPrice: calculate and return sell toke price
- getProfitFromStaked: calculate and return stake profit
- saveProfitFromStaked: save users stake profit
- stake: stake NYG token
- unstake: release all staked tokens
- claim: withdraw staked profit
- buy: buy NYG token
- sell: sell NYG token