watcher-ts/packages/util
prathamesh0 51b200709b Generate IPLD blocks table and related GQL API (#260)
* Add ipld-blocks entity generation

* Populate ipld-blocks table

* Rename ipld-block entity and update after each event

* Move ipld-hook to hooks.ts

* Change IPLD block structure

* Add cid field in blocks

* Fetch prev. IPLDBlock for a contract

* GQL API to query IPLDBlock by CID

* Save cid in blocks in existing watchers

* Update codegen docs

* GQL API for getting last derived state (#3)

* GQL API for getting last derived state

* Rename query to getState

* Change query names to getState and getStateByCid

* Save BigInt as string

* Move function to prepare IPLDBlock to indexer

* Refactor IPLDBlock hook

* Add genesis hook

* Call post-block hook after a block is marked as complete

* Add IPLDBlock checkpointing

* Use queryRunner instead of a new repo for queries

* Add a query to get block in ipld-eth-client

* Get latest checkpoints for all contracts for checkpointing.

* Call post-block hook in a queue

* Pass server config to Indexer in watch-contract cli

Co-authored-by: nikugogoi <nabarun@deepstacksoft.com>
2021-12-28 16:08:04 +05:30
..
src Generate IPLD blocks table and related GQL API (#260) 2021-12-28 16:08:04 +05:30
test Tests for pruning abandonded branches (#223) 2021-08-20 12:26:37 +05:30
.eslintignore Handle pool initialize event (#127) 2021-07-09 12:38:25 +05:30
.eslintrc.json Job queue to process events (#137) 2021-07-14 18:00:26 +05:30
.gitignore Smoke test for uni-info-watcher (#184) 2021-08-04 18:57:44 +05:30
hardhat.config.ts Test for entities after TransferEvent (#196) 2021-08-10 12:09:00 +05:30
index.ts Handle bigint and decimal types for entities in watchers (#295) 2021-12-02 13:22:29 +05:30
package.json Fix job-runner stop and restart in uni-watcher (#319) 2021-12-17 11:57:09 +05:30
tsconfig.json Enable source maps for transpiled files (#242) 2021-09-07 16:01:15 +05:30