Phoenix chain (PHX) is a cutting-edge blockchain solution that represents a major step forward in the world of digital transactions. Designed to provide individuals and businesses with a secure and decentralized platform, Phoenix empowers its users to take control of their data and transactions.
At the heart of Phoenix's technology lies an advanced cryptographic system and distributed ledger system that ensures every transaction is transparent, immutable, and tamper-proof. By eliminating the need for intermediaries, Phoenix chain will offer a faster, more efficient, and cost-effective way to conduct business that benefits everyone involved.
In short, Phoenix represents a revolution in the way we think about digital transactions and offers a secure, reliable, and future-proof platform that has the potential to change the way we do business for years to come.
Phoenixchain.rescueBSC20(address,uint256) (#749-755) ignores return value by IBEP20(tokenAdd).transfer(owner(),amount) (#754)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in Phoenixchain._transfer(address,address,uint256) (#570-624):
External calls:
- Liquify(feeswap,currentTaxes) (#613)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- address(marketingWallet).sendValue(marketingAmt) (#662)
External calls sending eth:
- Liquify(feeswap,currentTaxes) (#613)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- super._transfer(sender,recipient,amount - fee) (#616)
- _balances[sender] = senderBalance - amount (#313)
- _balances[recipient] += amount (#314)
- super._transfer(sender,address(this),feeAmount) (#621)
- _balances[sender] = senderBalance - amount (#313)
- _balances[recipient] += amount (#314)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Phoenixchain._transfer(address,address,uint256).fee (#583) is written in both
fee = 0 (#592)
fee = (amount * feesum) / 100 (#608)
Fix or remove the writes.
Additional information: link
Phoenixchain.slitherConstructorConstantVariables() (#450-760) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#467)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
symbol() should be declared external:
- BEP20.symbol() (#113-115)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#215-230)
- Phoenixchain.transferFrom(address,address,uint256) (#516-531)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#395-397)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#271-284)
- Phoenixchain.decreaseAllowance(address,uint256) (#546-559)
name() should be declared external:
- BEP20.name() (#105-107)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#399-405)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#175-183)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#192-200)
- Phoenixchain.approve(address,uint256) (#507-514)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#244-255)
- Phoenixchain.increaseAllowance(address,uint256) (#533-544)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#162-170)
- Phoenixchain.transfer(address,uint256) (#561-568)
totalSupply() should be declared external:
- BEP20.totalSupply() (#137-139)
Use the external attribute for functions never called from the contract.
Additional information: link
Phoenixchain.Liquify(uint256,Phoenixchain.Taxes) (#626-665) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#651-652)
-marketingAmt = unitBalance * 2 * swapTaxes.marketing (#660)
Phoenixchain.Liquify(uint256,Phoenixchain.Taxes) (#626-665) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - swapTaxes.liquidity) (#651-652)
-ethToAddLiquidityWith = unitBalance * swapTaxes.liquidity (#653)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Phoenixchain._transfer(address,address,uint256) (#570-624):
External calls:
- Liquify(feeswap,currentTaxes) (#613)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- address(marketingWallet).sendValue(marketingAmt) (#662)
External calls sending eth:
- Liquify(feeswap,currentTaxes) (#613)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#316)
- super._transfer(sender,address(this),feeAmount) (#621)
- Transfer(sender,recipient,amount) (#316)
- super._transfer(sender,recipient,amount - fee) (#616)
Reentrancy in Phoenixchain.transferFrom(address,address,uint256) (#516-531):
External calls:
- _transfer(sender,recipient,amount) (#521)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- address(marketingWallet).sendValue(marketingAmt) (#662)
External calls sending eth:
- _transfer(sender,recipient,amount) (#521)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#355)
- _approve(sender,_msgSender(),currentAllowance - amount) (#528)
Reentrancy in Phoenixchain.Liquify(uint256,Phoenixchain.Taxes) (#626-665):
External calls:
- swapTokensForETH(toSwap) (#648)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#355)
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#24-27) is never used and should be removed
Remove unused functions.
Additional information: link
Phoenixchain._transfer(address,address,uint256).feeswap (#581) is a local variable never initialized
Phoenixchain._transfer(address,address,uint256).feesum (#582) is a local variable never initialized
Phoenixchain._transfer(address,address,uint256).currentTaxes (#584) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Phoenixchain.addLiquidity(uint256,uint256) (#685-698) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
Ensure that all the return values of the function calls are used.
Additional information: link
Phoenixchain.updatedeadline(uint256) (#721-725) should emit an event for:
- deadline = _deadline (#724)
Phoenixchain.updateLiquidityTreshhold(uint256) (#705-712) should emit an event for:
- tokenLiquidityThreshold = new_amount * 10 ** decimals() (#711)
Emit an event for critical parameter changes.
Additional information: link
Modifier Phoenixchain.lockTheSwap() (#479-485) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
Reentrancy in Phoenixchain.Liquify(uint256,Phoenixchain.Taxes) (#626-665):
External calls:
- swapTokensForETH(toSwap) (#648)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,ethToAddLiquidityWith) (#657)
- _allowances[owner][spender] = amount (#354)
Reentrancy in Phoenixchain.transferFrom(address,address,uint256) (#516-531):
External calls:
- _transfer(sender,recipient,amount) (#521)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#676-682)
- address(marketingWallet).sendValue(marketingAmt) (#662)
External calls sending eth:
- _transfer(sender,recipient,amount) (#521)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#690-697)
- (success) = recipient.call{value: amount}() (#366)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#528)
- _allowances[owner][spender] = amount (#354)
Apply the check-effects-interactions pattern.
Additional information: link
Pragma version^0.8.17 (#17) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.19 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#360-371):
- (success) = recipient.call{value: amount}() (#366)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter Phoenixchain.updatedeadline(uint256)._deadline (#721) is not in mixedCase
Function Phoenixchain.EnableTrading() (#714-719) is not in mixedCase
Constant Phoenixchain.deadWallet (#467) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter Phoenixchain.updateLiquidityTreshhold(uint256).new_amount (#705) is not in mixedCase
Function IRouter.WETH() (#423) is not in mixedCase
Parameter Phoenixchain.updateExemptFee(address,bool)._address (#732) is not in mixedCase
Variable BEP20._balances (#79) is not in mixedCase
Variable Phoenixchain.genesis_block (#462) is not in mixedCase
Variable BEP20._allowances (#81) is not in mixedCase
Function Phoenixchain.Liquify(uint256,Phoenixchain.Taxes) (#626-665) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#19-28)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Phoenixchain.launchtax (#464) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account