pub trait BootInstantiate<Chain: CwEnv> {
    type InstantiateMsg: Serialize;

    // Required method
    fn instantiate(
        &self,
        instantiate_msg: &Self::InstantiateMsg,
        admin: Option<&Addr>,
        coins: Option<&[Coin]>
    ) -> Result<Chain::Response, BootError>;
}
Expand description

Smart Contract instantiate endpoint

Required Associated Types§

Required Methods§

source

fn instantiate( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: Option<&[Coin]> ) -> Result<Chain::Response, BootError>

Implementors§