Skip to main content

Senior and Junior LP tokens are standard SPL token mints. They can be transferred between wallets, held by vaults, paired in AMMs, or accepted by external programs. The LP token itself does not expose a vault preview interface. The mint is only the transferable claim token. The tranching market account is the source of truth for NAV, utilization, coverage, fees, and lifecycle state. LP mints are initialized with the same decimals as the linked SY mint. Fetch mint metadata when displaying balances, and keep raw LP amounts in mint units when building instructions.

Token Addresses

See Addresses and Token Accounts for SDK helpers and ExponentTranchingMarket for raw account fields.
Transfers do not run onchain market sync. market.reload() only refreshes the SDK’s local account state; it does not update NAV onchain. For LP pricing, read the latest market account state. Deposit and withdrawal instructions run their own market-update path during execution.

State and Field Map

The following fields are the core inputs for DeFi integrations. The SDK column shows the TypeScript surface. The Rust column shows the account fields after deserializing ExponentTranchingMarket.

Rust Field Example

Rust integrations usually start from the deserialized market account and then read the same inputs used by the SDK helpers.
For the LP price formula that combines effective_nav with total_*_lp_supply, see LP Pricing.

Rust Capacity Function

Capacity is derived. There is no single ExponentTranchingMarket field that equals getSrRemainingCapacityNetAssetValue() or getJrRemainingCapacityNetAssetValue().
For lp_price, see LP Pricing. For lp_out, see Deposit Previews. fixedTermDurationSec is the fixed-term observation period duration used by Recovery Period accounting. If it is 0, fixed-term recovery is disabled. fixedTermEndTs is the timestamp when the current recovery window ends. tranchingFromNumber and tranchingNumberToRaw only convert the Number fixed-point encoding. In Rust, use precise_number::Number; one unit is Number::DENOM, or 1_000_000_000_000. Apply token mint decimals separately when showing SY, LP, or NAV amounts to users.

Token Integration Notes

For pricing formulas and examples, see Pricing and Previews.