YieldZard provides a unique decentralized financial asset which rewards users with a sustainable fixed compound interest model through use of it’s YAP protocol. Delivering the industry’s highest fixed APY, paid every 5 minutes, and a simple buy-hold-earn system that grows your $YLZ portfolio in your wallet at a lightning fast pace.
YieldZard.swapBack() (#824-861) sends eth to arbitrary user
Dangerous calls:
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in YieldZard._transferFrom(address,address,uint256) (#708-745):
External calls:
- rebase() (#719)
- pairContract.sync() (#668)
- addLiquidity() (#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#801-807)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
- swapBack() (#727)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
External calls sending eth:
- addLiquidity() (#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
- swapBack() (#727)
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#731)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#735-737)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#732-734)
- _gonBalances[lavaLakeReceiver] = _gonBalances[lavaLakeReceiver].add(gonAmount.mul(_lavaLakeFee).div(feeDenominator)) (#766-768)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.mul(_wizardsChestFee.add(_coverageFundFee)).div(feeDenominator)) (#769-773)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.mul(_liquidityFee).div(feeDenominator)) (#774-776)
- swapBack() (#727)
- inSwap = true (#588)
- inSwap = false (#590)
Apply the check-effects-interactions pattern.
Additional information: link
YieldZard._name (#546) shadows:
- ERC20Detailed._name (#513)
YieldZard._symbol (#547) shadows:
- ERC20Detailed._symbol (#514)
YieldZard._decimals (#548) shadows:
- ERC20Detailed._decimals (#515)
Remove the state variable shadowing.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
YieldZard.swapBack().success (#849) is written in both
(success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
(success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
Fix or remove the writes.
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.
YieldZard.rebase().rebaseRate (#643) 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
Reentrancy in YieldZard._transferFrom(address,address,uint256) (#708-745):
External calls:
- rebase() (#719)
- pairContract.sync() (#668)
- addLiquidity() (#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#801-807)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
- swapBack() (#727)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
External calls sending eth:
- addLiquidity() (#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
- swapBack() (#727)
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#777)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#732-734)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#739-743)
Reentrancy in YieldZard.constructor() (#610-639):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#612-615)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#507)
- _transferOwnership(contractOwner) (#637)
- Transfer(address(0x0),contractOwner,_totalSupply) (#638)
Reentrancy in YieldZard.rebase() (#641-671):
External calls:
- pairContract.sync() (#668)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#670)
Apply the check-effects-interactions pattern.
Additional information: link
YieldZard.rebase() (#641-671) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (#649)
- deltaTimeFromInit >= (7 * 31536000) (#651)
- deltaTimeFromInit >= ((15 * 31536000) / 10) (#653)
- deltaTimeFromInit >= (31536000) (#655)
- i < times (#659)
YieldZard.shouldRebase() (#891-898) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 300) (#892-897)
YieldZard.shouldAddLiquidity() (#900-906) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 172800) (#901-905)
Avoid relying on block.timestamp.
Additional information: link
YieldZard.rebase() (#641-671) performs a multiplication on the result of a division:
-times = deltaTime.div(300) (#646)
-epoch = times.mul(5) (#647)
YieldZard.rebase() (#641-671) performs a multiplication on the result of a division:
-times = deltaTime.div(300) (#646)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(300)) (#666)
YieldZard.getLiquidityBacking(uint256) (#1022-1030) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#1027)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1028-1029)
Consider ordering multiplication before division.
Additional information: link
YieldZard.addLiquidity() (#781-822) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
Ensure that all the return values of the function calls are used.
Additional information: link
YieldZard.setPairAddress(address)._pairAddress (#1047) lacks a zero-check on :
- pairAddress = _pairAddress (#1048)
Check that the address is not zero.
Additional information: link
YieldZard.isContract(address) (#1063-1069) uses assembly
- INLINE ASM (#1065-1067)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256) (#91-94) is never used and should be removed
SafeMathInt.abs(int256) (#36-39) is never used and should be removed
SafeMathInt.add(int256,int256) (#30-34) is never used and should be removed
SafeMathInt.div(int256,int256) (#18-22) is never used and should be removed
SafeMathInt.mul(int256,int256) (#10-16) is never used and should be removed
SafeMathInt.sub(int256,int256) (#24-28) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.7.4 (#4) allows old versions
solc-0.7.4 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 YieldZard.swapBack() (#824-861):
- (success) = address(wizardsChestReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(wizardsChestFee).div(wizardsChestFee.add(coverageFundFee))}() (#849-854)
- (success,None) = address(coverageFundReceiver).call{gas: 30000,value: amountETHToWizardsChestAndYCF.mul(coverageFundFee).div(wizardsChestFee.add(coverageFundFee))}() (#855-860)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#243) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#244)
Prevent variables from having similar names.
Additional information: link
Reentrancy in YieldZard.addLiquidity() (#781-822):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#801-807)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#812-819)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#821)
Reentrancy in YieldZard.constructor() (#610-639):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#612-615)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#623)
- _autoAddLiquidity = true (#633)
- _autoRebase = false (#632)
- _gonBalances[wizardsChestReceiver] = TOTAL_GONS (#628)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#629)
- _initRebaseStartTime = block.timestamp (#630)
- _isFeeExempt[wizardsChestReceiver] = true (#634)
- _isFeeExempt[address(this)] = true (#635)
- _lastRebasedTime = block.timestamp (#631)
- _transferOwnership(contractOwner) (#637)
- _owner = newOwner (#508)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#627)
- autoLiquidityReceiver = 0x1eAEeAc58aAaE575949ED1D1d92DbF37167C7a3f (#619)
- contractOwner = wizardsChestReceiver (#621)
- coverageFundReceiver = 0x9EcA6CA1761B3675B03556201573E3b186bE24f8 (#618)
- lavaLakeReceiver = 0x000000000000000000000000000000000000dEaD (#620)
- pairAddress = pair (#624)
- pairContract = IPancakeSwapPair(pair) (#625)
- wizardsChestReceiver = 0x96334277762d5AF306Bf9aBC4dAA24E92082fD2C (#617)
Apply the check-effects-interactions pattern.
Additional information: link
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (#159) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#161) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#192) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#238) is not in mixedCase
Parameter YieldZard.setAutoRebase(bool)._flag (#912) is not in mixedCase
Parameter YieldZard.setAutoAddLiquidity(bool)._flag (#921) is not in mixedCase
Parameter YieldZard.checkFeeExempt(address)._addr (#984) is not in mixedCase
Parameter YieldZard.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#1004) is not in mixedCase
Parameter YieldZard.setFeeReceivers(address,address,address)._wizardsChestReceiver (#1005) is not in mixedCase
Parameter YieldZard.setFeeReceivers(address,address,address)._coverageFundReceiver (#1006) is not in mixedCase
Parameter YieldZard.setAutoLiquidityReceiver(address)._receiver (#1017) is not in mixedCase
Parameter YieldZard.setWhitelist(address)._addr (#1032) is not in mixedCase
Parameter YieldZard.setBotBlacklist(address,bool)._botAddress (#1036) is not in mixedCase
Parameter YieldZard.setBotBlacklist(address,bool)._flag (#1036) is not in mixedCase
Parameter YieldZard.setPairAddress(address)._pairAddress (#1047) is not in mixedCase
Parameter YieldZard.setLP(address)._address (#1051) is not in mixedCase
Variable YieldZard._name (#546) is not in mixedCase
Variable YieldZard._symbol (#547) is not in mixedCase
Variable YieldZard._decimals (#548) is not in mixedCase
Variable YieldZard._isFeeExempt (#551) is not in mixedCase
Constant YieldZard.liquidityFee (#565) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YieldZard.wizardsChestFee (#566) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YieldZard.coverageFundFee (#567) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YieldZard.lavaLakeFee (#568) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YieldZard.feeDenominator (#572) is not in UPPER_CASE_WITH_UNDERSCORES
Variable YieldZard.DEAD (#574) is not in mixedCase
Variable YieldZard.ZERO (#575) is not in mixedCase
Variable YieldZard._autoRebase (#598) is not in mixedCase
Variable YieldZard._autoAddLiquidity (#599) is not in mixedCase
Variable YieldZard._initRebaseStartTime (#600) is not in mixedCase
Variable YieldZard._lastRebasedTime (#601) is not in mixedCase
Variable YieldZard._lastAddLiquidityTime (#602) is not in mixedCase
Variable YieldZard._totalSupply (#603) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
YieldZard.constructor() (#610-639) uses literals with too many digits:
- lavaLakeReceiver = 0x000000000000000000000000000000000000dEaD (#620)
YieldZard.slitherConstructorVariables() (#540-1073) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#574)
YieldZard.slitherConstructorVariables() (#540-1073) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#575)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#8) is never used in SafeMathInt (#6-40)
Remove unused state variables.
Additional information: link
YieldZard.DEAD (#574) should be constant
YieldZard.ZERO (#575) should be constant
YieldZard._decimals (#548) should be constant
YieldZard._name (#546) should be constant
YieldZard._symbol (#547) should be constant
YieldZard.totalFee (#569-570) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#483-485)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#496-499)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#501-503)
name() should be declared external:
- ERC20Detailed.name() (#527-529)
symbol() should be declared external:
- ERC20Detailed.symbol() (#531-533)
decimals() should be declared external:
- ERC20Detailed.decimals() (#535-537)
setAutoLiquidityReceiver(address) should be declared external:
- YieldZard.setAutoLiquidityReceiver(address) (#1017-1020)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 12% buy tax and 18% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is low.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find whitepaper link on the website
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
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Alexa traffic rank is relatively low
Additional information: link
Unable to find Youtube account