mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
4f8f1d8cd7
* Remove fields no longer present in schema. * Refactor code to work with log_cids change in eth-server. * Refactor process event to save events from logs. * Use constants for erc20 event names. * Implement watch blocks in erc20-watcher similar to uni-watcher. * Moved common methods to util. * Implement eventsInRange query in erc20-watcher. * Filter unknown event in database query. * Change dependencies version to be same in all packages. Co-authored-by: nabarun <nabarun@deepstacksoft.com>
85 lines
3.2 KiB
JSON
85 lines
3.2 KiB
JSON
{
|
|
"name": "@vulcanize/erc20-watcher",
|
|
"version": "0.1.0",
|
|
"description": "ERC20 Watcher",
|
|
"private": true,
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"test": "mocha -r ts-node/register src/**/*.test.ts",
|
|
"build": "tsc",
|
|
"server": "DEBUG=vulcanize:* node --enable-source-maps dist/server.js",
|
|
"server:dev": "DEBUG=vulcanize:* nodemon --watch src src/server.ts",
|
|
"server:mock": "MOCK=1 nodemon src/server.ts",
|
|
"job-runner": "DEBUG=vulcanize:* node --enable-source-maps dist/job-runner.js",
|
|
"job-runner:dev": "DEBUG=vulcanize:* nodemon --watch src src/job-runner.ts",
|
|
"watch:contract": "node --enable-source-maps dist/cli/watch-contract.js",
|
|
"watch:contract:dev": "ts-node src/cli/watch-contract.ts",
|
|
"fill": "DEBUG=vulcanize:* node dist/fill.js",
|
|
"fill:dev": "DEBUG=vulcanize:* ts-node src/fill.ts",
|
|
"token:deploy": "hardhat --network localhost token-deploy",
|
|
"token:deploy:docker": "hardhat --network docker token-deploy",
|
|
"token:transfer": "hardhat --network localhost token-transfer",
|
|
"token:transfer:docker": "hardhat --network docker token-transfer",
|
|
"token:approve": "hardhat --network localhost token-approve",
|
|
"token:approve:docker": "hardhat --network docker token-approve",
|
|
"token:transfer-from": "hardhat --network localhost token-transfer-from",
|
|
"token:transfer-from:docker": "hardhat --network docker token-transfer-from",
|
|
"block:latest": "hardhat --network localhost block-latest",
|
|
"block:latest:docker": "hardhat --network docker block-latest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vulcanize/watcher-ts.git"
|
|
},
|
|
"author": "",
|
|
"license": "AGPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/vulcanize/watcher-ts/issues"
|
|
},
|
|
"homepage": "https://github.com/vulcanize/watcher-ts#readme",
|
|
"dependencies": {
|
|
"@apollo/client": "^3.3.19",
|
|
"@types/lodash": "^4.14.168",
|
|
"@vulcanize/cache": "^0.1.0",
|
|
"@vulcanize/ipld-eth-client": "^0.1.0",
|
|
"@vulcanize/solidity-mapper": "^0.1.0",
|
|
"@vulcanize/util": "^0.1.0",
|
|
"apollo-server-express": "^2.25.0",
|
|
"apollo-type-bigint": "^0.1.3",
|
|
"debug": "^4.3.1",
|
|
"ethers": "^5.2.0",
|
|
"express": "^4.17.1",
|
|
"graphql": "^15.5.0",
|
|
"graphql-import-node": "^0.0.4",
|
|
"graphql-request": "^3.4.0",
|
|
"json-bigint": "^1.0.0",
|
|
"lodash": "^4.17.21",
|
|
"reflect-metadata": "^0.1.13",
|
|
"typeorm": "^0.2.32",
|
|
"yargs": "^17.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@ethersproject/abi": "^5.3.0",
|
|
"@nomiclabs/hardhat-ethers": "^2.0.2",
|
|
"@nomiclabs/hardhat-waffle": "^2.0.1",
|
|
"@openzeppelin/contracts": "^4.3.1",
|
|
"@types/express": "^4.17.11",
|
|
"@types/json-bigint": "^1.0.0",
|
|
"@types/yargs": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
"@typescript-eslint/parser": "^4.25.0",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-semistandard": "^15.0.1",
|
|
"eslint-config-standard": "^16.0.3",
|
|
"eslint-plugin-import": "^2.23.3",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"hardhat": "^2.3.0",
|
|
"mocha": "^8.4.0",
|
|
"nodemon": "^2.0.7"
|
|
}
|
|
}
|