โš™๏ธFlashSwapsProxy contract

This is a helper contract. It is only needed in case of flash_swap entrypoint call. It accepts a user's lambda from DexCore contract and executes it.

This implementation is due to the fact that users' lambdas can be malicious for a DexCore contract. And to avoid this, the execution of the users' lambdas is transferred to this FlashSwapProxy contract.

Last updated