Jupiter route_v2 for zap-out, and amount_in offset derived from the AMM
Release summary
What We Shipped
- Whitelisted Jupiter
route_v2andshared_account_route_v2forzap_out zap_outnow derives theamount_inoffset from the AMM program and its instruction discriminator- Updated Anchor to
1.0.2 - Deprecated Jupiter
routeandshared_account_routein favor of the v2 routes. Both stay whitelisted forzap_out offset_amount_ininZapOutParametersis ignored. The field stays in the instruction layout
Program: zap 0.2.3
Program ID (mainnet and devnet): zapvX9M3uf5pvy4wRPAbQgdQsM1xmuiFnkfHKPvwMizProgram PR #53Changed
- Update anchor to
1.0.2 - Endpoint
zap_outnow derives the offset ofamount_inin the swap payload from the amm program and its instruction discriminator, instead of reading it fromZapOutParameters.
Added
- Add Jupiter’s
route_v2andshared_account_route_v2as whitelisted instructions forzap_out
Deprecated
- Jupiter’s
routeandshared_account_routeare deprecated in favor ofroute_v2andshared_account_route_v2. They remain whitelisted forzap_outfor backward compatibility. offset_amount_ininZapOutParametersis ignored. It remains in the instruction layout for backward compatibility.
Support Zap-In to damm-V2 Compounding Pool Fee Mode and single-sided damm-v2 pool
Release summary
What We Shipped
- Support Zap-In to damm-V2 Compounding Pool Fee Mode
- Support Zap-In to single-sided damm-v2 pool
What To Do
| Integrators | What Changed | What To Do |
|---|---|---|
| Partners |
|
|
Program: zap 0.2.2
Program ID (mainnet and devnet): zapvX9M3uf5pvy4wRPAbQgdQsM1xmuiFnkfHKPvwMizProgram PR #46Added
- Add support for damm-v2 pool with Compounding fee mode
Fixed
- Fix zap in to single-sided damm-v2 pool. A single-sided pool is a pool fully contains only one token in the pool pair, either fully token a (
sqrt_priceatsqrt_min_price) or fully token b (sqrt_priceatsqrt_max_price)
TypeScript SDK: @meteora-ag/zap-sdk 1.3.0
SDK PR #30Added
- Support Zap-In to damm-V2 Compounding Pool Fee Mode.
- Support Zap-In to single-sided damm-v2 pool. A single-sided pool is a pool that fully contains only one token of the pool pair, either fully token A (
sqrt_priceatsqrt_min_price) or fully token B (sqrt_priceatsqrt_max_price).
Fixed
- Rebalance DLMM position with 1 bin. Reference: https://github.com/MeteoraAg/dlmm-sdk/pull/286

