Original title: " New way to play DeFi丨 3 minutes to understand the on-chain option protocol Primitive without an oracle machine "
Original source: Babbitt
Tokens on Ethereum are a series of ownership: from artworks to stable coins to The entire decentralized protocol. These tokens facilitate Swap swaps as well as lending and laying the foundation for the derivatives market. These decentralized derivatives markets allow users to leverage ownership and benefit from the growth of Ethereum.
Primitive is a new protocol that leverages the power of simplicity to provide tokenized options for any asset on Ethereum. It has three key properties:
This article outlines some of the highlights of Primitive V1.

p>
Primitive protocol is used to create A smart contract that contains a set of immutable parameters that define the options rules. Any two ERC-20 tokens can be chosen as base assets (assets purchased) or offers (tokens used to pay the strike price). Any strike price can be selected along with any future expiration timestamp. Once an options smart contract is created, there are two tokens representing ownership: a "long option token" and a "short option token". A “Long Option Token” has the right to purchase the underlying token at the strike price, while a “Short Option Token” is the tokenized counterparty, which is entitled to claim collateral or strike price payment.
Whether long or short option tokens, Both are minted from deposits of the base token. The underlying token will remain in the smart contract until the Long Option Token is exercised or expires. If the "Long Option Token" expires, the "Short Option Token" can be burned to release the underlying tokens deposited. If the user who holds the option chooses to exercise the option, the underlying token will be purchased at the exercise price. This is known as physical settlement and is characterized by a trade-off between security and capital efficiency. There is no need for a price oracle since the underlying token remains locked in the contract. If the options contract is cash-settled, a price is needed to determine its payout, but this will greatly increase the risk of the smart contract being attacked. Holding an oracle-free option token is more reliable, as the underlying token remains in a smart contract with no risk of default or liquidation from the counterparty.
Primitive builds a Novel mechanism, which provides a smooth transaction place for users and developers. In other words, users will indirectly exchange for "long option tokens" by borrowing the underlying tokens from flash swap. "Long Option Token" is an option with the right to purchase the underlying token, which is the token that the user wants to buy and hold.
However, Primitive will not put these tokens into the Uniswap pool for swap exchange. The protocol takes a different approach, putting "short option tokens" into the Uniswap pool alongside the underlying tokens. Users can gain pure long options exposure by minting options, holding long options, and selling short options.
Providing liquidity in this way and combining it with minting achieves two key functions:
First, liquidity providers (LP) deposit base tokens, then a portion of the base tokens are converted into short tokens (by minting), and finally these tokens Coins are added to the pool. This is the Single Asset Liquidity Reserve!
Since "Short Option Tokens" are minted, "Long Option Tokens" are also minted, but they are not offered to the pool. The wallet or smart contract that provides liquidity will hold the "long option token" and its LP token. When they want to withdraw from the asset pool, LP tokens are burned to release short options as well as the underlying tokens. Long and short options are then burned to free up the underlying tokens. All released Base Tokens are sent back to Liquidity Providers (LPs) with corresponding accrued fees added based on the liquidity they provide.
Since Liquidity Providers (LPs) always control long and short option tokens, their option risk is neutral upon initial deposit. Over time, LPs will start accumulating short option exposure or long option exposure as the underlying token and short option token reserve ratios change. For example, if a lot of options are purchased from a pool, over time there will be more short options in the pool. This means that LPs are entitled to more “short option tokens” than their deposits, meaning they gain some short option exposure over time.
"Long Option Tokens" can still be purchased indirectly from the pool. Assuming the asset pool has fairly high liquidity, users who want to buy long option tokens will use Uniswap V2 flash swap, mint long option tokens and short option tokens, and then pay back with short option tokens and an additional amount of base tokens Capital pool.
These additional base tokens are actually option payouts, purely on-chain option payouts.
Primitive option compensation comes from The ratio between the short option token and the underlying token in the Uniswap asset pair. There is no oracle in the entire process of option compensation: this is pure on-chain value. Just as tokens in a Uniswap asset pair can have a time-weighted average price (TWAP), TWAP can be constructed for these option compensations, and thus, the implied volatility oracle is born. These on-chain rewards can be used to derive the implied volatility (IV) of the option.
Primitive V1 Flash Exercises will first pay the base code currency and allow arbitrary code to be executed until payment for execution is received. If the base token is not paid at the strike price of the original base token or quote token, the entire transaction will be reverted, restoring all ERC-20 tokens to their original balance before the transaction. This enables many features, the best and simplest of which is the ability to profit from exercising the option without paying anything. This is because the underlying token can be exchanged for its market value, and these proceeds can then be used to pay the strike price of the exercise. Of course, exercising options is usually a loser's game, as time value (also known as extrinsic value) is burned. Regardless, these lightning executions enable flash loans to be made on the Primitive protocol.
An early issue in developing the protocol was that the underlying tokens locked in the options smart contract would be in a non-productive state (i.e. do nothing ). Through flash loans, these underlying tokens can be actively used in the ecosystem while maintaining zero default risk for option holders.
Primitive V1 has been deployed to the Ethereum mainnet. Documentation, audit reports, and user/developer guides for the protocol can be found at here found.
In addition, the Primitive project party also plans to:
The V1 version of the Primitive protocol is actually a proof of concept, The tradeoffs between security, capital efficiency, and ease of use can only be discovered through active use. Nonetheless, the Primitive Protocol team has thought of some new and untested ways to decentralize options, including:
Original link
< br>
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia