Commit Graph

43 Commits

Author SHA1 Message Date
08f08316cb Add generated docs (#2)
Part of https://www.notion.so/Implement-stacks-1b5a6b22d472806a82f5dafed6955138

Reviewed-on: #2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-06-11 08:46:56 +00:00
85be626f1c Add an example to query keys for a point (#1)
Part of https://www.notion.so/Subscription-API-for-scry-bindings-1c2a6b22d47280a98bb2e2d06496ac89

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-06-02 11:31:35 +00:00
53be2a87c4
Update watchers to add event name filter in eventsInRange GQL query (#50)
* Update azimuth-watcher with latest watcher-ts version

* Update all watchers for event name filter

* Upgrade package version
2025-03-20 21:20:32 +05:30
4927f2fba6
Update package versions to handle missing totalDifficulty in block data (#49)
* Update package versions to handle missing totalDifficulty

* Upgrade package versions
2025-03-11 15:43:37 +05:30
prathamesh0
92f496a23f
Upgrade watcher packages for delayed block processing (#48)
* Upgrade dependencies for delayed block processing

* Update package versions

* Upgrade dependencies for block processing offset option

* Upgrade watcher packages version to 0.2.98

---------

Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
2024-06-13 14:35:34 +05:30
prathamesh0
14fd03d097
Regenerate watchers for updated GQL query metrics (#47)
* Regenerate azimuth watcher

* Regenerate censures watcher

* Regenerate claims watcher

* Regenerate conditional-star-release watcher

* Regenerate delegated-sending watcher

* Regenerate ecliptic watcher

* Regenerate linear-star-release watcher

* Regenerate polls watcher

* Update README

* Update package versions

* Update watcher repo URLs
2024-06-07 15:47:00 +05:30
4a3c0a2cd1
Upgrade watcher packages to version 0.2.92 for exposing release version and commit hash metrics (#45)
* Upgrade packages to latest watcher-ts version 0.2.92

* Upgrade version in watchers
2024-05-31 11:41:51 +05:30
prathamesh0
be0dbc1701
Upgrade watcher-ts packages to configure failover RPC endpoints (#44)
* Upgrade watcher-ts dependencies

* Update config and add an indexer method to switch clients

* Update indexer and database methods

* Update package version

* Update event parsing in watcher indexer
2024-05-22 10:33:25 +05:30
prathamesh0
ffd8baa4bc
Upgrade watcher-ts packages (#43) 2023-12-19 17:35:52 +05:30
0b222eea77
Upgrade watcher package versions to 0.2.77 (#42)
* Upgrade watcher package versions

* Upgrade watcher versions
2023-11-27 10:08:38 +05:30
prathamesh0
a63368eab6
Add instructions to generate the watchers (#41) 2023-11-24 15:14:09 +05:30
5402445f44
Update watchers with fix for historical processing sync status update (#40)
* Update azimuth watcher with fix for historical processing sync status

* Upgrade packages in all watchers

* Upgrade package versions to 0.2.76

* Update watcher version to 0.1.2
2023-11-24 12:44:09 +05:30
prathamesh0
fb76365f4e
Change back GQL endpoint for gateway server to /graphql (#39) 2023-11-23 18:04:45 +05:30
prathamesh0
581e7d76f9
Change GQL endpoint for gateway server from /graphql to / (#38) 2023-11-23 16:15:57 +05:30
prathamesh0
4b1c8c6c90
Regenerate polls-watcher with latest changes in watcher-ts and run in active mode (#37)
* Regenerate polls watcher

* Update config data

* Update README for port

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 11:30:42 +05:30
prathamesh0
a7cffce8fb
Regenerate linear-star-release-watcher with latest changes in watcher-ts and run in active mode (#36)
* Regenerate linear star release watcher

* Update config data

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:43:34 +05:30
prathamesh0
ee0d059090
Regenerate ecliptic-watcher with latest changes in watcher-ts and run in active mode (#35)
* Regenerate ecliptic watcher

* Update config data

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:42:37 +05:30
prathamesh0
8b236ed7ed
Regenerate delegated-sending-watcher with latest changes in watcher-ts and run in active mode (#34)
* Regenerate delegated sending watcher

* Update config data

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:41:35 +05:30
prathamesh0
f987e126fb
Regenerate conditional-star-release-watcher with latest changes in watcher-ts and run in active mode (#33)
* Regenerate conditional star release watcher

* Update config data

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:38:22 +05:30
prathamesh0
facde5d370
Regenerate claims-watcher with latest changes in watcher-ts and run in active mode (#32)
* Regenerate claims watcher

* Update config data

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:29:42 +05:30
ba4ed24296
Regenerate censures-watcher with latest changes in watcher-ts and run in active mode (#31)
* Regenerate censures watcher

* Update config data

* Update ports in config

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-23 10:18:27 +05:30
51d909ac6c
Regenerate azimuth-watcher with latest changes in watcher-ts and run in active mode (#30)
* Generate azimuth watcher

* Add block range check in eventsInRange query

* Add more fields in sync status query

* Update config file

* Upgrade watcher-ts packages to 0.2.74

* Avoid hoisting packages to prevent dependency issues

* Set enableState to false

* Change server port to 3001

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-11-22 13:43:26 +05:30
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