Skip to main content

Firelight Vaults

Firelight is a yield-generating protocol built on top of FXRP. It provides ERC-4626 compliant vault that allows users to deposit FXRP and earn yield through the FAssets system.

Firelight vaults operate on a period-based logic, where deposits and withdrawals are processed at specific intervals. Users receive vault shares representing their proportional ownership of the vault's assets.

How Firelight Vaults Work

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:

  • Deposit / Mint: Two ways to get vault shares. 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.

  • Withdraw / Redeem: Both create a withdrawal request for the current period. Call withdraw(assets) to request a given amount of assets, or redeem(shares) to burn shares and request the equivalent assets. Shares are burned when you redeem.

  • Claim: After the period ends, call claimWithdraw() to receive your FXRP. Use the Get Vault Status and Claim Withdrawals guides to find and claim completed periods.

What's next