Commit Graph

11 Commits

Author SHA1 Message Date
805a8b2097 Update GQL schema types with where clause on plural fields (#8)
Part of [Support arguments on nested GQL query selections](https://www.notion.so/Support-arguments-on-nested-GQL-query-selections-6731b85910894a2bb7496ef7a44044cc)
Requires https://github.com/cerc-io/watcher-ts/pull/531

Reviewed-on: #8
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-08-02 08:47:27 +00:00
f9a8227719 Update GQL schema types with arguments on plural fields (#7)
Part of [Support arguments on nested GQL query selections](https://www.notion.so/Support-arguments-on-nested-GQL-query-selections-6731b85910894a2bb7496ef7a44044cc)

Queries like the following are supported now:

```gql
query($userId: ID!)  {
  user(id: $userId) {
    orderCount
    orders(orderBy: createdAt, orderDirection: desc) {
      id
      orderId
      inputAmount
      status
      createdAt
    }
  }
}

query($userId: ID!)  {
  user(id: $userId) {
    transactions(orderBy: createdAt, orderDirection: desc) {
      id
      currency
      maturity
      side
      executionPrice
      futureValue
      amount
      averagePrice
      createdAt
      feeInFV
      user {
        id
      }
    }
  }
}
```

Reviewed-on: #7
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-08-01 13:40:27 +00:00
ea4d3d6b1a Upgrade watcher package version for handling multiple data sources in subgraph config (#6)
Part of [Generate secured-finance subgraph watcher with codegen](https://www.notion.so/Generate-secured-finance-subgraph-watcher-with-codegen-2923413e0af54ea787c5435d6966f3bb)

Reviewed-on: #6
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-07-19 12:38:22 +00:00
cc565c6576 Upgrade watcher packages to version 0.2.103 (#5)
Part of [Investigate subgraph watchers lagging behind head](https://www.notion.so/Investigate-subgraph-watchers-lagging-behind-head-01b72294ca8e4f658e4c0e86b36d19e2)

- Export metric for total ETH RPC count
- Fix switching endpoint on max new block retries when `blockProcessingOffset` is set to some value

Reviewed-on: #5
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-07-15 08:11:20 +00:00
ef43137c8b Changes for supporting multiple data sources for a contract address (#4)
Part of [Generate secured-finance subgraph watcher with codegen](https://www.notion.so/Generate-secured-finance-subgraph-watcher-with-codegen-2923413e0af54ea787c5435d6966f3bb)

Reviewed-on: #4
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-06-26 12:47:31 +00:00
6d76de44e4 Update subgraph build with mainnet contracts and start blocks (#3)
Part of [Part of Generate secured-finance subgraph watcher with codegen](https://www.notion.so/Generate-secured-finance-subgraph-watcher-with-codegen-2923413e0af54ea787c5435d6966f3bb)

-  Upgrade watcher package versions for event processing fix with null value in postgres text data type

Reviewed-on: #3
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2024-06-14 08:32:34 +00:00
7d04a5eda1 Regenerate watcher with latest watcher-ts and subgraph (#2)
Part of [Generate secured-finance subgraph watcher with codegen](https://www.notion.so/Generate-secured-finance-subgraph-watcher-with-codegen-2923413e0af54ea787c5435d6966f3bb)

Reviewed-on: #2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-14 04:37:27 +00:00
0eb30a818a Update source subgraph link in readme (#1)
Part of [Generate secured-finance subgraph watcher with codegen](https://www.notion.so/Generate-secured-finance-subgraph-watcher-with-codegen-2923413e0af54ea787c5435d6966f3bb)

Reviewed-on: #1
2024-05-30 11:13:33 +00:00
neeraj
7295a7a8ab Update environments 2024-05-22 15:29:51 +05:30
neeraj
0df1480c51 Generate secured finance watcher 2024-05-22 15:25:36 +05:30
Nabarun Gogoi
e927708fd3
Initial commit 2024-05-21 17:14:12 +05:30