Fund
The Fund is the primary module responsible for managing user assets within the Fragmetric ecosystem. It accepts deposits of SOL, LSTs, and other supported assets, and mints the corresponding Fragmetric Asset. The minting process leverages pricing data from the Normalized Token Pool (covered in the next section). In addition, the Fund manages withdrawal requests by reserving adequate liquidity and executing these requests periodically, allowing users to claim their assets in a timely manner.
Deposit & Withdrawal of the Fund
The following diagram demonstrates the interaction between users, the $fragSOL Fund, and the oracle systems:
- Deposits: Users deposit SOL or supported LSTs (including JitoSOL, mSOL, BNSOL, bbSOL) into the Fund.
- Minting fragSOL: Upon receiving a deposit, the Fund mints fragSOL for the user. The number of tokens minted is determined by the current price data, reflecting the combined value of the underlying assets.
- Withdrawals: Users may request withdrawals, prompting the Fund to burn the corresponding fragSOL and reserve the equivalent amount of SOL for them to claim. These withdrawal requests are processed on a periodic schedule.
- Pricing fragSOL: The price of fragSOL is dynamically calculated based on the overall value of the LSTs managed by the Fund, ensuring that the tokens accurately represent each user’s share of the pooled assets.