pub trait InstantiateEndpoint: Handler {
    type InstantiateMsg: Serialize + JsonSchema;

    // Required method
    fn instantiate(
        self,
        deps: DepsMut<'_>,
        env: Env,
        info: MessageInfo,
        msg: Self::InstantiateMsg
    ) -> Result<Response, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn instantiate( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: Self::InstantiateMsg ) -> Result<Response, Self::Error>

Handler for the Instantiate endpoint.

Implementors§