Skip to content

Commit

Permalink
Update sip-390.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleb-keny committed Jun 5, 2024
1 parent ba47df9 commit 853a55c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/sips/sip-390.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ created: 2024-06-05

<!--"If you can't explain it simply, you don't understand it well enough." Simply describe the outcome the proposed changes intends to achieve. This should be non-technical and accessible to a casual community member.-->

This sip proposes to incorporate into the minimum credit calculation the amount of snxUSD margin deposited into a given market by traders.
This sip proposes to patch the minimum credit calculation by incorporating the escrowed snxUSD margin deposited by traders into a perp market.

## Abstract

Expand All @@ -37,7 +37,7 @@ The minimum credit calculation update ensures that markets are sufficiently cove

<!--This is where you explain the reasoning behind how you propose to solve the problem. Why did you propose to implement the change in this way, what were the considerations and trade-offs. The rationale fleshes out what motivated the design and why particular design decisions were made. It should describe alternate designs that were considered and related work. The rationale may also provide evidence of consensus within the community, and should discuss important objections or concerns raised during discussion.-->

The original [validation](https://github.com/Synthetixio/synthetix-v3/blob/cace699d1fb070042ca09a390c95548c31a5d025/protocol/synthetix/contracts/storage/Market.sol#L278) did not take into account that traders' margin are included credit capacity. This patch only needs to be applied to, snxUSD, while other spot synths, deposited by traders are **not** included into `creditCapacity` calculation by the core system by default.
The original [validation](https://github.com/Synthetixio/synthetix-v3/blob/cace699d1fb070042ca09a390c95548c31a5d025/protocol/synthetix/contracts/storage/Market.sol#L278) did not take into account that traders' margin are included credit capacity. This patch only needs to be applied to snxUSD, while other spot synths, deposited by traders are **not** included into `creditCapacity` calculation by the core system.


## Technical Specification
Expand Down

0 comments on commit 853a55c

Please sign in to comment.