Skip to main content

createWrapperUpdatePolicyInstruction

Updates an existing Squads policy on the vault via self-CPI using the vault’s signer seeds. This instruction enforces that the vault has zero AUM (empty vault only), ensuring policy changes cannot be made while depositor funds are active. The manager must sign to authorize the update.

Usage

Accounts

Args

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.