Liquidations & Stability Pool
In a typical crypto-collateralized stablecoin system, users must use the stablecoin to buy up collateral to liquidate another position. While this is generally acceptable, the stablecoin can lose it's peg if the collateral price decreases sharply.
Neptune aims to preemptively secure the USDN required for liquidation by offering a USDN stability pool. Users can deposit USDN in the pool and receive profits from liquidated vaults, where the profit is denominated in the collateral and is a result of buying the collateral at a market discount.
Since there are users already ready to buy collateral with USDN, the stability pool helps avoid a spike in the price of USDN in a market downturn. As a result, users with loans will be able to pay back their debts without paying a premium to obtain USDN. The stability pool also allows for lower overall collateral requirements for vaults by helping ensure that there is USDN available to buy vaults at low collateral ratios.
How does a liquidation happen?
Whenever a vault is below its maintenance collateral ratio (110%) it is considered at risk.
A user initiates the liquidation, then USDN from the stability pool is taken to pay back the USDN debt (plus a protocol fee) and burnt. The remaining collateral is distributed to the users participating in the stability pool, who make a profit since the value of the collateral is more than the amount of USDN burnt.
Example
For example, let's imagine there is a vault with 100 SOL collateral with 12,500 USDN in debt. The maintenance collateral ratio is 110%. The current price of SOL is $160 so the collateral ratio is 128%. If the SOL price then falls to $136.25, the collateral ratio is now 109%. The vault is now under-collateralized, making it a candidate for liquidation.
The liquidation mechanism must be initiated by an individual user, who is rewarded 5% of the outstanding vault value. The outstanding vault value, equal to the collateral minus the debt, is $13,625 equivalent of SOL - $12,500 equivalent of USDN= $1,125 or 8.26 SOL. 5% of this number is $56.25 or 0.41 SOL. In addition, there is a liquidation fee given to Neptune Protocol equal to 20% of the outstanding vault value, which is $225 or 1.65 SOL. The remaining 75% of the outstanding vault value is transferred to users in the stability pool, in proportion to how much USDN they have deposited.
The end result is that 12,500 USDN will be burnt from the pool and 97.94 SOL (the original 100 SOL minus the 0.41 and 1.65 SOL fees) are distributed as rewards. Since 97.94 SOL * $136.25 = $13,344, this represents a 6.8% return for users in the stability pool.
However, if the vault has a collateral ratio of less than 100%, the abovementioned fees do not apply. Since the outstanding vault value is negative, the liquidation initiator will instead be rewarded 1% of the total collateral. The protocol and stability pool will receive no reward in this case.
Black Swan Event Liquidations
Neptune is designed to survive a sudden (< 1 hour) 50% token price crash with the measures described below. While this is not expected to happen, the nature of crypto markets means that Neptune must be able to quickly restore a system collateral ratio of >110%.
Stability Pool
The first measure consists of using the funds in the stability pool to burn all the outstanding USDN.
For example, at a SOL price of $100, a vault may have 10,000 USDN debt and have a balance of 90 SOL or $9,000. In this case 10,000 USDN will be burnt from the stability pool (plus fees) and 90 SOL given pro-rata to all stability pool participants.
In this scenario, the stability pool participants will need to wait for SOL to appreciate above $111.11 to start making a profit since they essentially bought SOL for a premium.
Debt Redistribution
Note: Debt redistributions are currently disabled.
If the stability pool is empty, Neptune uses an alternative measure which involves moving the debt from under-collateralized vaults to other vaults in better standing.
If the current state of Neptune is as follows (assuming a price of $10/SOL):
Vault 1
30
6
$60
200.00%
Vault 2
55
6
$60
109.09%
Vault 3
20
7
$70
350.00%
Total
105
19
$190
180.95%
Then we would distribute the debt of vault 2 to all other vaults.
Vault 1
63
9.6
$96
152.38%
Vault 2
0
0
0
Liquidated
Vault 3
42
9.4
$94
223.09%
Total
105
19
$190
180.95%
Recovery Mode
While individual vaults may have very risky positions, the entire system should remain collateralized by at least 150%. If the system falls below this ratio, it will enter recovery mode. This is done on a per-collateral basis by vault type, calculations are done separately for the collateral and debt per currency. That is, a crash in the price of TIA will not affect users with SOL vaults and vice versa.
In this mode, all vaults below the 150% collateral threshold can be liquidated, and actions that would make the system less healthy are prevented. Redemptions, taking a loan, or withdrawing collateral will not be allowed until the system exits recovery mode.
See a more detailed explanation in the Recovery Mode section.
Last updated