Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add range bids for trait bidding #255

Open
shanev opened this issue Oct 19, 2022 · 0 comments
Open

Add range bids for trait bidding #255

shanev opened this issue Oct 19, 2022 · 0 comments

Comments

@shanev
Copy link
Member

shanev commented Oct 19, 2022

Allow placing a "range bid" for 2-25 tokens at once. This is like a collection bid but across a range of token ids. It can be used for a trait bidding feature.

pub struct Bid {
    pub collection: Addr,
    pub id: u64,
    pub token_id: Vec<TokenId>,
    pub bidder: Addr,
    pub price: Uint128,
    pub finders_fee_bps: Option<u64>,
    pub expires_at: Timestamp,
}

Key: (collection, id, bidder)

Would require an auto-incrementing id to index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant