Skip to content

Commit

Permalink
Merge pull request #23 from aavegotchi/feat/UM-6378-category-bids
Browse files Browse the repository at this point in the history
feat: add category to bid
  • Loading branch information
cinnabarhorse authored Jun 28, 2024
2 parents 14054b7 + 93a5615 commit 7c7a1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type Bid @entity {

bidMultiplier: BigInt!
auctionCreatedAt: BigInt! # timestamp when auction was created
category: Int!
presetId: Int
}

Expand Down
1 change: 1 addition & 0 deletions src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function getOrCreateBid(

bid.bidMultiplier = auction.bidMultiplier;
bid.auctionCreatedAt = auction.createdAt!;
bid.category = auction.category;
bid.presetId = auction.presetId;
}

Expand Down

0 comments on commit 7c7a1a5

Please sign in to comment.