createWrapperManageVaultSettingsInstruction
Applies vault settings changes via self-CPI using the vault’s signer seeds. This instruction enforces that the vault has zero AUM (empty vault only), ensuring configuration is finalized before deposits are accepted. Typically called during initial vault setup to configure token entries, withdrawal periods, and other vault parameters.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
manager | Yes | Yes | Vault manager applying the settings |
vault | No | Yes | Vault account (must have zero AUM) |
exponentPrices | No | Yes | ExponentPrices account for token valuations |
systemProgram | No | No | System program |
Args
| Name | Type | Description |
|---|---|---|
actions | VaultSettingsAction[] | Array of settings actions to apply (e.g., add/remove token entries, set withdrawal periods) |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.