createWrapperManagerUpdatePositionInstruction
Updates strategy position entries 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 the position configuration is set before any deposits are accepted. Used to add or remove strategy positions that define where the vault can allocate capital.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
manager | Yes | Yes | Vault manager updating the positions |
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 |
|---|---|---|
update | PositionUpdate | Position update action (add or remove a strategy position entry) |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.