BuffedShiba is a community driven token inspired by the commonly known Buff Doge meme.
The $BSHIB token has the following characteristics:
- Deflationary: 1% of each transaction will get sent to a burn address.
- Anti-Whale: The maximum balance each wallet can hold is 0.5% of the total supply.
- Auto-Liquidity: A certain percentage of each transaction will be added to liquidity.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BuffedShiba._transfer(address,address,uint256) (#620-670):
External calls:
- collectFees() (#650)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#705)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#716-722)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- collectFees() (#650)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#664)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#761)
- _balances[recipient] = _balances[recipient].add(amount) (#762)
- transferToken(from,deadAddress,toBurnAmount) (#665)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#761)
- _balances[recipient] = _balances[recipient].add(amount) (#762)
- transferToken(from,to,amount) (#669)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#761)
- _balances[recipient] = _balances[recipient].add(amount) (#762)
Apply the check-effects-interactions pattern.
Additional information: link
BuffedShiba.swapAndSendToFee(uint256) (#700-706) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#705)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
BuffedShiba.addLiquidity(uint256,uint256) (#743-755) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
Ensure that all the return values of the function calls are used.
Additional information: link
BuffedShiba._approve(address,address,uint256).owner (#516) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
BuffedShiba.setMaxBalance(uint256) (#561-565) should emit an event for:
- _maxBalance = newMaxBalance (#564)
Emit an event for critical parameter changes.
Additional information: link
BuffedShiba.setMarketingWalletToken(address)._marketingWalletToken (#557) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#558)
Check that the address is not zero.
Additional information: link
Reentrancy in BuffedShiba.transferFrom(address,address,uint256) (#500-504):
External calls:
- _transfer(sender,recipient,amount) (#501)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#705)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#716-722)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#501)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#502)
- _allowances[owner][spender] = amount (#520)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BuffedShiba.transferFrom(address,address,uint256) (#500-504):
External calls:
- _transfer(sender,recipient,amount) (#501)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#705)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#716-722)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#501)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#747-754)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#521)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#502)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#79-82) is never used and should be removed
Remove unused functions.
Additional information: link
BuffedShiba._totalSupply (#405) is set pre-construction with a non-constant function or state variable:
- 100000 * 10 ** 9 * 10 ** _decimals
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
solc-0.8.4 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._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant BuffedShiba._maxFees (#416) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#257) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#258)
Prevent variables from having similar names.
Additional information: link
BuffedShiba.slitherConstructorConstantVariables() (#393-766) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#409)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._lockTime (#147) is never used in BuffedShiba (#393-766)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#146) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
maxBalance() should be declared external:
- BuffedShiba.maxBalance() (#615-617)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find code repository for the project
Young tokens have high risks of 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 price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Discord account