Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
Release summary
| Component | Version | PR |
|---|---|---|
| Program | 0.4.1 | alpha-vault #76 |
| TypeScript SDK | 1.1.14 | alpha-vault-sdk #16 |
What We Shipped
- Merkle Proof Metadata
- User able to withdraw extra quote token in prorata vault
What To Do
| Integrators | What Changed | What To Do |
|---|---|---|
| Partners |
|
|
Program: alpha-vault 0.4.1
Program ID (mainnet and devnet): vaU6kP7iNEGkbmPkLmZfGwiGxd4Mob24QQCie5R9kd2Program PR #76Changed
- Allow user to withdraw overflowed deposit (extra token required to fill vault) using
withdrawendpoint right after deposit close.
Added
- New endpoints
create_merkle_proof_metadataandclose_merkle_proof_metadata, that allowsvault_authority (creator)to add an url to proof, easier to integrations to get proof
TypeScript SDK: @meteora-ag/alpha-vault-sdk 1.1.14
SDK PR #16Added
createMerkleProofMetadatafunction. Allow vault creator to submit merkle proof API endpoint.closeMerkleProofMetadatafunction. Allow vault creator to close merkle proof metadata account.getMerkleProofUrlfunction. Get merkle proof API endpoint from merkle proof metadata account. If not available, it default back to meteora API endpointderiveMerkleProofMetadatafunction. Derive merkle proof metadata account PDA.getMerkleProofForDepositfunction. Get merkle proof required for deposit based on merkle proof API stored inMerkleProofMetadata.
Changed
withdrawRemainingQuotecan only be invoked after vault fill stage, which the condition iscurrent_point > last_buying_point.withdrawhave 2 stages now. The first stage is to withdraw from escrow and the second stage is to withdraw excessive quote token from the vault. The second stage (new stage) is only applicable when the vault is in prorata mode. The second stage is triggered when thecurrent_point >= last_join_point && current_point <= last_buying_point. The second stage is being represented ascanWithdrawDepositOverflowinInteractionStateobject, and the amount can be withdrawn in that stage isavailableDepositOverflowinInteractionStateobject.

