Flavors BSC is a community rewarding token designed to ""tokenize"" marketing by offering passive rewards in two projects on the Binance Smart Chain at a time. Flavors holders are introduced to collaborative projects allowing them to diversify their portfolios, through both the rewarding system and the ability to get access to vetted presales.
Tokenized marketing enables Flavors to inject liquidity and act as its own ""market maker,"" providing a stable liquidity pool to ensure the life of the token is determined by the ability to give exposure to new and successful tokens, as well as with specific developments planned to bring value to DeFi.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Flavors._swapAndSend() (#1988-2021) sends eth to arbitrary user
Dangerous calls:
- (success0) = address(dripper1).call{gas: gas_dripper1,value: toDrip1}() (#2010)
- (success1) = address(creamery).call{gas: gas_creamery,value: toCreamery}() (#2017)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Flavors.startTheMusic_OICM() (#1421-1453):
External calls:
- _creamAndFreeze(flvPerNativeCoin.mul(value).div(1e18),value) (#1438)
- (amountToken,amountETH,liquidity) = Router.addLiquidityETH{value: pairedTokenAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1815-1822)
- Pair.approve(pair,liquidity) (#1853)
- Pair.transfer(address(0),liquidity.div(2)) (#1855)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Pair.transfer(iceCreamMan,liquidity.mul(fee_icm).div(FEE_DENOMINATOR)) (#1857)
- Pair.transfer(creamery,Pair.balanceOf(address(this))) (#1859)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- cream(address(0x0000000000000000000000000000000000000001),1_000_000_000) (#1439)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- cream(address(0x000000000000000000000000000000000000dEaD),1_000_000_000) (#1440)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
External calls sending eth:
- _creamAndFreeze(flvPerNativeCoin.mul(value).div(1e18),value) (#1438)
- (amountToken,amountETH,liquidity) = Router.addLiquidityETH{value: pairedTokenAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1815-1822)
State variables written after the call(s):
- cream(address(0x000000000000000000000000000000000000dEaD),1_000_000_000) (#1440)
- _balance[holder] = holderBalance.add(value) (#1698)
- cream(address(0x000000000000000000000000000000000000dEaD),1_000_000_000) (#1440)
- totalSupply = totalSupply.add(value) (#1719)
Apply the check-effects-interactions pattern.
Additional information: link
Flavors.adminTokenWithdrawal_OAD(address,uint256) (#2566-2577) ignores return value by ERC20Instance.transfer(owner,halfAmount) (#2574)
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.
IOwnableFlavors.initialize1(address,address,address,address,address).creamery (#1175) shadows:
- IOwnableFlavors.creamery() (#1217) (function)
Rename the local variables that shadow another component.
Additional information: link
Flavors.initialize(address,address,address,address,address,address,address,address)._ownableFlavors (#1342) lacks a zero-check on :
- ownable = _ownableFlavors (#1376)
Check that the address is not zero.
Additional information: link
Reentrancy in Flavors.setPresales_OICM(address,address,address,bool,bool,bool) (#1525-1542):
External calls:
- _setPresale0(presale0_mig,sellRestrict0) (#1537)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Dripper0.setShare_OFT(holder,0) (#2073)
- Dripper1.setShare_OFT(holder,0) (#2074)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- _setPresale1(presale1_pri,sellRestrict1) (#1539)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Dripper0.setShare_OFT(holder,0) (#2073)
- Dripper1.setShare_OFT(holder,0) (#2074)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- _setPresale2(presale2_pub,sellRestrict2) (#1541)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- Dripper0.setShare_OFT(holder,0) (#2073)
- Dripper1.setShare_OFT(holder,0) (#2074)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
State variables written after the call(s):
- _setPresale2(presale2_pub,sellRestrict2) (#1541)
- isDividendExempt[holder] = isExempt (#2071)
Apply the check-effects-interactions pattern.
Additional information: link
Flavors._deployPool(address,address) (#2269-2281) ignores return value by this.approve(pair,type()(uint256).max) (#2275)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in Flavors.transferFrom(address,address,uint256) (#1921-1931):
External calls:
- _transfer(sender,recipient,amount) (#1926)
- PresaleContract.isOG_OFT(from) (#1675)
- DripperContract.process_OFT{gas: gas_dripper0}() (#1985)
- require(bool,string)(PresaleContract.canHolderSell_OFT(from,amount),FLAVORS: checkCanHolderSell() = You hit Presale max sells for the day) (#1678-1681)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- (success) = recipient.call{value: amount}() (#399)
- Router.swapExactTokensForETHSupportingFeeOnTransferTokens((amount.mul(50)).div(100),0,path,address(this),block.timestamp) (#2032-2043)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- (success) = address(dripper0).call{gas: gas_dripper0,value: toDrip0}() (#2005)
- Dripper0.deposit_OFT(toDrip0,FLAVORS: Deposit Sent) (#2007)
- (success0) = address(dripper1).call{gas: gas_dripper1,value: toDrip1}() (#2010)
- Dripper1.deposit_OFT(toDrip1,FLAVORS: Deposit Sent) (#2012)
- Address.sendValue(address(iceCreamMan),toICM) (#2015)
- (success1) = address(creamery).call{gas: gas_creamery,value: toCreamery}() (#2017)
- Creamery.deposit(FLAVORS: Deposit Sent) (#2019)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1926)
- (success) = recipient.call{value: amount}() (#399)
- (success) = address(dripper0).call{gas: gas_dripper0,value: toDrip0}() (#2005)
- (success0) = address(dripper1).call{gas: gas_dripper1,value: toDrip1}() (#2010)
- (success1) = address(creamery).call{gas: gas_creamery,value: toCreamery}() (#2017)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance.sub(amount)) (#1929)
- _allowance[_owner][spender] = value (#1886)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Flavors.transferFrom(address,address,uint256) (#1921-1931):
External calls:
- _transfer(sender,recipient,amount) (#1926)
- PresaleContract.isOG_OFT(from) (#1675)
- DripperContract.process_OFT{gas: gas_dripper0}() (#1985)
- require(bool,string)(PresaleContract.canHolderSell_OFT(from,amount),FLAVORS: checkCanHolderSell() = You hit Presale max sells for the day) (#1678-1681)
- Dripper0.setShare_OFT(holder,balanceOf(holder)) (#1878)
- (success) = recipient.call{value: amount}() (#399)
- Router.swapExactTokensForETHSupportingFeeOnTransferTokens((amount.mul(50)).div(100),0,path,address(this),block.timestamp) (#2032-2043)
- Dripper1.setShare_OFT(holder,balanceOf(holder)) (#1880)
- (success) = address(dripper0).call{gas: gas_dripper0,value: toDrip0}() (#2005)
- Dripper0.deposit_OFT(toDrip0,FLAVORS: Deposit Sent) (#2007)
- (success0) = address(dripper1).call{gas: gas_dripper1,value: toDrip1}() (#2010)
- Dripper1.deposit_OFT(toDrip1,FLAVORS: Deposit Sent) (#2012)
- Address.sendValue(address(iceCreamMan),toICM) (#2015)
- (success1) = address(creamery).call{gas: gas_creamery,value: toCreamery}() (#2017)
- Creamery.deposit(FLAVORS: Deposit Sent) (#2019)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1926)
- (success) = recipient.call{value: amount}() (#399)
- (success) = address(dripper0).call{gas: gas_dripper0,value: toDrip0}() (#2005)
- (success0) = address(dripper1).call{gas: gas_dripper1,value: toDrip1}() (#2010)
- (success1) = address(creamery).call{gas: gas_creamery,value: toCreamery}() (#2017)
Event emitted after the call(s):
- Approval(_owner,spender,value) (#1887)
- _approve(sender,_msgSender(),currentAllowance.sub(amount)) (#1929)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#461-482) uses assembly
- INLINE ASM (#474-477)
Do not use evm assembly.
Additional information: link
Flavors.initializer0() (#1750-1754) compares to a boolean constant:
-require(bool,string)(initialized0 == false,FLAVORS: initializer() = Already Initialized) (#1751)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.trySub(uint256,uint256) (#521-526) is never used and should be removed
Remove unused functions.
Additional information: link
Flavors.flvPerNativeCoin (#1299) is set pre-construction with a non-constant function or state variable:
- 100_000 * (10 ** decimals)
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 Flavors.forwardToCreamery() (#2586-2591):
- (_success) = address(creamery).call{value: _msgValue()}() (#2587)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Flavors.FlavorsChainData (#1326) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#727)" inContext (#716-730)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Flavors._setPresale1(address,bool).sellRestrict1 (#1558) is too similar to Flavors.setPresales_OICM(address,address,address,bool,bool,bool).sellRestrict2 (#1531)
Prevent variables from having similar names.
Additional information: link
Flavors._setPresale2(address,bool) (#1572-1584) uses literals with too many digits:
- presale2 == 0x0000000000000000000000000000000000000001 (#1573)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Flavors.initialized1 (#1286) is never used in Flavors (#1245-2597)
Remove unused state variables.
Additional information: link
Flavors.initialized1 (#1286) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
allowance(address,address) should be declared external:
- Flavors.allowance(address,address) (#2376-2385)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
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
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
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account