Trait WasmMigrate

Source
pub trait WasmMigrate {
    type M: Serialize;

    // Required method
    fn migrate<'life0, 'async_trait>(
        &'life0 self,
        migrate_msg: Self::M,
        new_code_id: u64,
    ) -> Pin<Box<dyn Future<Output = Result<CosmTxResponse, CosmScriptError>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Smart Contract migrate endpoint

Required Associated Types§

Required Methods§

Source

fn migrate<'life0, 'async_trait>( &'life0 self, migrate_msg: Self::M, new_code_id: u64, ) -> Pin<Box<dyn Future<Output = Result<CosmTxResponse, CosmScriptError>> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§