Skip to content

Implement Efficient Search/Filter Helper Functions #324

@Yunusabdul38

Description

@Yunusabdul38

Description

While most indexing happens off-chain, providing basic on-chain filtering (e.g., "get latest 10 pools in Category X") can be useful for light clients and basic contract interaction.

Tasks

  • Maintain a secondary index of pool IDs by category symbol.
  • Implement get_pools_by_category with pagination.
  • Ensure indexes are updated correctly during pool creation.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programcontractcontract

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions