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](https://docs.loopscale.com/introduction/overview).
Instructions
18 total
| Instruction | Description |
|---|---|
| borrow_principal | Borrow principal against a locked loan. |
| 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. |
| lock_loan | Lock a loan to commit borrowed principal and collateral. |
| price_loans | Price loans. |
| price_strategies | Price direct lender strategies. |
| refinance_ledger | Refinance a loan ledger from one strategy to another. |
| repay_principal | Repay principal on a Loopscale loan. |
| set_loopscale_policy | Sets Loopscale deposit, borrow, and market allowlist policy. |
| unlock_loan | Unlock a previously locked loan. |
| 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. |