Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
WoonklySwapPair._update(uint256,uint256,uint112,uint112) (#559-584) uses a weak PRNG: "blockTimestamp = uint32(block.timestamp % 2 ** 32) (#569)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
WoonklySwapPair._safeTransfer(address,address,uint256) (#507-519) uses a dangerous strict equality:
- require(bool,string)(success && (data.length == 0 || abi.decode(data,(bool))),WoonklySwap: TRANSFER_FAILED) (#515-518)
WoonklySwapPair.mint(address) (#613-642) uses a dangerous strict equality:
- _totalSupply == 0 (#627)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Reentrancy in WoonklySwapPair.burn(address) (#646-677):
External calls:
- _safeTransfer(_token0,to,amount0) (#669)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1) (#670)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
State variables written after the call(s):
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
- blockTimestampLast = blockTimestamp (#582)
- kLast = uint256(reserve0).mul(reserve1) (#675)
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
- reserve0 = uint112(balance0) (#580)
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
- reserve1 = uint112(balance1) (#581)
Reentrancy in WoonklySwapPair.swap(uint256,uint256,address,bytes) (#680-738):
External calls:
- _safeTransfer(_token0,to,amount0Out) (#703)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1Out) (#704)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- IWoonklySwapCallee(to).WoonklySwapCall(msg.sender,amount0Out,amount1Out,data) (#706-711)
State variables written after the call(s):
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
- blockTimestampLast = blockTimestamp (#582)
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
- reserve0 = uint112(balance0) (#580)
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
- reserve1 = uint112(balance1) (#581)
Apply the check-effects-interactions pattern.
Additional information: link
WoonklySwapPair.initialize(address,address,address) (#544-554) should emit an event for:
- swappRouter = _swappRouter (#553)
Emit an event for critical parameter changes.
Additional information: link
WoonklySwapPair.initialize(address,address,address)._token0 (#545) lacks a zero-check on :
- token0 = _token0 (#550)
WoonklySwapPair.initialize(address,address,address)._token1 (#546) lacks a zero-check on :
- token1 = _token1 (#551)
WoonklySwapPair.initialize(address,address,address)._swappRouter (#547) lacks a zero-check on :
- swappRouter = _swappRouter (#553)
Check that the address is not zero.
Additional information: link
Reentrancy in WoonklySwapPair.burn(address) (#646-677):
External calls:
- _safeTransfer(_token0,to,amount0) (#669)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1) (#670)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
State variables written after the call(s):
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
- price0CumulativeLast += uint256(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed (#573-575)
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
- price1CumulativeLast += uint256(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed (#576-578)
Reentrancy in WoonklySwapPair.swap(uint256,uint256,address,bytes) (#680-738):
External calls:
- _safeTransfer(_token0,to,amount0Out) (#703)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1Out) (#704)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- IWoonklySwapCallee(to).WoonklySwapCall(msg.sender,amount0Out,amount1Out,data) (#706-711)
State variables written after the call(s):
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
- price0CumulativeLast += uint256(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed (#573-575)
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
- price1CumulativeLast += uint256(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed (#576-578)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WoonklySwapPair.burn(address) (#646-677):
External calls:
- _safeTransfer(_token0,to,amount0) (#669)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1) (#670)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
Event emitted after the call(s):
- Burn(msg.sender,amount0,amount1,to) (#676)
- Sync(reserve0,reserve1) (#583)
- _update(balance0,balance1,_reserve0,_reserve1) (#674)
Reentrancy in WoonklySwapPair.swap(uint256,uint256,address,bytes) (#680-738):
External calls:
- _safeTransfer(_token0,to,amount0Out) (#703)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- _safeTransfer(_token1,to,amount1Out) (#704)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
- IWoonklySwapCallee(to).WoonklySwapCall(msg.sender,amount0Out,amount1Out,data) (#706-711)
Event emitted after the call(s):
- Swap(msg.sender,amount0In,amount1In,amount0Out,amount1Out,to) (#737)
- Sync(reserve0,reserve1) (#583)
- _update(balance0,balance1,_reserve0,_reserve1) (#736)
Apply the check-effects-interactions pattern.
Additional information: link
WoonklySwapERC20.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#337-369) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(deadline >= block.timestamp,WoonklySwap: EXPIRED) (#346)
WoonklySwapPair._update(uint256,uint256,uint112,uint112) (#559-584) uses timestamp for comparisons
Dangerous comparisons:
- timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0 (#571)
Avoid relying on block.timestamp.
Additional information: link
WoonklySwapERC20.constructor() (#261-277) uses assembly
- INLINE ASM (#263-265)
Do not use evm assembly.
Additional information: link
Low level call in WoonklySwapPair._safeTransfer(address,address,uint256) (#507-519):
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (#512-514)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IWoonklySwapPair.DOMAIN_SEPARATOR() (#93) is not in mixedCase
Function IWoonklySwapPair.PERMIT_TYPEHASH() (#95) is not in mixedCase
Function IWoonklySwapPair.MINIMUM_LIQUIDITY() (#126) is not in mixedCase
Function IWoonklySwapERC20.DOMAIN_SEPARATOR() (#206) is not in mixedCase
Function IWoonklySwapERC20.PERMIT_TYPEHASH() (#208) is not in mixedCase
Variable WoonklySwapERC20.DOMAIN_SEPARATOR (#248) is not in mixedCase
Function IWoonklySwapCallee.WoonklySwapCall(address,uint256,uint256,bytes) (#445-450) is not in mixedCase
Parameter WoonklySwapPair.initialize(address,address,address)._token0 (#545) is not in mixedCase
Parameter WoonklySwapPair.initialize(address,address,address)._token1 (#546) is not in mixedCase
Parameter WoonklySwapPair.initialize(address,address,address)._swappRouter (#547) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable WoonklySwapPair.swap(uint256,uint256,address,bytes).balance0Adjusted (#727) is too similar to WoonklySwapPair.swap(uint256,uint256,address,bytes).balance1Adjusted (#728)
Variable WoonklySwapPair.price0CumulativeLast (#472) is too similar to WoonklySwapPair.price1CumulativeLast (#473)
Prevent variables from having similar names.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 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
Unable to find Telegram and Twitter accounts