Commit Graph

8 Commits

Author SHA1 Message Date
86fe1c03af
Use GQL schema stitching to proxy queries to multiple watchers (#18)
* Use apollo federation router to proxy gql queries to multiple watchers

* Use graphql stitch to proxy requests to all watchers

* Load watcher endpoints and prefixes from json

* Transpile typescript and setup lint

* Change conflicting metrics ports

* Add comments
2023-05-02 18:14:30 +05:30
a44de433b7
Generate watchers with DB caching for array return types (#17)
* Generate LinearStarRelease watcher with array types DB caching

* Generate Polls watcher with array types DB caching

* Generate ConditionalStarRelease watcher with array types DB caching

* Generate Azimuth watcher with array types DB caching

* Generate Censures watcher with array types DB caching

* Fix array type in entity files for LinearStarRelease and Polls watchers
2023-04-27 17:37:54 +05:30
f02afc0ed3
Generate watcher with caching for multiple return type (#16) 2023-04-27 16:47:54 +05:30
9cee144676
Implement queries for multiple return type eth_calls (#12)
* Implement multiple return type for ConditionalStarRelease eth_call

* Generate ConditionalStarRelease watcher from codegen handling multiple return type

* Generate azimuth watcher from codegen handling multiple return type

* Upgrade watcher-ts package versions
2023-04-26 11:15:57 +05:30
a1cb80f8ef
Remove lint warnings from watchers (#13)
* Add eslint exceptions to azimuth-watcher

* Add eslint exceptions to censures-watcher

* Add eslint exceptions to claims-watcher

* Add eslint exceptions to conditional-star-release-watcher

* Add eslint exceptions to delegated-sending-watcher

* Add eslint exceptions to ecliptic-watcher

* Add eslint exceptions to linear-star-release-watcher

* Add eslint exceptions to polls-watcher

* Enable pre-commit lint

* Remove extra space in scripts

* Make husky pre-commit executable

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-24 12:06:48 +05:30
Nabarun Gogoi
1865c6418c
Add eth_call queries in watchers for basic array return types (#11)
* Add APGL license

* Set up pre-commit lint using husky

* Use husky version compliant with watcher-ts

* Tested azimuth-watcher with basic array support

* Tested censures-watcher with basic array support

* Tested claims-watcher with basic array support

* Tested conditional-star-release-watcher with basic array support

* Tested linear-star-release-watcher with basic array support

* Tested polls-watcher with basic array support

* Tested ecliptic-watcher with basic array support

* delegated-sending-watcher with basic array support

* Update watcher readme with unsupported queries

* Temporarily disable pre-commit lint

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-20 13:36:41 +05:30
Nabarun Gogoi
e4cfdd62f1
Add watcher in eth_call mode for DelegatedSending contract (#10)
* Create watcher in eth_call mode for Delegated Sending contract

* Update readme about unhandled queries

* Add queries giving error to unsupported list

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-13 09:48:48 +05:30
Nabarun Gogoi
811edc7c5f
Add watcher in eth_call mode for Azimuth contract (#4)
* Create watcher in eth_call mode for Azimuth contract

* Update readme about unhandled queries

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-12 12:29:45 +05:30