What is GLAM?
GLAM (General Liquidity Asset Manager) is a protocol built on Solana that enables you to create and manage on-chain investment vaults. The protocol provides a secure, flexible framework for managing digital assets with built-in access control, integration policies, and state management.Protocol architecture
The GLAM Protocol consists of several core programs that work together:Core programs
Protocol program
Manages vault state, access control, and core operations
Mint program
Handles tokenization, share minting/burning, and request queues
Integration programs
GLAM supports multiple DeFi integrations through extension programs:- ext_spl: SPL token transfers and operations
- ext_drift: Drift Protocol integration for perpetuals and lending
- ext_kamino: Kamino lending, vaults, and farms
- ext_marinade: Marinade liquid staking
- ext_stake_pool: Sanctum and other stake pool integrations
- ext_cctp: Cross-Chain Transfer Protocol support
- ext_offchain: Off-chain AUM updates
Program-Derived Addresses (PDAs)
The protocol uses PDAs to derive deterministic addresses for vault components:All vault components are derived from the
statePda, creating a hierarchical structure where the state account is the root of all vault-related PDAs.Vault types
The GLAM Protocol supports different vault account types defined inStateAccountType:
| Type | Description | Use case |
|---|---|---|
| TOKENIZED_VAULT | Full tokenization with share tokens | Public funds with subscriptions/redemptions |
| OPERATIONAL_VAULT | Non-tokenized operational vault | Treasury management, DAO vaults |
| INVESTMENT_VAULT | Investment-focused vault | Private funds, managed portfolios |
Network support
The SDK supports multiple Solana networks through theClusterNetwork enum:
Access control
GLAM implements a sophisticated access control system:Owner permissions
The vault owner has full control over:- State configuration updates
- Access control management
- Integration permissions
- Asset allowlists
Delegate permissions
Delegates can be granted specific permissions throughDelegateAcl:
Integration policies
Integration ACLs control which protocols a vault can interact with:- Bit 0: Initialize obligation
- Bit 1: Deposit collateral
- Bit 2: Withdraw collateral
- Bit 3: Borrow
- Bit 4: Repay
Timelock system
Vaults can enable a timelock for state updates, providing security for critical changes:- Updates are staged in
pendingStateUpdatesorpendingMintUpdates - Changes must wait for
timelockDurationbefore execution - Updates can be applied after
timelockExpiresAtis reached
Asset management
Vaults track two categories of assets:Staging environments
The protocol supports both production and staging deployments:Next steps
Vaults
Learn about vault operations and management
Clients
Explore the client architecture
Configuration
Configure the SDK for your application