pub trait Msg: Send + Sync + 'static {
// Required methods
fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn multi_send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMultiSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_send_enabled<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSetSendEnabled>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetSendEnabledResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods§
sourcefn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>( &'life0 self, request: Request<MsgSend> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Send defines a method for sending coins from one account to another account.
sourcefn multi_send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMultiSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn multi_send<'life0, 'async_trait>( &'life0 self, request: Request<MsgMultiSend> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
MultiSend defines a method for sending coins from some accounts to other accounts.
sourcefn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_params<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateParams> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
UpdateParams defines a governance operation for updating the x/bank module parameters. The authority is defined in the keeper.
Since: cosmos-sdk 0.47
sourcefn set_send_enabled<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSetSendEnabled>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetSendEnabledResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_send_enabled<'life0, 'async_trait>( &'life0 self, request: Request<MsgSetSendEnabled> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetSendEnabledResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
SetSendEnabled is a governance operation for setting the SendEnabled flag on any number of Denoms. Only the entries to add or update should be included. Entries that already exist in the store, but that aren’t included in this message, will be left unchanged.
Since: cosmos-sdk 0.47