Skip to main content
Install an execution policy while vault AUM is zero. add_policy returns no data. Instruction data is one discriminator byte (0x02), followed by Borsh arguments in the order shown.

Authority and conditions

Payer must be Manager or Curator; total stored AUM must be zero; fresh AUM and unblocked NAV circuit breaker required.

Accounts

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

Arguments

wrapper_add_policy is an equivalent active entrypoint with discriminator 0x12 and the same account/argument contract. It calls the same shared application logic. Use the shared policy configuration; direct changes require zero AUM.

Remaining accounts

Additional accounts required by Squads settings execution; forwarded after fixed squads_policy. Derive settings transaction/proposal from next transaction_index; add derives next policy_seed. These constructors do not refresh AUM. See common accounts for shared PDA conventions.