"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import abc
import grpc

from .tx_pb2 import *
# Msg defines the feegrant msg service.
class MsgStub:
    def __init__(self, channel: grpc.Channel) -> None: ...
    # GrantAllowance grants fee allowance to the grantee on the granter's
    # account with the provided expiration time.
    GrantAllowance:grpc.UnaryUnaryMultiCallable[
        global___MsgGrantAllowance,
        global___MsgGrantAllowanceResponse] = ...

    # RevokeAllowance revokes any fee allowance of granter's account that
    # has been granted to the grantee.
    RevokeAllowance:grpc.UnaryUnaryMultiCallable[
        global___MsgRevokeAllowance,
        global___MsgRevokeAllowanceResponse] = ...


# Msg defines the feegrant msg service.
class MsgServicer(metaclass=abc.ABCMeta):
    # GrantAllowance grants fee allowance to the grantee on the granter's
    # account with the provided expiration time.
    @abc.abstractmethod
    def GrantAllowance(self,
        request: global___MsgGrantAllowance,
        context: grpc.ServicerContext,
    ) -> global___MsgGrantAllowanceResponse: ...

    # RevokeAllowance revokes any fee allowance of granter's account that
    # has been granted to the grantee.
    @abc.abstractmethod
    def RevokeAllowance(self,
        request: global___MsgRevokeAllowance,
        context: grpc.ServicerContext,
    ) -> global___MsgRevokeAllowanceResponse: ...


def add_MsgServicer_to_server(servicer: MsgServicer, server: grpc.Server) -> None: ...
