Triangular Swaps
At Divergence v1, one swaps collateral tokens for calls or puts. A virtual curve is used to triangulate the relative value of calls, puts and collaterals as follows:
Last updated
Was this helpful?
At Divergence v1, one swaps collateral tokens for calls or puts. A virtual curve is used to triangulate the relative value of calls, puts and collaterals as follows:
Last updated
Was this helpful?
A Divergence v1 pool handles three assets: a call, a put, and a collateral token. Using the virtual curve, one swaps an amount of options premiums for a certain payout expected at settlement. The buyer obtains the right to receive this expected payout, represented by the options tokens.
The virtual curve tracks the squared root of the between call and put options. This cross rate is the relative value of puts quoted by calls. The is used to compute the value of calls and puts quoted by collateral.
When one swaps collaterals for calls, the call price rises. The put price must fall because of put-call parity. So, the cross rate of calls and puts drops. Conversely, the put price increases because of a put purchase. The call price declines accordingly, raising the cross rate.
One can receive the same amount of call or put tokens when a liquidity range is crossed entirely from above, or below. This liquidity range has to observe put-call parity:
Premiums for Calls + Premiums for Puts = Payoff for Calls (Puts)
This triangulation process ensures that, for the same liquidity range, a long call and a long put can settle each other, regardless of the outcome.
It must be noted that premiums for calls (puts) can serve as expected returns for puts (calls) sold in the same liquidity range. If this put-call parity is broken, it generates within a pool. So, the pool has to triangulate the transactions as such:
receives a collateral value of calls (or puts) as options premium
combines with a collateral value of puts (or calls) and reserves the payout for settlement
mints call (or put) tokens for the buyer