$XrpDoge brings something new in crypto market! Rewards in $DOGE for all holders and airdrops in $XRP.
The $XrpDoge team believes holders should be rewarded. All holders receive every hour $DOGE automatically. More than that, periodically airdrops will reward holders with $XRP.
XrpDoge.addLiquidity(uint256,uint256) (#1740-1755) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1746-1753)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in XrpDoge._transfer(address,address,uint256) (#1562-1673):
External calls:
- swapAndLiquify(swapTokens) (#1629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1746-1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1708-1714)
- swapAndSendDividends(sellTokens) (#1632)
- success = IERC20(DOGEToken).transfer(address(dividendTracker),dividends) (#1760)
- dividendTracker.distributeBusdDividends(dividends) (#1763)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1730-1736)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1746-1753)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1655)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#782)
- _balances[recipient] = _balances[recipient].add(amount) (#783)
- super._transfer(from,to,amount) (#1658)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#782)
- _balances[recipient] = _balances[recipient].add(amount) (#783)
- swapping = false (#1634)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract XrpDogeDividendTracker (#1770-1976) has payable functions:
- DividendPayingToken.receive() (#1136-1137)
- DividendPayingToken.distributeDividends() (#1152-1163)
- IDividendPayingToken.distributeDividends() (#488)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
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.
DividendPayingToken.lastAmount (#1112) is never used in XrpDogeDividendTracker (#1770-1976)
Remove unused state variables.
Additional information: link
XrpDoge.tradingEnabledTimestamp (#1316) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
XrpDoge._transfer(address,address,uint256) (#1562-1673) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1646)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1650)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in XrpDoge.whitelistDxSale(address,address) (#1412-1421):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1415)
- dividendTracker.excludeFromDividends(_routerAddress) (#1419)
State variables written after the call(s):
- excludeFromFees(_routerAddress,true) (#1420)
- _isExcludedFromFees[account] = excluded (#1447)
Apply the check-effects-interactions pattern.
Additional information: link
XrpDoge._transfer(address,address,uint256).lastProcessedIndex (#1666) 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
XrpDoge.addLiquidity(uint256,uint256) (#1740-1755) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1746-1753)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#1132) shadows:
- ERC20._symbol (#611) (state variable)
Rename the local variables that shadow another component.
Additional information: link
XrpDoge.whitelistDxSale(address,address)._presaleAddress (#1412) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1413)
Check that the address is not zero.
Additional information: link
Variable 'XrpDoge._transfer(address,address,uint256).claims (#1666)' in XrpDoge._transfer(address,address,uint256) (#1562-1673) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1667)
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 XrpDoge.whitelistDxSale(address,address) (#1412-1421):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1415)
State variables written after the call(s):
- excludeFromFees(_presaleAddress,true) (#1416)
- _isExcludedFromFees[account] = excluded (#1447)
- canTransferBeforeTradingIsEnabled[_routerAddress] = true (#1418)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in XrpDoge.whitelistDxSale(address,address) (#1412-1421):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1415)
- dividendTracker.excludeFromDividends(_routerAddress) (#1419)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1449)
- excludeFromFees(_routerAddress,true) (#1420)
Apply the check-effects-interactions pattern.
Additional information: link
XrpDogeDividendTracker.canAutoClaim(uint256) (#1892-1898) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1893)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1897)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '^0.7.0', '^0.7.6']
- ^0.7.0 (#1)
- >=0.6.0<0.8.0 (#79)
- >=0.6.2 (#104)
- >=0.6.2 (#201)
- >=0.5.0 (#246)
- >=0.5.0 (#265)
- ^0.7.6 (#319)
- ^0.7.0 (#381)
- ^0.7.6 (#448)
- ^0.7.6 (#472)
- ^0.7.6 (#513)
- ^0.7.6 (#559)
- ^0.7.0 (#575)
- ^0.7.0 (#879)
- ^0.7.6 (#1094)
- ^0.7.6 (#1285)
Use one Solidity version.
Additional information: link
SafeMathInt.mul(int256,int256) (#522-530) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.7.0 (#879) allows old versions
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
Parameter XrpDogeDividendTracker.getAccount(address)._account (#1829) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#97)" inContext (#91-100)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1187) is too similar to XrpDogeDividendTracker.getAccount(address).withdrawableDividends (#1834)
Prevent variables from having similar names.
Additional information: link
XrpDogeDividendTracker.getAccountAtIndex(uint256) (#1873-1890) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1884)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
process(uint256) should be declared external:
- XrpDogeDividendTracker.process(uint256) (#1917-1962)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account