A next-gen cross-chain yield enhancement platform focusing on Automated Market-Making (AMM) Liquidity Providers (LP)
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
IceToken._init (#135) is written in both
_init = true (#291)
_init = false (#305)
Fix or remove the writes.
Additional information: link
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
IceToken.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#332-335) ignores return value by IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#333)
Ensure that all the return values of the function calls are used.
Additional information: link
IceToken.constructor(string,string,uint8,address,address)._vault (#281) lacks a zero-check on :
- vault = _vault (#296)
- pendingVault = _vault (#297)
Check that the address is not zero.
Additional information: link
Reentrancy in IceToken.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#332-335):
External calls:
- IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#333)
State variables written after the call(s):
- _deposit(value,to) (#334)
- _totalSupply += amount (#398)
- _deposit(value,to) (#334)
- balanceOf[account] += amount (#399)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in IceToken.depositWithTransferPermit(address,uint256,uint256,uint8,bytes32,bytes32,address) (#332-335):
External calls:
- IERC20(underlying).transferWithPermit(target,address(this),value,deadline,v,r,s) (#333)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#400)
- _deposit(value,to) (#334)
Apply the check-effects-interactions pattern.
Additional information: link
IceToken.transferWithPermit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#474-498) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,AnyswapV3ERC20: Expired permit) (#475)
Avoid relying on block.timestamp.
Additional information: link
IceToken.constructor(string,string,uint8,address,address) (#281-319) uses assembly
- INLINE ASM (#309)
Do not use evm assembly.
Additional information: link
SafeERC20.safeApprove(IERC20,address,uint256) (#95-100) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.3 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 SafeERC20.callOptionalReturn(IERC20,bytes) (#101-112):
- (success,returndata) = address(token).call(data) (#105)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable IceToken.DOMAIN_SEPARATOR (#125) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
IceToken.slitherConstructorVariables() (#115-593) uses literals with too many digits:
- maxTotalSupply = 69000000000000000000000000 (#132)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
IceToken.pendingDelay (#157) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Swapout(uint256,address) should be declared external:
- IceToken.Swapout(uint256,address) (#260-266)
Use the external attribute for functions never called from the contract.
Additional information: link
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 Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account