The technology should create a better world.
After Bitcoin, the first big blockchain created in 2009, Ethereum was launched in 2015, as a software platform that runs on a blockchain network.
Today, blockchain technology can create a better world through projects like Belka token.
Blockchain technology has the potential to change nearly every facet of our lives. Dr. Richard Smith, executive director of the Foundation for the Study of Cycles, a nonprofit organisation dedicated to studying recurring patterns throughout economies and cultures, calls it a “revolution.”
Now, we want to start a revolution with Belka, the biggest animal welfare project based on blockchain.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Belka.swapTokensForEth(uint256) (#447-474) sends eth to arbitrary user
Dangerous calls:
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Belka._transfer(address,address,uint256) (#395-445):
External calls:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#457-463)
External calls sending eth:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#521)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#522)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidityFee) (#504)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _rTotal = _rTotal.sub(rFee) (#511)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _sellFee = _previousSellFee (#368)
- _sellFee = 0 (#363)
- restoreAllFee() (#444)
- _sellFee = _previousSellFee (#368)
Apply the check-effects-interactions pattern.
Additional information: link
Belka.withdrawResidualErc20(IERC20,address) (#560-567) ignores return value by token.transfer(to,erc20balance) (#566)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
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.
Belka._transferStandard(address,address,uint256) (#487-508) performs a multiplication on the result of a division:
-tFee = tAmount.mul(_buyFee).mul(3).div(1000) (#493)
-rFee = tFee.mul(currentRate) (#499)
Belka._transferStandard(address,address,uint256) (#487-508) performs a multiplication on the result of a division:
-tLiquidityFee = tAmount.mul(_buyFee).mul(7).div(1000) (#494)
-rLiquidityFee = tLiquidityFee.mul(currentRate) (#500)
Consider ordering multiplication before division.
Additional information: link
Belka.allowance(address,address).owner (#283) shadows:
- Ownable.owner() (#128-130) (function)
Belka._approve(address,address,uint256).owner (#385) shadows:
- Ownable.owner() (#128-130) (function)
Rename the local variables that shadow another component.
Additional information: link
Belka.setBuyFee(uint256) (#546-549) should emit an event for:
- _buyFee = buyFee (#547)
- _previousBuyFee = buyFee (#548)
Belka.setSellFee(uint256) (#551-554) should emit an event for:
- _sellFee = sellFee (#552)
- _previousSellFee = sellFee (#553)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (#123) lacks a zero-check on :
- _owner = msgSender (#124)
Belka.constructor(address,address,address,address,address).project (#228) lacks a zero-check on :
- _projectWallet = project (#234)
Belka.constructor(address,address,address,address,address).buyback (#229) lacks a zero-check on :
- _buybackWallet = buyback (#235)
Belka.constructor(address,address,address,address,address).marketing (#230) lacks a zero-check on :
- _marketingWallet = marketing (#236)
Belka.constructor(address,address,address,address,address).operations (#231) lacks a zero-check on :
- _operationsWallet = operations (#237)
Belka.constructor(address,address,address,address,address).router (#232) lacks a zero-check on :
- _routerAddress = router (#239)
Belka.setProjectWallet(address)._address (#329) lacks a zero-check on :
- _projectWallet = _address (#330)
Belka.setBuybackWallet(address)._address (#333) lacks a zero-check on :
- _buybackWallet = _address (#334)
Belka.setMarketingWallet(address)._address (#337) lacks a zero-check on :
- _marketingWallet = _address (#338)
Belka.setOperationsWallet(address)._address (#341) lacks a zero-check on :
- _operationsWallet = _address (#342)
Belka.withdrawResidualBnb(address).newAddress (#556) lacks a zero-check on :
- address(newAddress).transfer(address(this).balance) (#557)
Check that the address is not zero.
Additional information: link
Reentrancy in Belka._transfer(address,address,uint256) (#395-445):
External calls:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#457-463)
External calls sending eth:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _buyFee = _previousBuyFee (#367)
- _buyFee = 0 (#362)
- restoreAllFee() (#444)
- _buyFee = _previousBuyFee (#367)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _previousBuyFee = _buyFee (#360)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _previousSellFee = _sellFee (#361)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _tFeeTotal = _tFeeTotal.add(tFee) (#512)
Reentrancy in Belka.transferFrom(address,address,uint256) (#301-316):
External calls:
- _transfer(sender,recipient,amount) (#306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#457-463)
External calls sending eth:
- _transfer(sender,recipient,amount) (#306)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#307-314)
- _allowances[owner][spender] = amount (#391)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Belka._transfer(address,address,uint256) (#395-445):
External calls:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#457-463)
External calls sending eth:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
Event emitted after the call(s):
- DistributedFee(sender,Fee split between all holders!,tFee) (#506)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- Transfer(sender,recipient,tTransferAmount) (#507)
- _tokenTransfer(from,to,amount,takeFee) (#443)
Reentrancy in Belka.constructor(address,address,address,address,address) (#227-252):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#249-250)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#251)
Reentrancy in Belka.transferFrom(address,address,uint256) (#301-316):
External calls:
- _transfer(sender,recipient,amount) (#306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#457-463)
External calls sending eth:
- _transfer(sender,recipient,amount) (#306)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#392)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#307-314)
Apply the check-effects-interactions pattern.
Additional information: link
Belka._previousBuyFee (#204) is set pre-construction with a non-constant function or state variable:
- _buyFee
Belka._previousSellFee (#207) is set pre-construction with a non-constant function or state variable:
- _sellFee
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
Pragma version^0.8.7 (#30) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6
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
Function IUniswapV2Router02.WETH() (#169) is not in mixedCase
Parameter Belka.setIsExcludedFromFee(address,bool)._address (#318) is not in mixedCase
Parameter Belka.setIsExcludedFromFee(address,bool)._isExcluded (#318) is not in mixedCase
Parameter Belka.setProjectWallet(address)._address (#329) is not in mixedCase
Parameter Belka.setBuybackWallet(address)._address (#333) is not in mixedCase
Parameter Belka.setMarketingWallet(address)._address (#337) is not in mixedCase
Parameter Belka.setOperationsWallet(address)._address (#341) is not in mixedCase
Constant Belka._name (#190) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Belka._symbol (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Belka._decimals (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Belka._isExcludedFromFee (#196) is not in mixedCase
Constant Belka.numTokensSellToAddToLiquidity (#198) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Belka._tTotal (#199) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Belka._buyFee (#203) is not in mixedCase
Variable Belka._sellFee (#206) is not in mixedCase
Variable Belka._projectWallet (#209) is not in mixedCase
Variable Belka._buybackWallet (#210) is not in mixedCase
Variable Belka._marketingWallet (#211) is not in mixedCase
Variable Belka._operationsWallet (#212) is not in mixedCase
Variable Belka._routerAddress (#214) is not in mixedCase
Variable Belka._maxTxAmount (#219) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Belka._transfer(address,address,uint256) (#395-445):
External calls:
- swapTokensForEth(numTokensSellToAddToLiquidity) (#434)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _buyFee = _previousBuyFee (#367)
- _buyFee = 0 (#362)
- restoreAllFee() (#444)
- _buyFee = _previousBuyFee (#367)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _previousBuyFee = _buyFee (#360)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _previousSellFee = _sellFee (#361)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#521)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#522)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidityFee) (#504)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _rTotal = _rTotal.sub(rFee) (#511)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _sellFee = _previousSellFee (#368)
- _sellFee = 0 (#363)
- restoreAllFee() (#444)
- _sellFee = _previousSellFee (#368)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- _tFeeTotal = _tFeeTotal.add(tFee) (#512)
Event emitted after the call(s):
- DistributedFee(sender,Fee split between all holders!,tFee) (#506)
- _tokenTransfer(from,to,amount,takeFee) (#443)
- Transfer(sender,recipient,tTransferAmount) (#507)
- _tokenTransfer(from,to,amount,takeFee) (#443)
Reentrancy in Belka.transferFrom(address,address,uint256) (#301-316):
External calls:
- _transfer(sender,recipient,amount) (#306)
- _projectWallet.transfer(project) (#470)
- _buybackWallet.transfer(buyback) (#471)
- _marketingWallet.transfer(marketing) (#472)
- _operationsWallet.transfer(operations) (#473)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#307-314)
- _allowances[owner][spender] = amount (#391)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#392)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#307-314)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Belka._calculateReflectTransfer(address,address,uint256,uint256).rTransferAmount (#519) is too similar to Belka._transferStandard(address,address,uint256).tTransferAmount (#495)
Variable Belka._transferStandard(address,address,uint256).rLiquidityFee (#500) is too similar to Belka._transferStandard(address,address,uint256).tLiquidityFee (#494)
Variable Belka._transferStandard(address,address,uint256).rTransferAmount (#501) is too similar to Belka._transferStandard(address,address,uint256).tTransferAmount (#495)
Prevent variables from having similar names.
Additional information: link
Belka.slitherConstructorConstantVariables() (#188-569) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 9 (#199)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#116) is never used in Belka (#188-569)
Belka._tOwned (#194) is never used in Belka (#188-569)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#116) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#137-140)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#142-149)
name() should be declared external:
- Belka.name() (#254-256)
symbol() should be declared external:
- Belka.symbol() (#258-260)
decimals() should be declared external:
- Belka.decimals() (#262-264)
totalSupply() should be declared external:
- Belka.totalSupply() (#266-268)
transfer(address,uint256) should be declared external:
- Belka.transfer(address,uint256) (#274-281)
allowance(address,address) should be declared external:
- Belka.allowance(address,address) (#283-290)
approve(address,uint256) should be declared external:
- Belka.approve(address,uint256) (#292-299)
transferFrom(address,address,uint256) should be declared external:
- Belka.transferFrom(address,address,uint256) (#301-316)
isExcludedFromFee(address) should be declared external:
- Belka.isExcludedFromFee(address) (#325-327)
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/project description on the website or on BscScan, CoinMarketCap
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 token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account