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 update_pool_config<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdatePoolConfig>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdatePoolConfigResponse>, 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 submit_cets<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitCets>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitCetsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_deposit_transaction<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitDepositTransaction>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitDepositTransactionResponse>, 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 register_referrer<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRegisterReferrer>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterReferrerResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_referrer<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateReferrer>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateReferrerResponse>, 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.