ShibaGalaxy one of the simplest Play-To-Earn NFT games. You just need a Shiba Chest to receive a random shiba for participating in ShibaGalaxy. You will fight against the fiery bears to defend the ShibaGalaxy. Eventually, the winner will receive SHIBGX.
You have to own at least 1 Shiba to fight against the angry bears and get rewarded.
As of now, only a limited number of Shiba chests are available for sale. If all Shiba chests are sold out, you have to purchase Shibas from the marketplace by making payment using SHIBGX tokens only.
If the enemy is strong, the reward will be even higher. But players should choose their opponent wisely. Because when you have more victories you will accumulate more reward points too. If your track record is good and you have more wins than losses, you will get SHIBGX tokens as reward for participating in the game.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibaGalaxy.swapEthForTokens(uint256) (contracts/tokens/ShibaGalaxy.sol#1053-1065) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(buybackWallet),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1058-1064)
ShibaGalaxy.swap() (contracts/tokens/ShibaGalaxy.sol#1000-1051) sends eth to arbitrary user
Dangerous calls:
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
FeeReceiver.onFeeReceived(uint256) (contracts/tokens/ShibaGalaxy.sol#663-666) sends eth to arbitrary user
Dangerous calls:
- address(vault).transfer(amount) (contracts/tokens/ShibaGalaxy.sol#665)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ShibaGalaxy._transfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#883-920):
External calls:
- BP.protect(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#893)
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _buybackFeeCollected = _buybackFeeCollected.add(buybackFee) (contracts/tokens/ShibaGalaxy.sol#933)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _liqFeeCollected = _liqFeeCollected.add(liqFee) (contracts/tokens/ShibaGalaxy.sol#931)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(otherFee.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#948)
- _reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].add(marketingFee.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#956)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#908)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#909)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#964)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(otherFee) (contracts/tokens/ShibaGalaxy.sol#950)
- _tokenBalance[marketingWallet] = _tokenBalance[marketingWallet].add(marketingFee) (contracts/tokens/ShibaGalaxy.sol#958)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (contracts/tokens/ShibaGalaxy.sol#913)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (contracts/tokens/ShibaGalaxy.sol#916)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _vaultFeeCollected = _vaultFeeCollected.add(vaultFee) (contracts/tokens/ShibaGalaxy.sol#932)
Apply the check-effects-interactions pattern.
Additional information: link
FeeReceiver.withdrawAccidentallySentTokens(IERC20,address,uint256) (contracts/tokens/ShibaGalaxy.sol#672-674) ignores return value by token.transfer(recipient,amount) (contracts/tokens/ShibaGalaxy.sol#673)
ShibaGalaxy.withdrawAccidentallySentTokens(IERC20,address,uint256) (contracts/tokens/ShibaGalaxy.sol#1173-1176) ignores return value by token.transfer(recipient,amount) (contracts/tokens/ShibaGalaxy.sol#1175)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
ShibaGalaxy._excluded (contracts/tokens/ShibaGalaxy.sol#706) is never initialized. It is used in:
- ShibaGalaxy._getReflectionRate() (contracts/tokens/ShibaGalaxy.sol#1092-1103)
ShibaGalaxy._isExcluded (contracts/tokens/ShibaGalaxy.sol#705) is never initialized. It is used in:
- ShibaGalaxy.balanceOf(address) (contracts/tokens/ShibaGalaxy.sol#813-816)
- ShibaGalaxy.isExcluded(address) (contracts/tokens/ShibaGalaxy.sol#861-863)
- ShibaGalaxy._transfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#883-920)
- ShibaGalaxy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/ShibaGalaxy.sol#936-968)
- ShibaGalaxy.buyAndBurnToken(uint256) (contracts/tokens/ShibaGalaxy.sol#1067-1090)
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
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.
Contract ownership is not renounced (belongs to a wallet)
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/ShibaGalaxy.sol#402-428) uses assembly
- INLINE ASM (contracts/tokens/ShibaGalaxy.sol#420-423)
Address.isContract(address) (contracts/tokens/ShibaGalaxy.sol#293-305) uses assembly
- INLINE ASM (contracts/tokens/ShibaGalaxy.sol#301-303)
Do not use evm assembly.
Additional information: link
ShibaGalaxy.setBotProtectionDisableForever() (contracts/tokens/ShibaGalaxy.sol#1190-1193) compares to a boolean constant:
-require(bool)(BPDisabledForever == false) (contracts/tokens/ShibaGalaxy.sol#1191)
Remove the equality to the boolean constant.
Additional information: link
Contract ticker ($SHIBGX) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
ShibaGalaxy._marketingFeeCollected (contracts/tokens/ShibaGalaxy.sol#719) is never used in ShibaGalaxy (contracts/tokens/ShibaGalaxy.sol#685-1195)
Remove unused state variables.
Additional information: link
ShibaGalaxy._feeDecimal (contracts/tokens/ShibaGalaxy.sol#708) should be constant
ShibaGalaxy._name (contracts/tokens/ShibaGalaxy.sol#692) should be constant
ShibaGalaxy.DEAD (contracts/tokens/ShibaGalaxy.sol#690) should be constant
ShibaGalaxy._symbol (contracts/tokens/ShibaGalaxy.sol#693) should be constant
ShibaGalaxy._decimals (contracts/tokens/ShibaGalaxy.sol#694) should be constant
ShibaGalaxy._marketingFeeCollected (contracts/tokens/ShibaGalaxy.sol#719) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
ShibaGalaxy.constructor(address,address,address,address,address)._owner (contracts/tokens/ShibaGalaxy.sol#756) shadows:
- Ownable._owner (contracts/tokens/ShibaGalaxy.sol#444) (state variable)
ShibaGalaxy._approve(address,address,uint256).owner (contracts/tokens/ShibaGalaxy.sol#872) shadows:
- Ownable.owner() (contracts/tokens/ShibaGalaxy.sol#460-462) (function)
ShibaGalaxy.allowance(address,address).owner (contracts/tokens/ShibaGalaxy.sol#823) shadows:
- Ownable.owner() (contracts/tokens/ShibaGalaxy.sol#460-462) (function)
FeeReceiver.constructor(address,address)._owner (contracts/tokens/ShibaGalaxy.sol#656) shadows:
- Ownable._owner (contracts/tokens/ShibaGalaxy.sol#444) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ShibaGalaxy.setMinTokensBeforeSwap(uint256) (contracts/tokens/ShibaGalaxy.sol#1165-1167) should emit an event for:
- minTokensBeforeSwap = amount (contracts/tokens/ShibaGalaxy.sol#1166)
ShibaGalaxy.setMaxPercent(uint256) (contracts/tokens/ShibaGalaxy.sol#1169-1171) should emit an event for:
- maxSwapPercent = percent (contracts/tokens/ShibaGalaxy.sol#1170)
Emit an event for critical parameter changes.
Additional information: link
ShibaGalaxy.swap() (contracts/tokens/ShibaGalaxy.sol#1000-1051) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
Ensure that all the return values of the function calls are used.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/tokens/ShibaGalaxy.sol#511) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/tokens/ShibaGalaxy.sol#512)
Prevent variables from having similar names.
Additional information: link
ShibaGalaxy.slitherConstructorVariables() (contracts/tokens/ShibaGalaxy.sol#685-1195) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/tokens/ShibaGalaxy.sol#690)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
FeeReceiver.setVault(address)._vault (contracts/tokens/ShibaGalaxy.sol#668) lacks a zero-check on :
- vault = _vault (contracts/tokens/ShibaGalaxy.sol#669)
FeeReceiver.constructor(address,address)._vault (contracts/tokens/ShibaGalaxy.sol#656) lacks a zero-check on :
- vault = _vault (contracts/tokens/ShibaGalaxy.sol#657)
FeeReceiver.withdrawAccidentallySentEth(address,uint256).recipient (contracts/tokens/ShibaGalaxy.sol#676) lacks a zero-check on :
- recipient.transfer(amount) (contracts/tokens/ShibaGalaxy.sol#677)
ShibaGalaxy.setMarketingWallet(address).wallet (contracts/tokens/ShibaGalaxy.sol#1151) lacks a zero-check on :
- marketingWallet = wallet (contracts/tokens/ShibaGalaxy.sol#1152)
ShibaGalaxy.constructor(address,address,address,address,address)._buybackWallet (contracts/tokens/ShibaGalaxy.sol#756) lacks a zero-check on :
- buybackWallet = _buybackWallet (contracts/tokens/ShibaGalaxy.sol#761)
ShibaGalaxy.constructor(address,address,address,address,address)._marketingWallet (contracts/tokens/ShibaGalaxy.sol#756) lacks a zero-check on :
- marketingWallet = _marketingWallet (contracts/tokens/ShibaGalaxy.sol#760)
Check that the address is not zero.
Additional information: link
Reentrancy in ShibaGalaxy.transferFrom(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#832-845):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#837)
- BP.protect(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#893)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#837)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/ShibaGalaxy.sol#839-843)
- _allowances[owner][spender] = amount (contracts/tokens/ShibaGalaxy.sol#879)
Reentrancy in ShibaGalaxy._transfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#883-920):
External calls:
- BP.protect(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#893)
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
State variables written after the call(s):
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- _allowances[owner][spender] = amount (contracts/tokens/ShibaGalaxy.sol#879)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- _feeTotal = _feeTotal.add(taxFee).add(otherFee).add(marketingFee) (contracts/tokens/ShibaGalaxy.sol#966)
Reentrancy in ShibaGalaxy.buyAndBurnToken(uint256) (contracts/tokens/ShibaGalaxy.sol#1067-1090):
External calls:
- success = swapEthForTokens(amount) (contracts/tokens/ShibaGalaxy.sol#1070)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(buybackWallet),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1058-1064)
State variables written after the call(s):
- _reflectionBalance[address(buybackWallet)] = 0 (contracts/tokens/ShibaGalaxy.sol#1078)
- _reflectionTotal = _reflectionTotal.sub(swapedTokens.mul(rate)) (contracts/tokens/ShibaGalaxy.sol#1085)
- _tokenBalance[address(buybackWallet)] = 0 (contracts/tokens/ShibaGalaxy.sol#1080)
- _tokenTotal = _tokenTotal.sub(swapedTokens) (contracts/tokens/ShibaGalaxy.sol#1084)
- buybackTotal = buybackTotal.add(swapedTokens) (contracts/tokens/ShibaGalaxy.sol#1083)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibaGalaxy.transferFrom(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#832-845):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#837)
- BP.protect(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#893)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#837)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/ShibaGalaxy.sol#880)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/ShibaGalaxy.sol#839-843)
Reentrancy in ShibaGalaxy.swap() (contracts/tokens/ShibaGalaxy.sol#1000-1051):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (contracts/tokens/ShibaGalaxy.sol#1047)
Reentrancy in ShibaGalaxy._transfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#883-920):
External calls:
- BP.protect(sender,recipient,amount) (contracts/tokens/ShibaGalaxy.sol#893)
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1018-1036)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
External calls sending eth:
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- feeReceiver.onFeeReceived{value: amountBNBVault}(amountBNBVault) (contracts/tokens/ShibaGalaxy.sol#1033)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1039-1049)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/ShibaGalaxy.sol#880)
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (contracts/tokens/ShibaGalaxy.sol#1047)
- swap() (contracts/tokens/ShibaGalaxy.sol#897)
- Transfer(account,address(this),otherFee) (contracts/tokens/ShibaGalaxy.sol#952)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- Transfer(account,marketingWallet,marketingFee) (contracts/tokens/ShibaGalaxy.sol#960)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/ShibaGalaxy.sol#904)
- Transfer(sender,recipient,transferAmount) (contracts/tokens/ShibaGalaxy.sol#919)
Reentrancy in ShibaGalaxy.buyAndBurnToken(uint256) (contracts/tokens/ShibaGalaxy.sol#1067-1090):
External calls:
- success = swapEthForTokens(amount) (contracts/tokens/ShibaGalaxy.sol#1070)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,address(buybackWallet),block.timestamp) (contracts/tokens/ShibaGalaxy.sol#1058-1064)
Event emitted after the call(s):
- BuybackAndBurned(amount,swapedTokens) (contracts/tokens/ShibaGalaxy.sol#1088)
- Transfer(address(buybackWallet),address(0),swapedTokens) (contracts/tokens/ShibaGalaxy.sol#1087)
Apply the check-effects-interactions pattern.
Additional information: link
ShibaGalaxy.swap() (contracts/tokens/ShibaGalaxy.sol#1000-1051) uses timestamp for comparisons
Dangerous comparisons:
- minTokensBeforeSwap > totalFee || lastSwapTimestamp + swapInterval >= block.timestamp (contracts/tokens/ShibaGalaxy.sol#1004)
Avoid relying on block.timestamp.
Additional information: link
Address.sendValue(address,uint256) (contracts/tokens/ShibaGalaxy.sol#323-329) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/tokens/ShibaGalaxy.sol#378-384) is never used and should be removed
TransferHelper.safeTransferFrom(address,address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#630-642) is never used and should be removed
TransferHelper.safeTransferETH(address,uint256) (contracts/tokens/ShibaGalaxy.sol#644-647) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/tokens/ShibaGalaxy.sol#262-269) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/ShibaGalaxy.sol#392-400) is never used and should be removed
Context._msgData() (contracts/tokens/ShibaGalaxy.sol#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/tokens/ShibaGalaxy.sol#246-248) is never used and should be removed
TransferHelper.safeApprove(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#604-615) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/ShibaGalaxy.sol#402-428) is never used and should be removed
Address.isContract(address) (contracts/tokens/ShibaGalaxy.sol#293-305) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/tokens/ShibaGalaxy.sol#359-365) is never used and should be removed
TransferHelper.safeTransfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#617-628) is never used and should be removed
Address.functionCall(address,bytes) (contracts/tokens/ShibaGalaxy.sol#349-351) is never used and should be removed
Remove unused functions.
Additional information: link
ShibaGalaxy._reflectionTotal (contracts/tokens/ShibaGalaxy.sol#702) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tokenTotal))
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.6.0 (contracts/tokens/ShibaGalaxy.sol#576) allows old versions
Pragma version^0.6.0 (contracts/tokens/ShibaGalaxy.sol#3) allows old versions
Pragma version^0.6.0 (contracts/tokens/ShibaGalaxy.sol#601) allows old versions
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.sendValue(address,uint256) (contracts/tokens/ShibaGalaxy.sol#323-329):
- (success) = recipient.call{value: amount}() (contracts/tokens/ShibaGalaxy.sol#327)
Low level call in TransferHelper.safeApprove(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#604-615):
- (success,data) = token.call(abi.encodeWithSelector(0x095ea7b3,to,value)) (contracts/tokens/ShibaGalaxy.sol#610)
Low level call in TransferHelper.safeTransferFrom(address,address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#630-642):
- (success,data) = token.call(abi.encodeWithSelector(0x23b872dd,from,to,value)) (contracts/tokens/ShibaGalaxy.sol#637)
Low level call in TransferHelper.safeTransfer(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#617-628):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (contracts/tokens/ShibaGalaxy.sol#623)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/ShibaGalaxy.sol#402-428):
- (success,returndata) = target.call{value: weiValue}(data) (contracts/tokens/ShibaGalaxy.sol#411)
Low level call in TransferHelper.safeTransferETH(address,uint256) (contracts/tokens/ShibaGalaxy.sol#644-647):
- (success) = to.call{value: value}(new bytes(0)) (contracts/tokens/ShibaGalaxy.sol#645)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ShibaGalaxy._marketingFeeCollected (contracts/tokens/ShibaGalaxy.sol#719) is not in mixedCase
Parameter FeeReceiver.setVault(address)._vault (contracts/tokens/ShibaGalaxy.sol#668) is not in mixedCase
Variable ShibaGalaxy._isExcluded (contracts/tokens/ShibaGalaxy.sol#705) is not in mixedCase
Variable ShibaGalaxy._marketingFee (contracts/tokens/ShibaGalaxy.sol#713) is not in mixedCase
Variable ShibaGalaxy._tokenTotal (contracts/tokens/ShibaGalaxy.sol#701) is not in mixedCase
Variable ShibaGalaxy._tokenBalance (contracts/tokens/ShibaGalaxy.sol#697) is not in mixedCase
Variable ShibaGalaxy._buybackFee (contracts/tokens/ShibaGalaxy.sol#714) is not in mixedCase
Variable ShibaGalaxy.BP (contracts/tokens/ShibaGalaxy.sol#740) is not in mixedCase
Variable ShibaGalaxy._taxFee (contracts/tokens/ShibaGalaxy.sol#710) is not in mixedCase
Variable ShibaGalaxy._excluded (contracts/tokens/ShibaGalaxy.sol#706) is not in mixedCase
Variable ShibaGalaxy._feeTotal (contracts/tokens/ShibaGalaxy.sol#716) is not in mixedCase
Variable ShibaGalaxy._allowances (contracts/tokens/ShibaGalaxy.sol#698) is not in mixedCase
Parameter ShibaGalaxy.setBpEnabled(bool)._enabled (contracts/tokens/ShibaGalaxy.sol#1186) is not in mixedCase
Variable ShibaGalaxy._liqFeeCollected (contracts/tokens/ShibaGalaxy.sol#717) is not in mixedCase
Parameter ShibaGalaxy.setBPAddrss(address)._bp (contracts/tokens/ShibaGalaxy.sol#1181) is not in mixedCase
Parameter ShibaGalaxy.setVaultFeeReceiver(IFeeReceiver)._feeReceiver (contracts/tokens/ShibaGalaxy.sol#1155) is not in mixedCase
Variable ShibaGalaxy.BPDisabledForever (contracts/tokens/ShibaGalaxy.sol#742) is not in mixedCase
Variable ShibaGalaxy._vaultFee (contracts/tokens/ShibaGalaxy.sol#712) is not in mixedCase
Variable ShibaGalaxy._liqFee (contracts/tokens/ShibaGalaxy.sol#711) is not in mixedCase
Variable ShibaGalaxy._reflectionBalance (contracts/tokens/ShibaGalaxy.sol#696) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/tokens/ShibaGalaxy.sol#506) is not in mixedCase
Variable ShibaGalaxy._vaultFeeCollected (contracts/tokens/ShibaGalaxy.sol#718) is not in mixedCase
Variable ShibaGalaxy._feeDecimal (contracts/tokens/ShibaGalaxy.sol#708) is not in mixedCase
Variable ShibaGalaxy._buybackFeeCollected (contracts/tokens/ShibaGalaxy.sol#720) is not in mixedCase
Variable ShibaGalaxy._reflectionTotal (contracts/tokens/ShibaGalaxy.sol#702) is not in mixedCase
Variable ShibaGalaxy.DEAD (contracts/tokens/ShibaGalaxy.sol#690) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/tokens/ShibaGalaxy.sol#21)" inContext (contracts/tokens/ShibaGalaxy.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
decreaseAllowance(address,uint256) should be declared external:
- ShibaGalaxy.decreaseAllowance(address,uint256) (contracts/tokens/ShibaGalaxy.sol#852-859)
symbol() should be declared external:
- ShibaGalaxy.symbol() (contracts/tokens/ShibaGalaxy.sol#801-803)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/tokens/ShibaGalaxy.sol#479-482)
approve(address,uint256) should be declared external:
- ShibaGalaxy.approve(address,uint256) (contracts/tokens/ShibaGalaxy.sol#827-830)
owner() should be declared external:
- Ownable.owner() (contracts/tokens/ShibaGalaxy.sol#460-462)
increaseAllowance(address,uint256) should be declared external:
- ShibaGalaxy.increaseAllowance(address,uint256) (contracts/tokens/ShibaGalaxy.sol#847-850)
decimals() should be declared external:
- ShibaGalaxy.decimals() (contracts/tokens/ShibaGalaxy.sol#805-807)
name() should be declared external:
- ShibaGalaxy.name() (contracts/tokens/ShibaGalaxy.sol#797-799)
transferFrom(address,address,uint256) should be declared external:
- ShibaGalaxy.transferFrom(address,address,uint256) (contracts/tokens/ShibaGalaxy.sol#832-845)
allowance(address,address) should be declared external:
- ShibaGalaxy.allowance(address,address) (contracts/tokens/ShibaGalaxy.sol#823-825)
transfer(address,uint256) should be declared external:
- ShibaGalaxy.transfer(address,uint256) (contracts/tokens/ShibaGalaxy.sol#818-821)
isExcluded(address) should be declared external:
- ShibaGalaxy.isExcluded(address) (contracts/tokens/ShibaGalaxy.sol#861-863)
totalSupply() should be declared external:
- ShibaGalaxy.totalSupply() (contracts/tokens/ShibaGalaxy.sol#809-811)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 4% buy tax and 8% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
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 token on CoinHunt
Additional information: link
Unable to find code repository for the project
Unable to find audit link on the website
Token is not listed at Mobula.Finance
Additional information: link
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 180 days ago
Unable to find Youtube account
Unable to find Discord account