createExecuteProposalInstruction
Builds a raw instruction to execute an approved governance proposal after the timelock period has passed. Applies the proposed change — either a VaultSettingsAction or PositionUpdate — to the vault. This instruction is permissionless and can be called by anyone once the timelock expires.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
payer | Yes | Yes | Fee payer for the transaction |
vault | No | Yes | Vault account to apply the proposal changes to |
proposal | No | Yes | Approved proposal to execute |
exponentPrices | No | Yes | Exponent prices oracle account |
systemProgram | No | No | System program |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.