Open new trend of 2022 by Bet2earn while everyone is heading to the biggest football event at the end of this year - World cup 2022 in Qatar. Sportsbetting is born and brings BLOCKCHAIN TO THE SPORTS BETTING - the greatest way to enjoy sports completely. ✅SAFU by PINKSALES PARTNER (KYC & AUDIT) ✅Bet2Earn WEB3 platform✅Reward BUSD 2%🔥Testnet bet2earn platform before launching, main net after listing PCS🔥Low tax🔥Whitelist and no minting token✅
SPORTSBETTING.contractSwap(uint256) (#672-706) sends eth to arbitrary user
Dangerous calls:
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SPORTSBETTING._transfer(address,address,uint256) (#548-595):
External calls:
- contractSwap(contractTokenBalance) (#589)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#686-692)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- antiSnipe.checkUser(from,to,amount) (#607-611)
- reflector.cashout(reflectorGas) (#644)
External calls sending eth:
- contractSwap(contractTokenBalance) (#589)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- _liquidityHolders[from] = true (#711)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- _tOwned[address(this)] += feeAmount (#666)
- _tOwned[from] -= amount (#623)
- _tOwned[to] += amountReceived (#628)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- antiSnipe = AntiSnipe(address(this)) (#714)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- contractSwapEnabled = true (#719)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- reflector = Cashier(address(this)) (#717)
Apply the check-effects-interactions pattern.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in SPORTSBETTING.enableTrading() (#427-440):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#433)
- reflector.initialize() (#434)
State variables written after the call(s):
- tradingEnabled = true (#435)
Reentrancy in SPORTSBETTING.transferOwner(address) (#267-283):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#276)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- antiSnipe.checkUser(from,to,amount) (#607-611)
- reflector.cashout(reflectorGas) (#644)
State variables written after the call(s):
- _owner = newOwner (#280)
Apply the check-effects-interactions pattern.
Additional information: link
SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#607) is a local variable never initialized
SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool).checked (#606) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634) ignores return value by antiSnipe.checkUser(from,to,amount) (#607-611)
Ensure that all the return values of the function calls are used.
Additional information: link
SPORTSBETTING.setMaxTxPercent(uint256,uint256) (#465-468) should emit an event for:
- _maxTxAmount = (_tTotal * percent) / divisor (#467)
SPORTSBETTING.setMaxWalletSize(uint256,uint256) (#470-473) should emit an event for:
- _maxWalletSize = (_tTotal * percent) / divisor (#472)
SPORTSBETTING.setSwapSettings(uint256,uint256,uint256,uint256) (#487-492) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#488)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#489)
SPORTSBETTING.setPriceImpactSwapAmount(uint256) (#494-497) should emit an event for:
- piSwapPercent = priceImpactSwapPercent (#496)
SPORTSBETTING.setReflectorSettings(uint256) (#511-514) should emit an event for:
- reflectorGas = gas (#513)
Emit an event for critical parameter changes.
Additional information: link
SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#607-611)
SPORTSBETTING.processRewards(address,address) (#636-646) has external calls inside a loop: reflector.tally(from,_tOwned[from]) (#638)
SPORTSBETTING.processRewards(address,address) (#636-646) has external calls inside a loop: reflector.tally(to,_tOwned[to]) (#641)
SPORTSBETTING.processRewards(address,address) (#636-646) has external calls inside a loop: reflector.cashout(reflectorGas) (#644)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#607)' in SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634) potentially used before declaration: checked = check (#608)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in SPORTSBETTING._transfer(address,address,uint256) (#548-595):
External calls:
- contractSwap(contractTokenBalance) (#589)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#686-692)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- antiSnipe.checkUser(from,to,amount) (#607-611)
- reflector.cashout(reflectorGas) (#644)
External calls sending eth:
- contractSwap(contractTokenBalance) (#589)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- allowedPresaleExclusion = false (#720)
Reentrancy in SPORTSBETTING.constructor() (#223-260):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#246)
State variables written after the call(s):
- _approve(_owner,address(dexRouter),type()(uint256).max) (#249)
- _allowances[sender][spender] = amount (#316)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#250)
- _allowances[sender][spender] = amount (#316)
- _isExcludedFromDividends[_owner] = true (#255)
- _isExcludedFromDividends[lpPair] = true (#256)
- _isExcludedFromDividends[address(this)] = true (#257)
- _isExcludedFromDividends[DEAD] = true (#258)
- _isExcludedFromDividends[ZERO] = true (#259)
- _isExcludedFromFees[_owner] = true (#252)
- _isExcludedFromFees[address(this)] = true (#253)
- _isExcludedFromFees[DEAD] = true (#254)
- lpPairs[lpPair] = true (#247)
Reentrancy in SPORTSBETTING.enableTrading() (#427-440):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#433)
- reflector.initialize() (#434)
State variables written after the call(s):
- allowedPresaleExclusion = false (#437)
- processReflect = true (#436)
- swapAmount = (balanceOf(lpPair) * 30) / 10000 (#439)
- swapThreshold = (balanceOf(lpPair) * 10) / 10000 (#438)
Reentrancy in SPORTSBETTING.excludePresaleAddresses(address,address) (#516-533):
External calls:
- setDividendExcluded(router,true) (#530)
- reflector.tally(holder,0) (#396)
- reflector.tally(holder,_tOwned[holder]) (#398)
- setDividendExcluded(presale,true) (#531)
- reflector.tally(holder,0) (#396)
- reflector.tally(holder,_tOwned[holder]) (#398)
State variables written after the call(s):
- setDividendExcluded(presale,true) (#531)
- _isExcludedFromDividends[holder] = enabled (#394)
Reentrancy in SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634):
External calls:
- antiSnipe.checkUser(from,to,amount) (#607-611)
State variables written after the call(s):
- _tOwned[from] -= amount (#623)
- amountReceived = takeTaxes(from,amount,buy,sell,other) (#626)
- _tOwned[address(this)] += feeAmount (#666)
- _tOwned[to] += amountReceived (#628)
Reentrancy in SPORTSBETTING.setNewRouter(address) (#337-349):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#342)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#348)
- _allowances[sender][spender] = amount (#316)
- dexRouter = _newRouter (#347)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SPORTSBETTING._transfer(address,address,uint256) (#548-595):
External calls:
- contractSwap(contractTokenBalance) (#589)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#686-692)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- antiSnipe.checkUser(from,to,amount) (#607-611)
- reflector.cashout(reflectorGas) (#644)
External calls sending eth:
- contractSwap(contractTokenBalance) (#589)
- reflector.load{value: rewardsBalance}() (#700)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#721)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- Transfer(from,address(this),feeAmount) (#667)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
- Transfer(from,to,amountReceived) (#632)
- finalizeTransfer(from,to,amount,buy,sell,other) (#594)
Reentrancy in SPORTSBETTING.constructor() (#223-260):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#246)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#317)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#250)
- Approval(sender,spender,amount) (#317)
- _approve(_owner,address(dexRouter),type()(uint256).max) (#249)
Reentrancy in SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634):
External calls:
- antiSnipe.checkUser(from,to,amount) (#607-611)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#667)
- amountReceived = takeTaxes(from,amount,buy,sell,other) (#626)
Reentrancy in SPORTSBETTING.finalizeTransfer(address,address,uint256,bool,bool,bool) (#597-634):
External calls:
- antiSnipe.checkUser(from,to,amount) (#607-611)
- processRewards(from,to) (#630)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- reflector.cashout(reflectorGas) (#644)
Event emitted after the call(s):
- Transfer(from,to,amountReceived) (#632)
Reentrancy in SPORTSBETTING.setNewRouter(address) (#337-349):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#342)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#317)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#348)
Reentrancy in SPORTSBETTING.transferOwner(address) (#267-283):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#276)
- reflector.tally(from,_tOwned[from]) (#638)
- reflector.tally(to,_tOwned[to]) (#641)
- antiSnipe.checkUser(from,to,amount) (#607-611)
- reflector.cashout(reflectorGas) (#644)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#281)
Apply the check-effects-interactions pattern.
Additional information: link
SPORTSBETTING.setLpPair(address,bool) (#351-363) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#356)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,Cannot set a new pair this week!) (#357)
Avoid relying on block.timestamp.
Additional information: link
SPORTSBETTING._checkLiquidityAdd(address,address) (#708-723) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#712)
SPORTSBETTING._checkLiquidityAdd(address,address) (#708-723) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#714)
SPORTSBETTING._checkLiquidityAdd(address,address) (#708-723) has costly operations inside a loop:
- reflector = Cashier(address(this)) (#717)
SPORTSBETTING._checkLiquidityAdd(address,address) (#708-723) has costly operations inside a loop:
- contractSwapEnabled = true (#719)
SPORTSBETTING._checkLiquidityAdd(address,address) (#708-723) has costly operations inside a loop:
- allowedPresaleExclusion = false (#720)
Use a local variable to hold the loop computation result.
Additional information: link
Pragma version>=0.6.0<0.9.0 (#2) is too complex
solc-0.8.15 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 SPORTSBETTING.contractSwap(uint256) (#672-706):
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#704)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter01.WETH() (#33) is not in mixedCase
Function Cashier._setToken(address) (#115) is not in mixedCase
Parameter SPORTSBETTING.setProtectionSettings(bool,bool)._antiSnipe (#423) is not in mixedCase
Parameter SPORTSBETTING.setProtectionSettings(bool,bool)._antiBlock (#423) is not in mixedCase
Parameter SPORTSBETTING.setRewardsProperties(uint256,uint256,uint256)._minPeriod (#506) is not in mixedCase
Parameter SPORTSBETTING.setRewardsProperties(uint256,uint256,uint256)._minReflection (#506) is not in mixedCase
Variable SPORTSBETTING._tOwned (#122) is not in mixedCase
Variable SPORTSBETTING._allowances (#125) is not in mixedCase
Constant SPORTSBETTING.startingSupply (#135) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING._name (#137) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING._symbol (#138) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING._decimals (#139) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING._tTotal (#141) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SPORTSBETTING._taxRates (#155-159) is not in mixedCase
Variable SPORTSBETTING._ratios (#161-165) is not in mixedCase
Constant SPORTSBETTING.maxBuyTaxes (#167) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING.maxSellTaxes (#168) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING.maxTransferTaxes (#169) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING.maxRoundtripTax (#170) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SPORTSBETTING.masterTaxDivisor (#171) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SPORTSBETTING._taxWallets (#185-187) is not in mixedCase
Variable SPORTSBETTING._hasLiqBeenAdded (#205) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#45) is too similar to IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#46)
Variable SPORTSBETTING.setInitializers(address,address).aInitializer (#365) is too similar to SPORTSBETTING.setInitializers(address,address).cInitializer (#365)
Prevent variables from having similar names.
Additional information: link
SPORTSBETTING.slitherConstructorVariables() (#118-765) uses literals with too many digits:
- reflectorGas = 300000 (#193)
SPORTSBETTING.slitherConstructorConstantVariables() (#118-765) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#178)
SPORTSBETTING.slitherConstructorConstantVariables() (#118-765) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#179)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
approveContractContingency() should be declared external:
- SPORTSBETTING.approveContractContingency() (#320-323)
setNewRouter(address) should be declared external:
- SPORTSBETTING.setNewRouter(address) (#337-349)
isBlacklisted(address) should be declared external:
- SPORTSBETTING.isBlacklisted(address) (#410-412)
enableTrading() should be declared external:
- SPORTSBETTING.enableTrading() (#427-440)
getMaxTX() should be declared external:
- SPORTSBETTING.getMaxTX() (#475-477)
getMaxWallet() should be declared external:
- SPORTSBETTING.getMaxWallet() (#479-481)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token is relatively young, but twitter if very old (probably it's fake).
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account