execute_withdrawal_from_reserves returns ExecuteWithdrawalFromReservesEvent as Borsh return data. Instruction data is one discriminator byte (0x1d), followed by Borsh arguments in the order shown.
Authority and conditions
LP owner signs. Positive LP, withdrawals/NAV unblocked; free reserves and per-window instant cap must cover exit. Uses foundational Squads transfer policy.Accounts
Fixed accounts use zero-based indices.S means signer; W means writable. Unmarked accounts are read-only non-signers.
Arguments
Remaining accounts
Supply all current reserve token_squads_account accounts and protocol-specific accounts for every tracked strategy position. AUM lookup resolves by pubkey; even a fixed transfer account must also be supplied if needed by AUM. Price references used by full valuation must be updated in the same slot; use SDK refresh planning. Price inputs must be current for the slot of AUM calculation. These operations recalculate AUM using the supplied accounts. See Refresh AUM for preparation and packing. See common accounts for shared PDA conventions.Return data fields
Return data fields
Token, LP, and AUM amounts use their respective atomic units; timestamps are Unix seconds. Fee rates use
10_000 = 100%.