Remove Uniswap watchers and related artifacts (#163)

* Remove Uniswap watchers and related code

* Remove Uniswap artifacts from graph-node

* Remove Uniswap artifacts from graph-test-watcher
This commit is contained in:
prathamesh0
2022-08-17 14:04:20 +05:30
committed by GitHub
parent bc1c267813
commit 80682e2755
123 changed files with 6 additions and 26144 deletions
@@ -1,10 +0,0 @@
import { PoolCreated } from '../../generated/Factory/Factory';
import { Pool as PoolTemplate } from '../../generated/templates';
import { log } from '@graphprotocol/graph-ts';
export function handlePoolCreated (event: PoolCreated): void {
log.debug('PoolCreated event', []);
// create the tracked contract based on the template
PoolTemplate.create(event.params.pool);
}
@@ -1,14 +0,0 @@
import { dataSource, ethereum, log } from '@graphprotocol/graph-ts';
import { Initialize } from '../../generated/templates/Pool/Pool';
export function handleInitialize (event: Initialize): void {
log.debug('event.address: {}', [event.address.toHexString()]);
log.debug('event.params.sqrtPriceX96: {}', [event.params.sqrtPriceX96.toString()]);
log.debug('event.params.tick: {}', [event.params.tick.toString()]);
}
export function handleBlock (block: ethereum.Block): void {
log.debug('block info: {}', [block.number.toString()]);
log.debug('dataSource address: {}', [dataSource.address().toHex()]);
}