DSM Scenario Analysis
How Does the DSM Operate Across Different Market States?
Scenario Analysis

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
deltaUSCfor ETH:The minted
deltaUSCis 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 ofdeltaUSCin USD terms (deltaInUSD).
Swap
deltaInETHfor 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 - deltaInETHto Arbitrage Contract:The difference between the ETH received from the initial USC swap and the
deltaInETHis rewarded to the arbitrage contract as a profit.
Effect:
USC Spot Price retains the
targetPriceof $1:This adjustment helps align the market price of USC with its intended $1 peg, ensuring stability within the protocol.
uscTotalSupplyValuerises towardsreserveValue: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
deltaUSCfor ETH:The minted
deltaUSCis swapped for ETH on the market. Since USC is trading above $1, the amount of ETH received (ethAmountReceived) is greater than the equivalent value ofdeltaUSCin USD terms (deltaInUSD).
Add
deltaInETHtoReserveHolder:The deltaInETH is added to the ReserveHolder, contributing to the protocol's reserves and supporting the system's stability.
Reward
ethAmountReceived - deltaInETHto Arbitrage Contract:The difference between the ETH received from the swap (
ethAmountReceived) and thedeltaInETHis 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.
uscTotalSupplyValuerises together with thereserveValue: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
deltaUSCfor ETH:The minted
deltaUSCis swapped for ETH on the market. Since USC is trading above $1, the amount of ETH received (ethAmountReceived) is greater than the equivalent value ofdeltaUSCin USD terms (deltaInUSD).
Add deltaInETH to ReserveHolder:
The
deltaInETH, representing the value of ETH equivalent todeltaUSC, is added to theReserveHolder, strengthening the protocol's reserves.
Reward
ethAmountReceived - deltaInETHto Arbitrage Contract:The difference between the ETH received from the swap (
ethAmountReceived) anddeltaInETHis allocated as a reward to the arbitrage contract, providing an incentive for maintaining the stability of USC.
Effect:
USC Spot Price retains the
targetPriceof $1:This adjustment helps align the market price of USC with its intended $1 peg, ensuring stability within the protocol.
uscTotalSupplyValuerises together with thereserveValue: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
reserveDiffin 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:
uscTotalSupplyValuerises towardsreserveValue:The total supply value of USC increases, aligning it to the reserve value, which enhances the stability and balance of the protocol.

Arbitrage Contract Step (reserveDiffInUsc ≤ totalMintedUsc):
Burn
totalMintedUscfrom the Arbitrage Contract:The protocol burns the
totalMintedUscheld in the arbitrage contract, reducing the circulating supply of USC.
Effect:
uscTotalSupplyValuedecreases towardsreserveValue: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.

Arbitrage Contract Steps (AssumingtotalMintedUsc = 0):
Mint
≈ reserveDiffin CHI: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
chiToCoverEthfor ETH and Add ETH toReserveHolder:The minted CHI is swapped for ETH, and the obtained ETH is added to the
ReserveHolder, boosting the protocol’s reserves.
Effect:
reserveValuerises towardsuscTotalSupplyValue: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
deltaETHfrom Reserves:The protocol redeems the required amount of ETH, referred to as
deltaETH, from the reserves.
Swap
deltaETHfor USC:The redeemed
deltaETHis swapped for USC. Since USC is trading below $1, the amount of USC received (uscAmountReceived) is greater than the equivalent value ofdeltaETHin USD terms (deltaUsd).
Set
uscAmountToFreeze = deltaUsd:The protocol sets the amount of USC to freeze (
uscAmountToFreeze) equal to the value ofdeltaUsd, ensuring a calculated reduction in circulating supply.
Maintain
uscAmountToFreezeas Reward:The
uscAmountToFreezeis maintained as a reward mechanism, helping generation of revenues within the system.
Reward
uscAmountReceived - uscAmountToFreezeto Arbitrage Contract:The difference between the
uscAmountReceivedanduscAmountToFreezeis rewarded to the arbitrage contract, providing an incentive for participating in the stabilisation process.
Effect:
reserveValuedecreases towardsuscTotalSupplyValue: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
deltaETHfrom Reserves:The protocol redeems the required amount of ETH, referred to as
deltaETH, from the reserves.
Swap
deltaETHfor USC:The redeemed
deltaETHis swapped for USC. Since USC is trading below $1, the amount of USC received (uscAmountReceived) is greater than the equivalent value ofdeltaETHin USD terms (deltaUsd).
Set
uscAmountToBurn = deltaUsd:The protocol sets the amount of USC to burn (
uscAmountToBurn) equal to the value ofdeltaUsd, reducing the circulating supply.
Burn
uscAmountToBurn:The protocol burns the
uscAmountToBurn, effectively decreasing the total supply of USC.
Reward
uscAmountReceived - uscAmountToBurnto Arbitrage Contract:The difference between
uscAmountReceivedanduscAmountToBurnis rewarded to the arbitrage contract, providing an incentive for participating in the stabilisation process.
Effect:
reserveValueanduscTotalSupplyValuelower 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
≈ deltaUSDin CHI and Swap it for ETH:The protocol mints an amount of CHI approximately equal to
deltaUSDand swaps it for ETH.
Swap
ethAmountFromChifor 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 ofdeltaUSD.
Set
uscAmountToBurn = deltaUSD:The protocol sets the amount of USC to burn (
uscAmountToBurn) equal todeltaUSD, which helps reduce the circulating supply of USC.
Burn
uscAmountToBurn:The protocol burns the
uscAmountToBurn, thereby decreasing the total supply of USC.
Reward
uscAmountReceived - uscAmountToBurnto Arbitrage Contract:The difference between
uscAmountReceivedanduscAmountToBurnis rewarded to the arbitrage contract, incentivising the stabilisation process.
Effect:
uscTotalSupplyValuedecreases towardsreserveValue:The total supply value of USC decreases, moving closer to the reserve value, which helps restore balance and stability within the protocol.
Last updated