Wonder Finance Token Logo

WDF [Wonder Finance] Token

ALERT: rug pull scam

About WDF

Listings

Token 19 months
white paper

AUDIT & KYC ✅- WonderFinance is Distinguished Asset Multiplication Protocol 🚀 - Get reward in every 10 minutes - 144 Times in a day - Auto Staking Up to 1,051,200.62% APY! 💲🚀 - WonderFinance NFT Collection ✅ NFT Airdrop in Fair Launch. Daily BNB Reward For NFT Owners 💰🚀 - Liquidity locked for 1 years 🔒 - No Team tokens ✅

Social

Laser Scorebeta Last Audit: 23 May 2022

report
Token seems to be a scam (type: rug pull scam).

WonderFinance._name (#421) shadows:
- ERC20Detailed._name (#385)
WonderFinance._symbol (#422) shadows:
- ERC20Detailed._symbol (#386)
WonderFinance._decimals (#423) shadows:
- ERC20Detailed._decimals (#387)
Remove the state variable shadowing.

Additional information: link

WonderFinance.swapBack() (#736-774) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in WonderFinance._transferFrom(address,address,uint256) (#610-651):
External calls:
- rebase() (#624)
- pairContract.sync() (#566)
- addLiquidity() (#628)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#713-719)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
- swapBack() (#632)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#750-756)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
External calls sending eth:
- addLiquidity() (#628)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
- swapBack() (#632)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#636)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#640-642)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#637-639)
- _gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#678-680)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(nftAwardFee))) (#681-683)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#684-686)
- swapBack() (#632)
- inSwap = true (#467)
- inSwap = false (#469)
Apply the check-effects-interactions pattern.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

WonderFinance.swapBack().success (#762) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
(success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
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)

WonderFinance.rebase() (#538-569) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#544)
-epoch = times.mul(10) (#545)
WonderFinance.rebase() (#538-569) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#544)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(600)) (#564)
WonderFinance.takeFee(address,address,uint256) (#653-690) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (#676)
WonderFinance.takeFee(address,address,uint256) (#653-690) performs a multiplication on the result of a division:
-_gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#678-680)
WonderFinance.takeFee(address,address,uint256) (#653-690) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(nftAwardFee))) (#681-683)
WonderFinance.takeFee(address,address,uint256) (#653-690) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#684-686)
WonderFinance.getLiquidityBacking(uint256) (#941-949) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#946)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#947-948)
Consider ordering multiplication before division.

Additional information: link

WonderFinance.rebase().rebaseRate (#541) 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

WonderFinance.addLiquidity() (#692-734) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
Ensure that all the return values of the function calls are used.

Additional information: link

WonderFinance.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#929) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#935)
WonderFinance.setFeeReceivers(address,address,address,address)._treasuryReceiver (#930) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#936)
WonderFinance.setFeeReceivers(address,address,address,address)._nftAwardReceiver (#931) lacks a zero-check on :
- nftAwardReceiver = _nftAwardReceiver (#937)
WonderFinance.setFeeReceivers(address,address,address,address)._firePit (#932) lacks a zero-check on :
- firePit = _firePit (#938)
WonderFinance.setPairAddress(address)._pairAddress (#960) lacks a zero-check on :
- pairAddress = _pairAddress (#961)
Check that the address is not zero.

Additional information: link

Reentrancy in WonderFinance.addLiquidity() (#692-734):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#713-719)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#733)
Reentrancy in WonderFinance.constructor() (#490-536):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#498)
State variables written after the call(s):
- antiBotEnabled = true (#499)
- managers[msg.sender] = true (#500)
- router = IPancakeSwapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#509)
Reentrancy in WonderFinance.constructor() (#490-536):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#498)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#510-513)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = type()(uint256).max (#520)
- _autoAddLiquidity = true (#530)
- _autoRebase = true (#529)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (#525)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#526)
- _initRebaseStartTime = block.timestamp (#527)
- _isFeeExempt[treasuryReceiver] = true (#531)
- _isFeeExempt[address(this)] = true (#532)
- _lastRebasedTime = block.timestamp (#528)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#524)
- autoLiquidityReceiver = 0x02dEF39957FE6F1cB7729560f80491603eB8b21a (#515)
- firePit = 0x75C2Ab4aBee1Ce1f796907d12dfF5Fb459865c34 (#518)
- managers[treasuryReceiver] = true (#533)
- nftAwardReceiver = 0xD0068465bbC412CF6aD02efAa69Bb6bd80A75a93 (#517)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#510-513)
- pairAddress = pair (#521)
- pairContract = IPancakeSwapPair(pair) (#522)
- treasuryReceiver = 0x57343eBF03Ca15bE16263B914c7582c438d064be (#516)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in WonderFinance._transferFrom(address,address,uint256) (#610-651):
External calls:
- rebase() (#624)
- pairContract.sync() (#566)
- addLiquidity() (#628)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#713-719)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
- swapBack() (#632)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#750-756)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
External calls sending eth:
- addLiquidity() (#628)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#724-731)
- swapBack() (#632)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#688)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#637-639)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#645-649)
Reentrancy in WonderFinance.constructor() (#490-536):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#498)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#510-513)
Event emitted after the call(s):
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (#535)
Reentrancy in WonderFinance.rebase() (#538-569):
External calls:
- pairContract.sync() (#566)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#568)
Apply the check-effects-interactions pattern.

Additional information: link

WonderFinance.rebase() (#538-569) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (#547)
- deltaTimeFromInit >= (7 * 31536000) (#549)
- deltaTimeFromInit >= ((15 * 31536000) / 10) (#551)
- deltaTimeFromInit >= (31536000) (#553)
- i < times (#557)
WonderFinance.shouldRebase() (#806-813) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 600) (#807-812)
WonderFinance.shouldAddLiquidity() (#815-821) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 600) (#816-820)
Avoid relying on block.timestamp.

Additional information: link

WonderFinance.isContract(address) (#976-980) uses assembly
- INLINE ASM (#978)
Do not use evm assembly.

Additional information: link

WonderFinance.setFeeReceivers(address,address,address,address) (#928-939) compares to a boolean constant:
-require(bool,string)(managers[msg.sender] == true,This address is not allowed) (#934)
Remove the equality to the boolean constant.

Additional information: link

SafeMath.mod(uint256,uint256) (#97-100) is never used and should be removed
SafeMathInt.abs(int256) (#42-45) is never used and should be removed
SafeMathInt.add(int256,int256) (#36-40) is never used and should be removed
SafeMathInt.div(int256,int256) (#24-28) is never used and should be removed
SafeMathInt.mul(int256,int256) (#16-22) is never used and should be removed
SafeMathInt.sub(int256,int256) (#30-34) is never used and should be removed
Remove unused functions.

Additional information: link

WonderFinance.totalFee (#448-451) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(nftAwardFee).add(firePitFee)
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

Pragma version^0.8.12 (#10) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 WonderFinance.swapBack() (#736-774):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(nftAwardFee))}() (#762-767)
- (success,None) = address(nftAwardReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(nftAwardFee).div(treasuryFee.add(nftAwardFee))}() (#768-773)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeSwapPair.DOMAIN_SEPARATOR() (#147) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#148) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#165) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#185) is not in mixedCase
Parameter WonderFinance.setEnableAntiBot(bool)._enable (#776) is not in mixedCase
Parameter WonderFinance.setAutoRebase(bool)._flag (#829) is not in mixedCase
Parameter WonderFinance.setAutoAddLiquidity(bool)._flag (#838) is not in mixedCase
Parameter WonderFinance.addManger(address)._addr (#847) is not in mixedCase
Parameter WonderFinance.removeManager(address)._addr (#851) is not in mixedCase
Parameter WonderFinance.checkFeeExempt(address)._addr (#909) is not in mixedCase
Parameter WonderFinance.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#929) is not in mixedCase
Parameter WonderFinance.setFeeReceivers(address,address,address,address)._treasuryReceiver (#930) is not in mixedCase
Parameter WonderFinance.setFeeReceivers(address,address,address,address)._nftAwardReceiver (#931) is not in mixedCase
Parameter WonderFinance.setFeeReceivers(address,address,address,address)._firePit (#932) is not in mixedCase
Parameter WonderFinance.setWhitelist(address)._addr (#951) is not in mixedCase
Parameter WonderFinance.setBotBlacklist(address,bool)._botAddress (#955) is not in mixedCase
Parameter WonderFinance.setBotBlacklist(address,bool)._flag (#955) is not in mixedCase
Parameter WonderFinance.setPairAddress(address)._pairAddress (#960) is not in mixedCase
Parameter WonderFinance.setLP(address)._address (#964) is not in mixedCase
Variable WonderFinance._name (#421) is not in mixedCase
Variable WonderFinance._symbol (#422) is not in mixedCase
Variable WonderFinance._decimals (#423) is not in mixedCase
Variable WonderFinance._isFeeExempt (#426) is not in mixedCase
Variable WonderFinance.DEAD (#454) is not in mixedCase
Variable WonderFinance.ZERO (#455) is not in mixedCase
Variable WonderFinance._autoRebase (#477) is not in mixedCase
Variable WonderFinance._autoAddLiquidity (#478) is not in mixedCase
Variable WonderFinance._initRebaseStartTime (#479) is not in mixedCase
Variable WonderFinance._lastRebasedTime (#480) is not in mixedCase
Variable WonderFinance._lastAddLiquidityTime (#481) is not in mixedCase
Variable WonderFinance._totalSupply (#482) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#190) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#191)
Prevent variables from having similar names.

Additional information: link

WonderFinance.slitherConstructorVariables() (#412-984) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#454)
WonderFinance.slitherConstructorVariables() (#412-984) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#455)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#14) is never used in SafeMathInt (#12-46)
Remove unused state variables.

Additional information: link

WonderFinance.DEAD (#454) should be constant
WonderFinance.ZERO (#455) should be constant
WonderFinance._decimals (#423) should be constant
WonderFinance._name (#421) should be constant
WonderFinance._symbol (#422) should be constant
WonderFinance.feeDenominator (#452) should be constant
WonderFinance.firePitFee (#447) should be constant
WonderFinance.liquidityFee (#440) should be constant
WonderFinance.nftAwardFee (#442) should be constant
WonderFinance.sellFeef (#446) should be constant
WonderFinance.sellFeel (#443) should be constant
WonderFinance.sellFees (#445) should be constant
WonderFinance.sellFeet (#444) should be constant
WonderFinance.swapEnabled (#462) should be constant
WonderFinance.treasuryFee (#441) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#355-357)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#368-371)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#373-375)
name() should be declared external:
- ERC20Detailed.name() (#399-401)
symbol() should be declared external:
- ERC20Detailed.symbol() (#403-405)
decimals() should be declared external:
- ERC20Detailed.decimals() (#407-409)
getLiquidityBacking(uint256) should be declared external:
- WonderFinance.getLiquidityBacking(uint256) (#941-949)
setPairAddress(address) should be declared external:
- WonderFinance.setPairAddress(address) (#960-962)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find whitepaper link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for WDF

News for WDF