Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract CryptoBirdsToken (contracts/CryptoBirdsToken.sol#351-469) has payable functions:
- CryptoBirdsToken.receive() (contracts/CryptoBirdsToken.sol#424)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
CryptoBirdsToken.constructor(string,string).symbol (contracts/CryptoBirdsToken.sol#368) shadows:
- ERC20.symbol() (@openzeppelin/contracts/token/ERC20/ERC20.sol#69-71) (function)
- IERC20Metadata.symbol() (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#21) (function)
Rename the local variables that shadow another component.
Additional information: link
CryptoBirdsToken.setMinTokensBeforeSwap(uint256) (contracts/CryptoBirdsToken.sol#465-468) should emit an event for:
- tokenForBosses = _tokenForBosses (contracts/CryptoBirdsToken.sol#467)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in CryptoBirdsToken.constructor(string,string) (contracts/CryptoBirdsToken.sol#368-380):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/CryptoBirdsToken.sol#375-376)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/CryptoBirdsToken.sol#379)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#312)
- uniswapV2Router = _uniswapV2Router (contracts/CryptoBirdsToken.sol#378)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CryptoBirdsToken.constructor(string,string) (contracts/CryptoBirdsToken.sol#368-380):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/CryptoBirdsToken.sol#375-376)
Event emitted after the call(s):
- Approval(owner,spender,amount) (@openzeppelin/contracts/token/ERC20/ERC20.sol#313)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/CryptoBirdsToken.sol#379)
Apply the check-effects-interactions pattern.
Additional information: link
CryptoBirdsToken._transfer(address,address,uint256) (contracts/CryptoBirdsToken.sol#386-414) uses timestamp for comparisons
Dangerous comparisons:
- antiBotTime > block.timestamp && amount > antiBotAmount && sender != owner() && recipient != owner() (contracts/CryptoBirdsToken.sol#392-394)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.7']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.8.0 (@openzeppelin/contracts/security/ReentrancyGuard.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#3)
- ^0.8.7 (contracts/CryptoBirdsToken.sol#2)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 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
Parameter CryptoBirdsToken.setMinTokensBeforeSwap(uint256)._tokenForBosses (contracts/CryptoBirdsToken.sol#465) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/CryptoBirdsToken.sol#153) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/CryptoBirdsToken.sol#154)
Prevent variables from having similar names.
Additional information: link
CryptoBirdsToken.maxSupply (contracts/CryptoBirdsToken.sol#354) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setMinTokensBeforeSwap(uint256) should be declared external:
- CryptoBirdsToken.setMinTokensBeforeSwap(uint256) (contracts/CryptoBirdsToken.sol#465-468)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts