Skip to content

Commit

Permalink
add allowlist fields
Browse files Browse the repository at this point in the history
  • Loading branch information
wenfix committed Feb 5, 2025
1 parent 522d9a3 commit a3c061b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/small-dancers-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@axis-finance/subgraph-client": patch
"@axis-finance/sdk": patch
---

add support for fetching auctions by base token address
5 changes: 5 additions & 0 deletions packages/subgraph-client/queries/get-auctions.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ query getBatchAuctionLotsByBaseTokenAddress($baseTokenAddress: String!) {
batchAuctionLots(where: { baseToken: $baseTokenAddress }) {
...BatchCommonFields
...BatchAuctionFields
info {
allowlist {
values
}
}
}
}

Expand Down
10 changes: 8 additions & 2 deletions packages/subgraph-client/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7534,15 +7534,16 @@ export type GetBatchAuctionLotsByBaseTokenAddressQuery = {
lastUpdatedDate: string;
lastUpdatedTransactionHash: string;
maxBidId: string;
aborted?: { date: string } | null;
cancelled?: { date: string } | null;
info?: {
key?: string | null;
name?: string | null;
description?: string | null;
tagline?: string | null;
allowlist: Array<{ values: Array<string> }>;
links: Array<{ linkId: string; url: string }>;
} | null;
aborted?: { date: string } | null;
cancelled?: { date: string } | null;
linearVesting?: {
id: string;
startDate: string;
Expand Down Expand Up @@ -7855,6 +7856,11 @@ export const GetBatchAuctionLotsByBaseTokenAddressDocument = `
batchAuctionLots(where: {baseToken: $baseTokenAddress}) {
...BatchCommonFields
...BatchAuctionFields
info {
allowlist {
values
}
}
}
}
${BatchCommonFieldsFragmentDoc}
Expand Down

0 comments on commit a3c061b

Please sign in to comment.