Skip to content

feat(contract): add bounded lease listing for a holder - #1164

Closed
jeffrey-graham wants to merge 2 commits into
mind-vault-1:mainfrom
jeffrey-graham:feat/issue-994-bounded-holder-lease-listing
Closed

jeffrey-graham wants to merge 2 commits into
mind-vault-1:mainfrom
jeffrey-graham:feat/issue-994-bounded-holder-lease-listing

Conversation

@jeffrey-graham

Copy link
Copy Markdown

Closes #994

Summary

  • Adds LeasePage { items, next_cursor } and list_holder_leases_page(holder, active_only, cursor, limit) for bounded paginated lease queries by holder in deterministic catalog registration order.
  • Supports filtering for currently active unexpired leases (active_only = true) or all recorded leases (active_only = false), capped at LIST_PAGE_CAP (20).
  • Adds test coverage for active-only vs all-leases filtering across expired and revoked leases, multi-page cursor pagination, and empty result sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Contract] [Feature] Add bounded lease listing for a holder

1 participant