GLAMIDL Reference

Jupiter Lend Integration Staging

Integration adapter for Jupiter Lend. Lets a GLAM vault deposit and withdraw Jupiter Earn assets and initialize or operate Jupiter Borrow positions under GLAM authorization. This staging deployment exposes additional or pre-release functionality for review.

Accounts owned or controlled

AccountOwner / authorityPurpose
Integration authority PDAJupiter Lend Integration StagingProgram-derived authority used for integration-level signing during Jupiter Earn and Borrow CPI calls.

Protocols

Jupiter Lend Integration Staging groups its instructions into the following protocols. Each protocol corresponds to a delegate-permission set on the GLAM state's integration ACL.

ProtocolDescriptionInstructions
EarnDeposit into and withdraw from Jupiter Earn lending positions.3
BorrowInitialize and operate Jupiter Borrow positions owned by the GLAM vault.3

Instructions

6 total
InstructionDescription
borrow_init_positionInitialize a Jupiter Borrow position NFT owned by the GLAM vault.
borrow_operateOperate a Jupiter Borrow position. Required permissions are derived from signed deltas: positive collateral = deposit, negative collateral = withdraw, positive debt = borrow, negative debt = repay.
earn_depositDeposit underlying tokens into Jupiter Earn and mint jlTokens to the GLAM vault.
earn_withdrawBurn Jupiter Earn jlTokens and withdraw underlying tokens to the GLAM vault.
set_borrow_policySet the Jupiter Borrow policy on the GLAM state.
set_earn_policySet the Jupiter Earn policy on the GLAM state.