Ashwin Phatak
26965f372f
Handle reorgs upto known canonical block hash ( #157 )
...
* Handle reorgs upto known canonical block hash.
* Process block events strictly in order.
* Support filling old blocks, process in-order.
* Always publish block progress.
2021-07-22 16:32:39 +05:30
Ashwin Phatak
34de3d51b3
Handle collect event ( #158 )
...
* Handle NFPM Collect event.
* Handle NFPM Transfer event.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-22 11:45:21 +05:30
Ashwin Phatak
0d39363467
Move uni-info-watcher event procesing to job queue. ( #156 )
...
* Move event procesing to job queue.
* Store block properties in blocks table.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-22 10:02:06 +05:30
Ashwin Phatak
95486d6553
Save block parent hash ( #155 )
...
* Save block parent hash.
* Store block properties in blocks table.
2021-07-21 13:00:26 +05:30
Ashwin Phatak
c1ef96ba2e
Handle Position Manager DecreaseLiquidity event. ( #148 )
...
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-19 10:43:29 +05:30
Ashwin Phatak
3477366458
Handle increase liquidity event ( #143 )
...
* Implement handler for NFPM IncreaseLiquidity event.
* Get contract values by querying uni-watcher.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-16 18:34:51 +05:30
Ashwin Phatak
ae13edb99a
Update docs. ( #142 )
2021-07-16 16:35:49 +05:30
Ashwin Phatak
29c8c1f80f
Implement event watchers for NonFungiblePositionManager events. ( #141 )
...
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-15 17:27:10 +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
ecfa3ed386
Handle swap event ( #138 )
...
* Create Swap entity.
* Update day and hour interval data in Swap event handler.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-15 10:45:35 +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
a4f5d43bc5
Extra info for handling events (tx, block) ( #136 )
...
* Extra info in events for downstream processing.
* Changes in uni-info-watcher after change in uni-watcher event schema.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-13 17:32:57 +05:30
Ashwin Phatak
208b0f7f4f
Handle Pool burn event. ( #134 )
...
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-13 12:36:10 +05:30
Ashwin Phatak
3a6af9f9cc
Handle mint event ( #130 )
...
* Handle mint event and update Factory fields.
* Integrate decimal.js with typeorm.
* Update transaction in Mint event.
* Update day and hour data.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-13 12:01:54 +05:30
Ashwin Phatak
d71557e963
Event processing/sync changes to maintain processing order. ( #131 )
2021-07-12 17:06:33 +05:30
Ashwin Phatak
69c68b365f
Include txHash in event sent to GQL subscribers. ( #129 )
2021-07-09 17:01:36 +05:30
Ashwin Phatak
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
7f5229bf2f
Watch pool burn and swap events ( #128 )
...
* Remove test scripts, moved to vulcanize/uniswap-v3-core#watcher-ts.
* Move uniswap analysis docs.
* Watch pool burn and swap events.
2021-07-09 12:30:50 +05:30
Ashwin Phatak
538e4b7591
Watch pool mint event. ( #125 )
2021-07-08 17:40:40 +05:30
Ashwin Phatak
f7df56bb75
Handle pool created event ( #124 )
...
* Update Token entities.
* Complete handlePoolCreated in events.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-07 11:10:10 +05:30
Ashwin Phatak
194d079d5e
Watch pool initialize event ( #123 )
...
* Script to init pool.
* Watch pool initialize event.
2021-07-06 20:05:40 +05:30
Ashwin Phatak
aec9281fb8
Factory PoolCreated event handler ( #120 )
...
* Setup handler for PoolCreated event.
* Create Pool entity.
* Subscribe to uni-watcher for watching events.
* Refactor code to create GraphQLClient in ipld-eth-client.
Co-authored-by: nikugogoi <95nikass@gmail.com>
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2021-07-06 16:55:11 +05:30
Ashwin Phatak
9c60895352
Save watched contracts in db. ( #122 )
2021-07-06 15:58:03 +05:30
Ashwin Phatak
0b6a33561b
Include block number in GQL event. ( #121 )
2021-07-06 11:04:08 +05:30
Ashwin Phatak
8d2a4c6b14
Watch for Factory PoolCreated event. ( #119 )
2021-07-05 16:15:54 +05:30
Ashwin Phatak
1b6d4511f7
Minimal schema required by info-watcher. ( #115 )
2021-07-02 12:47:15 +05:30
Ashwin Phatak
5de555a4e5
Uniswap watcher package with event schema ( #113 )
...
* Uniswap watcher package skeleton.
* Uniswap events.
2021-07-01 16:42:37 +05:30