pub trait Msg:
    Send
    + Sync
    + 'static {
    // Required methods
    fn set_withdraw_address<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgSetWithdrawAddress>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetWithdrawAddressResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn withdraw_delegator_reward<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgWithdrawDelegatorReward>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgWithdrawDelegatorRewardResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn withdraw_validator_commission<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgWithdrawValidatorCommission>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgWithdrawValidatorCommissionResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn fund_community_pool<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgFundCommunityPool>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgFundCommunityPoolResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: '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 'life0: 'async_trait,
             Self: 'async_trait;
    fn community_pool_spend<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgCommunityPoolSpend>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCommunityPoolSpendResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn deposit_validator_rewards_pool<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MsgDepositValidatorRewardsPool>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<MsgDepositValidatorRewardsPoolResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

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

Required Methods§

Source

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

Source

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

Source

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

Source

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

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 'life0: 'async_trait, Self: 'async_trait,

Source

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

Source

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

Implementors§