Our mission is to deliver the DeFi space and its opportunities to everyone in a safe, innovative, and equitable environment.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Bridges.swapBack(uint256) (Bridges.sol#496-529) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
Bridges.addLiquidity(uint256,uint256) (Bridges.sol#552-567) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494):
External calls:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
External calls sending eth:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (Bridges.sol#475)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (Bridges.sol#479)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (Bridges.sol#459)
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.
Contract name (Bridge$) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Contract ticker (BRG.X) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
DividendPayingToken.swapETHFordefaultToken(address,uint256) (DividendPayingToken.sol#74-118) has external calls inside a loop: path[0] = swapRouter.WETH() (DividendPayingToken.sol#92)
DividendPayingToken.swapETHFordefaultToken(address,uint256) (DividendPayingToken.sol#74-118) has external calls inside a loop: swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#96-106)
DividendPayingToken.swapETHFordefaultToken(address,uint256) (DividendPayingToken.sol#74-118) has external calls inside a loop: (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#110)
DividendPayingToken.swapETHForTokens(address,uint256) (DividendPayingToken.sol#119-163) has external calls inside a loop: path[0] = swapRouter.WETH() (DividendPayingToken.sol#137)
DividendPayingToken.swapETHForTokens(address,uint256) (DividendPayingToken.sol#119-163) has external calls inside a loop: swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#141-151)
DividendPayingToken.swapETHForTokens(address,uint256) (DividendPayingToken.sol#119-163) has external calls inside a loop: (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#155)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Bridges.updateDividendTracker(address) (Bridges.sol#174-189):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Bridges.sol#181)
- newDividendTracker.excludeFromDividends(address(this)) (Bridges.sol#182)
- newDividendTracker.excludeFromDividends(owner()) (Bridges.sol#183)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Bridges.sol#184)
State variables written after the call(s):
- dividendTracker = newDividendTracker (Bridges.sol#188)
Apply the check-effects-interactions pattern.
Additional information: link
DividendPayingToken.swapETHFordefaultToken(address,uint256).swapSuccess (DividendPayingToken.sol#79) is a local variable never initialized
Bridges._transfer(address,address,uint256).iterations (Bridges.sol#487) is a local variable never initialized
Bridges._transfer(address,address,uint256).claims (Bridges.sol#487) is a local variable never initialized
DividendPayingToken.swapETHForTokens(address,uint256).swapSuccess (DividendPayingToken.sol#124) is a local variable never initialized
Bridges._transfer(address,address,uint256).lastProcessedIndex (Bridges.sol#487) 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
Bridges.claim() (Bridges.sol#382-384) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (Bridges.sol#383)
Bridges._transfer(address,address,uint256) (Bridges.sol#428-494) ignores return value by dividendTracker.process(gas) (Bridges.sol#487-492)
Bridges.addLiquidity(uint256,uint256) (Bridges.sol#552-567) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#69) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#69) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#289) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#296) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#303) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#313) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Bridges.updateSwapTokensAtAmount(uint256) (Bridges.sol#169-173) should emit an event for:
- swapTokensAtAmount = newAmount * (10 ** 18) (Bridges.sol#171)
Bridges.setRewardsFee(uint256) (Bridges.sol#243-247) should emit an event for:
- rewardsFee = value (Bridges.sol#245)
- totalFees = rewardsFee.add(liquidityFee).add(marketingFee) (Bridges.sol#246)
Bridges.setLiquidityFee(uint256) (Bridges.sol#249-253) should emit an event for:
- liquidityFee = value (Bridges.sol#251)
- totalFees = rewardsFee.add(liquidityFee).add(marketingFee) (Bridges.sol#252)
Bridges.setMarketingFee(uint256) (Bridges.sol#255-259) should emit an event for:
- marketingFee = value (Bridges.sol#257)
- totalFees = rewardsFee.add(liquidityFee).add(marketingFee) (Bridges.sol#258)
Bridges.setHolderAmountCap(uint256) (Bridges.sol#261-265) should emit an event for:
- HolderAmountCap = value (Bridges.sol#263)
Emit an event for critical parameter changes.
Additional information: link
Bridges.updateUniswapV2Router(address)._uniswapV2Pair (Bridges.sol#200-201) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (Bridges.sol#202)
DividendPayingToken.setDefaultToken(address).token (DividendPayingToken.sol#182) lacks a zero-check on :
- defaultToken = token (DividendPayingToken.sol#183)
Check that the address is not zero.
Additional information: link
Variable 'Bridges._transfer(address,address,uint256).lastProcessedIndex (Bridges.sol#487)' in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Bridges.sol#488)
Variable 'Bridges._transfer(address,address,uint256).claims (Bridges.sol#487)' in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Bridges.sol#488)
Variable 'Bridges._transfer(address,address,uint256).iterations (Bridges.sol#487)' in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Bridges.sol#488)
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 Bridges.constructor() (Bridges.sol#129-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Bridges.sol#136-137)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (Bridges.sol#140)
- uniswapV2Router = _uniswapV2Router (Bridges.sol#139)
Reentrancy in Bridges.constructor() (Bridges.sol#129-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Bridges.sol#136-137)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Bridges.sol#142)
- dividendTracker.excludeFromDividends(pair) (Bridges.sol#278)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (Bridges.sol#145)
- dividendTracker.excludeFromDividends(address(this)) (Bridges.sol#146)
- dividendTracker.excludeFromDividends(owner()) (Bridges.sol#147)
- dividendTracker.excludeFromDividends(deadWallet) (Bridges.sol#148)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (Bridges.sol#149)
- dividendTracker.approveToken(defaultToken,true) (Bridges.sol#150)
State variables written after the call(s):
- _mint(owner(),100000000 * (10 ** 18)) (Bridges.sol#162)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (Bridges.sol#153)
- _isExcludedFromFees[account] = excluded (Bridges.sol#211)
- excludeFromFees(_marketingWalletAddress,true) (Bridges.sol#154)
- _isExcludedFromFees[account] = excluded (Bridges.sol#211)
- excludeFromFees(_charityWalletAddress,true) (Bridges.sol#155)
- _isExcludedFromFees[account] = excluded (Bridges.sol#211)
- excludeFromFees(address(this),true) (Bridges.sol#156)
- _isExcludedFromFees[account] = excluded (Bridges.sol#211)
- _mint(owner(),100000000 * (10 ** 18)) (Bridges.sol#162)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in BridgesDividendTracker.processAccount(address,bool) (Bridges.sol#786-796):
External calls:
- amount = _withdrawDividendOfUser(account) (Bridges.sol#787)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#96-106)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#141-151)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#155)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#110)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (Bridges.sol#790)
Reentrancy in Bridges.swapBack(uint256) (Bridges.sol#496-529):
External calls:
- swapTokensForEth(amountToSwap) (Bridges.sol#506)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
External calls sending eth:
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
State variables written after the call(s):
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (DividendPayingToken.sol#119-163):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#141-151)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#155)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (DividendPayingToken.sol#158)
Reentrancy in DividendPayingToken.swapETHFordefaultToken(address,uint256) (DividendPayingToken.sol#74-118):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#96-106)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#110)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (DividendPayingToken.sol#113)
Reentrancy in Bridges.updateUniswapV2Router(address) (Bridges.sol#196-203):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (Bridges.sol#200-201)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (Bridges.sol#202)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Bridges._setAutomatedMarketMakerPair(address,bool) (Bridges.sol#273-282):
External calls:
- dividendTracker.excludeFromDividends(pair) (Bridges.sol#278)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (Bridges.sol#281)
Reentrancy in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494):
External calls:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
External calls sending eth:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (Bridges.sol#475)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (Bridges.sol#479)
Reentrancy in Bridges._transfer(address,address,uint256) (Bridges.sol#428-494):
External calls:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
- dividendTracker.setBalance(address(from),balanceOf(from)) (Bridges.sol#481)
- dividendTracker.setBalance(address(to),balanceOf(to)) (Bridges.sol#482)
- dividendTracker.process(gas) (Bridges.sol#487-492)
External calls sending eth:
- swapBack(sellTokens) (Bridges.sol#457)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (Bridges.sol#488)
Reentrancy in Bridges.constructor() (Bridges.sol#129-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Bridges.sol#136-137)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Bridges.sol#142)
- dividendTracker.excludeFromDividends(pair) (Bridges.sol#278)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (Bridges.sol#281)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Bridges.sol#142)
Reentrancy in Bridges.constructor() (Bridges.sol#129-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (Bridges.sol#136-137)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (Bridges.sol#142)
- dividendTracker.excludeFromDividends(pair) (Bridges.sol#278)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (Bridges.sol#145)
- dividendTracker.excludeFromDividends(address(this)) (Bridges.sol#146)
- dividendTracker.excludeFromDividends(owner()) (Bridges.sol#147)
- dividendTracker.excludeFromDividends(deadWallet) (Bridges.sol#148)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (Bridges.sol#149)
- dividendTracker.approveToken(defaultToken,true) (Bridges.sol#150)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (Bridges.sol#213)
- excludeFromFees(_charityWalletAddress,true) (Bridges.sol#155)
- ExcludeFromFees(account,excluded) (Bridges.sol#213)
- excludeFromFees(_marketingWalletAddress,true) (Bridges.sol#154)
- ExcludeFromFees(account,excluded) (Bridges.sol#213)
- excludeFromFees(address(this),true) (Bridges.sol#156)
- ExcludeFromFees(account,excluded) (Bridges.sol#213)
- excludeFromFees(owner(),true) (Bridges.sol#153)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),100000000 * (10 ** 18)) (Bridges.sol#162)
Reentrancy in BridgesDividendTracker.processAccount(address,bool) (Bridges.sol#786-796):
External calls:
- amount = _withdrawDividendOfUser(account) (Bridges.sol#787)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#96-106)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (DividendPayingToken.sol#141-151)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#155)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#110)
Event emitted after the call(s):
- Claim(account,amount,automatic) (Bridges.sol#791)
Reentrancy in Bridges.processDividendTracker(uint256) (Bridges.sol#377-380):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (Bridges.sol#378)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (Bridges.sol#379)
Reentrancy in Bridges.swapBack(uint256) (Bridges.sol#496-529):
External calls:
- swapTokensForEth(amountToSwap) (Bridges.sol#506)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
External calls sending eth:
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
Event emitted after the call(s):
- SendDividends(amountBNBReflection) (Bridges.sol#520)
Reentrancy in Bridges.swapBack(uint256) (Bridges.sol#496-529):
External calls:
- swapTokensForEth(amountToSwap) (Bridges.sol#506)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (Bridges.sol#542-548)
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
External calls sending eth:
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (Bridges.sol#558-565)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (Bridges.sol#527)
Reentrancy in Bridges.updateDividendTracker(address) (Bridges.sol#174-189):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (Bridges.sol#181)
- newDividendTracker.excludeFromDividends(address(this)) (Bridges.sol#182)
- newDividendTracker.excludeFromDividends(owner()) (Bridges.sol#183)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (Bridges.sol#184)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (Bridges.sol#186)
Apply the check-effects-interactions pattern.
Additional information: link
BridgesDividendTracker.getAccount(address) (Bridges.sol#650-693) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (Bridges.sol#690-692)
BridgesDividendTracker.canAutoClaim(uint256) (Bridges.sol#714-720) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (Bridges.sol#715)
- block.timestamp.sub(lastClaimTime) >= claimWait (Bridges.sol#719)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (Address.sol#26-36) uses assembly
- INLINE ASM (Address.sol#32-34)
Address.verifyCallResult(bool,bytes,string) (Address.sol#195-215) uses assembly
- INLINE ASM (Address.sol#207-210)
Do not use evm assembly.
Additional information: link
Address.functionCall(address,bytes) (Address.sol#79-81) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#108-114) is never used and should be removed
Address.functionDelegateCall(address,bytes) (Address.sol#168-170) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (Address.sol#178-187) is never used and should be removed
Address.functionStaticCall(address,bytes) (Address.sol#141-143) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (Address.sol#151-160) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#54-59) is never used and should be removed
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#323-329) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (SafeERC20.sol#44-57) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (SafeERC20.sol#68-79) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (SafeERC20.sol#59-66) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (SafeERC20.sol#28-35) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
Bridges.totalFees (Bridges.sol#78) is set pre-construction with a non-constant function or state variable:
- rewardsFee.add(liquidityFee).add(marketingFee)
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
Low level call in Address.sendValue(address,uint256) (Address.sol#54-59):
- (success) = recipient.call{value: amount}() (Address.sol#57)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#122-133):
- (success,returndata) = target.call{value: value}(data) (Address.sol#131)
Low level call in Address.functionStaticCall(address,bytes,string) (Address.sol#151-160):
- (success,returndata) = target.staticcall(data) (Address.sol#158)
Low level call in Address.functionDelegateCall(address,bytes,string) (Address.sol#178-187):
- (success,returndata) = target.delegatecall(data) (Address.sol#185)
Low level call in Bridges.swapBack(uint256) (Bridges.sol#496-529):
- (success) = address(dividendTracker).call{value: amountBNBReflection}() (Bridges.sol#517)
- (success,None) = address(_marketingWalletAddress).call{value: amountBNBMarketing}() (Bridges.sol#523)
Low level call in Bridges.withdrawBNB(uint256) (Bridges.sol#575-580):
- (success) = address(_marketingWalletAddress).call{value: amount}() (Bridges.sol#578)
Low level call in DividendPayingToken.swapETHFordefaultToken(address,uint256) (DividendPayingToken.sol#74-118):
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#110)
Low level call in DividendPayingToken.swapETHForTokens(address,uint256) (DividendPayingToken.sol#119-163):
- (success) = recipient.call{gas: 3000,value: ethAmount}() (DividendPayingToken.sol#155)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Bridges._isBlacklisted (Bridges.sol#69) is not in mixedCase
Variable Bridges.HolderAmountCap (Bridges.sol#74) is not in mixedCase
Variable Bridges._marketingWalletAddress (Bridges.sol#80) is not in mixedCase
Variable Bridges._charityWalletAddress (Bridges.sol#81) is not in mixedCase
Parameter BridgesDividendTracker.getAccount(address)._account (Bridges.sol#650) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#289) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#296) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#303) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#313) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#35) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#266) is too similar to BridgesDividendTracker.getAccount(address).withdrawableDividends (Bridges.sol#655)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.
Additional information: link
Bridges.constructor() (Bridges.sol#129-163) uses literals with too many digits:
- _mint(owner(),100000000 * (10 ** 18)) (Bridges.sol#162)
Bridges.updateGasForProcessing(uint256) (Bridges.sol#288-293) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Bridges: gasForProcessing must be between 200,000 and 500,000) (Bridges.sol#289)
Bridges.slitherConstructorVariables() (Bridges.sol#48-582) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (Bridges.sol#60)
Bridges.slitherConstructorVariables() (Bridges.sol#48-582) uses literals with too many digits:
- HolderAmountCap = 500000 (Bridges.sol#74)
Bridges.slitherConstructorVariables() (Bridges.sol#48-582) uses literals with too many digits:
- gasForProcessing = 300000 (Bridges.sol#84)
BridgesDividendTracker.getAccountAtIndex(uint256) (Bridges.sol#695-712) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (Bridges.sol#706)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
Bridges.capFees (Bridges.sol#77) should be constant
Bridges.deadWallet (Bridges.sol#60) should be constant
Bridges.defaultToken (Bridges.sol#63) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
updateDividendTracker(address) should be declared external:
- Bridges.updateDividendTracker(address) (Bridges.sol#174-189)
updateDefaultToken(address) should be declared external:
- Bridges.updateDefaultToken(address) (Bridges.sol#192-194)
updateUniswapV2Router(address) should be declared external:
- Bridges.updateUniswapV2Router(address) (Bridges.sol#196-203)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Bridges.setAutomatedMarketMakerPair(address,bool) (Bridges.sol#267-271)
updateGasForProcessing(uint256) should be declared external:
- Bridges.updateGasForProcessing(uint256) (Bridges.sol#288-293)
isExcludedFromFees(address) should be declared external:
- Bridges.isExcludedFromFees(address) (Bridges.sol#327-329)
withdrawableDividendOf(address) should be declared external:
- Bridges.withdrawableDividendOf(address) (Bridges.sol#335-337)
dividendTokenBalanceOf(address) should be declared external:
- Bridges.dividendTokenBalanceOf(address) (Bridges.sol#339-341)
isTokenApproved(address) should be declared external:
- Bridges.isTokenApproved(address) (Bridges.sol#394-396)
isAMMApproved(address) should be declared external:
- Bridges.isAMMApproved(address) (Bridges.sol#398-400)
withdrawBep20(address) should be declared external:
- Bridges.withdrawBep20(address) (Bridges.sol#569-573)
withdrawDividend() should be declared external:
- BridgesDividendTracker.withdrawDividend() (Bridges.sol#614-616)
getAccountAtIndex(uint256) should be declared external:
- BridgesDividendTracker.getAccountAtIndex(uint256) (Bridges.sol#695-712)
process(uint256) should be declared external:
- BridgesDividendTracker.process(uint256) (Bridges.sol#739-784)
isTokenApproved(address) should be declared external:
- DividendPayingToken.isTokenApproved(address) (DividendPayingToken.sol#169-171)
isAMMApproved(address) should be declared external:
- DividendPayingToken.isAMMApproved(address) (DividendPayingToken.sol#177-179)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (DividendPayingToken.sol#245-256)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#289-291)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#303-305)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
Contract has 5% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find token contract audit
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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 price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Youtube account