pub trait Msg: Send + Sync + 'static {
    // Required method
    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 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 x/auth module parameters. The authority defaults to the x/gov module account.

Since: cosmos-sdk 0.47

Implementors§