interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,432 lines • 70.3 kB
TypeScript
import { MemberRequest, MemberRequestAmino, VoteOption, ProposalExecutorResult, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg } from "./types";
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/** Exec defines modes of execution of a proposal on creation or on new vote. */
export declare enum Exec {
/**
* EXEC_UNSPECIFIED - An empty value means that there should be a separate
* MsgExec request for the proposal to execute.
*/
EXEC_UNSPECIFIED = 0,
/**
* EXEC_TRY - Try to execute the proposal immediately.
* If the proposal is not allowed per the DecisionPolicy,
* the proposal will still be open and could
* be executed at a later point.
*/
EXEC_TRY = 1,
UNRECOGNIZED = -1
}
export declare const ExecAmino: typeof Exec;
export declare function execFromJSON(object: any): Exec;
export declare function execToJSON(object: Exec): string;
/**
* MsgCreateGroup is the Msg/CreateGroup request type.
* @name MsgCreateGroup
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroup
*/
export interface MsgCreateGroup {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* members defines the group members.
*/
members: MemberRequest[];
/**
* metadata is any arbitrary metadata to attached to the group.
*/
metadata: string;
}
export interface MsgCreateGroupProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroup";
value: Uint8Array;
}
/**
* MsgCreateGroup is the Msg/CreateGroup request type.
* @name MsgCreateGroupAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroup
*/
export interface MsgCreateGroupAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* members defines the group members.
*/
members: MemberRequestAmino[];
/**
* metadata is any arbitrary metadata to attached to the group.
*/
metadata: string;
}
export interface MsgCreateGroupAminoMsg {
type: "cosmos-sdk/MsgCreateGroup";
value: MsgCreateGroupAmino;
}
/**
* MsgCreateGroupResponse is the Msg/CreateGroup response type.
* @name MsgCreateGroupResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupResponse
*/
export interface MsgCreateGroupResponse {
/**
* group_id is the unique ID of the newly created group.
*/
groupId: bigint;
}
export interface MsgCreateGroupResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse";
value: Uint8Array;
}
/**
* MsgCreateGroupResponse is the Msg/CreateGroup response type.
* @name MsgCreateGroupResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupResponse
*/
export interface MsgCreateGroupResponseAmino {
/**
* group_id is the unique ID of the newly created group.
*/
group_id: string;
}
export interface MsgCreateGroupResponseAminoMsg {
type: "cosmos-sdk/MsgCreateGroupResponse";
value: MsgCreateGroupResponseAmino;
}
/**
* MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
* @name MsgUpdateGroupMembers
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembers
*/
export interface MsgUpdateGroupMembers {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
groupId: bigint;
/**
* member_updates is the list of members to update,
* set weight to 0 to remove a member.
*/
memberUpdates: MemberRequest[];
}
export interface MsgUpdateGroupMembersProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers";
value: Uint8Array;
}
/**
* MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
* @name MsgUpdateGroupMembersAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembers
*/
export interface MsgUpdateGroupMembersAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
group_id: string;
/**
* member_updates is the list of members to update,
* set weight to 0 to remove a member.
*/
member_updates: MemberRequestAmino[];
}
export interface MsgUpdateGroupMembersAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupMembers";
value: MsgUpdateGroupMembersAmino;
}
/**
* MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
* @name MsgUpdateGroupMembersResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembersResponse
*/
export interface MsgUpdateGroupMembersResponse {
}
export interface MsgUpdateGroupMembersResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
* @name MsgUpdateGroupMembersResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembersResponse
*/
export interface MsgUpdateGroupMembersResponseAmino {
}
export interface MsgUpdateGroupMembersResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupMembersResponse";
value: MsgUpdateGroupMembersResponseAmino;
}
/**
* MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
* @name MsgUpdateGroupAdmin
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdmin
*/
export interface MsgUpdateGroupAdmin {
/**
* admin is the current account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
groupId: bigint;
/**
* new_admin is the group new admin account address.
*/
newAdmin: string;
}
export interface MsgUpdateGroupAdminProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin";
value: Uint8Array;
}
/**
* MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
* @name MsgUpdateGroupAdminAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdmin
*/
export interface MsgUpdateGroupAdminAmino {
/**
* admin is the current account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
group_id: string;
/**
* new_admin is the group new admin account address.
*/
new_admin: string;
}
export interface MsgUpdateGroupAdminAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupAdmin";
value: MsgUpdateGroupAdminAmino;
}
/**
* MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
* @name MsgUpdateGroupAdminResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdminResponse
*/
export interface MsgUpdateGroupAdminResponse {
}
export interface MsgUpdateGroupAdminResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
* @name MsgUpdateGroupAdminResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdminResponse
*/
export interface MsgUpdateGroupAdminResponseAmino {
}
export interface MsgUpdateGroupAdminResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupAdminResponse";
value: MsgUpdateGroupAdminResponseAmino;
}
/**
* MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
* @name MsgUpdateGroupMetadata
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadata
*/
export interface MsgUpdateGroupMetadata {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
groupId: bigint;
/**
* metadata is the updated group's metadata.
*/
metadata: string;
}
export interface MsgUpdateGroupMetadataProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata";
value: Uint8Array;
}
/**
* MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
* @name MsgUpdateGroupMetadataAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadata
*/
export interface MsgUpdateGroupMetadataAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
group_id: string;
/**
* metadata is the updated group's metadata.
*/
metadata: string;
}
export interface MsgUpdateGroupMetadataAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupMetadata";
value: MsgUpdateGroupMetadataAmino;
}
/**
* MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
* @name MsgUpdateGroupMetadataResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadataResponse
*/
export interface MsgUpdateGroupMetadataResponse {
}
export interface MsgUpdateGroupMetadataResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
* @name MsgUpdateGroupMetadataResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadataResponse
*/
export interface MsgUpdateGroupMetadataResponseAmino {
}
export interface MsgUpdateGroupMetadataResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupMetadataResponse";
value: MsgUpdateGroupMetadataResponseAmino;
}
/**
* MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
* @name MsgCreateGroupPolicy
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicy
*/
export interface MsgCreateGroupPolicy {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
groupId: bigint;
/**
* metadata is any arbitrary metadata attached to the group policy.
*/
metadata: string;
/**
* decision_policy specifies the group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
}
export interface MsgCreateGroupPolicyProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy";
value: Uint8Array;
}
export type MsgCreateGroupPolicyEncoded = Omit<MsgCreateGroupPolicy, "decisionPolicy"> & {
/**
* decision_policy specifies the group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
};
/**
* MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
* @name MsgCreateGroupPolicyAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicy
*/
export interface MsgCreateGroupPolicyAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_id is the unique ID of the group.
*/
group_id: string;
/**
* metadata is any arbitrary metadata attached to the group policy.
*/
metadata: string;
/**
* decision_policy specifies the group policy's decision policy.
*/
decision_policy?: AnyAmino;
}
export interface MsgCreateGroupPolicyAminoMsg {
type: "cosmos-sdk/MsgCreateGroupPolicy";
value: MsgCreateGroupPolicyAmino;
}
/**
* MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
* @name MsgCreateGroupPolicyResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicyResponse
*/
export interface MsgCreateGroupPolicyResponse {
/**
* address is the account address of the newly created group policy.
*/
address: string;
}
export interface MsgCreateGroupPolicyResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse";
value: Uint8Array;
}
/**
* MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
* @name MsgCreateGroupPolicyResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicyResponse
*/
export interface MsgCreateGroupPolicyResponseAmino {
/**
* address is the account address of the newly created group policy.
*/
address: string;
}
export interface MsgCreateGroupPolicyResponseAminoMsg {
type: "cosmos-sdk/MsgCreateGroupPolicyResponse";
value: MsgCreateGroupPolicyResponseAmino;
}
/**
* MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
* @name MsgUpdateGroupPolicyAdmin
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdmin
*/
export interface MsgUpdateGroupPolicyAdmin {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of the group policy.
*/
groupPolicyAddress: string;
/**
* new_admin is the new group policy admin.
*/
newAdmin: string;
}
export interface MsgUpdateGroupPolicyAdminProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin";
value: Uint8Array;
}
/**
* MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
* @name MsgUpdateGroupPolicyAdminAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdmin
*/
export interface MsgUpdateGroupPolicyAdminAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of the group policy.
*/
group_policy_address: string;
/**
* new_admin is the new group policy admin.
*/
new_admin: string;
}
export interface MsgUpdateGroupPolicyAdminAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin";
value: MsgUpdateGroupPolicyAdminAmino;
}
/**
* MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
* @name MsgUpdateGroupPolicyAdminResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse
*/
export interface MsgUpdateGroupPolicyAdminResponse {
}
export interface MsgUpdateGroupPolicyAdminResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
* @name MsgUpdateGroupPolicyAdminResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse
*/
export interface MsgUpdateGroupPolicyAdminResponseAmino {
}
export interface MsgUpdateGroupPolicyAdminResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse";
value: MsgUpdateGroupPolicyAdminResponseAmino;
}
/**
* MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.
* @name MsgCreateGroupWithPolicy
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupWithPolicy
*/
export interface MsgCreateGroupWithPolicy {
/**
* admin is the account address of the group and group policy admin.
*/
admin: string;
/**
* members defines the group members.
*/
members: MemberRequest[];
/**
* group_metadata is any arbitrary metadata attached to the group.
*/
groupMetadata: string;
/**
* group_policy_metadata is any arbitrary metadata attached to the group policy.
*/
groupPolicyMetadata: string;
/**
* group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group
* and group policy admin.
*/
groupPolicyAsAdmin: boolean;
/**
* decision_policy specifies the group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
}
export interface MsgCreateGroupWithPolicyProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy";
value: Uint8Array;
}
export type MsgCreateGroupWithPolicyEncoded = Omit<MsgCreateGroupWithPolicy, "decisionPolicy"> & {
/**
* decision_policy specifies the group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
};
/**
* MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.
* @name MsgCreateGroupWithPolicyAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupWithPolicy
*/
export interface MsgCreateGroupWithPolicyAmino {
/**
* admin is the account address of the group and group policy admin.
*/
admin: string;
/**
* members defines the group members.
*/
members: MemberRequestAmino[];
/**
* group_metadata is any arbitrary metadata attached to the group.
*/
group_metadata: string;
/**
* group_policy_metadata is any arbitrary metadata attached to the group policy.
*/
group_policy_metadata: string;
/**
* group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group
* and group policy admin.
*/
group_policy_as_admin: boolean;
/**
* decision_policy specifies the group policy's decision policy.
*/
decision_policy?: AnyAmino;
}
export interface MsgCreateGroupWithPolicyAminoMsg {
type: "cosmos-sdk/MsgCreateGroupWithPolicy";
value: MsgCreateGroupWithPolicyAmino;
}
/**
* MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.
* @name MsgCreateGroupWithPolicyResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupWithPolicyResponse
*/
export interface MsgCreateGroupWithPolicyResponse {
/**
* group_id is the unique ID of the newly created group with policy.
*/
groupId: bigint;
/**
* group_policy_address is the account address of the newly created group policy.
*/
groupPolicyAddress: string;
}
export interface MsgCreateGroupWithPolicyResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse";
value: Uint8Array;
}
/**
* MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.
* @name MsgCreateGroupWithPolicyResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupWithPolicyResponse
*/
export interface MsgCreateGroupWithPolicyResponseAmino {
/**
* group_id is the unique ID of the newly created group with policy.
*/
group_id: string;
/**
* group_policy_address is the account address of the newly created group policy.
*/
group_policy_address: string;
}
export interface MsgCreateGroupWithPolicyResponseAminoMsg {
type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse";
value: MsgCreateGroupWithPolicyResponseAmino;
}
/**
* MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
* @name MsgUpdateGroupPolicyDecisionPolicy
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy
*/
export interface MsgUpdateGroupPolicyDecisionPolicy {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of group policy.
*/
groupPolicyAddress: string;
/**
* decision_policy is the updated group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
}
export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy";
value: Uint8Array;
}
export type MsgUpdateGroupPolicyDecisionPolicyEncoded = Omit<MsgUpdateGroupPolicyDecisionPolicy, "decisionPolicy"> & {
/**
* decision_policy is the updated group policy's decision policy.
*/
decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
};
/**
* MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
* @name MsgUpdateGroupPolicyDecisionPolicyAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy
*/
export interface MsgUpdateGroupPolicyDecisionPolicyAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of group policy.
*/
group_policy_address: string;
/**
* decision_policy is the updated group policy's decision policy.
*/
decision_policy?: AnyAmino;
}
export interface MsgUpdateGroupPolicyDecisionPolicyAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupDecisionPolicy";
value: MsgUpdateGroupPolicyDecisionPolicyAmino;
}
/**
* MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
* @name MsgUpdateGroupPolicyDecisionPolicyResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse
*/
export interface MsgUpdateGroupPolicyDecisionPolicyResponse {
}
export interface MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
* @name MsgUpdateGroupPolicyDecisionPolicyResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse
*/
export interface MsgUpdateGroupPolicyDecisionPolicyResponseAmino {
}
export interface MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse";
value: MsgUpdateGroupPolicyDecisionPolicyResponseAmino;
}
/**
* MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
* @name MsgUpdateGroupPolicyMetadata
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyMetadata
*/
export interface MsgUpdateGroupPolicyMetadata {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of group policy.
*/
groupPolicyAddress: string;
/**
* metadata is the group policy metadata to be updated.
*/
metadata: string;
}
export interface MsgUpdateGroupPolicyMetadataProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata";
value: Uint8Array;
}
/**
* MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
* @name MsgUpdateGroupPolicyMetadataAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyMetadata
*/
export interface MsgUpdateGroupPolicyMetadataAmino {
/**
* admin is the account address of the group admin.
*/
admin: string;
/**
* group_policy_address is the account address of group policy.
*/
group_policy_address: string;
/**
* metadata is the group policy metadata to be updated.
*/
metadata: string;
}
export interface MsgUpdateGroupPolicyMetadataAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata";
value: MsgUpdateGroupPolicyMetadataAmino;
}
/**
* MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
* @name MsgUpdateGroupPolicyMetadataResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse
*/
export interface MsgUpdateGroupPolicyMetadataResponse {
}
export interface MsgUpdateGroupPolicyMetadataResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse";
value: Uint8Array;
}
/**
* MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
* @name MsgUpdateGroupPolicyMetadataResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse
*/
export interface MsgUpdateGroupPolicyMetadataResponseAmino {
}
export interface MsgUpdateGroupPolicyMetadataResponseAminoMsg {
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse";
value: MsgUpdateGroupPolicyMetadataResponseAmino;
}
/**
* MsgSubmitProposal is the Msg/SubmitProposal request type.
* @name MsgSubmitProposal
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgSubmitProposal
*/
export interface MsgSubmitProposal {
/**
* group_policy_address is the account address of group policy.
*/
groupPolicyAddress: string;
/**
* proposers are the account addresses of the proposers.
* Proposers signatures will be counted as yes votes.
*/
proposers: string[];
/**
* metadata is any arbitrary metadata attached to the proposal.
*/
metadata: string;
/**
* messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
*/
messages: Any[];
/**
* exec defines the mode of execution of the proposal,
* whether it should be executed immediately on creation or not.
* If so, proposers signatures are considered as Yes votes.
*/
exec: Exec;
/**
* title is the title of the proposal.
*/
title: string;
/**
* summary is the summary of the proposal.
*/
summary: string;
}
export interface MsgSubmitProposalProtoMsg {
typeUrl: "/cosmos.group.v1.MsgSubmitProposal";
value: Uint8Array;
}
/**
* MsgSubmitProposal is the Msg/SubmitProposal request type.
* @name MsgSubmitProposalAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgSubmitProposal
*/
export interface MsgSubmitProposalAmino {
/**
* group_policy_address is the account address of group policy.
*/
group_policy_address: string;
/**
* proposers are the account addresses of the proposers.
* Proposers signatures will be counted as yes votes.
*/
proposers: string[];
/**
* metadata is any arbitrary metadata attached to the proposal.
*/
metadata: string;
/**
* messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
*/
messages: AnyAmino[];
/**
* exec defines the mode of execution of the proposal,
* whether it should be executed immediately on creation or not.
* If so, proposers signatures are considered as Yes votes.
*/
exec: Exec;
/**
* title is the title of the proposal.
*/
title: string;
/**
* summary is the summary of the proposal.
*/
summary: string;
}
export interface MsgSubmitProposalAminoMsg {
type: "cosmos-sdk/group/MsgSubmitProposal";
value: MsgSubmitProposalAmino;
}
/**
* MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
* @name MsgSubmitProposalResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgSubmitProposalResponse
*/
export interface MsgSubmitProposalResponse {
/**
* proposal is the unique ID of the proposal.
*/
proposalId: bigint;
}
export interface MsgSubmitProposalResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse";
value: Uint8Array;
}
/**
* MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
* @name MsgSubmitProposalResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgSubmitProposalResponse
*/
export interface MsgSubmitProposalResponseAmino {
/**
* proposal is the unique ID of the proposal.
*/
proposal_id: string;
}
export interface MsgSubmitProposalResponseAminoMsg {
type: "cosmos-sdk/MsgSubmitProposalResponse";
value: MsgSubmitProposalResponseAmino;
}
/**
* MsgWithdrawProposal is the Msg/WithdrawProposal request type.
* @name MsgWithdrawProposal
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgWithdrawProposal
*/
export interface MsgWithdrawProposal {
/**
* proposal is the unique ID of the proposal.
*/
proposalId: bigint;
/**
* address is the admin of the group policy or one of the proposer of the proposal.
*/
address: string;
}
export interface MsgWithdrawProposalProtoMsg {
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal";
value: Uint8Array;
}
/**
* MsgWithdrawProposal is the Msg/WithdrawProposal request type.
* @name MsgWithdrawProposalAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgWithdrawProposal
*/
export interface MsgWithdrawProposalAmino {
/**
* proposal is the unique ID of the proposal.
*/
proposal_id: string;
/**
* address is the admin of the group policy or one of the proposer of the proposal.
*/
address: string;
}
export interface MsgWithdrawProposalAminoMsg {
type: "cosmos-sdk/group/MsgWithdrawProposal";
value: MsgWithdrawProposalAmino;
}
/**
* MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
* @name MsgWithdrawProposalResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgWithdrawProposalResponse
*/
export interface MsgWithdrawProposalResponse {
}
export interface MsgWithdrawProposalResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse";
value: Uint8Array;
}
/**
* MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
* @name MsgWithdrawProposalResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgWithdrawProposalResponse
*/
export interface MsgWithdrawProposalResponseAmino {
}
export interface MsgWithdrawProposalResponseAminoMsg {
type: "cosmos-sdk/MsgWithdrawProposalResponse";
value: MsgWithdrawProposalResponseAmino;
}
/**
* MsgVote is the Msg/Vote request type.
* @name MsgVote
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgVote
*/
export interface MsgVote {
/**
* proposal is the unique ID of the proposal.
*/
proposalId: bigint;
/**
* voter is the voter account address.
*/
voter: string;
/**
* option is the voter's choice on the proposal.
*/
option: VoteOption;
/**
* metadata is any arbitrary metadata attached to the vote.
*/
metadata: string;
/**
* exec defines whether the proposal should be executed
* immediately after voting or not.
*/
exec: Exec;
}
export interface MsgVoteProtoMsg {
typeUrl: "/cosmos.group.v1.MsgVote";
value: Uint8Array;
}
/**
* MsgVote is the Msg/Vote request type.
* @name MsgVoteAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgVote
*/
export interface MsgVoteAmino {
/**
* proposal is the unique ID of the proposal.
*/
proposal_id: string;
/**
* voter is the voter account address.
*/
voter: string;
/**
* option is the voter's choice on the proposal.
*/
option: VoteOption;
/**
* metadata is any arbitrary metadata attached to the vote.
*/
metadata: string;
/**
* exec defines whether the proposal should be executed
* immediately after voting or not.
*/
exec: Exec;
}
export interface MsgVoteAminoMsg {
type: "cosmos-sdk/group/MsgVote";
value: MsgVoteAmino;
}
/**
* MsgVoteResponse is the Msg/Vote response type.
* @name MsgVoteResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgVoteResponse
*/
export interface MsgVoteResponse {
}
export interface MsgVoteResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgVoteResponse";
value: Uint8Array;
}
/**
* MsgVoteResponse is the Msg/Vote response type.
* @name MsgVoteResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgVoteResponse
*/
export interface MsgVoteResponseAmino {
}
export interface MsgVoteResponseAminoMsg {
type: "cosmos-sdk/MsgVoteResponse";
value: MsgVoteResponseAmino;
}
/**
* MsgExec is the Msg/Exec request type.
* @name MsgExec
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgExec
*/
export interface MsgExec {
/**
* proposal is the unique ID of the proposal.
*/
proposalId: bigint;
/**
* executor is the account address used to execute the proposal.
*/
executor: string;
}
export interface MsgExecProtoMsg {
typeUrl: "/cosmos.group.v1.MsgExec";
value: Uint8Array;
}
/**
* MsgExec is the Msg/Exec request type.
* @name MsgExecAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgExec
*/
export interface MsgExecAmino {
/**
* proposal is the unique ID of the proposal.
*/
proposal_id: string;
/**
* executor is the account address used to execute the proposal.
*/
executor: string;
}
export interface MsgExecAminoMsg {
type: "cosmos-sdk/group/MsgExec";
value: MsgExecAmino;
}
/**
* MsgExecResponse is the Msg/Exec request type.
* @name MsgExecResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgExecResponse
*/
export interface MsgExecResponse {
/**
* result is the final result of the proposal execution.
*/
result: ProposalExecutorResult;
}
export interface MsgExecResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgExecResponse";
value: Uint8Array;
}
/**
* MsgExecResponse is the Msg/Exec request type.
* @name MsgExecResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgExecResponse
*/
export interface MsgExecResponseAmino {
/**
* result is the final result of the proposal execution.
*/
result: ProposalExecutorResult;
}
export interface MsgExecResponseAminoMsg {
type: "cosmos-sdk/MsgExecResponse";
value: MsgExecResponseAmino;
}
/**
* MsgLeaveGroup is the Msg/LeaveGroup request type.
* @name MsgLeaveGroup
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgLeaveGroup
*/
export interface MsgLeaveGroup {
/**
* address is the account address of the group member.
*/
address: string;
/**
* group_id is the unique ID of the group.
*/
groupId: bigint;
}
export interface MsgLeaveGroupProtoMsg {
typeUrl: "/cosmos.group.v1.MsgLeaveGroup";
value: Uint8Array;
}
/**
* MsgLeaveGroup is the Msg/LeaveGroup request type.
* @name MsgLeaveGroupAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgLeaveGroup
*/
export interface MsgLeaveGroupAmino {
/**
* address is the account address of the group member.
*/
address: string;
/**
* group_id is the unique ID of the group.
*/
group_id: string;
}
export interface MsgLeaveGroupAminoMsg {
type: "cosmos-sdk/group/MsgLeaveGroup";
value: MsgLeaveGroupAmino;
}
/**
* MsgLeaveGroupResponse is the Msg/LeaveGroup response type.
* @name MsgLeaveGroupResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgLeaveGroupResponse
*/
export interface MsgLeaveGroupResponse {
}
export interface MsgLeaveGroupResponseProtoMsg {
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse";
value: Uint8Array;
}
/**
* MsgLeaveGroupResponse is the Msg/LeaveGroup response type.
* @name MsgLeaveGroupResponseAmino
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgLeaveGroupResponse
*/
export interface MsgLeaveGroupResponseAmino {
}
export interface MsgLeaveGroupResponseAminoMsg {
type: "cosmos-sdk/MsgLeaveGroupResponse";
value: MsgLeaveGroupResponseAmino;
}
/**
* MsgCreateGroup is the Msg/CreateGroup request type.
* @name MsgCreateGroup
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroup
*/
export declare const MsgCreateGroup: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateGroup;
isAmino(o: any): o is MsgCreateGroupAmino;
encode(message: MsgCreateGroup, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroup;
fromPartial(object: DeepPartial<MsgCreateGroup>): MsgCreateGroup;
fromAmino(object: MsgCreateGroupAmino): MsgCreateGroup;
toAmino(message: MsgCreateGroup): MsgCreateGroupAmino;
fromAminoMsg(object: MsgCreateGroupAminoMsg): MsgCreateGroup;
toAminoMsg(message: MsgCreateGroup): MsgCreateGroupAminoMsg;
fromProtoMsg(message: MsgCreateGroupProtoMsg): MsgCreateGroup;
toProto(message: MsgCreateGroup): Uint8Array;
toProtoMsg(message: MsgCreateGroup): MsgCreateGroupProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgCreateGroupResponse is the Msg/CreateGroup response type.
* @name MsgCreateGroupResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupResponse
*/
export declare const MsgCreateGroupResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateGroupResponse;
isAmino(o: any): o is MsgCreateGroupResponseAmino;
encode(message: MsgCreateGroupResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupResponse;
fromPartial(object: DeepPartial<MsgCreateGroupResponse>): MsgCreateGroupResponse;
fromAmino(object: MsgCreateGroupResponseAmino): MsgCreateGroupResponse;
toAmino(message: MsgCreateGroupResponse): MsgCreateGroupResponseAmino;
fromAminoMsg(object: MsgCreateGroupResponseAminoMsg): MsgCreateGroupResponse;
toAminoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseAminoMsg;
fromProtoMsg(message: MsgCreateGroupResponseProtoMsg): MsgCreateGroupResponse;
toProto(message: MsgCreateGroupResponse): Uint8Array;
toProtoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
* @name MsgUpdateGroupMembers
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembers
*/
export declare const MsgUpdateGroupMembers: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupMembers;
isAmino(o: any): o is MsgUpdateGroupMembersAmino;
encode(message: MsgUpdateGroupMembers, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembers;
fromPartial(object: DeepPartial<MsgUpdateGroupMembers>): MsgUpdateGroupMembers;
fromAmino(object: MsgUpdateGroupMembersAmino): MsgUpdateGroupMembers;
toAmino(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAmino;
fromAminoMsg(object: MsgUpdateGroupMembersAminoMsg): MsgUpdateGroupMembers;
toAminoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAminoMsg;
fromProtoMsg(message: MsgUpdateGroupMembersProtoMsg): MsgUpdateGroupMembers;
toProto(message: MsgUpdateGroupMembers): Uint8Array;
toProtoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
* @name MsgUpdateGroupMembersResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMembersResponse
*/
export declare const MsgUpdateGroupMembersResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupMembersResponse;
isAmino(o: any): o is MsgUpdateGroupMembersResponseAmino;
encode(_: MsgUpdateGroupMembersResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse;
fromPartial(_: DeepPartial<MsgUpdateGroupMembersResponse>): MsgUpdateGroupMembersResponse;
fromAmino(_: MsgUpdateGroupMembersResponseAmino): MsgUpdateGroupMembersResponse;
toAmino(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAmino;
fromAminoMsg(object: MsgUpdateGroupMembersResponseAminoMsg): MsgUpdateGroupMembersResponse;
toAminoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAminoMsg;
fromProtoMsg(message: MsgUpdateGroupMembersResponseProtoMsg): MsgUpdateGroupMembersResponse;
toProto(message: MsgUpdateGroupMembersResponse): Uint8Array;
toProtoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
* @name MsgUpdateGroupAdmin
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdmin
*/
export declare const MsgUpdateGroupAdmin: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupAdmin;
isAmino(o: any): o is MsgUpdateGroupAdminAmino;
encode(message: MsgUpdateGroupAdmin, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdmin;
fromPartial(object: DeepPartial<MsgUpdateGroupAdmin>): MsgUpdateGroupAdmin;
fromAmino(object: MsgUpdateGroupAdminAmino): MsgUpdateGroupAdmin;
toAmino(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAmino;
fromAminoMsg(object: MsgUpdateGroupAdminAminoMsg): MsgUpdateGroupAdmin;
toAminoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAminoMsg;
fromProtoMsg(message: MsgUpdateGroupAdminProtoMsg): MsgUpdateGroupAdmin;
toProto(message: MsgUpdateGroupAdmin): Uint8Array;
toProtoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
* @name MsgUpdateGroupAdminResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupAdminResponse
*/
export declare const MsgUpdateGroupAdminResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupAdminResponse;
isAmino(o: any): o is MsgUpdateGroupAdminResponseAmino;
encode(_: MsgUpdateGroupAdminResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse;
fromPartial(_: DeepPartial<MsgUpdateGroupAdminResponse>): MsgUpdateGroupAdminResponse;
fromAmino(_: MsgUpdateGroupAdminResponseAmino): MsgUpdateGroupAdminResponse;
toAmino(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAmino;
fromAminoMsg(object: MsgUpdateGroupAdminResponseAminoMsg): MsgUpdateGroupAdminResponse;
toAminoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAminoMsg;
fromProtoMsg(message: MsgUpdateGroupAdminResponseProtoMsg): MsgUpdateGroupAdminResponse;
toProto(message: MsgUpdateGroupAdminResponse): Uint8Array;
toProtoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
* @name MsgUpdateGroupMetadata
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadata
*/
export declare const MsgUpdateGroupMetadata: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupMetadata;
isAmino(o: any): o is MsgUpdateGroupMetadataAmino;
encode(message: MsgUpdateGroupMetadata, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadata;
fromPartial(object: DeepPartial<MsgUpdateGroupMetadata>): MsgUpdateGroupMetadata;
fromAmino(object: MsgUpdateGroupMetadataAmino): MsgUpdateGroupMetadata;
toAmino(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAmino;
fromAminoMsg(object: MsgUpdateGroupMetadataAminoMsg): MsgUpdateGroupMetadata;
toAminoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAminoMsg;
fromProtoMsg(message: MsgUpdateGroupMetadataProtoMsg): MsgUpdateGroupMetadata;
toProto(message: MsgUpdateGroupMetadata): Uint8Array;
toProtoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
* @name MsgUpdateGroupMetadataResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupMetadataResponse
*/
export declare const MsgUpdateGroupMetadataResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupMetadataResponse;
isAmino(o: any): o is MsgUpdateGroupMetadataResponseAmino;
encode(_: MsgUpdateGroupMetadataResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse;
fromPartial(_: DeepPartial<MsgUpdateGroupMetadataResponse>): MsgUpdateGroupMetadataResponse;
fromAmino(_: MsgUpdateGroupMetadataResponseAmino): MsgUpdateGroupMetadataResponse;
toAmino(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAmino;
fromAminoMsg(object: MsgUpdateGroupMetadataResponseAminoMsg): MsgUpdateGroupMetadataResponse;
toAminoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAminoMsg;
fromProtoMsg(message: MsgUpdateGroupMetadataResponseProtoMsg): MsgUpdateGroupMetadataResponse;
toProto(message: MsgUpdateGroupMetadataResponse): Uint8Array;
toProtoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
* @name MsgCreateGroupPolicy
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicy
*/
export declare const MsgCreateGroupPolicy: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateGroupPolicy;
isAmino(o: any): o is MsgCreateGroupPolicyAmino;
encode(message: MsgCreateGroupPolicy, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicy;
fromPartial(object: DeepPartial<MsgCreateGroupPolicy>): MsgCreateGroupPolicy;
fromAmino(object: MsgCreateGroupPolicyAmino): MsgCreateGroupPolicy;
toAmino(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAmino;
fromAminoMsg(object: MsgCreateGroupPolicyAminoMsg): MsgCreateGroupPolicy;
toAminoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAminoMsg;
fromProtoMsg(message: MsgCreateGroupPolicyProtoMsg): MsgCreateGroupPolicy;
toProto(message: MsgCreateGroupPolicy): Uint8Array;
toProtoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
* @name MsgCreateGroupPolicyResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgCreateGroupPolicyResponse
*/
export declare const MsgCreateGroupPolicyResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgCreateGroupPolicyResponse;
isAmino(o: any): o is MsgCreateGroupPolicyResponseAmino;
encode(message: MsgCreateGroupPolicyResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse;
fromPartial(object: DeepPartial<MsgCreateGroupPolicyResponse>): MsgCreateGroupPolicyResponse;
fromAmino(object: MsgCreateGroupPolicyResponseAmino): MsgCreateGroupPolicyResponse;
toAmino(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAmino;
fromAminoMsg(object: MsgCreateGroupPolicyResponseAminoMsg): MsgCreateGroupPolicyResponse;
toAminoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAminoMsg;
fromProtoMsg(message: MsgCreateGroupPolicyResponseProtoMsg): MsgCreateGroupPolicyResponse;
toProto(message: MsgCreateGroupPolicyResponse): Uint8Array;
toProtoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
* @name MsgUpdateGroupPolicyAdmin
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdmin
*/
export declare const MsgUpdateGroupPolicyAdmin: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupPolicyAdmin;
isAmino(o: any): o is MsgUpdateGroupPolicyAdminAmino;
encode(message: MsgUpdateGroupPolicyAdmin, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin;
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyAdmin>): MsgUpdateGroupPolicyAdmin;
fromAmino(object: MsgUpdateGroupPolicyAdminAmino): MsgUpdateGroupPolicyAdmin;
toAmino(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAmino;
fromAminoMsg(object: MsgUpdateGroupPolicyAdminAminoMsg): MsgUpdateGroupPolicyAdmin;
toAminoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAminoMsg;
fromProtoMsg(message: MsgUpdateGroupPolicyAdminProtoMsg): MsgUpdateGroupPolicyAdmin;
toProto(message: MsgUpdateGroupPolicyAdmin): Uint8Array;
toProtoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
* @name MsgUpdateGroupPolicyAdminResponse
* @package cosmos.group.v1
* @see proto type: cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse
*/
export declare const MsgUpdateGroupPolicyAdminResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgUpdateGroupPolicyAdminResponse;
isAmino(o: any): o is MsgUpdateGroupPolicyAdminResponseAmino;
encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse;
fro