Skip to content

Commit

Permalink
Update stage related query responses for WL MT
Browse files Browse the repository at this point in the history
  • Loading branch information
MightOfOaks committed Nov 6, 2024
1 parent dc8d980 commit 4585c9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions contracts/whitelists/tiered-whitelist-flex/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ pub const ADMIN_LIST: Item<AdminList> = Item::new("admin_list");
pub const CONFIG: Item<Config> = Item::new("config");

pub const WHITELIST_STAGES: Map<(u32, Addr), u32> = Map::new("wl_stages");

pub const MEMBER_COUNT: Map<u32, u32> = Map::new("member_count");
4 changes: 2 additions & 2 deletions contracts/whitelists/tiered-whitelist-merkletree/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ pub struct CanExecuteResponse {

#[cw_serde]
pub struct StageResponse {
pub stage_id: u32,
pub stage: Stage,
pub merkle_root: String,
}

#[cw_serde]
pub struct StagesResponse {
pub stages: Vec<Stage>,
pub merkle_roots: Vec<String>,
pub stages: Vec<StageResponse>,
}

0 comments on commit 4585c9b

Please sign in to comment.