Fantasy Tales Token Logo

FTS [Fantasy Tales] Token

About FTS

Listings

Token 3 years

Fantasy NFT Game is completely free to play, and truly play to earn. The gap between normal games and NFT games is eliminated.

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

Reentrancy in FantasyToken._transfer(address,address,uint256) (#605-632):
External calls:
- swapTokens(contractTokenBalance) (#620)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#652-658)
External calls sending eth:
- swapTokens(contractTokenBalance) (#620)
- recipient.transfer(amount) (#865)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#631)
- _liquidityFee = _previousLiquidityFee (#811)
- _liquidityFee = 0 (#806)
- _tokenTransfer(from,to,amount,takeFee) (#631)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#782)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#698)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#707)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#699)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#718)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#728)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#709)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#719)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#730)
- _tokenTransfer(from,to,amount,takeFee) (#631)
- _rTotal = _rTotal.sub(rFee) (#737)
- _tokenTransfer(from,to,amount,takeFee) (#631)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#784)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#717)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#727)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#708)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#729)
Apply the check-effects-interactions pattern.

Additional information: link


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

FantasyToken.swapTokens(uint256) (#634-641) performs a multiplication on the result of a division:
-transferToAddressETH(gameTreasuryAddress,transferredBalance.div(_liquidityFee).mul(gameTreasuryDivisor)) (#639)
Consider ordering multiplication before division.

Additional information: link

FantasyToken.addLiquidity(uint256,uint256) (#663-676) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#668-675)
Ensure that all the return values of the function calls are used.

Additional information: link

FantasyToken._approve(address,address,uint256).owner (#597) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.

Additional information: link

FantasyToken.setNumTokensSellToAddToLiquidity(uint256) (#838-840) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#839)
Emit an event for critical parameter changes.

Additional information: link

FantasyToken.setgameTreasuryAddress(address)._gameTreasuryAddress (#843) lacks a zero-check on :
- gameTreasuryAddress = address(_gameTreasuryAddress) (#844)
Check that the address is not zero.

Additional information: link

Reentrancy in FantasyToken.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#652-658)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#865)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
- _allowances[owner][spender] = amount (#601)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FantasyToken.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#652-658)
External calls sending eth:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#865)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#602)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#123-140) uses assembly
- INLINE ASM (#132-135)
Do not use evm assembly.

Additional information: link

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

Additional information: link

FantasyToken._previousLiquidityFee (#438) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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

solc-0.8.0 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 Address._functionCallWithValue(address,bytes,uint256,string) (#123-140):
- (success,returndata) = target.call{value: weiValue}(data) (#126)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable FantasyToken._liquidityFee (#437) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in FantasyToken.transferFrom(address,address,uint256) (#519-523):
External calls:
- _transfer(sender,recipient,amount) (#520)
- recipient.transfer(amount) (#865)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
- _allowances[owner][spender] = amount (#601)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#602)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#521)
Apply the check-effects-interactions pattern.

Additional information: link

Variable FantasyToken._getValues(uint256).rTransferAmount (#743) is too similar to FantasyToken._transferToExcluded(address,address,uint256).tTransferAmount (#706)
Prevent variables from having similar names.

Additional information: link

FantasyToken.slitherConstructorVariables() (#410-871) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#415)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FantasyToken.deadAddress (#415) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

includeInFee(address) should be declared external:
- FantasyToken.includeInFee(address) (#822-824)
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 find website, listings and other project-related information


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for FTS