Skip to content

Streaming swaps ignore tvl/synth cap during swap

Son of Odin requested to merge streaming-swaps-ignore-synth-cap into develop

In an effort to make streaming swaps more reliable (ie not enter partial fulfillment status), this change allows a streaming swap to continue even when TVL cap or synth cap is hit, as long as, the full value amount wouldn't hit the cap at the start the swap.

Both TVL cap and synth caps are "soft" by nature, in that its okay if the network goes over them some.

This feature would be used by savers and lending feature to allow them to utilize streaming swaps.

Edited by Son of Odin

Merge request reports