SynFutures 백서

SynFutures

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 2쪽 중 1쪽

SynFutures v3: The Oyster AMM Model for Next-Gen DeFi Derivatives ∗ SynFutures Team info@synfutures.com October 17, 2025 Abstract SynFutures v3 is the latest iteration of the decentralized derivatives platform. SynFutures v1 introduced the first permissionless listing and trading of any crypto asset. SynFutures v2 offered a more streamlined, easier-to-navigate user experience for traders and liquidity providers. SynFutures v3 is designed to cater to a larger pool of market participants. The revolutionary Oyster Automated Market Maker, deployed fully on-chain, combines the best of concentrated liquidity and order book in a single model for improved liquidity, enabling everyday traders, professional market makers, and liquidity providers to benefit. 1 Harmonizing Simplicity and Efficiency Fifteen years after the inception of Bitcoin, decentralized finance (DeFi) has delivered its promises of transparency, permissionlessness, and accessibility. Remarkably, this financial inclusivity has been ex- tended to those seeking and providing services. For instance, Automated Market Makers (AMMs) have democratized activities once exclusive to professionals; market making is now as straightforward as mak- ing a deposit. Based on the pioneering work of spot market platforms such as Uniswap and Curve, SynFutures v1 and SynFutures v2 further developed the AMM to enable single token liquidity provision for derivatives. Now, anyone can launch a new derivatives market with a single token for an expansive array of assets, including major cryptocurrencies, altcoins, NFTs, hash rate indices, and, theoretically, any global asset with an available price feed. This innovation has diversified the range of assets and enabled non-professionals to reap yields and fees in a permissionless environment. However, this simplicity has also sparked criticism. On the one hand, it undermines capital efficiency and, consequently, liquidity depth. On the other hand, it hampers operational efficiency. Less experienced users may struggle to grasp all the rules, risking losses, and even seasoned users may find it challenging to stay updated on every protocol and market movement. In response to these challenges and after facilitating billions of dollars in trades, SynFutures has increas- ingly realized that improving the existing financial system does not eliminate the need for professionals. Instead, an optimal system, akin to other natural systems, should be sufficiently decentralized and per- missionless to welcome a wider variety of participants, transparent enough to select genuine experts, and accessible enough for everyone to benefit from the services provided by professionals, all without prohibitive intermediary costs or entry barriers. With this conviction, we present our groundbreaking Oyster AMM model, a comprehensive derivatives market-making model that combines the best of the order book and AMM models on-chain and is ∗This document is intended for review and comment purposes only and its content is subject to change at any time without notice. Please do not distribute or solely rely on the information here. Your feedback and suggestions for improvement are welcome and encouraged. 1 SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. engineered to harmoniously blend simplicity with efficiency and tailored for both novices and experts alike. 2 Oyster AMM: Key Features The Oyster AMM model builds upon the foundational architecture of SynFutures’ sAMM model while taking a significant leap forward to introduce the following features. 2.1 Single-Token Concentrated Liquidity for Derivatives The Oyster AMM model facilitates liquidity concentration within specific price ranges and incorporates leverage to increase capital efficiency. Unlike prevalent spot market-focused liquidity models such as Uniswap v3, the Oyster AMM intro- duces a margin management and liquidation framework tailored specifically for derivatives. Moreover, this model embraces the concept of two-sided liquidity while utilizing just a single token, eliminating the necessity to provide liquidity for both ends of a token pair. This streamlined approach enhances the efficiency of the trading ecosystem, making it even easier for traders to take advantage of SynFutures’ permissionless listings’ feature established in previous iterations of the protocol. 2.2 A Fully On-chain Order Book The AMM model democratizes market access, offering automated “market maker” functionality even for niche assets, enhancing diversity. However, this comes at the expense of capital efficiency as AMMs demand significant liquidity for equivalent price impact compared to order book models. Order book models don’t often offer volatile digital assets due to complex infrastructure and risk management concerns. However, they are ideal for capital efficiency, concentrating liquidity around mid-price. With that in mind, we also introduced an order book model in SynFutures v3 . After evaluating off-chain and hybrid alternatives, we chose a fully on-chain approach for the order book, guaranteeing transparency, trustlessness, and anti-censorship. The model promises security and robustness by eliminating dependence on centralized administrators to process orders with the potential for “backdoors” and mitigating vulnerabilities across on-off chain systems, including order management matching and executions in alternative models. 2.3 A Single Model for Unified Liquidity The Oyster AMM introduces an innovative liquidity paradigm by seamlessly integrating concentrated liquidity and order book in a single model, offering a unified liquidity system tailored to active traders and passive liquidity providers. This cohesive approach ensures traders can enjoy efficient atomic transactions with predictability. Conversely, in systems that combine on-chain AMM with off-chain limit order systems or separate on-chain limit order systems, trade requests are split between these systems, leading to inefficiencies, non-atomic execution, and unpredictability. This dual-process execution risks non-synchronization, po- tentially leaving the AMM to process the transaction while the order book system falters, introducing potential confusion if the order book operates off-chain. 2.4 Stabilization Mechanism for User Protection The Oyster AMM introduces advanced financial risk management mechanisms from past protocol iter- ations to enhance user protection and price stability. These mechanisms include a dynamic penalty fee – 2 – SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. system that discourages price manipulation by imposing penalties for significant deviations between trade prices and mark prices. The dynamic fee system also balances the LP ns risk-reward profile. The other is the stabilized mark prices mechanism, which uses an exponential moving average process to mitigate the risk of sudden price fluctuations and mass liquidations. 3 Single-Token Concentrated Liquidity for Derivatives 3.1 Recap of Previous sAMM Model The Synthetic Automated Market Maker (sAMM model), the first iteration of SynFutures’ AMM model, was introduced in SynFutures v1 , enabling LPs to list and add liquidity to a trading pair with a single digital token. Improvements were made in SynFutures v2 , including a more streamlined trader and LPs experience, and new methods of liquidity provision to enhance capital efficiency further. Oyster AMM represents a significant step forward in the evolution of market maker models. Before diving deeper into Oyster AMM, let ns evaluate the vanilla constant product model. We use x, y, and k to denote the number of token 0, token 1, and the constant product, respectively. The price of the trading pair of token 0 in token 1 is P and the total value of the tokens added is M . The relations between these variables are as follows: xy = k y/x = P For the spot model, there is an additional constraint: xP + y = M When adding liquidity to a spot AMM, the user chooses one of x and y. The other one is implied by the smart contract with current price P . For derivatives, the introduction of margin increases the dimension of the entire mathematical model. However, the sAMM in previous versions was kept almost identical to the vanilla constant product AMM model to flatten the learning curve and reuse existing tools. You may recall in previous platform iterations the process of adding liquidity from the sAMM to an ETH-USDC and USDC margined pool when the price is at P : 1. The LP adds the total margin of M USDC. 2. M /2 The USDC equivalent of ETH-USDC long position is created and added into AMM ns long position inventory. (An equal amount of ETH-USDC short position is created and added into LP n s account to balance the market.) In common AMM terms, x = M /2P , y = M /2 and they follow xy = k. Compared to the vanilla AMM model for spot, the value of the total tokens added are the same ( M USDC). However, the token type is different, as M /2P ETH and M /2 USDC would be added to a spot AMM. With the same number for x and y in all the AMM-related calculations, all theorems for the spot model are valid for the sAMM. 3.2 Concentrated Liquidity Model and Margin Requirements Unlike liquidity pools in the sAMM where there is only one AMM for all LPs in a pool, each concentrated liquidity in Oyster AMM is a homogeneous yet independent AMM following its constant product models. Trading volume is allocated based on the liquidity of each concentrated liquidity covering the price range. The discussions below focus on a single concentrated liquidity, which applies to a collection of concentrated liquidity. – 3 – SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. To boost capital efficiency, Oyster AMM employs the concentrated liquidity approach. Like concen- trated liquidity for the spot market, each liquidity in Oyster AMM only supports trading in a specific price range. For this discussion, we need to introduce extra symbols: use xvirtual, yvirtual for the implied x and y value for a full range constant product model, respectively. Suppose the current price of the trading pair of token 0 in token 1 is Pc, and the lower price and upper price of the chosen range are denoted as Pa and Pb. Also, the initial margin requirement ratio is denoted as ri. To reduce the degrees of complexity for LPs and avoid one-sided liquidity resulting in unintended liquidations, Oyster AMM mandates that: Pa = Pc/α, P b = β · Pc, α, β ≥ 1 + ri. LPs are only required to specify the width of the price range instead of the lower and upper price of the range. Note that the lower and upper prices are asymmetric in a geometric sense. BaseX Virtual Reserves Quote Y Virtual Reserves virtual reserves b c a ysold xreal yreal Figure 1: Virtual price curve in Oyster AMM The main process of adding liquidity to Oyster AMM is the same as the sAMM, where a long position is created ( xreal) for the liquidity and an offset short position is created for the LP. However, Oyster AMM has a different margin requirement compared to the previous model. To determine the margin required for a concentrated liquidity of a specific price range, Oyster AMM mandates that the liquidity maintains sufficient margin to meet the initial margin requirement for the resulted net position at both price range boundaries. Note that the margin requirement would be much lower for the case at Pa as the net position value is much smaller due to the lower price. We only need to check the condition at Pb. Based on the constant product formula and the fact xreal is the trade size for the price to go from Pc to Pb, it is trivial to derive the relationships below: xvirtual = xreal · √ β/ (√ β − 1 ) (1) yvirtual = xvirtual · Pc, x virtual · yvirtual = k (2) NetPosition (P ) = xvirtual · (√ Pc/P − 1 ) , if P ∈ [Pa, Pb] (3) PnL (P ) = −xvirtual · (√ Pc − √ P )2 , if P ∈ [Pa, Pb] (4) Considering this extreme case and ignoring any potential fee income, the margin requirement translates to: M + PnL (Pb) = |NetPosition (Pb) | · Pb · ri – 4 – SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. Using Equation ( 1), ( 3) and ( 4), we have: M = xvirtual · (√ Pc − √ Pb )2 + xvirtual · ( 1 − √ Pc/Pb ) · Pb · ri = xreal · Pc · ( β · (1 + ri) – √ β ) Or, xreal = M(Pc · (β · (1 + ri) –√β)) (5) Now, the main process of adding liquidity to Oyster AMM can be described. Let ns use an ETH-USDC and USDC-margined pool as an example: 1. At the current price P , the LP chooses α and β and adds a total margin of M USDC. 2. M(P ·(β·(1+ri)–√β)) of ETH-USDC long position is created and added into AMM ns long position inventory. (An equal amount of ETH-USDC short position is created and added into the LP ns account to balance the market.) 3. This concentrated liquidity will provide pricing from P /α to β · P . As the AMM price deviates from the price when concentrated liquidity is created, that liquidity would inherently have an implied net position, which can be calculated from Equation ( 3). Each concentrated liquidity will always meet the margin requirement for the implied net position within its chosen price range. LPs are allowed to remove the liquidity from their concentrated liquidity anytime, and that is converted into a trading position the size of the implied net position and the remaining margin, along with any fees earned. If the AMM price goes out of the price range of concentrated liquidity, anyone could initiate the removal of that liquidity and convert that into a trading position, which goes to the account of the original owner of the concentrated liquidity. LP can then manage the trading position accordingly after concentrated liquidity is removed and converted. 3.3 Capital Efficiency Boost The most common definition of capital efficiency is to compare the value of assets required for the same trade size and the slippage. That is equivalent to comparing the M required to result in the same xvirtual in Oyster AMM and x in the sAMM, as these two are used in the same constant product formula. For simplicity, we assume α = β, i.e., the price range is symmetric in a geometric sense. By using Equation ( 1) and ( 5), we can express them as: CapitalEfficiencyBoost = x · Pc · 2 xvirtual · Pc · (α · (1 + ri) –√α) · √α−1√α = 2((√α · (1 + ri) –1) · (√α − 1)) (6) When we plug in some α numbers, the following occurs in Table 1. Please note that the smart contract restricts the choice of α to be at least 1 + ri. Based on discussions in Section 3.1 and 3.2, it is trivial to see single sided spot concentrated liquidity falls into the case when ri = 100%. Indeed, when comparing the publicized boosts from Uniswap v3, we can see similar results. When comparing with two-sided spot concentrated liquidity, it is easy to see Oyster AMM would be twice as efficient as spot models, as Oyster AMM only requires one set of margins to provide liquidity for both sides. In summary, Oyster AMM has a superior capital efficiency boost compared to spot concentrated liquidity models. However, a capital efficiency boost comes with higher risks for LPs, especially in derivatives market settings where leverage further amplifies the risks. These risks can be difficult to grasp with the overlay of leverage and capital efficiency boost. So, beyond the numbers, the mechanism must be clear concerning these risks so that LPs know what they are doing. – 5 – SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. Table 1: Capital Efficiency Boost α 1/α, α Capital Efficiency Boost IMR = 10% IMR = 5% IMR = 3% IMR = 1% 1.01 99.0%, 101.0% – – – 26,666.6x 1.03 98.0%, 103.0% – – 2,962.9x 5,364.9x 1.05 95.2%, 105.0% – 1,066.6x 1,460.9x 2,317.8x 1.10 90.9%, 110.0% 266.6x 404.7x 510.5x 691.0x 1.20 83.3%, 120.0% 102.2x 139.5x 163.3x 196.9x 1.30 76.9%, 130.0% 56.1x 72.4x 81.8x 94.1x 1.50 66.7%, 150.0% 25.6x 31.1x 34.0x 37.5x 2.00 50.0%, 200.0% 8.7x 10.0x 10.6x 11.3x 3.00 33.3%, 300.0% 3.0x 3.3x 3.5x 3.6x 5.00 20.0%, 500.0% 1.1x 1.2x 1.2x 1.3x Table 2: Capital Efficiency Boost Comparison Across Models Model Price Range Capital Efficiency Boost Oyster Amm 99.99%, 100.01% 39,997.0x Uniswap v3 99.99%, 100.00% 40,002.5x Uniswap v3 100.00%, 100.01% 39,998.5x Uniswap v3 99.99%, 100.01% 20,000.5x 3.4 Implementation Highlights The smart contract implementation describes concentrated liquidity in a struct called Range. It is stored in the smart contract with an index composed of pair expiry, liquidity owner ns address, price range start, and price range end. The struct definition and index information define concentrated liquidity in the smart contract entirely and uniquely. struct Range { uint128 liquidity; // uniswap v3 style liquidity uint128 entryFeeIndex; // snapshot of the global fee index at the time of entry uint96 balance; // margin supplied uint160 sqrtEntryPX96; // AMM price at the time of entry } To add liquidity, a user needs to send a transaction on-chain specifying the pair to add liquidity, the price range to provide liquidity, and the margin amount for this concentrated liquidity. The smart contract then creates a Range struct for the user with liquidity = √ k = √xvirtual · yvirtual, as calculated with Equation ( 1), ( 2) and ( 5). The smart contract then stores this Range struct in this user ns account for this pair with an index composed of price range start and price range end. Based on Equation ( 3) and ( 4), the state of a Range struct can be implied using the data stored in the struct, its index, and the current AMM price at any point in time. – 6 – SynFutures v3 : The Oyster AMM Model for Next-Gen DeFi Derivatives. 4 Fully On-chain Order Book 4.1 Native Irreversible Limit Order In Oyster AMM, the buy and sell limit orders on single price points are combined with concentrated liquidity to provide pricing for traders. Unlike in some spot AMM models, where highly concentrated liquidity is used as a proxy of limit orders, Oyster AMM enables native limit orders like those in central limited order book systems. These are defined on single price points and irreversible once filled. The design provides makers with certainty of the status of their limit orders. According to the definition of capital efficiency in Equation ( 6), one could easily conclude that limit orders provide an infinite capital efficiency boost, if the taker ns trade size does not exceed the limit orders at that price point. This is impossible in a constant product AMM model, where an infinitesimal trade would still result in non-zero slippage. In other words, infinite capital is required for a constant product AMM to produce no slippage for any trade size. 4.2 Matching and Overall Pricing Mechanism To circumvent current smart contract limitations, order matching in Oyster AMM does not follow the traditional centralized limit order book model, which is the first-in-first-out principle. Rather it follows a matching process more suitable for an AMM, which will be formally described in Section 5. The characteristics of the matching and pricing mechanism can be summarized below: 1. At a price point where limit orders exist, they are filled before any concentrated liquidity is con- sumed. 2. Trade volume is allocated to multiple limit orders proportionately at the same price. A just-in-time limit order is welcomed. 3. Overall slippage can be greatly reduced when limit orders exist on the AMM price curve. 4.3 Implementation Highlights In the smart contract implementation, the limit order is described in a struct called Order and is stored in the smart contract with an index composed of pair expiry, limit order owner ns address, and limit price. Below, struct definition and index information completely and uniquely define a limit order in the smart contract. struct Order { uint128 balance; // margin supplied int128 size; // positive number as buy order, negative number as sell order } To create a limit order, a user must send a transaction on-chain specifying the pair for this order,
프로젝트로 돌아가기