pub trait Msg: 'static + Send + Sync {
    fn grant_allowance<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgGrantAllowance>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgGrantAllowanceResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn revoke_allowance<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgRevokeAllowance>
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRevokeAllowanceResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with MsgServer.

Required Methods

GrantAllowance grants fee allowance to the grantee on the granter’s account with the provided expiration time.

RevokeAllowance revokes any fee allowance of granter’s account that has been granted to the grantee.

Implementors