Kamino IntegrationProduction
lending_request_elevation_group
Requests an elevation group change for a vault-owned Kamino Lending obligation.
Required conditions
- The vault integration ACL must enable this integration before the instruction is accepted; that enablement is defined on the GLAM state account.
- If the signer is not the owner, the delegate ACL on the GLAM state must contain the exact protocol permission required by this instruction; registering a delegate alone is insufficient.
- Instruction-specific destination accounts must satisfy the external protocol's own account model; GLAM validates the accounts it needs for authorization and policy enforcement, then passes the remaining protocol accounts through CPI.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | GLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records. |
| glam_vault | writable | Vault PDA associated with the GLAM state and used as the vault authority. |
| glam_signer | signer, writable | Calling authority or fee payer. |
| integration_authority | read-only | Program-derived authority used by the integration for downstream invocation. |
| cpi_program | read-only | Downstream program invoked by this instruction. |
| glam_protocol_program | read-only | GLAM Protocol program account used for authorization or CPI. |
| system_program | read-only | Solana System Program. |
| obligation | writable | Kamino lending obligation account. |
| lending_market | read-only | Kamino lending market account for the reserves and obligations touched by this instruction. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| elevation_group | u8 |
Policy & permissions
- Signer must hold Kamino Lending
Borrow. - Lending policy and market or elevation-group constraints are checked before forwarding the CPI.
Cross-instruction constraints
- Kamino user metadata and the relevant obligation accounts must exist before lending movement instructions run.