Skip to main content
Lock LP as a Reject or OptOut vote. stake_vote returns no data. Instruction data is one discriminator byte (0x0c), followed by Borsh arguments in the order shown.

Authority and conditions

Voter signs; proposal Active and current time before voting end; positive LP; same-choice top-ups allowed. OptOut requires withdrawals and NAV unblocked and matching opt-out withdrawal PDA.

Accounts

Fixed accounts use zero-based indices. S means signer; W means writable. Unmarked accounts are read-only non-signers.

Arguments

Remaining accounts

None consumed by this handler. The optional withdrawal slot is index 9, before the event accounts. Use the vault program ID as a read-only None sentinel for Reject. The voting reference corrects the SDK constructor order. See common accounts for shared PDA conventions.