Composability, Perpetuity, and Oracle-Freeness in Panoptic
How Panoptic lets you trade multi-legged options without expiry and oracles
Every day we get closer to launch! ๐คฉ
However, we heard some of you might have some Q's regarding Panoptions:
How are they priced?
Are they any different from Vanilla European Options?
Why can't we just use Black-Scholes (BSM)?
Read our #ResearchBites to find out!
OK, first things first: Panoptic is a composable, perpetual โ๏ธ, oracle-free ๐ฎ, instant-settlement options trading protocol๐ built on top of Uni V3. We're doing for decentralized options what x ยท y = k automated market makers did for spot trading ๐ฏ๐ฅ
To do this, we make use of the observation that LPing in Uni V3 (i.e. LPing ranged positions) has a very similar payoff curve as selling covered calls. Buying/selling options is intimately related to adding/removing liquidity
๐ We mentioned that Panoptic is:
Composable
Perpetual โ๏ธ
Oracle-free ๐ฎ
These 3 characteristics make Panoptic different from other protocols! Let's describe them briefly ๐
By "composable" we mean that users can create multi-legged options positions on a single mint! This allows for a wide variety of strategies that can be adjusted to each user's needs. Wanna know more about multi-legged positions? We got you *covered* ๐
Perpetual options have no expiration date & can be exercised at any time. This makes them more flexible than vanilla options. However, they can't be priced using Black-Scholes...but their pricing is based on a model that *does not require an oracle*
Why did we choose to not rely on a price oracle ๐ฎ?
Cons of oracles:
Need to provide reliable data 100% of the time
Are complex to integrate on chain
Can be expensive to maintain
๐ Difficult in DeFi! So how do we calculate the price without oracles? ๐ค
Panoptic uses an oracle-free concept called streaming premium ๐ค
No upfront payment
Instead, buyers pay a small fee at every block to keep their position open, whenever it is near-the-money
This per-block fee is computed from every change in price of the asset ๐
Intuitively,
If price changes a lot, volatility + fees are big
If it doesn't change much, volatility + fees are small
Mathematically, the total premium corresponds to integrating theta (ฮธ) of the option over time (with ฮธ the rate of change of the option premium, P, with respect to time), se formula below.
This corresponds to options that continuously expire at small time intervals (โt). Does Panoptic integrate ฮธ on-chain? No! ๐ โโ๏ธ In practice, this premia corresponds to the LP fees in the Uni V3 pool! Does this converge to BSM? Yes! ๐คฏ We can verify this w/ Monte Carlo ๐
Ok, so how do we implement this on chain? Using Uni V3-like structure!
We keep track of fees + liquidity associated to each pos.
As price moves, fees accumulate
A buyer that opens at t1 & closes at t2 pays fees prop. toย UniV3 fees (+ spread) between t1 & t2
Indeed, UniV3 collects fees as
- \(\mathsf{totalFees}=\mathsf{fg_upper-fg_lower-fg_insideLast \cdot liquidity }\)
where
fgupper
andfglower
are the feegrouwthOutside0x128 of the upper and lower ticks in UniV3, andfginsdelast=feeGrowthInsde0lastX128,
and liquidity is the liquidity owned by the protocol. In this setting, the option buyer would pay a premium as shown below to the seller:\(\mathsf{premium}=\frac{\mathsf{totalFees\cdot positionSize}}{\mathsf{liquidity}}\)
Detailed #ResesearchBites on the implementation soon ๐
๐ฎโ๐จ We tried hiding a lot of the "mathier" details, but we hope that wasn't too much to digest! If it was, or if you want to learn more about Panoptic, you can read our white paper here.
my zoom is being so weird sorry about that. what do u think about this anonymous betting with cryptocurrency? Just joined them... - https://tinyurl.com/3fbhv4ts