use crate::base::Handler;
use cosmwasm_std::{DepsMut, Env, MessageInfo, Response};
use schemars::JsonSchema;
use serde::Serialize;
pub trait InstantiateEndpoint: Handler {
type InstantiateMsg: Serialize + JsonSchema;
/// Handler for the Instantiate endpoint.
fn instantiate(
self,
deps: DepsMut,
env: Env,
info: MessageInfo,
msg: Self::InstantiateMsg,
) -> Result<Response, Self::Error>;
}