@firmachain/firma-js
Version:
The Official FirmaChain Javascript SDK written in Typescript
19 lines (18 loc) • 987 B
TypeScript
import { Registry, EncodeObject } from "@cosmjs/proto-signing";
import { MsgGrantAllowance, MsgRevokeAllowance } from "./FeeGrantTxTypes";
import { ITxClient } from "../common/ITxClient";
import { FirmaWalletService } from "../../FirmaWalletService";
export interface MsgFeeGrantAllowanceEncodeObject extends EncodeObject {
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance";
readonly value: Partial<MsgGrantAllowance>;
}
export interface MsgFeeGrantRevokeAllowanceEncodeObject extends EncodeObject {
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance";
readonly value: Partial<MsgRevokeAllowance>;
}
export declare class FeeGrantTxClient extends ITxClient {
constructor(wallet: FirmaWalletService, serverUrl: string);
static getRegistry(): Registry;
static msgGrantAllowance(data: MsgGrantAllowance): MsgFeeGrantAllowanceEncodeObject;
static msgRevokeAllowance(data: MsgRevokeAllowance): MsgFeeGrantRevokeAllowanceEncodeObject;
}