pub trait BootMigrate<Chain: CwEnv> {
    type MigrateMsg: Serialize;

    // Required method
    fn migrate(
        &self,
        migrate_msg: &Self::MigrateMsg,
        new_code_id: u64
    ) -> Result<Chain::Response, BootError>;
}
Expand description

Smart Contract migrate endpoint

Required Associated Types§

Required Methods§

source

fn migrate( &self, migrate_msg: &Self::MigrateMsg, new_code_id: u64 ) -> Result<Chain::Response, BootError>

Implementors§

source§

impl<T: CwInterface + ContractInstance<Chain>, Chain: CwEnv> BootMigrate<Chain> for T