All programsStaging
Loopscale Integration Staging
Integration adapter for Loopscale direct-lender strategies and loan positions. It creates/manages vault-owned strategies and loans, prices those positions, and applies Loopscale deposit, borrow, and market allowlist policy. This staging deployment exposes additional or pre-release functionality for review.
Accounts owned or controlled
| Account | Owner / authority | Purpose |
|---|---|---|
| Loopscale strategy accounts | Loopscale program with GLAM vault authority | Direct-lender strategy accounts created and managed for the GLAM vault. |
| Loopscale loan accounts | Loopscale program with GLAM vault authority | Loan records for collateral, principal, repayment, locking, unlocking, and pricing flows. |
Integration notes
- Loopscale Integration Staging must be enabled on the vault before integration actions can run. Delegate permissions are still required for non-owner callers.
- Relevant official references: Loopscale documentation.
Instructions
21 total
| Instruction | Description |
|---|---|
| borrow_principal | Borrow principal against a locked loan. |
| claim_vault_rewards | Claims vault rewards. |
| close_loan | Close an existing Loopscale loan PDA. |
| close_strategy | Close a direct lender strategy owned by the GLAM vault. |
| create_loan | Create a new Loopscale loan PDA owned by the GLAM vault. |
| create_strategy | Create a direct lender strategy owned by the GLAM vault. |
| deposit_collateral | Deposit collateral into a Loopscale loan. |
| deposit_strategy | Deposit principal into a direct lender strategy. |
| deposit_user_vault | Deposits user vault. |
| repay_principal | Repay principal on a Loopscale loan. |
| sell_ledger | Sell a loan ledger from one strategy to another. |
| set_borrow_policy | Set the Loopscale borrow policy (collateral allowlist and market policies). |
| set_lending_policy | Set the Loopscale lending policy (allowlists, market policies, and sell-ledger limits). |
| set_vault_policy | Set the Loopscale vault policy (vault allowlist). |
| stake_user_vault_lp | Stakes user vault lp. |
| unstake_user_vault_lp | Unstakes user vault lp. |
| update_strategy | Update direct lender strategy terms. |
| update_weight_matrix | Update the collateral weight matrix on a loan. |
| withdraw_collateral | Withdraw collateral from a Loopscale loan. |
| withdraw_strategy | Withdraw principal from a direct lender strategy. |
| withdraw_user_vault | Withdraws user vault. |