Commit Graph

7 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
787965737d
Remove methods from imported contracts that are not inherited (#14)
* Remove methods from imported contracts that are not inherited in ConditionalStarRelease

* Remove methods from imported contracts that are not inherited in Censures

* Remove methods from imported contracts that are not inherited in Claims

* Remove methods from imported contracts that are not inherited in LinearStarRelease

* Code refactor changes in Polls watcher from codegen

* Remove methods from imported contracts that are not inherited in DelegatedSending

* Remove methods from imported contracts that are not inherited in Ecliptic
2023-04-27 09:37:41 +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
2640b645bf
Add watcher in eth_call mode for ConditionalStarRelease contract (#8)
* Create watcher in eth_call mode for Conditional Star Release contract

* Add methods for unhandled types in conditional-star-release watcher

* Update readme about unhandled queries

* Remove already supported queries from readme

---------

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