You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be nice for the engine to support arbitrary call to a interface as one of the actions. So we can do things like mint and fill order in a single transaction without using a wrapper
Concern
This mythology is well-explored with opyn, dydx's code base, but also might introduce an attack factor for things like flashloan to happen. (do arbitrary call -> transfer accounts to another address before margin checks -> skip check). While ensuring this is relatively easy because full collat engine have simple entry point, extra caution must be taken
The text was updated successfully, but these errors were encountered:
Rationale
it would be nice for the engine to support arbitrary call to a interface as one of the actions. So we can do things like
mint and fill order
in a single transaction without using a wrapperConcern
This mythology is well-explored with opyn, dydx's code base, but also might introduce an attack factor for things like flashloan to happen. (do arbitrary call -> transfer accounts to another address before margin checks -> skip check). While ensuring this is relatively easy because full collat engine have simple entry point, extra caution must be taken
The text was updated successfully, but these errors were encountered: