The Dual Stability Mechanism (DSM) operates based on a straightforward logic that revolves around two key questions:
What is the market price of USC?
This determines whether USC is trading above, at, or below its $1 peg in the market.
What is the state of the protocol’s reserves with respect to the USC market cap?
This assesses whether the reserves are in excess, balanced (equilibrium), or in deficit relative to the total supply of USC.
By answering these questions, the DSM dynamically adjusts the supply of USC and manages the protocol's reserves to maintain stability, solvency, and the $1 peg across different market conditions.
According to the combination of the market price of USC and the state of the protocol’s reserves, arbitrage opportunities are defined and executed internally by the protocol. Below is a detailed description of each scenario within the Dual Stability Mechanism (DSM):
Above $1
Arbitrage Contract Steps
Mint deltaUSC:
The protocol mints the amount of USC needed to bring the market price back to $1, known as deltaUSC.
Swap deltaUSC for ETH:
The minted deltaUSC is swapped for ETH on the open market. Since USC is trading above $1, the amount of ETH received (ethAmountReceived) is greater than the equivalent value of deltaUSC in USD terms (deltaInUSD).
Swap deltaInETH for CHI:
The delta in ETH (deltaInETH) is then swapped for CHI tokens.
Burn chiAmountReceived:
The CHI tokens received from the swap are burned, reducing the total supply of CHI and increasing its scarcity.
Reward ethAmountReceived - deltaInETH to Arbitrage Contract:
The difference between the ETH received from the initial USC swap and the deltaInETH is rewarded to the arbitrage contract as a profit.
Effect:
USC Spot Price retains the targetPrice of $1:
This adjustment helps align the market price of USC with its intended $1 peg, ensuring stability within the protocol.
uscTotalSupplyValue rises towards reserveValue:
The total supply value of USC increases, bringing it closer to the reserve value.
Arbitrage Contract Steps:
Mint deltaUSC:
The protocol mints the required amount of USC, known as deltaUSC, to address the price discrepancy.
Swap deltaUSC for ETH:
The minted deltaUSC is swapped for ETH on the market. Since USC is trading above $1, the amount of ETH received (ethAmountReceived) is greater than the equivalent value of deltaUSC in USD terms (deltaInUSD).
Add deltaInETH to ReserveHolder:
The deltaInETH is added to the ReserveHolder, contributing to the protocol's reserves and supporting the system's stability.
Reward ethAmountReceived - deltaInETH to Arbitrage Contract:
The difference between the ETH received from the swap (ethAmountReceived) and the deltaInETH is rewarded to the arbitrage contract as profit.
Effect:
USC Spot Price retains the targetPrice of $1:
This adjustment helps align the market price of USC with its intended $1 peg, ensuring stability within the protocol.
uscTotalSupplyValue rises together with the reserveValue:
The total supply value of USC increases at the same rate as the protocol's reserves, maintaining a balanced and stable system.
Arbitrage Contract Steps
Mint deltaUSC:
The protocol mints the required amount of USC, referred to as deltaUSC, to address the price discrepancy.
Swap deltaUSC for ETH:
The minted deltaUSC is swapped for ETH on the market. Since USC is trading above $1, the amount of ETH received (ethAmountReceived) is greater than the equivalent value of deltaUSC in USD terms (deltaInUSD).
Add deltaInETH to ReserveHolder:
The deltaInETH, representing the value of ETH equivalent to deltaUSC, is added to the ReserveHolder, strengthening the protocol's reserves.
Reward ethAmountReceived - deltaInETH to Arbitrage Contract:
The difference between the ETH received from the swap (ethAmountReceived) and deltaInETH is allocated as a reward to the arbitrage contract, providing an incentive for maintaining the stability of USC.
Effect:
USC Spot Price retains the targetPrice of $1:
This adjustment helps align the market price of USC with its intended $1 peg, ensuring stability within the protocol.
uscTotalSupplyValue rises together with the reserveValue:
The total supply value of USC increases at the same rate as the protocol's reserves, strengthening the protocol's collateral and ensuring a stable, well-supported system.
At $1
Arbitrage Contract Step:
Mint reserveDiff in USC and Deposit in the Arbitrage Contract:
The protocol mints USC equal to the reserveDiff (the difference between the reserve value and the USC supply) and deposits it into the arbitrage contract.
Effect:
uscTotalSupplyValue rises towards reserveValue:
The total supply value of USC increases, aligning it to the reserve value, which enhances the stability and balance of the protocol.
The protocol burns the totalMintedUsc held in the arbitrage contract, reducing the circulating supply of USC.
Effect:
uscTotalSupplyValue decreases towards reserveValue:
The total supply value of USC decreases, bringing it to the same level as the reserve value, which helps restore balance and stability within the protocol.
The protocol mints an amount of CHI approximately equal to the reserveDiff, which represents the shortfall in the reserves relative to the USC supply.
Swap chiToCoverEth for ETH and Add ETH to ReserveHolder:
The minted CHI is swapped for ETH, and the obtained ETH is added to the ReserveHolder, boosting the protocol’s reserves.
Effect:
reserveValue rises towards uscTotalSupplyValue:
The value of the protocol’s reserves increases, bringing it to the same level as the total supply value of USC, thereby enhancing the stability and solvency of the system
Below $1
Arbitrage Contract Steps:
Redeem deltaETH from Reserves:
The protocol redeems the required amount of ETH, referred to as deltaETH, from the reserves.
Swap deltaETH for USC:
The redeemed deltaETH is swapped for USC. Since USC is trading below $1, the amount of USC received (uscAmountReceived) is greater than the equivalent value of deltaETH in USD terms (deltaUsd).
Set uscAmountToFreeze = deltaUsd:
The protocol sets the amount of USC to freeze (uscAmountToFreeze) equal to the value of deltaUsd, ensuring a calculated reduction in circulating supply.
Maintain uscAmountToFreeze as Reward:
The uscAmountToFreeze is maintained as a reward mechanism, helping generation of revenues within the system.
Reward uscAmountReceived - uscAmountToFreeze to Arbitrage Contract:
The difference between the uscAmountReceived and uscAmountToFreeze is rewarded to the arbitrage contract, providing an incentive for participating in the stabilisation process.
Effect:
reserveValue decreases towards uscTotalSupplyValue:
The value of the protocol’s reserves decreases, bringing it closer to the total supply value of USC. This adjustment helps restore balance between the reserves and the circulating USC supply, ensuring the stability of the system.
Arbitrage Contract Steps:
Redeem deltaETH from Reserves:
The protocol redeems the required amount of ETH, referred to as deltaETH, from the reserves.
Swap deltaETH for USC:
The redeemed deltaETH is swapped for USC. Since USC is trading below $1, the amount of USC received (uscAmountReceived) is greater than the equivalent value of deltaETH in USD terms (deltaUsd).
Set uscAmountToBurn = deltaUsd:
The protocol sets the amount of USC to burn (uscAmountToBurn) equal to the value of deltaUsd, reducing the circulating supply.
Burn uscAmountToBurn:
The protocol burns the uscAmountToBurn, effectively decreasing the total supply of USC.
Reward uscAmountReceived - uscAmountToBurn to Arbitrage Contract:
The difference between uscAmountReceived and uscAmountToBurn is rewarded to the arbitrage contract, providing an incentive for participating in the stabilisation process.
Effect:
reserveValue and uscTotalSupplyValue lower at the same rate:
Both the reserve value and the total supply of USC decrease simultaneously, maintaining a balanced relationship between them and ensuring continued stability within the protocol.
Arbitrage Contract Steps:
Mint ≈ deltaUSD in CHI and Swap it for ETH:
The protocol mints an amount of CHI approximately equal to deltaUSD and swaps it for ETH.
Swap ethAmountFromChi for USC:
The ETH obtained from the CHI swap (ethAmountFromChi) is then swapped for USC. Since USC is trading below $1, the amount of USC received (uscAmountReceived) is greater than the equivalent value of deltaUSD.
Set uscAmountToBurn = deltaUSD:
The protocol sets the amount of USC to burn (uscAmountToBurn) equal to deltaUSD, which helps reduce the circulating supply of USC.
Burn uscAmountToBurn:
The protocol burns the uscAmountToBurn, thereby decreasing the total supply of USC.
Reward uscAmountReceived - uscAmountToBurn to Arbitrage Contract:
The difference between uscAmountReceived and uscAmountToBurn is rewarded to the arbitrage contract, incentivising the stabilisation process.
Effect:
uscTotalSupplyValue decreases towards reserveValue:
The total supply value of USC decreases, moving closer to the reserve value, which helps restore balance and stability within the protocol.