Cubics Token Logo

CUBIC [Cubics] Token

About CUBIC

Listings

Token 12 months
CoinGecko 2 months
CoinMarketCap 2 months

Website

[CoinMarketCap] alert: The ownership of the smart contract isn't renounced for the following asset, which means the owners are able to modify contract behavior (for example: disable selling, change fees, mint new tokens, or transfer tokens). Please exercise with extra caution if you are investing in this asset.
white paper

Cubics is focused on developing a use-case for crypto through Metaverse applications built on top of an innovative layer-1 blockchain. Cubics enables users to create games and worlds with virtual economies, featuring object creation, scanning, registry & virtualization, NFTs, and P2E incentives.

Laser Scorebeta Last Audit: 16 September 2022

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...)

Cubics.addLiquidity(uint256,uint256) (#313-316) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Cubics._transfer(address,address,uint256) (#280-296):
External calls:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#295)
- _balances[address(this)] = _balances[address(this)] + tLiquidity (#269)
- _balances[sender] -= tAmount (#322)
- _balances[recipient] += tTransferAmount (#323)
Apply the check-effects-interactions pattern.

Additional information: link

Cubics.recover(address,uint256) (#206-209) ignores return value by IERC20(tokenAddress).transfer(owner(),tokenAmount) (#208)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.


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.

Cubics._transfer(address,address,uint256) (#280-296) contains a tautology or contradiction:
- require(bool,string)(amount >= 0,Transfer amount must be greater or equal zero) (#283)
Fix the incorrect comparison by changing the value type or the comparison.

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.

Cubics.setRouterAndPair(address,address)._uniswapV2Pair (#254) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#256)
Check that the address is not zero.

Additional information: link

Cubics.addLiquidity(uint256,uint256) (#313-316) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Ensure that all the return values of the function calls are used.

Additional information: link

Cubics.allowance(address,address).owner (#182) shadows:
- Ownable.owner() (#36-38) (function)
Cubics._approve(address,address,uint256).owner (#274) shadows:
- Ownable.owner() (#36-38) (function)
Rename the local variables that shadow another component.

Additional information: link

Cubics.setLiquidityFee(uint256) (#222-225) should emit an event for:
- _liquidityFee = fee (#224)
Cubics.setLiquifyAmount(uint256) (#226-228) should emit an event for:
- _liquifyAmount = amount (#227)
Cubics.setMaxTxAmount(uint256) (#229-231) should emit an event for:
- _maxTxAmount = amount (#230)
Emit an event for critical parameter changes.

Additional information: link

Cubics._decimals (#136) should be constant
Cubics._maxLiquidityFee (#138) should be constant
Cubics._maxSupply (#133) should be constant
Cubics._router (#131) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in Cubics.constructor() (#153-161):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#156)
State variables written after the call(s):
- _whitelisted[owner()] = true (#158)
- _whitelisted[address(this)] = true (#159)
- uniswapV2Router = _uniswapV2Router (#157)
Reentrancy in Cubics.swapAndLiquify(uint256) (#297-305):
External calls:
- swapTokensForEth(half) (#301)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#303)
- _allowances[owner][spender] = amount (#277)
Reentrancy in Cubics.transferFrom(address,address,uint256) (#189-193):
External calls:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#191)
- _allowances[owner][spender] = amount (#277)
Apply the check-effects-interactions pattern.

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#73) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#74) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#81) is not in mixedCase
Function IUniswapV2Router01.WETH() (#99) is not in mixedCase
Parameter Cubics.setRouterAndPair(address,address)._uniswapV2Router (#254) is not in mixedCase
Parameter Cubics.setRouterAndPair(address,address)._uniswapV2Pair (#254) is not in mixedCase
Variable Cubics._liquidityFee (#137) is not in mixedCase
Variable Cubics._maxLiquidityFee (#138) is not in mixedCase
Variable Cubics._maxTxAmount (#143) is not in mixedCase
Variable Cubics._liquifyAmount (#144) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#100) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#100)
Prevent variables from having similar names.

Additional information: link

Reentrancy in Cubics._transfer(address,address,uint256) (#280-296):
External calls:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#290)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#325)
- _tokenTransfer(from,to,amount,takeFee) (#295)
Reentrancy in Cubics.constructor() (#153-161):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#156)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_supply) (#160)
Reentrancy in Cubics.swapAndLiquify(uint256) (#297-305):
External calls:
- swapTokensForEth(half) (#301)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#303)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#278)
- addLiquidity(otherHalf,newBalance) (#303)
- SwapAndLiquify(half,newBalance,otherHalf) (#304)
Reentrancy in Cubics.transferFrom(address,address,uint256) (#189-193):
External calls:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#311)
External calls sending eth:
- _transfer(sender,recipient,amount) (#190)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#315)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#278)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#191)
Apply the check-effects-interactions pattern.

Additional information: link

Holders:

Contract has 8% 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 number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair

No disclosed threats


Token was delisted from CoinHunt

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has relatively low CoinMarketCap rank


Token has relatively low CoinGecko rank

Price for CUBIC

News for CUBIC