This page follows 1,000 USDC through every stage of the core Exponent flow: stripping into PT and YT, collecting yield, and merging back to the base asset. Every code block uses the real Exponent Core SDK — for isolated copy-paste snippets, see the SDK Quickstart.Documentation Index
Fetch the complete documentation index at: https://v2-docs.exponent.finance/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Initialize a Yield Position
YT does not earn yield sitting in your wallet — it is just an SPL token. To start accruing interest and emissions, it must be deposited into aYieldTokenPosition. This is a one-time setup per vault, and must be done before calling ixStripFromBase (which auto-deposits YT).
Strip
Stripping converts a base asset into PT and YT in one atomic instruction. The vault wraps the base into SY under the hood, then mints equal amounts of PT and YT based on the current exchange rate. YT is automatically deposited into your yield position and begins accruing immediately. At a rate of 1.00, depositing 1,000 USDC produces 1,000 PT + 1,000 YT.Collect Yield
Yield accrues over time
As the underlying protocol (e.g., Marginfi) earns interest, the SY exchange rate grows. The deposited YT position tracks this growth.| Value | |
|---|---|
| Exchange rate at deposit | 1.000 |
| Exchange rate after 30 days | ~1.008 |
| YT deposited | 1,000 |
| Accrued interest | ~8.1 SY |
Stage and collect
Before collecting, the yield must be staged — this snapshots the current exchange rate and computes what is owed.Redeem at Maturity
At maturity, the exchange rate freezes. PT becomes redeemable for its full SY backing, and YT stops accruing. To exit, withdraw YT from the yield position, then merge PT + YT back into the base asset.Summary
| Stage | Action | SDK Method | Holdings After |
|---|---|---|---|
| Start | — | — | 1,000 USDC |
| Initialize | Create yield position (one-time) | vault.ixInitializeYieldPosition() | 1,000 USDC |
| Strip | Base to PT + YT (auto-deposits YT) | vault.ixStripFromBase() | 1,000 PT + 1,000 YT (deposited) |
| Collect | Claim accrued interest | ytPosition.ixStageYield() + ixCollectInterest() | 1,000 PT + 1,000 YT + ~8.1 SY |
| Withdraw | Prepare to merge | ytPosition.ixWithdrawYt() | 1,000 PT + 1,000 YT + ~8.1 SY |
| Merge | PT + YT to base asset | vault.ixMergeToBase() | ~1,008 USDC |
Next Steps
SDK Quickstart
Install the SDK and walk through the complete flow
Trading
Trade PT and YT on the CLMM and Orderbook
CLMM Trading
Buy and sell PT and YT on the concentrated liquidity AMM
Orderbook Trading
Post limit orders at specific APY levels