Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.08 KB

Mooniswap pairs cannot be unpaused.md

File metadata and controls

30 lines (24 loc) · 1.08 KB

MooniswapFactoryGovernance contract has a shutdown function that can be used to pause the contract and prevent any future swaps.

However there is no function to unpause the contract.

There is also no way for the factory contract to redeploy a Mooniswap instance for a given pair of tokens.

Therefore, if a Mooniswap contract is ever shutdown/paused, it will not be possible for that pair of tokens to ever be traded on the Mooniswap platform again, unless a new factory contract is deployed.

Recommendation:

Consider providing a way for Mooniswap contracts to be unpaused.


Slide Screenshot

079.jpg


Slide Text

  • OpenZeppelin Audit 1inch Finding
  • DoS
  • Medium Severity
  • No Unpause
  • Factory Redeployment
  • Add Unpause Ability

References


Tags