///
import { MemberRequest, MemberRequestSDKType, VoteOption, ProposalExecutorResult } from "./types";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { Long, Rpc } from "../../../helpers";
export declare const protobufPackage = "cosmos.group.v1";
/** 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 ExecSDKType: typeof Exec;
export declare function execFromJSON(object: any): Exec;
export declare function execToJSON(object: Exec): string;
/** MsgCreateGroup is the Msg/CreateGroup request type. */
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;
}
/** MsgCreateGroup is the Msg/CreateGroup request type. */
export interface MsgCreateGroupSDKType {
admin: string;
members: MemberRequestSDKType[];
metadata: string;
}
/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
export interface MsgCreateGroupResponse {
/** group_id is the unique ID of the newly created group. */
groupId: Long;
}
/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
export interface MsgCreateGroupResponseSDKType {
group_id: Long;
}
/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
export interface MsgUpdateGroupMembers {
/** admin is the account address of the group admin. */
admin: string;
/** group_id is the unique ID of the group. */
groupId: Long;
/**
* member_updates is the list of members to update,
* set weight to 0 to remove a member.
*/
memberUpdates: MemberRequest[];
}
/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
export interface MsgUpdateGroupMembersSDKType {
admin: string;
group_id: Long;
member_updates: MemberRequestSDKType[];
}
/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
export interface MsgUpdateGroupMembersResponse {
}
/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
export interface MsgUpdateGroupMembersResponseSDKType {
}
/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
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: Long;
/** new_admin is the group new admin account address. */
newAdmin: string;
}
/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
export interface MsgUpdateGroupAdminSDKType {
admin: string;
group_id: Long;
new_admin: string;
}
/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
export interface MsgUpdateGroupAdminResponse {
}
/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
export interface MsgUpdateGroupAdminResponseSDKType {
}
/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
export interface MsgUpdateGroupMetadata {
/** admin is the account address of the group admin. */
admin: string;
/** group_id is the unique ID of the group. */
groupId: Long;
/** metadata is the updated group's metadata. */
metadata: string;
}
/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
export interface MsgUpdateGroupMetadataSDKType {
admin: string;
group_id: Long;
metadata: string;
}
/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
export interface MsgUpdateGroupMetadataResponse {
}
/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
export interface MsgUpdateGroupMetadataResponseSDKType {
}
/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
export interface MsgCreateGroupPolicy {
/** admin is the account address of the group admin. */
admin: string;
/** group_id is the unique ID of the group. */
groupId: Long;
/** metadata is any arbitrary metadata attached to the group policy. */
metadata: string;
/** decision_policy specifies the group policy's decision policy. */
decisionPolicy?: Any;
}
/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
export interface MsgCreateGroupPolicySDKType {
admin: string;
group_id: Long;
metadata: string;
decision_policy?: AnySDKType;
}
/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
export interface MsgCreateGroupPolicyResponse {
/** address is the account address of the newly created group policy. */
address: string;
}
/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
export interface MsgCreateGroupPolicyResponseSDKType {
address: string;
}
/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
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;
}
/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
export interface MsgUpdateGroupPolicyAdminSDKType {
admin: string;
group_policy_address: string;
new_admin: string;
}
/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
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?: Any;
}
/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
export interface MsgCreateGroupWithPolicySDKType {
admin: string;
members: MemberRequestSDKType[];
group_metadata: string;
group_policy_metadata: string;
group_policy_as_admin: boolean;
decision_policy?: AnySDKType;
}
/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
export interface MsgCreateGroupWithPolicyResponse {
/** group_id is the unique ID of the newly created group with policy. */
groupId: Long;
/** group_policy_address is the account address of the newly created group policy. */
groupPolicyAddress: string;
}
/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
export interface MsgCreateGroupWithPolicyResponseSDKType {
group_id: Long;
group_policy_address: string;
}
/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
export interface MsgUpdateGroupPolicyAdminResponse {
}
/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
export interface MsgUpdateGroupPolicyAdminResponseSDKType {
}
/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
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?: Any;
}
/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
export interface MsgUpdateGroupPolicyDecisionPolicySDKType {
admin: string;
group_policy_address: string;
decision_policy?: AnySDKType;
}
/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
export interface MsgUpdateGroupPolicyDecisionPolicyResponse {
}
/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
export interface MsgUpdateGroupPolicyDecisionPolicyResponseSDKType {
}
/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
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 updated group policy metadata. */
metadata: string;
}
/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
export interface MsgUpdateGroupPolicyMetadataSDKType {
admin: string;
group_policy_address: string;
metadata: string;
}
/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
export interface MsgUpdateGroupPolicyMetadataResponse {
}
/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
export interface MsgUpdateGroupPolicyMetadataResponseSDKType {
}
/** MsgSubmitProposal is the Msg/SubmitProposal request type. */
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 to 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;
}
/** MsgSubmitProposal is the Msg/SubmitProposal request type. */
export interface MsgSubmitProposalSDKType {
group_policy_address: string;
proposers: string[];
metadata: string;
messages: AnySDKType[];
exec: Exec;
}
/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
export interface MsgSubmitProposalResponse {
/** proposal is the unique ID of the proposal. */
proposalId: Long;
}
/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
export interface MsgSubmitProposalResponseSDKType {
proposal_id: Long;
}
/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
export interface MsgWithdrawProposal {
/** proposal is the unique ID of the proposal. */
proposalId: Long;
/** address is the admin of the group policy or one of the proposer of the proposal. */
address: string;
}
/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
export interface MsgWithdrawProposalSDKType {
proposal_id: Long;
address: string;
}
/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
export interface MsgWithdrawProposalResponse {
}
/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
export interface MsgWithdrawProposalResponseSDKType {
}
/** MsgVote is the Msg/Vote request type. */
export interface MsgVote {
/** proposal is the unique ID of the proposal. */
proposalId: Long;
/** voter is the voter account address. */
voter: string;
/** option is the voter's choice on the proposal. */
option: VoteOption;
/** metadata is any arbitrary metadata to attached to the vote. */
metadata: string;
/**
* exec defines whether the proposal should be executed
* immediately after voting or not.
*/
exec: Exec;
}
/** MsgVote is the Msg/Vote request type. */
export interface MsgVoteSDKType {
proposal_id: Long;
voter: string;
option: VoteOption;
metadata: string;
exec: Exec;
}
/** MsgVoteResponse is the Msg/Vote response type. */
export interface MsgVoteResponse {
}
/** MsgVoteResponse is the Msg/Vote response type. */
export interface MsgVoteResponseSDKType {
}
/** MsgExec is the Msg/Exec request type. */
export interface MsgExec {
/** proposal is the unique ID of the proposal. */
proposalId: Long;
/** executor is the account address used to execute the proposal. */
executor: string;
}
/** MsgExec is the Msg/Exec request type. */
export interface MsgExecSDKType {
proposal_id: Long;
executor: string;
}
/** MsgExecResponse is the Msg/Exec request type. */
export interface MsgExecResponse {
/** result is the final result of the proposal execution. */
result: ProposalExecutorResult;
}
/** MsgExecResponse is the Msg/Exec request type. */
export interface MsgExecResponseSDKType {
result: ProposalExecutorResult;
}
/** MsgLeaveGroup is the Msg/LeaveGroup request type. */
export interface MsgLeaveGroup {
/** address is the account address of the group member. */
address: string;
/** group_id is the unique ID of the group. */
groupId: Long;
}
/** MsgLeaveGroup is the Msg/LeaveGroup request type. */
export interface MsgLeaveGroupSDKType {
address: string;
group_id: Long;
}
/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
export interface MsgLeaveGroupResponse {
}
/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
export interface MsgLeaveGroupResponseSDKType {
}
export declare const MsgCreateGroup: {
encode(message: MsgCreateGroup, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup;
fromJSON(object: any): MsgCreateGroup;
toJSON(message: MsgCreateGroup): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
metadata?: string | undefined;
} & Record, never>>(object: I): MsgCreateGroup;
fromSDK(object: MsgCreateGroupSDKType): MsgCreateGroup;
toSDK(message: MsgCreateGroup): MsgCreateGroupSDKType;
};
export declare const MsgCreateGroupResponse: {
encode(message: MsgCreateGroupResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse;
fromJSON(object: any): MsgCreateGroupResponse;
toJSON(message: MsgCreateGroupResponse): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
} & Record, never>>(object: I): MsgCreateGroupResponse;
fromSDK(object: MsgCreateGroupResponseSDKType): MsgCreateGroupResponse;
toSDK(message: MsgCreateGroupResponse): MsgCreateGroupResponseSDKType;
};
export declare const MsgUpdateGroupMembers: {
encode(message: MsgUpdateGroupMembers, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers;
fromJSON(object: any): MsgUpdateGroupMembers;
toJSON(message: MsgUpdateGroupMembers): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
memberUpdates?: ({
address?: string | undefined;
weight?: string | undefined;
metadata?: string | undefined;
}[] & ({
address?: string | undefined;
weight?: string | undefined;
metadata?: string | undefined;
} & {
address?: string | undefined;
weight?: string | undefined;
metadata?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): MsgUpdateGroupMembers;
fromSDK(object: MsgUpdateGroupMembersSDKType): MsgUpdateGroupMembers;
toSDK(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersSDKType;
};
export declare const MsgUpdateGroupMembersResponse: {
encode(_: MsgUpdateGroupMembersResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse;
fromJSON(_: any): MsgUpdateGroupMembersResponse;
toJSON(_: MsgUpdateGroupMembersResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupMembersResponse;
fromSDK(_: MsgUpdateGroupMembersResponseSDKType): MsgUpdateGroupMembersResponse;
toSDK(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseSDKType;
};
export declare const MsgUpdateGroupAdmin: {
encode(message: MsgUpdateGroupAdmin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin;
fromJSON(object: any): MsgUpdateGroupAdmin;
toJSON(message: MsgUpdateGroupAdmin): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
newAdmin?: string | undefined;
} & Record, never>>(object: I): MsgUpdateGroupAdmin;
fromSDK(object: MsgUpdateGroupAdminSDKType): MsgUpdateGroupAdmin;
toSDK(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminSDKType;
};
export declare const MsgUpdateGroupAdminResponse: {
encode(_: MsgUpdateGroupAdminResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse;
fromJSON(_: any): MsgUpdateGroupAdminResponse;
toJSON(_: MsgUpdateGroupAdminResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupAdminResponse;
fromSDK(_: MsgUpdateGroupAdminResponseSDKType): MsgUpdateGroupAdminResponse;
toSDK(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseSDKType;
};
export declare const MsgUpdateGroupMetadata: {
encode(message: MsgUpdateGroupMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata;
fromJSON(object: any): MsgUpdateGroupMetadata;
toJSON(message: MsgUpdateGroupMetadata): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
metadata?: string | undefined;
} & Record, never>>(object: I): MsgUpdateGroupMetadata;
fromSDK(object: MsgUpdateGroupMetadataSDKType): MsgUpdateGroupMetadata;
toSDK(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataSDKType;
};
export declare const MsgUpdateGroupMetadataResponse: {
encode(_: MsgUpdateGroupMetadataResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse;
fromJSON(_: any): MsgUpdateGroupMetadataResponse;
toJSON(_: MsgUpdateGroupMetadataResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupMetadataResponse;
fromSDK(_: MsgUpdateGroupMetadataResponseSDKType): MsgUpdateGroupMetadataResponse;
toSDK(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseSDKType;
};
export declare const MsgCreateGroupPolicy: {
encode(message: MsgCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy;
fromJSON(object: any): MsgCreateGroupPolicy;
toJSON(message: MsgCreateGroupPolicy): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
metadata?: string | undefined;
decisionPolicy?: ({
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & {
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): MsgCreateGroupPolicy;
fromSDK(object: MsgCreateGroupPolicySDKType): MsgCreateGroupPolicy;
toSDK(message: MsgCreateGroupPolicy): MsgCreateGroupPolicySDKType;
};
export declare const MsgCreateGroupPolicyResponse: {
encode(message: MsgCreateGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse;
fromJSON(object: any): MsgCreateGroupPolicyResponse;
toJSON(message: MsgCreateGroupPolicyResponse): unknown;
fromPartial, never>>(object: I): MsgCreateGroupPolicyResponse;
fromSDK(object: MsgCreateGroupPolicyResponseSDKType): MsgCreateGroupPolicyResponse;
toSDK(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseSDKType;
};
export declare const MsgUpdateGroupPolicyAdmin: {
encode(message: MsgUpdateGroupPolicyAdmin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin;
fromJSON(object: any): MsgUpdateGroupPolicyAdmin;
toJSON(message: MsgUpdateGroupPolicyAdmin): unknown;
fromPartial, never>>(object: I): MsgUpdateGroupPolicyAdmin;
fromSDK(object: MsgUpdateGroupPolicyAdminSDKType): MsgUpdateGroupPolicyAdmin;
toSDK(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminSDKType;
};
export declare const MsgCreateGroupWithPolicy: {
encode(message: MsgCreateGroupWithPolicy, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy;
fromJSON(object: any): MsgCreateGroupWithPolicy;
toJSON(message: MsgCreateGroupWithPolicy): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
groupMetadata?: string | undefined;
groupPolicyMetadata?: string | undefined;
groupPolicyAsAdmin?: boolean | undefined;
decisionPolicy?: ({
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & {
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): MsgCreateGroupWithPolicy;
fromSDK(object: MsgCreateGroupWithPolicySDKType): MsgCreateGroupWithPolicy;
toSDK(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicySDKType;
};
export declare const MsgCreateGroupWithPolicyResponse: {
encode(message: MsgCreateGroupWithPolicyResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse;
fromJSON(object: any): MsgCreateGroupWithPolicyResponse;
toJSON(message: MsgCreateGroupWithPolicyResponse): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
groupPolicyAddress?: string | undefined;
} & Record, never>>(object: I): MsgCreateGroupWithPolicyResponse;
fromSDK(object: MsgCreateGroupWithPolicyResponseSDKType): MsgCreateGroupWithPolicyResponse;
toSDK(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseSDKType;
};
export declare const MsgUpdateGroupPolicyAdminResponse: {
encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse;
fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse;
toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupPolicyAdminResponse;
fromSDK(_: MsgUpdateGroupPolicyAdminResponseSDKType): MsgUpdateGroupPolicyAdminResponse;
toSDK(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseSDKType;
};
export declare const MsgUpdateGroupPolicyDecisionPolicy: {
encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy;
fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy;
toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown;
fromPartial, never>) | undefined;
} & Record, never>>(object: I): MsgUpdateGroupPolicyDecisionPolicy;
fromSDK(object: MsgUpdateGroupPolicyDecisionPolicySDKType): MsgUpdateGroupPolicyDecisionPolicy;
toSDK(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicySDKType;
};
export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: {
encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse;
fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse;
toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupPolicyDecisionPolicyResponse;
fromSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponseSDKType): MsgUpdateGroupPolicyDecisionPolicyResponse;
toSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType;
};
export declare const MsgUpdateGroupPolicyMetadata: {
encode(message: MsgUpdateGroupPolicyMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata;
fromJSON(object: any): MsgUpdateGroupPolicyMetadata;
toJSON(message: MsgUpdateGroupPolicyMetadata): unknown;
fromPartial, never>>(object: I): MsgUpdateGroupPolicyMetadata;
fromSDK(object: MsgUpdateGroupPolicyMetadataSDKType): MsgUpdateGroupPolicyMetadata;
toSDK(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataSDKType;
};
export declare const MsgUpdateGroupPolicyMetadataResponse: {
encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse;
fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse;
toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown;
fromPartial, never>>(_: I): MsgUpdateGroupPolicyMetadataResponse;
fromSDK(_: MsgUpdateGroupPolicyMetadataResponseSDKType): MsgUpdateGroupPolicyMetadataResponse;
toSDK(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseSDKType;
};
export declare const MsgSubmitProposal: {
encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal;
fromJSON(object: any): MsgSubmitProposal;
toJSON(message: MsgSubmitProposal): unknown;
fromPartial, never>) | undefined;
metadata?: string | undefined;
messages?: ({
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
}[] & ({
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & {
typeUrl?: string | undefined;
value?: Uint8Array | undefined;
} & Record, never>)[] & Record, never>) | undefined;
exec?: Exec | undefined;
} & Record, never>>(object: I): MsgSubmitProposal;
fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal;
toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType;
};
export declare const MsgSubmitProposalResponse: {
encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse;
fromJSON(object: any): MsgSubmitProposalResponse;
toJSON(message: MsgSubmitProposalResponse): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
} & Record, never>>(object: I): MsgSubmitProposalResponse;
fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse;
toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType;
};
export declare const MsgWithdrawProposal: {
encode(message: MsgWithdrawProposal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal;
fromJSON(object: any): MsgWithdrawProposal;
toJSON(message: MsgWithdrawProposal): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
address?: string | undefined;
} & Record, never>>(object: I): MsgWithdrawProposal;
fromSDK(object: MsgWithdrawProposalSDKType): MsgWithdrawProposal;
toSDK(message: MsgWithdrawProposal): MsgWithdrawProposalSDKType;
};
export declare const MsgWithdrawProposalResponse: {
encode(_: MsgWithdrawProposalResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse;
fromJSON(_: any): MsgWithdrawProposalResponse;
toJSON(_: MsgWithdrawProposalResponse): unknown;
fromPartial, never>>(_: I): MsgWithdrawProposalResponse;
fromSDK(_: MsgWithdrawProposalResponseSDKType): MsgWithdrawProposalResponse;
toSDK(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseSDKType;
};
export declare const MsgVote: {
encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote;
fromJSON(object: any): MsgVote;
toJSON(message: MsgVote): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
voter?: string | undefined;
option?: VoteOption | undefined;
metadata?: string | undefined;
exec?: Exec | undefined;
} & Record, never>>(object: I): MsgVote;
fromSDK(object: MsgVoteSDKType): MsgVote;
toSDK(message: MsgVote): MsgVoteSDKType;
};
export declare const MsgVoteResponse: {
encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse;
fromJSON(_: any): MsgVoteResponse;
toJSON(_: MsgVoteResponse): unknown;
fromPartial, never>>(_: I): MsgVoteResponse;
fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse;
toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType;
};
export declare const MsgExec: {
encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec;
fromJSON(object: any): MsgExec;
toJSON(message: MsgExec): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
executor?: string | undefined;
} & Record, never>>(object: I): MsgExec;
fromSDK(object: MsgExecSDKType): MsgExec;
toSDK(message: MsgExec): MsgExecSDKType;
};
export declare const MsgExecResponse: {
encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse;
fromJSON(object: any): MsgExecResponse;
toJSON(message: MsgExecResponse): unknown;
fromPartial, never>>(object: I): MsgExecResponse;
fromSDK(object: MsgExecResponseSDKType): MsgExecResponse;
toSDK(message: MsgExecResponse): MsgExecResponseSDKType;
};
export declare const MsgLeaveGroup: {
encode(message: MsgLeaveGroup, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup;
fromJSON(object: any): MsgLeaveGroup;
toJSON(message: MsgLeaveGroup): unknown;
fromPartial Long.Long;
and: (other: string | number | Long.Long) => Long.Long;
compare: (other: string | number | Long.Long) => number;
comp: (other: string | number | Long.Long) => number;
divide: (divisor: string | number | Long.Long) => Long.Long;
div: (divisor: string | number | Long.Long) => Long.Long;
equals: (other: string | number | Long.Long) => boolean;
eq: (other: string | number | Long.Long) => boolean;
getHighBits: () => number;
getHighBitsUnsigned: () => number;
getLowBits: () => number;
getLowBitsUnsigned: () => number;
getNumBitsAbs: () => number;
greaterThan: (other: string | number | Long.Long) => boolean;
gt: (other: string | number | Long.Long) => boolean;
greaterThanOrEqual: (other: string | number | Long.Long) => boolean;
gte: (other: string | number | Long.Long) => boolean;
isEven: () => boolean;
isNegative: () => boolean;
isOdd: () => boolean;
isPositive: () => boolean;
isZero: () => boolean;
lessThan: (other: string | number | Long.Long) => boolean;
lt: (other: string | number | Long.Long) => boolean;
lessThanOrEqual: (other: string | number | Long.Long) => boolean;
lte: (other: string | number | Long.Long) => boolean;
modulo: (other: string | number | Long.Long) => Long.Long;
mod: (other: string | number | Long.Long) => Long.Long;
multiply: (multiplier: string | number | Long.Long) => Long.Long;
mul: (multiplier: string | number | Long.Long) => Long.Long;
negate: () => Long.Long;
neg: () => Long.Long;
not: () => Long.Long;
notEquals: (other: string | number | Long.Long) => boolean;
neq: (other: string | number | Long.Long) => boolean;
or: (other: string | number | Long.Long) => Long.Long;
shiftLeft: (numBits: number | Long.Long) => Long.Long;
shl: (numBits: number | Long.Long) => Long.Long;
shiftRight: (numBits: number | Long.Long) => Long.Long;
shr: (numBits: number | Long.Long) => Long.Long;
shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long;
shru: (numBits: number | Long.Long) => Long.Long;
subtract: (subtrahend: string | number | Long.Long) => Long.Long;
sub: (subtrahend: string | number | Long.Long) => Long.Long;
toInt: () => number;
toNumber: () => number;
toBytes: (le?: boolean | undefined) => number[];
toBytesLE: () => number[];
toBytesBE: () => number[];
toSigned: () => Long.Long;
toString: (radix?: number | undefined) => string;
toUnsigned: () => Long.Long;
xor: (other: string | number | Long.Long) => Long.Long;
} & Record, never>) | undefined;
} & Record, never>>(object: I): MsgLeaveGroup;
fromSDK(object: MsgLeaveGroupSDKType): MsgLeaveGroup;
toSDK(message: MsgLeaveGroup): MsgLeaveGroupSDKType;
};
export declare const MsgLeaveGroupResponse: {
encode(_: MsgLeaveGroupResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse;
fromJSON(_: any): MsgLeaveGroupResponse;
toJSON(_: MsgLeaveGroupResponse): unknown;
fromPartial, never>>(_: I): MsgLeaveGroupResponse;
fromSDK(_: MsgLeaveGroupResponseSDKType): MsgLeaveGroupResponse;
toSDK(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseSDKType;
};
/** Msg is the cosmos.group.v1 Msg service. */
export interface Msg {
/** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */
CreateGroup(request: MsgCreateGroup): Promise;
/** UpdateGroupMembers updates the group members with given group id and admin address. */
UpdateGroupMembers(request: MsgUpdateGroupMembers): Promise;
/** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */
UpdateGroupAdmin(request: MsgUpdateGroupAdmin): Promise;
/** UpdateGroupMetadata updates the group metadata with given group id and admin address. */
UpdateGroupMetadata(request: MsgUpdateGroupMetadata): Promise;
/** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */
CreateGroupPolicy(request: MsgCreateGroupPolicy): Promise;
/** CreateGroupWithPolicy creates a new group with policy. */
CreateGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise;
/** UpdateGroupPolicyAdmin updates a group policy admin. */
UpdateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise;
/** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */
UpdateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise;
/** UpdateGroupPolicyMetadata updates a group policy metadata. */
UpdateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise;
/** SubmitProposal submits a new proposal. */
SubmitProposal(request: MsgSubmitProposal): Promise;
/** WithdrawProposal withdraws a proposal. */
WithdrawProposal(request: MsgWithdrawProposal): Promise;
/** Vote allows a voter to vote on a proposal. */
Vote(request: MsgVote): Promise;
/** Exec executes a proposal. */
Exec(request: MsgExec): Promise;
/** LeaveGroup allows a group member to leave the group. */
LeaveGroup(request: MsgLeaveGroup): Promise;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
CreateGroup(request: MsgCreateGroup): Promise;
UpdateGroupMembers(request: MsgUpdateGroupMembers): Promise;
UpdateGroupAdmin(request: MsgUpdateGroupAdmin): Promise;
UpdateGroupMetadata(request: MsgUpdateGroupMetadata): Promise;
CreateGroupPolicy(request: MsgCreateGroupPolicy): Promise;
CreateGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise;
UpdateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise;
UpdateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise;
UpdateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise;
SubmitProposal(request: MsgSubmitProposal): Promise;
WithdrawProposal(request: MsgWithdrawProposal): Promise;
Vote(request: MsgVote): Promise;
Exec(request: MsgExec): Promise;
LeaveGroup(request: MsgLeaveGroup): Promise;
}