Closed
Description
Description
We recently added a recipient field for Auction and Marketplace StartAuction and StartSale. We need to add this field to the AuctionStateResponse and SaleStateResponse structs so it is returned in the queries:
pub struct AuctionStateResponse {
pub start_time: Expiration,
pub end_time: Expiration,
pub high_bidder_addr: String,
pub high_bidder_amount: Uint128,
pub auction_id: Uint128,
pub coin_denom: String,
pub whitelist: Option<Vec<Addr>>,
pub min_bid: Option<Uint128>,
pub is_cancelled: bool,
pub owner: String,
}
pub struct SaleStateResponse {
pub sale_id: Uint128,
pub coin_denom: String,
pub price: Uint128,
pub status: Status,
pub start_time: Expiration,
pub end_time: Expiration,
}
Acceptance Criteria
- ADOs return the Recipient field when sale state is queried