Users can swap one collateral type for another within the FlyingTulip lending protocol. For example, swap USDC collateral to wS collateral (or any supported pair). The frontend signs an EIP-712 order and submits it to the executor API. The executor handles DEX routing and on-chain execution.
- User has collateral deposited in PositionsManager (e.g., USDC)
- User signs an EIP-712 swap order specifying sellToken → buyToken
{