watcher-ts/packages/uni-watcher
Ashwin Phatak 194d079d5e
Watch pool initialize event (#123)
* Script to init pool.

* Watch pool initialize event.
2021-07-06 20:05:40 +05:30
..
environments Save watched contracts in db. (#122) 2021-07-06 15:58:03 +05:30
src Watch pool initialize event (#123) 2021-07-06 20:05:40 +05:30
.eslintignore Uniswap watcher package with event schema (#113) 2021-07-01 16:42:37 +05:30
.eslintrc.json Uniswap watcher package with event schema (#113) 2021-07-01 16:42:37 +05:30
.gitignore Uniswap watcher package with event schema (#113) 2021-07-01 16:42:37 +05:30
index.ts Factory PoolCreated event handler (#120) 2021-07-06 16:55:11 +05:30
package.json Factory PoolCreated event handler (#120) 2021-07-06 16:55:11 +05:30
README.md Watch pool initialize event (#123) 2021-07-06 20:05:40 +05:30
tsconfig.json Uniswap watcher package with event schema (#113) 2021-07-01 16:42:37 +05:30

Uniswap Watcher

Run the server:

$ yarn server

Start watching the factory contract:

Example:

$ npx ts-node src/cli/watch-contract.ts --configFile environments/local.toml --address 0xfE0034a874c2707c23F91D7409E9036F5e08ac34 --kind factory --startingBlock 100