nabarun and Dhruv Srivastava
9e53b1a498
Upgrade dependency versions to remove vulnerabilities from dependabot ( #343 )
...
* Dependency patch updates
* Minor update @apollo/client 3.3.19 -> 3.7.10
* Minor update @nomiclabs/hardhat-ethers 2.0.2 -> 2.2.2
* Minor update @openzeppelin/contracts 4.3.2 -> 4.8.2
* Minor update @types/chai 4.2.19 -> 4.3.4
* Minor update decimal 10.3.1 -> 10.4.3
* Minor update @graphql-tools/utils 9.1.1 -> 9.2.1
* Minor update @graphql, graphql-ws, graphql-request
* Minor update yargs
* Minor update @types/node
* Minor update graph-ts
* Minor updates graphql-tools, multiaddr
* Update dependencies with minor updates
* Minor updates to eslint and related dependencies
* Update solidity compiler version for erc721-watcher
* Fix ESLint indent rule
---------
Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com >
2023-03-28 13:17:53 +05:30
nabarun and Dhruv Srivastava
ee63e33cc5
Upgrade Typescript and ESLint ( #337 ) ( #342 )
...
* Upgrade eslint and additional lint changes
* Upgrade typescript version to v5
---------
Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com >
2023-03-24 10:31:33 +04:00
prathamesh0
2417e3feb1
Fix linter warnings and dependencies ( #264 )
...
* Fix minor linting errors
* Fix CLI getters linting errors
* Fix resolvers template in codegen
* Fix dependencies
2022-11-25 20:03:58 +05:30
prathamesh0
f3c65cbd64
Refactor util code to be reused ( #241 )
...
* Ignore watch contract jobs in event processing complete handler
* Update job-queue config and handle errors on job completion hook
* Update graph decimal implementation
* Return generic type from method to read watcher config
* Export fill prefetch batch size default value
2022-11-18 16:29:06 +05:30
prathamesh0
f53371e17b
Accomodate GQL requests caching in code generator ( #237 )
...
* Accomodate GQL requests caching in code generator
* Add GQL API request queuing
2022-11-17 12:02:08 +05:30
prathamesh0
62c57d8005
Upgrade Apollo server to v3 ( #229 )
...
* Upgrade apollo server to v3 in eden-watcher
* Upgrade apollo server to v3 in other watchers and codegen
* Refactor common server code to util
* Pass express application object in the method to create server
* Remove unnecessary import
2022-11-16 11:14:54 +05:30
nabarun
f3230e3822
Change package name prefixes to cerc-io ( #177 )
2022-09-09 17:13:01 +05:30
prathamesh0 and nabarun
71d34331e9
Deprecate postgraphile usage ( #122 )
...
* Deprecate postgraphile usage
* Change endpoint in watcher config
* Remove subscription queries from eth-client
* Remove postgraphile config and client from watchers
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2022-06-08 12:13:52 +05:30
nabarun
9d95e49ec9
Change block processing to be pull based ( #288 )
...
* Implement pull based watcher for uni-watcher
* Fix same block processed multiple times
* Implement wait time for fetching block from config
* Use blockProgress event to fetch and process next block
* Rename utils index to misc
2021-10-26 17:36:21 +05:30
06bed1c13b
Enable source maps for transpiled files ( #242 )
...
* Rename .spec files to .test files.
* Enable source maps.
* Pass enable-source-maps flag for transpiled files.
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
Co-authored-by: prathamesh <prathamesh.musale0@gmail.com >
2021-09-07 16:01:15 +05:30
Ashwin Phatak and nabarun
2d493b3838
Run services from transpiled ES5 ( #239 )
...
* Transpile ES5 code.
* Use transpiled ES5 code in all packages.
* Refactor tracing-client to transpile ES5 code.
* Order scripts in package json.
* Update readme in packages with new scripts.
* Refactor code to use entity config programatically.
* Remove unused depencdencies.
* Use DEBUG environment for scripts.
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2021-09-02 10:27:56 +05:30
Ashwin Phatak and nabarun
fc4f49113b
Bug fixes from smoke testing ( #238 )
...
* Fix update for entity relations.
* Implement demo values in uni-info-watcher indexer code.
* amend
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2021-08-31 18:05:29 +05:30
Ashwin Phatak and nabarun
3ff2fdf11b
Refactoring, extract uni-info-watcher GQL client ( #226 )
...
* Refactor common code in uni-watcher and uni-info-watcher.
* Implement client.ts in uni-info-watcher for queries and use in smoke-test.
* Disable cache in graphql client.
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2021-08-24 11:55:29 +05:30
Ashwin Phatak and prathamesh
a7ec3d8da8
Add APGL license and copyright notices ( #212 )
...
* Add license & copyright declarations for add-watcher.
* Add copyright declarations for cache.
* Add copyright declarations for erc20-watcher.
* Add copyright declarations for ipld-eth-client.
* Add copyright declarations for tracing-client.
* Add copyright declarations for uni-watcher.
* Add copyright declarations for solidity-mapper.
* Add copyright declarations for uni-info-watcher.
* Add copyright declarations for util.
* Add copyright declarations for lighthouse-watcher.
* Change license identifier in .sol files.
Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com >
2021-08-12 15:28:13 +05:30
Ashwin Phatak and nabarun
73e0475dfa
Misc changes for uni-info-watcher resolvers ( #183 )
...
* Implement transaction from to set entity origin field.
* Add all transaction fields specified in schema and add delay in uni-info block processing.
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2021-08-04 18:42:59 +05:30
Ashwin Phatak
70e88b1004
Block filler for uni-watcher. ( #140 )
2021-07-15 13:10:07 +05:30
Ashwin Phatak
7151521c3b
Get uniswap events in block range ( #139 )
...
* Get events in block range.
* Get uniswap events in block range.
2021-07-15 10:48:06 +05:30
Ashwin Phatak
03ceb95a1b
Job queue to process events ( #137 )
...
* Job queue to process events.
* Event queue processing changes.
2021-07-14 18:00:26 +05:30
Ashwin Phatak and nabarun
61f211f2d5
Handle pool initialize event ( #127 )
...
* Move getConfig to util package.
* Handle Pool initialize event.
* Update Bundle entity ethPriceUSD.
* Update Pool day and hour data.
* Update token derivedETH and complete handleInitialize.
Co-authored-by: nabarun <nabarun@deepstacksoft.com >
2021-07-09 12:38:25 +05:30
Ashwin Phatak
a654b79df3
Address watcher block filler ( #105 )
...
* Address watcher block filler.
* Update docs.
2021-06-28 17:12:53 +05:30
Ashwin Phatak
e9880693ad
Fill task queue for block range. ( #90 )
2021-06-25 17:56:58 +05:30
Ashwin Phatak
07805b6ae9
Tracing job queue ( #89 )
...
* eth-client API to get transaction in block.
* Job queue to process tracing requests.
* Request traces from job queue runner.
* Max trace completion lag time config for downstream events.
2021-06-25 16:35:47 +05:30
Ashwin Phatak
2adc5e9c34
Push address events to downstream subscribers ( #85 )
...
* Push address event to downstream subscribers.
* Get addresses from trace - tests and fixes.
2021-06-22 14:04:48 +05:30
Ashwin Phatak
38a189d74a
Watch tx to trigger indexing. ( #80 )
2021-06-21 18:55:13 +05:30
Ashwin Phatak
eea69fe4d4
Indexing to get traces given address ( #79 )
...
* Build reverse index from address to traces.
* Create reverse index from address to traces.
2021-06-21 15:38:36 +05:30
Ashwin Phatak
6a33c704b8
Basic GQL API to get traces, save to db. ( #76 )
2021-06-18 17:04:02 +05:30
Ashwin Phatak
8507bc8b9c
Address watcher package scaffolding ( #75 )
...
* Rename erc20 watcher folder.
* Update repo URLs.
* Address watcher package scaffolding.
2021-06-17 17:56:38 +05:30