Football Fantasy Pro Token Logo

FANTA [Football Fantasy Pro] Token

About FANTA

Listings

Token 2 years

Build your very own Football team in crypto and compete on tournaments to win daily, weekly, monthly prizes and much more!

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

FANTA.swapAndLiquify(uint256) (#947-977) sends eth to arbitrary user
Dangerous calls:
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FANTA._transfer(address,address,uint256) (#897-945):
External calls:
- swapAndLiquify(contractTokenBalance) (#932)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#990-996)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#932)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#944)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1121)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1037)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1046)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1057)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1067)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1038)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1048)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1058)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1069)
- _tokenTransfer(from,to,amount,takeFee) (#944)
- _rTotal = _rTotal.sub(rFee) (#1076)
- _tokenTransfer(from,to,amount,takeFee) (#944)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1123)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1066)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1056)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1047)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1068)
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.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

FANTA.addLiquidity(uint256,uint256) (#999-1012) ignores return value by pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
Ensure that all the return values of the function calls are used.

Additional information: link

FANTA._approve(address,address,uint256).owner (#869) shadows:
- Ownable.owner() (#418-420) (function)
Rename the local variables that shadow another component.

Additional information: link

FANTA.setMaxTxPercent(uint256) (#1175-1180) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1177-1179)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in FANTA.transferFrom(address,address,uint256) (#796-800):
External calls:
- _transfer(sender,recipient,amount) (#797)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#990-996)
External calls sending eth:
- _transfer(sender,recipient,amount) (#797)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#798)
- _allowances[owner][spender] = amount (#873)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FANTA.transferFrom(address,address,uint256) (#796-800):
External calls:
- _transfer(sender,recipient,amount) (#797)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#990-996)
External calls sending eth:
- _transfer(sender,recipient,amount) (#797)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#874)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#798)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#465-470) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#467)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#363-384) uses assembly
- INLINE ASM (#376-379)
Do not use evm assembly.

Additional information: link

FANTA._transfer(address,address,uint256) (#897-945) compares to a boolean constant:
-limit == true && from != owner() && to != owner() (#905)
Remove the equality to the boolean constant.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#243-246) is never used and should be removed
Remove unused functions.

Additional information: link

FANTA._maxTxAmount (#718) is set pre-construction with a non-constant function or state variable:
- _tTotal
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#363-384):
- (success,returndata) = target.call{value: weiValue}(data) (#367)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable FANTA._maxTxAmount (#718) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in FANTA.transferFrom(address,address,uint256) (#796-800):
External calls:
- _transfer(sender,recipient,amount) (#797)
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
External calls sending eth:
- _transfer(sender,recipient,amount) (#797)
- pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1004-1011)
- wallet.transfer(oneThird) (#967)
- rewardsWallet.transfer(oneThird) (#968)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#798)
- _allowances[owner][spender] = amount (#873)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#874)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#798)
Apply the check-effects-interactions pattern.

Additional information: link

Variable FANTA._transferBothExcluded(address,address,uint256).rTransferAmount (#1065) is too similar to FANTA._getValues(uint256).tTransferAmount (#1081)
Prevent variables from having similar names.

Additional information: link

FANTA.slitherConstructorVariables() (#686-1190) uses literals with too many digits:
- _tTotal = 100000000 * 10 ** 18 (#699)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FANTA.minTokensBeforeSwap (#726) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setSwapAndLiquifyEnabled(bool) should be declared external:
- FANTA.setSwapAndLiquifyEnabled(bool) (#1182-1185)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


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


Unable to crawl data from the website


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for FANTA