TransactionInstruction objects. Use Create a vault for initialization and the integration guides for protocol-specific tracking inputs.
Settings
vault.ixManageVaultSettings({ manager, actions, remainingAccounts?, exponentPrices?, systemProgram? }) accepts ordered VaultSettingsAction[]. Construct values with the public vaultSettingsAction helper. ixWrapperManageVaultSettings is a compatibility alias.
Managers can configure an initial vault directly. Once both AUM and accounting LP balance are positive, direct settings changes permit only additions of Order Book, token-account, yield, and CLMM positions. Allocators can make those four additions at any stage. Other funded-vault settings changes use proposals.
Additional accounts
Supply these read-only prefixes in action order, before valuation accounts:
Token entries require initialized canonical ATAs for their stated owners and mint. Token-position accounts must be canonical Squads-owned ATAs; a mint cannot also be a deposit asset. The program records live starting balances.
The SDK appends valuation accounts available from loaded state. Include RPC-resolved accounts when existing positions need them. Direct settings and position changes require fresh stored AUM and an unblocked NAV/AUM circuit breaker; successful changes mark AUM stale.
Tracked positions
vault.ixManagerUpdatePosition({ manager, update, remainingAccounts?, exponentPrices?, systemProgram? }) returns one instruction. ixWrapperManagerUpdatePosition is an alias. Defaults match settings above.
update is a PositionUpdateAction union; there is no public positionUpdate factory in the SDK. Use its typed object form:
lastObservedAmount with the live balance.
The position-update wire reference lists variants. Account preparation and valuation mappings stay with the relevant integration.
Collect management fees
Fees accrue as LP dilution.managementFeeBps uses precision 1_000_000: 10_000n means 1% annually. Updating the rate accrues the old rate first. Collection mints pending LP to feeTreasury; it does not transfer underlying assets.
The SDK has no public fee-collection constructor. Build the program instruction directly: