Documentation Index
Fetch the complete documentation index at: https://v2-docs.exponent.finance/llms.txt
Use this file to discover all available pages before exploring further.
createProposeActionInstruction
Creates a new governance proposal. Only the vault manager can propose actions. The proposal enters a voting period where LP holders can vote to reject or opt out. There is no high-level class method for this instruction; use the raw instruction builder directly.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
payer | Yes | Yes | Transaction fee payer |
manager | Yes | No | Vault manager (must have manager role) |
vault | No | Yes | The vault account |
proposal | No | Yes | The proposal account PDA |
systemProgram | No | No | System program |
Args
| Name | Type | Description | |
|---|---|---|---|
proposalId | u64 | Sequential proposal identifier | |
action | ProposalAction | The proposed change — either VaultSettingsAction or PositionUpdate | |
votingPeriodSeconds | `u32 | null` | Voting period override. Uses vault default if null |
timelockSeconds | `u32 | null` | Timelock override. Uses vault default if null |
action field accepts a ProposalAction — either a VaultSettingsAction or PositionUpdate. See ActionProposal for the full type definition.
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.