mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
a4f5d43bc5
* 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> |
||
---|---|---|
.. | ||
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