Let's face it, we've all had our fair share of losses in the BSC before, no matter how carefully you invest, you still have to go through a steep learning curve to be able to recognise value and legitimacy in projects. But even then, you may still lose money whether it's due to the dev's shadiness or sometimes simply because of missing the pump.
GoldenXRP is here to make a change in the standard of BSC projects, as it aims to lead cryptocurrency into a golden era and provide both, short and long term profits for all investors by revolutionizing reward base utility as well as shortening the gap between the community and the developer team through sheer transparent work and open communication. After all, it's for the benefit of both parties that the token succeeds. Future long-term plans include Golden NFTs and Golden Game Arcade.
GoldenXRP.swapBack(uint256) (#1063-1106) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(amountBNBMarketing) (#1089)
- reflector.load{value: amountBNBReflection}() (#1105)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GoldenXRP.transferOwner(address) (#693-709):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- reflector.tally(from,_tOwned[from]) (#1034)
- reflector.tally(to,_tOwned[to]) (#1037)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1074-1080)
- reflector.cashout(reflectorGas) (#1040)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
- reflector.load{value: amountBNBReflection}() (#1105)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- _marketingWallet.transfer(amountBNBMarketing) (#1089)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
- reflector.load{value: amountBNBReflection}() (#1105)
State variables written after the call(s):
- _owner = newOwner (#706)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
GoldenXRP.swapBack(uint256) (#1063-1106) ignores return value by dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
Ensure that all the return values of the function calls are used.
Additional information: link
GoldenXRP.setMaxWalletSize(uint256,uint256) (#903-907) should emit an event for:
- _maxWalletSize = _tTotal.mul(percent).div(divisor) (#905)
Emit an event for critical parameter changes.
Additional information: link
GoldenXRP.constructor(uint256,uint256,address).msgSender (#646) lacks a zero-check on :
- _owner = msgSender (#650)
Check that the address is not zero.
Additional information: link
Reentrancy in GoldenXRP.constructor(uint256,uint256,address) (#645-685):
External calls:
- lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#655)
State variables written after the call(s):
- WBNB = dexRouter.WETH() (#658)
- _allowances[address(this)][address(dexRouter)] = type()(uint256).max (#656)
- approveMax(_routerAddress) (#674)
- _allowances[msg.sender][spender] = amount (#729)
- _isDividendExcluded[owner()] = true (#664)
- _isDividendExcluded[lpPair] = true (#665)
- _isDividendExcluded[address(this)] = true (#666)
- _isDividendExcluded[burnAddress] = true (#667)
- _isDividendExcluded[ZERO] = true (#668)
- _isDividendExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#671)
- _isFeeExcluded[owner()] = true (#662)
- _isFeeExcluded[address(this)] = true (#663)
- _isFeeExcluded[0x2D045410f002A95EFcEE67759A92518fA3FcE677] = true (#670)
- _isSniper[0xE4882975f933A199C92b5A925C9A8fE65d599Aa8] = true (#677)
- _isSniper[0x86C70C4a3BC775FB4030448c9fdb73Dc09dd8444] = true (#678)
- _isSniper[0xa4A25AdcFCA938aa030191C297321323C57148Bd] = true (#679)
- _isSniper[0x20C00AFf15Bb04cC631DB07ee9ce361ae91D12f8] = true (#680)
- _isSniper[0x0538856b6d0383cde1709c6531B9a0437185462b] = true (#681)
- reflector = Cashier(cInitializer) (#660)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GoldenXRP.transferOwner(address) (#693-709):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- reflector.tally(from,_tOwned[from]) (#1034)
- reflector.tally(to,_tOwned[to]) (#1037)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#1074-1080)
- reflector.cashout(reflectorGas) (#1040)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
- reflector.load{value: amountBNBReflection}() (#1105)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- _marketingWallet.transfer(amountBNBMarketing) (#1089)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
- reflector.load{value: amountBNBReflection}() (#1105)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#707)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#303-324) uses assembly
- INLINE ASM (#316-319)
Do not use evm assembly.
Additional information: link
GoldenXRP._transfer(address,address,uint256) (#919-955) compares to a boolean constant:
-require(bool,string)(tradingPaused == false,Trading not yet enabled.) (#927)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.sub(uint256,uint256) (#150-152) is never used and should be removed
Remove unused functions.
Additional information: link
GoldenXRP.swapAmount (#613) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000
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.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 Address._functionCallWithValue(address,bytes,uint256,string) (#303-324):
- (success,returndata) = target.call{value: weiValue}(data) (#307)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable GoldenXRP._hasLiqBeenAdded (#618) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in GoldenXRP.transferOwner(address) (#693-709):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- _marketingWallet.transfer(amountBNBMarketing) (#1089)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#704)
- _marketingWallet.transfer(amountBNBMarketing) (#1089)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,burnAddress,block.timestamp) (#1092-1099)
- reflector.load{value: amountBNBReflection}() (#1105)
State variables written after the call(s):
- _owner = newOwner (#706)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#707)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#389) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#390)
Prevent variables from having similar names.
Additional information: link
GoldenXRP.slitherConstructorVariables() (#528-1126) uses literals with too many digits:
- reflectorGas = 500000 (#608)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GoldenXRP._previousMaxWalletSize (#601) is never used in GoldenXRP (#528-1126)
Remove unused state variables.
Additional information: link
GoldenXRP.snipersCaught (#622) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setExcludeFromFees(address,bool) should be declared external:
- GoldenXRP.setExcludeFromFees(address,bool) (#796-798)
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.
Number of Binance Smart Chain (BSC) token holders is low.
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
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find Telegram link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Youtube account
Unable to find Discord account