import { ProposalExecutorResult, ProposalStatus, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroup { /** group_id is the unique ID of the group. */ groupId: bigint; } export interface EventCreateGroupProtoMsg { typeUrl: "/cosmos.group.v1.EventCreateGroup"; value: Uint8Array; } /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroupAmino { /** group_id is the unique ID of the group. */ group_id?: string; } export interface EventCreateGroupAminoMsg { type: "cosmos-sdk/EventCreateGroup"; value: EventCreateGroupAmino; } /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroupSDKType { group_id: bigint; } /** EventUpdateGroup is an event emitted when a group is updated. */ export interface EventUpdateGroup { /** group_id is the unique ID of the group. */ groupId: bigint; } export interface EventUpdateGroupProtoMsg { typeUrl: "/cosmos.group.v1.EventUpdateGroup"; value: Uint8Array; } /** EventUpdateGroup is an event emitted when a group is updated. */ export interface EventUpdateGroupAmino { /** group_id is the unique ID of the group. */ group_id?: string; } export interface EventUpdateGroupAminoMsg { type: "cosmos-sdk/EventUpdateGroup"; value: EventUpdateGroupAmino; } /** EventUpdateGroup is an event emitted when a group is updated. */ export interface EventUpdateGroupSDKType { group_id: bigint; } /** EventCreateGroupPolicy is an event emitted when a group policy is created. */ export interface EventCreateGroupPolicy { /** address is the account address of the group policy. */ address: string; } export interface EventCreateGroupPolicyProtoMsg { typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy"; value: Uint8Array; } /** EventCreateGroupPolicy is an event emitted when a group policy is created. */ export interface EventCreateGroupPolicyAmino { /** address is the account address of the group policy. */ address?: string; } export interface EventCreateGroupPolicyAminoMsg { type: "cosmos-sdk/EventCreateGroupPolicy"; value: EventCreateGroupPolicyAmino; } /** EventCreateGroupPolicy is an event emitted when a group policy is created. */ export interface EventCreateGroupPolicySDKType { address: string; } /** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ export interface EventUpdateGroupPolicy { /** address is the account address of the group policy. */ address: string; } export interface EventUpdateGroupPolicyProtoMsg { typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy"; value: Uint8Array; } /** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ export interface EventUpdateGroupPolicyAmino { /** address is the account address of the group policy. */ address?: string; } export interface EventUpdateGroupPolicyAminoMsg { type: "cosmos-sdk/EventUpdateGroupPolicy"; value: EventUpdateGroupPolicyAmino; } /** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ export interface EventUpdateGroupPolicySDKType { address: string; } /** EventSubmitProposal is an event emitted when a proposal is created. */ export interface EventSubmitProposal { /** proposal_id is the unique ID of the proposal. */ proposalId: bigint; } export interface EventSubmitProposalProtoMsg { typeUrl: "/cosmos.group.v1.EventSubmitProposal"; value: Uint8Array; } /** EventSubmitProposal is an event emitted when a proposal is created. */ export interface EventSubmitProposalAmino { /** proposal_id is the unique ID of the proposal. */ proposal_id?: string; } export interface EventSubmitProposalAminoMsg { type: "cosmos-sdk/EventSubmitProposal"; value: EventSubmitProposalAmino; } /** EventSubmitProposal is an event emitted when a proposal is created. */ export interface EventSubmitProposalSDKType { proposal_id: bigint; } /** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ export interface EventWithdrawProposal { /** proposal_id is the unique ID of the proposal. */ proposalId: bigint; } export interface EventWithdrawProposalProtoMsg { typeUrl: "/cosmos.group.v1.EventWithdrawProposal"; value: Uint8Array; } /** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ export interface EventWithdrawProposalAmino { /** proposal_id is the unique ID of the proposal. */ proposal_id?: string; } export interface EventWithdrawProposalAminoMsg { type: "cosmos-sdk/EventWithdrawProposal"; value: EventWithdrawProposalAmino; } /** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ export interface EventWithdrawProposalSDKType { proposal_id: bigint; } /** EventVote is an event emitted when a voter votes on a proposal. */ export interface EventVote { /** proposal_id is the unique ID of the proposal. */ proposalId: bigint; } export interface EventVoteProtoMsg { typeUrl: "/cosmos.group.v1.EventVote"; value: Uint8Array; } /** EventVote is an event emitted when a voter votes on a proposal. */ export interface EventVoteAmino { /** proposal_id is the unique ID of the proposal. */ proposal_id?: string; } export interface EventVoteAminoMsg { type: "cosmos-sdk/EventVote"; value: EventVoteAmino; } /** EventVote is an event emitted when a voter votes on a proposal. */ export interface EventVoteSDKType { proposal_id: bigint; } /** EventExec is an event emitted when a proposal is executed. */ export interface EventExec { /** proposal_id is the unique ID of the proposal. */ proposalId: bigint; /** result is the proposal execution result. */ result: ProposalExecutorResult; /** logs contains error logs in case the execution result is FAILURE. */ logs: string; } export interface EventExecProtoMsg { typeUrl: "/cosmos.group.v1.EventExec"; value: Uint8Array; } /** EventExec is an event emitted when a proposal is executed. */ export interface EventExecAmino { /** proposal_id is the unique ID of the proposal. */ proposal_id?: string; /** result is the proposal execution result. */ result?: ProposalExecutorResult; /** logs contains error logs in case the execution result is FAILURE. */ logs?: string; } export interface EventExecAminoMsg { type: "cosmos-sdk/EventExec"; value: EventExecAmino; } /** EventExec is an event emitted when a proposal is executed. */ export interface EventExecSDKType { proposal_id: bigint; result: ProposalExecutorResult; logs: string; } /** EventLeaveGroup is an event emitted when group member leaves the group. */ export interface EventLeaveGroup { /** group_id is the unique ID of the group. */ groupId: bigint; /** address is the account address of the group member. */ address: string; } export interface EventLeaveGroupProtoMsg { typeUrl: "/cosmos.group.v1.EventLeaveGroup"; value: Uint8Array; } /** EventLeaveGroup is an event emitted when group member leaves the group. */ export interface EventLeaveGroupAmino { /** group_id is the unique ID of the group. */ group_id?: string; /** address is the account address of the group member. */ address?: string; } export interface EventLeaveGroupAminoMsg { type: "cosmos-sdk/EventLeaveGroup"; value: EventLeaveGroupAmino; } /** EventLeaveGroup is an event emitted when group member leaves the group. */ export interface EventLeaveGroupSDKType { group_id: bigint; address: string; } /** EventProposalPruned is an event emitted when a proposal is pruned. */ export interface EventProposalPruned { /** proposal_id is the unique ID of the proposal. */ proposalId: bigint; /** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */ status: ProposalStatus; /** tally_result is the proposal tally result (when applicable). */ tallyResult?: TallyResult; } export interface EventProposalPrunedProtoMsg { typeUrl: "/cosmos.group.v1.EventProposalPruned"; value: Uint8Array; } /** EventProposalPruned is an event emitted when a proposal is pruned. */ export interface EventProposalPrunedAmino { /** proposal_id is the unique ID of the proposal. */ proposal_id?: string; /** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */ status?: ProposalStatus; /** tally_result is the proposal tally result (when applicable). */ tally_result?: TallyResultAmino; } export interface EventProposalPrunedAminoMsg { type: "cosmos-sdk/EventProposalPruned"; value: EventProposalPrunedAmino; } /** EventProposalPruned is an event emitted when a proposal is pruned. */ export interface EventProposalPrunedSDKType { proposal_id: bigint; status: ProposalStatus; tally_result?: TallyResultSDKType; } export declare const EventCreateGroup: { typeUrl: string; aminoType: string; encode(message: EventCreateGroup, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroup; fromPartial(object: DeepPartial): EventCreateGroup; fromAmino(object: EventCreateGroupAmino): EventCreateGroup; toAmino(message: EventCreateGroup): EventCreateGroupAmino; fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup; toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg; fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup; toProto(message: EventCreateGroup): Uint8Array; toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg; }; export declare const EventUpdateGroup: { typeUrl: string; aminoType: string; encode(message: EventUpdateGroup, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroup; fromPartial(object: DeepPartial): EventUpdateGroup; fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup; toAmino(message: EventUpdateGroup): EventUpdateGroupAmino; fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup; toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg; fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup; toProto(message: EventUpdateGroup): Uint8Array; toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg; }; export declare const EventCreateGroupPolicy: { typeUrl: string; aminoType: string; encode(message: EventCreateGroupPolicy, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroupPolicy; fromPartial(object: DeepPartial): EventCreateGroupPolicy; fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy; toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino; fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy; toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg; fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy; toProto(message: EventCreateGroupPolicy): Uint8Array; toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg; }; export declare const EventUpdateGroupPolicy: { typeUrl: string; aminoType: string; encode(message: EventUpdateGroupPolicy, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroupPolicy; fromPartial(object: DeepPartial): EventUpdateGroupPolicy; fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy; toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino; fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy; toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg; fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy; toProto(message: EventUpdateGroupPolicy): Uint8Array; toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg; }; export declare const EventSubmitProposal: { typeUrl: string; aminoType: string; encode(message: EventSubmitProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventSubmitProposal; fromPartial(object: DeepPartial): EventSubmitProposal; fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal; toAmino(message: EventSubmitProposal): EventSubmitProposalAmino; fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal; toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg; fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal; toProto(message: EventSubmitProposal): Uint8Array; toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg; }; export declare const EventWithdrawProposal: { typeUrl: string; aminoType: string; encode(message: EventWithdrawProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventWithdrawProposal; fromPartial(object: DeepPartial): EventWithdrawProposal; fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal; toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino; fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal; toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg; fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal; toProto(message: EventWithdrawProposal): Uint8Array; toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg; }; export declare const EventVote: { typeUrl: string; aminoType: string; encode(message: EventVote, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventVote; fromPartial(object: DeepPartial): EventVote; fromAmino(object: EventVoteAmino): EventVote; toAmino(message: EventVote): EventVoteAmino; fromAminoMsg(object: EventVoteAminoMsg): EventVote; toAminoMsg(message: EventVote): EventVoteAminoMsg; fromProtoMsg(message: EventVoteProtoMsg): EventVote; toProto(message: EventVote): Uint8Array; toProtoMsg(message: EventVote): EventVoteProtoMsg; }; export declare const EventExec: { typeUrl: string; aminoType: string; encode(message: EventExec, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventExec; fromPartial(object: DeepPartial): EventExec; fromAmino(object: EventExecAmino): EventExec; toAmino(message: EventExec): EventExecAmino; fromAminoMsg(object: EventExecAminoMsg): EventExec; toAminoMsg(message: EventExec): EventExecAminoMsg; fromProtoMsg(message: EventExecProtoMsg): EventExec; toProto(message: EventExec): Uint8Array; toProtoMsg(message: EventExec): EventExecProtoMsg; }; export declare const EventLeaveGroup: { typeUrl: string; aminoType: string; encode(message: EventLeaveGroup, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventLeaveGroup; fromPartial(object: DeepPartial): EventLeaveGroup; fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup; toAmino(message: EventLeaveGroup): EventLeaveGroupAmino; fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup; toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg; fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup; toProto(message: EventLeaveGroup): Uint8Array; toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg; }; export declare const EventProposalPruned: { typeUrl: string; aminoType: string; encode(message: EventProposalPruned, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EventProposalPruned; fromPartial(object: DeepPartial): EventProposalPruned; fromAmino(object: EventProposalPrunedAmino): EventProposalPruned; toAmino(message: EventProposalPruned): EventProposalPrunedAmino; fromAminoMsg(object: EventProposalPrunedAminoMsg): EventProposalPruned; toAminoMsg(message: EventProposalPruned): EventProposalPrunedAminoMsg; fromProtoMsg(message: EventProposalPrunedProtoMsg): EventProposalPruned; toProto(message: EventProposalPruned): Uint8Array; toProtoMsg(message: EventProposalPruned): EventProposalPrunedProtoMsg; };