Trait boot_core::cosmos_modules::distribution::msg_server::Msg
pub trait Msg: 'static + Send + Sync {
fn set_withdraw_address<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSetWithdrawAddress>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetWithdrawAddressResponse>, Status>> + Send + 'async_trait, Global>>
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, Global>>
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, Global>>
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, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
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, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn set_withdraw_address<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSetWithdrawAddress>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetWithdrawAddressResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation).
fn withdraw_delegator_reward<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgWithdrawDelegatorReward>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgWithdrawDelegatorRewardResponse>, Status>> + Send + 'async_trait, Global>>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, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator.
fn withdraw_validator_commission<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgWithdrawValidatorCommission>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgWithdrawValidatorCommissionResponse>, Status>> + Send + 'async_trait, Global>>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, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address.
fn fund_community_pool<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgFundCommunityPool>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgFundCommunityPoolResponse>, Status>> + Send + 'async_trait, Global>>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, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
FundCommunityPool defines a method to allow an account to directly fund the community pool.