Submitted by csanuragjain, also found by bin2chen, datapunk, Lambda, R2, rbserver, and unforgiven
Depeg event can still happen when the price of a pegged asset is equal to the strike price of a Vault which is incorrect.
This docs clearly mentions:
When the price of a pegged asset is below the strike price of a Vault, a Keeper(could be anyone) will trigger the depeg event and both Vaults(hedge and risk) will swap their total assets with the other party. - https://code4rena.com/contests/2022-09-y2k-finance-contest
Change the isDisaster modifier to revert when price of a pegged asset is equal to the strike price of a Vault
MiguelBits (Y2K Finance) disputed and commented:
csanuragjain (warden) commented:
MiguelBits (Y2K Finance) confirmed and commented:
HickupHH3 (judge) commented:
