Erosswap - is an erotic yield farm platform running on Binance Smart Chain with fair launch on Pancake swap exchange. The most important features are: Referral Systems Trio(3% from every transaction, 3% from each exchange, 3% from harvests), auto buyback system integrated into farm with BNB/BUSD reward and anti whale + anti bot system. Our main goal in the future - creation of an erotic NFT marketplace and build a system around it.
BEP20e._swapETHForTokens(uint256,address) (#846-861) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_recipient,block.timestamp.add(300)) (#853-858)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BEP20e.transferFrom(address,address,uint256) (#532-539):
External calls:
- _transfer(_from,_to,_amount) (#535)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_recipient,block.timestamp.add(300)) (#853-858)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#835-841)
- referral.addRewards(referrer,token,burnFeeAmount) (#772)
External calls sending eth:
- _transfer(_from,_to,_amount) (#535)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_recipient,block.timestamp.add(300)) (#853-858)
State variables written after the call(s):
- _approve(_from,msg.sender,allowances[_from][msg.sender].sub(_amount)) (#536)
- allowances[_from][_to] = _amount (#739)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
Reentrancy in BEP20e._transfer(address,address,uint256) (#743-819):
External calls:
- referral.addRewards(referrer,token,burnFeeAmount) (#772)
- _swapMarketing(marketingSwapAmount) (#795)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#835-841)
- _swapBuyback(swapAmount) (#802)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#835-841)
State variables written after the call(s):
- _swapBuyback(swapAmount) (#802)
- buybackBalance = buybackBalance.sub(_swapAmount) (#714)
- _swapBuyback(swapAmount) (#802)
- inSwap = true (#471)
- inSwap = false (#473)
Apply the check-effects-interactions pattern.
Additional information: link
BEP20e.setMarketingAddress(address)._marketingAddress (#599) lacks a zero-check on :
- marketingAddress = _marketingAddress (#602)
Check that the address is not zero.
Additional information: link
Reentrancy in ErosToken.constructor(address,IReferral) (#867-873):
External calls:
- BEP20e(Eros,EROS,_router,_referral) (#867)
- pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#483)
State variables written after the call(s):
- _mint(msg.sender,1000000 * 10 ** uint256(decimals)) (#868)
- balances[_to] = balances[_to].add(_amount) (#722)
- burnFee = 300 (#870)
- buybackFee = 300 (#872)
- marketingFee = 300 (#871)
- _mint(msg.sender,1000000 * 10 ** uint256(decimals)) (#868)
- totalSupply = totalSupply.add(_amount) (#721)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BEP20e.transferFrom(address,address,uint256) (#532-539):
External calls:
- _transfer(_from,_to,_amount) (#535)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_recipient,block.timestamp.add(300)) (#853-858)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#835-841)
- referral.addRewards(referrer,token,burnFeeAmount) (#772)
External calls sending eth:
- _transfer(_from,_to,_amount) (#535)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_recipient,block.timestamp.add(300)) (#853-858)
Event emitted after the call(s):
- Approval(_from,_to,_amount) (#740)
- _approve(_from,msg.sender,allowances[_from][msg.sender].sub(_amount)) (#536)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMath.sqrt(uint256) (#404-415) is never used and should be removed
Remove unused functions.
Additional information: link
Parameter BEP20e.setReferral(IReferral)._referral (#697) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable BEP20e.maxMarketingSwapAmount (#447) is too similar to BEP20e.minMarketingSwapAmount (#446)
Prevent variables from having similar names.
Additional information: link
ErosToken.slitherConstructorVariables() (#866-875) uses literals with too many digits:
- maxBuybackAmount = 1500000000000000000 (#456)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BEP20e.decimals (#425) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
swapBuyback(uint256) should be declared external:
- BEP20e.swapBuyback(uint256) (#590-597)
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 from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find whitepaper 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 scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account