use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use cw_storage_plus::Map;
pub use hub_base::state::{Config, CONFIG, ENTRY_SEQ};
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct Entry {
pub id: u64,
pub address: String,
pub init_particle: String,
pub execute_particle: String,
pub query_particle: String,
pub version: String,
pub chain_id: String,
pub particle: String,
}
pub const LIST: Map<u64, Entry> = Map::new("list");