Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibGod._splitOtherToken() (#1235-1281) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
ShibGod._splitOtherToken() (#1235-1281) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
ShibGod.startTime (#1035) is never initialized. It is used in:
- ShibGod.isIn3minter() (#1119-1121)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
ShibGod._transfer(address,address,uint256) (#1123-1174) performs a multiplication on the result of a division:
-amount = amount.div(100).mul(88) (#1164)
ShibGod._splitOtherToken() (#1235-1281) performs a multiplication on the result of a division:
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1272)
ShibGod._splitOtherToken() (#1235-1281) performs a multiplication on the result of a division:
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1272)
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in ShibGod._transfer(address,address,uint256) (#1123-1174):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1145)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
State variables written after the call(s):
- swapping = false (#1147)
Reentrancy in ShibGod._transfer(address,address,uint256) (#1123-1174):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1145)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
- _splitOtherToken() (#1151)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
State variables written after the call(s):
- super._transfer(from,uniswapV2Pair,amount.div(100)) (#1158)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,_fundAddress,amount.div(100)) (#1160)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,address(this),amount.div(10)) (#1162)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,to,amount) (#1166)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- buyUser.push(to) (#1170)
Apply the check-effects-interactions pattern.
Additional information: link
ShibGod._splitOtherToken().startIndex (#1241) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
ERC20.allowance(address,address).owner (#414) shadows:
- Ownable.owner() (#277-279) (function)
ERC20._approve(address,address,uint256).owner (#625) shadows:
- Ownable.owner() (#277-279) (function)
Rename the local variables that shadow another component.
Additional information: link
ShibGod.setSwapTokensAtAmount(uint256) (#1103-1105) should emit an event for:
- swapTokensAtAmount = _swapTokensAtAmount (#1104)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (#269) lacks a zero-check on :
- _owner = msgSender (#270)
ShibGod.constructor(address,address).tokenOwner (#1057) lacks a zero-check on :
- _tokenOwner = tokenOwner (#1067)
ShibGod.constructor(address,address).fundAddress (#1057) lacks a zero-check on :
- _fundAddress = fundAddress (#1068)
Check that the address is not zero.
Additional information: link
ShibGod._splitOtherToken() (#1235-1281) has external calls inside a loop: doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
ShibGod._splitOtherToken() (#1235-1281) has external calls inside a loop: doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in ShibGod._transfer(address,address,uint256) (#1123-1174):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1145)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
- _splitOtherToken() (#1151)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
State variables written after the call(s):
- havePush[to] = true (#1169)
Reentrancy in ShibGod.constructor(address,address) (#1057-1079):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1062-1063)
State variables written after the call(s):
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 26) (#1064)
- _allowances[owner][spender] = amount (#632)
- _mint(tokenOwner,total) (#1078)
- _balances[account] = _balances[account].add(amount) (#581)
- _fundAddress = fundAddress (#1068)
- excludeFromFees(tokenOwner,true) (#1072)
- _isExcludedFromFees[account] = excluded (#1091)
- excludeFromFees(address(this),true) (#1073)
- _isExcludedFromFees[account] = excluded (#1091)
- _tokenOwner = tokenOwner (#1067)
- _mint(tokenOwner,total) (#1078)
- _totalSupply = _totalSupply.add(amount) (#580)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1069)
- automatedMarketMakerPairs[pair] = value (#1112)
- doge = IERC20(0xbA2aE424d960c26247Dd6c32edC70B295c744C43) (#1074)
- minBuyAmount = total.div(1000) (#1077)
- swapTokensAtAmount = total.div(10000) (#1076)
- uniswapV2Pair = _uniswapV2Pair (#1066)
- uniswapV2Router = _uniswapV2Router (#1065)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibGod._transfer(address,address,uint256) (#1123-1174):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1145)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1214-1220)
- _splitOtherToken() (#1151)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1263)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1274)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,_fundAddress,amount.div(100)) (#1160)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,to,amount) (#1166)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,address(this),amount.div(10)) (#1162)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,uniswapV2Pair,amount.div(100)) (#1158)
Reentrancy in ShibGod.constructor(address,address) (#1057-1079):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1062-1063)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#633)
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 26) (#1064)
- ExcludeFromFees(account,excluded) (#1092)
- excludeFromFees(tokenOwner,true) (#1072)
- ExcludeFromFees(account,excluded) (#1092)
- excludeFromFees(address(this),true) (#1073)
- Transfer(address(0),account,amount) (#582)
- _mint(tokenOwner,total) (#1078)
Apply the check-effects-interactions pattern.
Additional information: link
ShibGod.isIn3minter() (#1119-1121) uses timestamp for comparisons
Dangerous comparisons:
- startTime.add(180) > block.timestamp (#1120)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#9-13) is never used and should be removed
ERC20._burn(address,uint256) (#596-607) is never used and should be removed
SafeMath.sub(uint256,uint256) (#686-688) is never used and should be removed
Remove unused functions.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#49) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#51) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#82) is not in mixedCase
Function IUniswapV2Router01.WETH() (#816) is not in mixedCase
Parameter ShibGod.setSwapTokensAtAmount(uint256)._swapTokensAtAmount (#1103) is not in mixedCase
Parameter ShibGod.setSwapAndLiquifyEnabled(bool)._enabled (#1107) is not in mixedCase
Function ShibGod._splitOtherToken() (#1235-1281) is not in mixedCase
Variable ShibGod._tokenOwner (#1024) is not in mixedCase
Variable ShibGod._fundAddress (#1025) is not in mixedCase
Variable ShibGod._receive (#1029) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-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 (#821) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#822)
Prevent variables from having similar names.
Additional information: link
ShibGod.slitherConstructorVariables() (#1019-1288) uses literals with too many digits:
- _destroyAddress = address(0x000000000000000000000000000000000000dEaD) (#1030)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ShibGod._destroyAddress (#1030) is never used in ShibGod (#1019-1288)
Remove unused state variables.
Additional information: link
ShibGod._destroyAddress (#1030) should be constant
ShibGod._receive (#1029) should be constant
ShibGod.startTime (#1035) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#277-279)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#296-299)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#305-312)
name() should be declared external:
- ERC20.name() (#344-346)
symbol() should be declared external:
- ERC20.symbol() (#352-354)
decimals() should be declared external:
- ERC20.decimals() (#369-371)
totalSupply() should be declared external:
- ERC20.totalSupply() (#376-378)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#401-409)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#414-422)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#431-439)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#454-469)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#483-494)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#510-524)
updateUniswapV2Router(address) should be declared external:
- ShibGod.updateUniswapV2Router(address) (#1085-1088)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ShibGod.excludeMultipleAccountsFromFees(address[],bool) (#1095-1101)
setSwapTokensAtAmount(uint256) should be declared external:
- ShibGod.setSwapTokensAtAmount(uint256) (#1103-1105)
setSwapAndLiquifyEnabled(bool) should be declared external:
- ShibGod.setSwapAndLiquifyEnabled(bool) (#1107-1109)
isExcludedFromFees(address) should be declared external:
- ShibGod.isExcludedFromFees(address) (#1115-1117)
isIn3minter() should be declared external:
- ShibGod.isIn3minter() (#1119-1121)
swapAndLiquifyV1(uint256) should be declared external:
- ShibGod.swapAndLiquifyV1(uint256) (#1176-1180)
swapAndLiquifyV4() should be declared external:
- ShibGod.swapAndLiquifyV4() (#1203-1205)
rescueToken(address,uint256) should be declared external:
- ShibGod.rescueToken(address,uint256) (#1225-1231)
getBuysize() should be declared external:
- ShibGod.getBuysize() (#1283-1285)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account