Skip to main content
Burn queued LP and move payout tokens into withdrawal custody. fill_withdrawal returns no data. Instruction data is one discriminator byte (0x05), followed by Borsh arguments in the order shown.

Authority and conditions

squads_vault must sign, normally through authorized Squads sync execution. Manager/Allocator foundational fill policy supplies that PDA signature. No external manager fixed account.

Accounts

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

Arguments

Each percentage applies to then-remaining LP, rounded up; 10_000 fills all remaining LP. Fill burns LP and records payouts.

Remaining accounts

[AUM accounts…, source_0, mint_0, destination_0, token_program_0, …]. Last fills.len()*4 accounts are transfer quadruples in fills order. source=entry.token_squads_account (W), mint=entry.mint (R), destination=entry.token_account_vault (W), token program R. Everything before tail is used for full AUM. For opt-out request fixed proposal must be matching Approved/Executed proposal after voting end; ordinary request ignores proposal. 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.