FIFAPP is the world's first decentralized World Cup NFT marketplace app, build on Binance Smart Chain. FIFAPP's NFT marketplace will be used to celebrate the most memorable football match moments in this game, they are very unique collections and the best ways to connect with football fans from all over the world.
FIFAPP.contractSwap(uint256) (#542-582) sends eth to arbitrary user
Dangerous calls:
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FIFAPP._transfer(address,address,uint256) (#503-540):
External calls:
- contractSwap(contractTokenBalance) (#534)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#556-562)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
External calls sending eth:
- contractSwap(contractTokenBalance) (#534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- _liquidityHolders[from] = true (#587)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- _rOwned[from] -= values.rAmount (#697)
- _rOwned[to] += values.rTransferAmount (#698)
- _rOwned[address(this)] += values.tSwap * values.currentRate (#751)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- _rTotal -= values.rFee (#708)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- _tOwned[from] = _tOwned[from] - tAmount (#701)
- _tOwned[to] = _tOwned[to] + values.tTransferAmount (#704)
- _tOwned[address(this)] += values.tSwap (#753)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- antiSnipe = AntiSnipe(address(this)) (#591)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- contractSwapEnabled = true (#593)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760) performs a multiplication on the result of a division:
-feeAmount = (tAmount * currentFee) / masterTaxDivisor (#739)
-values.tFee = (feeAmount * ratios.reflection) / total (#741)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in FIFAPP.enableTrading() (#598-609):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#604)
State variables written after the call(s):
- tradingEnabled = true (#605)
Reentrancy in FIFAPP.finalizeTransfer(address,address,uint256,bool,bool,bool) (#682-713):
External calls:
- values = takeTaxes(from,to,tAmount,takeFee,buy,sell,other) (#695)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
State variables written after the call(s):
- _rOwned[from] -= values.rAmount (#697)
- _rOwned[to] += values.rTransferAmount (#698)
- _rTotal -= values.rFee (#708)
- _tOwned[from] = _tOwned[from] - tAmount (#701)
- _tOwned[to] = _tOwned[to] + values.tTransferAmount (#704)
Reentrancy in FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760):
External calls:
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
State variables written after the call(s):
- _rOwned[address(this)] += values.tSwap * values.currentRate (#751)
- _tOwned[address(this)] += values.tSwap (#753)
Reentrancy in FIFAPP.transferOwner(address) (#253-267):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#260)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
State variables written after the call(s):
- _owner = newOwner (#264)
Apply the check-effects-interactions pattern.
Additional information: link
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool).checked (#722) is a local variable never initialized
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool).check (#723) is a local variable never initialized
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool).values (#716) 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
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760) ignores return value by antiSnipe.checkUser(from,to,tAmount) (#723-724)
Ensure that all the return values of the function calls are used.
Additional information: link
FIFAPP.setSwapSettings(uint256,uint256,uint256,uint256) (#451-457) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#452)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#453)
FIFAPP.setPriceImpactSwapAmount(uint256) (#459-462) should emit an event for:
- piSwapPercent = priceImpactSwapPercent (#461)
Emit an event for critical parameter changes.
Additional information: link
FIFAPP.setOperator(address).newOperator (#278) lacks a zero-check on :
- operator = newOperator (#285)
Check that the address is not zero.
Additional information: link
FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760) has external calls inside a loop: antiSnipe.checkUser(from,to,tAmount) (#723-724)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool).check (#723)' in FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760) potentially used before declaration: checked = check (#724)
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 FIFAPP.constructor() (#211-244):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#234)
State variables written after the call(s):
- _approve(_owner,address(dexRouter),type()(uint256).max) (#237)
- _allowances[sender][spender] = amount (#324)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#238)
- _allowances[sender][spender] = amount (#324)
- _isExcludedFromFees[_owner] = true (#240)
- _isExcludedFromFees[address(this)] = true (#241)
- _isExcludedFromFees[DEAD] = true (#242)
- _liquidityHolders[_owner] = true (#243)
- lpPairs[lpPair] = true (#235)
Reentrancy in FIFAPP.enableTrading() (#598-609):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#604)
State variables written after the call(s):
- allowedPresaleExclusion = false (#606)
- swapAmount = (balanceOf(lpPair) * 30) / 10000 (#608)
- swapThreshold = (balanceOf(lpPair) * 10) / 10000 (#607)
Reentrancy in FIFAPP.setNewRouter(address) (#341-353):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#346)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#352)
- _allowances[sender][spender] = amount (#324)
- dexRouter = _newRouter (#351)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FIFAPP._transfer(address,address,uint256) (#503-540):
External calls:
- contractSwap(contractTokenBalance) (#534)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#556-562)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
External calls sending eth:
- contractSwap(contractTokenBalance) (#534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#594)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- Transfer(from,to,values.tTransferAmount) (#711)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
- Transfer(from,address(this),values.tSwap) (#755)
- finalizeTransfer(from,to,amount,buy,sell,other) (#539)
Reentrancy in FIFAPP.constructor() (#211-244):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#234)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#325)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#238)
- Approval(sender,spender,amount) (#325)
- _approve(_owner,address(dexRouter),type()(uint256).max) (#237)
Reentrancy in FIFAPP.finalizeTransfer(address,address,uint256,bool,bool,bool) (#682-713):
External calls:
- values = takeTaxes(from,to,tAmount,takeFee,buy,sell,other) (#695)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
Event emitted after the call(s):
- Transfer(from,to,values.tTransferAmount) (#711)
Reentrancy in FIFAPP.setNewRouter(address) (#341-353):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#346)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#325)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#352)
Reentrancy in FIFAPP.takeTaxes(address,address,uint256,bool,bool,bool,bool) (#715-760):
External calls:
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
Event emitted after the call(s):
- Transfer(from,address(this),values.tSwap) (#755)
Reentrancy in FIFAPP.transferOwner(address) (#253-267):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#260)
- antiSnipe.checkUser(from,to,tAmount) (#723-724)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#265)
Apply the check-effects-interactions pattern.
Additional information: link
FIFAPP.setLpPair(address,bool) (#355-367) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#360)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#361)
Avoid relying on block.timestamp.
Additional information: link
FIFAPP._checkLiquidityAdd(address,address) (#584-596) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#589)
FIFAPP._checkLiquidityAdd(address,address) (#584-596) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#591)
FIFAPP._checkLiquidityAdd(address,address) (#584-596) has costly operations inside a loop:
- contractSwapEnabled = true (#593)
FIFAPP.finalizeTransfer(address,address,uint256,bool,bool,bool) (#682-713) has costly operations inside a loop:
- _rTotal -= values.rFee (#708)
FIFAPP.setExcludedFromReward(address,bool) (#628-662) has costly operations inside a loop:
- _excluded.pop() (#656)
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.16 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 FIFAPP.contractSwap(uint256) (#542-582):
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#571)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#574)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#577)
- (success,None) = _taxWallets.reserve.call{gas: 35000,value: reserveBalance}() (#580)
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
Parameter FIFAPP.setProtectionSettings(bool,bool)._antiSnipe (#407) is not in mixedCase
Parameter FIFAPP.setProtectionSettings(bool,bool)._antiBlock (#407) is not in mixedCase
Constant FIFAPP.startingSupply (#121) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP._name (#122) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP._symbol (#123) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP._decimals (#124) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP._tTotal (#126) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FIFAPP._taxRates (#145-149) is not in mixedCase
Variable FIFAPP._ratios (#151-158) is not in mixedCase
Constant FIFAPP.maxBuyTaxes (#160) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP.maxSellTaxes (#161) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP.maxTransferTaxes (#162) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP.maxRoundtripTax (#163) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FIFAPP.masterTaxDivisor (#164) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FIFAPP._taxWallets (#178-183) is not in mixedCase
Variable FIFAPP._hasLiqBeenAdded (#193) 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)
Prevent variables from having similar names.
Additional information: link
FIFAPP.slitherConstructorConstantVariables() (#99-790) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#169)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transfer(address,uint256) should be declared external:
- FIFAPP.transfer(address,uint256) (#310-313)
getCirculatingSupply() should be declared external:
- FIFAPP.getCirculatingSupply() (#399-401)
enableTrading() should be declared external:
- FIFAPP.enableTrading() (#598-609)
isExcludedFromReward(address) should be declared external:
- FIFAPP.isExcludedFromReward(address) (#624-626)
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 find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
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 CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account has less than 100 subscribers
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts