Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/gov/v1beta1/query

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

QueryDepositRequest

QueryDepositRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryDepositResponse

QueryDepositResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryDepositsRequest

QueryDepositsRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryDepositsResponse

QueryDepositsResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryParamsRequest

QueryParamsRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryParamsResponse

QueryParamsResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { depositParams?: { minDeposit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; maxDepositPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; }; tallyParams?: { quorum?: Uint8Array | undefined; threshold?: Uint8Array | undefined; vetoThreshold?: Uint8Array | undefined; }; votingParams?: { votingPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } }): QueryParamsResponse
    • Parameters

      • object: { depositParams?: { minDeposit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; maxDepositPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; }; tallyParams?: { quorum?: Uint8Array | undefined; threshold?: Uint8Array | undefined; vetoThreshold?: Uint8Array | undefined; }; votingParams?: { votingPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; } }
        • Optional depositParams?: { minDeposit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; maxDepositPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; }

          deposit_params defines the parameters related to deposit.

        • Optional tallyParams?: { quorum?: Uint8Array | undefined; threshold?: Uint8Array | undefined; vetoThreshold?: Uint8Array | undefined; }

          tally_params defines the parameters related to tally.

        • Optional votingParams?: { votingPeriod?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; }

          voting_params defines the parameters related to voting.

      Returns QueryParamsResponse

  • toJSON: function

QueryProposalRequest

QueryProposalRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryProposalResponse

QueryProposalResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryProposalsRequest

QueryProposalsRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryProposalsResponse

QueryProposalsResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryTallyResultRequest

QueryTallyResultRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryTallyResultResponse

QueryTallyResultResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryVoteRequest

QueryVoteRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryVoteResponse

QueryVoteResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryVotesRequest

QueryVotesRequest: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryVotesResponse

QueryVotesResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "cosmos.gov.v1beta1" = 'cosmos.gov.v1beta1'

Generated using TypeDoc