We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d549db6 commit 95bca8eCopy full SHA for 95bca8e
packages/indexer-common/src/indexing-fees/agreement-monitor.ts
@@ -43,14 +43,14 @@ const INDEXING_AGREEMENTS_QUERY = gql`
43
`
44
45
export async function fetchCollectableAgreements(
46
- networkSubgraph: SubgraphClient,
+ subgraphClient: SubgraphClient,
47
indexerAddress: string,
48
): Promise<SubgraphIndexingAgreement[]> {
49
const all: SubgraphIndexingAgreement[] = []
50
let lastId = ''
51
52
for (;;) {
53
- const result = await networkSubgraph.query(INDEXING_AGREEMENTS_QUERY, {
+ const result = await subgraphClient.query(INDEXING_AGREEMENTS_QUERY, {
54
indexer: indexerAddress.toLowerCase(),
55
lastId,
56
})
0 commit comments