ToySHIBA Token Logo

ToySHIBA Token

About ToySHIBA

Listings

Token 11 months
CoinMarketCap 10 months
white paper

ToySHIB is a charity driven token which strives to help children whom are less fortunate.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

ToySHIBA._takeCharity(uint256) (#1155-1167) sends eth to arbitrary user
Dangerous calls:
- _charityWallet.transfer(address(this).balance) (#1161)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ToySHIBA._transferToExcluded(address,address,uint256) (#1355-1365):
External calls:
- _takeMarketing(tMarketing) (#1361)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1297-1303)
- _takeCharity(tCharity) (#1362)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1297-1303)
External calls sending eth:
- _takeMarketing(tMarketing) (#1361)
- _marketingWallet.transfer(address(this).balance) (#1148)
- _takeCharity(tCharity) (#1362)
- _charityWallet.transfer(address(this).balance) (#1161)
State variables written after the call(s):
- _takeCharity(tCharity) (#1362)
- _rOwned[_charityWallet] = _rOwned[_charityWallet].add(rCharity) (#1163)
- _reflectFee(rFee,tFee) (#1363)
- _rTotal = _rTotal.sub(rFee) (#1068)
- _takeCharity(tCharity) (#1362)
- _tOwned[_charityWallet] = _tOwned[_charityWallet].add(tCharity) (#1165)
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.

ToySHIBA.swapAndLiquify(uint256) (#1265-1286) is never used and should be removed
Remove unused functions.

Additional information: link

ToySHIBA._previousLiquidityFee (#817) 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

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

ToySHIBA.addLiquidity(uint256,uint256) (#1306-1319) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1311-1318)
Ensure that all the return values of the function calls are used.

Additional information: link

ToySHIBA._approve(address,address,uint256).owner (#1218) shadows:
- Ownable.owner() (#543-545) (function)
Rename the local variables that shadow another component.

Additional information: link

ToySHIBA.setMaxTxPercent(uint256) (#1053-1057) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1054-1056)
Emit an event for critical parameter changes.

Additional information: link

ToySHIBA.setMarketingAddress(address).marketing (#1037) lacks a zero-check on :
- _marketingWallet = marketing (#1038)
Check that the address is not zero.

Additional information: link

Reentrancy in ToySHIBA.transferFrom(address,address,uint256) (#902-906):
External calls:
- _transfer(sender,recipient,amount) (#903)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1297-1303)
External calls sending eth:
- _transfer(sender,recipient,amount) (#903)
- _charityWallet.transfer(address(this).balance) (#1161)
- _marketingWallet.transfer(address(this).balance) (#1148)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#904)
- _allowances[owner][spender] = amount (#1222)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ToySHIBA.transferFrom(address,address,uint256) (#902-906):
External calls:
- _transfer(sender,recipient,amount) (#903)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1297-1303)
External calls sending eth:
- _transfer(sender,recipient,amount) (#903)
- _charityWallet.transfer(address(this).balance) (#1161)
- _marketingWallet.transfer(address(this).balance) (#1148)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1223)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#904)
Apply the check-effects-interactions pattern.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#495-512) uses assembly
- INLINE ASM (#504-507)
Do not use evm assembly.

Additional information: link

Low level call in Address.functionDelegateCall(address,bytes,string) (#487-493):
- (success,returndata) = target.delegatecall(data) (#491)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable ToySHIBA._maxTxAmount (#826) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#324)" inContext (#318-327)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in ToySHIBA.transferFrom(address,address,uint256) (#902-906):
External calls:
- _transfer(sender,recipient,amount) (#903)
- _charityWallet.transfer(address(this).balance) (#1161)
- _marketingWallet.transfer(address(this).balance) (#1148)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#904)
- _allowances[owner][spender] = amount (#1222)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1223)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#904)
Apply the check-effects-interactions pattern.

Additional information: link

Variable ToySHIBA._transferFromExcluded(address,address,uint256).rTransferAmount (#1368) is too similar to ToySHIBA._transferStandard(address,address,uint256).tTransferAmount (#1343)
Prevent variables from having similar names.

Additional information: link

ToySHIBA.slitherConstructorVariables() (#778-1380) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 50000000 * 10 ** 9 (#827)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ToySHIBA.numTokensSellToAddToLiquidity (#827) is never used in ToySHIBA (#778-1380)
Remove unused state variables.

Additional information: link

ToySHIBA.numTokensSellToAddToLiquidity (#827) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

isExcludedFromFee(address) should be declared external:
- ToySHIBA.isExcludedFromFee(address) (#1214-1216)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


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 find audit link on the website


Unable to find token on CoinHunt

Additional information: link


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


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for ToySHIBA