8000 [1.0.rc-1] Add the Recipient field for Auction and Marketplace Queries · Issue #402 · andromedaprotocol/andromeda-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[1.0.rc-1] Add the Recipient field for Auction and Marketplace Queries #402
Closed
@daniel-wehbe

Description

@daniel-wehbe

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0