Expand description
Pure (non-I/O) math + decoders for the Jupiter Lend protocol.
Mirrors @jup-ag/lend-read’s calculator.ts / decoder.ts / tick-math.ts.
Re-exports§
pub use error::CoreError;
Modules§
- constants
- Constants from lend-read
src/common/constants.ts+ vault tick bounds. - error
- exchange_
price - Exchange-price math for Jupiter Lend liquidity reserves.
- lending
- jlToken-side pure math (
@jup-ag/lend-readsrc/lending/calculator.ts). - math
- Pure numerical helpers shared across rate-model / exchange-price / tick / vault modules. Populated by Phase 2 waves B (tick) onward.
- overall_
data - View builders + composer for “overall token data” — the consumer-facing shape of a Liquidity reserve combined with rate-model + exchange-price extrapolation + supply-rate derivation + revenue. Composes the per-domain math already in lend-core.
- rate_
model - Supply-rate derivation + interest-pool ratio helpers.
- revenue
- Liquidity revenue computation.
- rewards_
rate - Lending rewards-rate calculator.
- user_
position - User supply/borrow position expansion math.
- vault
- Vault simulation math (pure, non-I/O).