pub trait StateWriteExt: StateWrite {
    // Provided methods
    fn put_community_pool_params(&mut self, params: CommunityPoolParameters) { ... }
    fn community_pool_deposit<'life0, 'async_trait>(
        &'life0 mut self,
        value: Value
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
    fn community_pool_withdraw<'life0, 'async_trait>(
        &'life0 mut self,
        value: Value
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
}
Available on crate feature component only.

Provided Methods§

source

fn put_community_pool_params(&mut self, params: CommunityPoolParameters)

Writes the provided Community Pool parameters to the JMT.

source

fn community_pool_deposit<'life0, 'async_trait>( &'life0 mut self, value: Value ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

source

fn community_pool_withdraw<'life0, 'async_trait>( &'life0 mut self, value: Value ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> StateWriteExt for T
where T: StateWrite + ?Sized,