Skip to content

Commit

Permalink
feat(dataverse): add basic internal state
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Nov 16, 2023
1 parent 490e0e4 commit 1c05850
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/okp4-dataverse/src/state.rs
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
use cw_storage_plus::Item;
use serde::{Deserialize, Serialize};

pub const DATAVERSE: Item<'_, Dataverse> = Item::new("dataverse");

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)]
pub struct Dataverse {
pub name: String,
pub triplestore_address: String,
}

0 comments on commit 1c05850

Please sign in to comment.