You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/fxrp/firelight/_firelight.mdx
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,40 @@ It provides [ERC-4626](https://eips.ethereum.org/EIPS/eip-4626) compliant vault
6
6
Firelight vaults operate on a [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic), where deposits and withdrawals are processed at specific intervals.
7
7
Users receive vault shares representing their proportional ownership of the vault's assets.
8
8
9
+
## How Firelight Vaults Work
10
+
11
+
This diagram shows the flow of operations for a user interacting with a Firelight vault.
The flow of operations for a user interacting with a Firelight vault is as follows:
32
+
33
+
-**Deposit / Mint:** Two ways to get vault shares.
34
+
Call `deposit(assets)` to deposit FXRP and receive the corresponding shares, or `mint(shares)` to specify the shares you want and pay the required FXRP.
35
+
36
+
-**Withdraw / Redeem:** Both create a withdrawal request for the current period.
37
+
Call `withdraw(assets)` to request a given amount of assets, or `redeem(shares)` to burn shares and request the equivalent assets.
38
+
Shares are burned when you redeem.
39
+
40
+
-**Claim:** After the period ends, call `claimWithdraw()` to receive your FXRP.
41
+
Use the [Get Vault Status](/fxrp/firelight/status) and [Claim Withdrawals](/fxrp/firelight/claim) guides to find and claim completed periods.
Copy file name to clipboardExpand all lines: docs/fxrp/upshift/_upshift.mdx
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,41 @@ It inherits the transparency model of the [FAssets](/fassets/overview) system: m
15
15
-**Instruction flow is auditable:** XRPL-triggered actions are executed on Flare via [Smart Accounts](/smart-accounts/overview) with [Flare Data Connector](/fdc/overview) backed verification and onchain execution.
16
16
You can verify all smart account activity on the [Flare Systems Explorer](https://flare-systems-explorer.flare.network/smart-accounts).
17
17
18
+
## How Upshift Vaults Work
19
+
20
+
This diagram shows the flow of operations for a user interacting with an Upshift vault.
21
+
22
+
```mermaid
23
+
flowchart TB
24
+
UserFXRP[("User's FXRP")]
25
+
Deposit[deposit]
26
+
LP[("LP Tokens (vault shares)")]
27
+
UserFXRP --> Deposit --> LP
28
+
29
+
LP --> InstantRedeem[instantRedeem]
30
+
InstantRedeem -->|"instant redemption fee applies"| InstantFXRP[("FXRP to user")]
0 commit comments