Variables
Deposit
Deposit: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
DepositParams
DepositParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { max_deposit_period?: { seconds?: string | undefined; nanos?: number | undefined; }; min_deposit?: { denom?: string | undefined; amount?: string | undefined; }[] } & { max_deposit_period?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["max_deposit_period"], keyof <internal>.Duration>, never>; min_deposit?: { amount?: string; denom?: string }[] & ({ amount?: string; denom?: string } & { denom?: string | undefined; amount?: string | undefined; } & Record<Exclude<keyof I["min_deposit"][number], keyof <internal>.Coin>, never>)[] & Record<Exclude<keyof I["min_deposit"], keyof { amount?: string; denom?: string }[]>, never> } & Record<Exclude<keyof I, keyof <internal>."/opt/buildhome/repo/src/protobuf/cosmos/gov/v1beta1/gov".DepositParams>, never>
Parameters
toJSON:function
Parameters
Returns unknown
Proposal
Proposal: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { content?: { type_url?: string | undefined; value?: Uint8Array | undefined; }; deposit_end_time?: { seconds?: string | undefined; nanos?: number | undefined; }; final_tally_result?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; no_with_veto?: string | undefined; }; proposal_id?: string; status?: <internal>."/opt/buildhome/repo/src/protobuf/cosmos/gov/v1beta1/gov".ProposalStatus; submit_time?: { seconds?: string | undefined; nanos?: number | undefined; }; total_deposit?: { denom?: string | undefined; amount?: string | undefined; }[]; voting_end_time?: { seconds?: string | undefined; nanos?: number | undefined; }; voting_start_time?: { seconds?: string | undefined; nanos?: number | undefined; } } & { content?: { type_url?: string; value?: Uint8Array } & { type_url?: string | undefined; value?: Uint8Array | undefined; } & Record<Exclude<keyof I["content"], keyof <internal>.Any>, never>; deposit_end_time?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["deposit_end_time"], keyof <internal>.Timestamp>, never>; final_tally_result?: { abstain?: string; no?: string; no_with_veto?: string; yes?: string } & { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; no_with_veto?: string | undefined; } & Record<Exclude<keyof I["final_tally_result"], keyof <internal>."/opt/buildhome/repo/src/protobuf/cosmos/gov/v1beta1/gov".TallyResult>, never>; proposal_id?: string; status?: <internal>."/opt/buildhome/repo/src/protobuf/cosmos/gov/v1beta1/gov".ProposalStatus; submit_time?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["submit_time"], keyof <internal>.Timestamp>, never>; total_deposit?: { amount?: string; denom?: string }[] & ({ amount?: string; denom?: string } & { denom?: string | undefined; amount?: string | undefined; } & Record<Exclude<keyof I["total_deposit"][number], keyof <internal>.Coin>, never>)[] & Record<Exclude<keyof I["total_deposit"], keyof { amount?: string; denom?: string }[]>, never>; voting_end_time?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["voting_end_time"], keyof <internal>.Timestamp>, never>; voting_start_time?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["voting_start_time"], keyof <internal>.Timestamp>, never> } & Record<Exclude<keyof I, keyof <internal>."/opt/buildhome/repo/src/protobuf/cosmos/gov/v1beta1/gov".Proposal>, never>
Parameters
toJSON:function
Parameters
Returns unknown
TallyParams
TallyParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
TallyResult
TallyResult: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
TextProposal
TextProposal: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
Vote
Vote: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
VotingParams
VotingParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { voting_period?: { seconds?: string | undefined; nanos?: number | undefined; } } & { voting_period?: { nanos?: number; seconds?: string } & { seconds?: string | undefined; nanos?: number | undefined; } & Record<Exclude<keyof I["voting_period"], keyof <internal>.Duration>, never> } & Record<Exclude<keyof I, "voting_period">, never>
Parameters
toJSON:function
Parameters
Returns unknown
WeightedVoteOption
WeightedVoteOption: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
Parameters
toJSON:function
Parameters
Returns unknown
protobufPackage
protobufPackage: "cosmos.gov.v1beta1" = "cosmos.gov.v1beta1"