Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PolkaMonkey._symbol (contracts/PolkaMonkey.sol#307) shadows:
- ERC20._symbol (contracts/Common/ERC20.sol#44)
Remove the state variable shadowing.
Additional information: link
Contract locking ether found:
Contract PolkaMonkey (contracts/PolkaMonkey.sol#303-525) has payable functions:
- PolkaMonkey.receive() (contracts/PolkaMonkey.sol#487)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
PolkaMonkey.allowance(address,address).owner (contracts/PolkaMonkey.sol#495) shadows:
- Ownable.owner() (contracts/Common/Ownable.sol#24-26) (function)
Rename the local variables that shadow another component.
Additional information: link
PolkaMonkey.SetSwapMinutes(uint256) (contracts/PolkaMonkey.sol#426-428) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (contracts/PolkaMonkey.sol#427)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (contracts/Common/Ownable.sol#16) lacks a zero-check on :
- _owner = msgSender (contracts/Common/Ownable.sol#17)
Check that the address is not zero.
Additional information: link
Reentrancy in PolkaMonkey.constructor(string,string) (contracts/PolkaMonkey.sol#348-370):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/PolkaMonkey.sol#361-362)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/PolkaMonkey.sol#365)
- _allowances[owner][spender] = amount (contracts/Common/ERC20.sol#287)
- _startTimeForSwap = block.timestamp (contracts/PolkaMonkey.sol#368)
- addressForMkt = msg.sender (contracts/PolkaMonkey.sol#367)
- uniswapV2Router = _uniswapV2Router (contracts/PolkaMonkey.sol#364)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PolkaMonkey.constructor(string,string) (contracts/PolkaMonkey.sol#348-370):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/PolkaMonkey.sol#361-362)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/Common/ERC20.sol#288)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/PolkaMonkey.sol#365)
Apply the check-effects-interactions pattern.
Additional information: link
PolkaMonkey._transfer(address,address,uint256) (contracts/PolkaMonkey.sol#430-462) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (contracts/PolkaMonkey.sol#440)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256,string) (contracts/Common/SafeMath.sol#142-145) is never used and should be removed
Remove unused functions.
Additional information: link
Variable PolkaMonkey._intervalMinutesForSwap (contracts/PolkaMonkey.sol#326) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/Common/Context.sol#21)" inContext (contracts/Common/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/PolkaMonkey.sol#79) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/PolkaMonkey.sol#80)
Prevent variables from having similar names.
Additional information: link
PolkaMonkey.slitherConstructorVariables() (contracts/PolkaMonkey.sol#303-525) uses literals with too many digits:
- tokenForMkt = 2000000 (contracts/PolkaMonkey.sol#312)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PolkaMonkey.marketingAddress (contracts/PolkaMonkey.sol#310) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
swapTokenForMkt() should be declared external:
- PolkaMonkey.swapTokenForMkt() (contracts/PolkaMonkey.sol#464-469)
Use the external attribute for functions never called from the contract.
Additional information: link
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts