Rewards Bunny is a decentralized token running on Binance Smart Chain ecosystem. Holders will be rewarded in RBunny tokens automatically via reflections.
Rewards Bunny is a cashback platform where we reward users for their online shopping in cashback of Crypto or USD. Choose to earn cashback in BTC, BNB, RBunny, and more.
Start saving now with deals and discounts from top participating brands like AliExpress, Agoda, ASOS, Booking.com, Bose, Klook, Viator, and etc. Visit https://rewardsbunny.com now!
Who are the Founders of Rewards Bunny? Jacky Goh is the CEO and co-founder of Rewards Bunny. His professional career includes CTO of a game development company called DinoMao - aimed at providing online entertainment through online claw machines. In 2021, Jacky and his team founded Rewards Bunny
Ivaylo Yovkov is the COO and co-founder of the company. Having a strong interest and passion for marketing, Ivaylo climbs his way up to being a CMO of a FinTech Company, specializing in P2P instant loans using smart data, entirely online. In 2021, he co-founded Rewards Bunny with Jacky Goh
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RewardsBunny.swapBnbForTokens(uint256) (#699-712) sends eth to arbitrary user
Dangerous calls:
- _uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_msgSender(),block.timestamp + 300) (#706-711)
RewardsBunny.addLiquidity(uint256,uint256) (#730-744) sends eth to arbitrary user
Dangerous calls:
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
RewardsBunny.withdrawToken(address,uint256) (#586-589) ignores return value by IBEP20(tokenAddress).transfer(owner(),amount) (#587)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in RewardsBunny._transfer(address,address,uint256) (#609-648):
External calls:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _rOwned[to] = _rOwned[to] + rAmount (#908)
- _rOwned[sender] = _rOwned[sender] - rAmount (#856)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#861)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _rTotal = _rTotal - rFee (#871)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _tOwned[to] = _tOwned[to] + tAmount (#910)
- _tOwned[sender] = _tOwned[sender] - tAmount (#858)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#863)
Reentrancy in RewardsBunny.reinvestBnbReward() (#747-774):
External calls:
- swapBnbForTokens(bnbReward) (#768)
- _uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,_msgSender(),block.timestamp + 300) (#706-711)
State variables written after the call(s):
- _liquidityFeeBuy = previousLiquidityBuyFee (#772)
- _liquidityFeeTransfer = previousLiquidityTransferFee (#771)
- _taxFeeBuy = previousBuyTaxFee (#773)
- _taxFeeTransfer = previousTaxFee (#770)
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.
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.
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.
Contract ownership is not renounced (belongs to a wallet)
RewardsBunny.updateClaimCycle(address,uint256) (#798-819) performs a multiplication on the result of a division:
-rate = amount * 100 / recipientBalance (#806)
-addedCycle = _rewardCycle * rate / 100 (#810)
Consider ordering multiplication before division.
Additional information: link
Redundant expression "this (#15)" inContext (#9-18)
Remove redundant statements if they congest code but offer no value.
Additional information: link
RewardsBunny.reflectionFromToken(uint256,bool).tLiquidity_scope_1 (#487) is a local variable never initialized
RewardsBunny.reflectionFromToken(uint256,bool).tFee_scope_0 (#487) is a local variable never initialized
RewardsBunny.swapAndLiquify(uint256).tokensForLiquidity (#683) 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
RewardsBunny.allowance(address,address).owner (#447) shadows:
- Ownable.owner() (#46-48) (function)
RewardsBunny._approve(address,address,uint256).owner (#454) shadows:
- Ownable.owner() (#46-48) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable.constructor(address).initialOwner (#41) lacks a zero-check on :
- _owner = initialOwner (#42)
RewardsBunny.constructor(address,address).marketingWallet (#405) lacks a zero-check on :
- _marketingWallet = marketingWallet (#406)
RewardsBunny.setMarketingWallet(address).marketingWallet (#516) lacks a zero-check on :
- _marketingWallet = marketingWallet (#517)
RewardsBunny.collectBnb(address,uint256).account (#576) lacks a zero-check on :
- (sent) = account.call{value: amount}() (#577)
RewardsBunny.setPancakeSwapPair(address).p (#603) lacks a zero-check on :
- _uniswapV2Pair = p (#604)
Check that the address is not zero.
Additional information: link
Variable 'RewardsBunny.reflectionFromToken(uint256,bool).tFee (#480)' in RewardsBunny.reflectionFromToken(uint256,bool) (#476-493) potentially used before declaration: (tFee,tLiquidity) = _getTValues(tAmount) (#487)
Variable 'RewardsBunny.reflectionFromToken(uint256,bool).tLiquidity (#480)' in RewardsBunny.reflectionFromToken(uint256,bool) (#476-493) potentially used before declaration: (tFee,tLiquidity) = _getTValues(tAmount) (#487)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in RewardsBunny._transfer(address,address,uint256) (#609-648):
External calls:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _liquidityFeeTransfer = 0 (#830)
- _liquidityFeeTransfer = _liquidityFeeBuy (#834)
- _liquidityFeeTransfer = _liquidityFeeSell (#838)
- _liquidityFeeTransfer = previousLiquidityFee (#848)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _nextAvailableClaimDate[recipient] = _nextAvailableClaimDate[recipient] + addedCycle (#818)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _tFeeTotal = _tFeeTotal + tFee (#872)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _taxFeeTransfer = 0 (#829)
- _taxFeeTransfer = _taxFeeBuy (#833)
- _taxFeeTransfer = _taxFeeSell (#837)
- _taxFeeTransfer = previousTaxFee (#847)
Reentrancy in RewardsBunny.constructor(address,address) (#405-427):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#412)
State variables written after the call(s):
- _excluded.push(_uniswapV2Pair) (#423)
- _excluded.push(address(_uniswapV2Router)) (#424)
- _isExcluded[_uniswapV2Pair] = true (#421)
- _isExcluded[address(_uniswapV2Router)] = true (#422)
- _isExcludedFromFee[owner()] = true (#416)
- _isExcludedFromFee[address(this)] = true (#417)
- _isExcludedFromFee[_marketingWallet] = true (#418)
- _uniswapV2Router = uniswapV2Router (#413)
Reentrancy in RewardsBunny.swapAndLiquify(uint256) (#649-698):
External calls:
- swapTokensForBnb(tokensSwapped) (#669)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
External calls sending eth:
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
State variables written after the call(s):
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- _allowances[owner][spender] = amount (#458)
Reentrancy in RewardsBunny.transferFrom(address,address,uint256) (#461-465):
External calls:
- _transfer(sender,recipient,amount) (#462)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- _transfer(sender,recipient,amount) (#462)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#463)
- _allowances[owner][spender] = amount (#458)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RewardsBunny._transfer(address,address,uint256) (#609-648):
External calls:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#868)
- _tokenTransfer(from,to,amount,takeFee) (#647)
Reentrancy in RewardsBunny.constructor(address,address) (#405-427):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#412)
Event emitted after the call(s):
- Transfer(address(0),cOwner,_tTotal) (#426)
Reentrancy in RewardsBunny.swapAndLiquify(uint256) (#649-698):
External calls:
- swapTokensForBnb(tokensSwapped) (#669)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
External calls sending eth:
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#459)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- SwapAndLiquify(tokensSwapped,tokensForLiquidity,bnbForLiquidity,bnbForRewardPool,bnbForMarketing) (#691-697)
Reentrancy in RewardsBunny.transferFrom(address,address,uint256) (#461-465):
External calls:
- _transfer(sender,recipient,amount) (#462)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- _transfer(sender,recipient,amount) (#462)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#459)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#463)
Reentrancy in RewardsBunny.withdrawToken(address,uint256) (#586-589):
External calls:
- IBEP20(tokenAddress).transfer(owner(),amount) (#587)
Event emitted after the call(s):
- withdrawTokenTX(tokenAddress,amount) (#588)
Apply the check-effects-interactions pattern.
Additional information: link
RewardsBunny.swapAndLiquify(uint256) (#649-698) uses timestamp for comparisons
Dangerous comparisons:
- bnbForLiquidity > 0 && shouldAddLiquidity (#684)
RewardsBunny.reinvestBnbReward() (#747-774) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_nextAvailableClaimDate[msg.sender] <= block.timestamp,Error: claim not available yet) (#749)
RewardsBunny.claimBnbReward() (#775-789) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_nextAvailableClaimDate[msg.sender] <= block.timestamp,Error: claim not available yet) (#777)
RewardsBunny.updateClaimCycle(address,uint256) (#798-819) uses timestamp for comparisons
Dangerous comparisons:
- addedCycle >= _rewardCycle (#811)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#14-17) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in RewardsBunny.collectBnb(address,uint256) (#576-579):
- (sent) = account.call{value: amount}() (#577)
Low level call in RewardsBunny.claimBnbReward() (#775-789):
- (sent) = address(msg.sender).call{value: bnbReward}() (#787)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#141) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#142) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#159) is not in mixedCase
Function IUniswapV2Router01.WETH() (#179) is not in mixedCase
Event RewardsBunnyexcludeFromRewardTX(address) (#356) is not in CapWords
Event RewardsBunnysetMarketingWalletTX(address) (#357) is not in CapWords
Event RewardsBunnysetExcludedFromFeeTX(address,bool) (#358) is not in CapWords
Event RewardsBunnysetTransferFeeTX(uint256,uint256) (#359) is not in CapWords
Event RewardsBunnysetBuyFeeTX(uint256,uint256) (#360) is not in CapWords
Event RewardsBunnysetSellFeeTX(uint256,uint256) (#361) is not in CapWords
Event RewardsBunnysetReinvestFeeTX(uint256,uint256) (#362) is not in CapWords
Event RewardsBunnysetPercentageOfLiquidityForBnbRewardTX(uint256) (#363) is not in CapWords
Event RewardsBunnysetPercentageOfLiquidityForMarketingTX(uint256) (#364) is not in CapWords
Event RewardsBunnysetMaxTxPercentTX(uint256) (#365) is not in CapWords
Event RewardsBunnysetMinTokenBalanceTX(uint256) (#366) is not in CapWords
Event RewardsBunnysetBalanceThresholdTX(uint256) (#367) is not in CapWords
Event RewardsBunnysetBnbRewardEnabledTX(bool) (#368) is not in CapWords
Event RewardsBunnysetRewardCycleTX(uint256) (#369) is not in CapWords
Event RewardsBunnysetExcludedFromClaimTX(address,bool) (#370) is not in CapWords
Event RewardsBunnywithdrawTokenTX(address,uint256) (#371) is not in CapWords
Event RewardsBunnysetPancakeSwapRouterTX(address) (#372) is not in CapWords
Event RewardsBunnysetPancakeSwapPairTX(address) (#373) is not in CapWords
Event RewardsBunnybnbRewardClaimed(address,uint256,uint256) (#393-397) is not in CapWords
Function RewardsBunny.Lepus() (#431-433) is not in mixedCase
Variable RewardsBunny._nextAvailableClaimDate (#318) is not in mixedCase
Variable RewardsBunny._isExcludedFromClaim (#319) is not in mixedCase
Variable RewardsBunny._marketingWallet (#322) is not in mixedCase
Constant RewardsBunny._tTotal (#325) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RewardsBunny._taxFeeTransfer (#334) is not in mixedCase
Variable RewardsBunny._liquidityFeeTransfer (#335) is not in mixedCase
Variable RewardsBunny._percentageOfLiquidityForBnbReward (#336) is not in mixedCase
Variable RewardsBunny._percentageOfLiquidityForMarketing (#337) is not in mixedCase
Variable RewardsBunny._taxFeeReinvest (#340) is not in mixedCase
Variable RewardsBunny._liquidityFeeReinvest (#341) is not in mixedCase
Variable RewardsBunny._taxFeeBuy (#344) is not in mixedCase
Variable RewardsBunny._liquidityFeeBuy (#345) is not in mixedCase
Variable RewardsBunny._taxFeeSell (#348) is not in mixedCase
Variable RewardsBunny._liquidityFeeSell (#349) is not in mixedCase
Variable RewardsBunny._maxTxAmount (#351) is not in mixedCase
Variable RewardsBunny._minTokenBalance (#352) is not in mixedCase
Variable RewardsBunny._balanceThreshold (#353) is not in mixedCase
Variable RewardsBunny._swapAndLiquifyEnabled (#376) is not in mixedCase
Variable RewardsBunny._uniswapV2Router (#378) is not in mixedCase
Variable RewardsBunny._uniswapV2Pair (#379) is not in mixedCase
Variable RewardsBunny._isBnbRewardEnabled (#391) is not in mixedCase
Variable RewardsBunny._rewardCycle (#392) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in RewardsBunny._transfer(address,address,uint256) (#609-648):
External calls:
- swapAndLiquify(contractTokenBalance) (#640)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#640)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _liquidityFeeTransfer = 0 (#830)
- _liquidityFeeTransfer = _liquidityFeeBuy (#834)
- _liquidityFeeTransfer = _liquidityFeeSell (#838)
- _liquidityFeeTransfer = previousLiquidityFee (#848)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _nextAvailableClaimDate[recipient] = _nextAvailableClaimDate[recipient] + addedCycle (#818)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _rOwned[to] = _rOwned[to] + rAmount (#908)
- _rOwned[sender] = _rOwned[sender] - rAmount (#856)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#861)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _rTotal = _rTotal - rFee (#871)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _tFeeTotal = _tFeeTotal + tFee (#872)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _tOwned[to] = _tOwned[to] + tAmount (#910)
- _tOwned[sender] = _tOwned[sender] - tAmount (#858)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#863)
- _tokenTransfer(from,to,amount,takeFee) (#647)
- _taxFeeTransfer = 0 (#829)
- _taxFeeTransfer = _taxFeeBuy (#833)
- _taxFeeTransfer = _taxFeeSell (#837)
- _taxFeeTransfer = previousTaxFee (#847)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#868)
- _tokenTransfer(from,to,amount,takeFee) (#647)
Reentrancy in RewardsBunny.swapAndLiquify(uint256) (#649-698):
External calls:
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
External calls sending eth:
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
State variables written after the call(s):
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- _allowances[owner][spender] = amount (#458)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#459)
- (tokenAdded,bnbAdded) = addLiquidity(tokensForLiquidity,bnbForLiquidity) (#686)
- SwapAndLiquify(tokensSwapped,tokensForLiquidity,bnbForLiquidity,bnbForRewardPool,bnbForMarketing) (#691-697)
Reentrancy in RewardsBunny.transferFrom(address,address,uint256) (#461-465):
External calls:
- _transfer(sender,recipient,amount) (#462)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
External calls sending eth:
- _transfer(sender,recipient,amount) (#462)
- (amountToken,amountETH) = _uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#735-742)
- address(_marketingWallet).transfer(bnbForMarketing) (#679)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#463)
- _allowances[owner][spender] = amount (#458)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#459)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#463)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#184) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#185)
Variable RewardsBunny.reflectionFromToken(uint256,bool).rTransferAmount (#489) is too similar to RewardsBunny._getTValues(uint256).tTransferAmount (#877)
Variable RewardsBunny._transferStandard(address,address,uint256).rTransferAmount (#854) is too similar to RewardsBunny._getTValues(uint256).tTransferAmount (#877)
Variable RewardsBunny.reflectionFromToken(uint256,bool).rTransferAmount (#489) is too similar to RewardsBunny._transferStandard(address,address,uint256).tTransferAmount (#852)
Variable RewardsBunny._transferStandard(address,address,uint256).rTransferAmount (#854) is too similar to RewardsBunny._transferStandard(address,address,uint256).tTransferAmount (#852)
Variable RewardsBunny._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#885) is too similar to RewardsBunny._getTValues(uint256).tTransferAmount (#877)
Variable RewardsBunny._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#885) is too similar to RewardsBunny._transferStandard(address,address,uint256).tTransferAmount (#852)
Prevent variables from having similar names.
Additional information: link
RewardsBunny.calculateBnbReward(address) (#790-797) uses literals with too many digits:
- circulatingSupply = _tTotal - balanceOf(address(0)) - balanceOf(0x000000000000000000000000000000000000dEaD) - balanceOf(_uniswapV2Pair) (#791)
RewardsBunny.slitherConstructorConstantVariables() (#312-914) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 18 (#325)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#33) is never used in RewardsBunny (#312-914)
Ownable._lockTime (#34) is never used in RewardsBunny (#312-914)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#34) should be constant
Ownable._previousOwner (#33) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#55-59)
Lepus() should be declared external:
- RewardsBunny.Lepus() (#431-433)
totalSupply() should be declared external:
- RewardsBunny.totalSupply() (#436-438)
transfer(address,uint256) should be declared external:
- RewardsBunny.transfer(address,uint256) (#443-446)
allowance(address,address) should be declared external:
- RewardsBunny.allowance(address,address) (#447-449)
approve(address,uint256) should be declared external:
- RewardsBunny.approve(address,uint256) (#450-453)
transferFrom(address,address,uint256) should be declared external:
- RewardsBunny.transferFrom(address,address,uint256) (#461-465)
increaseAllowance(address,uint256) should be declared external:
- RewardsBunny.increaseAllowance(address,uint256) (#466-469)
decreaseAllowance(address,uint256) should be declared external:
- RewardsBunny.decreaseAllowance(address,uint256) (#470-473)
reflectionFromToken(uint256,bool) should be declared external:
- RewardsBunny.reflectionFromToken(uint256,bool) (#476-493)
totalFees() should be declared external:
- RewardsBunny.totalFees() (#500-502)
setSwapAndLiquifyEnabled(bool) should be declared external:
- RewardsBunny.setSwapAndLiquifyEnabled(bool) (#564-567)
isExcludedFromFee(address) should be declared external:
- RewardsBunny.isExcludedFromFee(address) (#568-570)
isExcludedFromReward(address) should be declared external:
- RewardsBunny.isExcludedFromReward(address) (#571-573)
reinvestBnbReward() should be declared external:
- RewardsBunny.reinvestBnbReward() (#747-774)
claimBnbReward() should be declared external:
- RewardsBunny.claimBnbReward() (#775-789)
Use the external attribute for functions never called from the contract.
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 price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank