ICARUS is a decentralized mining protocol. $ZBTC is a hashrate tokens that allow users to take part in Ethereum and Bitcoin mining respectively, claiming mining rewards in the process.
StakingToken._writeCheckpoint(address,uint256,uint256,uint256) (#1268-1288) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == block.number (#1275-1276)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
StakingToken.can_claim() (#1393-1416) performs a multiplication on the result of a division:
-released_amount = llwf.total_amount.div(llwf.lock_span).mul(released_span) (#1412-1413)
StakingToken.claim() (#1418-1453) performs a multiplication on the result of a division:
-released_amount = llwf.total_amount.div(llwf.lock_span).mul(released_span) (#1440-1441)
Consider ordering multiplication before division.
Additional information: link
StakingToken.constructor(string,string,uint8,uint256,uint256).name (#891) shadows:
- StakingToken.name() (#940-942) (function)
StakingToken.constructor(string,string,uint8,uint256,uint256).symbol (#892) shadows:
- StakingToken.symbol() (#944-946) (function)
StakingToken.constructor(string,string,uint8,uint256,uint256).decimals (#893) shadows:
- StakingToken.decimals() (#948-950) (function)
StakingToken.constructor(string,string,uint8,uint256,uint256).cap (#895) shadows:
- StakingToken.cap() (#956-958) (function)
Rename the local variables that shadow another component.
Additional information: link
StakingToken.transfer_ownership(address).new_owner (#924) lacks a zero-check on :
- _owner = new_owner (#925)
StakingToken.set_mint_account(address).account (#1236) lacks a zero-check on :
- _mint_account = account (#1237)
Check that the address is not zero.
Additional information: link
StakingToken._reserve(address,uint256) (#1177-1191) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_balances[who] >= amount,StakingToken: user's free balance is not enough) (#1179-1182)
StakingToken._unreserve(address,uint256) (#1193-1206) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_reserved_balances[who] >= amount,StakingToken: not enough reserved balance) (#1194-1197)
StakingToken._moveDelegates(address,address,uint256) (#1240-1266) uses timestamp for comparisons
Dangerous comparisons:
- srcRep != dstRep && amount > 0 (#1245)
StakingToken.mint_and_lock(address,uint256,uint256,uint256) (#1372-1391) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(llocks[to_whom].remains_in_lock == 0) (#1378)
StakingToken.can_claim() (#1393-1416) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < begins (#1404)
StakingToken.claim() (#1418-1453) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_reserved_balances[_msgSender()] > 0,StakingToken::claim: sender has no reserved balance) (#1419-1422)
- require(bool,string)(llocks[_msgSender()].remains_in_lock > 0,StakingToken::claim: sender has no locks) (#1423-1426)
- require(bool,string)(block.timestamp > begins,StakingToken::claim: release has not begin yet) (#1431-1434)
- llwf.remains_in_lock <= released_amount (#1443)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#279-290) uses assembly
- INLINE ASM (#286-288)
Address._verifyCallResult(bool,bytes,string) (#483-504) uses assembly
- INLINE ASM (#496-499)
StakingToken.getChainId() (#1290-1296) uses assembly
- INLINE ASM (#1292-1294)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.7.0', '>=0.6.0<0.8.0', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (#7)
- >=0.6.2<0.8.0 (#256)
- >=0.6.0<0.8.0 (#511)
- >=0.6.0<0.8.0 (#604)
- >=0.6.0<0.8.0 (#631)
- >=0.6.0<0.8.0 (#637)
- >=0.6.0<0.8.0 (#769)
- >=0.6.0<0.7.0 (#833)
Use one Solidity version.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#483-504) is never used and should be removed
Address.functionCall(address,bytes) (#340-345) is never used and should be removed
Address.functionCall(address,bytes,string) (#353-359) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#372-384) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#392-408) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#453-463) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#471-481) is never used and should be removed
Address.functionStaticCall(address,bytes) (#416-427) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#435-445) is never used and should be removed
Address.isContract(address) (#279-290) is never used and should be removed
Address.sendValue(address,uint256) (#308-320) is never used and should be removed
Context._msgData() (#621-624) is never used and should be removed
SafeERC20._callOptionalReturn(IERC20,bytes) (#744-762) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (#682-699) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (#718-736) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (#701-716) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (#652-661) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (#663-673) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#218-225) is never used and should be removed
SafeMath.mod(uint256,uint256) (#176-179) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#242-249) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#28-36) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#76-83) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#90-97) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#57-69) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#43-50) is never used and should be removed
StakingToken._setupDecimals(uint8) (#1148-1150) is never used and should be removed
StakingToken.getChainId() (#1290-1296) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#7) is too complex
Pragma version>=0.6.2<0.8.0 (#256) is too complex
Pragma version>=0.6.0<0.8.0 (#511) is too complex
Pragma version>=0.6.0<0.8.0 (#604) is too complex
Pragma version>=0.6.0<0.8.0 (#631) is too complex
Pragma version>=0.6.0<0.8.0 (#637) is too complex
Pragma version>=0.6.0<0.8.0 (#769) is too complex
Pragma version>=0.6.0<0.7.0 (#833) 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) (#308-320):
- (success) = recipient.call{value: amount}() (#315)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#392-408):
- (success,returndata) = target.call{value: value}(data) (#405-406)
Low level call in Address.functionStaticCall(address,bytes,string) (#435-445):
- (success,returndata) = target.staticcall(data) (#443)
Low level call in Address.functionDelegateCall(address,bytes,string) (#471-481):
- (success,returndata) = target.delegatecall(data) (#479)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function StakingToken.transfer_ownership(address) (#924-926) is not in mixedCase
Parameter StakingToken.transfer_ownership(address).new_owner (#924) is not in mixedCase
Function StakingToken.set_epoch(uint256) (#932-934) is not in mixedCase
Function StakingToken.mint_account() (#936-938) is not in mixedCase
Parameter StakingToken.allowance(address,address).account_owner (#993) is not in mixedCase
Function StakingToken.reserve_from(address,uint256) (#1220-1226) is not in mixedCase
Function StakingToken.unreserve_from(address,uint256) (#1228-1234) is not in mixedCase
Function StakingToken.set_mint_account(address) (#1236-1238) is not in mixedCase
Function StakingToken.mint_and_lock(address,uint256,uint256,uint256) (#1372-1391) is not in mixedCase
Parameter StakingToken.mint_and_lock(address,uint256,uint256,uint256).to_whom (#1373) is not in mixedCase
Parameter StakingToken.mint_and_lock(address,uint256,uint256,uint256).frozen_hell (#1376) is not in mixedCase
Function StakingToken.can_claim() (#1393-1416) is not in mixedCase
Variable StakingToken._mint_account (#850) is not in mixedCase
Variable StakingToken._balances (#854) is not in mixedCase
Variable StakingToken._reserved_balances (#855) is not in mixedCase
Variable StakingToken._allowances (#856) is not in mixedCase
Modifier StakingToken.owner_only() (#911-914) is not in mixedCase
Modifier StakingToken.mint_auth_required() (#916-922) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#622)" inContext (#616-625)
Remove redundant statements if they congest code but offer no value.
Additional information: link
transfer_ownership(address) should be declared external:
- StakingToken.transfer_ownership(address) (#924-926)
owner() should be declared external:
- StakingToken.owner() (#928-930)
set_epoch(uint256) should be declared external:
- StakingToken.set_epoch(uint256) (#932-934)
mint_account() should be declared external:
- StakingToken.mint_account() (#936-938)
name() should be declared external:
- StakingToken.name() (#940-942)
symbol() should be declared external:
- StakingToken.symbol() (#944-946)
decimals() should be declared external:
- StakingToken.decimals() (#948-950)
cap() should be declared external:
- StakingToken.cap() (#956-958)
softCap() should be declared external:
- StakingToken.softCap() (#960-962)
setSoftCap(uint256) should be declared external:
- StakingToken.setSoftCap(uint256) (#964-971)
balanceOf(address) should be declared external:
- StakingToken.balanceOf(address) (#973-980)
transfer(address,uint256) should be declared external:
- StakingToken.transfer(address,uint256) (#982-991)
approve(address,uint256) should be declared external:
- StakingToken.approve(address,uint256) (#1003-1011)
transferFrom(address,address,uint256) should be declared external:
- StakingToken.transferFrom(address,address,uint256) (#1013-1028)
increaseAllowance(address,uint256) should be declared external:
- StakingToken.increaseAllowance(address,uint256) (#1030-1041)
decreaseAllowance(address,uint256) should be declared external:
- StakingToken.decreaseAllowance(address,uint256) (#1043-1057)
mint(uint256) should be declared external:
- StakingToken.mint(uint256) (#1059-1068)
burn(uint256) should be declared external:
- StakingToken.burn(uint256) (#1070-1073)
burnFrom(address,uint256) should be declared external:
- StakingToken.burnFrom(address,uint256) (#1075-1084)
reservedOf(address) should be declared external:
- StakingToken.reservedOf(address) (#1208-1210)
actualBalanceOf(address) should be declared external:
- StakingToken.actualBalanceOf(address) (#1212-1218)
reserve_from(address,uint256) should be declared external:
- StakingToken.reserve_from(address,uint256) (#1220-1226)
unreserve_from(address,uint256) should be declared external:
- StakingToken.unreserve_from(address,uint256) (#1228-1234)
set_mint_account(address) should be declared external:
- StakingToken.set_mint_account(address) (#1236-1238)
delegate(address) should be declared external:
- StakingToken.delegate(address) (#1302-1304)
getPriorVotes(address,uint256) should be declared external:
- StakingToken.getPriorVotes(address,uint256) (#1324-1360)
mint_and_lock(address,uint256,uint256,uint256) should be declared external:
- StakingToken.mint_and_lock(address,uint256,uint256,uint256) (#1372-1391)
can_claim() should be declared external:
- StakingToken.can_claim() (#1393-1416)
claim() should be declared external:
- StakingToken.claim() (#1418-1453)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
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
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to verify token contract address 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
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid