Abusive Function Loops

Alerts if the specified start function is executed and later the end function is executed in the same transaction.

This is good to check for illogical loops such as adding and removing liquidity in the same transaction, opening and liquidating a position in the same transaction, creating and closing a market in the same transaction, etc.

Example Prior Incidents:

Vyper

Zunami

Last updated