// package: cosmos.feegrant.v1beta1 // file: cosmos/feegrant/v1beta1/tx.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "grpc"; import * as cosmos_feegrant_v1beta1_tx_pb from "../../../cosmos/feegrant/v1beta1/tx_pb"; import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb"; import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; import * as cosmos_proto_cosmos_pb from "../../../cosmos_proto/cosmos_pb"; interface IMsgService extends grpc.ServiceDefinition { grantAllowance: IMsgService_IGrantAllowance; revokeAllowance: IMsgService_IRevokeAllowance; } interface IMsgService_IGrantAllowance extends grpc.MethodDefinition { path: "/cosmos.feegrant.v1beta1.Msg/GrantAllowance"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMsgService_IRevokeAllowance extends grpc.MethodDefinition { path: "/cosmos.feegrant.v1beta1.Msg/RevokeAllowance"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const MsgService: IMsgService; export interface IMsgServer { grantAllowance: grpc.handleUnaryCall; revokeAllowance: grpc.handleUnaryCall; } export interface IMsgClient { grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; } export class MsgClient extends grpc.Client implements IMsgClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); public grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; public grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; public grantAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowance, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgGrantAllowanceResponse) => void): grpc.ClientUnaryCall; public revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; public revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; public revokeAllowance(request: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowance, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: cosmos_feegrant_v1beta1_tx_pb.MsgRevokeAllowanceResponse) => void): grpc.ClientUnaryCall; }