Trait boot_core::cosmos_modules::feegrant::msg_server::Msg
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
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 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,
GrantAllowance grants fee allowance to the grantee on the granter’s account with the provided expiration time.
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,
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,
RevokeAllowance revokes any fee allowance of granter’s account that has been granted to the grantee.