SIGN IN SIGN UP

feat(sub-account-anonymizer): until_undeployed flag on get_sub_accounts (#921)

Add a trailing `until_undeployed: bool` to the anonymizer's `get_sub_accounts` view. When true, the
view stops at the first undeployed nonce and returns only the contiguous deployed prefix; when
false it resolves every nonce in [start, end) (unchanged). This lets the client resolve a user's
deployed sub-accounts in one view call instead of scanning window-by-window client-side.

Regenerating SubAccountAnonymizerABI also picks up the OpenNote.collect_policy field, from which
the committed ABI had drifted (never regenerated after CollectPolicy landed in Cairo).

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/starknet-privacy/921)
<!-- Reviewable:end -->
I
Ittay Dror committed
438abd63de73be68df5ad7fb570016bd2afc2ad3
Parent: 1ee4a25
Committed by GitHub <noreply@github.com> on 8/2/2026, 11:41:54 AM