pub trait Msg:
Send
+ Sync
+ 'static {
// Required methods
fn create_pool<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgCreatePool>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgCreatePoolResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add_liquidity<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgAddLiquidity>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgAddLiquidityResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_liquidity<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRemoveLiquidity>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRemoveLiquidityResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn apply<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgApply>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgApplyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn approve<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgApprove>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgApproveResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn redeem<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRedeem>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRedeemResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn repay<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRepay>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRepayResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_repayment_adaptor_signature<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitRepaymentAdaptorSignature>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitRepaymentAdaptorSignatureResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_liquidation_cet_signatures<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitLiquidationCetSignatures>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitLiquidationCetSignaturesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn close<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgClose>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgCloseResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_price<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitPrice>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitPriceResponse>, 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;
}Available on crate feature
grpc only.Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.