@bandprotocol/bandchain.js
Version:
TypeScript library for Cosmos SDK and BandChain
22 lines (21 loc) • 948 B
TypeScript
import { Rpc } from "../../../helpers";
import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx";
/** Msg defines the feegrant msg service. */
export interface Msg {
/**
* GrantAllowance grants fee allowance to the grantee on the granter's
* account with the provided expiration time.
*/
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
/**
* RevokeAllowance revokes any fee allowance of granter's account that
* has been granted to the grantee.
*/
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}