Trait WasmExecute

Source
pub trait WasmExecute {
    type E: Serialize;

    // Required method
    fn exec<'a, 'life0, 'life1, 'async_trait>(
        &'life0 self,
        execute_msg: &'a Self::E,
        coins: Option<&'life1 [Coin]>,
    ) -> Pin<Box<dyn Future<Output = Result<CosmTxResponse, CosmScriptError>> + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Smart Contract execute endpoint

Required Associated Types§

Required Methods§

Source

fn exec<'a, 'life0, 'life1, 'async_trait>( &'life0 self, execute_msg: &'a Self::E, coins: Option<&'life1 [Coin]>, ) -> Pin<Box<dyn Future<Output = Result<CosmTxResponse, CosmScriptError>> + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§