BudaCoin aims to bring a sustainable solution to the mental health crisis.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Buda.transferContractBalance(uint256) (#936-939) sends eth to arbitrary user
Dangerous calls:
- address(creator()).transfer(amount) (#938)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Buda._transfer(address,address,uint256) (#644-677):
External calls:
- swapAndLiquify(contractTokenBalance) (#665)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#740-746)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#665)
- recipient.transfer(amount) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#870)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#795)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#806)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#816)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#787)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#797)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#807)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#818)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rTotal = _rTotal.sub(rFee) (#825)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#872)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#815)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#805)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#796)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#817)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Buda.swapAndLiquify(uint256) (#680-728) performs a multiplication on the result of a division:
-devAndPartnerQuota = marketingQuota.div(10) (#687)
-devAndPartnerQuota = devAndPartnerQuota.mul(4) (#688)
Consider ordering multiplication before division.
Additional information: link
Buda.addLiquidity(uint256,uint256) (#749-762) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
Ensure that all the return values of the function calls are used.
Additional information: link
Buda._approve(address,address,uint256).owner (#636) shadows:
- Ownable.owner() (#178-180) (function)
Rename the local variables that shadow another component.
Additional information: link
Buda.setNumTokensSellToAddToLiquidity(uint256) (#926-928) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#927)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Buda.transferFrom(address,address,uint256) (#558-562):
External calls:
- _transfer(sender,recipient,amount) (#559)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#740-746)
External calls sending eth:
- _transfer(sender,recipient,amount) (#559)
- recipient.transfer(amount) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#560)
- _allowances[owner][spender] = amount (#640)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Buda.transferFrom(address,address,uint256) (#558-562):
External calls:
- _transfer(sender,recipient,amount) (#559)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#740-746)
External calls sending eth:
- _transfer(sender,recipient,amount) (#559)
- recipient.transfer(amount) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#641)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#560)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#234-239) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#236)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#141-158) uses assembly
- INLINE ASM (#150-153)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#96-99) is never used and should be removed
Remove unused functions.
Additional information: link
Buda._previousLiquidityFee (#480) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#141-158):
- (success,returndata) = target.call{value: weiValue}(data) (#144)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Buda._maxTxAmount (#482) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#28)" inContext (#22-31)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Buda.transferFrom(address,address,uint256) (#558-562):
External calls:
- _transfer(sender,recipient,amount) (#559)
- recipient.transfer(amount) (#942)
External calls sending eth:
- _transfer(sender,recipient,amount) (#559)
- recipient.transfer(amount) (#942)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#754-761)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#560)
- _allowances[owner][spender] = amount (#640)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#641)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#560)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Buda._transferToExcluded(address,address,uint256).rTransferAmount (#794) is too similar to Buda._getValues(uint256).tTransferAmount (#830)
Prevent variables from having similar names.
Additional information: link
Buda.slitherConstructorVariables() (#449-948) uses literals with too many digits:
- minimumTokensBeforeSwap = 600000 * 10 ** 6 * 10 ** 9 (#483)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousCreator (#165) is never used in Buda (#449-948)
Remove unused state variables.
Additional information: link
Ownable._previousCreator (#165) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferContractBalance(uint256) should be declared external:
- Buda.transferContractBalance(uint256) (#936-939)
Use the external attribute for functions never called from the contract.
Additional information: link
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 crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find code repository for the project
Token has a considerable age, but we're still unable to find its website
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account