Flipper Token Token Logo

FLIP [Flipper] Token

About FLIP

Listings

Token 2 years
white paper

Flipper token is a cute buyback based crypto game. Where you can bet bnb against tokens for the chance to win an instant 2x! All BNB is accumulated in the buyback wallet and used to support the chart when needed! Players of the game not only avoid buyside fees, but they also are entered into a competition where the top 3 on the leaderboard split an accumulating prize pool

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...)

FlipperToken.swapBack() (#580-605) sends eth to arbitrary user
Dangerous calls:
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#602)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#603)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FlipperToken._transferFrom(address,address,uint256) (#506-530):
External calls:
- swapBack() (#515)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#589-595)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#602)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#603)
- triggerAutoBuyback() (#516)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#648-653)
External calls sending eth:
- swapBack() (#515)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#602)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#603)
- triggerAutoBuyback() (#516)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#648-653)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#518)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#521)
- amountReceived = takeFee(sender,recipient,amount) (#520)
- _balances[gameContract] = _balances[gameContract].add(gameTokens) (#566)
- _balances[address(this)] = _balances[address(this)].add(feeAmount).sub(gameTokens) (#567)
- triggerAutoBuyback() (#516)
- inSwap = true (#441)
- inSwap = false (#441)
Apply the check-effects-interactions pattern.

Additional information: link

FlipperToken.rescueToken(address,address) (#757-759) ignores return value by IBEP20(token).transfer(to,IBEP20(token).balanceOf(address(this))) (#758)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

FlipperToken.slitherConstructorVariables() (#381-802) uses literals with too many digits:
- maxGasPrice = 10000000000 (#443)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FlipperToken.maxGasPrice (#443) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getCirculatingSupply() should be declared external:
- FlipperToken.getCirculatingSupply() (#796-798)
Use the external attribute for functions never called from the contract.

Additional information: link

FlipperToken.takeFee(address,address,uint256) (#562-571) performs a multiplication on the result of a division:
-feeAmount = amount.mul(getTotalFee(receiver == pair)).div(feeDenominator) (#563)
-gameTokens = feeAmount.mul(gameFee).div(totalFee) (#564)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#258-272):
External calls:
- distributeDividend(shareholder) (#260)
- rewardsToken.transfer(shareholder,amount) (#331)
State variables written after the call(s):
- shares[shareholder].amount = amount (#270)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#271)
Apply the check-effects-interactions pattern.

Additional information: link

FlipperToken.setSwapBackSettings(bool,uint256) (#727-730) should emit an event for:
- swapThreshold = _amount (#729)
Emit an event for critical parameter changes.

Additional information: link

FlipperToken.setDevFeeReceiver(address)._devFeeReceiver (#723) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#724)
Check that the address is not zero.

Additional information: link

FlipperToken.multiTransfer(address,address[],uint256[]) (#761-785) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],balanceOf(addresses[i_scope_0])) (#777)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in FlipperToken.triggerManualBuyback(uint256,bool) (#615-621):
External calls:
- buyTokens(amount,DEAD) (#616)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#648-653)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#618)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FlipperToken.triggerManualBuyback(uint256,bool) (#615-621):
External calls:
- buyTokens(amount,DEAD) (#616)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#648-653)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#619)
Apply the check-effects-interactions pattern.

Additional information: link

FlipperToken.multiTransfer(address,address[],uint256[]) (#761-785) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(balanceOf(from) >= totalAirdropTokens,Not enough tokens in wallet) (#772)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#294-318) has costly operations inside a loop:
- currentIndex ++ (#315)
Use a local variable to hold the loop computation result.

Additional information: link

FlipperToken.swapThreshold (#439) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000
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.9 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 FlipperToken.swapBack() (#580-605):
- (successMarketing) = address(marketingFeeReceiver).call{gas: 3000000,value: amountBNBMarketing}() (#602)
- (successDev) = address(devFeeReceiver).call{gas: 3000000,value: amountBNBDev}() (#603)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable FlipperToken._allowances (#397) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#155) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#156)
Prevent variables from having similar names.

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 Youtube account


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

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


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


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


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for FLIP