Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(whale-api): add GET api for on-chain governance (#1970)
<!-- Thanks for sending a pull request! --> #### What this PR does / why we need it: - Add `/proposals`, `/proposals/:id` and `/proposals/:id/votes` endpoints on whale - Add `.listGovProposals()`, `.getGovProposal()`, and `listGovProposalVotes()` to `WhaleApiClient` - To allow straightforward paginated listing implementation for downstream, e.g. scan and wallet #### Which issue(s) does this PR fixes?: <!-- (Optional) Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes # #### Additional comments?: - Intermittent codecov issue when running CI, seems to be related to codecov/codecov-action#598 Co-authored-by: Harsh <[email protected]> Co-authored-by: Harsh R <[email protected]>
- Loading branch information