mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Merge pull request #881 from cosmos/add-gov-pagination
Add paginationKey arguments to types in gov query
This commit is contained in:
commit
63c2199c9d
@ -6,6 +6,11 @@ and this project adheres to
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- @cosmjs/stargate: Add missing pagination key arguments to query types in
|
||||
`GovExtension`.
|
||||
|
||||
## [0.26.0] - 2021-08-24
|
||||
|
||||
### Added
|
||||
|
@ -27,12 +27,16 @@ export interface GovExtension {
|
||||
proposalStatus: ProposalStatus,
|
||||
depositor: string,
|
||||
voter: string,
|
||||
paginationKey?: Uint8Array,
|
||||
) => Promise<QueryProposalsResponse>;
|
||||
readonly proposal: (proposalId: GovProposalId) => Promise<QueryProposalResponse>;
|
||||
readonly deposits: (proposalId: GovProposalId) => Promise<QueryDepositsResponse>;
|
||||
readonly deposits: (
|
||||
proposalId: GovProposalId,
|
||||
paginationKey?: Uint8Array,
|
||||
) => Promise<QueryDepositsResponse>;
|
||||
readonly deposit: (proposalId: GovProposalId, depositorAddress: string) => Promise<QueryDepositResponse>;
|
||||
readonly tally: (proposalId: GovProposalId) => Promise<QueryTallyResultResponse>;
|
||||
readonly votes: (proposalId: GovProposalId) => Promise<QueryVotesResponse>;
|
||||
readonly votes: (proposalId: GovProposalId, paginationKey?: Uint8Array) => Promise<QueryVotesResponse>;
|
||||
readonly vote: (proposalId: GovProposalId, voterAddress: string) => Promise<QueryVoteResponse>;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user