Commit Graph

21 Commits

Author SHA1 Message Date
Zach
e005b7e69d
Add runnable default query with info text (#23)
* defaultQuery

* add azimuth examples to default query
2023-08-02 15:19:47 +05:30
Zach
1c42500e2d Update README.md 2023-08-01 15:13:33 -04:00
Zach
d8da2de323 Update README.md 2023-08-01 15:13:33 -04:00
c420078ad5
Fix watcher endpoints check in gateway server (#19) 2023-05-04 15:08:51 +05:30
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
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
Nabarun Gogoi
d46511ae43
Create watcher in eth_call mode for Ecliptic contract (#9)
Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-12 19:18:39 +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
Nabarun Gogoi
203c1292ff
Add watcher in eth_call mode for LinearStarRelease contract (#7)
* Create watcher in eth_call mode for Linear Star Release contract

* Update readme about unhandled queries

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-12 15:03:06 +05:30
Nabarun Gogoi
1e11139c9a
Add watcher in eth_call mode for Censures contract (#6)
* Create watcher in eth_call mode for Censures contract

* Update readme about unhandled queries

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-12 12:39:30 +05:30
Nabarun Gogoi
8e14305364
Create watcher in eth_call mode for Claims contract (#5)
Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-12 12:35:08 +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
Nabarun Gogoi
7b857ec979
Add watcher for Polls contract (#1) (#1)
* Yarn init and setup lerna

* Generate watcher for Polls contract

* Add custom methods for unhandled types

* Fix methods to save and load values of unhandled type from local DB

* Set PropColMaps for custom methods

---------

Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
2023-04-11 10:16:05 +05:30
Dhruv Srivastava
a1e0ca0d24 Initial commit 2023-03-31 16:20:24 +05:30