Trait abstract_interface::AdapterDeployer 
source · pub trait AdapterDeployer<Chain: CwEnv, CustomInitMsg: Serialize>: ContractInstance<Chain> + CwOrchInstantiate<Chain, InstantiateMsg = InstantiateMsg<CustomInitMsg>> + Uploadable + Sized {
    // Provided method
    fn deploy(
        &self,
        version: Version,
        custom_init_msg: CustomInitMsg,
        strategy: DeployStrategy,
    ) -> Result<(), AbstractInterfaceError> { ... }
}Expand description
Trait for deploying Adapters
Provided Methods§
sourcefn deploy(
    &self,
    version: Version,
    custom_init_msg: CustomInitMsg,
    strategy: DeployStrategy,
) -> Result<(), AbstractInterfaceError>
 
fn deploy( &self, version: Version, custom_init_msg: CustomInitMsg, strategy: DeployStrategy, ) -> Result<(), AbstractInterfaceError>
Deploys the adapter. If the adapter is already deployed, it will return an error.
Use DeployStrategy::Try if you want to deploy the adapter only if it is not already deployed.
Object Safety§
This trait is not object safe.