Skip to content

Commit f41a721

Browse files
committed
feat(docs): add diagram for FAssets collateral ratio
1 parent 94e3c59 commit f41a721

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

docs/fassets/2-collateral.mdx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: Understand how collateral works in FAssets.
44
keywords: [fassets, xrp, bitcoin, dogecoin, flare-network]
55
---
66

7+
import ThemedImage from "@theme/ThemedImage";
8+
import useBaseUrl from "@docusaurus/useBaseUrl";
9+
710
FAssets collateral is locked in contracts that ensure the minted FAssets can always be redeemed for the underlying assets they represent or compensated by collateral.
811
Along with Flare's native token, FLR, any governance approved ERC-20 token on the Flare blockchain can be used as collateral.
912

@@ -116,7 +119,7 @@ Some are set by the system, and others are set by the agent:
116119

117120
### System-Wide Thresholds
118121

119-
The following thresholds are set by the FAssets system's governance and are the same for all agents:
122+
The following thresholds are set by the FAssets system's governance and are the same for all agents.
120123

121124
#### Minimal CR
122125

@@ -158,6 +161,14 @@ Each of the collateral types, the agent's vault and the collateral pool, has its
158161

159162
The following thresholds are set by each agent according to their own preferences.
160163

164+
<ThemedImage
165+
alt="FAssets Collateral Ratio"
166+
sources={{
167+
light: useBaseUrl("img/fassets/flare_fassets_collateral_ratio_light.svg"),
168+
dark: useBaseUrl("img/fassets/flare_fassets_collateral_ratio_dark.svg"),
169+
}}
170+
/>
171+
161172
#### Minting CR
162173

163174
For each mint done by an agent, the maximum amount allowed to be minted is calculated so that the CR for the agent's vault and the CR for the agent's collateral pool after the mint remain higher than the minting CR for each collateral type.

static/img/fassets/flare_fassets_collateral_ratio_dark.svg

Lines changed: 1 addition & 0 deletions
Loading

static/img/fassets/flare_fassets_collateral_ratio_light.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)