Hi @Crumbi,
nice to see that you are interested in this topic. This is more important than ever especially because of the things happend with UST and LUNA these days.
First of all I want to point out, that Linear has a completly different approach to collateralize its stable coin. The problem with LUNA UST was that LUNA actually has no maxiumum supply and because of a very high demand for algorithmic stable coins in the past an huge bubble was inflated. There were some people warning for a scenario like this and when the peg began to struggle there was an huge bankrun which could not be handled fast enough by the algos and the spiral of death began.
LINA on the other hand has a max supply of 10B coins, so there is no chance to mint the value of LINA to nirvana like currently in the Terra LUNA system. Another very important point is that every lUSD is collatarallized by a multiple of the LINA to USD value with a 5x target and it’s protected by the liquidation mechanism which enforces a minium of double LINA equivalent in USD. This alone makes it much harder to drain the liquidity of the lina dept pool.
But on the other hand it’s much harder to peg such a stable coin. Currently the demand of LINA is actually created by the huge staking rewards distributed weakly. On the long run this should be replaced by trading fees on the platform, but therefore there need to be participants who come to the platform and trade against the deptpool. There are two ways to onboard in the linear system:
-
Buy Lina, stake it and trade with 1/5 of the dollar equivalent in lUSD and maintain the dept you created. (Sounds not so great without huge rewards, so we need alot participants on the long run!)
-
Buy lUSD on Pancake Swap and trade without creating dept in the dept pool and try to make profits. (No KYC, defi, multichain, equities, stocks and so on. Could work out well!)
The second approach is where the peg comes into play, because everybody expects that it’s 1:1. In the past this was hard to realize because the peg is maintained by a simple pancake pool which is not for maintaining peg at all. In a world where LINA is a multi billion valued asset some people would say that the peg should be maintained by supply and demand. But with the current liquidity in the pool this is simply not realistic because there are no entities which do arbitrage on the assumption that lUSD and BUSD would peg either way in the future.
This is where the system described above comes into play. It uses a “huge” stack of lina to create artificial supply and demand on the pancake pool if there is a disbalance of the two assets in it.
In case there is more lUSD than BUSD in the pool which means that the value of lUSD is below one BUSD it simply sells as much LINA for lUSD as it needs to balance the pool. Than the peg is restored. (LINA supply is increased) → It means liquidity leaves the lina eco system so that the price of LINA have to decrease.
In case there is more BUSD than lUSD in the pancake pool, which means that the value of lUSD is above of one BUSD, the algorithm looks if there is currenly lUSD in “Peg Protection Pot” and simply sells it for LINA tokens. This pushes the demand of previously bought lUSD back on LINA. Liquidity enters the Linear eco system and LINA price increases. Peg is established.
If there is currently no lUSD to sell in the “Peg Protection Pot” for LINA, the algorithm simply creates as much dept it would need to raise the pancake pool to the desired balance. This dept is than sold for LINA to push the demand on the LINA price. Peg is established. The dept could be controlled by staking or unstaking LINA tokens. Another point is, that the staking will generate rewards which can be used to increase the “Peg Protection Pot” in a healthy way. As soon as there is a inbalance in the other direction the dept could be decreased (payed back) by that amount.
It is important that the inflow and outflow of the “Peg Protection Pool” is carefully determined by the in- or deflation of the LINA value, this should result a healthy burn like way to fight heavy inflation.
This is the theory behind the approach, I hope it has become clear what I mean. If you have questions or further concerns please feel free to comment on this, much appreciated!
Kind regards!