Skip to content

Commit

Permalink
add missing query info and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-c-child committed Feb 10, 2024
1 parent 5b6b4fb commit 9172e55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/marketplace/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ pub enum QueryMsg {
current_time: Timestamp,
token_id: TokenId,
},
/// Get renewal price for multiple names
#[returns(Vec<(TokenId, Coin, Option<Bid>)>)]
AskRenewalPrices {
current_time: Timestamp,
token_ids: Vec<TokenId>,
},
/// Get data for a specific bid
#[returns(Option<Bid>)]
Bid { token_id: TokenId, bidder: Bidder },
Expand Down

0 comments on commit 9172e55

Please sign in to comment.