Core - Flash Swaps
Capricorn flash swaps allow you to withdraw up to the full reserves of any CRC20 token on Capricorn and execute arbitrary logic at no upfront cost, provided that by the end of the transaction you either:
- pay for the withdrawn CRC20 tokens with the corresponding pair tokens
- return the withdrawn CRC20 tokens along with a small fee
Flash swaps are incredibly useful because they obviate upfront capital requirements and unnecessary order-of-operations constraints for multi-step transactions involving Capricorn.