From e5103af612394e1a97696edc9243b7533be2d7ef Mon Sep 17 00:00:00 2001 From: Kristaps Grinbergs Date: Wed, 18 Dec 2024 13:48:44 +0200 Subject: [PATCH] fix(docs): correct operational parameters and streamline server configuration instructions --- docs/fassets/6-operational-parameters.mdx | 4 ++-- docs/fassets/guides/1-deploy-fassets-agent.mdx | 18 ++---------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/docs/fassets/6-operational-parameters.mdx b/docs/fassets/6-operational-parameters.mdx index 86b6e3cd..23a31100 100644 --- a/docs/fassets/6-operational-parameters.mdx +++ b/docs/fassets/6-operational-parameters.mdx @@ -173,8 +173,8 @@ Agents are free to adjust these settings as they see fit. | [**Minting CR**](/fassets/collateral#minting-cr) | | | | |  •  **Agent vault** | 1.3 | 1.3 | 1.3 | |  •  **Collateral pool** | 1.6 | 1.6 | 1.6 | - | [**Exit CR**](/fassets/collateral#exit-cr) | 1.5 | 1.5 | 1.5 | - | [**Top-up CR**](/fassets/collateral#top-up-cr) | 1.6 | 1.6 | 1.6 | + | [**Exit CR**](/fassets/collateral#exit-cr) | 1.6 | 1.6 | 1.6 | + | [**Top-up CR**](/fassets/collateral#top-up-cr) | 1.5 | 1.5 | 1.5 | |  •  **Top-up discount** | 0.5% | 0.5% | 0.5% | | [**Discount for agent self-close**](/fassets/liquidation#stopping-liquidations)
In a self-close exit, the pool token holder burns FAssets to increase pool CR enough to enable the exit. Usually, the burned FAssets are redeemed in the normal redemption process. However, if the closed amount is less than 1 lot, or on explicit request, the agent buys the underlying assets (at a discounted FTSO price, to compensate the agent for possible price fluctuations) and pays the exiting token holder in vault collateral.
| 1% | 1% | 1% | diff --git a/docs/fassets/guides/1-deploy-fassets-agent.mdx b/docs/fassets/guides/1-deploy-fassets-agent.mdx index f0774e24..78d4cbee 100644 --- a/docs/fassets/guides/1-deploy-fassets-agent.mdx +++ b/docs/fassets/guides/1-deploy-fassets-agent.mdx @@ -186,22 +186,8 @@ You can obtain the `xrp_rpc` for the XRP Ledger, `btc_rpc` for Bitcoin, and `dog ## Configure the Server -To access the FAssets admin interface, you need to configure the server to route requests to the frontend and backend. - -### Backend Configuration - -Allow your server to access the URL `fasset-backend`: - -1. Route requests from `/fasset-backend` to the backend service (default port `4000`). -2. Rewrite the path from `/fasset-backend/` to `/api/`. -3. Forward necessary headers to the backend for proper communication. - -### Frontend Configuration - -Route requests from the frontend to the backend service: - -1. Route requests from `/` path to the frontend service running on the desired port (default port `3000`). -2. Forward the Host header to the frontend service for proper handling. +To access the FAssets admin interface, configure the server to route requests to both the frontend and backend. +Allow requests on the default port of `4000` for the backend and `3000` for the frontend. :::warning