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