docs: reconcile query API documentation with QueryManager gap analysis#596
Closed
DevSolex wants to merge 1 commit into
Closed
docs: reconcile query API documentation with QueryManager gap analysis#596DevSolex wants to merge 1 commit into
DevSolex wants to merge 1 commit into
Conversation
- Update Gap Analysis doc-comment in queries.rs (supersedes 2026-04-23): mark every getter as Implemented / Stubbed / Planned with exact call path - Update API_DOCUMENTATION.md 'Query Functions' section: replace flat bullet list with status tables covering all QueryManager functions plus out-of-manager getters (bet limits, config, dispute timeout, permissions_for_role) - Flag stubbed metric fields in query_user_balance, query_market_pool, and query_contract_state and cross-link to issue Predictify-org#595 - Add grep-based verification method so status can be re-checked at any time Closes Predictify-org#595
6 tasks
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reconciles the published Query API against the Gap Analysis identified in
contracts/predictify-hybrid/src/queries.rs.Changes
queries.rs— supersedes the 2026-04-23 Gap Analysis doc-comment with a reconciled table for every getter (Implemented / Stubbed / Planned) plus exact call paths for functions outsideQueryManagerAPI_DOCUMENTATION.md— replaces the flat bullet list in the Query Functions section with status tables covering all 24QueryManagerfunctions and out-of-manager getters (get_permissions_for_role,get_dispute_timeout_status,get_config,get_configuration_history,get_effective_bet_limits)Acceptance Criteria Met
QueryManagerdocumented with their real call pathquery_user_balance,query_market_pool,query_contract_state) flagged and linked to Document and reconcile the published query API against the QueryManager gap analysis #595grep -n "pub fn <name>" contracts/predictify-hybrid/src/*.rsCloses #595