import { Any, type AnySDKType } from '../../../google/protobuf/any.js'; import { BasicAllowance, type BasicAllowanceSDKType, PeriodicAllowance, type PeriodicAllowanceSDKType, AllowedMsgAllowance, type AllowedMsgAllowanceSDKType } from './feegrant.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * MsgGrantAllowance adds permission for Grantee to spend up to Allowance * of fees from the account of Granter. */ export interface MsgGrantAllowance { /** granter is the address of the user granting an allowance of their funds. */ granter: string; /** grantee is the address of the user being granted an allowance of another user's funds. */ grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; } export interface MsgGrantAllowanceProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgGrantAllowance'; value: Uint8Array; } /** * MsgGrantAllowance adds permission for Grantee to spend up to Allowance * of fees from the account of Granter. */ export interface MsgGrantAllowanceSDKType { granter: string; grantee: string; allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; } /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ export interface MsgGrantAllowanceResponse { } export interface MsgGrantAllowanceResponseProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse'; value: Uint8Array; } /** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ export interface MsgGrantAllowanceResponseSDKType { } /** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ export interface MsgRevokeAllowance { /** granter is the address of the user granting an allowance of their funds. */ granter: string; /** grantee is the address of the user being granted an allowance of another user's funds. */ grantee: string; } export interface MsgRevokeAllowanceProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgRevokeAllowance'; value: Uint8Array; } /** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ export interface MsgRevokeAllowanceSDKType { granter: string; grantee: string; } /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ export interface MsgRevokeAllowanceResponse { } export interface MsgRevokeAllowanceResponseProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse'; value: Uint8Array; } /** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ export interface MsgRevokeAllowanceResponseSDKType { } /** * MsgPruneAllowances prunes expired fee allowances. * * Since cosmos-sdk 0.50 */ export interface MsgPruneAllowances { /** pruner is the address of the user pruning expired allowances. */ pruner: string; } export interface MsgPruneAllowancesProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgPruneAllowances'; value: Uint8Array; } /** * MsgPruneAllowances prunes expired fee allowances. * * Since cosmos-sdk 0.50 */ export interface MsgPruneAllowancesSDKType { pruner: string; } /** * MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type. * * Since cosmos-sdk 0.50 */ export interface MsgPruneAllowancesResponse { } export interface MsgPruneAllowancesResponseProtoMsg { typeUrl: '/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse'; value: Uint8Array; } /** * MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse response type. * * Since cosmos-sdk 0.50 */ export interface MsgPruneAllowancesResponseSDKType { } export declare const MsgGrantAllowance: { typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance"; encode(message: MsgGrantAllowance, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowance; fromJSON(object: any): MsgGrantAllowance; toJSON(message: MsgGrantAllowance): JsonSafe; fromPartial(object: Partial): MsgGrantAllowance; fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance; toProto(message: MsgGrantAllowance): Uint8Array; toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg; }; export declare const MsgGrantAllowanceResponse: { typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse"; encode(_: MsgGrantAllowanceResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowanceResponse; fromJSON(_: any): MsgGrantAllowanceResponse; toJSON(_: MsgGrantAllowanceResponse): JsonSafe; fromPartial(_: Partial): MsgGrantAllowanceResponse; fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse; toProto(message: MsgGrantAllowanceResponse): Uint8Array; toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg; }; export declare const MsgRevokeAllowance: { typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance"; encode(message: MsgRevokeAllowance, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowance; fromJSON(object: any): MsgRevokeAllowance; toJSON(message: MsgRevokeAllowance): JsonSafe; fromPartial(object: Partial): MsgRevokeAllowance; fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance; toProto(message: MsgRevokeAllowance): Uint8Array; toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg; }; export declare const MsgRevokeAllowanceResponse: { typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse"; encode(_: MsgRevokeAllowanceResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowanceResponse; fromJSON(_: any): MsgRevokeAllowanceResponse; toJSON(_: MsgRevokeAllowanceResponse): JsonSafe; fromPartial(_: Partial): MsgRevokeAllowanceResponse; fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse; toProto(message: MsgRevokeAllowanceResponse): Uint8Array; toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg; }; export declare const MsgPruneAllowances: { typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances"; encode(message: MsgPruneAllowances, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgPruneAllowances; fromJSON(object: any): MsgPruneAllowances; toJSON(message: MsgPruneAllowances): JsonSafe; fromPartial(object: Partial): MsgPruneAllowances; fromProtoMsg(message: MsgPruneAllowancesProtoMsg): MsgPruneAllowances; toProto(message: MsgPruneAllowances): Uint8Array; toProtoMsg(message: MsgPruneAllowances): MsgPruneAllowancesProtoMsg; }; export declare const MsgPruneAllowancesResponse: { typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse"; encode(_: MsgPruneAllowancesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgPruneAllowancesResponse; fromJSON(_: any): MsgPruneAllowancesResponse; toJSON(_: MsgPruneAllowancesResponse): JsonSafe; fromPartial(_: Partial): MsgPruneAllowancesResponse; fromProtoMsg(message: MsgPruneAllowancesResponseProtoMsg): MsgPruneAllowancesResponse; toProto(message: MsgPruneAllowancesResponse): Uint8Array; toProtoMsg(message: MsgPruneAllowancesResponse): MsgPruneAllowancesResponseProtoMsg; }; export declare const Cosmos_feegrantv1beta1FeeAllowanceI_InterfaceDecoder: (input: BinaryReader | Uint8Array) => BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any; //# sourceMappingURL=tx.d.ts.map