Sheesha Finance is a DeFi staking platform that provides cryptocurrency portfolio diversification and rewards from a variety of different projects spanning the DeFi, Gaming, Metaverse and NFT space. Holders of the Sheesha tokens can stake them on its platform, earning passive token rewards for some of the hottest projects in the crypto space!
Sheesha Finance is an ambitious, one-of-a-kind, fiery DeFi multi-chain platform offering a level playing field for all investors to access a diversified portfolio of projects. Founded and supported by established investment leaders in the blockchain space, Sheesha Finance’s exceptional team has experience in over 50 token launches. Emerging from the multicultural and dynamic city of Dubai, Sheesha Finance is gearing up to erupt with the world’s best selection of DeFi flavours.
Sheesha Finance is well-positioned as the DeFi project underpinning an interconnected and thriving ecosystem. Sheesha Finance opens your project to top tier VC access, project incubation and ecosystem support, diverse token holders and project stability throughout your acceleration phase.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in LGE.addLiquidityToUniswapSHEESHAxWETHPair() (#1238-1261):
External calls:
- IWETH(WETH).deposit{value: totalETHContributed}() (#1251)
- IWETH(WETH).transfer(address(pair),totalETHContributed) (#1253)
- pair.mint(address(this)) (#1255)
External calls sending eth:
- IWETH(WETH).deposit{value: totalETHContributed}() (#1251)
State variables written after the call(s):
- LPGenerationCompleted = true (#1260)
Apply the check-effects-interactions pattern.
Additional information: link
LGE.addLiquidityToUniswapSHEESHAxWETHPair() (#1238-1261) ignores return value by IWETH(WETH).transfer(address(pair),totalETHContributed) (#1253)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
LGE.addLiquidityToUniswapSHEESHAxWETHPair() (#1238-1261) uses a dangerous strict equality:
- require(bool,string)(address(this).balance == 0,Transfer Failed) (#1252)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
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.
LGE.claimAndStakeLP(uint256) (#1296-1306) ignores return value by IUniswapV2Pair(SHEESHAxWETHPair).approve(vault,uint256(- 1)) (#1304)
Ensure that all the return values of the function calls are used.
Additional information: link
SHEESHA.constructor(address,address,address,address)._reserveAddress (#1102) lacks a zero-check on :
- reserveAddress = _reserveAddress (#1106)
Check that the address is not zero.
Additional information: link
Reentrancy in LGE.claimAndStakeLP(uint256) (#1296-1306):
External calls:
- vault = sheeshaGlobals.SHEESHAVaultLPAddress() (#1303)
- IUniswapV2Pair(SHEESHAxWETHPair).approve(vault,uint256(- 1)) (#1304)
- ISHEESHAVaultLP(vault).depositFor(msg.sender,_pid,_claimLPTokens()) (#1305)
State variables written after the call(s):
- ISHEESHAVaultLP(vault).depositFor(msg.sender,_pid,_claimLPTokens()) (#1305)
- claimed[msg.sender] = true (#1292)
- ISHEESHAVaultLP(vault).depositFor(msg.sender,_pid,_claimLPTokens()) (#1305)
- ethContributed[msg.sender] = 0 (#1291)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LGE.constructor(address,address,ISHEESHAGlobals,address,address,address,address) (#1183-1205):
External calls:
- createUniswapPairMainnet() (#1202)
- SHEESHAxWETHPair = uniswapFactory.createPair(address(uniswapRouterV2.WETH()),address(this)) (#1223-1226)
State variables written after the call(s):
- contractStartTimestamp = block.timestamp (#1203)
- sheeshaGlobals = _sheeshaGlobals (#1204)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LGE.addLiquidityToUniswapSHEESHAxWETHPair() (#1238-1261):
External calls:
- IWETH(WETH).deposit{value: totalETHContributed}() (#1251)
- IWETH(WETH).transfer(address(pair),totalETHContributed) (#1253)
External calls sending eth:
- IWETH(WETH).deposit{value: totalETHContributed}() (#1251)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#873)
- transfer(address(pair),lgeSupply) (#1254)
Apply the check-effects-interactions pattern.
Additional information: link
LGE.addLiquidity() (#1268-1281) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(liquidityGenerationOngoing() == true,Liquidity Generation Event over) (#1269-1272)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#454-471) uses assembly
- INLINE ASM (#463-466)
Do not use evm assembly.
Additional information: link
LGE.claimAndStakeLP(uint256) (#1296-1306) compares to a boolean constant:
-require(bool,string)(claimed[msg.sender] == false,LGE : Already claimed) (#1302)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.7.6', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (#3)
- >=0.5.0 (#81)
- >=0.5.0 (#136)
- >=0.6.2 (#156)
- >=0.6.2 (#254)
- >=0.5.0 (#300)
- >=0.6.2<0.8.0 (#310)
- >=0.6.0<0.8.0 (#476)
- >=0.6.0<0.8.0 (#501)
- >=0.6.0<0.8.0 (#661)
- >=0.6.0<0.8.0 (#967)
- >=0.6.0<0.8.0 (#1009)
- 0.7.6 (#1077)
- 0.7.6 (#1130)
- 0.7.6 (#1143)
Use one Solidity version.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#653-656) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#1009) is too complex
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.functionStaticCall(address,bytes,string) (#446-452):
- (success,returndata) = target.staticcall(data) (#450)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant LGE.lgeSupply (#1170) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#494)" inContext (#488-497)
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 (#165) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#166)
Prevent variables from having similar names.
Additional information: link
LGE.slitherConstructorConstantVariables() (#1160-1324) uses literals with too many digits:
- initialSupply = 100000e18 (#1086)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
getLPTokens(address) should be declared external:
- LGE.getLPTokens(address) (#1308-1314)
Use the external attribute for functions never called from the contract.
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 a considerable age, but social accounts / website are missing or have few users
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid