watcher-ts/packages/uni-watcher/README.md
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

425 B

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