Skip to main content

view-policy

View the Kamino vaults policy.
glam kvaults view-policy
Example output:
Kamino vaults allowlist:
[0] 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W
[1] J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn

allowlist-vault

Add a vault to the allowlist.
glam kvaults allowlist-vault <vault> [options]
vault
string
required
Kamino vault public key
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Add vault to allowlist
glam kvaults allowlist-vault 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W

# Add without confirmation
glam kvaults allowlist-vault 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W -y

remove-vault

Remove a vault from the allowlist.
glam kvaults remove-vault <vault> [options]
vault
string
required
Kamino vault public key
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Remove vault from allowlist
glam kvaults remove-vault 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W

# Remove without confirmation
glam kvaults remove-vault 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W -y

deposit

Deposit to a Kamino vault.
glam kvaults deposit <vault> <amount> [options]
vault
string
required
Kamino vault public key
amount
number
required
Amount to deposit
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Deposit 100 tokens
glam kvaults deposit 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W 100

# Deposit without confirmation
glam kvaults deposit 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W 100 -y

withdraw

Withdraw from a Kamino vault.
glam kvaults withdraw <vault> <amount> [options]
vault
string
required
Kamino vault public key
amount
number
required
Amount of vault shares to burn and withdraw
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Withdraw 50 shares
glam kvaults withdraw 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W 50

# Withdraw without confirmation
glam kvaults withdraw 8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W 50 -y

Build docs developers (and LLMs) love