Parsing Nirvana: Innovative Algorithm Stablecoin of Virtual AMM on Solana

Wu said blockchain
2022-04-15 13:48:26
Collection
The current actual demand for NIRV still comes from the internal nesting of Nirvance, and the real use cases are still unknown. Whether it can be extended externally remains to be further tested over time.

Author: Wu Says Real

Nirvana Finance is a dual-token algorithmic stablecoin architecture protocol built on Solana, consisting of a quasi-stable token: ANA and a stablecoin token: NIRV. With the claim of zero-risk lending through the algorithmic stability of NIRV, it has attracted user participation, while ANA gradually transitioned to regular pricing after experiencing a "reverse" auction similar to Copper LBP, subsequently driven up by community FOMO.

Upon first encounter, the innovative algorithmic spirit is striking, revealing shadows of LUNA/UST, MakerDAO, and Olympus, synthesizing their essence and adding innovation. The relationship between ANA and NIRV is akin to that of Luna and UST, where the valuation of ANA increases with the demand for NIRV; meanwhile, ANA serves as collateral for lending NIRV, similar to depositing ETH in MakerDAO to mint and lend DAI. The liquidity of ANA is entirely controlled by the protocol, akin to Olympus, which can generate continuous trading revenue. The realization of all this hinges on innovations in the AMM mechanism, carving a shortcut in mainstream constant asset ratio pools.

Perspective and Path of Nirvance Finance

From the user's perspective, investors buy ANA through UST, NIRV, USDC, USDT, or USDH, stake ANA, and earn staking rewards paid in prANA; they use the floor price of staked ANA as collateral to mint and lend NIRV, then continue to use NIRV to buy ANA in a cyclical manner. Here, prANA is similar to an option, allowing investors to exercise their rights at any time by exchanging prANA + the USD-priced floor price of ANA for ANA and destroying prANA. The value of prANA, which represents the staking profit for investors, is the market price of ANA - the floor price of ANA. Additionally, investors can purchase trANA in a discounted bond-like form to obtain ANA after the vesting period.

image

From the protocol's perspective, rather than saying the protocol controls the liquidity of ANA, it is more accurate to say that the protocol directly controls the minting and burning rights of ANA. New ANA is only minted and exchanged for users' USD stablecoins when investors convert their USD stablecoins into ANA, meaning liquidity of stablecoins is exchanged for newly minted ANA. In this exchange process, part of the liquidity obtained by the protocol from stablecoins will be used to form the floor price of ANA, and during transactions, a fee of 0.1% for buying and 0.3% for selling, paid in ANA, will be charged. The transaction fees flow directly into the treasury rather than the AMM pool. When ANA is sold, stablecoins will be withdrawn from the AMM pool, and ANA will be burned. Therefore, this AMM pool contains only stablecoin assets and no ANA.

Subsequently, investors stake ANA and earn prANA rewards, which removes the staked ANA from market circulation. When investors convert prANA back to ANA, they will pay the protocol the prANA and the corresponding USD-priced floor price of ANA, allowing the protocol to gain stablecoin liquidity again and burn prANA. When investors cancel their ANA staking, the protocol will charge a 0.5% unstaking fee in ANA, which flows into the treasury. If investors obtain ANA at a discounted price by purchasing trANA, a 0.2% purchase fee in ANA will also be charged and flow into the treasury.

If investors use the floor price of staked ANA as collateral to mint and lend NIVR, a 3% loan fee in NIVR will be charged and flow into the treasury. The maximum exposure for investors to obtain NIVR in a single transaction, i.e., the borrowing limit, is the quantity of ANA * the floor price of ANA * 97%. Thus, the cyclical exposure that investors can obtain approaches 1 + 1/n + 1/n² + 1/n³ +… < 1/(1-1/n), where n = 1/(quantity of ANA * floor price of ANA * 97% * 1/market price of ANA). Based on the current market price of ANA at 13.71 and a floor price of 3.4, the maximum obtainable exposure is approximately no more than 1.32 times.

From different perspectives, it can be seen that Nirvance Finance's unique AMM mechanism not only provides trading but also offers floor price support for ANA, allowing the floor price of ANA to be used as collateral to mint the corresponding NIRV. NIRV is a stablecoin supported by multiple stablecoins, algorithmically anchored to $1, but as the depth of stablecoins in the AMM pool increases, NIRV will become more stable and secure.

Thus, the special AMM mechanism in Nirvana Finance is a crucial engine in the entire process, and this unique AMM mechanism is named "virtual AMM." The next section will focus on discussing the details of the issuance and operational mechanisms and liquidity of vAMM.

Innovative virtual AMM Mechanism of Nirvance Finance

At the launch of Nirvance, the protocol had no ANA; only when USD flowed into the AMM pool would ANA be minted. NIRV is algorithmically anchored at $1, meaning the floor price of ANA must first be at $1. Therefore, during the initial phase of USD liquidity injection, the market price of ANA will inevitably be above $1. Of course, at the project's launch, it cleverly guided liquidity entry through a "reverse" auction similar to Copper LBP, where the rise or fall of ANA's market price would present an exponential decay until it reached 0, entering a normal pricing phase. However, regardless of how the market price of ANA changes, it will always be above $1. Similarly, it is during this process that a portion of USD liquidity can be excessively accumulated, providing assurance for the subsequent rise in the floor price of ANA.

From the user's perspective observed in the previous chapter, it can be seen that the vAMM mechanism differs from mainstream constant asset ratio pool AMM mechanisms. In mainstream AMM mechanisms, there are two types of tokens in the liquidity pool, and the ratio of these two tokens is approximately maintained at 1:1 at genesis, with the price of Token A quoted by Token B. If Token A gains more market favor, investors are willing to spend more Token B to acquire Token A in the AMM pool, leading to a relative decrease in the supply of Token A, which drives up the price of Token A. Therefore, in mainstream AMM pools, the AMM price curve is a function of the relative supply of tokens.

In contrast, the vAMM mechanism does not have any liquidity of ANA; ANA is only minted when purchased with USD. When ANA is sold for USD, the AMM pool pays investors the corresponding USD stablecoin liquidity, and ANA is immediately burned. Purchasing ANA through the AMM pool brings more liquidity to the AMM and allocates a portion of that liquidity to the floor price of ANA, ensuring that the floor price of ANA continues to rise under the premise of being able to repay and allowing users to exit at any time; conversely, selling ANA returns stablecoin liquidity without affecting the floor price of ANA. It is this immediate minting and immediate burning that ensures ANA always receives support for its floor price. Because of the existence of the floor price for ANA, no one can acquire any ANA at a price lower than the floor price, making the price curve of vAMM a function with a minimum value.

It is worth mentioning that since liquidity has been present in the protocol since inception, the protocol owns the market itself, thus eliminating the need for any LP incentives or treasury management. The management and taxation of liquidity in the AMM pool are fundamentally allocated by the protocol's algorithm, truly achieving decentralization and permanent liquidity.

image

Source: https://www.desmos.com/calculator/8ke6glnrut?lang=zh-CN

The issue of slippage caused by liquidity is also an innovation of the vAMM mechanism. In mainstream AMM models, when buyers are more bullish on the underlying asset, making Token A in the liquidity pool scarcer relative to Token B, smaller transaction volumes may lead to greater volatility. This slippage affecting price changes results from the disruption of the balance between the supplies of both sides in the liquidity pool. In vAMM, Nirvana slippage is encoded in this arbitrary function concerning the minimum value, meaning this price curve can be seen as the slippage of buy and sell orders for ANA, independent of actual liquidity. Simply put, from an intuitive perspective, when buying ANA, the price function will quote a higher price to execute the transaction; when selling ANA, it will execute at a price slightly lower than the current market price. The final result is that as the demand for ANA grows, the continuous rise in the floor price of ANA means that more trading volume is needed to push the price up.

Risk Points of Nirvance Finance

To some extent, the relationship between ANA and NIRV is similar to that of Luna and UST, but UST is an important part of the entire Terra ecosystem, and the adoption rate of UST by on-chain projects will increase with the development of the Terra ecosystem. However, the actual demand for NIRV currently still comes from internal nesting within Nirvance, and real use cases remain unknown. Whether it can extend outward remains to be tested over time. Additionally, when NIRV expands to other Solana projects, it still faces the ceiling of Solana, and there are significant challenges in expanding to heterogeneous chains.

Moreover, for early participants in ANA, the earlier they participate in staking, the greater the dividends they enjoy. With the community FOMO surrounding ANA, the market price of ANA has already risen to over four times the floor price.

Related tags
ChainCatcher reminds readers to view blockchain rationally, enhance risk awareness, and be cautious of various virtual token issuances and speculations. All content on this site is solely market information or related party opinions, and does not constitute any form of investment advice. If you find sensitive information in the content, please click "Report", and we will handle it promptly.
banner
ChainCatcher Building the Web3 world with innovators