import { Any, type AnySDKType } from '../../../google/protobuf/any.js'; import { Coin, type CoinSDKType } from '../../base/v1beta1/coin.js'; import { VoteOption, WeightedVoteOption, type WeightedVoteOptionSDKType, Params, type ParamsSDKType } from './gov.js'; import { Timestamp, type TimestampSDKType } from '../../../google/protobuf/timestamp.js'; import { CoreEvalProposal, type CoreEvalProposalSDKType } from '../../../agoric/swingset/swingset.js'; import { CommunityPoolSpendProposal, type CommunityPoolSpendProposalSDKType, CommunityPoolSpendProposalWithDeposit, type CommunityPoolSpendProposalWithDepositSDKType } from '../../distribution/v1beta1/distribution.js'; import { TextProposal, type TextProposalSDKType } from '../v1beta1/gov.js'; import { ParameterChangeProposal, type ParameterChangeProposalSDKType } from '../../params/v1beta1/params.js'; import { SoftwareUpgradeProposal, type SoftwareUpgradeProposalSDKType, CancelSoftwareUpgradeProposal, type CancelSoftwareUpgradeProposalSDKType } from '../../upgrade/v1beta1/upgrade.js'; import { ClientUpdateProposal, type ClientUpdateProposalSDKType, UpgradeProposal, type UpgradeProposalSDKType } from '../../../ibc/core/client/v1/client.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposal { /** messages are the arbitrary messages to be executed if proposal passes. */ messages: Any[]; /** initial_deposit is the deposit value that must be paid at proposal submission. */ initialDeposit: Coin[]; /** proposer is the account address of the proposer. */ proposer: string; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; /** * title is the title of the proposal. * * Since: cosmos-sdk 0.47 */ title: string; /** * summary is the summary of the proposal * * Since: cosmos-sdk 0.47 */ summary: string; /** * expedited defines if the proposal is expedited or not * * Since: cosmos-sdk 0.50 */ expedited: boolean; } export interface MsgSubmitProposalProtoMsg { typeUrl: '/cosmos.gov.v1.MsgSubmitProposal'; value: Uint8Array; } /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposalSDKType { messages: AnySDKType[]; initial_deposit: CoinSDKType[]; proposer: string; metadata: string; title: string; summary: string; expedited: boolean; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ export interface MsgSubmitProposalResponse { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; } export interface MsgSubmitProposalResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgSubmitProposalResponse'; value: Uint8Array; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ export interface MsgSubmitProposalResponseSDKType { proposal_id: bigint; } /** * MsgExecLegacyContent is used to wrap the legacy content field into a message. * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. */ export interface MsgExecLegacyContent { /** content is the proposal's content. */ content?: (CoreEvalProposal & CommunityPoolSpendProposal & CommunityPoolSpendProposalWithDeposit & TextProposal & ParameterChangeProposal & SoftwareUpgradeProposal & CancelSoftwareUpgradeProposal & ClientUpdateProposal & UpgradeProposal & Any) | undefined; /** authority must be the gov module address. */ authority: string; } export interface MsgExecLegacyContentProtoMsg { typeUrl: '/cosmos.gov.v1.MsgExecLegacyContent'; value: Uint8Array; } /** * MsgExecLegacyContent is used to wrap the legacy content field into a message. * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. */ export interface MsgExecLegacyContentSDKType { content?: CoreEvalProposalSDKType | CommunityPoolSpendProposalSDKType | CommunityPoolSpendProposalWithDepositSDKType | TextProposalSDKType | ParameterChangeProposalSDKType | SoftwareUpgradeProposalSDKType | CancelSoftwareUpgradeProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType | undefined; authority: string; } /** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ export interface MsgExecLegacyContentResponse { } export interface MsgExecLegacyContentResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgExecLegacyContentResponse'; value: Uint8Array; } /** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ export interface MsgExecLegacyContentResponseSDKType { } /** MsgVote defines a message to cast a vote. */ export interface MsgVote { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** voter is the voter address for the proposal. */ voter: string; /** option defines the vote option. */ option: VoteOption; /** metadata is any arbitrary metadata attached to the Vote. */ metadata: string; } export interface MsgVoteProtoMsg { typeUrl: '/cosmos.gov.v1.MsgVote'; value: Uint8Array; } /** MsgVote defines a message to cast a vote. */ export interface MsgVoteSDKType { proposal_id: bigint; voter: string; option: VoteOption; metadata: string; } /** MsgVoteResponse defines the Msg/Vote response type. */ export interface MsgVoteResponse { } export interface MsgVoteResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgVoteResponse'; value: Uint8Array; } /** MsgVoteResponse defines the Msg/Vote response type. */ export interface MsgVoteResponseSDKType { } /** MsgVoteWeighted defines a message to cast a vote. */ export interface MsgVoteWeighted { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** voter is the voter address for the proposal. */ voter: string; /** options defines the weighted vote options. */ options: WeightedVoteOption[]; /** metadata is any arbitrary metadata attached to the VoteWeighted. */ metadata: string; } export interface MsgVoteWeightedProtoMsg { typeUrl: '/cosmos.gov.v1.MsgVoteWeighted'; value: Uint8Array; } /** MsgVoteWeighted defines a message to cast a vote. */ export interface MsgVoteWeightedSDKType { proposal_id: bigint; voter: string; options: WeightedVoteOptionSDKType[]; metadata: string; } /** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ export interface MsgVoteWeightedResponse { } export interface MsgVoteWeightedResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgVoteWeightedResponse'; value: Uint8Array; } /** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ export interface MsgVoteWeightedResponseSDKType { } /** MsgDeposit defines a message to submit a deposit to an existing proposal. */ export interface MsgDeposit { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** depositor defines the deposit addresses from the proposals. */ depositor: string; /** amount to be deposited by depositor. */ amount: Coin[]; } export interface MsgDepositProtoMsg { typeUrl: '/cosmos.gov.v1.MsgDeposit'; value: Uint8Array; } /** MsgDeposit defines a message to submit a deposit to an existing proposal. */ export interface MsgDepositSDKType { proposal_id: bigint; depositor: string; amount: CoinSDKType[]; } /** MsgDepositResponse defines the Msg/Deposit response type. */ export interface MsgDepositResponse { } export interface MsgDepositResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgDepositResponse'; value: Uint8Array; } /** MsgDepositResponse defines the Msg/Deposit response type. */ export interface MsgDepositResponseSDKType { } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParams { /** authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/gov parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: '/cosmos.gov.v1.MsgUpdateParams'; value: Uint8Array; } /** * MsgUpdateParams is the Msg/UpdateParams request type. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsSDKType { authority: string; params: ParamsSDKType; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgUpdateParamsResponse'; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: cosmos-sdk 0.47 */ export interface MsgUpdateParamsResponseSDKType { } /** * MsgCancelProposal is the Msg/CancelProposal request type. * * Since: cosmos-sdk 0.50 */ export interface MsgCancelProposal { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** proposer is the account address of the proposer. */ proposer: string; } export interface MsgCancelProposalProtoMsg { typeUrl: '/cosmos.gov.v1.MsgCancelProposal'; value: Uint8Array; } /** * MsgCancelProposal is the Msg/CancelProposal request type. * * Since: cosmos-sdk 0.50 */ export interface MsgCancelProposalSDKType { proposal_id: bigint; proposer: string; } /** * MsgCancelProposalResponse defines the response structure for executing a * MsgCancelProposal message. * * Since: cosmos-sdk 0.50 */ export interface MsgCancelProposalResponse { /** proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** canceled_time is the time when proposal is canceled. */ canceledTime: Timestamp; /** canceled_height defines the block height at which the proposal is canceled. */ canceledHeight: bigint; } export interface MsgCancelProposalResponseProtoMsg { typeUrl: '/cosmos.gov.v1.MsgCancelProposalResponse'; value: Uint8Array; } /** * MsgCancelProposalResponse defines the response structure for executing a * MsgCancelProposal message. * * Since: cosmos-sdk 0.50 */ export interface MsgCancelProposalResponseSDKType { proposal_id: bigint; canceled_time: TimestampSDKType; canceled_height: bigint; } export declare const MsgSubmitProposal: { typeUrl: "/cosmos.gov.v1.MsgSubmitProposal"; encode(message: MsgSubmitProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposal; fromJSON(object: any): MsgSubmitProposal; toJSON(message: MsgSubmitProposal): JsonSafe; fromPartial(object: Partial): MsgSubmitProposal; fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; toProto(message: MsgSubmitProposal): Uint8Array; toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; }; export declare const MsgSubmitProposalResponse: { typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse"; encode(message: MsgSubmitProposalResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposalResponse; fromJSON(object: any): MsgSubmitProposalResponse; toJSON(message: MsgSubmitProposalResponse): JsonSafe; fromPartial(object: Partial): MsgSubmitProposalResponse; fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; toProto(message: MsgSubmitProposalResponse): Uint8Array; toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; }; export declare const MsgExecLegacyContent: { typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent"; encode(message: MsgExecLegacyContent, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgExecLegacyContent; fromJSON(object: any): MsgExecLegacyContent; toJSON(message: MsgExecLegacyContent): JsonSafe; fromPartial(object: Partial): MsgExecLegacyContent; fromProtoMsg(message: MsgExecLegacyContentProtoMsg): MsgExecLegacyContent; toProto(message: MsgExecLegacyContent): Uint8Array; toProtoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentProtoMsg; }; export declare const MsgExecLegacyContentResponse: { typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse"; encode(_: MsgExecLegacyContentResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgExecLegacyContentResponse; fromJSON(_: any): MsgExecLegacyContentResponse; toJSON(_: MsgExecLegacyContentResponse): JsonSafe; fromPartial(_: Partial): MsgExecLegacyContentResponse; fromProtoMsg(message: MsgExecLegacyContentResponseProtoMsg): MsgExecLegacyContentResponse; toProto(message: MsgExecLegacyContentResponse): Uint8Array; toProtoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseProtoMsg; }; export declare const MsgVote: { typeUrl: "/cosmos.gov.v1.MsgVote"; encode(message: MsgVote, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVote; fromJSON(object: any): MsgVote; toJSON(message: MsgVote): JsonSafe; fromPartial(object: Partial): MsgVote; fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; toProto(message: MsgVote): Uint8Array; toProtoMsg(message: MsgVote): MsgVoteProtoMsg; }; export declare const MsgVoteResponse: { typeUrl: "/cosmos.gov.v1.MsgVoteResponse"; encode(_: MsgVoteResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse; fromJSON(_: any): MsgVoteResponse; toJSON(_: MsgVoteResponse): JsonSafe; fromPartial(_: Partial): MsgVoteResponse; fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; toProto(message: MsgVoteResponse): Uint8Array; toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; }; export declare const MsgVoteWeighted: { typeUrl: "/cosmos.gov.v1.MsgVoteWeighted"; encode(message: MsgVoteWeighted, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeighted; fromJSON(object: any): MsgVoteWeighted; toJSON(message: MsgVoteWeighted): JsonSafe; fromPartial(object: Partial): MsgVoteWeighted; fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; toProto(message: MsgVoteWeighted): Uint8Array; toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; }; export declare const MsgVoteWeightedResponse: { typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse"; encode(_: MsgVoteWeightedResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeightedResponse; fromJSON(_: any): MsgVoteWeightedResponse; toJSON(_: MsgVoteWeightedResponse): JsonSafe; fromPartial(_: Partial): MsgVoteWeightedResponse; fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; toProto(message: MsgVoteWeightedResponse): Uint8Array; toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; }; export declare const MsgDeposit: { typeUrl: "/cosmos.gov.v1.MsgDeposit"; encode(message: MsgDeposit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgDeposit; fromJSON(object: any): MsgDeposit; toJSON(message: MsgDeposit): JsonSafe; fromPartial(object: Partial): MsgDeposit; fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; toProto(message: MsgDeposit): Uint8Array; toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; }; export declare const MsgDepositResponse: { typeUrl: "/cosmos.gov.v1.MsgDepositResponse"; encode(_: MsgDepositResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgDepositResponse; fromJSON(_: any): MsgDepositResponse; toJSON(_: MsgDepositResponse): JsonSafe; fromPartial(_: Partial): MsgDepositResponse; fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; toProto(message: MsgDepositResponse): Uint8Array; toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: "/cosmos.gov.v1.MsgUpdateParams"; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: "/cosmos.gov.v1.MsgUpdateParamsResponse"; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; }; export declare const MsgCancelProposal: { typeUrl: "/cosmos.gov.v1.MsgCancelProposal"; encode(message: MsgCancelProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelProposal; fromJSON(object: any): MsgCancelProposal; toJSON(message: MsgCancelProposal): JsonSafe; fromPartial(object: Partial): MsgCancelProposal; fromProtoMsg(message: MsgCancelProposalProtoMsg): MsgCancelProposal; toProto(message: MsgCancelProposal): Uint8Array; toProtoMsg(message: MsgCancelProposal): MsgCancelProposalProtoMsg; }; export declare const MsgCancelProposalResponse: { typeUrl: "/cosmos.gov.v1.MsgCancelProposalResponse"; encode(message: MsgCancelProposalResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelProposalResponse; fromJSON(object: any): MsgCancelProposalResponse; toJSON(message: MsgCancelProposalResponse): JsonSafe; fromPartial(object: Partial): MsgCancelProposalResponse; fromProtoMsg(message: MsgCancelProposalResponseProtoMsg): MsgCancelProposalResponse; toProto(message: MsgCancelProposalResponse): Uint8Array; toProtoMsg(message: MsgCancelProposalResponse): MsgCancelProposalResponseProtoMsg; }; export declare const Cosmos_govv1beta1Content_InterfaceDecoder: (input: BinaryReader | Uint8Array) => CoreEvalProposal | CommunityPoolSpendProposal | CommunityPoolSpendProposalWithDeposit | TextProposal | ParameterChangeProposal | SoftwareUpgradeProposal | CancelSoftwareUpgradeProposal | ClientUpdateProposal | UpgradeProposal | Any; //# sourceMappingURL=tx.d.ts.map