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
0bce143a00
Generate watcher with deployed DelegatedSending contract (#15) 2023-04-27 10:04:15 +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
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