interface GovExtension {
    gov: {
        deposit: ((proposalId, depositorAddress) => Promise<QueryDepositResponse>);
        deposits: ((proposalId, paginationKey?) => Promise<QueryDepositsResponse>);
        params: ((parametersType) => Promise<QueryParamsResponse>);
        proposal: ((proposalId) => Promise<QueryProposalResponse>);
        proposals: ((proposalStatus, depositor, voter, paginationKey?) => Promise<QueryProposalsResponse>);
        tally: ((proposalId) => Promise<QueryTallyResultResponse>);
        vote: ((proposalId, voterAddress) => Promise<QueryVoteResponse>);
        votes: ((proposalId, paginationKey?) => Promise<QueryVotesResponse>);
    };
}

Properties

Properties

gov: {
    deposit: ((proposalId, depositorAddress) => Promise<QueryDepositResponse>);
    deposits: ((proposalId, paginationKey?) => Promise<QueryDepositsResponse>);
    params: ((parametersType) => Promise<QueryParamsResponse>);
    proposal: ((proposalId) => Promise<QueryProposalResponse>);
    proposals: ((proposalStatus, depositor, voter, paginationKey?) => Promise<QueryProposalsResponse>);
    tally: ((proposalId) => Promise<QueryTallyResultResponse>);
    vote: ((proposalId, voterAddress) => Promise<QueryVoteResponse>);
    votes: ((proposalId, paginationKey?) => Promise<QueryVotesResponse>);
}

Type declaration

  • Readonly deposit: ((proposalId, depositorAddress) => Promise<QueryDepositResponse>)
      • (proposalId, depositorAddress): Promise<QueryDepositResponse>
      • Parameters

        Returns Promise<QueryDepositResponse>

  • Readonly deposits: ((proposalId, paginationKey?) => Promise<QueryDepositsResponse>)
      • (proposalId, paginationKey?): Promise<QueryDepositsResponse>
      • Parameters

        Returns Promise<QueryDepositsResponse>

  • Readonly params: ((parametersType) => Promise<QueryParamsResponse>)
      • (parametersType): Promise<QueryParamsResponse>
      • Parameters

        Returns Promise<QueryParamsResponse>

  • Readonly proposal: ((proposalId) => Promise<QueryProposalResponse>)
      • (proposalId): Promise<QueryProposalResponse>
      • Parameters

        Returns Promise<QueryProposalResponse>

  • Readonly proposals: ((proposalStatus, depositor, voter, paginationKey?) => Promise<QueryProposalsResponse>)
      • (proposalStatus, depositor, voter, paginationKey?): Promise<QueryProposalsResponse>
      • Parameters

        • proposalStatus: ProposalStatus
        • depositor: string
        • voter: string
        • Optional paginationKey: Uint8Array

        Returns Promise<QueryProposalsResponse>

  • Readonly tally: ((proposalId) => Promise<QueryTallyResultResponse>)
      • (proposalId): Promise<QueryTallyResultResponse>
      • Parameters

        Returns Promise<QueryTallyResultResponse>

  • Readonly vote: ((proposalId, voterAddress) => Promise<QueryVoteResponse>)
      • (proposalId, voterAddress): Promise<QueryVoteResponse>
      • Parameters

        Returns Promise<QueryVoteResponse>

  • Readonly votes: ((proposalId, paginationKey?) => Promise<QueryVotesResponse>)
      • (proposalId, paginationKey?): Promise<QueryVotesResponse>
      • Parameters

        Returns Promise<QueryVotesResponse>

Generated using TypeDoc