On a decentralized exchange, THORChain does it automatically with streaming swaps: you make one deposit, the exchange breaks ...