firma-js-chain-2.0
Version:
The Official FirmaChain Javascript SDK written in Typescript
18 lines (17 loc) • 875 B
TypeScript
import { OfflineDirectSigner, EncodeObject } from "@cosmjs/proto-signing";
import { MsgGrantAllowance, MsgRevokeAllowance } from "./FeeGrantTxTypes";
import { ITxClient } from "../common/ITxClient";
interface MsgGrantAllowanceEncodeObject extends EncodeObject {
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance";
readonly value: Partial<MsgGrantAllowance>;
}
interface MsgRevokeAllowanceEncodeObject extends EncodeObject {
readonly typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance";
readonly value: Partial<MsgRevokeAllowance>;
}
export declare class FeeGrantTxClient extends ITxClient {
constructor(_wallet: OfflineDirectSigner, _addr: string);
msgGrantAllowance(data: MsgGrantAllowance): MsgGrantAllowanceEncodeObject;
msgRevokeAllowance(data: MsgRevokeAllowance): MsgRevokeAllowanceEncodeObject;
}
export {};