Chip is the utility token of Shambala Metaverse. CHIP is GameFi's universal token, used for various in-game transactions including tool purchases and labor income in Shambala Metaverse. It will have staking soon and other used case will be announced soon.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
chipToken.addLiquidity(uint256,uint256) (#1686-1699) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in chipToken._transfer(address,address,uint256) (#1700-1734):
External calls:
- swapAndLiquify(contractTokenBalance) (#1718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
State variables written after the call(s):
- super._transfer(sender,recipient,_amount) (#1721)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#519)
- _balances[recipient] = _balances[recipient].add(amount) (#520)
- super._transfer(sender,address(this),_fee) (#1727)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#519)
- _balances[recipient] = _balances[recipient].add(amount) (#520)
- super._transfer(sender,recipient,_amount) (#1730)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#519)
- _balances[recipient] = _balances[recipient].add(amount) (#520)
Apply the check-effects-interactions pattern.
Additional information: link
chipToken.withdrawOtherToken(address) (#1617-1624) ignores return value by IERC20(_token).transfer(msg.sender,IERC20(_token).balanceOf(address(this))) (#1622)
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.
Function IUniswapV2Router01.WETH() (#1376) is not in mixedCase
Contract chipToken (#1545-1753) is not in CapWords
Parameter chipToken.setSwapAndLiquifyEnabled(bool)._enabled (#1592) is not in mixedCase
Parameter chipToken.setTransferFeeRate(uint256,uint256)._sellFeeRate (#1597) is not in mixedCase
Parameter chipToken.setTransferFeeRate(uint256,uint256)._buyFeeRate (#1597) is not in mixedCase
Parameter chipToken.withdrawOtherToken(address)._token (#1617) is not in mixedCase
Parameter chipToken.setnumTokensSellToAddToLiquidity(uint256)._numTokensSellToAddToLiquidity (#1625) is not in mixedCase
Parameter chipToken.setWhiteLists(address)._target (#1628) is not in mixedCase
Parameter chipToken.removeWhiteLists(address)._target (#1635) is not in mixedCase
Constant chipToken.blackHole (#1554) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#20)" inContext (#14-23)
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 (#1381) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1382)
Prevent variables from having similar names.
Additional information: link
chipToken.slitherConstructorConstantVariables() (#1545-1753) uses literals with too many digits:
- blackHole = 0x0000000000000000000000000000000000000001 (#1554)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
chipToken.idoSupply (#1557) should be constant
chipToken.maxSupply (#1555) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#369-371)
symbol() should be declared external:
- ERC20.symbol() (#377-379)
decimals() should be declared external:
- ERC20.decimals() (#394-396)
totalSupply() should be declared external:
- ERC20.totalSupply() (#401-403)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#420-423)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#428-430)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#439-442)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#457-461)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#475-478)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#494-497)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#663-666)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#672-676)
getRoleMemberCount(bytes32) should be declared external:
- AccessControl.getRoleMemberCount(bytes32) (#1249-1251)
getRoleMember(bytes32,uint256) should be declared external:
- AccessControl.getRoleMember(bytes32,uint256) (#1265-1267)
getRoleAdmin(bytes32) should be declared external:
- AccessControl.getRoleAdmin(bytes32) (#1275-1277)
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#1289-1293)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#1304-1308)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#1324-1328)
setSwapAndLiquifyEnabled(bool) should be declared external:
- chipToken.setSwapAndLiquifyEnabled(bool) (#1592-1595)
setTransferFeeRate(uint256,uint256) should be declared external:
- chipToken.setTransferFeeRate(uint256,uint256) (#1597-1607)
batchTransfer(address[],uint256[]) should be declared external:
- chipToken.batchTransfer(address[],uint256[]) (#1608-1616)
withdrawOtherToken(address) should be declared external:
- chipToken.withdrawOtherToken(address) (#1617-1624)
removeWhiteLists(address) should be declared external:
- chipToken.removeWhiteLists(address) (#1635-1640)
Use the external attribute for functions never called from the contract.
Additional information: link
chipToken.addLiquidity(uint256,uint256) (#1686-1699) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Ensure that all the return values of the function calls are used.
Additional information: link
chipToken.setnumTokensSellToAddToLiquidity(uint256) (#1625-1627) should emit an event for:
- numTokensSellToAddToLiquidity = _numTokensSellToAddToLiquidity (#1626)
Emit an event for critical parameter changes.
Additional information: link
chipToken.swapTokensForEth(uint256) (#1647-1663) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#1651)
chipToken.swapTokensForEth(uint256) (#1647-1663) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
chipToken.addLiquidity(uint256,uint256) (#1686-1699) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in chipToken.constructor(address) (#1574-1590):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1581-1582)
State variables written after the call(s):
- uniswapV2Router = _uniswapV2Router (#1584)
- setWhiteLists(address(this)) (#1588)
- whitelist[_target] = true (#1631)
- setWhiteLists(_msgSender()) (#1589)
- whitelist[_target] = true (#1631)
Reentrancy in chipToken.swapAndLiquify(uint256) (#1664-1685):
External calls:
- swapTokensForEth(half) (#1676)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1682)
- _allowances[owner][spender] = amount (#581)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in chipToken._transfer(address,address,uint256) (#1700-1734):
External calls:
- swapAndLiquify(contractTokenBalance) (#1718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#521)
- super._transfer(sender,recipient,_amount) (#1730)
- Transfer(sender,recipient,amount) (#521)
- super._transfer(sender,address(this),_fee) (#1727)
- Transfer(sender,recipient,amount) (#521)
- super._transfer(sender,recipient,_amount) (#1721)
Reentrancy in chipToken.batchTransfer(address[],uint256[]) (#1608-1616):
External calls:
- _transfer(_msgSender(),addressList[i],amountList[i]) (#1612)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
External calls sending eth:
- _transfer(_msgSender(),addressList[i],amountList[i]) (#1612)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Event emitted after the call(s):
- Transfer(_msgSender(),addressList[i],amountList[i]) (#1613)
Reentrancy in chipToken.constructor(address) (#1574-1590):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1581-1582)
Event emitted after the call(s):
- RoleGranted(role,account,_msgSender()) (#1362)
- _setupRole(MINTER_ROLE,_msgSender()) (#1587)
- RoleGranted(role,account,_msgSender()) (#1362)
- _setupRole(DEFAULT_ADMIN_ROLE,msg.sender) (#1586)
- UpdateWhiteList(_target,1) (#1632)
- setWhiteLists(_msgSender()) (#1589)
- UpdateWhiteList(_target,1) (#1632)
- setWhiteLists(address(this)) (#1588)
Reentrancy in chipToken.swapAndLiquify(uint256) (#1664-1685):
External calls:
- swapTokensForEth(half) (#1676)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1656-1662)
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,blackHole,block.timestamp) (#1691-1698)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#582)
- addLiquidity(otherHalf,newBalance) (#1682)
- SwapAndLiquify(half,newBalance,otherHalf) (#1684)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#996-1005) uses assembly
- INLINE ASM (#1003)
Address._verifyCallResult(bool,bytes,string) (#1141-1158) uses assembly
- INLINE ASM (#1150-1153)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.0<0.8.0']
- >=0.6.0<0.8.0 (#2)
- >=0.5.0 (#1514)
Use one Solidity version.
Additional information: link
chipToken.lockTheSwap() (#1741-1745) has costly operations inside a loop:
- inSwapAndLiquify = true (#1742)
chipToken.lockTheSwap() (#1741-1745) has costly operations inside a loop:
- inSwapAndLiquify = false (#1744)
Use a local variable to hold the loop computation result.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#1355-1358) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (#1141-1158) is never used and should be removed
Address.functionCall(address,bytes) (#1049-1051) is never used and should be removed
Address.functionCall(address,bytes,string) (#1059-1061) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#1074-1076) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#1084-1091) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#1123-1125) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#1133-1139) is never used and should be removed
Address.functionStaticCall(address,bytes) (#1099-1101) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#1109-1115) is never used and should be removed
Address.isContract(address) (#996-1005) is never used and should be removed
Address.sendValue(address,uint256) (#1023-1029) is never used and should be removed
Context._msgData() (#19-22) is never used and should be removed
ERC20._burn(address,uint256) (#554-562) is never used and should be removed
ERC20._setupDecimals(uint8) (#592-594) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#822-824) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#931-933) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#860-862) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#969-971) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#839-841) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#948-950) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#846-848) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#955-957) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#832-834) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#941-943) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#287-290) is never used and should be removed
SafeMath.mod(uint256,uint256) (#249-252) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#307-310) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#121-125) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#157-160) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#167-170) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#142-150) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#132-135) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#2) is too complex
Pragma version>=0.5.0 (#1514) allows old versions
solc-0.7.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.sendValue(address,uint256) (#1023-1029):
- (success) = recipient.call{value: amount}() (#1027)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#1084-1091):
- (success,returndata) = target.call{value: value}(data) (#1089)
Low level call in Address.functionStaticCall(address,bytes,string) (#1109-1115):
- (success,returndata) = target.staticcall(data) (#1113)
Low level call in Address.functionDelegateCall(address,bytes,string) (#1133-1139):
- (success,returndata) = target.delegatecall(data) (#1137)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
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 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 Twitter 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
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account