Submitted by SmartSek, also found by csanuragjain and hansfriese
StableSwapFacet.sol#L279-L286
In StableSwapFacet.sol, two swapping functions contain the whenNotPaused modifier while swapExactOut() and addSwapLiquidity() do not. All functions to swap and add liquidity should contain the same modifiers to stop transactions while paused.
Example with modifier
Examples without modifier
and
Add the whenNotPaused modifier to all functions that perform swaps or liquidity additions.
jakekidd (Connext) confirmed and resolved:
0xleastwood (judge) commented:
