Golddoge Sachs ($GDS) is the first first token that is your broker.
With Golddoge Sachs, we're creating a leveraged index that lets you invest in an exclusive selection of the best assets, diversified like equity funds - only with crypto!
Golddoge Sachs ($GDS) is thus the first crypto ETF created and operating directly on the blockchain of the binance smart chain. This makes it the first token that can be used to invest in 14 coins at the same time by buying one token, taking advantage of a hyperdeflationary system, because with each yield distribution, GDS tokens are burned, thinning the supply more and more.
The effect of the GDS chart here acts as a leverage effect, the increase through GDS amplifies the market profits made through the 14 coins and is also further boosted by people selling GDS leaving their share behind for holders. Thus, the return from investing in the market with GDS is higher than individual investments in the market.
To build the portfolio, 9% Tax is levied, of which 6% goes into the portfolio and the remaining 3% ensures marketing and further development. Accordingly, the portfolio tax is invested in BTC, ETH, BNB, MATIC, ADA, UNI, XRP, AVAX, SOL, TRX, DOGE, DOT, LTC and LINK weighted by market capitalization, performance, trend and stability. The funds are invested according to the DCA principle and their profits are distributed to the holders on a monthly basis. The holders then decide for themselves whether they want to hold the profits and thus have the ETF like an accumulating ETF or whether they want to have the profits distributed directly. The tokens received in the profit distribution (buyback from GDS) are burned by the project.
The project is backed by an audit, a SAFU contract (no malicious features according to Pinksale), KYC and a variety of features that protect holders such as anti swing trade design, max trans and max wallet rules.
Token.swapBack() (#1284-1323) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Token._transfer(address,address,uint256) (#1145-1247):
External calls:
- swapBack() (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
External calls sending eth:
- swapBack() (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1240)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#381)
- _balances[recipient] = _balances[recipient].add(amount) (#382)
- super._transfer(from,to,amount) (#1246)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#381)
- _balances[recipient] = _balances[recipient].add(amount) (#382)
- swapping = false (#1202)
- tokensForLiquidity += fees * 33 / 99 (#1218)
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1225)
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1233)
- tokensForMaintenance += fees * sellMaintenanceFee / sellTotalFees (#1226)
- tokensForMaintenance += fees * buyMaintenanceFee / buyTotalFees (#1234)
- tokensForMarketing += fees * 33 / 99 (#1220)
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1227)
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1235)
- tokensForPortfolio += fees * 33 / 99 (#1219)
- tokensForPortfolio += fees * sellPortfolioFee / sellTotalFees (#1228)
- tokensForPortfolio += fees * buyPortfolioFee / buyTotalFees (#1236)
Apply the check-effects-interactions pattern.
Additional information: link
Token._transfer(address,address,uint256) (#1145-1247) uses a dangerous strict equality:
- tradingActiveBlock == block.number && (automatedMarketMakerPairs[to] || automatedMarketMakerPairs[from]) (#1216)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Token.swapBack().success (#1288) is written in both
(success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
(success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Token.constructor().currentRouter (#981) 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
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForLiquidity += fees * 33 / 99 (#1218)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForPortfolio += fees * buyPortfolioFee / buyTotalFees (#1236)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1233)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1227)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForMarketing += fees * 33 / 99 (#1220)
Token.swapBack() (#1284-1323) has costly operations inside a loop:
- tokensForMarketing = 0 (#1309)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForPortfolio += fees * 33 / 99 (#1219)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForPortfolio += fees * sellPortfolioFee / sellTotalFees (#1228)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- swapping = false (#1202)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForMaintenance += fees * buyMaintenanceFee / buyTotalFees (#1234)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- swapping = true (#1198)
Token.swapBack() (#1284-1323) has costly operations inside a loop:
- tokensForPortfolio = 0 (#1311)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForMaintenance += fees * sellMaintenanceFee / sellTotalFees (#1226)
Token.swapBack() (#1284-1323) has costly operations inside a loop:
- tokensForLiquidity = 0 (#1308)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1225)
Token.swapBack() (#1284-1323) has costly operations inside a loop:
- tokensForMaintenance = 0 (#1310)
Token._transfer(address,address,uint256) (#1145-1247) has costly operations inside a loop:
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1235)
Use a local variable to hold the loop computation result.
Additional information: link
Pragma version0.8.9 (#21) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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
Redundant expression "this (#29)" inContext (#23-32)
Remove redundant statements if they congest code but offer no value.
Additional information: link
SafeMathInt.MAX_INT256 (#671) is never used in SafeMathInt (#669-727)
Remove unused state variables.
Additional information: link
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1232)
-tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1233)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1227)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForMarketing += fees * 33 / 99 (#1220)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForMaintenance += fees * sellMaintenanceFee / sellTotalFees (#1226)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForPortfolio += fees * sellPortfolioFee / sellTotalFees (#1228)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1232)
-tokensForMaintenance += fees * buyMaintenanceFee / buyTotalFees (#1234)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForPortfolio += fees * 33 / 99 (#1219)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1232)
-tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1235)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForLiquidity += fees * 33 / 99 (#1218)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1225)
-fees = amount.mul(buyTotalFees).div(100) (#1232)
Token._transfer(address,address,uint256) (#1145-1247) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1232)
-tokensForPortfolio += fees * buyPortfolioFee / buyTotalFees (#1236)
Consider ordering multiplication before division.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#745) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#746)
Prevent variables from having similar names.
Additional information: link
Reentrancy in Token.swapBack() (#1284-1323):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1298)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
State variables written after the call(s):
- tokensForLiquidity = 0 (#1308)
- tokensForMaintenance = 0 (#1310)
- tokensForMarketing = 0 (#1309)
- tokensForPortfolio = 0 (#1311)
Apply the check-effects-interactions pattern.
Additional information: link
Token.addLiquidity(uint256,uint256) (#1269-1282) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
Ensure that all the return values of the function calls are used.
Additional information: link
Token.constructor().totalSupply (#959) shadows:
- ERC20.totalSupply() (#255-257) (function)
- IERC20.totalSupply() (#105) (function)
Token.constructor()._owner (#954) shadows:
- Ownable._owner (#616) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Token.updateMarketingWallet(address).newMarketingWallet (#1125) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1127)
Token.updateMaintenanceWallet(address).newWallet (#1130) lacks a zero-check on :
- maintenanceWallet = newWallet (#1132)
Token.updatePortfolioWallet(address).newWallet (#1135) lacks a zero-check on :
- portfolioWallet = newWallet (#1137)
Check that the address is not zero.
Additional information: link
Token.swapBack() (#1284-1323) has external calls inside a loop: (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
Token.addLiquidity(uint256,uint256) (#1269-1282) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
Token.swapTokensForEth(uint256) (#1249-1267) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#1254)
Token.swapBack() (#1284-1323) has external calls inside a loop: (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
Token.swapBack() (#1284-1323) has external calls inside a loop: (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
Token.swapTokensForEth(uint256) (#1249-1267) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Token.swapBack() (#1284-1323):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1298)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
External calls sending eth:
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- _allowances[owner][spender] = amount (#447)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Token.swapBack() (#1284-1323):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1298)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
External calls sending eth:
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#448)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1317)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1318)
Reentrancy in Token._transfer(address,address,uint256) (#1145-1247):
External calls:
- swapBack() (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1259-1265)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
External calls sending eth:
- swapBack() (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1274-1281)
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#383)
- super._transfer(from,address(this),fees) (#1240)
- Transfer(sender,recipient,amount) (#383)
- super._transfer(from,to,amount) (#1246)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathInt.div(int256,int256) (#688-694) is never used and should be removed
SafeMathInt.abs(int256) (#717-720) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#730-734) is never used and should be removed
SafeMathInt.mul(int256,int256) (#676-683) is never used and should be removed
ERC20._burn(address,uint256) (#416-424) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#609-612) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#723-726) is never used and should be removed
SafeMathInt.sub(int256,int256) (#699-703) is never used and should be removed
Context._msgData() (#28-31) is never used and should be removed
SafeMath.mod(uint256,uint256) (#593-595) is never used and should be removed
SafeMathInt.add(int256,int256) (#708-712) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Token.swapBack() (#1284-1323):
- (success,None) = address(maintenanceWallet).call{value: ethForMaintenance}() (#1313)
- (success,None) = address(portfolioWallet).call{value: ethForPortfolio}() (#1314)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1321)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter Token.updateSellFees(uint256,uint256,uint256,uint256)._portfolioFee (#1099) is not in mixedCase
Parameter Token.updateSellFees(uint256,uint256,uint256,uint256)._maintenanceFee (#1099) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#50) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#67) is not in mixedCase
Parameter Token.updateBuyFees(uint256,uint256,uint256,uint256)._liquidityFee (#1090) is not in mixedCase
Parameter Token.updateSellFees(uint256,uint256,uint256,uint256)._liquidityFee (#1099) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#49) is not in mixedCase
Event TokenmarketingWalletUpdated(address,address) (#930) is not in CapWords
Parameter Token.updateBuyFees(uint256,uint256,uint256,uint256)._maintenanceFee (#1090) is not in mixedCase
Parameter Token.updateSellFees(uint256,uint256,uint256,uint256)._marketingFee (#1099) is not in mixedCase
Variable Token._isExcludedMaxTransactionAmount (#918) is not in mixedCase
Constant Token.deadAddress (#878) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter Token.updateBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#1090) is not in mixedCase
Function IUniswapV2Router01.WETH() (#740) is not in mixedCase
Event TokenmaintenanceWalletUpdated(address,address) (#932) is not in CapWords
Event TokenportfolioWalletUpdated(address,address) (#934) is not in CapWords
Parameter Token.updateBuyFees(uint256,uint256,uint256,uint256)._portfolioFee (#1090) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#311-319)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#651-654)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#352-355)
symbol() should be declared external:
- ERC20.symbol() (#231-233)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#274-277)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#333-336)
name() should be declared external:
- ERC20.name() (#223-225)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#293-296)
decimals() should be declared external:
- ERC20.decimals() (#248-250)
- Token.decimals() (#1081-1083)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#282-284)
Use the external attribute for functions never called from the contract.
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has relatively low CoinGecko rank
Unable to find Discord account