pub trait Msg:
    Send
    + Sync
    + 'static {
    // Required methods
    fn transfer<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgTransfer>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferResponse>, 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;
}
Expand description

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

Required Methods§

Source

fn transfer<'life0, 'async_trait>( &'life0 self, request: Request<MsgTransfer>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Transfer defines a rpc handler method for MsgTransfer.

Source

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 nft-transfer module parameters. The authority is defined in the keeper.

Implementors§