You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/stableCoin/microservices/MintNewVotingTokensForStableCoinFunctionality.sol
+59-25
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,29 @@
1
-
/* Discussion:
2
-
* https://github.com/b-u-i-d-l/unifi
3
-
*/
1
+
// SPDX-License-Identifier: MIT
2
+
pragma solidity>=0.7.0<0.8.0;
4
3
5
4
/* Description:
6
-
* When a stablecoin loses value, the Uniswap Tier pools rebalance to an uneven disparity (≠ 50/50).
7
-
* If the stablecoin totally fails, the other stablecoins effectively pump in correlation.
5
+
* When a stablecoin loses value, the Uniswap Tier pools rebalance to an uneven disparity (≠ 50/50). If the stablecoin totally fails, the other stablecoins effectively pump in correlation.
8
6
*
9
-
* DFO Debit resolves this issue on-chain by rebalancing uSD, creating debt which the UniFi DFO
10
-
* then pays off by minting UniFi. Let’s look at how this plays out, step by step:
7
+
* DFO Debit resolves this issue on-chain by rebalancing uSD, creating debt which the UniFi DFO then pays off by minting UniFi. Let’s look at how this plays out, step by step:
11
8
*
12
9
* 1 - A stablecoin collateralized by uSD loses value or fails altogether.
13
10
*
14
-
* 2 - $UniFi holders vote to remove the tiers containing the failed stablecoin from the whitelist.
15
-
* The uSD supply becomes grater than the supply of the collateralized pooled stablecoins.
11
+
* 2 - $UniFi holders vote to remove the tiers containing the failed stablecoin from the whitelist.The uSD supply becomes grater than the supply of the collateralized pooled stablecoins.
16
12
*
17
-
* 3 - To restore 1:1 equilibrium, anyone holding uSD can burn it to receive new UniFi, minted at a
18
-
* 50% discount of the uSD/UniFi Uniswap pool mid-price ratio.
13
+
* 3 - To restore 1:1 equilibrium, anyone holding uSD can burn it to receive new UniFi, minted at a 50% discount of the uSD/UniFi Uniswap pool mid-price ratio.
19
14
*
20
-
* The goal of $UniFi holders, which aligns with their self-interest, is to ensure uSD's security.
21
-
* Thus there is an economic disincentive to whitelist insecure stablecoins.
15
+
* The goal of $UniFi holders, which aligns with their self-interest, is to ensure uSD’s security. Thus there is an economic disincentive to whitelist insecure stablecoins.
0 commit comments