Skip to main content
Apply ordered configuration and tracked-position changes. manage_vault_settings returns no data. Instruction data is one discriminator byte (0x16), followed by Borsh arguments in the order shown.

Authority and conditions

Manager or Allocator signs manager account. Allocator-only authority may perform AddOrderbookEntry, AddTokenAccountEntry, AddYieldPositionEntry, and AddClmmPositionEntry. Live-vault gate restricts direct changes to those additions when total AUM>0 and lp_balance>0. Otherwise use a proposal. Direct changes require fresh stored AUM and an unblocked NAV/AUM circuit breaker.

Accounts

Fixed accounts use zero-based indices. S means signer; W means writable. Unmarked accounts are read-only non-signers.

Arguments

Action structs are defined in the vault schema and token entry schema. Settings account prefixes are listed in Vault settings and positions.

Remaining accounts

Action-specific positional prefix in action order, then complete current AUM accounts for initial valuation. Use the ordered prefixes in Vault settings and positions. Read accounts validate fields; token accounts must already exist. Managed changes mark AUM refresh required. See common accounts for shared PDA conventions.