mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
7f5229bf2f
* Remove test scripts, moved to vulcanize/uniswap-v3-core#watcher-ts. * Move uniswap analysis docs. * Watch pool burn and swap events. |
||
---|---|---|
.. | ||
environments | ||
src | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
index.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
Uniswap Watcher
Run the server:
$ yarn server
Start watching the factory contract:
Example:
$ yarn watch:contract --address 0xfE0034a874c2707c23F91D7409E9036F5e08ac34 --kind factory --startingBlock 100
Scripts
-
yarn server
Start the GraphQL server.
-
yarn watch:contract
Add contract to watch.
-
yarn lint
Lint files.
# Lint fix. $ yarn lint --fix