SantaDegen Token Logo

SantaDegen Token

About SantaDegen

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

SantaDegen.swapBack() (#534-603) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SantaDegen._transferFrom(address,address,uint256) (#469-507):
External calls:
- swapBack() (#489)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#556-562)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
External calls sending eth:
- swapBack() (#489)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#492)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#497-499)
- gonAmountReceived = takeFee(sender,gonAmount) (#494-496)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#526-528)
Apply the check-effects-interactions pattern.

Additional information: link

SantaDegen.swapBack().success (#578) is written in both
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
success = false (#591)
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.

SantaDegen.slitherConstructorVariables() (#274-811) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(100).mul(5) (#313)
Consider ordering multiplication before division.

Additional information: link

SantaDegen.swapBack() (#534-603) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#594-601)
Ensure that all the return values of the function calls are used.

Additional information: link

ERC20Detailed.constructor(string,string,uint8).decimals (#107) shadows:
- ERC20Detailed.decimals() (#122-124) (function)
Rename the local variables that shadow another component.

Additional information: link

SantaDegen.setMaster(address) (#417-419) should emit an event for:
- master = _master (#418)
Emit an event for critical parameter changes.

Additional information: link

SantaDegen.setFees(uint256,uint256,uint256,uint256,uint256) (#726-740) should emit an event for:
- ecosystemFee = _ecosystemFee (#733)
- liquidityFee = _liquidityFee (#734)
- buyBackFee = _buyBackFee (#735)
- marketingFee = _marketingFee (#736)
- totalFee = ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee) (#737)
- feeDenominator = _feeDenominator (#738)
Emit an event for critical parameter changes.

Additional information: link

SantaDegen.clearStuckBalance(uint256,address).adr (#762) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#764-766)
Check that the address is not zero.

Additional information: link

Reentrancy in SantaDegen.constructor() (#385-415):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#388-391)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#392)
- _gonBalances[msg.sender] = TOTAL_GONS (#396)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#397)
- _isFeeExempt[msg.sender] = true (#400)
- _isFeeExempt[address(this)] = true (#401)
- _isMaxWalletExempt[pair] = true (#403)
- _isMaxWalletExempt[DEAD] = true (#404)
- _isMaxWalletExempt[address(this)] = true (#406)
- _isMaxWalletExempt[msg.sender] = true (#407)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#395)
- autoLiquidityReceiver = 0xb41Dda06C37410bEb4869C1fA27956280773D13F (#409)
- buyBackFeeReceiver = 0xDA9b9c19beBe00ce149043b24cd375E5D485dDCb (#412)
- ecosystemFeeReceiver = 0xeA11DdE0DE105C537c2aef279a8b63966e71cd13 (#411)
- initialDistributionFinished = false (#399)
- marketingFeeReceiver = 0x04bB898231319f507F44f772b114142849D78965 (#410)
- pairContract = InterfaceLP(pair) (#393)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SantaDegen.rebase(uint256,int256) (#357-383):
External calls:
- pairContract.sync() (#379)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#381)
Apply the check-effects-interactions pattern.

Additional information: link

SantaDegen.transferToAddressETH(address,uint256) (#769-773) is never used and should be removed
Remove unused functions.

Additional information: link

SantaDegen.totalFee (#319-320) is set pre-construction with a non-constant function or state variable:
- ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee)
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.7.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 SantaDegen.swapBack() (#534-603):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#578-581)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#582-585)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#586-589)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable SantaDegen.ZERO (#324) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#220) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#221)
Prevent variables from having similar names.

Additional information: link

SantaDegen.slitherConstructorVariables() (#274-811) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#324)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#129) is never used in SafeMathInt (#127-161)
Remove unused state variables.

Additional information: link

SantaDegen.ZERO (#324) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

rescueToken(address,uint256) should be declared external:
- SantaDegen.rescueToken(address,uint256) (#754-760)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SantaDegen