Darling Waifu is a Play-to-Business NFT game environment with original art, an NFT marketplace and a user-dictated economy. This game also features interactions between the digital world and real life.
Developed by a group of more than 20 experts in key aspects of this metaverse, the project has a strong foundation and is highly secured. This means a solid game with a stable and sustainable economy.
The team has been doxxed by PinkSale and it will hold 0 PEACH tokens for a healthier environment.
Peach._autoSwap(address,uint256) (#679-694) uses a weak PRNG: "stabilizer = stabilizers[uint256(keccak256(bytes)(abi.encodePacked(block.timestamp))) % stabilizers.length] (#682-685)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Peach._getCustomPriceAndCommision(address,address,uint256) (#587-657) performs a multiplication on the result of a division:
-_commission = _amount.mul(_commission).div(100000) (#622)
-_commission = _amount.div(100) (#633)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Peach._getCustomPriceAndCommision(address,address,uint256) (#587-657):
External calls:
- _autoSwap(_from,_commission) (#607)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
State variables written after the call(s):
- balances[_from] = balances[_from].sub(_commission) (#623)
- balances[address(this)] = balances[address(this)].add(_commission) (#624)
- sales[_from][thisHour] = sales[_from][thisHour].add(1) (#618)
Reentrancy in Peach.transfer(address,uint256) (#508-529):
External calls:
- (_amount,_commission) = _getCustomPriceAndCommision(msg.sender,_to,_amount) (#519-523)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
State variables written after the call(s):
- _transfer(msg.sender,_to,_amount,_commission) (#524)
- balances[_from] = balances[_from].sub(_amount) (#576)
- balances[_to] = balances[_to].add(_amount.sub(_commission)) (#579)
- balances[rewards] = balances[rewards].add(_commission) (#580)
- balances[_to] = balances[_to].add(_amount) (#583)
Reentrancy in Peach.transferFrom(address,address,uint256) (#531-557):
External calls:
- (_amount,_commission) = _getCustomPriceAndCommision(_from,_to,_amount) (#547-551)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
State variables written after the call(s):
- _transfer(_from,_to,_amount,_commission) (#552)
- balances[_from] = balances[_from].sub(_amount) (#576)
- balances[_to] = balances[_to].add(_amount.sub(_commission)) (#579)
- balances[rewards] = balances[rewards].add(_commission) (#580)
- balances[_to] = balances[_to].add(_amount) (#583)
Apply the check-effects-interactions pattern.
Additional information: link
Peach._swap(address,uint256) (#729-737) ignores return value by router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
Ensure that all the return values of the function calls are used.
Additional information: link
Peach.setSupport(address) (#433-435) should emit an event for:
- support = _support (#434)
Emit an event for critical parameter changes.
Additional information: link
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._dex (#266) lacks a zero-check on :
- dex = _dex (#279)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._ido (#267) lacks a zero-check on :
- ido = _ido (#280)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._advisor (#268) lacks a zero-check on :
- advisor = _advisor (#281)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._airdrop (#269) lacks a zero-check on :
- airdrop = _airdrop (#282)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._charity (#270) lacks a zero-check on :
- charity = _charity (#283)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._presale (#271) lacks a zero-check on :
- presale = _presale (#284)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._rewards (#272) lacks a zero-check on :
- rewards = _rewards (#285)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._staking (#273) lacks a zero-check on :
- staking = _staking (#286)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._marketing (#274) lacks a zero-check on :
- marketing = _marketing (#287)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[])._publicIdo (#275) lacks a zero-check on :
- publicIdo = _publicIdo (#288)
Peach.setGame(address)._game (#367) lacks a zero-check on :
- game = _game (#368)
Peach.setRouter(address)._router (#418) lacks a zero-check on :
- routerAddress = _router (#419)
Peach.setSupport(address)._support (#433) lacks a zero-check on :
- support = _support (#434)
Check that the address is not zero.
Additional information: link
Reentrancy in Peach._getCustomPriceAndCommision(address,address,uint256) (#587-657):
External calls:
- _autoSwap(_from,_commission) (#607)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
State variables written after the call(s):
- expenditures[_from][thisHour] = expenditures[_from][thisHour].add(liquidityCommission) (#619-621)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Peach.transfer(address,uint256) (#508-529):
External calls:
- (_amount,_commission) = _getCustomPriceAndCommision(msg.sender,_to,_amount) (#519-523)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
Event emitted after the call(s):
- Transfer(msg.sender,_to,_amount.sub(_commission)) (#526)
- Transfer(msg.sender,rewards,_commission) (#527)
Reentrancy in Peach.transferFrom(address,address,uint256) (#531-557):
External calls:
- (_amount,_commission) = _getCustomPriceAndCommision(_from,_to,_amount) (#547-551)
- router.swapExactTokensForETH(_amount,0,path,_to,block.timestamp + 1800) (#730-736)
Event emitted after the call(s):
- Transfer(_from,_to,_amount.sub(_commission)) (#554)
- Transfer(_from,rewards,_commission) (#555)
Apply the check-effects-interactions pattern.
Additional information: link
Peach._getExpenditure(address,uint256) (#696-712) uses timestamp for comparisons
Dangerous comparisons:
- i > minHours (#706)
- thisHour >= _hours (#703)
Peach._getSales(address) (#714-727) uses timestamp for comparisons
Dangerous comparisons:
- i > minHours (#721)
- thisHour >= _hours (#718)
Avoid relying on block.timestamp.
Additional information: link
SafeMath16.add(uint16,uint16) (#167-171) is never used and should be removed
SafeMath16.div(uint16,uint16) (#155-160) is never used and should be removed
SafeMath16.mul(uint16,uint16) (#146-153) is never used and should be removed
SafeMath16.sub(uint16,uint16) (#162-165) is never used and should be removed
SafeMath32.add(uint32,uint32) (#133-137) is never used and should be removed
SafeMath32.div(uint32,uint32) (#121-126) is never used and should be removed
SafeMath32.mul(uint32,uint32) (#112-119) is never used and should be removed
SafeMath32.sub(uint32,uint32) (#128-131) is never used and should be removed
SafeMath64.add(uint64,uint64) (#99-103) is never used and should be removed
SafeMath64.div(uint64,uint64) (#87-92) is never used and should be removed
SafeMath64.mul(uint64,uint64) (#78-85) is never used and should be removed
SafeMath64.sub(uint64,uint64) (#94-97) is never used and should be removed
Remove unused functions.
Additional information: link
Peach._totalSupply (#263) is set pre-construction with a non-constant function or state variable:
- 5000000 * 10 ** _decimals
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.4.16<0.9.0 (#4) is too complex
Pragma version>=0.4.16<0.9.0 (#24) is too complex
Pragma version>=0.4.16<0.9.0 (#176) is too complex
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 Peach.setAutoSwap(bool)._hasAutoSwap (#363) is not in mixedCase
Parameter Peach.setGame(address)._game (#367) is not in mixedCase
Parameter Peach.setManagedAddresses(address[10])._managedAddresses (#372) is not in mixedCase
Parameter Peach.setPath(address[])._path (#408) is not in mixedCase
Parameter Peach.setRouter(address)._router (#418) is not in mixedCase
Parameter Peach.setStabilizers(address[])._stabilizers (#424) is not in mixedCase
Parameter Peach.setSupport(address)._support (#433) is not in mixedCase
Parameter Peach.addSwaps(address[])._autoSwaps (#438) is not in mixedCase
Parameter Peach.removeSwaps(address[])._autoSwaps (#451) is not in mixedCase
Parameter Peach.unlockedBalanceOf(address)._wallet (#465) is not in mixedCase
Parameter Peach.allowance(address,address)._owner (#486) is not in mixedCase
Parameter Peach.allowance(address,address)._spender (#486) is not in mixedCase
Parameter Peach.approve(address,uint256)._spender (#494) is not in mixedCase
Parameter Peach.approve(address,uint256)._amount (#494) is not in mixedCase
Parameter Peach.balanceOf(address)._wallet (#504) is not in mixedCase
Parameter Peach.transfer(address,uint256)._to (#508) is not in mixedCase
Parameter Peach.transfer(address,uint256)._amount (#508) is not in mixedCase
Parameter Peach.transferFrom(address,address,uint256)._from (#532) is not in mixedCase
Parameter Peach.transferFrom(address,address,uint256)._to (#533) is not in mixedCase
Parameter Peach.transferFrom(address,address,uint256)._amount (#534) is not in mixedCase
Parameter Peach.getBigCommission(uint256,uint256)._amount (#659) is not in mixedCase
Parameter Peach.getBigCommission(uint256,uint256)._expenditure (#659) is not in mixedCase
Parameter Peach.getExpenditure(address,uint256)._target (#667) is not in mixedCase
Parameter Peach.getExpenditure(address,uint256)._hours (#667) is not in mixedCase
Parameter Peach.getSales(address)._target (#675) is not in mixedCase
Parameter Peach.lockAndSend(address,uint256)._to (#740) is not in mixedCase
Parameter Peach.lockAndSend(address,uint256)._amount (#740) is not in mixedCase
Parameter Peach.transferLocked(address,uint256)._to (#751) is not in mixedCase
Parameter Peach.transferLocked(address,uint256)._amount (#751) is not in mixedCase
Variable Peach.TGE (#221) is not in mixedCase
Constant Peach.poolNumber (#245) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Peach._decimals (#260) is not in mixedCase
Variable Peach._symbol (#261) is not in mixedCase
Variable Peach._name (#262) is not in mixedCase
Variable Peach._totalSupply (#263) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable Peach.getBigCommission(uint256,uint256)._expenditure (#659) is too similar to Peach.expenditures (#233)
Prevent variables from having similar names.
Additional information: link
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[]) (#265-324) uses literals with too many digits:
- balances[_dex] = 900000 * 10 ** _decimals (#314)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[]) (#265-324) uses literals with too many digits:
- balances[_airdrop] = 100000 * 10 ** _decimals (#318)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[]) (#265-324) uses literals with too many digits:
- balances[_staking] = 200000 * 10 ** _decimals (#320)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[]) (#265-324) uses literals with too many digits:
- balances[_rewards] = 2300000 * 10 ** _decimals (#321)
Peach.constructor(address,address,address,address,address,address,address,address,address,address,address[]) (#265-324) uses literals with too many digits:
- balances[_marketing] = 200000 * 10 ** _decimals (#322)
Peach._getCustomPriceAndCommision(address,address,uint256) (#587-657) uses literals with too many digits:
- _commission = _amount.mul(_commission).div(100000) (#622)
Peach.slitherConstructorVariables() (#218-762) uses literals with too many digits:
- _totalSupply = 5000000 * 10 ** _decimals (#263)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ERC20 event PeachApproval(address,address,uint256) (#484)does not index parameter _owner
ERC20 event PeachApproval(address,address,uint256) (#484)does not index parameter _spender
Add the indexed keyword to event parameters that should include it, according to the ERC20 specification.
Additional information: link
Peach._decimals (#260) should be constant
Peach._name (#262) should be constant
Peach._symbol (#261) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
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
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)