v1beta1: {
    LCDQueryClient: any;
    MsgClientImpl: any;
    QueryClientImpl: any;
    AllowedMsgAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): AllowedMsgAllowance;
        encode(message: AllowedMsgAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance;
        fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | ({ $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance" | undefined; allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { ...; } | { ...; } | ... | undefined; allowedMessages?: string[] | undefined; });
            allowedMessages?: string[];
        }): AllowedMsgAllowance;
        fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance;
        toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino;
        toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg;
        toProto(message: AllowedMsgAllowance): Uint8Array;
        toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg;
    };
    AminoConverter: {
        /cosmos.feegrant.v1beta1.MsgGrantAllowance: {
            aminoType: string;
            fromAmino: ((object: MsgGrantAllowanceAmino) => MsgGrantAllowance);
            toAmino: ((message: MsgGrantAllowance) => MsgGrantAllowanceAmino);
        };
        /cosmos.feegrant.v1beta1.MsgRevokeAllowance: {
            aminoType: string;
            fromAmino: ((object: MsgRevokeAllowanceAmino) => MsgRevokeAllowance);
            toAmino: ((message: MsgRevokeAllowance) => MsgRevokeAllowanceAmino);
        };
    };
    BasicAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BasicAllowance;
        encode(message: BasicAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BasicAllowanceAmino): BasicAllowance;
        fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
            expiration?: Date;
            spendLimit?: {
                amount?: string;
                denom?: string;
            }[];
        }): BasicAllowance;
        fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance;
        toAmino(message: BasicAllowance): BasicAllowanceAmino;
        toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg;
        toProto(message: BasicAllowance): Uint8Array;
        toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg;
    };
    FeeAllowanceI_FromAmino: ((content: AnyAmino) => Any);
    FeeAllowanceI_InterfaceDecoder: ((input: Uint8Array | BinaryReader) =>
        | Any
        | BasicAllowance
        | PeriodicAllowance
        | AllowedMsgAllowance);
    FeeAllowanceI_ToAmino: ((content: Any) => AnyAmino);
    GenesisState: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GenesisState;
        encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GenesisStateAmino): GenesisState;
        fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
        }): GenesisState;
        fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
        toAmino(message: GenesisState): GenesisStateAmino;
        toAminoMsg(message: GenesisState): GenesisStateAminoMsg;
        toProto(message: GenesisState): Uint8Array;
        toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
    };
    Grant: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Grant;
        encode(message: Grant, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GrantAmino): Grant;
        fromAminoMsg(object: GrantAminoMsg): Grant;
        fromPartial(object: {
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                };
            grantee?: string;
            granter?: string;
        }): Grant;
        fromProtoMsg(message: GrantProtoMsg): Grant;
        toAmino(message: Grant): GrantAmino;
        toAminoMsg(message: Grant): GrantAminoMsg;
        toProto(message: Grant): Uint8Array;
        toProtoMsg(message: Grant): GrantProtoMsg;
    };
    MessageComposer: {
        encoded: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: Uint8Array;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: Uint8Array;
            };
        };
        fromPartial: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: MsgGrantAllowance;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: MsgRevokeAllowance;
            };
        };
        withTypeUrl: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: MsgGrantAllowance;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: MsgRevokeAllowance;
            };
        };
    };
    MsgGrantAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgGrantAllowance;
        encode(message: MsgGrantAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance;
        fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance;
        fromPartial(object: {
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                };
            grantee?: string;
            granter?: string;
        }): MsgGrantAllowance;
        fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance;
        toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino;
        toAminoMsg(message: MsgGrantAllowance): MsgGrantAllowanceAminoMsg;
        toProto(message: MsgGrantAllowance): Uint8Array;
        toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg;
    };
    MsgGrantAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgGrantAllowanceResponse;
        encode(_: MsgGrantAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse;
        fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse;
        fromPartial(_: {}): MsgGrantAllowanceResponse;
        fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse;
        toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino;
        toAminoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAminoMsg;
        toProto(message: MsgGrantAllowanceResponse): Uint8Array;
        toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg;
    };
    MsgRevokeAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgRevokeAllowance;
        encode(message: MsgRevokeAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance;
        fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance;
        fromPartial(object: {
            grantee?: string;
            granter?: string;
        }): MsgRevokeAllowance;
        fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance;
        toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino;
        toAminoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceAminoMsg;
        toProto(message: MsgRevokeAllowance): Uint8Array;
        toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg;
    };
    MsgRevokeAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgRevokeAllowanceResponse;
        encode(_: MsgRevokeAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse;
        fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse;
        fromPartial(_: {}): MsgRevokeAllowanceResponse;
        fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse;
        toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino;
        toAminoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAminoMsg;
        toProto(message: MsgRevokeAllowanceResponse): Uint8Array;
        toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg;
    };
    PeriodicAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): PeriodicAllowance;
        encode(message: PeriodicAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance;
        fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
            basic?: {
                $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                expiration?: Date;
                spendLimit?: {
                    amount?: string;
                    denom?: string;
                }[];
            };
            period?: {
                nanos?: number;
                seconds?: bigint;
            };
            periodCanSpend?: {
                amount?: string;
                denom?: string;
            }[];
            periodReset?: Date;
            periodSpendLimit?: {
                amount?: string;
                denom?: string;
            }[];
        }): PeriodicAllowance;
        fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance;
        toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino;
        toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg;
        toProto(message: PeriodicAllowance): Uint8Array;
        toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg;
    };
    QueryAllowanceRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowanceRequest;
        encode(message: QueryAllowanceRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowanceRequestAmino): QueryAllowanceRequest;
        fromAminoMsg(object: QueryAllowanceRequestAminoMsg): QueryAllowanceRequest;
        fromPartial(object: {
            grantee?: string;
            granter?: string;
        }): QueryAllowanceRequest;
        fromProtoMsg(message: QueryAllowanceRequestProtoMsg): QueryAllowanceRequest;
        toAmino(message: QueryAllowanceRequest): QueryAllowanceRequestAmino;
        toAminoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestAminoMsg;
        toProto(message: QueryAllowanceRequest): Uint8Array;
        toProtoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestProtoMsg;
    };
    QueryAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowanceResponse;
        encode(message: QueryAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowanceResponseAmino): QueryAllowanceResponse;
        fromAminoMsg(object: QueryAllowanceResponseAminoMsg): QueryAllowanceResponse;
        fromPartial(object: {
            allowance?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                            expiration?: Date;
                            spendLimit?: (...)[];
                        };
                        period?: {
                            nanos?: number;
                            seconds?: bigint;
                        };
                        periodCanSpend?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            };
        }): QueryAllowanceResponse;
        fromProtoMsg(message: QueryAllowanceResponseProtoMsg): QueryAllowanceResponse;
        toAmino(message: QueryAllowanceResponse): QueryAllowanceResponseAmino;
        toAminoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseAminoMsg;
        toProto(message: QueryAllowanceResponse): Uint8Array;
        toProtoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseProtoMsg;
    };
    QueryAllowancesByGranterRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesByGranterRequest;
        encode(message: QueryAllowancesByGranterRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesByGranterRequestAmino): QueryAllowancesByGranterRequest;
        fromAminoMsg(object: QueryAllowancesByGranterRequestAminoMsg): QueryAllowancesByGranterRequest;
        fromPartial(object: {
            granter?: string;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): QueryAllowancesByGranterRequest;
        fromProtoMsg(message: QueryAllowancesByGranterRequestProtoMsg): QueryAllowancesByGranterRequest;
        toAmino(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAmino;
        toAminoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAminoMsg;
        toProto(message: QueryAllowancesByGranterRequest): Uint8Array;
        toProtoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestProtoMsg;
    };
    QueryAllowancesByGranterResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesByGranterResponse;
        encode(message: QueryAllowancesByGranterResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesByGranterResponseAmino): QueryAllowancesByGranterResponse;
        fromAminoMsg(object: QueryAllowancesByGranterResponseAminoMsg): QueryAllowancesByGranterResponse;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
        }): QueryAllowancesByGranterResponse;
        fromProtoMsg(message: QueryAllowancesByGranterResponseProtoMsg): QueryAllowancesByGranterResponse;
        toAmino(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAmino;
        toAminoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAminoMsg;
        toProto(message: QueryAllowancesByGranterResponse): Uint8Array;
        toProtoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseProtoMsg;
    };
    QueryAllowancesRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesRequest;
        encode(message: QueryAllowancesRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesRequestAmino): QueryAllowancesRequest;
        fromAminoMsg(object: QueryAllowancesRequestAminoMsg): QueryAllowancesRequest;
        fromPartial(object: {
            grantee?: string;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): QueryAllowancesRequest;
        fromProtoMsg(message: QueryAllowancesRequestProtoMsg): QueryAllowancesRequest;
        toAmino(message: QueryAllowancesRequest): QueryAllowancesRequestAmino;
        toAminoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestAminoMsg;
        toProto(message: QueryAllowancesRequest): Uint8Array;
        toProtoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestProtoMsg;
    };
    QueryAllowancesResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesResponse;
        encode(message: QueryAllowancesResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesResponseAmino): QueryAllowancesResponse;
        fromAminoMsg(object: QueryAllowancesResponseAminoMsg): QueryAllowancesResponse;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
        }): QueryAllowancesResponse;
        fromProtoMsg(message: QueryAllowancesResponseProtoMsg): QueryAllowancesResponse;
        toAmino(message: QueryAllowancesResponse): QueryAllowancesResponseAmino;
        toAminoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseAminoMsg;
        toProto(message: QueryAllowancesResponse): Uint8Array;
        toProtoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseProtoMsg;
    };
    createRpcQueryExtension: ((base: QueryClient) => {
        allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
        allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
        allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
    });
    load: ((protoRegistry: Registry) => void);
    registry: readonly [string, TelescopeGeneratedType<any, any, any>][];
} = ...

Type declaration

  • AllowedMsgAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): AllowedMsgAllowance;
        encode(message: AllowedMsgAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance;
        fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | ({ $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance" | undefined; allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { ...; } | { ...; } | ... | undefined; allowedMessages?: string[] | undefined; });
            allowedMessages?: string[];
        }): AllowedMsgAllowance;
        fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance;
        toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino;
        toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg;
        toProto(message: AllowedMsgAllowance): Uint8Array;
        toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
              allowance?:
                  | {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                      expiration?: Date;
                      spendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                      basic?: {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                      };
                      period?: {
                          nanos?: number;
                          seconds?: bigint;
                      };
                      periodCanSpend?: {
                          amount?: string;
                          denom?: string;
                      }[];
                      periodReset?: Date;
                      periodSpendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | ({ $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance" | undefined; allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { ...; } | { ...; } | ... | undefined; allowedMessages?: string[] | undefined; });
              allowedMessages?: string[];
          }
          • Optional$typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"
          • Optionalallowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | ({ $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance" | undefined; allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { ...; } | { ...; } | ... | undefined; allowedMessages?: string[] | undefined; })

            allowance can be any of basic and filtered fee allowance.

          • OptionalallowedMessages?: string[]

            allowed_messages are the messages for which the grantee has the access.

        Returns AllowedMsgAllowance

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • AminoConverter: {
        /cosmos.feegrant.v1beta1.MsgGrantAllowance: {
            aminoType: string;
            fromAmino: ((object: MsgGrantAllowanceAmino) => MsgGrantAllowance);
            toAmino: ((message: MsgGrantAllowance) => MsgGrantAllowanceAmino);
        };
        /cosmos.feegrant.v1beta1.MsgRevokeAllowance: {
            aminoType: string;
            fromAmino: ((object: MsgRevokeAllowanceAmino) => MsgRevokeAllowance);
            toAmino: ((message: MsgRevokeAllowance) => MsgRevokeAllowanceAmino);
        };
    }
  • BasicAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BasicAllowance;
        encode(message: BasicAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BasicAllowanceAmino): BasicAllowance;
        fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
            expiration?: Date;
            spendLimit?: {
                amount?: string;
                denom?: string;
            }[];
        }): BasicAllowance;
        fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance;
        toAmino(message: BasicAllowance): BasicAllowanceAmino;
        toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg;
        toProto(message: BasicAllowance): Uint8Array;
        toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns BasicAllowance

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
              expiration?: Date;
              spendLimit?: {
                  amount?: string;
                  denom?: string;
              }[];
          }
          • Optional$typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"
          • Optionalexpiration?: Date

            expiration specifies an optional time when this allowance expires

          • OptionalspendLimit?: {
                amount?: string;
                denom?: string;
            }[]

            spend_limit specifies the maximum amount of tokens that can be spent by this allowance and will be updated as tokens are spent. If it is empty, there is no spend limit and any amount of coins can be spent.

        Returns BasicAllowance

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • FeeAllowanceI_FromAmino: ((content: AnyAmino) => Any)
  • FeeAllowanceI_InterfaceDecoder: ((input: Uint8Array | BinaryReader) =>
        | Any
        | BasicAllowance
        | PeriodicAllowance
        | AllowedMsgAllowance)
  • FeeAllowanceI_ToAmino: ((content: Any) => AnyAmino)
  • GenesisState: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GenesisState;
        encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GenesisStateAmino): GenesisState;
        fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
        }): GenesisState;
        fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
        toAmino(message: GenesisState): GenesisStateAmino;
        toAminoMsg(message: GenesisState): GenesisStateAminoMsg;
        toProto(message: GenesisState): Uint8Array;
        toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns GenesisState

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              allowances?: {
                  allowance?:
                      | {
                          $typeUrl?: string;
                          typeUrl?: string;
                          value?: Uint8Array;
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                          basic?: {
                              $typeUrl?: (...) | (...);
                              expiration?: (...) | (...);
                              spendLimit?: (...) | (...);
                          };
                          period?: {
                              nanos?: (...) | (...);
                              seconds?: (...) | (...);
                          };
                          periodCanSpend?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                          periodReset?: Date;
                          periodSpendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                          allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                          allowedMessages?: string[];
                      };
                  grantee?: string;
                  granter?: string;
              }[];
          }
          • Optionalallowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[]

        Returns GenesisState

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • Grant: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Grant;
        encode(message: Grant, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GrantAmino): Grant;
        fromAminoMsg(object: GrantAminoMsg): Grant;
        fromPartial(object: {
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                };
            grantee?: string;
            granter?: string;
        }): Grant;
        fromProtoMsg(message: GrantProtoMsg): Grant;
        toAmino(message: Grant): GrantAmino;
        toAminoMsg(message: Grant): GrantAminoMsg;
        toProto(message: Grant): Uint8Array;
        toProtoMsg(message: Grant): GrantProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Grant

    • encode:function
    • fromAmino:function
      • Parameters

        Returns Grant

    • fromAminoMsg:function
      • Parameters

        Returns Grant

    • fromPartial:function
      • Parameters

        • object: {
              allowance?:
                  | {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                      expiration?: Date;
                      spendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                      basic?: {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                      };
                      period?: {
                          nanos?: number;
                          seconds?: bigint;
                      };
                      periodCanSpend?: {
                          amount?: string;
                          denom?: string;
                      }[];
                      periodReset?: Date;
                      periodSpendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                      allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                      allowedMessages?: string[];
                  };
              grantee?: string;
              granter?: string;
          }
          • Optionalallowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                }

            allowance can be any of basic and filtered fee allowance.

          • Optionalgrantee?: string

            grantee is the address of the user being granted an allowance of another user's funds.

          • Optionalgranter?: string

            granter is the address of the user granting an allowance of their funds.

        Returns Grant

    • fromProtoMsg:function
      • Parameters

        Returns Grant

    • toAmino:function
      • Parameters

        Returns GrantAmino

    • toAminoMsg:function
      • Parameters

        Returns GrantAminoMsg

    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
      • Parameters

        Returns GrantProtoMsg

  • MessageComposer: {
        encoded: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: Uint8Array;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: Uint8Array;
            };
        };
        fromPartial: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: MsgGrantAllowance;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: MsgRevokeAllowance;
            };
        };
        withTypeUrl: {
            grantAllowance(value: MsgGrantAllowance): {
                typeUrl: string;
                value: MsgGrantAllowance;
            };
            revokeAllowance(value: MsgRevokeAllowance): {
                typeUrl: string;
                value: MsgRevokeAllowance;
            };
        };
    }
    • encoded: {
          grantAllowance(value: MsgGrantAllowance): {
              typeUrl: string;
              value: Uint8Array;
          };
          revokeAllowance(value: MsgRevokeAllowance): {
              typeUrl: string;
              value: Uint8Array;
          };
      }
      • grantAllowance:function
        • Parameters

          Returns {
              typeUrl: string;
              value: Uint8Array;
          }

          • typeUrl: string
          • value: Uint8Array
      • revokeAllowance:function
        • Parameters

          Returns {
              typeUrl: string;
              value: Uint8Array;
          }

          • typeUrl: string
          • value: Uint8Array
    • fromPartial: {
          grantAllowance(value: MsgGrantAllowance): {
              typeUrl: string;
              value: MsgGrantAllowance;
          };
          revokeAllowance(value: MsgRevokeAllowance): {
              typeUrl: string;
              value: MsgRevokeAllowance;
          };
      }
    • withTypeUrl: {
          grantAllowance(value: MsgGrantAllowance): {
              typeUrl: string;
              value: MsgGrantAllowance;
          };
          revokeAllowance(value: MsgRevokeAllowance): {
              typeUrl: string;
              value: MsgRevokeAllowance;
          };
      }
  • MsgGrantAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgGrantAllowance;
        encode(message: MsgGrantAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance;
        fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance;
        fromPartial(object: {
            allowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                };
            grantee?: string;
            granter?: string;
        }): MsgGrantAllowance;
        fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance;
        toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino;
        toAminoMsg(message: MsgGrantAllowance): MsgGrantAllowanceAminoMsg;
        toProto(message: MsgGrantAllowance): Uint8Array;
        toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              allowance?:
                  | {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                      expiration?: Date;
                      spendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                      basic?: {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                      };
                      period?: {
                          nanos?: number;
                          seconds?: bigint;
                      };
                      periodCanSpend?: {
                          amount?: string;
                          denom?: string;
                      }[];
                      periodReset?: Date;
                      periodSpendLimit?: {
                          amount?: string;
                          denom?: string;
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                      allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                      allowedMessages?: string[];
                  };
              grantee?: string;
              granter?: string;
          }
          • Optionalallowance?:
                | {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                    expiration?: Date;
                    spendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                    basic?: {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    };
                    period?: {
                        nanos?: number;
                        seconds?: bigint;
                    };
                    periodCanSpend?: {
                        amount?: string;
                        denom?: string;
                    }[];
                    periodReset?: Date;
                    periodSpendLimit?: {
                        amount?: string;
                        denom?: string;
                    }[];
                }
                | {
                    $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                    allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                    allowedMessages?: string[];
                }

            allowance can be any of basic and filtered fee allowance.

          • Optionalgrantee?: string

            grantee is the address of the user being granted an allowance of another user's funds.

          • Optionalgranter?: string

            granter is the address of the user granting an allowance of their funds.

        Returns MsgGrantAllowance

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • MsgGrantAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgGrantAllowanceResponse;
        encode(_: MsgGrantAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse;
        fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse;
        fromPartial(_: {}): MsgGrantAllowanceResponse;
        fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse;
        toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino;
        toAminoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAminoMsg;
        toProto(message: MsgGrantAllowanceResponse): Uint8Array;
        toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg;
    }
  • MsgRevokeAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgRevokeAllowance;
        encode(message: MsgRevokeAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance;
        fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance;
        fromPartial(object: {
            grantee?: string;
            granter?: string;
        }): MsgRevokeAllowance;
        fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance;
        toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino;
        toAminoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceAminoMsg;
        toProto(message: MsgRevokeAllowance): Uint8Array;
        toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg;
    }
  • MsgRevokeAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): MsgRevokeAllowanceResponse;
        encode(_: MsgRevokeAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse;
        fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse;
        fromPartial(_: {}): MsgRevokeAllowanceResponse;
        fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse;
        toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino;
        toAminoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAminoMsg;
        toProto(message: MsgRevokeAllowanceResponse): Uint8Array;
        toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg;
    }
  • PeriodicAllowance: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): PeriodicAllowance;
        encode(message: PeriodicAllowance, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance;
        fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance;
        fromPartial(object: {
            $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
            basic?: {
                $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                expiration?: Date;
                spendLimit?: {
                    amount?: string;
                    denom?: string;
                }[];
            };
            period?: {
                nanos?: number;
                seconds?: bigint;
            };
            periodCanSpend?: {
                amount?: string;
                denom?: string;
            }[];
            periodReset?: Date;
            periodSpendLimit?: {
                amount?: string;
                denom?: string;
            }[];
        }): PeriodicAllowance;
        fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance;
        toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino;
        toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg;
        toProto(message: PeriodicAllowance): Uint8Array;
        toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
              basic?: {
                  $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                  expiration?: Date;
                  spendLimit?: {
                      amount?: string;
                      denom?: string;
                  }[];
              };
              period?: {
                  nanos?: number;
                  seconds?: bigint;
              };
              periodCanSpend?: {
                  amount?: string;
                  denom?: string;
              }[];
              periodReset?: Date;
              periodSpendLimit?: {
                  amount?: string;
                  denom?: string;
              }[];
          }
          • Optional$typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"
          • Optionalbasic?: {
                $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                expiration?: Date;
                spendLimit?: {
                    amount?: string;
                    denom?: string;
                }[];
            }

            basic specifies a struct of BasicAllowance

            • Optional$typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"
            • Optionalexpiration?: Date

              expiration specifies an optional time when this allowance expires

            • OptionalspendLimit?: {
                  amount?: string;
                  denom?: string;
              }[]

              spend_limit specifies the maximum amount of tokens that can be spent by this allowance and will be updated as tokens are spent. If it is empty, there is no spend limit and any amount of coins can be spent.

          • Optionalperiod?: {
                nanos?: number;
                seconds?: bigint;
            }

            period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset

            • Optionalnanos?: number

              Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 seconds field and a positive or negative nanos field. For durations of one second or more, a non-zero value for the nanos field must be of the same sign as the seconds field. Must be from -999,999,999 to +999,999,999 inclusive.

            • Optionalseconds?: bigint

              Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

          • OptionalperiodCanSpend?: {
                amount?: string;
                denom?: string;
            }[]

            period_can_spend is the number of coins left to be spent before the period_reset time

          • OptionalperiodReset?: Date

            period_reset is the time at which this period resets and a new one begins, it is calculated from the start time of the first transaction after the last period ended

          • OptionalperiodSpendLimit?: {
                amount?: string;
                denom?: string;
            }[]

            period_spend_limit specifies the maximum number of coins that can be spent in the period

        Returns PeriodicAllowance

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • QueryAllowanceRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowanceRequest;
        encode(message: QueryAllowanceRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowanceRequestAmino): QueryAllowanceRequest;
        fromAminoMsg(object: QueryAllowanceRequestAminoMsg): QueryAllowanceRequest;
        fromPartial(object: {
            grantee?: string;
            granter?: string;
        }): QueryAllowanceRequest;
        fromProtoMsg(message: QueryAllowanceRequestProtoMsg): QueryAllowanceRequest;
        toAmino(message: QueryAllowanceRequest): QueryAllowanceRequestAmino;
        toAminoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestAminoMsg;
        toProto(message: QueryAllowanceRequest): Uint8Array;
        toProtoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestProtoMsg;
    }
  • QueryAllowanceResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowanceResponse;
        encode(message: QueryAllowanceResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowanceResponseAmino): QueryAllowanceResponse;
        fromAminoMsg(object: QueryAllowanceResponseAminoMsg): QueryAllowanceResponse;
        fromPartial(object: {
            allowance?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                            expiration?: Date;
                            spendLimit?: (...)[];
                        };
                        period?: {
                            nanos?: number;
                            seconds?: bigint;
                        };
                        periodCanSpend?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            };
        }): QueryAllowanceResponse;
        fromProtoMsg(message: QueryAllowanceResponseProtoMsg): QueryAllowanceResponse;
        toAmino(message: QueryAllowanceResponse): QueryAllowanceResponseAmino;
        toAminoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseAminoMsg;
        toProto(message: QueryAllowanceResponse): Uint8Array;
        toProtoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              allowance?: {
                  allowance?:
                      | {
                          $typeUrl?: string;
                          typeUrl?: string;
                          value?: Uint8Array;
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                          basic?: {
                              $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                              expiration?: Date;
                              spendLimit?: (...)[];
                          };
                          period?: {
                              nanos?: number;
                              seconds?: bigint;
                          };
                          periodCanSpend?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                          periodReset?: Date;
                          periodSpendLimit?: {
                              amount?: (...) | (...);
                              denom?: (...) | (...);
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                          allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                          allowedMessages?: string[];
                      };
                  grantee?: string;
                  granter?: string;
              };
          }
          • Optionalallowance?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                            expiration?: Date;
                            spendLimit?: (...)[];
                        };
                        period?: {
                            nanos?: number;
                            seconds?: bigint;
                        };
                        periodCanSpend?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: (...) | (...);
                            denom?: (...) | (...);
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }

            allowance is a allowance granted for grantee by granter.

            • Optionalallowance?:
                  | {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                      expiration?: Date;
                      spendLimit?: {
                          amount?: (...) | (...);
                          denom?: (...) | (...);
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                      basic?: {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: (...)[];
                      };
                      period?: {
                          nanos?: number;
                          seconds?: bigint;
                      };
                      periodCanSpend?: {
                          amount?: (...) | (...);
                          denom?: (...) | (...);
                      }[];
                      periodReset?: Date;
                      periodSpendLimit?: {
                          amount?: (...) | (...);
                          denom?: (...) | (...);
                      }[];
                  }
                  | {
                      $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                      allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                      allowedMessages?: string[];
                  }

              allowance can be any of basic and filtered fee allowance.

            • Optionalgrantee?: string

              grantee is the address of the user being granted an allowance of another user's funds.

            • Optionalgranter?: string

              granter is the address of the user granting an allowance of their funds.

        Returns QueryAllowanceResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • QueryAllowancesByGranterRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesByGranterRequest;
        encode(message: QueryAllowancesByGranterRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesByGranterRequestAmino): QueryAllowancesByGranterRequest;
        fromAminoMsg(object: QueryAllowancesByGranterRequestAminoMsg): QueryAllowancesByGranterRequest;
        fromPartial(object: {
            granter?: string;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): QueryAllowancesByGranterRequest;
        fromProtoMsg(message: QueryAllowancesByGranterRequestProtoMsg): QueryAllowancesByGranterRequest;
        toAmino(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAmino;
        toAminoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAminoMsg;
        toProto(message: QueryAllowancesByGranterRequest): Uint8Array;
        toProtoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestProtoMsg;
    }
  • QueryAllowancesByGranterResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesByGranterResponse;
        encode(message: QueryAllowancesByGranterResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesByGranterResponseAmino): QueryAllowancesByGranterResponse;
        fromAminoMsg(object: QueryAllowancesByGranterResponseAminoMsg): QueryAllowancesByGranterResponse;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
        }): QueryAllowancesByGranterResponse;
        fromProtoMsg(message: QueryAllowancesByGranterResponseProtoMsg): QueryAllowancesByGranterResponse;
        toAmino(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAmino;
        toAminoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAminoMsg;
        toProto(message: QueryAllowancesByGranterResponse): Uint8Array;
        toProtoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              allowances?: {
                  allowance?:
                      | {
                          $typeUrl?: string;
                          typeUrl?: string;
                          value?: Uint8Array;
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                          basic?: {
                              $typeUrl?: (...) | (...);
                              expiration?: (...) | (...);
                              spendLimit?: (...) | (...);
                          };
                          period?: {
                              nanos?: (...) | (...);
                              seconds?: (...) | (...);
                          };
                          periodCanSpend?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                          periodReset?: Date;
                          periodSpendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                          allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                          allowedMessages?: string[];
                      };
                  grantee?: string;
                  granter?: string;
              }[];
              pagination?: {
                  nextKey?: Uint8Array;
                  total?: bigint;
              };
          }
          • Optionalallowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[]

            allowances that have been issued by the granter.

          • Optionalpagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            }

            pagination defines an pagination for the response.

            • OptionalnextKey?: Uint8Array

              next_key is the key to be passed to PageRequest.key to query the next page most efficiently

            • Optionaltotal?: bigint

              total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

        Returns QueryAllowancesByGranterResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Returns Uint8Array

    • toProtoMsg:function
  • QueryAllowancesRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesRequest;
        encode(message: QueryAllowancesRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesRequestAmino): QueryAllowancesRequest;
        fromAminoMsg(object: QueryAllowancesRequestAminoMsg): QueryAllowancesRequest;
        fromPartial(object: {
            grantee?: string;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): QueryAllowancesRequest;
        fromProtoMsg(message: QueryAllowancesRequestProtoMsg): QueryAllowancesRequest;
        toAmino(message: QueryAllowancesRequest): QueryAllowancesRequestAmino;
        toAminoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestAminoMsg;
        toProto(message: QueryAllowancesRequest): Uint8Array;
        toProtoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              grantee?: string;
              pagination?: {
                  countTotal?: boolean;
                  key?: Uint8Array;
                  limit?: bigint;
                  offset?: bigint;
                  reverse?: boolean;
              };
          }
          • Optionalgrantee?: string
          • Optionalpagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            }

            pagination defines an pagination for the request.

            • OptionalcountTotal?: boolean

              count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

            • Optionalkey?: Uint8Array

              key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

            • Optionallimit?: bigint

              limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

            • Optionaloffset?: bigint

              offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

            • Optionalreverse?: boolean

              reverse is set to true if results are to be returned in the descending order.

              Since: cosmos-sdk 0.43

        Returns QueryAllowancesRequest

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • QueryAllowancesResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): QueryAllowancesResponse;
        encode(message: QueryAllowancesResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: QueryAllowancesResponseAmino): QueryAllowancesResponse;
        fromAminoMsg(object: QueryAllowancesResponseAminoMsg): QueryAllowancesResponse;
        fromPartial(object: {
            allowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[];
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
        }): QueryAllowancesResponse;
        fromProtoMsg(message: QueryAllowancesResponseProtoMsg): QueryAllowancesResponse;
        toAmino(message: QueryAllowancesResponse): QueryAllowancesResponseAmino;
        toAminoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseAminoMsg;
        toProto(message: QueryAllowancesResponse): Uint8Array;
        toProtoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              allowances?: {
                  allowance?:
                      | {
                          $typeUrl?: string;
                          typeUrl?: string;
                          value?: Uint8Array;
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                          expiration?: Date;
                          spendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                          basic?: {
                              $typeUrl?: (...) | (...);
                              expiration?: (...) | (...);
                              spendLimit?: (...) | (...);
                          };
                          period?: {
                              nanos?: (...) | (...);
                              seconds?: (...) | (...);
                          };
                          periodCanSpend?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                          periodReset?: Date;
                          periodSpendLimit?: {
                              amount?: ...;
                              denom?: ...;
                          }[];
                      }
                      | {
                          $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                          allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                          allowedMessages?: string[];
                      };
                  grantee?: string;
                  granter?: string;
              }[];
              pagination?: {
                  nextKey?: Uint8Array;
                  total?: bigint;
              };
          }
          • Optionalallowances?: {
                allowance?:
                    | {
                        $typeUrl?: string;
                        typeUrl?: string;
                        value?: Uint8Array;
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance";
                        expiration?: Date;
                        spendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance";
                        basic?: {
                            $typeUrl?: (...) | (...);
                            expiration?: (...) | (...);
                            spendLimit?: (...) | (...);
                        };
                        period?: {
                            nanos?: (...) | (...);
                            seconds?: (...) | (...);
                        };
                        periodCanSpend?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                        periodReset?: Date;
                        periodSpendLimit?: {
                            amount?: ...;
                            denom?: ...;
                        }[];
                    }
                    | {
                        $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
                        allowance?: { $typeUrl?: string | undefined; typeUrl?: string | undefined; value?: Uint8Array | undefined; } | { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance" | undefined; spendLimit?: { ...; }[] | undefined; expiration?: Date | undefined; } | { ...; } | { ...; } | undefined;
                        allowedMessages?: string[];
                    };
                grantee?: string;
                granter?: string;
            }[]

            allowances are allowance's granted for grantee by granter.

          • Optionalpagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            }

            pagination defines an pagination for the response.

            • OptionalnextKey?: Uint8Array

              next_key is the key to be passed to PageRequest.key to query the next page most efficiently

            • Optionaltotal?: bigint

              total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

        Returns QueryAllowancesResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • createRpcQueryExtension: ((base: QueryClient) => {
        allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
        allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
        allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
    })
  • load: ((protoRegistry: Registry) => void)
      • (protoRegistry): void
      • Parameters

        Returns void

  • registry: readonly [string, TelescopeGeneratedType<any, any, any>][]