import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "./gov"; import { CommunityPoolSpendProposal, CommunityPoolSpendProposalProtoMsg, CommunityPoolSpendProposalSDKType, CommunityPoolSpendProposalWithDeposit, CommunityPoolSpendProposalWithDepositProtoMsg, CommunityPoolSpendProposalWithDepositSDKType } from "../../distribution/v1beta1/distribution"; import { SoftwareUpgradeProposal, SoftwareUpgradeProposalProtoMsg, SoftwareUpgradeProposalSDKType, CancelSoftwareUpgradeProposal, CancelSoftwareUpgradeProposalProtoMsg, CancelSoftwareUpgradeProposalSDKType } from "../../upgrade/v1beta1/upgrade"; import { StoreCodeProposal, StoreCodeProposalProtoMsg, StoreCodeProposalSDKType, InstantiateContractProposal, InstantiateContractProposalProtoMsg, InstantiateContractProposalSDKType, InstantiateContract2Proposal, InstantiateContract2ProposalProtoMsg, InstantiateContract2ProposalSDKType, MigrateContractProposal, MigrateContractProposalProtoMsg, MigrateContractProposalSDKType, SudoContractProposal, SudoContractProposalProtoMsg, SudoContractProposalSDKType, ExecuteContractProposal, ExecuteContractProposalProtoMsg, ExecuteContractProposalSDKType, UpdateAdminProposal, UpdateAdminProposalProtoMsg, UpdateAdminProposalSDKType, ClearAdminProposal, ClearAdminProposalProtoMsg, ClearAdminProposalSDKType, PinCodesProposal, PinCodesProposalProtoMsg, PinCodesProposalSDKType, UnpinCodesProposal, UnpinCodesProposalProtoMsg, UnpinCodesProposalSDKType, UpdateInstantiateConfigProposal, UpdateInstantiateConfigProposalProtoMsg, UpdateInstantiateConfigProposalSDKType, StoreAndInstantiateContractProposal, StoreAndInstantiateContractProposalProtoMsg, StoreAndInstantiateContractProposalSDKType } from "../../../cosmwasm/wasm/v1/proposal"; import { ClientUpdateProposal, ClientUpdateProposalProtoMsg, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalProtoMsg, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposal { content?: CommunityPoolSpendProposal | CommunityPoolSpendProposalWithDeposit | TextProposal | SoftwareUpgradeProposal | CancelSoftwareUpgradeProposal | StoreCodeProposal | InstantiateContractProposal | InstantiateContract2Proposal | MigrateContractProposal | SudoContractProposal | ExecuteContractProposal | UpdateAdminProposal | ClearAdminProposal | PinCodesProposal | UnpinCodesProposal | UpdateInstantiateConfigProposal | StoreAndInstantiateContractProposal | ClientUpdateProposal | UpgradeProposal | Any | undefined; initialDeposit: Coin[]; proposer: string; } export interface MsgSubmitProposalProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal"; value: Uint8Array; } export type MsgSubmitProposalEncoded = Omit & { content?: CommunityPoolSpendProposalProtoMsg | CommunityPoolSpendProposalWithDepositProtoMsg | TextProposalProtoMsg | SoftwareUpgradeProposalProtoMsg | CancelSoftwareUpgradeProposalProtoMsg | StoreCodeProposalProtoMsg | InstantiateContractProposalProtoMsg | InstantiateContract2ProposalProtoMsg | MigrateContractProposalProtoMsg | SudoContractProposalProtoMsg | ExecuteContractProposalProtoMsg | UpdateAdminProposalProtoMsg | ClearAdminProposalProtoMsg | PinCodesProposalProtoMsg | UnpinCodesProposalProtoMsg | UpdateInstantiateConfigProposalProtoMsg | StoreAndInstantiateContractProposalProtoMsg | ClientUpdateProposalProtoMsg | UpgradeProposalProtoMsg | AnyProtoMsg | undefined; }; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. * @name MsgSubmitProposalAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgSubmitProposal */ export interface MsgSubmitProposalAmino { content?: AnyAmino; initial_deposit?: CoinAmino[]; proposer?: string; } export interface MsgSubmitProposalAminoMsg { type: "cosmos-sdk/MsgSubmitProposal"; value: MsgSubmitProposalAmino; } /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposalSDKType { content?: CommunityPoolSpendProposalSDKType | CommunityPoolSpendProposalWithDepositSDKType | TextProposalSDKType | SoftwareUpgradeProposalSDKType | CancelSoftwareUpgradeProposalSDKType | StoreCodeProposalSDKType | InstantiateContractProposalSDKType | InstantiateContract2ProposalSDKType | MigrateContractProposalSDKType | SudoContractProposalSDKType | ExecuteContractProposalSDKType | UpdateAdminProposalSDKType | ClearAdminProposalSDKType | PinCodesProposalSDKType | UnpinCodesProposalSDKType | UpdateInstantiateConfigProposalSDKType | StoreAndInstantiateContractProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType | undefined; initial_deposit: CoinSDKType[]; proposer: string; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ export interface MsgSubmitProposalResponse { proposalId: bigint; } export interface MsgSubmitProposalResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse"; value: Uint8Array; } /** * MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. * @name MsgSubmitProposalResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgSubmitProposalResponse */ export interface MsgSubmitProposalResponseAmino { proposal_id: string; } export interface MsgSubmitProposalResponseAminoMsg { type: "cosmos-sdk/MsgSubmitProposalResponse"; value: MsgSubmitProposalResponseAmino; } /** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ export interface MsgSubmitProposalResponseSDKType { proposal_id: bigint; } /** MsgVote defines a message to cast a vote. */ export interface MsgVote { proposalId: bigint; voter: string; option: VoteOption; } export interface MsgVoteProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgVote"; value: Uint8Array; } /** * MsgVote defines a message to cast a vote. * @name MsgVoteAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgVote */ export interface MsgVoteAmino { proposal_id?: string; voter?: string; option?: VoteOption; } export interface MsgVoteAminoMsg { type: "cosmos-sdk/MsgVote"; value: MsgVoteAmino; } /** MsgVote defines a message to cast a vote. */ export interface MsgVoteSDKType { proposal_id: bigint; voter: string; option: VoteOption; } /** MsgVoteResponse defines the Msg/Vote response type. */ export interface MsgVoteResponse { } export interface MsgVoteResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse"; value: Uint8Array; } /** * MsgVoteResponse defines the Msg/Vote response type. * @name MsgVoteResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgVoteResponse */ export interface MsgVoteResponseAmino { } export interface MsgVoteResponseAminoMsg { type: "cosmos-sdk/MsgVoteResponse"; value: MsgVoteResponseAmino; } /** MsgVoteResponse defines the Msg/Vote response type. */ export interface MsgVoteResponseSDKType { } /** * MsgVoteWeighted defines a message to cast a vote. * * Since: cosmos-sdk 0.43 */ export interface MsgVoteWeighted { proposalId: bigint; voter: string; options: WeightedVoteOption[]; } export interface MsgVoteWeightedProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted"; value: Uint8Array; } /** * MsgVoteWeighted defines a message to cast a vote. * * Since: cosmos-sdk 0.43 * @name MsgVoteWeightedAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgVoteWeighted */ export interface MsgVoteWeightedAmino { proposal_id: string; voter?: string; options?: WeightedVoteOptionAmino[]; } export interface MsgVoteWeightedAminoMsg { type: "cosmos-sdk/MsgVoteWeighted"; value: MsgVoteWeightedAmino; } /** * MsgVoteWeighted defines a message to cast a vote. * * Since: cosmos-sdk 0.43 */ export interface MsgVoteWeightedSDKType { proposal_id: bigint; voter: string; options: WeightedVoteOptionSDKType[]; } /** * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. * * Since: cosmos-sdk 0.43 */ export interface MsgVoteWeightedResponse { } export interface MsgVoteWeightedResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse"; value: Uint8Array; } /** * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. * * Since: cosmos-sdk 0.43 * @name MsgVoteWeightedResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgVoteWeightedResponse */ export interface MsgVoteWeightedResponseAmino { } export interface MsgVoteWeightedResponseAminoMsg { type: "cosmos-sdk/MsgVoteWeightedResponse"; value: MsgVoteWeightedResponseAmino; } /** * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. * * Since: cosmos-sdk 0.43 */ export interface MsgVoteWeightedResponseSDKType { } /** MsgDeposit defines a message to submit a deposit to an existing proposal. */ export interface MsgDeposit { proposalId: bigint; depositor: string; amount: Coin[]; } export interface MsgDepositProtoMsg { typeUrl: "/cosmos.gov.v1beta1.MsgDeposit"; value: Uint8Array; } /** * MsgDeposit defines a message to submit a deposit to an existing proposal. * @name MsgDepositAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgDeposit */ export interface MsgDepositAmino { proposal_id: string; depositor?: string; amount?: CoinAmino[]; } export interface MsgDepositAminoMsg { type: "cosmos-sdk/MsgDeposit"; value: MsgDepositAmino; } /** 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.v1beta1.MsgDepositResponse"; value: Uint8Array; } /** * MsgDepositResponse defines the Msg/Deposit response type. * @name MsgDepositResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.MsgDepositResponse */ export interface MsgDepositResponseAmino { } export interface MsgDepositResponseAminoMsg { type: "cosmos-sdk/MsgDepositResponse"; value: MsgDepositResponseAmino; } /** MsgDepositResponse defines the Msg/Deposit response type. */ export interface MsgDepositResponseSDKType { } export declare const MsgSubmitProposal: { typeUrl: string; aminoType: string; is(o: any): o is MsgSubmitProposal; isSDK(o: any): o is MsgSubmitProposalSDKType; isAmino(o: any): o is MsgSubmitProposalAmino; 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; fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; toProto(message: MsgSubmitProposal): Uint8Array; toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; }; export declare const MsgSubmitProposalResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgSubmitProposalResponse; isSDK(o: any): o is MsgSubmitProposalResponseSDKType; isAmino(o: any): o is MsgSubmitProposalResponseAmino; 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; fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; toProto(message: MsgSubmitProposalResponse): Uint8Array; toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; }; export declare const MsgVote: { typeUrl: string; aminoType: string; is(o: any): o is MsgVote; isSDK(o: any): o is MsgVoteSDKType; isAmino(o: any): o is MsgVoteAmino; 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; fromAmino(object: MsgVoteAmino): MsgVote; toAmino(message: MsgVote): MsgVoteAmino; fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; toAminoMsg(message: MsgVote): MsgVoteAminoMsg; fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; toProto(message: MsgVote): Uint8Array; toProtoMsg(message: MsgVote): MsgVoteProtoMsg; }; export declare const MsgVoteResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgVoteResponse; isSDK(o: any): o is MsgVoteResponseSDKType; isAmino(o: any): o is MsgVoteResponseAmino; encode(_: MsgVoteResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse; fromJSON(_: any): MsgVoteResponse; toJSON(_: MsgVoteResponse): JsonSafe; fromPartial(_: Partial): MsgVoteResponse; fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; toProto(message: MsgVoteResponse): Uint8Array; toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; }; export declare const MsgVoteWeighted: { typeUrl: string; aminoType: string; is(o: any): o is MsgVoteWeighted; isSDK(o: any): o is MsgVoteWeightedSDKType; isAmino(o: any): o is MsgVoteWeightedAmino; 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; fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted; toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino; fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted; toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg; fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; toProto(message: MsgVoteWeighted): Uint8Array; toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; }; export declare const MsgVoteWeightedResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgVoteWeightedResponse; isSDK(o: any): o is MsgVoteWeightedResponseSDKType; isAmino(o: any): o is MsgVoteWeightedResponseAmino; encode(_: MsgVoteWeightedResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeightedResponse; fromJSON(_: any): MsgVoteWeightedResponse; toJSON(_: MsgVoteWeightedResponse): JsonSafe; fromPartial(_: Partial): MsgVoteWeightedResponse; fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse; toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino; fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse; toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg; fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; toProto(message: MsgVoteWeightedResponse): Uint8Array; toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; }; export declare const MsgDeposit: { typeUrl: string; aminoType: string; is(o: any): o is MsgDeposit; isSDK(o: any): o is MsgDepositSDKType; isAmino(o: any): o is MsgDepositAmino; 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; fromAmino(object: MsgDepositAmino): MsgDeposit; toAmino(message: MsgDeposit): MsgDepositAmino; fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit; toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg; fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; toProto(message: MsgDeposit): Uint8Array; toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; }; export declare const MsgDepositResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgDepositResponse; isSDK(o: any): o is MsgDepositResponseSDKType; isAmino(o: any): o is MsgDepositResponseAmino; encode(_: MsgDepositResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgDepositResponse; fromJSON(_: any): MsgDepositResponse; toJSON(_: MsgDepositResponse): JsonSafe; fromPartial(_: Partial): MsgDepositResponse; fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse; toAmino(_: MsgDepositResponse): MsgDepositResponseAmino; fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse; toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg; fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; toProto(message: MsgDepositResponse): Uint8Array; toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; };