From 854f814379efe13724864dc09d2d31672995cffe Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 6 Jun 2024 16:30:34 +0530 Subject: [PATCH 1/5] Generate sushiswap v2 watcher --- packages/v2-watcher/.eslintignore | 2 + packages/v2-watcher/.eslintrc.json | 28 + packages/v2-watcher/.gitignore | 8 + packages/v2-watcher/.husky/pre-commit | 4 + packages/v2-watcher/.npmrc | 1 + packages/v2-watcher/LICENSE | 661 +++++ packages/v2-watcher/README.md | 212 ++ packages/v2-watcher/environments/local.toml | 109 + packages/v2-watcher/package.json | 77 + .../v2-watcher/src/artifacts/Factory.json | 195 ++ packages/v2-watcher/src/artifacts/Pair.json | 715 +++++ .../src/cli/checkpoint-cmds/create.ts | 44 + .../src/cli/checkpoint-cmds/verify.ts | 40 + packages/v2-watcher/src/cli/checkpoint.ts | 39 + packages/v2-watcher/src/cli/export-state.ts | 38 + packages/v2-watcher/src/cli/import-state.ts | 39 + packages/v2-watcher/src/cli/index-block.ts | 38 + packages/v2-watcher/src/cli/inspect-cid.ts | 38 + .../src/cli/reset-cmds/job-queue.ts | 22 + .../v2-watcher/src/cli/reset-cmds/state.ts | 24 + .../v2-watcher/src/cli/reset-cmds/watcher.ts | 37 + packages/v2-watcher/src/cli/reset.ts | 24 + packages/v2-watcher/src/cli/watch-contract.ts | 38 + packages/v2-watcher/src/client.ts | 55 + packages/v2-watcher/src/database.ts | 299 +++ .../v2-watcher/src/entity/BlockProgress.ts | 48 + packages/v2-watcher/src/entity/Bundle.ts | 29 + packages/v2-watcher/src/entity/Burn.ts | 65 + packages/v2-watcher/src/entity/Contract.ts | 27 + packages/v2-watcher/src/entity/Event.ts | 38 + .../v2-watcher/src/entity/FrothyEntity.ts | 21 + .../src/entity/LiquidityPosition.ts | 35 + .../src/entity/LiquidityPositionSnapshot.ts | 62 + packages/v2-watcher/src/entity/Mint.ts | 62 + packages/v2-watcher/src/entity/Pair.ts | 80 + packages/v2-watcher/src/entity/PairDayData.ts | 62 + .../v2-watcher/src/entity/PairHourData.ts | 56 + packages/v2-watcher/src/entity/State.ts | 31 + .../v2-watcher/src/entity/StateSyncStatus.ts | 17 + packages/v2-watcher/src/entity/Subscriber.ts | 21 + packages/v2-watcher/src/entity/Swap.ts | 62 + packages/v2-watcher/src/entity/SyncStatus.ts | 45 + packages/v2-watcher/src/entity/Token.ts | 56 + .../v2-watcher/src/entity/TokenDayData.ts | 56 + packages/v2-watcher/src/entity/Transaction.ts | 40 + .../v2-watcher/src/entity/UniswapDayData.ts | 53 + .../v2-watcher/src/entity/UniswapFactory.ts | 47 + packages/v2-watcher/src/entity/User.ts | 29 + packages/v2-watcher/src/fill.ts | 48 + packages/v2-watcher/src/gql/index.ts | 3 + .../v2-watcher/src/gql/mutations/index.ts | 4 + .../src/gql/mutations/watchContract.gql | 3 + packages/v2-watcher/src/gql/queries/_meta.gql | 11 + .../v2-watcher/src/gql/queries/bundle.gql | 6 + .../v2-watcher/src/gql/queries/bundles.gql | 6 + packages/v2-watcher/src/gql/queries/burn.gql | 40 + packages/v2-watcher/src/gql/queries/burns.gql | 40 + .../v2-watcher/src/gql/queries/events.gql | 63 + .../src/gql/queries/eventsInRange.gql | 63 + .../v2-watcher/src/gql/queries/getState.gql | 15 + .../src/gql/queries/getStateByCID.gql | 15 + .../src/gql/queries/getSyncStatus.gql | 12 + packages/v2-watcher/src/gql/queries/index.ts | 39 + .../src/gql/queries/liquidityPosition.gql | 29 + .../gql/queries/liquidityPositionSnapshot.gql | 41 + .../queries/liquidityPositionSnapshots.gql | 41 + .../src/gql/queries/liquidityPositions.gql | 29 + packages/v2-watcher/src/gql/queries/mint.gql | 39 + packages/v2-watcher/src/gql/queries/mints.gql | 39 + packages/v2-watcher/src/gql/queries/pair.gql | 115 + .../src/gql/queries/pairDayData.gql | 41 + .../src/gql/queries/pairDayDatas.gql | 41 + .../src/gql/queries/pairHourData.gql | 33 + .../src/gql/queries/pairHourDatas.gql | 33 + packages/v2-watcher/src/gql/queries/pairs.gql | 115 + packages/v2-watcher/src/gql/queries/swap.gql | 39 + packages/v2-watcher/src/gql/queries/swaps.gql | 39 + packages/v2-watcher/src/gql/queries/token.gql | 91 + .../src/gql/queries/tokenDayData.gql | 27 + .../src/gql/queries/tokenDayDatas.gql | 27 + .../v2-watcher/src/gql/queries/tokens.gql | 91 + .../src/gql/queries/transaction.gql | 47 + .../src/gql/queries/transactions.gql | 47 + .../src/gql/queries/uniswapDayData.gql | 14 + .../src/gql/queries/uniswapDayDatas.gql | 14 + .../src/gql/queries/uniswapFactories.gql | 12 + .../src/gql/queries/uniswapFactory.gql | 12 + packages/v2-watcher/src/gql/queries/user.gql | 10 + packages/v2-watcher/src/gql/queries/users.gql | 10 + .../v2-watcher/src/gql/subscriptions/index.ts | 4 + .../src/gql/subscriptions/onEvent.gql | 63 + packages/v2-watcher/src/hooks.ts | 86 + packages/v2-watcher/src/indexer.ts | 1072 ++++++++ packages/v2-watcher/src/job-runner.ts | 48 + packages/v2-watcher/src/resolvers.ts | 944 +++++++ packages/v2-watcher/src/schema.gql | 2330 +++++++++++++++++ packages/v2-watcher/src/server.ts | 43 + packages/v2-watcher/src/types.ts | 3 + .../subgraph-build/Factory/Factory.wasm | Bin 0 -> 225762 bytes .../subgraph-build/Factory/abis/ERC20.json | 222 ++ .../Factory/abis/ERC20NameBytes.json | 17 + .../Factory/abis/ERC20SymbolBytes.json | 17 + .../subgraph-build/Factory/abis/factory.json | 193 ++ .../subgraph-build/Pair/abis/factory.json | 193 ++ .../subgraph-build/Pair/abis/pair.json | 713 +++++ .../v2-watcher/subgraph-build/schema.graphql | 301 +++ .../v2-watcher/subgraph-build/subgraph.yaml | 63 + .../subgraph-build/templates/Pair/Pair.wasm | Bin 0 -> 293443 bytes packages/v2-watcher/tsconfig.json | 74 + 109 files changed, 11659 insertions(+) create mode 100644 packages/v2-watcher/.eslintignore create mode 100644 packages/v2-watcher/.eslintrc.json create mode 100644 packages/v2-watcher/.gitignore create mode 100644 packages/v2-watcher/.husky/pre-commit create mode 100644 packages/v2-watcher/.npmrc create mode 100644 packages/v2-watcher/LICENSE create mode 100644 packages/v2-watcher/README.md create mode 100644 packages/v2-watcher/environments/local.toml create mode 100644 packages/v2-watcher/package.json create mode 100644 packages/v2-watcher/src/artifacts/Factory.json create mode 100644 packages/v2-watcher/src/artifacts/Pair.json create mode 100644 packages/v2-watcher/src/cli/checkpoint-cmds/create.ts create mode 100644 packages/v2-watcher/src/cli/checkpoint-cmds/verify.ts create mode 100644 packages/v2-watcher/src/cli/checkpoint.ts create mode 100644 packages/v2-watcher/src/cli/export-state.ts create mode 100644 packages/v2-watcher/src/cli/import-state.ts create mode 100644 packages/v2-watcher/src/cli/index-block.ts create mode 100644 packages/v2-watcher/src/cli/inspect-cid.ts create mode 100644 packages/v2-watcher/src/cli/reset-cmds/job-queue.ts create mode 100644 packages/v2-watcher/src/cli/reset-cmds/state.ts create mode 100644 packages/v2-watcher/src/cli/reset-cmds/watcher.ts create mode 100644 packages/v2-watcher/src/cli/reset.ts create mode 100644 packages/v2-watcher/src/cli/watch-contract.ts create mode 100644 packages/v2-watcher/src/client.ts create mode 100644 packages/v2-watcher/src/database.ts create mode 100644 packages/v2-watcher/src/entity/BlockProgress.ts create mode 100644 packages/v2-watcher/src/entity/Bundle.ts create mode 100644 packages/v2-watcher/src/entity/Burn.ts create mode 100644 packages/v2-watcher/src/entity/Contract.ts create mode 100644 packages/v2-watcher/src/entity/Event.ts create mode 100644 packages/v2-watcher/src/entity/FrothyEntity.ts create mode 100644 packages/v2-watcher/src/entity/LiquidityPosition.ts create mode 100644 packages/v2-watcher/src/entity/LiquidityPositionSnapshot.ts create mode 100644 packages/v2-watcher/src/entity/Mint.ts create mode 100644 packages/v2-watcher/src/entity/Pair.ts create mode 100644 packages/v2-watcher/src/entity/PairDayData.ts create mode 100644 packages/v2-watcher/src/entity/PairHourData.ts create mode 100644 packages/v2-watcher/src/entity/State.ts create mode 100644 packages/v2-watcher/src/entity/StateSyncStatus.ts create mode 100644 packages/v2-watcher/src/entity/Subscriber.ts create mode 100644 packages/v2-watcher/src/entity/Swap.ts create mode 100644 packages/v2-watcher/src/entity/SyncStatus.ts create mode 100644 packages/v2-watcher/src/entity/Token.ts create mode 100644 packages/v2-watcher/src/entity/TokenDayData.ts create mode 100644 packages/v2-watcher/src/entity/Transaction.ts create mode 100644 packages/v2-watcher/src/entity/UniswapDayData.ts create mode 100644 packages/v2-watcher/src/entity/UniswapFactory.ts create mode 100644 packages/v2-watcher/src/entity/User.ts create mode 100644 packages/v2-watcher/src/fill.ts create mode 100644 packages/v2-watcher/src/gql/index.ts create mode 100644 packages/v2-watcher/src/gql/mutations/index.ts create mode 100644 packages/v2-watcher/src/gql/mutations/watchContract.gql create mode 100644 packages/v2-watcher/src/gql/queries/_meta.gql create mode 100644 packages/v2-watcher/src/gql/queries/bundle.gql create mode 100644 packages/v2-watcher/src/gql/queries/bundles.gql create mode 100644 packages/v2-watcher/src/gql/queries/burn.gql create mode 100644 packages/v2-watcher/src/gql/queries/burns.gql create mode 100644 packages/v2-watcher/src/gql/queries/events.gql create mode 100644 packages/v2-watcher/src/gql/queries/eventsInRange.gql create mode 100644 packages/v2-watcher/src/gql/queries/getState.gql create mode 100644 packages/v2-watcher/src/gql/queries/getStateByCID.gql create mode 100644 packages/v2-watcher/src/gql/queries/getSyncStatus.gql create mode 100644 packages/v2-watcher/src/gql/queries/index.ts create mode 100644 packages/v2-watcher/src/gql/queries/liquidityPosition.gql create mode 100644 packages/v2-watcher/src/gql/queries/liquidityPositionSnapshot.gql create mode 100644 packages/v2-watcher/src/gql/queries/liquidityPositionSnapshots.gql create mode 100644 packages/v2-watcher/src/gql/queries/liquidityPositions.gql create mode 100644 packages/v2-watcher/src/gql/queries/mint.gql create mode 100644 packages/v2-watcher/src/gql/queries/mints.gql create mode 100644 packages/v2-watcher/src/gql/queries/pair.gql create mode 100644 packages/v2-watcher/src/gql/queries/pairDayData.gql create mode 100644 packages/v2-watcher/src/gql/queries/pairDayDatas.gql create mode 100644 packages/v2-watcher/src/gql/queries/pairHourData.gql create mode 100644 packages/v2-watcher/src/gql/queries/pairHourDatas.gql create mode 100644 packages/v2-watcher/src/gql/queries/pairs.gql create mode 100644 packages/v2-watcher/src/gql/queries/swap.gql create mode 100644 packages/v2-watcher/src/gql/queries/swaps.gql create mode 100644 packages/v2-watcher/src/gql/queries/token.gql create mode 100644 packages/v2-watcher/src/gql/queries/tokenDayData.gql create mode 100644 packages/v2-watcher/src/gql/queries/tokenDayDatas.gql create mode 100644 packages/v2-watcher/src/gql/queries/tokens.gql create mode 100644 packages/v2-watcher/src/gql/queries/transaction.gql create mode 100644 packages/v2-watcher/src/gql/queries/transactions.gql create mode 100644 packages/v2-watcher/src/gql/queries/uniswapDayData.gql create mode 100644 packages/v2-watcher/src/gql/queries/uniswapDayDatas.gql create mode 100644 packages/v2-watcher/src/gql/queries/uniswapFactories.gql create mode 100644 packages/v2-watcher/src/gql/queries/uniswapFactory.gql create mode 100644 packages/v2-watcher/src/gql/queries/user.gql create mode 100644 packages/v2-watcher/src/gql/queries/users.gql create mode 100644 packages/v2-watcher/src/gql/subscriptions/index.ts create mode 100644 packages/v2-watcher/src/gql/subscriptions/onEvent.gql create mode 100644 packages/v2-watcher/src/hooks.ts create mode 100644 packages/v2-watcher/src/indexer.ts create mode 100644 packages/v2-watcher/src/job-runner.ts create mode 100644 packages/v2-watcher/src/resolvers.ts create mode 100644 packages/v2-watcher/src/schema.gql create mode 100644 packages/v2-watcher/src/server.ts create mode 100644 packages/v2-watcher/src/types.ts create mode 100644 packages/v2-watcher/subgraph-build/Factory/Factory.wasm create mode 100644 packages/v2-watcher/subgraph-build/Factory/abis/ERC20.json create mode 100644 packages/v2-watcher/subgraph-build/Factory/abis/ERC20NameBytes.json create mode 100644 packages/v2-watcher/subgraph-build/Factory/abis/ERC20SymbolBytes.json create mode 100644 packages/v2-watcher/subgraph-build/Factory/abis/factory.json create mode 100644 packages/v2-watcher/subgraph-build/Pair/abis/factory.json create mode 100644 packages/v2-watcher/subgraph-build/Pair/abis/pair.json create mode 100644 packages/v2-watcher/subgraph-build/schema.graphql create mode 100644 packages/v2-watcher/subgraph-build/subgraph.yaml create mode 100644 packages/v2-watcher/subgraph-build/templates/Pair/Pair.wasm create mode 100644 packages/v2-watcher/tsconfig.json diff --git a/packages/v2-watcher/.eslintignore b/packages/v2-watcher/.eslintignore new file mode 100644 index 0000000..55cb522 --- /dev/null +++ b/packages/v2-watcher/.eslintignore @@ -0,0 +1,2 @@ +# Don't lint build output. +dist diff --git a/packages/v2-watcher/.eslintrc.json b/packages/v2-watcher/.eslintrc.json new file mode 100644 index 0000000..a2b842c --- /dev/null +++ b/packages/v2-watcher/.eslintrc.json @@ -0,0 +1,28 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "semistandard", + "plugin:@typescript-eslint/recommended" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module" + }, + "plugins": [ + "@typescript-eslint" + ], + "rules": { + "indent": ["error", 2, { "SwitchCase": 1 }], + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/explicit-module-boundary-types": [ + "warn", + { + "allowArgumentsExplicitlyTypedAsAny": true + } + ] + } +} diff --git a/packages/v2-watcher/.gitignore b/packages/v2-watcher/.gitignore new file mode 100644 index 0000000..549d70b --- /dev/null +++ b/packages/v2-watcher/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +dist/ +out/ + +.vscode +.idea + +gql-logs/ diff --git a/packages/v2-watcher/.husky/pre-commit b/packages/v2-watcher/.husky/pre-commit new file mode 100644 index 0000000..9dcd433 --- /dev/null +++ b/packages/v2-watcher/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +yarn lint diff --git a/packages/v2-watcher/.npmrc b/packages/v2-watcher/.npmrc new file mode 100644 index 0000000..6b64c5b --- /dev/null +++ b/packages/v2-watcher/.npmrc @@ -0,0 +1 @@ +@cerc-io:registry=https://git.vdb.to/api/packages/cerc-io/npm/ diff --git a/packages/v2-watcher/LICENSE b/packages/v2-watcher/LICENSE new file mode 100644 index 0000000..331f7cf --- /dev/null +++ b/packages/v2-watcher/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for + software and other kinds of works, specifically designed to ensure + cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed + to take away your freedom to share and change the works. By contrast, + our General Public Licenses are intended to guarantee your freedom to + share and change all versions of a program--to make sure it remains free + software for all its users. + + When we speak of free software, we are referring to freedom, not + price. Our General Public Licenses are designed to make sure that you + have the freedom to distribute copies of free software (and charge for + them if you wish), that you receive source code or can get it if you + want it, that you can change the software or use pieces of it in new + free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights + with two steps: (1) assert copyright on the software, and (2) offer + you this License which gives you legal permission to copy, distribute + and/or modify the software. + + A secondary benefit of defending all users' freedom is that + improvements made in alternate versions of the program, if they + receive widespread use, become available for other developers to + incorporate. Many developers of free software are heartened and + encouraged by the resulting cooperation. However, in the case of + software used on network servers, this result may fail to come about. + The GNU General Public License permits making a modified version and + letting the public access it on a server without ever releasing its + source code to the public. + + The GNU Affero General Public License is designed specifically to + ensure that, in such cases, the modified source code becomes available + to the community. It requires the operator of a network server to + provide the source code of the modified version running there to the + users of that server. Therefore, public use of a modified version, on + a publicly accessible server, gives the public access to the source + code of the modified version. + + An older license, called the Affero General Public License and + published by Affero, was designed to accomplish similar goals. This is + a different license, not a version of the Affero GPL, but Affero has + released a new version of the Affero GPL which permits relicensing under + this license. + + The precise terms and conditions for copying, distribution and + modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of + works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this + License. Each licensee is addressed as "you". "Licensees" and + "recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work + in a fashion requiring copyright permission, other than the making of an + exact copy. The resulting work is called a "modified version" of the + earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based + on the Program. + + To "propagate" a work means to do anything with it that, without + permission, would make you directly or secondarily liable for + infringement under applicable copyright law, except executing it on a + computer or modifying a private copy. Propagation includes copying, + distribution (with or without modification), making available to the + public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other + parties to make or receive copies. Mere interaction with a user through + a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" + to the extent that it includes a convenient and prominently visible + feature that (1) displays an appropriate copyright notice, and (2) + tells the user that there is no warranty for the work (except to the + extent that warranties are provided), that licensees may convey the + work under this License, and how to view a copy of this License. If + the interface presents a list of user commands or options, such as a + menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work + for making modifications to it. "Object code" means any non-source + form of a work. + + A "Standard Interface" means an interface that either is an official + standard defined by a recognized standards body, or, in the case of + interfaces specified for a particular programming language, one that + is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other + than the work as a whole, that (a) is included in the normal form of + packaging a Major Component, but which is not part of that Major + Component, and (b) serves only to enable use of the work with that + Major Component, or to implement a Standard Interface for which an + implementation is available to the public in source code form. A + "Major Component", in this context, means a major essential component + (kernel, window system, and so on) of the specific operating system + (if any) on which the executable work runs, or a compiler used to + produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all + the source code needed to generate, install, and (for an executable + work) run the object code and to modify the work, including scripts to + control those activities. However, it does not include the work's + System Libraries, or general-purpose tools or generally available free + programs which are used unmodified in performing those activities but + which are not part of the work. For example, Corresponding Source + includes interface definition files associated with source files for + the work, and the source code for shared libraries and dynamically + linked subprograms that the work is specifically designed to require, + such as by intimate data communication or control flow between those + subprograms and other parts of the work. + + The Corresponding Source need not include anything that users + can regenerate automatically from other parts of the Corresponding + Source. + + The Corresponding Source for a work in source code form is that + same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of + copyright on the Program, and are irrevocable provided the stated + conditions are met. This License explicitly affirms your unlimited + permission to run the unmodified Program. The output from running a + covered work is covered by this License only if the output, given its + content, constitutes a covered work. This License acknowledges your + rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not + convey, without conditions so long as your license otherwise remains + in force. You may convey covered works to others for the sole purpose + of having them make modifications exclusively for you, or provide you + with facilities for running those works, provided that you comply with + the terms of this License in conveying all material for which you do + not control copyright. Those thus making or running the covered works + for you must do so exclusively on your behalf, under your direction + and control, on terms that prohibit them from making any copies of + your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under + the conditions stated below. Sublicensing is not allowed; section 10 + makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological + measure under any applicable law fulfilling obligations under article + 11 of the WIPO copyright treaty adopted on 20 December 1996, or + similar laws prohibiting or restricting circumvention of such + measures. + + When you convey a covered work, you waive any legal power to forbid + circumvention of technological measures to the extent such circumvention + is effected by exercising rights under this License with respect to + the covered work, and you disclaim any intention to limit operation or + modification of the work as a means of enforcing, against the work's + users, your or third parties' legal rights to forbid circumvention of + technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you + receive it, in any medium, provided that you conspicuously and + appropriately publish on each copy an appropriate copyright notice; + keep intact all notices stating that this License and any + non-permissive terms added in accord with section 7 apply to the code; + keep intact all notices of the absence of any warranty; and give all + recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, + and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to + produce it from the Program, in the form of source code under the + terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent + works, which are not by their nature extensions of the covered work, + and which are not combined with it such as to form a larger program, + in or on a volume of a storage or distribution medium, is called an + "aggregate" if the compilation and its resulting copyright are not + used to limit the access or legal rights of the compilation's users + beyond what the individual works permit. Inclusion of a covered work + in an aggregate does not cause this License to apply to the other + parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms + of sections 4 and 5, provided that you also convey the + machine-readable Corresponding Source under the terms of this License, + in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded + from the Corresponding Source as a System Library, need not be + included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any + tangible personal property which is normally used for personal, family, + or household purposes, or (2) anything designed or sold for incorporation + into a dwelling. In determining whether a product is a consumer product, + doubtful cases shall be resolved in favor of coverage. For a particular + product received by a particular user, "normally used" refers to a + typical or common use of that class of product, regardless of the status + of the particular user or of the way in which the particular user + actually uses, or expects or is expected to use, the product. A product + is a consumer product regardless of whether the product has substantial + commercial, industrial or non-consumer uses, unless such uses represent + the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, + procedures, authorization keys, or other information required to install + and execute modified versions of a covered work in that User Product from + a modified version of its Corresponding Source. The information must + suffice to ensure that the continued functioning of the modified object + code is in no case prevented or interfered with solely because + modification has been made. + + If you convey an object code work under this section in, or with, or + specifically for use in, a User Product, and the conveying occurs as + part of a transaction in which the right of possession and use of the + User Product is transferred to the recipient in perpetuity or for a + fixed term (regardless of how the transaction is characterized), the + Corresponding Source conveyed under this section must be accompanied + by the Installation Information. But this requirement does not apply + if neither you nor any third party retains the ability to install + modified object code on the User Product (for example, the work has + been installed in ROM). + + The requirement to provide Installation Information does not include a + requirement to continue to provide support service, warranty, or updates + for a work that has been modified or installed by the recipient, or for + the User Product in which it has been modified or installed. Access to a + network may be denied when the modification itself materially and + adversely affects the operation of the network or violates the rules and + protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, + in accord with this section must be in a format that is publicly + documented (and with an implementation available to the public in + source code form), and must require no special password or key for + unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this + License by making exceptions from one or more of its conditions. + Additional permissions that are applicable to the entire Program shall + be treated as though they were included in this License, to the extent + that they are valid under applicable law. If additional permissions + apply only to part of the Program, that part may be used separately + under those permissions, but the entire Program remains governed by + this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option + remove any additional permissions from that copy, or from any part of + it. (Additional permissions may be written to require their own + removal in certain cases when you modify the work.) You may place + additional permissions on material, added by you to a covered work, + for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you + add to a covered work, you may (if authorized by the copyright holders of + that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further + restrictions" within the meaning of section 10. If the Program as you + received it, or any part of it, contains a notice stating that it is + governed by this License along with a term that is a further + restriction, you may remove that term. If a license document contains + a further restriction but permits relicensing or conveying under this + License, you may add to a covered work material governed by the terms + of that license document, provided that the further restriction does + not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you + must place, in the relevant source files, a statement of the + additional terms that apply to those files, or a notice indicating + where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the + form of a separately written license, or stated as exceptions; + the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly + provided under this License. Any attempt otherwise to propagate or + modify it is void, and will automatically terminate your rights under + this License (including any patent licenses granted under the third + paragraph of section 11). + + However, if you cease all violation of this License, then your + license from a particular copyright holder is reinstated (a) + provisionally, unless and until the copyright holder explicitly and + finally terminates your license, and (b) permanently, if the copyright + holder fails to notify you of the violation by some reasonable means + prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is + reinstated permanently if the copyright holder notifies you of the + violation by some reasonable means, this is the first time you have + received notice of violation of this License (for any work) from that + copyright holder, and you cure the violation prior to 30 days after + your receipt of the notice. + + Termination of your rights under this section does not terminate the + licenses of parties who have received copies or rights from you under + this License. If your rights have been terminated and not permanently + reinstated, you do not qualify to receive new licenses for the same + material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or + run a copy of the Program. Ancillary propagation of a covered work + occurring solely as a consequence of using peer-to-peer transmission + to receive a copy likewise does not require acceptance. However, + nothing other than this License grants you permission to propagate or + modify any covered work. These actions infringe copyright if you do + not accept this License. Therefore, by modifying or propagating a + covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically + receives a license from the original licensors, to run, modify and + propagate that work, subject to this License. You are not responsible + for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an + organization, or substantially all assets of one, or subdividing an + organization, or merging organizations. If propagation of a covered + work results from an entity transaction, each party to that + transaction who receives a copy of the work also receives whatever + licenses to the work the party's predecessor in interest had or could + give under the previous paragraph, plus a right to possession of the + Corresponding Source of the work from the predecessor in interest, if + the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the + rights granted or affirmed under this License. For example, you may + not impose a license fee, royalty, or other charge for exercise of + rights granted under this License, and you may not initiate litigation + (including a cross-claim or counterclaim in a lawsuit) alleging that + any patent claim is infringed by making, using, selling, offering for + sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this + License of the Program or a work on which the Program is based. The + work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims + owned or controlled by the contributor, whether already acquired or + hereafter acquired, that would be infringed by some manner, permitted + by this License, of making, using, or selling its contributor version, + but do not include claims that would be infringed only as a + consequence of further modification of the contributor version. For + purposes of this definition, "control" includes the right to grant + patent sublicenses in a manner consistent with the requirements of + this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free + patent license under the contributor's essential patent claims, to + make, use, sell, offer for sale, import and otherwise run, modify and + propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express + agreement or commitment, however denominated, not to enforce a patent + (such as an express permission to practice a patent or covenant not to + sue for patent infringement). To "grant" such a patent license to a + party means to make such an agreement or commitment not to enforce a + patent against the party. + + If you convey a covered work, knowingly relying on a patent license, + and the Corresponding Source of the work is not available for anyone + to copy, free of charge and under the terms of this License, through a + publicly available network server or other readily accessible means, + then you must either (1) cause the Corresponding Source to be so + available, or (2) arrange to deprive yourself of the benefit of the + patent license for this particular work, or (3) arrange, in a manner + consistent with the requirements of this License, to extend the patent + license to downstream recipients. "Knowingly relying" means you have + actual knowledge that, but for the patent license, your conveying the + covered work in a country, or your recipient's use of the covered work + in a country, would infringe one or more identifiable patents in that + country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or + arrangement, you convey, or propagate by procuring conveyance of, a + covered work, and grant a patent license to some of the parties + receiving the covered work authorizing them to use, propagate, modify + or convey a specific copy of the covered work, then the patent license + you grant is automatically extended to all recipients of the covered + work and works based on it. + + A patent license is "discriminatory" if it does not include within + the scope of its coverage, prohibits the exercise of, or is + conditioned on the non-exercise of one or more of the rights that are + specifically granted under this License. You may not convey a covered + work if you are a party to an arrangement with a third party that is + in the business of distributing software, under which you make payment + to the third party based on the extent of your activity of conveying + the work, and under which the third party grants, to any of the + parties who would receive the covered work from you, a discriminatory + patent license (a) in connection with copies of the covered work + conveyed by you (or copies made from those copies), or (b) primarily + for and in connection with specific products or compilations that + contain the covered work, unless you entered into that arrangement, + or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting + any implied license or other defenses to infringement that may + otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot convey a + covered work so as to satisfy simultaneously your obligations under this + License and any other pertinent obligations, then as a consequence you may + not convey it at all. For example, if you agree to terms that obligate you + to collect a royalty for further conveying from those to whom you convey + the Program, the only way you could satisfy both those terms and this + License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the + Program, your modified version must prominently offer all users + interacting with it remotely through a computer network (if your version + supports such interaction) an opportunity to receive the Corresponding + Source of your version by providing access to the Corresponding Source + from a network server at no charge, through some standard or customary + means of facilitating copying of software. This Corresponding Source + shall include the Corresponding Source for any work covered by version 3 + of the GNU General Public License that is incorporated pursuant to the + following paragraph. + + Notwithstanding any other provision of this License, you have + permission to link or combine any covered work with a work licensed + under version 3 of the GNU General Public License into a single + combined work, and to convey the resulting work. The terms of this + License will continue to apply to the part which is the covered work, + but the work with which it is combined will remain governed by version + 3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of + the GNU Affero General Public License from time to time. Such new versions + will be similar in spirit to the present version, but may differ in detail to + address new problems or concerns. + + Each version is given a distinguishing version number. If the + Program specifies that a certain numbered version of the GNU Affero General + Public License "or any later version" applies to it, you have the + option of following the terms and conditions either of that numbered + version or of any later version published by the Free Software + Foundation. If the Program does not specify a version number of the + GNU Affero General Public License, you may choose any version ever published + by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future + versions of the GNU Affero General Public License can be used, that proxy's + public statement of acceptance of a version permanently authorizes you + to choose that version for the Program. + + Later license versions may give you additional or different + permissions. However, no additional obligations are imposed on any + author or copyright holder as a result of your choosing to follow a + later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY + APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT + HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY + OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM + IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF + ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS + THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY + GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE + USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF + DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD + PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided + above cannot be given local legal effect according to their terms, + reviewing courts shall apply local law that most closely approximates + an absolute waiver of all civil liability in connection with the + Program, unless a warranty or assumption of liability accompanies a + copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest + possible use to the public, the best way to achieve this is to make it + free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest + to attach them to the start of each source file to most effectively + state the exclusion of warranty; and each file should have at least + the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer + network, you should also make sure that it provides a way for users to + get its source. For example, if your program is a web application, its + interface could display a "Source" link that leads users to an archive + of the code. There are many ways you could offer source, and different + solutions will be better for different programs; see section 13 for the + specific requirements. + + You should also get your employer (if you work as a programmer) or school, + if any, to sign a "copyright disclaimer" for the program, if necessary. + For more information on this, and how to apply and follow the GNU AGPL, see + . diff --git a/packages/v2-watcher/README.md b/packages/v2-watcher/README.md new file mode 100644 index 0000000..03dc91d --- /dev/null +++ b/packages/v2-watcher/README.md @@ -0,0 +1,212 @@ +# v2-watcher + +## Setup + +* Run the following command to install required packages: + + ```bash + yarn + ``` + +* Create a postgres12 database for the watcher: + + ```bash + sudo su - postgres + createdb v2-watcher + ``` + +* If the watcher is an `active` watcher: + + Create database for the job queue and enable the `pgcrypto` extension on them (https://github.com/timgit/pg-boss/blob/master/docs/usage.md#intro): + + ``` + createdb v2-watcher-job-queue + ``` + + ``` + postgres@tesla:~$ psql -U postgres -h localhost v2-watcher-job-queue + Password for user postgres: + psql (12.7 (Ubuntu 12.7-1.pgdg18.04+1)) + SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off) + Type "help" for help. + + v2-watcher-job-queue=# CREATE EXTENSION pgcrypto; + CREATE EXTENSION + v2-watcher-job-queue=# exit + ``` + +* In the [config file](./environments/local.toml): + + * Update the database connection settings. + + * Update the `upstream` config and provide the `ipld-eth-server` GQL API endpoint. + + * Update the `server` config with state checkpoint settings. + +## Customize + +* Indexing on an event: + + * Edit the custom hook function `handleEvent` (triggered on an event) in [hooks.ts](./src/hooks.ts) to perform corresponding indexing using the `Indexer` object. + + * While using the indexer storage methods for indexing, pass `diff` as true if default state is desired to be generated using the state variables being indexed. + +* Generating state: + + * Edit the custom hook function `createInitialState` (triggered if the watcher passes the start block, checkpoint: `true`) in [hooks.ts](./src/hooks.ts) to save an initial `State` using the `Indexer` object. + + * Edit the custom hook function `createStateDiff` (triggered on a block) in [hooks.ts](./src/hooks.ts) to save the state in a `diff` `State` using the `Indexer` object. The default state (if exists) is updated. + + * Edit the custom hook function `createStateCheckpoint` (triggered just before default and CLI checkpoint) in [hooks.ts](./src/hooks.ts) to save the state in a `checkpoint` `State` using the `Indexer` object. + +### GQL Caching + +To enable GQL requests caching: + +* Update the `server.gql.cache` config with required settings. + +* In the GQL [schema file](./src/schema.gql), use the `cacheControl` directive to apply cache hints at schema level. + + * Eg. Set `inheritMaxAge` to true for non-scalar fields of a type. + +* In the GQL [resolvers file](./src/resolvers.ts), uncomment the `setGQLCacheHints()` calls in resolvers for required queries. + +## Run + +* If the watcher is a `lazy` watcher: + + * Run the server: + + ```bash + yarn server + ``` + + GQL console: http://localhost:3008/graphql + +* If the watcher is an `active` watcher: + + * Run the job-runner: + + ```bash + yarn job-runner + ``` + + * Run the server: + + ```bash + yarn server + ``` + + GQL console: http://localhost:3008/graphql + + * To watch a contract: + + ```bash + yarn watch:contract --address --kind --checkpoint --starting-block [block-number] + ``` + + * `address`: Address or identifier of the contract to be watched. + * `kind`: Kind of the contract. + * `checkpoint`: Turn checkpointing on (`true` | `false`). + * `starting-block`: Starting block for the contract (default: `1`). + + Examples: + + Watch a contract with its address and checkpointing on: + + ```bash + yarn watch:contract --address 0x1F78641644feB8b64642e833cE4AFE93DD6e7833 --kind ERC20 --checkpoint true + ``` + + Watch a contract with its identifier and checkpointing on: + + ```bash + yarn watch:contract --address MyProtocol --kind protocol --checkpoint true + ``` + + * To fill a block range: + + ```bash + yarn fill --start-block --end-block + ``` + + * `start-block`: Block number to start filling from. + * `end-block`: Block number till which to fill. + + * To create a checkpoint for a contract: + + ```bash + yarn checkpoint create --address --block-hash [block-hash] + ``` + + * `address`: Address or identifier of the contract for which to create a checkpoint. + * `block-hash`: Hash of a block (in the pruned region) at which to create the checkpoint (default: latest canonical block hash). + + * To verify a checkpoint: + + ```bash + yarn checkpoint verify --cid + ``` + + `cid`: CID of the checkpoint for which to verify. + + * To reset the watcher to a previous block number: + + * Reset watcher: + + ```bash + yarn reset watcher --block-number + ``` + + * Reset job-queue: + + ```bash + yarn reset job-queue + ``` + + * Reset state: + + ```bash + yarn reset state --block-number + ``` + + * `block-number`: Block number to which to reset the watcher. + + * To export and import the watcher state: + + * In source watcher, export watcher state: + + ```bash + yarn export-state --export-file [export-file-path] --block-number [snapshot-block-height] + ``` + + * `export-file`: Path of file to which to export the watcher data. + * `block-number`: Block height at which to take snapshot for export. + + * In target watcher, run job-runner: + + ```bash + yarn job-runner + ``` + + * Import watcher state: + + ```bash + yarn import-state --import-file + ``` + + * `import-file`: Path of file from which to import the watcher data. + + * Run server: + + ```bash + yarn server + ``` + + * To inspect a CID: + + ```bash + yarn inspect-cid --cid + ``` + + * `cid`: CID to be inspected. diff --git a/packages/v2-watcher/environments/local.toml b/packages/v2-watcher/environments/local.toml new file mode 100644 index 0000000..37984bd --- /dev/null +++ b/packages/v2-watcher/environments/local.toml @@ -0,0 +1,109 @@ +[server] + host = "127.0.0.1" + port = 3008 + kind = "active" + + # Checkpointing state. + checkpointing = true + + # Checkpoint interval in number of blocks. + checkpointInterval = 2000 + + # Enable state creation + # CAUTION: Disable only if state creation is not desired or can be filled subsequently + enableState = true + + subgraphPath = "./subgraph-build" + + # Interval to restart wasm instance periodically + wasmRestartBlocksInterval = 20 + + # Interval in number of blocks at which to clear entities cache. + clearEntitiesCacheInterval = 1000 + + # Flag to specify whether RPC endpoint supports block hash as block tag parameter + rpcSupportsBlockHashParam = true + + # Server GQL config + [server.gql] + path = "/graphql" + + # Max block range for which to return events in eventsInRange GQL query. + # Use -1 for skipping check on block range. + maxEventsBlockRange = 1000 + + # Log directory for GQL requests + logDir = "./gql-logs" + + # GQL cache settings + [server.gql.cache] + enabled = true + + # Max in-memory cache size (in bytes) (default 8 MB) + # maxCacheSize + + # GQL cache-control max-age settings (in seconds) + maxAge = 15 + timeTravelMaxAge = 86400 # 1 day + +[metrics] + host = "127.0.0.1" + port = 9000 + [metrics.gql] + port = 9001 + +[database] + type = "postgres" + host = "localhost" + port = 5432 + database = "v2-watcher" + username = "postgres" + password = "postgres" + synchronize = true + logging = false + +[upstream] + [upstream.ethServer] + gqlApiEndpoint = "http://127.0.0.1:8082/graphql" + rpcProviderEndpoints = [ + "http://127.0.0.1:8081" + ] + + # Boolean flag to specify if rpc-eth-client should be used for RPC endpoint instead of ipld-eth-client (ipld-eth-server GQL client) + rpcClient = false + + # Boolean flag to specify if rpcProviderEndpoint is an FEVM RPC endpoint + isFEVM = false + + # Boolean flag to filter event logs by contracts + filterLogsByAddresses = true + # Boolean flag to filter event logs by topics + filterLogsByTopics = true + + [upstream.cache] + name = "requests" + enabled = false + deleteOnStart = false + +[jobQueue] + dbConnectionString = "postgres://postgres:postgres@localhost/v2-watcher-job-queue" + maxCompletionLagInSecs = 300 + jobDelayInMilliSecs = 100 + eventsInBatch = 50 + subgraphEventsOrder = true + blockDelayInMilliSecs = 2000 + + # Boolean to switch between modes of processing events when starting the server. + # Setting to true will fetch filtered events and required blocks in a range of blocks and then process them. + # Setting to false will fetch blocks consecutively with its events and then process them (Behaviour is followed in realtime processing near head). + useBlockRanges = true + + # Block range in which logs are fetched during historical blocks processing + historicalLogsBlockRange = 2000 + + # Max block range of historical processing after which it waits for completion of events processing + # If set to -1 historical processing does not wait for events processing and completes till latest canonical block + historicalMaxFetchAhead = 10000 + + # Max number of retries to fetch new block after which watcher will failover to other RPC endpoints + maxNewBlockRetries = 3 diff --git a/packages/v2-watcher/package.json b/packages/v2-watcher/package.json new file mode 100644 index 0000000..e10ef00 --- /dev/null +++ b/packages/v2-watcher/package.json @@ -0,0 +1,77 @@ +{ + "name": "@cerc-io/v2-watcher", + "version": "0.1.0", + "description": "v2-watcher", + "private": true, + "main": "dist/index.js", + "scripts": { + "lint": "eslint --max-warnings=0 .", + "build": "yarn clean && tsc && yarn copy-assets", + "clean": "rm -rf ./dist", + "prepare": "husky install", + "copy-assets": "copyfiles -u 1 src/**/*.gql dist/", + "server": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true node --enable-source-maps dist/server.js", + "server:dev": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true ts-node src/server.ts", + "job-runner": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true node --enable-source-maps dist/job-runner.js", + "job-runner:dev": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true ts-node src/job-runner.ts", + "watch:contract": "DEBUG=vulcanize:* ts-node src/cli/watch-contract.ts", + "fill": "DEBUG=vulcanize:* ts-node src/fill.ts", + "fill:state": "DEBUG=vulcanize:* ts-node src/fill.ts --state", + "reset": "DEBUG=vulcanize:* ts-node src/cli/reset.ts", + "checkpoint": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/checkpoint.js", + "checkpoint:dev": "DEBUG=vulcanize:* ts-node src/cli/checkpoint.ts", + "export-state": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/export-state.js", + "export-state:dev": "DEBUG=vulcanize:* ts-node src/cli/export-state.ts", + "import-state": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/import-state.js", + "import-state:dev": "DEBUG=vulcanize:* ts-node src/cli/import-state.ts", + "inspect-cid": "DEBUG=vulcanize:* ts-node src/cli/inspect-cid.ts", + "index-block": "DEBUG=vulcanize:* ts-node src/cli/index-block.ts" + }, + "repository": { + "type": "git", + "url": "https://github.com/cerc-io/watcher-ts.git" + }, + "author": "", + "license": "AGPL-3.0", + "bugs": { + "url": "https://github.com/cerc-io/watcher-ts/issues" + }, + "homepage": "https://github.com/cerc-io/watcher-ts#readme", + "dependencies": { + "@apollo/client": "^3.3.19", + "@cerc-io/cli": "^0.2.93", + "@cerc-io/ipld-eth-client": "^0.2.93", + "@cerc-io/solidity-mapper": "^0.2.93", + "@cerc-io/util": "^0.2.93", + "@cerc-io/graph-node": "^0.2.93", + "@ethersproject/providers": "^5.4.4", + "debug": "^4.3.1", + "decimal.js": "^10.3.1", + "ethers": "^5.4.4", + "graphql": "^15.5.0", + "json-bigint": "^1.0.0", + "reflect-metadata": "^0.1.13", + "typeorm": "0.2.37", + "yargs": "^17.0.1" + }, + "devDependencies": { + "@ethersproject/abi": "^5.3.0", + "@types/debug": "^4.1.5", + "@types/json-bigint": "^1.0.0", + "@types/yargs": "^17.0.0", + "@typescript-eslint/eslint-plugin": "^5.47.1", + "@typescript-eslint/parser": "^5.47.1", + "copyfiles": "^2.4.1", + "eslint": "^8.35.0", + "eslint-config-semistandard": "^15.0.1", + "eslint-config-standard": "^16.0.3", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-standard": "^5.0.0", + "husky": "^7.0.2", + "ts-node": "^10.2.1", + "typescript": "^5.0.2", + "winston": "^3.13.0" + } +} diff --git a/packages/v2-watcher/src/artifacts/Factory.json b/packages/v2-watcher/src/artifacts/Factory.json new file mode 100644 index 0000000..855f67d --- /dev/null +++ b/packages/v2-watcher/src/artifacts/Factory.json @@ -0,0 +1,195 @@ +{ + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_feeToSetter", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "token0", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "token1", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "pair", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "PairCreated", + "type": "event" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "allPairs", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "allPairsLength", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "tokenA", + "type": "address" + }, + { + "internalType": "address", + "name": "tokenB", + "type": "address" + } + ], + "name": "createPair", + "outputs": [ + { + "internalType": "address", + "name": "pair", + "type": "address" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "feeTo", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "feeToSetter", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "getPair", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_feeTo", + "type": "address" + } + ], + "name": "setFeeTo", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_feeToSetter", + "type": "address" + } + ], + "name": "setFeeToSetter", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } + ] +} \ No newline at end of file diff --git a/packages/v2-watcher/src/artifacts/Pair.json b/packages/v2-watcher/src/artifacts/Pair.json new file mode 100644 index 0000000..65145a6 --- /dev/null +++ b/packages/v2-watcher/src/artifacts/Pair.json @@ -0,0 +1,715 @@ +{ + "abi": [ + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount0", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount1", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "Burn", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount0", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount1", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount0In", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount1In", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount0Out", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount1Out", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "Swap", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint112", + "name": "reserve0", + "type": "uint112" + }, + { + "indexed": false, + "internalType": "uint112", + "name": "reserve1", + "type": "uint112" + } + ], + "name": "Sync", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "constant": true, + "inputs": [], + "name": "DOMAIN_SEPARATOR", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "MINIMUM_LIQUIDITY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "PERMIT_TYPEHASH", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "burn", + "outputs": [ + { + "internalType": "uint256", + "name": "amount0", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount1", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "factory", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getReserves", + "outputs": [ + { + "internalType": "uint112", + "name": "_reserve0", + "type": "uint112" + }, + { + "internalType": "uint112", + "name": "_reserve1", + "type": "uint112" + }, + { + "internalType": "uint32", + "name": "_blockTimestampLast", + "type": "uint32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "_token0", + "type": "address" + }, + { + "internalType": "address", + "name": "_token1", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "kLast", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "mint", + "outputs": [ + { + "internalType": "uint256", + "name": "liquidity", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "nonces", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "permit", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "price0CumulativeLast", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "price1CumulativeLast", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "skim", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "uint256", + "name": "amount0Out", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "amount1Out", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "swap", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "sync", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token0", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token1", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + } + ] +} \ No newline at end of file diff --git a/packages/v2-watcher/src/cli/checkpoint-cmds/create.ts b/packages/v2-watcher/src/cli/checkpoint-cmds/create.ts new file mode 100644 index 0000000..e771c70 --- /dev/null +++ b/packages/v2-watcher/src/cli/checkpoint-cmds/create.ts @@ -0,0 +1,44 @@ +// +// Copyright 2022 Vulcanize, Inc. +// + +import { CreateCheckpointCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../../database'; +import { Indexer } from '../../indexer'; + +export const command = 'create'; + +export const desc = 'Create checkpoint'; + +export const builder = { + address: { + type: 'string', + require: true, + demandOption: true, + describe: 'Contract address to create the checkpoint for.' + }, + blockHash: { + type: 'string', + describe: 'Blockhash at which to create the checkpoint.' + } +}; + +export const handler = async (argv: any): Promise => { + const createCheckpointCmd = new CreateCheckpointCmd(); + await createCheckpointCmd.init(argv, Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + createCheckpointCmd.config.server, + createCheckpointCmd.clients.ethClient, + createCheckpointCmd.ethProvider, + createCheckpointCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await createCheckpointCmd.initIndexer(Indexer, graphWatcher); + + await createCheckpointCmd.exec(); +}; diff --git a/packages/v2-watcher/src/cli/checkpoint-cmds/verify.ts b/packages/v2-watcher/src/cli/checkpoint-cmds/verify.ts new file mode 100644 index 0000000..3709f54 --- /dev/null +++ b/packages/v2-watcher/src/cli/checkpoint-cmds/verify.ts @@ -0,0 +1,40 @@ +// +// Copyright 2022 Vulcanize, Inc. +// + +import { VerifyCheckpointCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../../database'; +import { Indexer } from '../../indexer'; + +export const command = 'verify'; + +export const desc = 'Verify checkpoint'; + +export const builder = { + cid: { + type: 'string', + alias: 'c', + demandOption: true, + describe: 'Checkpoint CID to be verified' + } +}; + +export const handler = async (argv: any): Promise => { + const verifyCheckpointCmd = new VerifyCheckpointCmd(); + await verifyCheckpointCmd.init(argv, Database); + + const { graphWatcher, graphDb } = await getGraphDbAndWatcher( + verifyCheckpointCmd.config.server, + verifyCheckpointCmd.clients.ethClient, + verifyCheckpointCmd.ethProvider, + verifyCheckpointCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await verifyCheckpointCmd.initIndexer(Indexer, graphWatcher); + + await verifyCheckpointCmd.exec(graphDb); +}; diff --git a/packages/v2-watcher/src/cli/checkpoint.ts b/packages/v2-watcher/src/cli/checkpoint.ts new file mode 100644 index 0000000..d05ad8a --- /dev/null +++ b/packages/v2-watcher/src/cli/checkpoint.ts @@ -0,0 +1,39 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import yargs from 'yargs'; +import 'reflect-metadata'; +import debug from 'debug'; + +import { DEFAULT_CONFIG_PATH } from '@cerc-io/util'; + +import { hideBin } from 'yargs/helpers'; + +const log = debug('vulcanize:checkpoint'); + +const main = async () => { + return yargs(hideBin(process.argv)) + .parserConfiguration({ + 'parse-numbers': false + }).options({ + configFile: { + alias: 'f', + type: 'string', + require: true, + demandOption: true, + describe: 'configuration file path (toml)', + default: DEFAULT_CONFIG_PATH + } + }) + .commandDir('checkpoint-cmds', { extensions: ['ts', 'js'], exclude: /([a-zA-Z0-9\s_\\.\-:])+(.d.ts)$/ }) + .demandCommand(1) + .help() + .argv; +}; + +main().then(() => { + process.exit(); +}).catch(err => { + log(err); +}); diff --git a/packages/v2-watcher/src/cli/export-state.ts b/packages/v2-watcher/src/cli/export-state.ts new file mode 100644 index 0000000..bcd1c8a --- /dev/null +++ b/packages/v2-watcher/src/cli/export-state.ts @@ -0,0 +1,38 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { ExportStateCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../database'; +import { Indexer } from '../indexer'; + +const log = debug('vulcanize:export-state'); + +const main = async (): Promise => { + const exportStateCmd = new ExportStateCmd(); + await exportStateCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + exportStateCmd.config.server, + exportStateCmd.clients.ethClient, + exportStateCmd.ethProvider, + exportStateCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await exportStateCmd.initIndexer(Indexer, graphWatcher); + + await exportStateCmd.exec(); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(0); +}); diff --git a/packages/v2-watcher/src/cli/import-state.ts b/packages/v2-watcher/src/cli/import-state.ts new file mode 100644 index 0000000..04ce0e8 --- /dev/null +++ b/packages/v2-watcher/src/cli/import-state.ts @@ -0,0 +1,39 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { ImportStateCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../database'; +import { Indexer } from '../indexer'; +import { State } from '../entity/State'; + +const log = debug('vulcanize:import-state'); + +export const main = async (): Promise => { + const importStateCmd = new ImportStateCmd(); + await importStateCmd.init(Database); + + const { graphWatcher, graphDb } = await getGraphDbAndWatcher( + importStateCmd.config.server, + importStateCmd.clients.ethClient, + importStateCmd.ethProvider, + importStateCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await importStateCmd.initIndexer(Indexer, graphWatcher); + + await importStateCmd.exec(State, graphDb); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(0); +}); diff --git a/packages/v2-watcher/src/cli/index-block.ts b/packages/v2-watcher/src/cli/index-block.ts new file mode 100644 index 0000000..19a302a --- /dev/null +++ b/packages/v2-watcher/src/cli/index-block.ts @@ -0,0 +1,38 @@ +// +// Copyright 2022 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { IndexBlockCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../database'; +import { Indexer } from '../indexer'; + +const log = debug('vulcanize:index-block'); + +const main = async (): Promise => { + const indexBlockCmd = new IndexBlockCmd(); + await indexBlockCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + indexBlockCmd.config.server, + indexBlockCmd.clients.ethClient, + indexBlockCmd.ethProvider, + indexBlockCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await indexBlockCmd.initIndexer(Indexer, graphWatcher); + + await indexBlockCmd.exec(); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(0); +}); diff --git a/packages/v2-watcher/src/cli/inspect-cid.ts b/packages/v2-watcher/src/cli/inspect-cid.ts new file mode 100644 index 0000000..4f5955e --- /dev/null +++ b/packages/v2-watcher/src/cli/inspect-cid.ts @@ -0,0 +1,38 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { InspectCIDCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../database'; +import { Indexer } from '../indexer'; + +const log = debug('vulcanize:inspect-cid'); + +const main = async (): Promise => { + const inspectCIDCmd = new InspectCIDCmd(); + await inspectCIDCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + inspectCIDCmd.config.server, + inspectCIDCmd.clients.ethClient, + inspectCIDCmd.ethProvider, + inspectCIDCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await inspectCIDCmd.initIndexer(Indexer, graphWatcher); + + await inspectCIDCmd.exec(); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(0); +}); diff --git a/packages/v2-watcher/src/cli/reset-cmds/job-queue.ts b/packages/v2-watcher/src/cli/reset-cmds/job-queue.ts new file mode 100644 index 0000000..c33cbfd --- /dev/null +++ b/packages/v2-watcher/src/cli/reset-cmds/job-queue.ts @@ -0,0 +1,22 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import debug from 'debug'; + +import { getConfig, resetJobs, Config } from '@cerc-io/util'; + +const log = debug('vulcanize:reset-job-queue'); + +export const command = 'job-queue'; + +export const desc = 'Reset job queue'; + +export const builder = {}; + +export const handler = async (argv: any): Promise => { + const config: Config = await getConfig(argv.configFile); + await resetJobs(config); + + log('Job queue reset successfully'); +}; diff --git a/packages/v2-watcher/src/cli/reset-cmds/state.ts b/packages/v2-watcher/src/cli/reset-cmds/state.ts new file mode 100644 index 0000000..33211d6 --- /dev/null +++ b/packages/v2-watcher/src/cli/reset-cmds/state.ts @@ -0,0 +1,24 @@ +// +// Copyright 2022 Vulcanize, Inc. +// + +import { ResetStateCmd } from '@cerc-io/cli'; + +import { Database } from '../../database'; + +export const command = 'state'; + +export const desc = 'Reset State to a given block number'; + +export const builder = { + blockNumber: { + type: 'number' + } +}; + +export const handler = async (argv: any): Promise => { + const resetStateCmd = new ResetStateCmd(); + await resetStateCmd.init(argv, Database); + + await resetStateCmd.exec(); +}; diff --git a/packages/v2-watcher/src/cli/reset-cmds/watcher.ts b/packages/v2-watcher/src/cli/reset-cmds/watcher.ts new file mode 100644 index 0000000..827fd28 --- /dev/null +++ b/packages/v2-watcher/src/cli/reset-cmds/watcher.ts @@ -0,0 +1,37 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { ResetWatcherCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../../database'; +import { Indexer } from '../../indexer'; + +export const command = 'watcher'; + +export const desc = 'Reset watcher to a block number'; + +export const builder = { + blockNumber: { + type: 'number' + } +}; + +export const handler = async (argv: any): Promise => { + const resetWatcherCmd = new ResetWatcherCmd(); + await resetWatcherCmd.init(argv, Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + resetWatcherCmd.config.server, + resetWatcherCmd.clients.ethClient, + resetWatcherCmd.ethProvider, + resetWatcherCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await resetWatcherCmd.initIndexer(Indexer, graphWatcher); + + await resetWatcherCmd.exec(); +}; diff --git a/packages/v2-watcher/src/cli/reset.ts b/packages/v2-watcher/src/cli/reset.ts new file mode 100644 index 0000000..95648c8 --- /dev/null +++ b/packages/v2-watcher/src/cli/reset.ts @@ -0,0 +1,24 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { getResetYargs } from '@cerc-io/util'; + +const log = debug('vulcanize:reset'); + +const main = async () => { + return getResetYargs() + .commandDir('reset-cmds', { extensions: ['ts', 'js'], exclude: /([a-zA-Z0-9\s_\\.\-:])+(.d.ts)$/ }) + .demandCommand(1) + .help() + .argv; +}; + +main().then(() => { + process.exit(); +}).catch(err => { + log(err); +}); diff --git a/packages/v2-watcher/src/cli/watch-contract.ts b/packages/v2-watcher/src/cli/watch-contract.ts new file mode 100644 index 0000000..7d6ce1a --- /dev/null +++ b/packages/v2-watcher/src/cli/watch-contract.ts @@ -0,0 +1,38 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { WatchContractCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from '../database'; +import { Indexer } from '../indexer'; + +const log = debug('vulcanize:watch-contract'); + +const main = async (): Promise => { + const watchContractCmd = new WatchContractCmd(); + await watchContractCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + watchContractCmd.config.server, + watchContractCmd.clients.ethClient, + watchContractCmd.ethProvider, + watchContractCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await watchContractCmd.initIndexer(Indexer, graphWatcher); + + await watchContractCmd.exec(); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(0); +}); diff --git a/packages/v2-watcher/src/client.ts b/packages/v2-watcher/src/client.ts new file mode 100644 index 0000000..8bb2bb0 --- /dev/null +++ b/packages/v2-watcher/src/client.ts @@ -0,0 +1,55 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { gql } from '@apollo/client/core'; +import { GraphQLClient, GraphQLConfig } from '@cerc-io/ipld-eth-client'; + +import { queries, mutations, subscriptions } from './gql'; + +export class Client { + _config: GraphQLConfig; + _client: GraphQLClient; + + constructor (config: GraphQLConfig) { + this._config = config; + + this._client = new GraphQLClient(config); + } + + async getEvents (blockHash: string, contractAddress: string, name: string): Promise { + const { events } = await this._client.query( + gql(queries.events), + { blockHash, contractAddress, name } + ); + + return events; + } + + async getEventsInRange (fromBlockNumber: number, toBlockNumber: number): Promise { + const { eventsInRange } = await this._client.query( + gql(queries.eventsInRange), + { fromBlockNumber, toBlockNumber } + ); + + return eventsInRange; + } + + async watchContract (contractAddress: string, startingBlock?: number): Promise { + const { watchContract } = await this._client.mutate( + gql(mutations.watchContract), + { contractAddress, startingBlock } + ); + + return watchContract; + } + + async watchEvents (onNext: (value: any) => void): Promise { + return this._client.subscribe( + gql(subscriptions.onEvent), + ({ data }) => { + onNext(data.onEvent); + } + ); + } +} diff --git a/packages/v2-watcher/src/database.ts b/packages/v2-watcher/src/database.ts new file mode 100644 index 0000000..4ed726c --- /dev/null +++ b/packages/v2-watcher/src/database.ts @@ -0,0 +1,299 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import assert from 'assert'; +import { Connection, ConnectionOptions, DeepPartial, FindConditions, QueryRunner, FindManyOptions, EntityTarget } from 'typeorm'; +import path from 'path'; + +import { + ENTITY_QUERY_TYPE, + Database as BaseDatabase, + DatabaseInterface, + QueryOptions, + StateKind, + Where +} from '@cerc-io/util'; + +import { Contract } from './entity/Contract'; +import { Event } from './entity/Event'; +import { SyncStatus } from './entity/SyncStatus'; +import { StateSyncStatus } from './entity/StateSyncStatus'; +import { BlockProgress } from './entity/BlockProgress'; +import { State } from './entity/State'; +import { UniswapFactory } from './entity/UniswapFactory'; +import { Token } from './entity/Token'; +import { Pair } from './entity/Pair'; +import { User } from './entity/User'; +import { LiquidityPosition } from './entity/LiquidityPosition'; +import { LiquidityPositionSnapshot } from './entity/LiquidityPositionSnapshot'; +import { Transaction } from './entity/Transaction'; +import { Mint } from './entity/Mint'; +import { Burn } from './entity/Burn'; +import { Swap } from './entity/Swap'; +import { Bundle } from './entity/Bundle'; +import { UniswapDayData } from './entity/UniswapDayData'; +import { PairHourData } from './entity/PairHourData'; +import { PairDayData } from './entity/PairDayData'; +import { TokenDayData } from './entity/TokenDayData'; + +export const SUBGRAPH_ENTITIES = new Set([UniswapFactory, Token, Pair, User, LiquidityPosition, LiquidityPositionSnapshot, Transaction, Mint, Burn, Swap, Bundle, UniswapDayData, PairHourData, PairDayData, TokenDayData]); +export const ENTITIES = [...SUBGRAPH_ENTITIES]; +// Map: Entity to suitable query type. +export const ENTITY_QUERY_TYPE_MAP = new Map any, ENTITY_QUERY_TYPE>([]); + +export const ENTITY_TO_LATEST_ENTITY_MAP: Map = new Map(); + +export class Database implements DatabaseInterface { + _config: ConnectionOptions; + _conn!: Connection; + _baseDatabase: BaseDatabase; + _propColMaps: { [key: string]: Map; }; + + constructor (config: ConnectionOptions) { + assert(config); + + this._config = { + ...config, + subscribers: [path.join(__dirname, 'entity/Subscriber.*')], + entities: [path.join(__dirname, 'entity/*')] + }; + + this._baseDatabase = new BaseDatabase(this._config); + this._propColMaps = {}; + } + + get baseDatabase (): BaseDatabase { + return this._baseDatabase; + } + + async init (): Promise { + this._conn = await this._baseDatabase.init(); + } + + async close (): Promise { + return this._baseDatabase.close(); + } + + getNewState (): State { + return new State(); + } + + async getStates (where: FindConditions): Promise { + const repo = this._conn.getRepository(State); + + return this._baseDatabase.getStates(repo, where); + } + + async getLatestState (contractAddress: string, kind: StateKind | null, blockNumber?: number): Promise { + const repo = this._conn.getRepository(State); + + return this._baseDatabase.getLatestState(repo, contractAddress, kind, blockNumber); + } + + async getPrevState (blockHash: string, contractAddress: string, kind?: string): Promise { + const repo = this._conn.getRepository(State); + + return this._baseDatabase.getPrevState(repo, blockHash, contractAddress, kind); + } + + // Fetch all diff States after the specified block number. + async getDiffStatesInRange (contractAddress: string, startblock: number, endBlock: number): Promise { + const repo = this._conn.getRepository(State); + + return this._baseDatabase.getDiffStatesInRange(repo, contractAddress, startblock, endBlock); + } + + async saveOrUpdateState (dbTx: QueryRunner, state: State): Promise { + const repo = dbTx.manager.getRepository(State); + + return this._baseDatabase.saveOrUpdateState(repo, state); + } + + async removeStates (dbTx: QueryRunner, blockNumber: number, kind: string): Promise { + const repo = dbTx.manager.getRepository(State); + + await this._baseDatabase.removeStates(repo, blockNumber, kind); + } + + async removeStatesAfterBlock (dbTx: QueryRunner, blockNumber: number): Promise { + const repo = dbTx.manager.getRepository(State); + + await this._baseDatabase.removeStatesAfterBlock(repo, blockNumber); + } + + async getStateSyncStatus (): Promise { + const repo = this._conn.getRepository(StateSyncStatus); + + return this._baseDatabase.getStateSyncStatus(repo); + } + + async updateStateSyncStatusIndexedBlock (queryRunner: QueryRunner, blockNumber: number, force?: boolean): Promise { + const repo = queryRunner.manager.getRepository(StateSyncStatus); + + return this._baseDatabase.updateStateSyncStatusIndexedBlock(repo, blockNumber, force); + } + + async updateStateSyncStatusCheckpointBlock (queryRunner: QueryRunner, blockNumber: number, force?: boolean): Promise { + const repo = queryRunner.manager.getRepository(StateSyncStatus); + + return this._baseDatabase.updateStateSyncStatusCheckpointBlock(repo, blockNumber, force); + } + + async getContracts (): Promise { + const repo = this._conn.getRepository(Contract); + + return this._baseDatabase.getContracts(repo); + } + + async createTransactionRunner (): Promise { + return this._baseDatabase.createTransactionRunner(); + } + + async getProcessedBlockCountForRange (fromBlockNumber: number, toBlockNumber: number): Promise<{ expected: number, actual: number }> { + const repo = this._conn.getRepository(BlockProgress); + + return this._baseDatabase.getProcessedBlockCountForRange(repo, fromBlockNumber, toBlockNumber); + } + + async getEventsInRange (fromBlockNumber: number, toBlockNumber: number): Promise> { + const repo = this._conn.getRepository(Event); + + return this._baseDatabase.getEventsInRange(repo, fromBlockNumber, toBlockNumber); + } + + async saveEventEntity (queryRunner: QueryRunner, entity: Event): Promise { + const repo = queryRunner.manager.getRepository(Event); + return this._baseDatabase.saveEventEntity(repo, entity); + } + + async getBlockEvents (blockHash: string, where: Where, queryOptions: QueryOptions): Promise { + const repo = this._conn.getRepository(Event); + + return this._baseDatabase.getBlockEvents(repo, blockHash, where, queryOptions); + } + + async saveBlockWithEvents (queryRunner: QueryRunner, block: DeepPartial, events: DeepPartial[]): Promise { + const blockRepo = queryRunner.manager.getRepository(BlockProgress); + const eventRepo = queryRunner.manager.getRepository(Event); + + return this._baseDatabase.saveBlockWithEvents(blockRepo, eventRepo, block, events); + } + + async saveEvents (queryRunner: QueryRunner, events: Event[]): Promise { + const eventRepo = queryRunner.manager.getRepository(Event); + + return this._baseDatabase.saveEvents(eventRepo, events); + } + + async saveBlockProgress (queryRunner: QueryRunner, block: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(BlockProgress); + + return this._baseDatabase.saveBlockProgress(repo, block); + } + + async saveContract (queryRunner: QueryRunner, address: string, kind: string, checkpoint: boolean, startingBlock: number, context?: any): Promise { + const repo = queryRunner.manager.getRepository(Contract); + + return this._baseDatabase.saveContract(repo, address, kind, checkpoint, startingBlock, context); + } + + async updateSyncStatusIndexedBlock (queryRunner: QueryRunner, blockHash: string, blockNumber: number, force = false): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatusIndexedBlock(repo, blockHash, blockNumber, force); + } + + async updateSyncStatusCanonicalBlock (queryRunner: QueryRunner, blockHash: string, blockNumber: number, force = false): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatusCanonicalBlock(repo, blockHash, blockNumber, force); + } + + async updateSyncStatusChainHead (queryRunner: QueryRunner, blockHash: string, blockNumber: number, force = false): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatusChainHead(repo, blockHash, blockNumber, force); + } + + async updateSyncStatusProcessedBlock (queryRunner: QueryRunner, blockHash: string, blockNumber: number, force = false): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatusProcessedBlock(repo, blockHash, blockNumber, force); + } + + async updateSyncStatusIndexingError (queryRunner: QueryRunner, hasIndexingError: boolean): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); + } + + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + + async getSyncStatus (queryRunner: QueryRunner): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.getSyncStatus(repo); + } + + async getEvent (id: string): Promise { + const repo = this._conn.getRepository(Event); + + return this._baseDatabase.getEvent(repo, id); + } + + async getBlocksAtHeight (height: number, isPruned: boolean): Promise { + const repo = this._conn.getRepository(BlockProgress); + + return this._baseDatabase.getBlocksAtHeight(repo, height, isPruned); + } + + async markBlocksAsPruned (queryRunner: QueryRunner, blocks: BlockProgress[]): Promise { + const repo = queryRunner.manager.getRepository(BlockProgress); + + return this._baseDatabase.markBlocksAsPruned(repo, blocks); + } + + async getBlockProgress (blockHash: string): Promise { + const repo = this._conn.getRepository(BlockProgress); + return this._baseDatabase.getBlockProgress(repo, blockHash); + } + + async getBlockProgressEntities (where: FindConditions, options: FindManyOptions): Promise { + const repo = this._conn.getRepository(BlockProgress); + + return this._baseDatabase.getBlockProgressEntities(repo, where, options); + } + + async getEntitiesForBlock (blockHash: string, tableName: string): Promise { + return this._baseDatabase.getEntitiesForBlock(blockHash, tableName); + } + + async updateBlockProgress (queryRunner: QueryRunner, block: BlockProgress, lastProcessedEventIndex: number): Promise { + const repo = queryRunner.manager.getRepository(BlockProgress); + + return this._baseDatabase.updateBlockProgress(repo, block, lastProcessedEventIndex); + } + + async removeEntities (queryRunner: QueryRunner, entity: new () => Entity, findConditions?: FindManyOptions | FindConditions): Promise { + return this._baseDatabase.removeEntities(queryRunner, entity, findConditions); + } + + async deleteEntitiesByConditions (queryRunner: QueryRunner, entity: EntityTarget, findConditions: FindConditions): Promise { + await this._baseDatabase.deleteEntitiesByConditions(queryRunner, entity, findConditions); + } + + async getAncestorAtHeight (blockHash: string, height: number): Promise { + return this._baseDatabase.getAncestorAtHeight(blockHash, height); + } + + _getPropertyColumnMapForEntity (entityName: string): Map { + return this._conn.getMetadata(entityName).ownColumns.reduce((acc, curr) => { + return acc.set(curr.propertyName, curr.databaseName); + }, new Map()); + } +} diff --git a/packages/v2-watcher/src/entity/BlockProgress.ts b/packages/v2-watcher/src/entity/BlockProgress.ts new file mode 100644 index 0000000..ded4a86 --- /dev/null +++ b/packages/v2-watcher/src/entity/BlockProgress.ts @@ -0,0 +1,48 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column, Index, CreateDateColumn } from 'typeorm'; +import { BlockProgressInterface } from '@cerc-io/util'; + +@Entity() +@Index(['blockHash'], { unique: true }) +@Index(['blockNumber']) +@Index(['parentHash']) +export class BlockProgress implements BlockProgressInterface { + @PrimaryGeneratedColumn() + id!: number; + + @Column('varchar', { nullable: true }) + cid!: string | null; + + @Column('varchar', { length: 66 }) + blockHash!: string; + + @Column('varchar', { length: 66 }) + parentHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + blockTimestamp!: number; + + @Column('integer') + numEvents!: number; + + @Column('integer') + numProcessedEvents!: number; + + @Column('integer') + lastProcessedEventIndex!: number; + + @Column('boolean') + isComplete!: boolean; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @CreateDateColumn() + createdAt!: Date; +} diff --git a/packages/v2-watcher/src/entity/Bundle.ts b/packages/v2-watcher/src/entity/Bundle.ts new file mode 100644 index 0000000..2623f11 --- /dev/null +++ b/packages/v2-watcher/src/entity/Bundle.ts @@ -0,0 +1,29 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Bundle { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('numeric', { transformer: decimalTransformer }) + ethPrice!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Burn.ts b/packages/v2-watcher/src/entity/Burn.ts new file mode 100644 index 0000000..45c54e9 --- /dev/null +++ b/packages/v2-watcher/src/entity/Burn.ts @@ -0,0 +1,65 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Burn { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + transaction!: string; + + @Column('numeric', { transformer: bigintTransformer }) + timestamp!: bigint; + + @Column('varchar') + pair!: string; + + @Column('numeric', { transformer: decimalTransformer }) + liquidity!: Decimal; + + @Column('varchar', { nullable: true }) + sender!: string | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amount0!: Decimal | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amount1!: Decimal | null; + + @Column('varchar', { nullable: true }) + to!: string | null; + + @Column('numeric', { nullable: true, transformer: bigintTransformer }) + logIndex!: bigint | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amountUSD!: Decimal | null; + + @Column('boolean') + needsComplete!: boolean; + + @Column('varchar', { nullable: true }) + feeTo!: string | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + feeLiquidity!: Decimal | null; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Contract.ts b/packages/v2-watcher/src/entity/Contract.ts new file mode 100644 index 0000000..e4defa8 --- /dev/null +++ b/packages/v2-watcher/src/entity/Contract.ts @@ -0,0 +1,27 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column, Index } from 'typeorm'; + +@Entity() +@Index(['address'], { unique: true }) +export class Contract { + @PrimaryGeneratedColumn() + id!: number; + + @Column('varchar', { length: 42 }) + address!: string; + + @Column('varchar') + kind!: string; + + @Column('boolean') + checkpoint!: boolean; + + @Column('integer') + startingBlock!: number; + + @Column('jsonb', { nullable: true }) + context!: Record; +} diff --git a/packages/v2-watcher/src/entity/Event.ts b/packages/v2-watcher/src/entity/Event.ts new file mode 100644 index 0000000..91f1e6d --- /dev/null +++ b/packages/v2-watcher/src/entity/Event.ts @@ -0,0 +1,38 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column, Index, ManyToOne } from 'typeorm'; +import { BlockProgress } from './BlockProgress'; + +@Entity() +@Index(['block', 'contract']) +@Index(['block', 'contract', 'eventName']) +export class Event { + @PrimaryGeneratedColumn() + id!: number; + + @ManyToOne(() => BlockProgress, { onDelete: 'CASCADE' }) + block!: BlockProgress; + + @Column('varchar', { length: 66 }) + txHash!: string; + + @Column('integer') + index!: number; + + @Column('varchar', { length: 42 }) + contract!: string; + + @Column('varchar', { length: 256 }) + eventName!: string; + + @Column('text') + eventInfo!: string; + + @Column('text') + extraInfo!: string; + + @Column('text') + proof!: string; +} diff --git a/packages/v2-watcher/src/entity/FrothyEntity.ts b/packages/v2-watcher/src/entity/FrothyEntity.ts new file mode 100644 index 0000000..9898ce8 --- /dev/null +++ b/packages/v2-watcher/src/entity/FrothyEntity.ts @@ -0,0 +1,21 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; + +@Entity() +@Index(['blockNumber']) +export class FrothyEntity { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar') + name!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; +} diff --git a/packages/v2-watcher/src/entity/LiquidityPosition.ts b/packages/v2-watcher/src/entity/LiquidityPosition.ts new file mode 100644 index 0000000..cd23620 --- /dev/null +++ b/packages/v2-watcher/src/entity/LiquidityPosition.ts @@ -0,0 +1,35 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class LiquidityPosition { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + user!: string; + + @Column('varchar') + pair!: string; + + @Column('numeric', { transformer: decimalTransformer }) + liquidityTokenBalance!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/LiquidityPositionSnapshot.ts b/packages/v2-watcher/src/entity/LiquidityPositionSnapshot.ts new file mode 100644 index 0000000..79e32c3 --- /dev/null +++ b/packages/v2-watcher/src/entity/LiquidityPositionSnapshot.ts @@ -0,0 +1,62 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class LiquidityPositionSnapshot { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + liquidityPosition!: string; + + @Column('integer') + timestamp!: number; + + @Column('integer') + block!: number; + + @Column('varchar') + user!: string; + + @Column('varchar') + pair!: string; + + @Column('numeric', { transformer: decimalTransformer }) + token0PriceUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + token1PriceUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserve0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserve1!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserveUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + liquidityTokenTotalSupply!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + liquidityTokenBalance!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Mint.ts b/packages/v2-watcher/src/entity/Mint.ts new file mode 100644 index 0000000..ec1512a --- /dev/null +++ b/packages/v2-watcher/src/entity/Mint.ts @@ -0,0 +1,62 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Mint { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + transaction!: string; + + @Column('numeric', { transformer: bigintTransformer }) + timestamp!: bigint; + + @Column('varchar') + pair!: string; + + @Column('varchar') + to!: string; + + @Column('numeric', { transformer: decimalTransformer }) + liquidity!: Decimal; + + @Column('varchar', { nullable: true }) + sender!: string | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amount0!: Decimal | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amount1!: Decimal | null; + + @Column('numeric', { nullable: true, transformer: bigintTransformer }) + logIndex!: bigint | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + amountUSD!: Decimal | null; + + @Column('varchar', { nullable: true }) + feeTo!: string | null; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + feeLiquidity!: Decimal | null; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Pair.ts b/packages/v2-watcher/src/entity/Pair.ts new file mode 100644 index 0000000..fa0bf2c --- /dev/null +++ b/packages/v2-watcher/src/entity/Pair.ts @@ -0,0 +1,80 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Pair { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + token0!: string; + + @Column('varchar') + token1!: string; + + @Column('numeric', { transformer: decimalTransformer }) + reserve0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserve1!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalSupply!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserveETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserveUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + trackedReserveETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + token0Price!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + token1Price!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + volumeToken0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + volumeToken1!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + volumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + untrackedVolumeUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + txCount!: bigint; + + @Column('numeric', { transformer: bigintTransformer }) + createdAtTimestamp!: bigint; + + @Column('numeric', { transformer: bigintTransformer }) + createdAtBlockNumber!: bigint; + + @Column('numeric', { transformer: bigintTransformer }) + liquidityProviderCount!: bigint; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/PairDayData.ts b/packages/v2-watcher/src/entity/PairDayData.ts new file mode 100644 index 0000000..8ce018b --- /dev/null +++ b/packages/v2-watcher/src/entity/PairDayData.ts @@ -0,0 +1,62 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class PairDayData { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + date!: number; + + @Column('varchar') + pairAddress!: string; + + @Column('varchar') + token0!: string; + + @Column('varchar') + token1!: string; + + @Column('numeric', { transformer: decimalTransformer }) + reserve0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserve1!: Decimal; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + totalSupply!: Decimal | null; + + @Column('numeric', { transformer: decimalTransformer }) + reserveUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeToken0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeToken1!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + dailyTxns!: bigint; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/PairHourData.ts b/packages/v2-watcher/src/entity/PairHourData.ts new file mode 100644 index 0000000..173c8fc --- /dev/null +++ b/packages/v2-watcher/src/entity/PairHourData.ts @@ -0,0 +1,56 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class PairHourData { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + hourStartUnix!: number; + + @Column('varchar') + pair!: string; + + @Column('numeric', { transformer: decimalTransformer }) + reserve0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + reserve1!: Decimal; + + @Column('numeric', { nullable: true, transformer: decimalTransformer }) + totalSupply!: Decimal | null; + + @Column('numeric', { transformer: decimalTransformer }) + reserveUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + hourlyVolumeToken0!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + hourlyVolumeToken1!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + hourlyVolumeUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + hourlyTxns!: bigint; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/State.ts b/packages/v2-watcher/src/entity/State.ts new file mode 100644 index 0000000..bc05bca --- /dev/null +++ b/packages/v2-watcher/src/entity/State.ts @@ -0,0 +1,31 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column, Index, ManyToOne } from 'typeorm'; +import { StateKind } from '@cerc-io/util'; +import { BlockProgress } from './BlockProgress'; + +@Entity() +@Index(['cid'], { unique: true }) +@Index(['block', 'contractAddress']) +@Index(['block', 'contractAddress', 'kind'], { unique: true }) +export class State { + @PrimaryGeneratedColumn() + id!: number; + + @ManyToOne(() => BlockProgress, { onDelete: 'CASCADE' }) + block!: BlockProgress; + + @Column('varchar', { length: 42 }) + contractAddress!: string; + + @Column('varchar') + cid!: string; + + @Column({ type: 'enum', enum: StateKind }) + kind!: StateKind; + + @Column('bytea') + data!: Buffer; +} diff --git a/packages/v2-watcher/src/entity/StateSyncStatus.ts b/packages/v2-watcher/src/entity/StateSyncStatus.ts new file mode 100644 index 0000000..1535eb4 --- /dev/null +++ b/packages/v2-watcher/src/entity/StateSyncStatus.ts @@ -0,0 +1,17 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; + +@Entity() +export class StateSyncStatus { + @PrimaryGeneratedColumn() + id!: number; + + @Column('integer') + latestIndexedBlockNumber!: number; + + @Column('integer') + latestCheckpointBlockNumber!: number; +} diff --git a/packages/v2-watcher/src/entity/Subscriber.ts b/packages/v2-watcher/src/entity/Subscriber.ts new file mode 100644 index 0000000..2cccb84 --- /dev/null +++ b/packages/v2-watcher/src/entity/Subscriber.ts @@ -0,0 +1,21 @@ +// +// Copyright 2022 Vulcanize, Inc. +// + +import { EventSubscriber, EntitySubscriberInterface, InsertEvent, UpdateEvent } from 'typeorm'; + +import { afterEntityInsertOrUpdate } from '@cerc-io/util'; + +import { FrothyEntity } from './FrothyEntity'; +import { ENTITY_TO_LATEST_ENTITY_MAP, SUBGRAPH_ENTITIES } from '../database'; + +@EventSubscriber() +export class EntitySubscriber implements EntitySubscriberInterface { + async afterInsert (event: InsertEvent): Promise { + await afterEntityInsertOrUpdate(FrothyEntity, SUBGRAPH_ENTITIES, event, ENTITY_TO_LATEST_ENTITY_MAP); + } + + async afterUpdate (event: UpdateEvent): Promise { + await afterEntityInsertOrUpdate(FrothyEntity, SUBGRAPH_ENTITIES, event, ENTITY_TO_LATEST_ENTITY_MAP); + } +} diff --git a/packages/v2-watcher/src/entity/Swap.ts b/packages/v2-watcher/src/entity/Swap.ts new file mode 100644 index 0000000..d21d58e --- /dev/null +++ b/packages/v2-watcher/src/entity/Swap.ts @@ -0,0 +1,62 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Swap { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + transaction!: string; + + @Column('numeric', { transformer: bigintTransformer }) + timestamp!: bigint; + + @Column('varchar') + pair!: string; + + @Column('varchar') + sender!: string; + + @Column('varchar') + from!: string; + + @Column('numeric', { transformer: decimalTransformer }) + amount0In!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + amount1In!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + amount0Out!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + amount1Out!: Decimal; + + @Column('varchar') + to!: string; + + @Column('numeric', { nullable: true, transformer: bigintTransformer }) + logIndex!: bigint | null; + + @Column('numeric', { transformer: decimalTransformer }) + amountUSD!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/SyncStatus.ts b/packages/v2-watcher/src/entity/SyncStatus.ts new file mode 100644 index 0000000..cc13c70 --- /dev/null +++ b/packages/v2-watcher/src/entity/SyncStatus.ts @@ -0,0 +1,45 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; +import { SyncStatusInterface } from '@cerc-io/util'; + +@Entity() +export class SyncStatus implements SyncStatusInterface { + @PrimaryGeneratedColumn() + id!: number; + + @Column('varchar', { length: 66 }) + chainHeadBlockHash!: string; + + @Column('integer') + chainHeadBlockNumber!: number; + + @Column('varchar', { length: 66 }) + latestIndexedBlockHash!: string; + + @Column('integer') + latestIndexedBlockNumber!: number; + + @Column('varchar', { length: 66 }) + latestProcessedBlockHash!: string; + + @Column('integer') + latestProcessedBlockNumber!: number; + + @Column('varchar', { length: 66 }) + latestCanonicalBlockHash!: string; + + @Column('integer') + latestCanonicalBlockNumber!: number; + + @Column('varchar', { length: 66 }) + initialIndexedBlockHash!: string; + + @Column('integer') + initialIndexedBlockNumber!: number; + + @Column('boolean', { default: false }) + hasIndexingError!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Token.ts b/packages/v2-watcher/src/entity/Token.ts new file mode 100644 index 0000000..9abb9f6 --- /dev/null +++ b/packages/v2-watcher/src/entity/Token.ts @@ -0,0 +1,56 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class Token { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('varchar') + symbol!: string; + + @Column('varchar') + name!: string; + + @Column('numeric', { transformer: bigintTransformer }) + decimals!: bigint; + + @Column('numeric', { transformer: bigintTransformer }) + totalSupply!: bigint; + + @Column('numeric', { transformer: decimalTransformer }) + tradeVolume!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + tradeVolumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + untrackedVolumeUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + txCount!: bigint; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidity!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + derivedETH!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/TokenDayData.ts b/packages/v2-watcher/src/entity/TokenDayData.ts new file mode 100644 index 0000000..e9ccbaa --- /dev/null +++ b/packages/v2-watcher/src/entity/TokenDayData.ts @@ -0,0 +1,56 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class TokenDayData { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + date!: number; + + @Column('varchar') + token!: string; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeToken!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + dailyTxns!: bigint; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityToken!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + priceUSD!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/Transaction.ts b/packages/v2-watcher/src/entity/Transaction.ts new file mode 100644 index 0000000..62c44e0 --- /dev/null +++ b/packages/v2-watcher/src/entity/Transaction.ts @@ -0,0 +1,40 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { bigintTransformer } from '@cerc-io/util'; + +@Entity() +@Index(['blockNumber']) +export class Transaction { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('numeric', { transformer: bigintTransformer }) + _blockNumber!: bigint; + + @Column('numeric', { transformer: bigintTransformer }) + timestamp!: bigint; + + @Column('varchar', { array: true }) + mints!: string[]; + + @Column('varchar', { array: true }) + burns!: string[]; + + @Column('varchar', { array: true }) + swaps!: string[]; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/UniswapDayData.ts b/packages/v2-watcher/src/entity/UniswapDayData.ts new file mode 100644 index 0000000..bb35d61 --- /dev/null +++ b/packages/v2-watcher/src/entity/UniswapDayData.ts @@ -0,0 +1,53 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class UniswapDayData { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + date!: number; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + dailyVolumeUntracked!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalVolumeETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalVolumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityUSD!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + txCount!: bigint; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/UniswapFactory.ts b/packages/v2-watcher/src/entity/UniswapFactory.ts new file mode 100644 index 0000000..cb67ebd --- /dev/null +++ b/packages/v2-watcher/src/entity/UniswapFactory.ts @@ -0,0 +1,47 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer, bigintTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class UniswapFactory { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('integer') + pairCount!: number; + + @Column('numeric', { transformer: decimalTransformer }) + totalVolumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalVolumeETH!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + untrackedVolumeUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityUSD!: Decimal; + + @Column('numeric', { transformer: decimalTransformer }) + totalLiquidityETH!: Decimal; + + @Column('numeric', { transformer: bigintTransformer }) + txCount!: bigint; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/entity/User.ts b/packages/v2-watcher/src/entity/User.ts new file mode 100644 index 0000000..df69b26 --- /dev/null +++ b/packages/v2-watcher/src/entity/User.ts @@ -0,0 +1,29 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import { Entity, PrimaryColumn, Column, Index } from 'typeorm'; +import { decimalTransformer } from '@cerc-io/util'; +import { Decimal } from 'decimal.js'; + +@Entity() +@Index(['blockNumber']) +export class User { + @PrimaryColumn('varchar') + id!: string; + + @PrimaryColumn('varchar', { length: 66 }) + blockHash!: string; + + @Column('integer') + blockNumber!: number; + + @Column('numeric', { transformer: decimalTransformer }) + usdSwapped!: Decimal; + + @Column('boolean', { default: false }) + isPruned!: boolean; + + @Column('boolean', { default: false }) + isRemoved!: boolean; +} diff --git a/packages/v2-watcher/src/fill.ts b/packages/v2-watcher/src/fill.ts new file mode 100644 index 0000000..210341e --- /dev/null +++ b/packages/v2-watcher/src/fill.ts @@ -0,0 +1,48 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import 'reflect-metadata'; +import debug from 'debug'; + +import { FillCmd } from '@cerc-io/cli'; +import { getContractEntitiesMap } from '@cerc-io/util'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from './database'; +import { Indexer } from './indexer'; + +const log = debug('vulcanize:fill'); + +export const main = async (): Promise => { + const fillCmd = new FillCmd(); + await fillCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + fillCmd.config.server, + fillCmd.clients.ethClient, + fillCmd.ethProvider, + fillCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await fillCmd.initIndexer(Indexer, graphWatcher); + + // Get contractEntitiesMap required for fill-state + // NOTE: Assuming each entity type is only mapped to a single contract + const contractEntitiesMap = getContractEntitiesMap(graphWatcher.dataSources); + + await fillCmd.exec(contractEntitiesMap); +}; + +main().catch(err => { + log(err); +}).finally(() => { + process.exit(); +}); + +process.on('SIGINT', () => { + log(`Exiting process ${process.pid} with code 0`); + process.exit(0); +}); diff --git a/packages/v2-watcher/src/gql/index.ts b/packages/v2-watcher/src/gql/index.ts new file mode 100644 index 0000000..4732f68 --- /dev/null +++ b/packages/v2-watcher/src/gql/index.ts @@ -0,0 +1,3 @@ +export * as mutations from './mutations'; +export * as queries from './queries'; +export * as subscriptions from './subscriptions'; diff --git a/packages/v2-watcher/src/gql/mutations/index.ts b/packages/v2-watcher/src/gql/mutations/index.ts new file mode 100644 index 0000000..0c3bd85 --- /dev/null +++ b/packages/v2-watcher/src/gql/mutations/index.ts @@ -0,0 +1,4 @@ +import fs from 'fs'; +import path from 'path'; + +export const watchContract = fs.readFileSync(path.join(__dirname, 'watchContract.gql'), 'utf8'); diff --git a/packages/v2-watcher/src/gql/mutations/watchContract.gql b/packages/v2-watcher/src/gql/mutations/watchContract.gql new file mode 100644 index 0000000..2ecc74f --- /dev/null +++ b/packages/v2-watcher/src/gql/mutations/watchContract.gql @@ -0,0 +1,3 @@ +mutation watchContract($address: String!, $kind: String!, $checkpoint: Boolean!, $startingBlock: Int){ + watchContract(address: $address, kind: $kind, checkpoint: $checkpoint, startingBlock: $startingBlock) +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/_meta.gql b/packages/v2-watcher/src/gql/queries/_meta.gql new file mode 100644 index 0000000..d686e04 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/_meta.gql @@ -0,0 +1,11 @@ +query _meta($block: Block_height){ + _meta(block: $block){ + block{ + hash + number + timestamp + } + deployment + hasIndexingErrors + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/bundle.gql b/packages/v2-watcher/src/gql/queries/bundle.gql new file mode 100644 index 0000000..e0c66ab --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/bundle.gql @@ -0,0 +1,6 @@ +query bundle($id: ID!, $block: Block_height){ + bundle(id: $id, block: $block){ + id + ethPrice + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/bundles.gql b/packages/v2-watcher/src/gql/queries/bundles.gql new file mode 100644 index 0000000..e1f7d95 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/bundles.gql @@ -0,0 +1,6 @@ +query bundles($block: Block_height, $where: Bundle_filter, $orderBy: Bundle_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + bundles(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + ethPrice + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/burn.gql b/packages/v2-watcher/src/gql/queries/burn.gql new file mode 100644 index 0000000..8514d42 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/burn.gql @@ -0,0 +1,40 @@ +query burn($id: ID!, $block: Block_height){ + burn(id: $id, block: $block){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/burns.gql b/packages/v2-watcher/src/gql/queries/burns.gql new file mode 100644 index 0000000..bc6fe9b --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/burns.gql @@ -0,0 +1,40 @@ +query burns($block: Block_height, $where: Burn_filter, $orderBy: Burn_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + burns(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/events.gql b/packages/v2-watcher/src/gql/queries/events.gql new file mode 100644 index 0000000..03b8121 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/events.gql @@ -0,0 +1,63 @@ +query events($blockHash: String!, $contractAddress: String!, $name: String){ + events(blockHash: $blockHash, contractAddress: $contractAddress, name: $name){ + block{ + cid + hash + number + timestamp + parentHash + } + tx{ + hash + index + from + to + } + contract + eventIndex + event{ + ... on PairCreatedEvent { + token0 + token1 + pair + null + } + ... on ApprovalEvent { + owner + spender + value + } + ... on BurnEvent { + sender + amount0 + amount1 + to + } + ... on MintEvent { + sender + amount0 + amount1 + } + ... on SwapEvent { + sender + amount0In + amount1In + amount0Out + amount1Out + to + } + ... on SyncEvent { + reserve0 + reserve1 + } + ... on TransferEvent { + from + to + value + } + } + proof{ + data + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/eventsInRange.gql b/packages/v2-watcher/src/gql/queries/eventsInRange.gql new file mode 100644 index 0000000..edf319a --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/eventsInRange.gql @@ -0,0 +1,63 @@ +query eventsInRange($fromBlockNumber: Int!, $toBlockNumber: Int!){ + eventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber){ + block{ + cid + hash + number + timestamp + parentHash + } + tx{ + hash + index + from + to + } + contract + eventIndex + event{ + ... on PairCreatedEvent { + token0 + token1 + pair + null + } + ... on ApprovalEvent { + owner + spender + value + } + ... on BurnEvent { + sender + amount0 + amount1 + to + } + ... on MintEvent { + sender + amount0 + amount1 + } + ... on SwapEvent { + sender + amount0In + amount1In + amount0Out + amount1Out + to + } + ... on SyncEvent { + reserve0 + reserve1 + } + ... on TransferEvent { + from + to + value + } + } + proof{ + data + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/getState.gql b/packages/v2-watcher/src/gql/queries/getState.gql new file mode 100644 index 0000000..3b8f605 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/getState.gql @@ -0,0 +1,15 @@ +query getState($blockHash: String!, $contractAddress: String!, $kind: String){ + getState(blockHash: $blockHash, contractAddress: $contractAddress, kind: $kind){ + block{ + cid + hash + number + timestamp + parentHash + } + contractAddress + cid + kind + data + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/getStateByCID.gql b/packages/v2-watcher/src/gql/queries/getStateByCID.gql new file mode 100644 index 0000000..6c3c4fd --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/getStateByCID.gql @@ -0,0 +1,15 @@ +query getStateByCID($cid: String!){ + getStateByCID(cid: $cid){ + block{ + cid + hash + number + timestamp + parentHash + } + contractAddress + cid + kind + data + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/getSyncStatus.gql b/packages/v2-watcher/src/gql/queries/getSyncStatus.gql new file mode 100644 index 0000000..48175b4 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/getSyncStatus.gql @@ -0,0 +1,12 @@ +query getSyncStatus{ + getSyncStatus{ + latestIndexedBlockHash + latestIndexedBlockNumber + latestCanonicalBlockHash + latestCanonicalBlockNumber + initialIndexedBlockHash + initialIndexedBlockNumber + latestProcessedBlockHash + latestProcessedBlockNumber + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/index.ts b/packages/v2-watcher/src/gql/queries/index.ts new file mode 100644 index 0000000..f96d1b3 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/index.ts @@ -0,0 +1,39 @@ +import fs from 'fs'; +import path from 'path'; + +export const events = fs.readFileSync(path.join(__dirname, 'events.gql'), 'utf8'); +export const eventsInRange = fs.readFileSync(path.join(__dirname, 'eventsInRange.gql'), 'utf8'); +export const uniswapFactory = fs.readFileSync(path.join(__dirname, 'uniswapFactory.gql'), 'utf8'); +export const uniswapFactories = fs.readFileSync(path.join(__dirname, 'uniswapFactories.gql'), 'utf8'); +export const token = fs.readFileSync(path.join(__dirname, 'token.gql'), 'utf8'); +export const tokens = fs.readFileSync(path.join(__dirname, 'tokens.gql'), 'utf8'); +export const pair = fs.readFileSync(path.join(__dirname, 'pair.gql'), 'utf8'); +export const pairs = fs.readFileSync(path.join(__dirname, 'pairs.gql'), 'utf8'); +export const user = fs.readFileSync(path.join(__dirname, 'user.gql'), 'utf8'); +export const users = fs.readFileSync(path.join(__dirname, 'users.gql'), 'utf8'); +export const liquidityPosition = fs.readFileSync(path.join(__dirname, 'liquidityPosition.gql'), 'utf8'); +export const liquidityPositions = fs.readFileSync(path.join(__dirname, 'liquidityPositions.gql'), 'utf8'); +export const liquidityPositionSnapshot = fs.readFileSync(path.join(__dirname, 'liquidityPositionSnapshot.gql'), 'utf8'); +export const liquidityPositionSnapshots = fs.readFileSync(path.join(__dirname, 'liquidityPositionSnapshots.gql'), 'utf8'); +export const transaction = fs.readFileSync(path.join(__dirname, 'transaction.gql'), 'utf8'); +export const transactions = fs.readFileSync(path.join(__dirname, 'transactions.gql'), 'utf8'); +export const mint = fs.readFileSync(path.join(__dirname, 'mint.gql'), 'utf8'); +export const mints = fs.readFileSync(path.join(__dirname, 'mints.gql'), 'utf8'); +export const burn = fs.readFileSync(path.join(__dirname, 'burn.gql'), 'utf8'); +export const burns = fs.readFileSync(path.join(__dirname, 'burns.gql'), 'utf8'); +export const swap = fs.readFileSync(path.join(__dirname, 'swap.gql'), 'utf8'); +export const swaps = fs.readFileSync(path.join(__dirname, 'swaps.gql'), 'utf8'); +export const bundle = fs.readFileSync(path.join(__dirname, 'bundle.gql'), 'utf8'); +export const bundles = fs.readFileSync(path.join(__dirname, 'bundles.gql'), 'utf8'); +export const uniswapDayData = fs.readFileSync(path.join(__dirname, 'uniswapDayData.gql'), 'utf8'); +export const uniswapDayDatas = fs.readFileSync(path.join(__dirname, 'uniswapDayDatas.gql'), 'utf8'); +export const pairHourData = fs.readFileSync(path.join(__dirname, 'pairHourData.gql'), 'utf8'); +export const pairHourDatas = fs.readFileSync(path.join(__dirname, 'pairHourDatas.gql'), 'utf8'); +export const pairDayData = fs.readFileSync(path.join(__dirname, 'pairDayData.gql'), 'utf8'); +export const pairDayDatas = fs.readFileSync(path.join(__dirname, 'pairDayDatas.gql'), 'utf8'); +export const tokenDayData = fs.readFileSync(path.join(__dirname, 'tokenDayData.gql'), 'utf8'); +export const tokenDayDatas = fs.readFileSync(path.join(__dirname, 'tokenDayDatas.gql'), 'utf8'); +export const _meta = fs.readFileSync(path.join(__dirname, '_meta.gql'), 'utf8'); +export const getStateByCID = fs.readFileSync(path.join(__dirname, 'getStateByCID.gql'), 'utf8'); +export const getState = fs.readFileSync(path.join(__dirname, 'getState.gql'), 'utf8'); +export const getSyncStatus = fs.readFileSync(path.join(__dirname, 'getSyncStatus.gql'), 'utf8'); diff --git a/packages/v2-watcher/src/gql/queries/liquidityPosition.gql b/packages/v2-watcher/src/gql/queries/liquidityPosition.gql new file mode 100644 index 0000000..4622ad6 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/liquidityPosition.gql @@ -0,0 +1,29 @@ +query liquidityPosition($id: ID!, $block: Block_height){ + liquidityPosition(id: $id, block: $block){ + id + user{ + id + usdSwapped + } + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + liquidityTokenBalance + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshot.gql b/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshot.gql new file mode 100644 index 0000000..e41fbfc --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshot.gql @@ -0,0 +1,41 @@ +query liquidityPositionSnapshot($id: ID!, $block: Block_height){ + liquidityPositionSnapshot(id: $id, block: $block){ + id + liquidityPosition{ + id + liquidityTokenBalance + } + timestamp + block + user{ + id + usdSwapped + } + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + liquidityTokenBalance + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshots.gql b/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshots.gql new file mode 100644 index 0000000..8cf98e8 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/liquidityPositionSnapshots.gql @@ -0,0 +1,41 @@ +query liquidityPositionSnapshots($block: Block_height, $where: LiquidityPositionSnapshot_filter, $orderBy: LiquidityPositionSnapshot_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + liquidityPositionSnapshots(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + liquidityPosition{ + id + liquidityTokenBalance + } + timestamp + block + user{ + id + usdSwapped + } + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + liquidityTokenBalance + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/liquidityPositions.gql b/packages/v2-watcher/src/gql/queries/liquidityPositions.gql new file mode 100644 index 0000000..6340f3c --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/liquidityPositions.gql @@ -0,0 +1,29 @@ +query liquidityPositions($block: Block_height, $where: LiquidityPosition_filter, $orderBy: LiquidityPosition_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + liquidityPositions(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + user{ + id + usdSwapped + } + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + liquidityTokenBalance + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/mint.gql b/packages/v2-watcher/src/gql/queries/mint.gql new file mode 100644 index 0000000..12746e0 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/mint.gql @@ -0,0 +1,39 @@ +query mint($id: ID!, $block: Block_height){ + mint(id: $id, block: $block){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/mints.gql b/packages/v2-watcher/src/gql/queries/mints.gql new file mode 100644 index 0000000..e731cef --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/mints.gql @@ -0,0 +1,39 @@ +query mints($block: Block_height, $where: Mint_filter, $orderBy: Mint_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + mints(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pair.gql b/packages/v2-watcher/src/gql/queries/pair.gql new file mode 100644 index 0000000..1e289fd --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pair.gql @@ -0,0 +1,115 @@ +query pair($id: ID!, $block: Block_height){ + pair(id: $id, block: $block){ + id + token0{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + token1{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + pairHourData{ + id + hourStartUnix + reserve0 + reserve1 + totalSupply + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns + } + liquidityPositions{ + id + liquidityTokenBalance + } + liquidityPositionSnapshots{ + id + timestamp + block + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + liquidityTokenBalance + } + mints{ + id + timestamp + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } + burns{ + id + timestamp + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } + swaps{ + id + timestamp + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pairDayData.gql b/packages/v2-watcher/src/gql/queries/pairDayData.gql new file mode 100644 index 0000000..1c3f22e --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pairDayData.gql @@ -0,0 +1,41 @@ +query pairDayData($id: ID!, $block: Block_height){ + pairDayData(id: $id, block: $block){ + id + date + pairAddress + token0{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + token1{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pairDayDatas.gql b/packages/v2-watcher/src/gql/queries/pairDayDatas.gql new file mode 100644 index 0000000..cc79be7 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pairDayDatas.gql @@ -0,0 +1,41 @@ +query pairDayDatas($block: Block_height, $where: PairDayData_filter, $orderBy: PairDayData_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + pairDayDatas(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + date + pairAddress + token0{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + token1{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pairHourData.gql b/packages/v2-watcher/src/gql/queries/pairHourData.gql new file mode 100644 index 0000000..c81d7f1 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pairHourData.gql @@ -0,0 +1,33 @@ +query pairHourData($id: ID!, $block: Block_height){ + pairHourData(id: $id, block: $block){ + id + hourStartUnix + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + reserve0 + reserve1 + totalSupply + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pairHourDatas.gql b/packages/v2-watcher/src/gql/queries/pairHourDatas.gql new file mode 100644 index 0000000..4c05f58 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pairHourDatas.gql @@ -0,0 +1,33 @@ +query pairHourDatas($block: Block_height, $where: PairHourData_filter, $orderBy: PairHourData_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + pairHourDatas(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + hourStartUnix + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + reserve0 + reserve1 + totalSupply + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/pairs.gql b/packages/v2-watcher/src/gql/queries/pairs.gql new file mode 100644 index 0000000..d331bdd --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/pairs.gql @@ -0,0 +1,115 @@ +query pairs($block: Block_height, $where: Pair_filter, $orderBy: Pair_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + pairs(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + token0{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + token1{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + pairHourData{ + id + hourStartUnix + reserve0 + reserve1 + totalSupply + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns + } + liquidityPositions{ + id + liquidityTokenBalance + } + liquidityPositionSnapshots{ + id + timestamp + block + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + liquidityTokenBalance + } + mints{ + id + timestamp + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } + burns{ + id + timestamp + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } + swaps{ + id + timestamp + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/swap.gql b/packages/v2-watcher/src/gql/queries/swap.gql new file mode 100644 index 0000000..b2cb718 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/swap.gql @@ -0,0 +1,39 @@ +query swap($id: ID!, $block: Block_height){ + swap(id: $id, block: $block){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/swaps.gql b/packages/v2-watcher/src/gql/queries/swaps.gql new file mode 100644 index 0000000..5859394 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/swaps.gql @@ -0,0 +1,39 @@ +query swaps($block: Block_height, $where: Swap_filter, $orderBy: Swap_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + swaps(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + transaction{ + id + blockNumber + timestamp + } + timestamp + pair{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/token.gql b/packages/v2-watcher/src/gql/queries/token.gql new file mode 100644 index 0000000..6713900 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/token.gql @@ -0,0 +1,91 @@ +query token($id: ID!, $block: Block_height){ + token(id: $id, block: $block){ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + tokenDayData{ + id + date + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + } + pairDayDataBase{ + id + date + pairAddress + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } + pairDayDataQuote{ + id + date + pairAddress + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } + pairBase{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + pairQuote{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/tokenDayData.gql b/packages/v2-watcher/src/gql/queries/tokenDayData.gql new file mode 100644 index 0000000..659d3fe --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/tokenDayData.gql @@ -0,0 +1,27 @@ +query tokenDayData($id: ID!, $block: Block_height){ + tokenDayData(id: $id, block: $block){ + id + date + token{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/tokenDayDatas.gql b/packages/v2-watcher/src/gql/queries/tokenDayDatas.gql new file mode 100644 index 0000000..0000fce --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/tokenDayDatas.gql @@ -0,0 +1,27 @@ +query tokenDayDatas($block: Block_height, $where: TokenDayData_filter, $orderBy: TokenDayData_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + tokenDayDatas(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + date + token{ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + } + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/tokens.gql b/packages/v2-watcher/src/gql/queries/tokens.gql new file mode 100644 index 0000000..e6f5364 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/tokens.gql @@ -0,0 +1,91 @@ +query tokens($block: Block_height, $where: Token_filter, $orderBy: Token_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + tokens(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + tokenDayData{ + id + date + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + } + pairDayDataBase{ + id + date + pairAddress + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } + pairDayDataQuote{ + id + date + pairAddress + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns + } + pairBase{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + pairQuote{ + id + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/transaction.gql b/packages/v2-watcher/src/gql/queries/transaction.gql new file mode 100644 index 0000000..3e396e9 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/transaction.gql @@ -0,0 +1,47 @@ +query transaction($id: ID!, $block: Block_height){ + transaction(id: $id, block: $block){ + id + blockNumber + timestamp + mints{ + id + timestamp + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } + burns{ + id + timestamp + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } + swaps{ + id + timestamp + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/transactions.gql b/packages/v2-watcher/src/gql/queries/transactions.gql new file mode 100644 index 0000000..9715d72 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/transactions.gql @@ -0,0 +1,47 @@ +query transactions($block: Block_height, $where: Transaction_filter, $orderBy: Transaction_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + transactions(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + blockNumber + timestamp + mints{ + id + timestamp + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity + } + burns{ + id + timestamp + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity + } + swaps{ + id + timestamp + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/uniswapDayData.gql b/packages/v2-watcher/src/gql/queries/uniswapDayData.gql new file mode 100644 index 0000000..5469ff5 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/uniswapDayData.gql @@ -0,0 +1,14 @@ +query uniswapDayData($id: ID!, $block: Block_height){ + uniswapDayData(id: $id, block: $block){ + id + date + dailyVolumeETH + dailyVolumeUSD + dailyVolumeUntracked + totalVolumeETH + totalLiquidityETH + totalVolumeUSD + totalLiquidityUSD + txCount + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/uniswapDayDatas.gql b/packages/v2-watcher/src/gql/queries/uniswapDayDatas.gql new file mode 100644 index 0000000..66d6599 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/uniswapDayDatas.gql @@ -0,0 +1,14 @@ +query uniswapDayDatas($block: Block_height, $where: UniswapDayData_filter, $orderBy: UniswapDayData_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + uniswapDayDatas(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + date + dailyVolumeETH + dailyVolumeUSD + dailyVolumeUntracked + totalVolumeETH + totalLiquidityETH + totalVolumeUSD + totalLiquidityUSD + txCount + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/uniswapFactories.gql b/packages/v2-watcher/src/gql/queries/uniswapFactories.gql new file mode 100644 index 0000000..63fe9f9 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/uniswapFactories.gql @@ -0,0 +1,12 @@ +query uniswapFactories($block: Block_height, $where: UniswapFactory_filter, $orderBy: UniswapFactory_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + uniswapFactories(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + pairCount + totalVolumeUSD + totalVolumeETH + untrackedVolumeUSD + totalLiquidityUSD + totalLiquidityETH + txCount + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/uniswapFactory.gql b/packages/v2-watcher/src/gql/queries/uniswapFactory.gql new file mode 100644 index 0000000..c8d0469 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/uniswapFactory.gql @@ -0,0 +1,12 @@ +query uniswapFactory($id: ID!, $block: Block_height){ + uniswapFactory(id: $id, block: $block){ + id + pairCount + totalVolumeUSD + totalVolumeETH + untrackedVolumeUSD + totalLiquidityUSD + totalLiquidityETH + txCount + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/user.gql b/packages/v2-watcher/src/gql/queries/user.gql new file mode 100644 index 0000000..1f0eb45 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/user.gql @@ -0,0 +1,10 @@ +query user($id: ID!, $block: Block_height){ + user(id: $id, block: $block){ + id + liquidityPositions{ + id + liquidityTokenBalance + } + usdSwapped + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/queries/users.gql b/packages/v2-watcher/src/gql/queries/users.gql new file mode 100644 index 0000000..d1db194 --- /dev/null +++ b/packages/v2-watcher/src/gql/queries/users.gql @@ -0,0 +1,10 @@ +query users($block: Block_height, $where: User_filter, $orderBy: User_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){ + users(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){ + id + liquidityPositions{ + id + liquidityTokenBalance + } + usdSwapped + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/gql/subscriptions/index.ts b/packages/v2-watcher/src/gql/subscriptions/index.ts new file mode 100644 index 0000000..f12910c --- /dev/null +++ b/packages/v2-watcher/src/gql/subscriptions/index.ts @@ -0,0 +1,4 @@ +import fs from 'fs'; +import path from 'path'; + +export const onEvent = fs.readFileSync(path.join(__dirname, 'onEvent.gql'), 'utf8'); diff --git a/packages/v2-watcher/src/gql/subscriptions/onEvent.gql b/packages/v2-watcher/src/gql/subscriptions/onEvent.gql new file mode 100644 index 0000000..305777a --- /dev/null +++ b/packages/v2-watcher/src/gql/subscriptions/onEvent.gql @@ -0,0 +1,63 @@ +subscription onEvent{ + onEvent{ + block{ + cid + hash + number + timestamp + parentHash + } + tx{ + hash + index + from + to + } + contract + eventIndex + event{ + ... on PairCreatedEvent { + token0 + token1 + pair + null + } + ... on ApprovalEvent { + owner + spender + value + } + ... on BurnEvent { + sender + amount0 + amount1 + to + } + ... on MintEvent { + sender + amount0 + amount1 + } + ... on SwapEvent { + sender + amount0In + amount1In + amount0Out + amount1Out + to + } + ... on SyncEvent { + reserve0 + reserve1 + } + ... on TransferEvent { + from + to + value + } + } + proof{ + data + } + } +} \ No newline at end of file diff --git a/packages/v2-watcher/src/hooks.ts b/packages/v2-watcher/src/hooks.ts new file mode 100644 index 0000000..d45498b --- /dev/null +++ b/packages/v2-watcher/src/hooks.ts @@ -0,0 +1,86 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import assert from 'assert'; + +import { + ResultEvent, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + updateStateForMappingType, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + updateStateForElementaryType +} from '@cerc-io/util'; + +import { Indexer } from './indexer'; + +/** + * Hook function to store an initial state. + * @param indexer Indexer instance. + * @param blockHash Hash of the concerned block. + * @param contractAddress Address of the concerned contract. + * @returns Data block to be stored. + */ +export async function createInitialState (indexer: Indexer, contractAddress: string, blockHash: string): Promise { + assert(indexer); + assert(blockHash); + assert(contractAddress); + + // Store an empty State. + const stateData: any = { + state: {} + }; + + // Use updateStateForElementaryType to update initial state with an elementary property. + // Eg. const stateData = updateStateForElementaryType(stateData, '_totalBalance', result.value.toString()); + + // Use updateStateForMappingType to update initial state with a nested property. + // Eg. const stateData = updateStateForMappingType(stateData, '_allowances', [owner, spender], allowance.value.toString()); + + // Return initial state data to be saved. + return stateData; +} + +/** + * Hook function to create state diff. + * @param indexer Indexer instance that contains methods to fetch the contract variable values. + * @param blockHash Block hash of the concerned block. + */ +export async function createStateDiff (indexer: Indexer, blockHash: string): Promise { + assert(indexer); + assert(blockHash); + + // Use indexer.createDiff() method to save custom state diff(s). +} + +/** + * Hook function to create state checkpoint + * @param indexer Indexer instance. + * @param contractAddress Address of the concerned contract. + * @param blockHash Block hash of the concerned block. + * @returns Whether to disable default checkpoint. If false, the state from this hook is updated with that from default checkpoint. + */ +export async function createStateCheckpoint (indexer: Indexer, contractAddress: string, blockHash: string): Promise { + assert(indexer); + assert(blockHash); + assert(contractAddress); + + // Use indexer.createStateCheckpoint() method to create a custom checkpoint. + + // Return false to update the state created by this hook by auto-generated checkpoint state. + // Return true to disable update of the state created by this hook by auto-generated checkpoint state. + return false; +} + +/** + * Event hook function. + * @param indexer Indexer instance that contains methods to fetch and update the contract values in the database. + * @param eventData ResultEvent object containing event information. + */ +export async function handleEvent (indexer: Indexer, eventData: ResultEvent): Promise { + assert(indexer); + assert(eventData); + + // Use indexer methods to index data. + // Pass `diff` parameter to indexer methods as true to save an auto-generated state from the indexed data. +} diff --git a/packages/v2-watcher/src/indexer.ts b/packages/v2-watcher/src/indexer.ts new file mode 100644 index 0000000..46dd0a3 --- /dev/null +++ b/packages/v2-watcher/src/indexer.ts @@ -0,0 +1,1072 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import assert from 'assert'; +import { DeepPartial, FindConditions, FindManyOptions, ObjectLiteral } from 'typeorm'; +import debug from 'debug'; +import { ethers, constants } from 'ethers'; +import { GraphQLResolveInfo } from 'graphql'; + +import { JsonFragment } from '@ethersproject/abi'; +import { BaseProvider } from '@ethersproject/providers'; +import { MappingKey, StorageLayout } from '@cerc-io/solidity-mapper'; +import { + Indexer as BaseIndexer, + IndexerInterface, + ValueResult, + ServerConfig, + JobQueue, + Where, + QueryOptions, + BlockHeight, + ResultMeta, + updateSubgraphState, + dumpSubgraphState, + GraphWatcherInterface, + StateKind, + StateStatus, + ResultEvent, + getResultEvent, + DatabaseInterface, + Clients, + EthClient, + UpstreamConfig, + EthFullBlock, + EthFullTransaction, + ExtraEventData +} from '@cerc-io/util'; +import { GraphWatcher } from '@cerc-io/graph-node'; + +import FactoryArtifacts from './artifacts/Factory.json'; +import PairArtifacts from './artifacts/Pair.json'; +import { Database, ENTITIES, SUBGRAPH_ENTITIES } from './database'; +import { createInitialState, handleEvent, createStateDiff, createStateCheckpoint } from './hooks'; +import { Contract } from './entity/Contract'; +import { Event } from './entity/Event'; +import { SyncStatus } from './entity/SyncStatus'; +import { StateSyncStatus } from './entity/StateSyncStatus'; +import { BlockProgress } from './entity/BlockProgress'; +import { State } from './entity/State'; +/* eslint-disable @typescript-eslint/no-unused-vars */ +import { UniswapFactory } from './entity/UniswapFactory'; +import { Token } from './entity/Token'; +import { Pair } from './entity/Pair'; +import { User } from './entity/User'; +import { LiquidityPosition } from './entity/LiquidityPosition'; +import { LiquidityPositionSnapshot } from './entity/LiquidityPositionSnapshot'; +import { Transaction } from './entity/Transaction'; +import { Mint } from './entity/Mint'; +import { Burn } from './entity/Burn'; +import { Swap } from './entity/Swap'; +import { Bundle } from './entity/Bundle'; +import { UniswapDayData } from './entity/UniswapDayData'; +import { PairHourData } from './entity/PairHourData'; +import { PairDayData } from './entity/PairDayData'; +import { TokenDayData } from './entity/TokenDayData'; +/* eslint-enable @typescript-eslint/no-unused-vars */ + +import { FrothyEntity } from './entity/FrothyEntity'; + +// eslint-disable-next-line @typescript-eslint/no-unused-vars +const log = debug('vulcanize:indexer'); + +const KIND_FACTORY = 'Factory'; + +const KIND_PAIR = 'Pair'; + +export class Indexer implements IndexerInterface { + _db: Database; + _ethClient: EthClient; + _ethProvider: BaseProvider; + _baseIndexer: BaseIndexer; + _serverConfig: ServerConfig; + _upstreamConfig: UpstreamConfig; + _graphWatcher: GraphWatcher; + + _abiMap: Map; + _storageLayoutMap: Map; + _contractMap: Map; + eventSignaturesMap: Map; + + _entityTypesMap: Map; + _relationsMap: Map; + + _subgraphStateMap: Map; + + constructor ( + config: { + server: ServerConfig; + upstream: UpstreamConfig; + }, + db: DatabaseInterface, + clients: Clients, + ethProvider: BaseProvider, + jobQueue: JobQueue, + graphWatcher?: GraphWatcherInterface + ) { + assert(db); + assert(clients.ethClient); + + this._db = db as Database; + this._ethClient = clients.ethClient; + this._ethProvider = ethProvider; + this._serverConfig = config.server; + this._upstreamConfig = config.upstream; + this._baseIndexer = new BaseIndexer(config, this._db, this._ethClient, this._ethProvider, jobQueue); + assert(graphWatcher); + this._graphWatcher = graphWatcher as GraphWatcher; + + this._abiMap = new Map(); + this._storageLayoutMap = new Map(); + this._contractMap = new Map(); + this.eventSignaturesMap = new Map(); + + const { abi: FactoryABI } = FactoryArtifacts; + + const { abi: PairABI } = PairArtifacts; + + assert(FactoryABI); + this._abiMap.set(KIND_FACTORY, FactoryABI); + + const FactoryContractInterface = new ethers.utils.Interface(FactoryABI); + this._contractMap.set(KIND_FACTORY, FactoryContractInterface); + + const FactoryEventSignatures = Object.values(FactoryContractInterface.events).map(value => { + return FactoryContractInterface.getEventTopic(value); + }); + this.eventSignaturesMap.set(KIND_FACTORY, FactoryEventSignatures); + + assert(PairABI); + this._abiMap.set(KIND_PAIR, PairABI); + + const PairContractInterface = new ethers.utils.Interface(PairABI); + this._contractMap.set(KIND_PAIR, PairContractInterface); + + const PairEventSignatures = Object.values(PairContractInterface.events).map(value => { + return PairContractInterface.getEventTopic(value); + }); + this.eventSignaturesMap.set(KIND_PAIR, PairEventSignatures); + + this._entityTypesMap = new Map(); + this._populateEntityTypesMap(); + + this._relationsMap = new Map(); + this._populateRelationsMap(); + + this._subgraphStateMap = new Map(); + } + + get serverConfig (): ServerConfig { + return this._serverConfig; + } + + get upstreamConfig (): UpstreamConfig { + return this._upstreamConfig; + } + + get storageLayoutMap (): Map { + return this._storageLayoutMap; + } + + get graphWatcher (): GraphWatcher { + return this._graphWatcher; + } + + async init (): Promise { + await this._baseIndexer.fetchContracts(); + await this._baseIndexer.fetchStateStatus(); + } + + switchClients ({ ethClient, ethProvider }: { ethClient: EthClient, ethProvider: BaseProvider }): void { + this._ethClient = ethClient; + this._ethProvider = ethProvider; + this._baseIndexer.switchClients({ ethClient, ethProvider }); + this._graphWatcher.switchClients({ ethClient, ethProvider }); + } + + async getMetaData (block: BlockHeight): Promise { + return this._baseIndexer.getMetaData(block); + } + + getResultEvent (event: Event): ResultEvent { + return getResultEvent(event); + } + + async getStorageValue (storageLayout: StorageLayout, blockHash: string, contractAddress: string, variable: string, ...mappingKeys: MappingKey[]): Promise { + return this._baseIndexer.getStorageValue( + storageLayout, + blockHash, + contractAddress, + variable, + ...mappingKeys + ); + } + + async getEntitiesForBlock (blockHash: string, tableName: string): Promise { + return this._db.getEntitiesForBlock(blockHash, tableName); + } + + async processInitialState (contractAddress: string, blockHash: string): Promise { + // Call initial state hook. + return createInitialState(this, contractAddress, blockHash); + } + + async processStateCheckpoint (contractAddress: string, blockHash: string): Promise { + // Call checkpoint hook. + return createStateCheckpoint(this, contractAddress, blockHash); + } + + async processCanonicalBlock (blockHash: string, blockNumber: number): Promise { + console.time('time:indexer#processCanonicalBlock-finalize_auto_diffs'); + // Finalize staged diff blocks if any. + await this._baseIndexer.finalizeDiffStaged(blockHash); + console.timeEnd('time:indexer#processCanonicalBlock-finalize_auto_diffs'); + + // Call custom stateDiff hook. + await createStateDiff(this, blockHash); + + this._graphWatcher.pruneEntityCacheFrothyBlocks(blockHash, blockNumber); + } + + async processCheckpoint (blockHash: string): Promise { + // Return if checkpointInterval is <= 0. + const checkpointInterval = this._serverConfig.checkpointInterval; + if (checkpointInterval <= 0) return; + + console.time('time:indexer#processCheckpoint-checkpoint'); + await this._baseIndexer.processCheckpoint(this, blockHash, checkpointInterval); + console.timeEnd('time:indexer#processCheckpoint-checkpoint'); + } + + async processCLICheckpoint (contractAddress: string, blockHash?: string): Promise { + return this._baseIndexer.processCLICheckpoint(this, contractAddress, blockHash); + } + + async getPrevState (blockHash: string, contractAddress: string, kind?: string): Promise { + return this._db.getPrevState(blockHash, contractAddress, kind); + } + + async getLatestState (contractAddress: string, kind: StateKind | null, blockNumber?: number): Promise { + return this._db.getLatestState(contractAddress, kind, blockNumber); + } + + async getStatesByHash (blockHash: string): Promise { + return this._baseIndexer.getStatesByHash(blockHash); + } + + async getStateByCID (cid: string): Promise { + return this._baseIndexer.getStateByCID(cid); + } + + async getStates (where: FindConditions): Promise { + return this._db.getStates(where); + } + + getStateData (state: State): any { + return this._baseIndexer.getStateData(state); + } + + // Method used to create auto diffs (diff_staged). + async createDiffStaged (contractAddress: string, blockHash: string, data: any): Promise { + console.time('time:indexer#createDiffStaged-auto_diff'); + await this._baseIndexer.createDiffStaged(contractAddress, blockHash, data); + console.timeEnd('time:indexer#createDiffStaged-auto_diff'); + } + + // Method to be used by createStateDiff hook. + async createDiff (contractAddress: string, blockHash: string, data: any): Promise { + const block = await this.getBlockProgress(blockHash); + assert(block); + + await this._baseIndexer.createDiff(contractAddress, block, data); + } + + // Method to be used by createStateCheckpoint hook. + async createStateCheckpoint (contractAddress: string, blockHash: string, data: any): Promise { + const block = await this.getBlockProgress(blockHash); + assert(block); + + return this._baseIndexer.createStateCheckpoint(contractAddress, block, data); + } + + // Method to be used by export-state CLI. + async createCheckpoint (contractAddress: string, blockHash: string): Promise { + const block = await this.getBlockProgress(blockHash); + assert(block); + + return this._baseIndexer.createCheckpoint(this, contractAddress, block); + } + + // Method to be used by fill-state CLI. + async createInit (blockHash: string, blockNumber: number): Promise { + // Create initial state for contracts. + await this._baseIndexer.createInit(this, blockHash, blockNumber); + } + + async saveOrUpdateState (state: State): Promise { + return this._baseIndexer.saveOrUpdateState(state); + } + + async removeStates (blockNumber: number, kind: StateKind): Promise { + await this._baseIndexer.removeStates(blockNumber, kind); + } + + async getSubgraphEntity ( + entity: new () => Entity, + id: string, + block: BlockHeight, + queryInfo: GraphQLResolveInfo + ): Promise { + const data = await this._graphWatcher.getEntity(entity, id, this._relationsMap, block, queryInfo); + + return data; + } + + async getSubgraphEntities ( + entity: new () => Entity, + block: BlockHeight, + where: { [key: string]: any } = {}, + queryOptions: QueryOptions = {}, + queryInfo: GraphQLResolveInfo + ): Promise { + return this._graphWatcher.getEntities(entity, this._relationsMap, block, where, queryOptions, queryInfo); + } + + // eslint-disable-next-line @typescript-eslint/no-unused-vars + async triggerIndexingOnEvent (event: Event, extraData: ExtraEventData): Promise { + const resultEvent = this.getResultEvent(event); + + console.time('time:indexer#processEvent-mapping_code'); + // Call subgraph handler for event. + await this._graphWatcher.handleEvent(resultEvent, extraData); + console.timeEnd('time:indexer#processEvent-mapping_code'); + + // Call custom hook function for indexing on event. + await handleEvent(this, resultEvent); + } + + async processEvent (event: Event, extraData: ExtraEventData): Promise { + // Trigger indexing of data based on the event. + await this.triggerIndexingOnEvent(event, extraData); + } + + async processBlock (blockProgress: BlockProgress): Promise { + console.time('time:indexer#processBlock-init_state'); + // Call a function to create initial state for contracts. + await this._baseIndexer.createInit(this, blockProgress.blockHash, blockProgress.blockNumber); + console.timeEnd('time:indexer#processBlock-init_state'); + + this._graphWatcher.updateEntityCacheFrothyBlocks(blockProgress); + } + + async processBlockAfterEvents (blockHash: string, blockNumber: number, extraData: ExtraEventData): Promise { + console.time('time:indexer#processBlockAfterEvents-mapping_code'); + // Call subgraph handler for block. + await this._graphWatcher.handleBlock(blockHash, blockNumber, extraData); + console.timeEnd('time:indexer#processBlockAfterEvents-mapping_code'); + + console.time('time:indexer#processBlockAfterEvents-dump_subgraph_state'); + // Persist subgraph state to the DB. + await this.dumpSubgraphState(blockHash); + console.timeEnd('time:indexer#processBlockAfterEvents-dump_subgraph_state'); + } + + parseEventNameAndArgs (kind: string, logObj: any): { eventParsed: boolean, eventDetails: any } { + const { topics, data } = logObj; + + const contract = this._contractMap.get(kind); + assert(contract); + + let logDescription: ethers.utils.LogDescription; + try { + logDescription = contract.parseLog({ data, topics }); + } catch (err) { + // Return if no matching event found + if ((err as Error).message.includes('no matching event')) { + log(`WARNING: Skipping event for contract ${kind} as no matching event found in the ABI`); + return { eventParsed: false, eventDetails: {} }; + } + + throw err; + } + + const { eventName, eventInfo, eventSignature } = this._baseIndexer.parseEvent(logDescription); + + return { + eventParsed: true, + eventDetails: { + eventName, + eventInfo, + eventSignature + } + }; + } + + async getStateSyncStatus (): Promise { + return this._db.getStateSyncStatus(); + } + + async updateStateSyncStatusIndexedBlock (blockNumber: number, force?: boolean): Promise { + if (!this._serverConfig.enableState) { + return; + } + + const dbTx = await this._db.createTransactionRunner(); + let res; + + try { + res = await this._db.updateStateSyncStatusIndexedBlock(dbTx, blockNumber, force); + await dbTx.commitTransaction(); + } catch (error) { + await dbTx.rollbackTransaction(); + throw error; + } finally { + await dbTx.release(); + } + + return res; + } + + async updateStateSyncStatusCheckpointBlock (blockNumber: number, force?: boolean): Promise { + const dbTx = await this._db.createTransactionRunner(); + let res; + + try { + res = await this._db.updateStateSyncStatusCheckpointBlock(dbTx, blockNumber, force); + await dbTx.commitTransaction(); + } catch (error) { + await dbTx.rollbackTransaction(); + throw error; + } finally { + await dbTx.release(); + } + + return res; + } + + async getLatestCanonicalBlock (): Promise { + const syncStatus = await this.getSyncStatus(); + assert(syncStatus); + + if (syncStatus.latestCanonicalBlockHash === constants.HashZero) { + return; + } + + const latestCanonicalBlock = await this.getBlockProgress(syncStatus.latestCanonicalBlockHash); + assert(latestCanonicalBlock); + + return latestCanonicalBlock; + } + + async getLatestStateIndexedBlock (): Promise { + return this._baseIndexer.getLatestStateIndexedBlock(); + } + + async addContracts (): Promise { + // Watching all the contracts in the subgraph. + await this._graphWatcher.addContracts(); + } + + async watchContract (address: string, kind: string, checkpoint: boolean, startingBlock: number, context?: any): Promise { + return this._baseIndexer.watchContract(address, kind, checkpoint, startingBlock, context); + } + + updateStateStatusMap (address: string, stateStatus: StateStatus): void { + this._baseIndexer.updateStateStatusMap(address, stateStatus); + } + + cacheContract (contract: Contract): void { + return this._baseIndexer.cacheContract(contract); + } + + async saveEventEntity (dbEvent: Event): Promise { + return this._baseIndexer.saveEventEntity(dbEvent); + } + + async saveEvents (dbEvents: Event[]): Promise { + return this._baseIndexer.saveEvents(dbEvents); + } + + async getEventsByFilter (blockHash: string, contract?: string, name?: string): Promise> { + return this._baseIndexer.getEventsByFilter(blockHash, contract, name); + } + + isWatchedContract (address : string): Contract | undefined { + return this._baseIndexer.isWatchedContract(address); + } + + getWatchedContracts (): Contract[] { + return this._baseIndexer.getWatchedContracts(); + } + + getContractsByKind (kind: string): Contract[] { + return this._baseIndexer.getContractsByKind(kind); + } + + async getProcessedBlockCountForRange (fromBlockNumber: number, toBlockNumber: number): Promise<{ expected: number, actual: number }> { + return this._baseIndexer.getProcessedBlockCountForRange(fromBlockNumber, toBlockNumber); + } + + async getEventsInRange (fromBlockNumber: number, toBlockNumber: number): Promise> { + return this._baseIndexer.getEventsInRange(fromBlockNumber, toBlockNumber, this._serverConfig.gql.maxEventsBlockRange); + } + + async getSyncStatus (): Promise { + return this._baseIndexer.getSyncStatus(); + } + + async getBlocks (blockFilter: { blockHash?: string, blockNumber?: number }): Promise { + return this._baseIndexer.getBlocks(blockFilter); + } + + async updateSyncStatusIndexedBlock (blockHash: string, blockNumber: number, force = false): Promise { + return this._baseIndexer.updateSyncStatusIndexedBlock(blockHash, blockNumber, force); + } + + async updateSyncStatusChainHead (blockHash: string, blockNumber: number, force = false): Promise { + return this._baseIndexer.updateSyncStatusChainHead(blockHash, blockNumber, force); + } + + async updateSyncStatusCanonicalBlock (blockHash: string, blockNumber: number, force = false): Promise { + const syncStatus = this._baseIndexer.updateSyncStatusCanonicalBlock(blockHash, blockNumber, force); + await this.pruneFrothyEntities(blockNumber); + + return syncStatus; + } + + async updateSyncStatusProcessedBlock (blockHash: string, blockNumber: number, force = false): Promise { + return this._baseIndexer.updateSyncStatusProcessedBlock(blockHash, blockNumber, force); + } + + async updateSyncStatusIndexingError (hasIndexingError: boolean): Promise { + return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); + } + + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + + async getEvent (id: string): Promise { + return this._baseIndexer.getEvent(id); + } + + async getBlockProgress (blockHash: string): Promise { + return this._baseIndexer.getBlockProgress(blockHash); + } + + async getBlockProgressEntities (where: FindConditions, options: FindManyOptions): Promise { + return this._baseIndexer.getBlockProgressEntities(where, options); + } + + async getBlocksAtHeight (height: number, isPruned: boolean): Promise { + return this._baseIndexer.getBlocksAtHeight(height, isPruned); + } + + async fetchAndSaveFilteredEventsAndBlocks (startBlock: number, endBlock: number): Promise<{ + blockProgress: BlockProgress, + events: DeepPartial[], + ethFullBlock: EthFullBlock; + ethFullTransactions: EthFullTransaction[]; + }[]> { + return this._baseIndexer.fetchAndSaveFilteredEventsAndBlocks(startBlock, endBlock, this.eventSignaturesMap, this.parseEventNameAndArgs.bind(this)); + } + + async fetchEventsForContracts (blockHash: string, blockNumber: number, addresses: string[]): Promise[]> { + return this._baseIndexer.fetchEventsForContracts(blockHash, blockNumber, addresses, this.eventSignaturesMap, this.parseEventNameAndArgs.bind(this)); + } + + async saveBlockAndFetchEvents (block: DeepPartial): Promise<[ + BlockProgress, + DeepPartial[], + EthFullTransaction[] + ]> { + return this._saveBlockAndFetchEvents(block); + } + + async getBlockEvents (blockHash: string, where: Where, queryOptions: QueryOptions): Promise> { + return this._baseIndexer.getBlockEvents(blockHash, where, queryOptions); + } + + async removeUnknownEvents (block: BlockProgress): Promise { + return this._baseIndexer.removeUnknownEvents(Event, block); + } + + async markBlocksAsPruned (blocks: BlockProgress[]): Promise { + await this._baseIndexer.markBlocksAsPruned(blocks); + + await this._graphWatcher.pruneEntities(FrothyEntity, blocks, SUBGRAPH_ENTITIES); + } + + async pruneFrothyEntities (blockNumber: number): Promise { + await this._graphWatcher.pruneFrothyEntities(FrothyEntity, blockNumber); + } + + async resetLatestEntities (blockNumber: number): Promise { + await this._graphWatcher.resetLatestEntities(blockNumber); + } + + async updateBlockProgress (block: BlockProgress, lastProcessedEventIndex: number): Promise { + return this._baseIndexer.updateBlockProgress(block, lastProcessedEventIndex); + } + + async getAncestorAtHeight (blockHash: string, height: number): Promise { + return this._baseIndexer.getAncestorAtHeight(blockHash, height); + } + + async resetWatcherToBlock (blockNumber: number): Promise { + const entities = [...ENTITIES, FrothyEntity]; + await this._baseIndexer.resetWatcherToBlock(blockNumber, entities); + + await this.resetLatestEntities(blockNumber); + } + + async clearProcessedBlockData (block: BlockProgress): Promise { + const entities = [...ENTITIES, FrothyEntity]; + await this._baseIndexer.clearProcessedBlockData(block, entities); + + await this.resetLatestEntities(block.blockNumber); + } + + getEntityTypesMap (): Map { + return this._entityTypesMap; + } + + getRelationsMap (): Map { + return this._relationsMap; + } + + updateSubgraphState (contractAddress: string, data: any): void { + return updateSubgraphState(this._subgraphStateMap, contractAddress, data); + } + + async dumpSubgraphState (blockHash: string, isStateFinalized = false): Promise { + return dumpSubgraphState(this, this._subgraphStateMap, blockHash, isStateFinalized); + } + + _populateEntityTypesMap (): void { + this._entityTypesMap.set('UniswapFactory', { + id: 'ID', + pairCount: 'Int', + totalVolumeUSD: 'BigDecimal', + totalVolumeETH: 'BigDecimal', + untrackedVolumeUSD: 'BigDecimal', + totalLiquidityUSD: 'BigDecimal', + totalLiquidityETH: 'BigDecimal', + txCount: 'BigInt' + }); + this._entityTypesMap.set('Token', { + id: 'ID', + symbol: 'String', + name: 'String', + decimals: 'BigInt', + totalSupply: 'BigInt', + tradeVolume: 'BigDecimal', + tradeVolumeUSD: 'BigDecimal', + untrackedVolumeUSD: 'BigDecimal', + txCount: 'BigInt', + totalLiquidity: 'BigDecimal', + derivedETH: 'BigDecimal' + }); + this._entityTypesMap.set('Pair', { + id: 'ID', + token0: 'Token', + token1: 'Token', + reserve0: 'BigDecimal', + reserve1: 'BigDecimal', + totalSupply: 'BigDecimal', + reserveETH: 'BigDecimal', + reserveUSD: 'BigDecimal', + trackedReserveETH: 'BigDecimal', + token0Price: 'BigDecimal', + token1Price: 'BigDecimal', + volumeToken0: 'BigDecimal', + volumeToken1: 'BigDecimal', + volumeUSD: 'BigDecimal', + untrackedVolumeUSD: 'BigDecimal', + txCount: 'BigInt', + createdAtTimestamp: 'BigInt', + createdAtBlockNumber: 'BigInt', + liquidityProviderCount: 'BigInt' + }); + this._entityTypesMap.set('User', { + id: 'ID', + usdSwapped: 'BigDecimal' + }); + this._entityTypesMap.set('LiquidityPosition', { + id: 'ID', + user: 'User', + pair: 'Pair', + liquidityTokenBalance: 'BigDecimal' + }); + this._entityTypesMap.set('LiquidityPositionSnapshot', { + id: 'ID', + liquidityPosition: 'LiquidityPosition', + timestamp: 'Int', + block: 'Int', + user: 'User', + pair: 'Pair', + token0PriceUSD: 'BigDecimal', + token1PriceUSD: 'BigDecimal', + reserve0: 'BigDecimal', + reserve1: 'BigDecimal', + reserveUSD: 'BigDecimal', + liquidityTokenTotalSupply: 'BigDecimal', + liquidityTokenBalance: 'BigDecimal' + }); + this._entityTypesMap.set('Transaction', { + id: 'ID', + blockNumber: 'BigInt', + timestamp: 'BigInt', + mints: 'Mint', + burns: 'Burn', + swaps: 'Swap' + }); + this._entityTypesMap.set('Mint', { + id: 'ID', + transaction: 'Transaction', + timestamp: 'BigInt', + pair: 'Pair', + to: 'Bytes', + liquidity: 'BigDecimal', + sender: 'Bytes', + amount0: 'BigDecimal', + amount1: 'BigDecimal', + logIndex: 'BigInt', + amountUSD: 'BigDecimal', + feeTo: 'Bytes', + feeLiquidity: 'BigDecimal' + }); + this._entityTypesMap.set('Burn', { + id: 'ID', + transaction: 'Transaction', + timestamp: 'BigInt', + pair: 'Pair', + liquidity: 'BigDecimal', + sender: 'Bytes', + amount0: 'BigDecimal', + amount1: 'BigDecimal', + to: 'Bytes', + logIndex: 'BigInt', + amountUSD: 'BigDecimal', + needsComplete: 'Boolean', + feeTo: 'Bytes', + feeLiquidity: 'BigDecimal' + }); + this._entityTypesMap.set('Swap', { + id: 'ID', + transaction: 'Transaction', + timestamp: 'BigInt', + pair: 'Pair', + sender: 'Bytes', + from: 'Bytes', + amount0In: 'BigDecimal', + amount1In: 'BigDecimal', + amount0Out: 'BigDecimal', + amount1Out: 'BigDecimal', + to: 'Bytes', + logIndex: 'BigInt', + amountUSD: 'BigDecimal' + }); + this._entityTypesMap.set('Bundle', { + id: 'ID', + ethPrice: 'BigDecimal' + }); + this._entityTypesMap.set('UniswapDayData', { + id: 'ID', + date: 'Int', + dailyVolumeETH: 'BigDecimal', + dailyVolumeUSD: 'BigDecimal', + dailyVolumeUntracked: 'BigDecimal', + totalVolumeETH: 'BigDecimal', + totalLiquidityETH: 'BigDecimal', + totalVolumeUSD: 'BigDecimal', + totalLiquidityUSD: 'BigDecimal', + txCount: 'BigInt' + }); + this._entityTypesMap.set('PairHourData', { + id: 'ID', + hourStartUnix: 'Int', + pair: 'Pair', + reserve0: 'BigDecimal', + reserve1: 'BigDecimal', + totalSupply: 'BigDecimal', + reserveUSD: 'BigDecimal', + hourlyVolumeToken0: 'BigDecimal', + hourlyVolumeToken1: 'BigDecimal', + hourlyVolumeUSD: 'BigDecimal', + hourlyTxns: 'BigInt' + }); + this._entityTypesMap.set('PairDayData', { + id: 'ID', + date: 'Int', + pairAddress: 'Bytes', + token0: 'Token', + token1: 'Token', + reserve0: 'BigDecimal', + reserve1: 'BigDecimal', + totalSupply: 'BigDecimal', + reserveUSD: 'BigDecimal', + dailyVolumeToken0: 'BigDecimal', + dailyVolumeToken1: 'BigDecimal', + dailyVolumeUSD: 'BigDecimal', + dailyTxns: 'BigInt' + }); + this._entityTypesMap.set('TokenDayData', { + id: 'ID', + date: 'Int', + token: 'Token', + dailyVolumeToken: 'BigDecimal', + dailyVolumeETH: 'BigDecimal', + dailyVolumeUSD: 'BigDecimal', + dailyTxns: 'BigInt', + totalLiquidityToken: 'BigDecimal', + totalLiquidityETH: 'BigDecimal', + totalLiquidityUSD: 'BigDecimal', + priceUSD: 'BigDecimal' + }); + } + + _populateRelationsMap (): void { + this._relationsMap.set(Token, { + tokenDayData: { + entity: TokenDayData, + isArray: true, + isDerived: true, + field: 'token' + }, + pairDayDataBase: { + entity: PairDayData, + isArray: true, + isDerived: true, + field: 'token0' + }, + pairDayDataQuote: { + entity: PairDayData, + isArray: true, + isDerived: true, + field: 'token1' + }, + pairBase: { + entity: Pair, + isArray: true, + isDerived: true, + field: 'token0' + }, + pairQuote: { + entity: Pair, + isArray: true, + isDerived: true, + field: 'token1' + } + }); + this._relationsMap.set(Pair, { + token0: { + entity: Token, + isArray: false, + isDerived: false + }, + token1: { + entity: Token, + isArray: false, + isDerived: false + }, + pairHourData: { + entity: PairHourData, + isArray: true, + isDerived: true, + field: 'pair' + }, + liquidityPositions: { + entity: LiquidityPosition, + isArray: true, + isDerived: true, + field: 'pair' + }, + liquidityPositionSnapshots: { + entity: LiquidityPositionSnapshot, + isArray: true, + isDerived: true, + field: 'pair' + }, + mints: { + entity: Mint, + isArray: true, + isDerived: true, + field: 'pair' + }, + burns: { + entity: Burn, + isArray: true, + isDerived: true, + field: 'pair' + }, + swaps: { + entity: Swap, + isArray: true, + isDerived: true, + field: 'pair' + } + }); + this._relationsMap.set(User, { + liquidityPositions: { + entity: LiquidityPosition, + isArray: true, + isDerived: true, + field: 'user' + } + }); + this._relationsMap.set(LiquidityPosition, { + user: { + entity: User, + isArray: false, + isDerived: false + }, + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(LiquidityPositionSnapshot, { + liquidityPosition: { + entity: LiquidityPosition, + isArray: false, + isDerived: false + }, + user: { + entity: User, + isArray: false, + isDerived: false + }, + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(Transaction, { + mints: { + entity: Mint, + isArray: true, + isDerived: false + }, + burns: { + entity: Burn, + isArray: true, + isDerived: false + }, + swaps: { + entity: Swap, + isArray: true, + isDerived: false + } + }); + this._relationsMap.set(Mint, { + transaction: { + entity: Transaction, + isArray: false, + isDerived: false + }, + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(Burn, { + transaction: { + entity: Transaction, + isArray: false, + isDerived: false + }, + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(Swap, { + transaction: { + entity: Transaction, + isArray: false, + isDerived: false + }, + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(PairHourData, { + pair: { + entity: Pair, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(PairDayData, { + token0: { + entity: Token, + isArray: false, + isDerived: false + }, + token1: { + entity: Token, + isArray: false, + isDerived: false + } + }); + this._relationsMap.set(TokenDayData, { + token: { + entity: Token, + isArray: false, + isDerived: false + } + }); + } + + async _saveBlockAndFetchEvents ({ + cid: blockCid, + blockHash, + blockNumber, + blockTimestamp, + parentHash + }: DeepPartial): Promise<[ + BlockProgress, + DeepPartial[], + EthFullTransaction[] + ]> { + assert(blockHash); + assert(blockNumber); + + const { events: dbEvents, transactions } = await this._baseIndexer.fetchEvents(blockHash, blockNumber, this.eventSignaturesMap, this.parseEventNameAndArgs.bind(this)); + + const dbTx = await this._db.createTransactionRunner(); + try { + const block = { + cid: blockCid, + blockHash, + blockNumber, + blockTimestamp, + parentHash + }; + + console.time(`time:indexer#_saveBlockAndFetchEvents-db-save-${blockNumber}`); + const blockProgress = await this._db.saveBlockWithEvents(dbTx, block, dbEvents); + await dbTx.commitTransaction(); + console.timeEnd(`time:indexer#_saveBlockAndFetchEvents-db-save-${blockNumber}`); + + return [blockProgress, [], transactions]; + } catch (error) { + await dbTx.rollbackTransaction(); + throw error; + } finally { + await dbTx.release(); + } + } + + async getFullTransactions (txHashList: string[]): Promise { + return this._baseIndexer.getFullTransactions(txHashList); + } +} diff --git a/packages/v2-watcher/src/job-runner.ts b/packages/v2-watcher/src/job-runner.ts new file mode 100644 index 0000000..93d6820 --- /dev/null +++ b/packages/v2-watcher/src/job-runner.ts @@ -0,0 +1,48 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import debug from 'debug'; + +import { JobRunnerCmd } from '@cerc-io/cli'; +import { JobRunner } from '@cerc-io/util'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { Indexer } from './indexer'; +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from './database'; + +const log = debug('vulcanize:job-runner'); + +export const main = async (): Promise => { + const jobRunnerCmd = new JobRunnerCmd(); + await jobRunnerCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + jobRunnerCmd.config.server, + jobRunnerCmd.clients.ethClient, + jobRunnerCmd.ethProvider, + jobRunnerCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await jobRunnerCmd.initIndexer(Indexer, graphWatcher); + + await jobRunnerCmd.exec(async (jobRunner: JobRunner): Promise => { + await jobRunner.subscribeBlockProcessingQueue(); + await jobRunner.subscribeHistoricalProcessingQueue(); + await jobRunner.subscribeEventProcessingQueue(); + await jobRunner.subscribeBlockCheckpointQueue(); + await jobRunner.subscribeHooksQueue(); + }); +}; + +main().then(() => { + log('Starting job runner...'); +}).catch(err => { + log(err); +}); + +process.on('uncaughtException', err => { + log('uncaughtException', err); +}); diff --git a/packages/v2-watcher/src/resolvers.ts b/packages/v2-watcher/src/resolvers.ts new file mode 100644 index 0000000..9e7ed05 --- /dev/null +++ b/packages/v2-watcher/src/resolvers.ts @@ -0,0 +1,944 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import assert from 'assert'; +import debug from 'debug'; +import { GraphQLResolveInfo } from 'graphql'; +import { ExpressContext } from 'apollo-server-express'; +import winston from 'winston'; + +import { + gqlTotalQueryCount, + gqlQueryCount, + gqlQueryDuration, + getResultState, + IndexerInterface, + GraphQLBigInt, + GraphQLBigDecimal, + BlockHeight, + OrderDirection, + jsonBigIntStringReplacer, + EventWatcher, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + setGQLCacheHints +} from '@cerc-io/util'; + +import { Indexer } from './indexer'; + +import { UniswapFactory } from './entity/UniswapFactory'; +import { Token } from './entity/Token'; +import { Pair } from './entity/Pair'; +import { User } from './entity/User'; +import { LiquidityPosition } from './entity/LiquidityPosition'; +import { LiquidityPositionSnapshot } from './entity/LiquidityPositionSnapshot'; +import { Transaction } from './entity/Transaction'; +import { Mint } from './entity/Mint'; +import { Burn } from './entity/Burn'; +import { Swap } from './entity/Swap'; +import { Bundle } from './entity/Bundle'; +import { UniswapDayData } from './entity/UniswapDayData'; +import { PairHourData } from './entity/PairHourData'; +import { PairDayData } from './entity/PairDayData'; +import { TokenDayData } from './entity/TokenDayData'; + +const log = debug('vulcanize:resolver'); + +const executeAndRecordMetrics = async ( + indexer: Indexer, + gqlLogger: winston.Logger, + opName: string, + expressContext: ExpressContext, + operation: () => Promise +) => { + gqlTotalQueryCount.inc(1); + gqlQueryCount.labels(opName).inc(1); + const endTimer = gqlQueryDuration.labels(opName).startTimer(); + + try { + const [result, syncStatus] = await Promise.all([ + operation(), + indexer.getSyncStatus() + ]); + + gqlLogger.info({ + opName, + query: expressContext.req.body.query, + variables: expressContext.req.body.variables, + latestIndexedBlockNumber: syncStatus?.latestIndexedBlockNumber, + urlPath: expressContext.req.path, + apiKey: expressContext.req.header('x-api-key'), + origin: expressContext.req.headers.origin + }); + return result; + } catch (error) { + gqlLogger.error({ + opName, + error, + query: expressContext.req.body.query, + variables: expressContext.req.body.variables, + urlPath: expressContext.req.path, + apiKey: expressContext.req.header('x-api-key'), + origin: expressContext.req.headers.origin + }); + } finally { + endTimer(); + } +}; + +export const createResolvers = async ( + indexerArg: IndexerInterface, + eventWatcher: EventWatcher, + gqlLogger: winston.Logger +): Promise => { + const indexer = indexerArg as Indexer; + + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const gqlCacheConfig = indexer.serverConfig.gql.cache; + + return { + BigInt: GraphQLBigInt, + + BigDecimal: GraphQLBigDecimal, + + Event: { + __resolveType: (obj: any) => { + assert(obj.__typename); + + return obj.__typename; + } + }, + + Subscription: { + onEvent: { + subscribe: () => eventWatcher.getEventIterator() + } + }, + + Mutation: { + watchContract: async (_: any, { address, kind, checkpoint, startingBlock = 1 }: { address: string, kind: string, checkpoint: boolean, startingBlock: number }): Promise => { + log('watchContract', address, kind, checkpoint, startingBlock); + await indexer.watchContract(address, kind, checkpoint, startingBlock); + + return true; + } + }, + + Query: { + uniswapFactory: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('uniswapFactory', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'uniswapFactory', + expressContext, + async () => indexer.getSubgraphEntity(UniswapFactory, id, block, info) + ); + }, + + uniswapFactories: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('uniswapFactories', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'uniswapFactories', + expressContext, + async () => indexer.getSubgraphEntities( + UniswapFactory, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + token: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('token', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'token', + expressContext, + async () => indexer.getSubgraphEntity(Token, id, block, info) + ); + }, + + tokens: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('tokens', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'tokens', + expressContext, + async () => indexer.getSubgraphEntities( + Token, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + pair: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pair', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pair', + expressContext, + async () => indexer.getSubgraphEntity(Pair, id, block, info) + ); + }, + + pairs: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pairs', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pairs', + expressContext, + async () => indexer.getSubgraphEntities( + Pair, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + user: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('user', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'user', + expressContext, + async () => indexer.getSubgraphEntity(User, id, block, info) + ); + }, + + users: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('users', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'users', + expressContext, + async () => indexer.getSubgraphEntities( + User, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + liquidityPosition: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('liquidityPosition', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'liquidityPosition', + expressContext, + async () => indexer.getSubgraphEntity(LiquidityPosition, id, block, info) + ); + }, + + liquidityPositions: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('liquidityPositions', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'liquidityPositions', + expressContext, + async () => indexer.getSubgraphEntities( + LiquidityPosition, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + liquidityPositionSnapshot: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('liquidityPositionSnapshot', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'liquidityPositionSnapshot', + expressContext, + async () => indexer.getSubgraphEntity(LiquidityPositionSnapshot, id, block, info) + ); + }, + + liquidityPositionSnapshots: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('liquidityPositionSnapshots', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'liquidityPositionSnapshots', + expressContext, + async () => indexer.getSubgraphEntities( + LiquidityPositionSnapshot, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + transaction: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('transaction', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'transaction', + expressContext, + async () => indexer.getSubgraphEntity(Transaction, id, block, info) + ); + }, + + transactions: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('transactions', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'transactions', + expressContext, + async () => indexer.getSubgraphEntities( + Transaction, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + mint: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('mint', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'mint', + expressContext, + async () => indexer.getSubgraphEntity(Mint, id, block, info) + ); + }, + + mints: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('mints', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'mints', + expressContext, + async () => indexer.getSubgraphEntities( + Mint, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + burn: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('burn', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'burn', + expressContext, + async () => indexer.getSubgraphEntity(Burn, id, block, info) + ); + }, + + burns: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('burns', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'burns', + expressContext, + async () => indexer.getSubgraphEntities( + Burn, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + swap: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('swap', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'swap', + expressContext, + async () => indexer.getSubgraphEntity(Swap, id, block, info) + ); + }, + + swaps: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('swaps', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'swaps', + expressContext, + async () => indexer.getSubgraphEntities( + Swap, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + bundle: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('bundle', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'bundle', + expressContext, + async () => indexer.getSubgraphEntity(Bundle, id, block, info) + ); + }, + + bundles: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('bundles', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'bundles', + expressContext, + async () => indexer.getSubgraphEntities( + Bundle, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + uniswapDayData: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('uniswapDayData', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'uniswapDayData', + expressContext, + async () => indexer.getSubgraphEntity(UniswapDayData, id, block, info) + ); + }, + + uniswapDayDatas: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('uniswapDayDatas', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'uniswapDayDatas', + expressContext, + async () => indexer.getSubgraphEntities( + UniswapDayData, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + pairHourData: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pairHourData', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pairHourData', + expressContext, + async () => indexer.getSubgraphEntity(PairHourData, id, block, info) + ); + }, + + pairHourDatas: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pairHourDatas', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pairHourDatas', + expressContext, + async () => indexer.getSubgraphEntities( + PairHourData, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + pairDayData: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pairDayData', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pairDayData', + expressContext, + async () => indexer.getSubgraphEntity(PairDayData, id, block, info) + ); + }, + + pairDayDatas: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('pairDayDatas', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'pairDayDatas', + expressContext, + async () => indexer.getSubgraphEntities( + PairDayData, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + tokenDayData: async ( + _: any, + { id, block = {} }: { id: string, block: BlockHeight }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('tokenDayData', id, JSON.stringify(block, jsonBigIntStringReplacer)); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'tokenDayData', + expressContext, + async () => indexer.getSubgraphEntity(TokenDayData, id, block, info) + ); + }, + + tokenDayDatas: async ( + _: any, + { block = {}, where, first, skip, orderBy, orderDirection }: { block: BlockHeight, where: { [key: string]: any }, first: number, skip: number, orderBy: string, orderDirection: OrderDirection }, + expressContext: ExpressContext, + info: GraphQLResolveInfo + ) => { + log('tokenDayDatas', JSON.stringify(block, jsonBigIntStringReplacer), JSON.stringify(where, jsonBigIntStringReplacer), first, skip, orderBy, orderDirection); + + // Set cache-control hints + // setGQLCacheHints(info, block, gqlCacheConfig); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'tokenDayDatas', + expressContext, + async () => indexer.getSubgraphEntities( + TokenDayData, + block, + where, + { limit: first, skip, orderBy, orderDirection }, + info + ) + ); + }, + + events: async ( + _: any, + { blockHash, contractAddress, name }: { blockHash: string, contractAddress: string, name?: string }, + expressContext: ExpressContext + ) => { + log('events', blockHash, contractAddress, name); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'events', + expressContext, + async () => { + const block = await indexer.getBlockProgress(blockHash); + if (!block || !block.isComplete) { + throw new Error(`Block hash ${blockHash} number ${block?.blockNumber} not processed yet`); + } + + const events = await indexer.getEventsByFilter(blockHash, contractAddress, name); + return events.map(event => indexer.getResultEvent(event)); + } + ); + }, + + eventsInRange: async ( + _: any, + { fromBlockNumber, toBlockNumber }: { fromBlockNumber: number, toBlockNumber: number }, + expressContext: ExpressContext + ) => { + log('eventsInRange', fromBlockNumber, toBlockNumber); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'eventsInRange', + expressContext, + async () => { + const syncStatus = await indexer.getSyncStatus(); + + if (!syncStatus) { + throw new Error('No blocks processed yet'); + } + + if ((fromBlockNumber < syncStatus.initialIndexedBlockNumber) || (toBlockNumber > syncStatus.latestProcessedBlockNumber)) { + throw new Error(`Block range should be between ${syncStatus.initialIndexedBlockNumber} and ${syncStatus.latestProcessedBlockNumber}`); + } + + const events = await indexer.getEventsInRange(fromBlockNumber, toBlockNumber); + return events.map(event => indexer.getResultEvent(event)); + } + ); + }, + + getStateByCID: async ( + _: any, + { cid }: { cid: string }, + expressContext: ExpressContext + ) => { + log('getStateByCID', cid); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'getStateByCID', + expressContext, + async () => { + const state = await indexer.getStateByCID(cid); + + return state && state.block.isComplete ? getResultState(state) : undefined; + } + ); + }, + + getState: async ( + _: any, + { blockHash, contractAddress, kind }: { blockHash: string, contractAddress: string, kind: string }, + expressContext: ExpressContext + ) => { + log('getState', blockHash, contractAddress, kind); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'getState', + expressContext, + async () => { + const state = await indexer.getPrevState(blockHash, contractAddress, kind); + + return state && state.block.isComplete ? getResultState(state) : undefined; + } + ); + }, + + _meta: async ( + _: any, + { block = {} }: { block: BlockHeight }, + expressContext: ExpressContext + ) => { + log('_meta'); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + '_meta', + expressContext, + async () => indexer.getMetaData(block) + ); + }, + + getSyncStatus: async ( + _: any, + __: Record, + expressContext: ExpressContext + ) => { + log('getSyncStatus'); + + return executeAndRecordMetrics( + indexer, + gqlLogger, + 'getSyncStatus', + expressContext, + async () => indexer.getSyncStatus() + ); + } + } + }; +}; diff --git a/packages/v2-watcher/src/schema.gql b/packages/v2-watcher/src/schema.gql new file mode 100644 index 0000000..4750421 --- /dev/null +++ b/packages/v2-watcher/src/schema.gql @@ -0,0 +1,2330 @@ +directive @cacheControl(maxAge: Int, inheritMaxAge: Boolean, scope: CacheControlScope) on FIELD_DEFINITION | OBJECT | INTERFACE | UNION + +enum CacheControlScope { + PUBLIC + PRIVATE +} + +scalar BigInt + +scalar BigDecimal + +scalar Bytes + +type Proof { + data: String! +} + +type _Block_ { + cid: String + hash: String! + number: Int! + timestamp: Int! + parentHash: String! +} + +type _Transaction_ { + hash: String! + index: Int! + from: String! + to: String! +} + +type ResultEvent { + block: _Block_! + tx: _Transaction_! + contract: String! + eventIndex: Int! + event: Event! + proof: Proof +} + +union Event = PairCreatedEvent | ApprovalEvent | BurnEvent | MintEvent | SwapEvent | SyncEvent | TransferEvent + +type PairCreatedEvent { + token0: String! + token1: String! + pair: String! + null: BigInt! +} + +type ApprovalEvent { + owner: String! + spender: String! + value: BigInt! +} + +type BurnEvent { + sender: String! + amount0: BigInt! + amount1: BigInt! + to: String! +} + +type MintEvent { + sender: String! + amount0: BigInt! + amount1: BigInt! +} + +type SwapEvent { + sender: String! + amount0In: BigInt! + amount1In: BigInt! + amount0Out: BigInt! + amount1Out: BigInt! + to: String! +} + +type SyncEvent { + reserve0: BigInt! + reserve1: BigInt! +} + +type TransferEvent { + from: String! + to: String! + value: BigInt! +} + +input Block_height { + hash: Bytes + number: Int +} + +input BlockChangedFilter { + number_gte: Int! +} + +enum OrderDirection { + asc + desc +} + +enum UniswapFactory_orderBy { + id + pairCount + totalVolumeUSD + totalVolumeETH + untrackedVolumeUSD + totalLiquidityUSD + totalLiquidityETH + txCount +} + +input UniswapFactory_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + pairCount: Int + pairCount_not: Int + pairCount_gt: Int + pairCount_lt: Int + pairCount_gte: Int + pairCount_lte: Int + pairCount_in: [Int!] + pairCount_not_in: [Int!] + totalVolumeUSD: BigDecimal + totalVolumeUSD_not: BigDecimal + totalVolumeUSD_gt: BigDecimal + totalVolumeUSD_lt: BigDecimal + totalVolumeUSD_gte: BigDecimal + totalVolumeUSD_lte: BigDecimal + totalVolumeUSD_in: [BigDecimal!] + totalVolumeUSD_not_in: [BigDecimal!] + totalVolumeETH: BigDecimal + totalVolumeETH_not: BigDecimal + totalVolumeETH_gt: BigDecimal + totalVolumeETH_lt: BigDecimal + totalVolumeETH_gte: BigDecimal + totalVolumeETH_lte: BigDecimal + totalVolumeETH_in: [BigDecimal!] + totalVolumeETH_not_in: [BigDecimal!] + untrackedVolumeUSD: BigDecimal + untrackedVolumeUSD_not: BigDecimal + untrackedVolumeUSD_gt: BigDecimal + untrackedVolumeUSD_lt: BigDecimal + untrackedVolumeUSD_gte: BigDecimal + untrackedVolumeUSD_lte: BigDecimal + untrackedVolumeUSD_in: [BigDecimal!] + untrackedVolumeUSD_not_in: [BigDecimal!] + totalLiquidityUSD: BigDecimal + totalLiquidityUSD_not: BigDecimal + totalLiquidityUSD_gt: BigDecimal + totalLiquidityUSD_lt: BigDecimal + totalLiquidityUSD_gte: BigDecimal + totalLiquidityUSD_lte: BigDecimal + totalLiquidityUSD_in: [BigDecimal!] + totalLiquidityUSD_not_in: [BigDecimal!] + totalLiquidityETH: BigDecimal + totalLiquidityETH_not: BigDecimal + totalLiquidityETH_gt: BigDecimal + totalLiquidityETH_lt: BigDecimal + totalLiquidityETH_gte: BigDecimal + totalLiquidityETH_lte: BigDecimal + totalLiquidityETH_in: [BigDecimal!] + totalLiquidityETH_not_in: [BigDecimal!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + _change_block: BlockChangedFilter + and: [UniswapFactory_filter] + or: [UniswapFactory_filter] +} + +enum Token_orderBy { + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + tokenDayData + pairDayDataBase + pairDayDataQuote + pairBase + pairQuote +} + +input Token_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + symbol: String + symbol_not: String + symbol_gt: String + symbol_lt: String + symbol_gte: String + symbol_lte: String + symbol_in: [String!] + symbol_not_in: [String!] + symbol_starts_with: String + symbol_starts_with_nocase: String + symbol_not_starts_with: String + symbol_not_starts_with_nocase: String + symbol_ends_with: String + symbol_ends_with_nocase: String + symbol_not_ends_with: String + symbol_not_ends_with_nocase: String + symbol_contains: String + symbol_not_contains: String + symbol_contains_nocase: String + symbol_not_contains_nocase: String + name: String + name_not: String + name_gt: String + name_lt: String + name_gte: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_starts_with: String + name_starts_with_nocase: String + name_not_starts_with: String + name_not_starts_with_nocase: String + name_ends_with: String + name_ends_with_nocase: String + name_not_ends_with: String + name_not_ends_with_nocase: String + name_contains: String + name_not_contains: String + name_contains_nocase: String + name_not_contains_nocase: String + decimals: BigInt + decimals_not: BigInt + decimals_gt: BigInt + decimals_lt: BigInt + decimals_gte: BigInt + decimals_lte: BigInt + decimals_in: [BigInt!] + decimals_not_in: [BigInt!] + totalSupply: BigInt + totalSupply_not: BigInt + totalSupply_gt: BigInt + totalSupply_lt: BigInt + totalSupply_gte: BigInt + totalSupply_lte: BigInt + totalSupply_in: [BigInt!] + totalSupply_not_in: [BigInt!] + tradeVolume: BigDecimal + tradeVolume_not: BigDecimal + tradeVolume_gt: BigDecimal + tradeVolume_lt: BigDecimal + tradeVolume_gte: BigDecimal + tradeVolume_lte: BigDecimal + tradeVolume_in: [BigDecimal!] + tradeVolume_not_in: [BigDecimal!] + tradeVolumeUSD: BigDecimal + tradeVolumeUSD_not: BigDecimal + tradeVolumeUSD_gt: BigDecimal + tradeVolumeUSD_lt: BigDecimal + tradeVolumeUSD_gte: BigDecimal + tradeVolumeUSD_lte: BigDecimal + tradeVolumeUSD_in: [BigDecimal!] + tradeVolumeUSD_not_in: [BigDecimal!] + untrackedVolumeUSD: BigDecimal + untrackedVolumeUSD_not: BigDecimal + untrackedVolumeUSD_gt: BigDecimal + untrackedVolumeUSD_lt: BigDecimal + untrackedVolumeUSD_gte: BigDecimal + untrackedVolumeUSD_lte: BigDecimal + untrackedVolumeUSD_in: [BigDecimal!] + untrackedVolumeUSD_not_in: [BigDecimal!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + totalLiquidity: BigDecimal + totalLiquidity_not: BigDecimal + totalLiquidity_gt: BigDecimal + totalLiquidity_lt: BigDecimal + totalLiquidity_gte: BigDecimal + totalLiquidity_lte: BigDecimal + totalLiquidity_in: [BigDecimal!] + totalLiquidity_not_in: [BigDecimal!] + derivedETH: BigDecimal + derivedETH_not: BigDecimal + derivedETH_gt: BigDecimal + derivedETH_lt: BigDecimal + derivedETH_gte: BigDecimal + derivedETH_lte: BigDecimal + derivedETH_in: [BigDecimal!] + derivedETH_not_in: [BigDecimal!] + tokenDayData_: TokenDayData_filter + pairDayDataBase_: PairDayData_filter + pairDayDataQuote_: PairDayData_filter + pairBase_: Pair_filter + pairQuote_: Pair_filter + _change_block: BlockChangedFilter + and: [Token_filter] + or: [Token_filter] +} + +enum Pair_orderBy { + id + token0 + token0__id + token0__symbol + token0__name + token0__decimals + token0__totalSupply + token0__tradeVolume + token0__tradeVolumeUSD + token0__untrackedVolumeUSD + token0__txCount + token0__totalLiquidity + token0__derivedETH + token1 + token1__id + token1__symbol + token1__name + token1__decimals + token1__totalSupply + token1__tradeVolume + token1__tradeVolumeUSD + token1__untrackedVolumeUSD + token1__txCount + token1__totalLiquidity + token1__derivedETH + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount + pairHourData + liquidityPositions + liquidityPositionSnapshots + mints + burns + swaps +} + +input Pair_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + token0: String + token0_not: String + token0_gt: String + token0_lt: String + token0_gte: String + token0_lte: String + token0_in: [String!] + token0_not_in: [String!] + token0_starts_with: String + token0_starts_with_nocase: String + token0_not_starts_with: String + token0_not_starts_with_nocase: String + token0_ends_with: String + token0_ends_with_nocase: String + token0_not_ends_with: String + token0_not_ends_with_nocase: String + token0_contains: String + token0_not_contains: String + token0_contains_nocase: String + token0_not_contains_nocase: String + token0_: Token_filter + token1: String + token1_not: String + token1_gt: String + token1_lt: String + token1_gte: String + token1_lte: String + token1_in: [String!] + token1_not_in: [String!] + token1_starts_with: String + token1_starts_with_nocase: String + token1_not_starts_with: String + token1_not_starts_with_nocase: String + token1_ends_with: String + token1_ends_with_nocase: String + token1_not_ends_with: String + token1_not_ends_with_nocase: String + token1_contains: String + token1_not_contains: String + token1_contains_nocase: String + token1_not_contains_nocase: String + token1_: Token_filter + reserve0: BigDecimal + reserve0_not: BigDecimal + reserve0_gt: BigDecimal + reserve0_lt: BigDecimal + reserve0_gte: BigDecimal + reserve0_lte: BigDecimal + reserve0_in: [BigDecimal!] + reserve0_not_in: [BigDecimal!] + reserve1: BigDecimal + reserve1_not: BigDecimal + reserve1_gt: BigDecimal + reserve1_lt: BigDecimal + reserve1_gte: BigDecimal + reserve1_lte: BigDecimal + reserve1_in: [BigDecimal!] + reserve1_not_in: [BigDecimal!] + totalSupply: BigDecimal + totalSupply_not: BigDecimal + totalSupply_gt: BigDecimal + totalSupply_lt: BigDecimal + totalSupply_gte: BigDecimal + totalSupply_lte: BigDecimal + totalSupply_in: [BigDecimal!] + totalSupply_not_in: [BigDecimal!] + reserveETH: BigDecimal + reserveETH_not: BigDecimal + reserveETH_gt: BigDecimal + reserveETH_lt: BigDecimal + reserveETH_gte: BigDecimal + reserveETH_lte: BigDecimal + reserveETH_in: [BigDecimal!] + reserveETH_not_in: [BigDecimal!] + reserveUSD: BigDecimal + reserveUSD_not: BigDecimal + reserveUSD_gt: BigDecimal + reserveUSD_lt: BigDecimal + reserveUSD_gte: BigDecimal + reserveUSD_lte: BigDecimal + reserveUSD_in: [BigDecimal!] + reserveUSD_not_in: [BigDecimal!] + trackedReserveETH: BigDecimal + trackedReserveETH_not: BigDecimal + trackedReserveETH_gt: BigDecimal + trackedReserveETH_lt: BigDecimal + trackedReserveETH_gte: BigDecimal + trackedReserveETH_lte: BigDecimal + trackedReserveETH_in: [BigDecimal!] + trackedReserveETH_not_in: [BigDecimal!] + token0Price: BigDecimal + token0Price_not: BigDecimal + token0Price_gt: BigDecimal + token0Price_lt: BigDecimal + token0Price_gte: BigDecimal + token0Price_lte: BigDecimal + token0Price_in: [BigDecimal!] + token0Price_not_in: [BigDecimal!] + token1Price: BigDecimal + token1Price_not: BigDecimal + token1Price_gt: BigDecimal + token1Price_lt: BigDecimal + token1Price_gte: BigDecimal + token1Price_lte: BigDecimal + token1Price_in: [BigDecimal!] + token1Price_not_in: [BigDecimal!] + volumeToken0: BigDecimal + volumeToken0_not: BigDecimal + volumeToken0_gt: BigDecimal + volumeToken0_lt: BigDecimal + volumeToken0_gte: BigDecimal + volumeToken0_lte: BigDecimal + volumeToken0_in: [BigDecimal!] + volumeToken0_not_in: [BigDecimal!] + volumeToken1: BigDecimal + volumeToken1_not: BigDecimal + volumeToken1_gt: BigDecimal + volumeToken1_lt: BigDecimal + volumeToken1_gte: BigDecimal + volumeToken1_lte: BigDecimal + volumeToken1_in: [BigDecimal!] + volumeToken1_not_in: [BigDecimal!] + volumeUSD: BigDecimal + volumeUSD_not: BigDecimal + volumeUSD_gt: BigDecimal + volumeUSD_lt: BigDecimal + volumeUSD_gte: BigDecimal + volumeUSD_lte: BigDecimal + volumeUSD_in: [BigDecimal!] + volumeUSD_not_in: [BigDecimal!] + untrackedVolumeUSD: BigDecimal + untrackedVolumeUSD_not: BigDecimal + untrackedVolumeUSD_gt: BigDecimal + untrackedVolumeUSD_lt: BigDecimal + untrackedVolumeUSD_gte: BigDecimal + untrackedVolumeUSD_lte: BigDecimal + untrackedVolumeUSD_in: [BigDecimal!] + untrackedVolumeUSD_not_in: [BigDecimal!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + createdAtTimestamp: BigInt + createdAtTimestamp_not: BigInt + createdAtTimestamp_gt: BigInt + createdAtTimestamp_lt: BigInt + createdAtTimestamp_gte: BigInt + createdAtTimestamp_lte: BigInt + createdAtTimestamp_in: [BigInt!] + createdAtTimestamp_not_in: [BigInt!] + createdAtBlockNumber: BigInt + createdAtBlockNumber_not: BigInt + createdAtBlockNumber_gt: BigInt + createdAtBlockNumber_lt: BigInt + createdAtBlockNumber_gte: BigInt + createdAtBlockNumber_lte: BigInt + createdAtBlockNumber_in: [BigInt!] + createdAtBlockNumber_not_in: [BigInt!] + liquidityProviderCount: BigInt + liquidityProviderCount_not: BigInt + liquidityProviderCount_gt: BigInt + liquidityProviderCount_lt: BigInt + liquidityProviderCount_gte: BigInt + liquidityProviderCount_lte: BigInt + liquidityProviderCount_in: [BigInt!] + liquidityProviderCount_not_in: [BigInt!] + pairHourData_: PairHourData_filter + liquidityPositions_: LiquidityPosition_filter + liquidityPositionSnapshots_: LiquidityPositionSnapshot_filter + mints_: Mint_filter + burns_: Burn_filter + swaps_: Swap_filter + _change_block: BlockChangedFilter + and: [Pair_filter] + or: [Pair_filter] +} + +enum User_orderBy { + id + liquidityPositions + usdSwapped +} + +input User_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + liquidityPositions_: LiquidityPosition_filter + usdSwapped: BigDecimal + usdSwapped_not: BigDecimal + usdSwapped_gt: BigDecimal + usdSwapped_lt: BigDecimal + usdSwapped_gte: BigDecimal + usdSwapped_lte: BigDecimal + usdSwapped_in: [BigDecimal!] + usdSwapped_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [User_filter] + or: [User_filter] +} + +enum LiquidityPosition_orderBy { + id + user + user__id + user__usdSwapped + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + liquidityTokenBalance +} + +input LiquidityPosition_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + user: String + user_not: String + user_gt: String + user_lt: String + user_gte: String + user_lte: String + user_in: [String!] + user_not_in: [String!] + user_starts_with: String + user_starts_with_nocase: String + user_not_starts_with: String + user_not_starts_with_nocase: String + user_ends_with: String + user_ends_with_nocase: String + user_not_ends_with: String + user_not_ends_with_nocase: String + user_contains: String + user_not_contains: String + user_contains_nocase: String + user_not_contains_nocase: String + user_: User_filter + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + liquidityTokenBalance: BigDecimal + liquidityTokenBalance_not: BigDecimal + liquidityTokenBalance_gt: BigDecimal + liquidityTokenBalance_lt: BigDecimal + liquidityTokenBalance_gte: BigDecimal + liquidityTokenBalance_lte: BigDecimal + liquidityTokenBalance_in: [BigDecimal!] + liquidityTokenBalance_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [LiquidityPosition_filter] + or: [LiquidityPosition_filter] +} + +enum LiquidityPositionSnapshot_orderBy { + id + liquidityPosition + liquidityPosition__id + liquidityPosition__liquidityTokenBalance + timestamp + block + user + user__id + user__usdSwapped + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + liquidityTokenBalance +} + +input LiquidityPositionSnapshot_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + liquidityPosition: String + liquidityPosition_not: String + liquidityPosition_gt: String + liquidityPosition_lt: String + liquidityPosition_gte: String + liquidityPosition_lte: String + liquidityPosition_in: [String!] + liquidityPosition_not_in: [String!] + liquidityPosition_starts_with: String + liquidityPosition_starts_with_nocase: String + liquidityPosition_not_starts_with: String + liquidityPosition_not_starts_with_nocase: String + liquidityPosition_ends_with: String + liquidityPosition_ends_with_nocase: String + liquidityPosition_not_ends_with: String + liquidityPosition_not_ends_with_nocase: String + liquidityPosition_contains: String + liquidityPosition_not_contains: String + liquidityPosition_contains_nocase: String + liquidityPosition_not_contains_nocase: String + liquidityPosition_: LiquidityPosition_filter + timestamp: Int + timestamp_not: Int + timestamp_gt: Int + timestamp_lt: Int + timestamp_gte: Int + timestamp_lte: Int + timestamp_in: [Int!] + timestamp_not_in: [Int!] + block: Int + block_not: Int + block_gt: Int + block_lt: Int + block_gte: Int + block_lte: Int + block_in: [Int!] + block_not_in: [Int!] + user: String + user_not: String + user_gt: String + user_lt: String + user_gte: String + user_lte: String + user_in: [String!] + user_not_in: [String!] + user_starts_with: String + user_starts_with_nocase: String + user_not_starts_with: String + user_not_starts_with_nocase: String + user_ends_with: String + user_ends_with_nocase: String + user_not_ends_with: String + user_not_ends_with_nocase: String + user_contains: String + user_not_contains: String + user_contains_nocase: String + user_not_contains_nocase: String + user_: User_filter + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + token0PriceUSD: BigDecimal + token0PriceUSD_not: BigDecimal + token0PriceUSD_gt: BigDecimal + token0PriceUSD_lt: BigDecimal + token0PriceUSD_gte: BigDecimal + token0PriceUSD_lte: BigDecimal + token0PriceUSD_in: [BigDecimal!] + token0PriceUSD_not_in: [BigDecimal!] + token1PriceUSD: BigDecimal + token1PriceUSD_not: BigDecimal + token1PriceUSD_gt: BigDecimal + token1PriceUSD_lt: BigDecimal + token1PriceUSD_gte: BigDecimal + token1PriceUSD_lte: BigDecimal + token1PriceUSD_in: [BigDecimal!] + token1PriceUSD_not_in: [BigDecimal!] + reserve0: BigDecimal + reserve0_not: BigDecimal + reserve0_gt: BigDecimal + reserve0_lt: BigDecimal + reserve0_gte: BigDecimal + reserve0_lte: BigDecimal + reserve0_in: [BigDecimal!] + reserve0_not_in: [BigDecimal!] + reserve1: BigDecimal + reserve1_not: BigDecimal + reserve1_gt: BigDecimal + reserve1_lt: BigDecimal + reserve1_gte: BigDecimal + reserve1_lte: BigDecimal + reserve1_in: [BigDecimal!] + reserve1_not_in: [BigDecimal!] + reserveUSD: BigDecimal + reserveUSD_not: BigDecimal + reserveUSD_gt: BigDecimal + reserveUSD_lt: BigDecimal + reserveUSD_gte: BigDecimal + reserveUSD_lte: BigDecimal + reserveUSD_in: [BigDecimal!] + reserveUSD_not_in: [BigDecimal!] + liquidityTokenTotalSupply: BigDecimal + liquidityTokenTotalSupply_not: BigDecimal + liquidityTokenTotalSupply_gt: BigDecimal + liquidityTokenTotalSupply_lt: BigDecimal + liquidityTokenTotalSupply_gte: BigDecimal + liquidityTokenTotalSupply_lte: BigDecimal + liquidityTokenTotalSupply_in: [BigDecimal!] + liquidityTokenTotalSupply_not_in: [BigDecimal!] + liquidityTokenBalance: BigDecimal + liquidityTokenBalance_not: BigDecimal + liquidityTokenBalance_gt: BigDecimal + liquidityTokenBalance_lt: BigDecimal + liquidityTokenBalance_gte: BigDecimal + liquidityTokenBalance_lte: BigDecimal + liquidityTokenBalance_in: [BigDecimal!] + liquidityTokenBalance_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [LiquidityPositionSnapshot_filter] + or: [LiquidityPositionSnapshot_filter] +} + +enum Transaction_orderBy { + id + blockNumber + timestamp + mints + burns + swaps +} + +input Transaction_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + blockNumber: BigInt + blockNumber_not: BigInt + blockNumber_gt: BigInt + blockNumber_lt: BigInt + blockNumber_gte: BigInt + blockNumber_lte: BigInt + blockNumber_in: [BigInt!] + blockNumber_not_in: [BigInt!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + mints: [String!] + mints_not: [String!] + mints_contains: [String!] + mints_not_contains: [String!] + mints_contains_nocase: [String!] + mints_not_contains_nocase: [String!] + mints_: Mint_filter + burns: [String!] + burns_not: [String!] + burns_contains: [String!] + burns_not_contains: [String!] + burns_contains_nocase: [String!] + burns_not_contains_nocase: [String!] + burns_: Burn_filter + swaps: [String!] + swaps_not: [String!] + swaps_contains: [String!] + swaps_not_contains: [String!] + swaps_contains_nocase: [String!] + swaps_not_contains_nocase: [String!] + swaps_: Swap_filter + _change_block: BlockChangedFilter + and: [Transaction_filter] + or: [Transaction_filter] +} + +enum Mint_orderBy { + id + transaction + transaction__id + transaction__blockNumber + transaction__timestamp + timestamp + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity +} + +input Mint_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + transaction: String + transaction_not: String + transaction_gt: String + transaction_lt: String + transaction_gte: String + transaction_lte: String + transaction_in: [String!] + transaction_not_in: [String!] + transaction_starts_with: String + transaction_starts_with_nocase: String + transaction_not_starts_with: String + transaction_not_starts_with_nocase: String + transaction_ends_with: String + transaction_ends_with_nocase: String + transaction_not_ends_with: String + transaction_not_ends_with_nocase: String + transaction_contains: String + transaction_not_contains: String + transaction_contains_nocase: String + transaction_not_contains_nocase: String + transaction_: Transaction_filter + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + to: Bytes + to_not: Bytes + to_gt: Bytes + to_lt: Bytes + to_gte: Bytes + to_lte: Bytes + to_in: [Bytes!] + to_not_in: [Bytes!] + to_contains: Bytes + to_not_contains: Bytes + liquidity: BigDecimal + liquidity_not: BigDecimal + liquidity_gt: BigDecimal + liquidity_lt: BigDecimal + liquidity_gte: BigDecimal + liquidity_lte: BigDecimal + liquidity_in: [BigDecimal!] + liquidity_not_in: [BigDecimal!] + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + amount0: BigDecimal + amount0_not: BigDecimal + amount0_gt: BigDecimal + amount0_lt: BigDecimal + amount0_gte: BigDecimal + amount0_lte: BigDecimal + amount0_in: [BigDecimal!] + amount0_not_in: [BigDecimal!] + amount1: BigDecimal + amount1_not: BigDecimal + amount1_gt: BigDecimal + amount1_lt: BigDecimal + amount1_gte: BigDecimal + amount1_lte: BigDecimal + amount1_in: [BigDecimal!] + amount1_not_in: [BigDecimal!] + logIndex: BigInt + logIndex_not: BigInt + logIndex_gt: BigInt + logIndex_lt: BigInt + logIndex_gte: BigInt + logIndex_lte: BigInt + logIndex_in: [BigInt!] + logIndex_not_in: [BigInt!] + amountUSD: BigDecimal + amountUSD_not: BigDecimal + amountUSD_gt: BigDecimal + amountUSD_lt: BigDecimal + amountUSD_gte: BigDecimal + amountUSD_lte: BigDecimal + amountUSD_in: [BigDecimal!] + amountUSD_not_in: [BigDecimal!] + feeTo: Bytes + feeTo_not: Bytes + feeTo_gt: Bytes + feeTo_lt: Bytes + feeTo_gte: Bytes + feeTo_lte: Bytes + feeTo_in: [Bytes!] + feeTo_not_in: [Bytes!] + feeTo_contains: Bytes + feeTo_not_contains: Bytes + feeLiquidity: BigDecimal + feeLiquidity_not: BigDecimal + feeLiquidity_gt: BigDecimal + feeLiquidity_lt: BigDecimal + feeLiquidity_gte: BigDecimal + feeLiquidity_lte: BigDecimal + feeLiquidity_in: [BigDecimal!] + feeLiquidity_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [Mint_filter] + or: [Mint_filter] +} + +enum Burn_orderBy { + id + transaction + transaction__id + transaction__blockNumber + transaction__timestamp + timestamp + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity +} + +input Burn_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + transaction: String + transaction_not: String + transaction_gt: String + transaction_lt: String + transaction_gte: String + transaction_lte: String + transaction_in: [String!] + transaction_not_in: [String!] + transaction_starts_with: String + transaction_starts_with_nocase: String + transaction_not_starts_with: String + transaction_not_starts_with_nocase: String + transaction_ends_with: String + transaction_ends_with_nocase: String + transaction_not_ends_with: String + transaction_not_ends_with_nocase: String + transaction_contains: String + transaction_not_contains: String + transaction_contains_nocase: String + transaction_not_contains_nocase: String + transaction_: Transaction_filter + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + liquidity: BigDecimal + liquidity_not: BigDecimal + liquidity_gt: BigDecimal + liquidity_lt: BigDecimal + liquidity_gte: BigDecimal + liquidity_lte: BigDecimal + liquidity_in: [BigDecimal!] + liquidity_not_in: [BigDecimal!] + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + amount0: BigDecimal + amount0_not: BigDecimal + amount0_gt: BigDecimal + amount0_lt: BigDecimal + amount0_gte: BigDecimal + amount0_lte: BigDecimal + amount0_in: [BigDecimal!] + amount0_not_in: [BigDecimal!] + amount1: BigDecimal + amount1_not: BigDecimal + amount1_gt: BigDecimal + amount1_lt: BigDecimal + amount1_gte: BigDecimal + amount1_lte: BigDecimal + amount1_in: [BigDecimal!] + amount1_not_in: [BigDecimal!] + to: Bytes + to_not: Bytes + to_gt: Bytes + to_lt: Bytes + to_gte: Bytes + to_lte: Bytes + to_in: [Bytes!] + to_not_in: [Bytes!] + to_contains: Bytes + to_not_contains: Bytes + logIndex: BigInt + logIndex_not: BigInt + logIndex_gt: BigInt + logIndex_lt: BigInt + logIndex_gte: BigInt + logIndex_lte: BigInt + logIndex_in: [BigInt!] + logIndex_not_in: [BigInt!] + amountUSD: BigDecimal + amountUSD_not: BigDecimal + amountUSD_gt: BigDecimal + amountUSD_lt: BigDecimal + amountUSD_gte: BigDecimal + amountUSD_lte: BigDecimal + amountUSD_in: [BigDecimal!] + amountUSD_not_in: [BigDecimal!] + needsComplete: Boolean + needsComplete_not: Boolean + needsComplete_gt: Boolean + needsComplete_lt: Boolean + needsComplete_gte: Boolean + needsComplete_lte: Boolean + needsComplete_in: [Boolean!] + needsComplete_not_in: [Boolean!] + feeTo: Bytes + feeTo_not: Bytes + feeTo_gt: Bytes + feeTo_lt: Bytes + feeTo_gte: Bytes + feeTo_lte: Bytes + feeTo_in: [Bytes!] + feeTo_not_in: [Bytes!] + feeTo_contains: Bytes + feeTo_not_contains: Bytes + feeLiquidity: BigDecimal + feeLiquidity_not: BigDecimal + feeLiquidity_gt: BigDecimal + feeLiquidity_lt: BigDecimal + feeLiquidity_gte: BigDecimal + feeLiquidity_lte: BigDecimal + feeLiquidity_in: [BigDecimal!] + feeLiquidity_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [Burn_filter] + or: [Burn_filter] +} + +enum Swap_orderBy { + id + transaction + transaction__id + transaction__blockNumber + transaction__timestamp + timestamp + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + sender + from + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD +} + +input Swap_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + transaction: String + transaction_not: String + transaction_gt: String + transaction_lt: String + transaction_gte: String + transaction_lte: String + transaction_in: [String!] + transaction_not_in: [String!] + transaction_starts_with: String + transaction_starts_with_nocase: String + transaction_not_starts_with: String + transaction_not_starts_with_nocase: String + transaction_ends_with: String + transaction_ends_with_nocase: String + transaction_not_ends_with: String + transaction_not_ends_with_nocase: String + transaction_contains: String + transaction_not_contains: String + transaction_contains_nocase: String + transaction_not_contains_nocase: String + transaction_: Transaction_filter + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + from: Bytes + from_not: Bytes + from_gt: Bytes + from_lt: Bytes + from_gte: Bytes + from_lte: Bytes + from_in: [Bytes!] + from_not_in: [Bytes!] + from_contains: Bytes + from_not_contains: Bytes + amount0In: BigDecimal + amount0In_not: BigDecimal + amount0In_gt: BigDecimal + amount0In_lt: BigDecimal + amount0In_gte: BigDecimal + amount0In_lte: BigDecimal + amount0In_in: [BigDecimal!] + amount0In_not_in: [BigDecimal!] + amount1In: BigDecimal + amount1In_not: BigDecimal + amount1In_gt: BigDecimal + amount1In_lt: BigDecimal + amount1In_gte: BigDecimal + amount1In_lte: BigDecimal + amount1In_in: [BigDecimal!] + amount1In_not_in: [BigDecimal!] + amount0Out: BigDecimal + amount0Out_not: BigDecimal + amount0Out_gt: BigDecimal + amount0Out_lt: BigDecimal + amount0Out_gte: BigDecimal + amount0Out_lte: BigDecimal + amount0Out_in: [BigDecimal!] + amount0Out_not_in: [BigDecimal!] + amount1Out: BigDecimal + amount1Out_not: BigDecimal + amount1Out_gt: BigDecimal + amount1Out_lt: BigDecimal + amount1Out_gte: BigDecimal + amount1Out_lte: BigDecimal + amount1Out_in: [BigDecimal!] + amount1Out_not_in: [BigDecimal!] + to: Bytes + to_not: Bytes + to_gt: Bytes + to_lt: Bytes + to_gte: Bytes + to_lte: Bytes + to_in: [Bytes!] + to_not_in: [Bytes!] + to_contains: Bytes + to_not_contains: Bytes + logIndex: BigInt + logIndex_not: BigInt + logIndex_gt: BigInt + logIndex_lt: BigInt + logIndex_gte: BigInt + logIndex_lte: BigInt + logIndex_in: [BigInt!] + logIndex_not_in: [BigInt!] + amountUSD: BigDecimal + amountUSD_not: BigDecimal + amountUSD_gt: BigDecimal + amountUSD_lt: BigDecimal + amountUSD_gte: BigDecimal + amountUSD_lte: BigDecimal + amountUSD_in: [BigDecimal!] + amountUSD_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [Swap_filter] + or: [Swap_filter] +} + +enum Bundle_orderBy { + id + ethPrice +} + +input Bundle_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + ethPrice: BigDecimal + ethPrice_not: BigDecimal + ethPrice_gt: BigDecimal + ethPrice_lt: BigDecimal + ethPrice_gte: BigDecimal + ethPrice_lte: BigDecimal + ethPrice_in: [BigDecimal!] + ethPrice_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [Bundle_filter] + or: [Bundle_filter] +} + +enum UniswapDayData_orderBy { + id + date + dailyVolumeETH + dailyVolumeUSD + dailyVolumeUntracked + totalVolumeETH + totalLiquidityETH + totalVolumeUSD + totalLiquidityUSD + txCount +} + +input UniswapDayData_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + date: Int + date_not: Int + date_gt: Int + date_lt: Int + date_gte: Int + date_lte: Int + date_in: [Int!] + date_not_in: [Int!] + dailyVolumeETH: BigDecimal + dailyVolumeETH_not: BigDecimal + dailyVolumeETH_gt: BigDecimal + dailyVolumeETH_lt: BigDecimal + dailyVolumeETH_gte: BigDecimal + dailyVolumeETH_lte: BigDecimal + dailyVolumeETH_in: [BigDecimal!] + dailyVolumeETH_not_in: [BigDecimal!] + dailyVolumeUSD: BigDecimal + dailyVolumeUSD_not: BigDecimal + dailyVolumeUSD_gt: BigDecimal + dailyVolumeUSD_lt: BigDecimal + dailyVolumeUSD_gte: BigDecimal + dailyVolumeUSD_lte: BigDecimal + dailyVolumeUSD_in: [BigDecimal!] + dailyVolumeUSD_not_in: [BigDecimal!] + dailyVolumeUntracked: BigDecimal + dailyVolumeUntracked_not: BigDecimal + dailyVolumeUntracked_gt: BigDecimal + dailyVolumeUntracked_lt: BigDecimal + dailyVolumeUntracked_gte: BigDecimal + dailyVolumeUntracked_lte: BigDecimal + dailyVolumeUntracked_in: [BigDecimal!] + dailyVolumeUntracked_not_in: [BigDecimal!] + totalVolumeETH: BigDecimal + totalVolumeETH_not: BigDecimal + totalVolumeETH_gt: BigDecimal + totalVolumeETH_lt: BigDecimal + totalVolumeETH_gte: BigDecimal + totalVolumeETH_lte: BigDecimal + totalVolumeETH_in: [BigDecimal!] + totalVolumeETH_not_in: [BigDecimal!] + totalLiquidityETH: BigDecimal + totalLiquidityETH_not: BigDecimal + totalLiquidityETH_gt: BigDecimal + totalLiquidityETH_lt: BigDecimal + totalLiquidityETH_gte: BigDecimal + totalLiquidityETH_lte: BigDecimal + totalLiquidityETH_in: [BigDecimal!] + totalLiquidityETH_not_in: [BigDecimal!] + totalVolumeUSD: BigDecimal + totalVolumeUSD_not: BigDecimal + totalVolumeUSD_gt: BigDecimal + totalVolumeUSD_lt: BigDecimal + totalVolumeUSD_gte: BigDecimal + totalVolumeUSD_lte: BigDecimal + totalVolumeUSD_in: [BigDecimal!] + totalVolumeUSD_not_in: [BigDecimal!] + totalLiquidityUSD: BigDecimal + totalLiquidityUSD_not: BigDecimal + totalLiquidityUSD_gt: BigDecimal + totalLiquidityUSD_lt: BigDecimal + totalLiquidityUSD_gte: BigDecimal + totalLiquidityUSD_lte: BigDecimal + totalLiquidityUSD_in: [BigDecimal!] + totalLiquidityUSD_not_in: [BigDecimal!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + _change_block: BlockChangedFilter + and: [UniswapDayData_filter] + or: [UniswapDayData_filter] +} + +enum PairHourData_orderBy { + id + hourStartUnix + pair + pair__id + pair__reserve0 + pair__reserve1 + pair__totalSupply + pair__reserveETH + pair__reserveUSD + pair__trackedReserveETH + pair__token0Price + pair__token1Price + pair__volumeToken0 + pair__volumeToken1 + pair__volumeUSD + pair__untrackedVolumeUSD + pair__txCount + pair__createdAtTimestamp + pair__createdAtBlockNumber + pair__liquidityProviderCount + reserve0 + reserve1 + totalSupply + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns +} + +input PairHourData_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + hourStartUnix: Int + hourStartUnix_not: Int + hourStartUnix_gt: Int + hourStartUnix_lt: Int + hourStartUnix_gte: Int + hourStartUnix_lte: Int + hourStartUnix_in: [Int!] + hourStartUnix_not_in: [Int!] + pair: String + pair_not: String + pair_gt: String + pair_lt: String + pair_gte: String + pair_lte: String + pair_in: [String!] + pair_not_in: [String!] + pair_starts_with: String + pair_starts_with_nocase: String + pair_not_starts_with: String + pair_not_starts_with_nocase: String + pair_ends_with: String + pair_ends_with_nocase: String + pair_not_ends_with: String + pair_not_ends_with_nocase: String + pair_contains: String + pair_not_contains: String + pair_contains_nocase: String + pair_not_contains_nocase: String + pair_: Pair_filter + reserve0: BigDecimal + reserve0_not: BigDecimal + reserve0_gt: BigDecimal + reserve0_lt: BigDecimal + reserve0_gte: BigDecimal + reserve0_lte: BigDecimal + reserve0_in: [BigDecimal!] + reserve0_not_in: [BigDecimal!] + reserve1: BigDecimal + reserve1_not: BigDecimal + reserve1_gt: BigDecimal + reserve1_lt: BigDecimal + reserve1_gte: BigDecimal + reserve1_lte: BigDecimal + reserve1_in: [BigDecimal!] + reserve1_not_in: [BigDecimal!] + totalSupply: BigDecimal + totalSupply_not: BigDecimal + totalSupply_gt: BigDecimal + totalSupply_lt: BigDecimal + totalSupply_gte: BigDecimal + totalSupply_lte: BigDecimal + totalSupply_in: [BigDecimal!] + totalSupply_not_in: [BigDecimal!] + reserveUSD: BigDecimal + reserveUSD_not: BigDecimal + reserveUSD_gt: BigDecimal + reserveUSD_lt: BigDecimal + reserveUSD_gte: BigDecimal + reserveUSD_lte: BigDecimal + reserveUSD_in: [BigDecimal!] + reserveUSD_not_in: [BigDecimal!] + hourlyVolumeToken0: BigDecimal + hourlyVolumeToken0_not: BigDecimal + hourlyVolumeToken0_gt: BigDecimal + hourlyVolumeToken0_lt: BigDecimal + hourlyVolumeToken0_gte: BigDecimal + hourlyVolumeToken0_lte: BigDecimal + hourlyVolumeToken0_in: [BigDecimal!] + hourlyVolumeToken0_not_in: [BigDecimal!] + hourlyVolumeToken1: BigDecimal + hourlyVolumeToken1_not: BigDecimal + hourlyVolumeToken1_gt: BigDecimal + hourlyVolumeToken1_lt: BigDecimal + hourlyVolumeToken1_gte: BigDecimal + hourlyVolumeToken1_lte: BigDecimal + hourlyVolumeToken1_in: [BigDecimal!] + hourlyVolumeToken1_not_in: [BigDecimal!] + hourlyVolumeUSD: BigDecimal + hourlyVolumeUSD_not: BigDecimal + hourlyVolumeUSD_gt: BigDecimal + hourlyVolumeUSD_lt: BigDecimal + hourlyVolumeUSD_gte: BigDecimal + hourlyVolumeUSD_lte: BigDecimal + hourlyVolumeUSD_in: [BigDecimal!] + hourlyVolumeUSD_not_in: [BigDecimal!] + hourlyTxns: BigInt + hourlyTxns_not: BigInt + hourlyTxns_gt: BigInt + hourlyTxns_lt: BigInt + hourlyTxns_gte: BigInt + hourlyTxns_lte: BigInt + hourlyTxns_in: [BigInt!] + hourlyTxns_not_in: [BigInt!] + _change_block: BlockChangedFilter + and: [PairHourData_filter] + or: [PairHourData_filter] +} + +enum PairDayData_orderBy { + id + date + pairAddress + token0 + token0__id + token0__symbol + token0__name + token0__decimals + token0__totalSupply + token0__tradeVolume + token0__tradeVolumeUSD + token0__untrackedVolumeUSD + token0__txCount + token0__totalLiquidity + token0__derivedETH + token1 + token1__id + token1__symbol + token1__name + token1__decimals + token1__totalSupply + token1__tradeVolume + token1__tradeVolumeUSD + token1__untrackedVolumeUSD + token1__txCount + token1__totalLiquidity + token1__derivedETH + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns +} + +input PairDayData_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + date: Int + date_not: Int + date_gt: Int + date_lt: Int + date_gte: Int + date_lte: Int + date_in: [Int!] + date_not_in: [Int!] + pairAddress: Bytes + pairAddress_not: Bytes + pairAddress_gt: Bytes + pairAddress_lt: Bytes + pairAddress_gte: Bytes + pairAddress_lte: Bytes + pairAddress_in: [Bytes!] + pairAddress_not_in: [Bytes!] + pairAddress_contains: Bytes + pairAddress_not_contains: Bytes + token0: String + token0_not: String + token0_gt: String + token0_lt: String + token0_gte: String + token0_lte: String + token0_in: [String!] + token0_not_in: [String!] + token0_starts_with: String + token0_starts_with_nocase: String + token0_not_starts_with: String + token0_not_starts_with_nocase: String + token0_ends_with: String + token0_ends_with_nocase: String + token0_not_ends_with: String + token0_not_ends_with_nocase: String + token0_contains: String + token0_not_contains: String + token0_contains_nocase: String + token0_not_contains_nocase: String + token0_: Token_filter + token1: String + token1_not: String + token1_gt: String + token1_lt: String + token1_gte: String + token1_lte: String + token1_in: [String!] + token1_not_in: [String!] + token1_starts_with: String + token1_starts_with_nocase: String + token1_not_starts_with: String + token1_not_starts_with_nocase: String + token1_ends_with: String + token1_ends_with_nocase: String + token1_not_ends_with: String + token1_not_ends_with_nocase: String + token1_contains: String + token1_not_contains: String + token1_contains_nocase: String + token1_not_contains_nocase: String + token1_: Token_filter + reserve0: BigDecimal + reserve0_not: BigDecimal + reserve0_gt: BigDecimal + reserve0_lt: BigDecimal + reserve0_gte: BigDecimal + reserve0_lte: BigDecimal + reserve0_in: [BigDecimal!] + reserve0_not_in: [BigDecimal!] + reserve1: BigDecimal + reserve1_not: BigDecimal + reserve1_gt: BigDecimal + reserve1_lt: BigDecimal + reserve1_gte: BigDecimal + reserve1_lte: BigDecimal + reserve1_in: [BigDecimal!] + reserve1_not_in: [BigDecimal!] + totalSupply: BigDecimal + totalSupply_not: BigDecimal + totalSupply_gt: BigDecimal + totalSupply_lt: BigDecimal + totalSupply_gte: BigDecimal + totalSupply_lte: BigDecimal + totalSupply_in: [BigDecimal!] + totalSupply_not_in: [BigDecimal!] + reserveUSD: BigDecimal + reserveUSD_not: BigDecimal + reserveUSD_gt: BigDecimal + reserveUSD_lt: BigDecimal + reserveUSD_gte: BigDecimal + reserveUSD_lte: BigDecimal + reserveUSD_in: [BigDecimal!] + reserveUSD_not_in: [BigDecimal!] + dailyVolumeToken0: BigDecimal + dailyVolumeToken0_not: BigDecimal + dailyVolumeToken0_gt: BigDecimal + dailyVolumeToken0_lt: BigDecimal + dailyVolumeToken0_gte: BigDecimal + dailyVolumeToken0_lte: BigDecimal + dailyVolumeToken0_in: [BigDecimal!] + dailyVolumeToken0_not_in: [BigDecimal!] + dailyVolumeToken1: BigDecimal + dailyVolumeToken1_not: BigDecimal + dailyVolumeToken1_gt: BigDecimal + dailyVolumeToken1_lt: BigDecimal + dailyVolumeToken1_gte: BigDecimal + dailyVolumeToken1_lte: BigDecimal + dailyVolumeToken1_in: [BigDecimal!] + dailyVolumeToken1_not_in: [BigDecimal!] + dailyVolumeUSD: BigDecimal + dailyVolumeUSD_not: BigDecimal + dailyVolumeUSD_gt: BigDecimal + dailyVolumeUSD_lt: BigDecimal + dailyVolumeUSD_gte: BigDecimal + dailyVolumeUSD_lte: BigDecimal + dailyVolumeUSD_in: [BigDecimal!] + dailyVolumeUSD_not_in: [BigDecimal!] + dailyTxns: BigInt + dailyTxns_not: BigInt + dailyTxns_gt: BigInt + dailyTxns_lt: BigInt + dailyTxns_gte: BigInt + dailyTxns_lte: BigInt + dailyTxns_in: [BigInt!] + dailyTxns_not_in: [BigInt!] + _change_block: BlockChangedFilter + and: [PairDayData_filter] + or: [PairDayData_filter] +} + +enum TokenDayData_orderBy { + id + date + token + token__id + token__symbol + token__name + token__decimals + token__totalSupply + token__tradeVolume + token__tradeVolumeUSD + token__untrackedVolumeUSD + token__txCount + token__totalLiquidity + token__derivedETH + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD +} + +input TokenDayData_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + date: Int + date_not: Int + date_gt: Int + date_lt: Int + date_gte: Int + date_lte: Int + date_in: [Int!] + date_not_in: [Int!] + token: String + token_not: String + token_gt: String + token_lt: String + token_gte: String + token_lte: String + token_in: [String!] + token_not_in: [String!] + token_starts_with: String + token_starts_with_nocase: String + token_not_starts_with: String + token_not_starts_with_nocase: String + token_ends_with: String + token_ends_with_nocase: String + token_not_ends_with: String + token_not_ends_with_nocase: String + token_contains: String + token_not_contains: String + token_contains_nocase: String + token_not_contains_nocase: String + token_: Token_filter + dailyVolumeToken: BigDecimal + dailyVolumeToken_not: BigDecimal + dailyVolumeToken_gt: BigDecimal + dailyVolumeToken_lt: BigDecimal + dailyVolumeToken_gte: BigDecimal + dailyVolumeToken_lte: BigDecimal + dailyVolumeToken_in: [BigDecimal!] + dailyVolumeToken_not_in: [BigDecimal!] + dailyVolumeETH: BigDecimal + dailyVolumeETH_not: BigDecimal + dailyVolumeETH_gt: BigDecimal + dailyVolumeETH_lt: BigDecimal + dailyVolumeETH_gte: BigDecimal + dailyVolumeETH_lte: BigDecimal + dailyVolumeETH_in: [BigDecimal!] + dailyVolumeETH_not_in: [BigDecimal!] + dailyVolumeUSD: BigDecimal + dailyVolumeUSD_not: BigDecimal + dailyVolumeUSD_gt: BigDecimal + dailyVolumeUSD_lt: BigDecimal + dailyVolumeUSD_gte: BigDecimal + dailyVolumeUSD_lte: BigDecimal + dailyVolumeUSD_in: [BigDecimal!] + dailyVolumeUSD_not_in: [BigDecimal!] + dailyTxns: BigInt + dailyTxns_not: BigInt + dailyTxns_gt: BigInt + dailyTxns_lt: BigInt + dailyTxns_gte: BigInt + dailyTxns_lte: BigInt + dailyTxns_in: [BigInt!] + dailyTxns_not_in: [BigInt!] + totalLiquidityToken: BigDecimal + totalLiquidityToken_not: BigDecimal + totalLiquidityToken_gt: BigDecimal + totalLiquidityToken_lt: BigDecimal + totalLiquidityToken_gte: BigDecimal + totalLiquidityToken_lte: BigDecimal + totalLiquidityToken_in: [BigDecimal!] + totalLiquidityToken_not_in: [BigDecimal!] + totalLiquidityETH: BigDecimal + totalLiquidityETH_not: BigDecimal + totalLiquidityETH_gt: BigDecimal + totalLiquidityETH_lt: BigDecimal + totalLiquidityETH_gte: BigDecimal + totalLiquidityETH_lte: BigDecimal + totalLiquidityETH_in: [BigDecimal!] + totalLiquidityETH_not_in: [BigDecimal!] + totalLiquidityUSD: BigDecimal + totalLiquidityUSD_not: BigDecimal + totalLiquidityUSD_gt: BigDecimal + totalLiquidityUSD_lt: BigDecimal + totalLiquidityUSD_gte: BigDecimal + totalLiquidityUSD_lte: BigDecimal + totalLiquidityUSD_in: [BigDecimal!] + totalLiquidityUSD_not_in: [BigDecimal!] + priceUSD: BigDecimal + priceUSD_not: BigDecimal + priceUSD_gt: BigDecimal + priceUSD_lt: BigDecimal + priceUSD_gte: BigDecimal + priceUSD_lte: BigDecimal + priceUSD_in: [BigDecimal!] + priceUSD_not_in: [BigDecimal!] + _change_block: BlockChangedFilter + and: [TokenDayData_filter] + or: [TokenDayData_filter] +} + +type _MetaBlock_ { + hash: Bytes + number: Int! + timestamp: Int +} + +type _Meta_ { + block: _MetaBlock_! + deployment: String! + hasIndexingErrors: Boolean! +} + +type ResultState { + block: _Block_! + contractAddress: String! + cid: String! + kind: String! + data: String! +} + +type SyncStatus { + latestIndexedBlockHash: String! + latestIndexedBlockNumber: Int! + latestCanonicalBlockHash: String! + latestCanonicalBlockNumber: Int! + initialIndexedBlockHash: String! + initialIndexedBlockNumber: Int! + latestProcessedBlockHash: String! + latestProcessedBlockNumber: Int! +} + +type Query { + events(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!] + eventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!): [ResultEvent!] + uniswapFactory(id: ID!, block: Block_height): UniswapFactory + uniswapFactories(block: Block_height, where: UniswapFactory_filter, orderBy: UniswapFactory_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UniswapFactory!]! + token(id: ID!, block: Block_height): Token + tokens(block: Block_height, where: Token_filter, orderBy: Token_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Token!]! + pair(id: ID!, block: Block_height): Pair + pairs(block: Block_height, where: Pair_filter, orderBy: Pair_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pair!]! + user(id: ID!, block: Block_height): User + users(block: Block_height, where: User_filter, orderBy: User_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [User!]! + liquidityPosition(id: ID!, block: Block_height): LiquidityPosition + liquidityPositions(block: Block_height, where: LiquidityPosition_filter, orderBy: LiquidityPosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidityPosition!]! + liquidityPositionSnapshot(id: ID!, block: Block_height): LiquidityPositionSnapshot + liquidityPositionSnapshots(block: Block_height, where: LiquidityPositionSnapshot_filter, orderBy: LiquidityPositionSnapshot_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidityPositionSnapshot!]! + transaction(id: ID!, block: Block_height): Transaction + transactions(block: Block_height, where: Transaction_filter, orderBy: Transaction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Transaction!]! + mint(id: ID!, block: Block_height): Mint + mints(block: Block_height, where: Mint_filter, orderBy: Mint_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Mint!]! + burn(id: ID!, block: Block_height): Burn + burns(block: Block_height, where: Burn_filter, orderBy: Burn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Burn!]! + swap(id: ID!, block: Block_height): Swap + swaps(block: Block_height, where: Swap_filter, orderBy: Swap_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Swap!]! + bundle(id: ID!, block: Block_height): Bundle + bundles(block: Block_height, where: Bundle_filter, orderBy: Bundle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Bundle!]! + uniswapDayData(id: ID!, block: Block_height): UniswapDayData + uniswapDayDatas(block: Block_height, where: UniswapDayData_filter, orderBy: UniswapDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UniswapDayData!]! + pairHourData(id: ID!, block: Block_height): PairHourData + pairHourDatas(block: Block_height, where: PairHourData_filter, orderBy: PairHourData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PairHourData!]! + pairDayData(id: ID!, block: Block_height): PairDayData + pairDayDatas(block: Block_height, where: PairDayData_filter, orderBy: PairDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PairDayData!]! + tokenDayData(id: ID!, block: Block_height): TokenDayData + tokenDayDatas(block: Block_height, where: TokenDayData_filter, orderBy: TokenDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [TokenDayData!]! + _meta(block: Block_height): _Meta_ + getStateByCID(cid: String!): ResultState + getState(blockHash: String!, contractAddress: String!, kind: String): ResultState + getSyncStatus: SyncStatus +} + +type UniswapFactory { + id: ID! + pairCount: Int! + totalVolumeUSD: BigDecimal! + totalVolumeETH: BigDecimal! + untrackedVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + totalLiquidityETH: BigDecimal! + txCount: BigInt! +} + +type Token { + id: ID! + symbol: String! + name: String! + decimals: BigInt! + totalSupply: BigInt! + tradeVolume: BigDecimal! + tradeVolumeUSD: BigDecimal! + untrackedVolumeUSD: BigDecimal! + txCount: BigInt! + totalLiquidity: BigDecimal! + derivedETH: BigDecimal! + tokenDayData: [TokenDayData!]! + pairDayDataBase: [PairDayData!]! + pairDayDataQuote: [PairDayData!]! + pairBase: [Pair!]! + pairQuote: [Pair!]! +} + +type TokenDayData { + id: ID! + date: Int! + token: Token! + dailyVolumeToken: BigDecimal! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyTxns: BigInt! + totalLiquidityToken: BigDecimal! + totalLiquidityETH: BigDecimal! + totalLiquidityUSD: BigDecimal! + priceUSD: BigDecimal! +} + +type PairDayData { + id: ID! + date: Int! + pairAddress: Bytes! + token0: Token! + token1: Token! + reserve0: BigDecimal! + reserve1: BigDecimal! + totalSupply: BigDecimal + reserveUSD: BigDecimal! + dailyVolumeToken0: BigDecimal! + dailyVolumeToken1: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyTxns: BigInt! +} + +type Pair { + id: ID! + token0: Token! + token1: Token! + reserve0: BigDecimal! + reserve1: BigDecimal! + totalSupply: BigDecimal! + reserveETH: BigDecimal! + reserveUSD: BigDecimal! + trackedReserveETH: BigDecimal! + token0Price: BigDecimal! + token1Price: BigDecimal! + volumeToken0: BigDecimal! + volumeToken1: BigDecimal! + volumeUSD: BigDecimal! + untrackedVolumeUSD: BigDecimal! + txCount: BigInt! + createdAtTimestamp: BigInt! + createdAtBlockNumber: BigInt! + liquidityProviderCount: BigInt! + pairHourData: [PairHourData!]! + liquidityPositions: [LiquidityPosition!]! + liquidityPositionSnapshots: [LiquidityPositionSnapshot!]! + mints: [Mint!]! + burns: [Burn!]! + swaps: [Swap!]! +} + +type PairHourData { + id: ID! + hourStartUnix: Int! + pair: Pair! + reserve0: BigDecimal! + reserve1: BigDecimal! + totalSupply: BigDecimal + reserveUSD: BigDecimal! + hourlyVolumeToken0: BigDecimal! + hourlyVolumeToken1: BigDecimal! + hourlyVolumeUSD: BigDecimal! + hourlyTxns: BigInt! +} + +type LiquidityPosition { + id: ID! + user: User! + pair: Pair! + liquidityTokenBalance: BigDecimal! +} + +type User { + id: ID! + liquidityPositions: [LiquidityPosition!] + usdSwapped: BigDecimal! +} + +type LiquidityPositionSnapshot { + id: ID! + liquidityPosition: LiquidityPosition! + timestamp: Int! + block: Int! + user: User! + pair: Pair! + token0PriceUSD: BigDecimal! + token1PriceUSD: BigDecimal! + reserve0: BigDecimal! + reserve1: BigDecimal! + reserveUSD: BigDecimal! + liquidityTokenTotalSupply: BigDecimal! + liquidityTokenBalance: BigDecimal! +} + +type Mint { + id: ID! + transaction: Transaction! + timestamp: BigInt! + pair: Pair! + to: Bytes! + liquidity: BigDecimal! + sender: Bytes + amount0: BigDecimal + amount1: BigDecimal + logIndex: BigInt + amountUSD: BigDecimal + feeTo: Bytes + feeLiquidity: BigDecimal +} + +type Transaction { + id: ID! + blockNumber: BigInt! + timestamp: BigInt! + mints: [Mint!]! + burns: [Burn!]! + swaps: [Swap!]! +} + +type Burn { + id: ID! + transaction: Transaction! + timestamp: BigInt! + pair: Pair! + liquidity: BigDecimal! + sender: Bytes + amount0: BigDecimal + amount1: BigDecimal + to: Bytes + logIndex: BigInt + amountUSD: BigDecimal + needsComplete: Boolean! + feeTo: Bytes + feeLiquidity: BigDecimal +} + +type Swap { + id: ID! + transaction: Transaction! + timestamp: BigInt! + pair: Pair! + sender: Bytes! + from: Bytes! + amount0In: BigDecimal! + amount1In: BigDecimal! + amount0Out: BigDecimal! + amount1Out: BigDecimal! + to: Bytes! + logIndex: BigInt + amountUSD: BigDecimal! +} + +type Bundle { + id: ID! + ethPrice: BigDecimal! +} + +type UniswapDayData { + id: ID! + date: Int! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyVolumeUntracked: BigDecimal! + totalVolumeETH: BigDecimal! + totalLiquidityETH: BigDecimal! + totalVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + txCount: BigInt! +} + +type Mutation { + watchContract(address: String!, kind: String!, checkpoint: Boolean!, startingBlock: Int): Boolean! +} + +type Subscription { + onEvent: ResultEvent! +} diff --git a/packages/v2-watcher/src/server.ts b/packages/v2-watcher/src/server.ts new file mode 100644 index 0000000..679134f --- /dev/null +++ b/packages/v2-watcher/src/server.ts @@ -0,0 +1,43 @@ +// +// Copyright 2021 Vulcanize, Inc. +// + +import fs from 'fs'; +import path from 'path'; +import 'reflect-metadata'; +import debug from 'debug'; + +import { ServerCmd } from '@cerc-io/cli'; +import { getGraphDbAndWatcher } from '@cerc-io/graph-node'; + +import { createResolvers } from './resolvers'; +import { Indexer } from './indexer'; +import { Database, ENTITY_QUERY_TYPE_MAP, ENTITY_TO_LATEST_ENTITY_MAP } from './database'; + +const log = debug('vulcanize:server'); + +export const main = async (): Promise => { + const serverCmd = new ServerCmd(); + await serverCmd.init(Database); + + const { graphWatcher } = await getGraphDbAndWatcher( + serverCmd.config.server, + serverCmd.clients.ethClient, + serverCmd.ethProvider, + serverCmd.database.baseDatabase, + ENTITY_QUERY_TYPE_MAP, + ENTITY_TO_LATEST_ENTITY_MAP + ); + + await serverCmd.initIndexer(Indexer, graphWatcher); + + const typeDefs = fs.readFileSync(path.join(__dirname, 'schema.gql')).toString(); + + return serverCmd.exec(createResolvers, typeDefs); +}; + +main().then(() => { + log('Starting server...'); +}).catch(err => { + log(err); +}); diff --git a/packages/v2-watcher/src/types.ts b/packages/v2-watcher/src/types.ts new file mode 100644 index 0000000..c456217 --- /dev/null +++ b/packages/v2-watcher/src/types.ts @@ -0,0 +1,3 @@ +// +// Copyright 2021 Vulcanize, Inc. +// diff --git a/packages/v2-watcher/subgraph-build/Factory/Factory.wasm b/packages/v2-watcher/subgraph-build/Factory/Factory.wasm new file mode 100644 index 0000000000000000000000000000000000000000..ee4f9c975ef1b52c8cf1bf06afea5fdc2bd12746 GIT binary patch literal 225762 zcmeFa34k3%@jpJt+w<*9UP6G7MR~h`fI^6X;Sezs$U-0xB;fTua7kXm9@$NHUn24A z*93^%LO2CMj3*u-Q33G|HwbFH6;a}?fEw=$REJLb$-v{?*6F@ zhXxnV6R03i4QUy!4GvYOE~?go(A3z)t5F*?@Lu~~ka;lRXAjg)x1cH1!$2K3S8Hci zhpNjKm(0b~`Q82fsqXBV#j1L3o^M(=K|L*}FHQY}i>Bf)D6}rxG^OsGQFo^ccg71$N!OYwU3OG1do)|zGq7yf zk&{Ir&(sAy%X=177tCDYipG1jmh@*UnNh3tEUtR^CV7=|aE|kemkho!2)%)uk|nVo zIN>Zq;5OafOgD=9cDkJgIMc@6HLz`;?u+Yst9i=c0(aA3JFBNQcgWo?X;|D&20U;> z+5YOn+Pt%S7J58vxMZkj(b?HD^Jt-t<;-0zXHq1(7gb-~-M_3FL>~D@;Lw@f!_}7^ z5d`t`(Q{ED2;(>mqQ4f-3yzWS&TpbAIn?tF9^{*XW?k7C=)v zBk8Xs{k5dOk#v)!zm@cNlKx)OKS=sVN&h72pC$c^q<@w4Z<799(q|=oPSSr!`n;s8 zg#FHy^gKz=mvptHZ7) zua)#VN#8E%^^)Eo>HWg@4@ml;qz_5@u%wSj`b9~2J(L#C931SA_uS2=gxAy;?BN&8(x#)#$MFkOmFCfURRw$P z>Q_1u#+|xfF};xo>p|#9VVSkOI#4^cd#HPH+_}Gxh1UyC?p`u$pfK41%= zUgP$etYPOZ?jEYaw66_y&#xT|6FA=25X)=Di>7FB)A!Sdx(9|)1B-)rze$r>6Z zyV?h5YfIP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Vj{=G^$rDR4f~=~_#HB48>s6YECx{5L>&VTEs>$B z3>h+-GUz~FwskLqa6>j5{~rJqM5ToPA3RpB_gHuhh+STM>Dq!PH z(9$A!3a6?uqF?P`M2jKnt3g<^e$C*JTaNhXl0a?nS_e~68+YOzOd%4yZgBXk*d!N< zHV=-vSQdJV1LxaTUyGjnX3|#GdAG&$$dunU)xi?Es1HNyNyoC;u}=QIwCkK zS-iyWtt-YeAlp?3ZjX&O`4!6>RR;_2k{S)uO{#<46O#;$(#@)4Yl$x!OY647x$OCM zWN$Sd^Fb&ZMuuAkgFAeTHxOxiHL68fJI|qpt+u$qCWp6g)9jXJ*Q>uqa zYMCz_`RZUafmAT5zIUpQeL%c-<7>_>k(}3j-Fg3%gh~VcCSk+xQXRWn%Y1d~B7#_p zda2XSE{HAi`w*ZDhYKIRGn@At&Xvw|k-n)qc4UF+=P@H>J2g^FKM6tkw?-z$EHtkX! zOp{}276)nsoA)`lR`jdc*z}t29~^RejcnxyoC{HS{WZ(Ob)1cp#Rr|6hv-b=+s@Un z!dI_{Bi{OkhnySc3SYx_oZC~|@(0J+-Kv9y2dQ-xn;v#PUQ}#a7_4dfu5+Vl&fC7{ zyz#6#R-1FNTeRdj{e9$w!2W7>LW5w1x9$liS{x-KCSE^sqH`v#=sS~s z?8JNzBqvyWQgsmcH;^V*j79U7MM8V*pJujwGZ1TvJ5G5%)o_wC#%LOLq4_ME8F}-eVe_Mup(a|r}>6vt6 zoX%1f&JbX>y6du5p$qVMzgb$WG^Ijm2 literal 0 HcmV?d00001 diff --git a/packages/v2-watcher/tsconfig.json b/packages/v2-watcher/tsconfig.json new file mode 100644 index 0000000..f4b8852 --- /dev/null +++ b/packages/v2-watcher/tsconfig.json @@ -0,0 +1,74 @@ +{ + "compilerOptions": { + /* Visit https://aka.ms/tsconfig.json to read more about this file */ + + /* Basic Options */ + // "incremental": true, /* Enable incremental compilation */ + "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ + "lib": ["es2019"], /* Specify library files to be included in the compilation. */ + // "allowJs": true, /* Allow javascript files to be compiled. */ + // "checkJs": true, /* Report errors in .js files. */ + // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */ + // "declaration": true, /* Generates corresponding '.d.ts' file. */ + // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + // "outFile": "./", /* Concatenate and emit output to single file. */ + "outDir": "dist", /* Redirect output structure to the directory. */ + // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + // "composite": true, /* Enable project compilation */ + // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ + // "removeComments": true, /* Do not emit comments to output. */ + // "noEmit": true, /* Do not emit outputs. */ + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ + "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ + // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ + + /* Strict Type-Checking Options */ + "strict": true, /* Enable all strict type-checking options. */ + // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ + // "strictNullChecks": true, /* Enable strict null checks. */ + // "strictFunctionTypes": true, /* Enable strict checking of function types. */ + // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ + // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ + // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ + // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ + + /* Additional Checks */ + // "noUnusedLocals": true, /* Report errors on unused locals. */ + // "noUnusedParameters": true, /* Report errors on unused parameters. */ + // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ + // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an 'override' modifier. */ + // "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */ + + /* Module Resolution Options */ + // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ + // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ + // "typeRoots": [], /* List of folders to include type definitions from. */ + // "types": [], /* Type declaration files to be included in compilation. */ + // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ + // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ + + /* Source Map Options */ + // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ + // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ + // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ + + /* Experimental Options */ + "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ + // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + + /* Advanced Options */ + "skipLibCheck": true, /* Skip type checking of declaration files. */ + "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ + "resolveJsonModule": true /* Enabling the option allows importing JSON, and validating the types in that JSON file. */ + }, + "include": ["src/**/*"] +} -- 2.45.2 From 33452af864431a14e6a17839cba3b3e7682736a6 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 6 Jun 2024 16:35:16 +0530 Subject: [PATCH 2/5] Update README and config --- packages/v2-watcher/README.md | 4 ++++ packages/v2-watcher/environments/local.toml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/v2-watcher/README.md b/packages/v2-watcher/README.md index 03dc91d..b1a3627 100644 --- a/packages/v2-watcher/README.md +++ b/packages/v2-watcher/README.md @@ -1,5 +1,9 @@ # v2-watcher +## Source + +* Subgraph: [sushiswap-subgraphs v0.1.1-watcher](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher) + ## Setup * Run the following command to install required packages: diff --git a/packages/v2-watcher/environments/local.toml b/packages/v2-watcher/environments/local.toml index 37984bd..f24df04 100644 --- a/packages/v2-watcher/environments/local.toml +++ b/packages/v2-watcher/environments/local.toml @@ -64,16 +64,16 @@ [upstream] [upstream.ethServer] - gqlApiEndpoint = "http://127.0.0.1:8082/graphql" + # gqlApiEndpoint = "http://127.0.0.1:8082/graphql" rpcProviderEndpoints = [ "http://127.0.0.1:8081" ] # Boolean flag to specify if rpc-eth-client should be used for RPC endpoint instead of ipld-eth-client (ipld-eth-server GQL client) - rpcClient = false + rpcClient = true # Boolean flag to specify if rpcProviderEndpoint is an FEVM RPC endpoint - isFEVM = false + isFEVM = true # Boolean flag to filter event logs by contracts filterLogsByAddresses = true -- 2.45.2 From 5712418fae07794bb41c954cfe699ccfab08405f Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 10 Jun 2024 19:07:37 +0530 Subject: [PATCH 3/5] Regenerate sushiswap-v3 watcher --- packages/v3-watcher/.gitignore | 2 ++ packages/v3-watcher/README.md | 2 +- packages/v3-watcher/environments/local.toml | 7 +++++-- packages/v3-watcher/package.json | 12 ++++++------ packages/v3-watcher/src/resolvers.ts | 2 ++ .../subgraph-build/Factory/Factory.wasm | Bin 228235 -> 228196 bytes .../NonfungiblePositionManager.wasm | Bin 232581 -> 232579 bytes .../subgraph-build/templates/Pool/Pool.wasm | Bin 326224 -> 326222 bytes 8 files changed, 16 insertions(+), 9 deletions(-) diff --git a/packages/v3-watcher/.gitignore b/packages/v3-watcher/.gitignore index 0b4cc3f..549d70b 100644 --- a/packages/v3-watcher/.gitignore +++ b/packages/v3-watcher/.gitignore @@ -4,3 +4,5 @@ out/ .vscode .idea + +gql-logs/ diff --git a/packages/v3-watcher/README.md b/packages/v3-watcher/README.md index 6a71b43..9f74a88 100644 --- a/packages/v3-watcher/README.md +++ b/packages/v3-watcher/README.md @@ -2,7 +2,7 @@ ## Source -* Subgraph: sushiswap-subgraphs [v0.1.1-watcher-0.1.0](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.0) +* Subgraph: [sushiswap-subgraphs v0.1.1-watcher-0.1.0](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.0) ## Setup diff --git a/packages/v3-watcher/environments/local.toml b/packages/v3-watcher/environments/local.toml index bab02fc..138f854 100644 --- a/packages/v3-watcher/environments/local.toml +++ b/packages/v3-watcher/environments/local.toml @@ -70,10 +70,10 @@ ] # Boolean flag to specify if rpc-eth-client should be used for RPC endpoint instead of ipld-eth-client (ipld-eth-server GQL client) - rpcClient = true + rpcClient = false # Boolean flag to specify if rpcProviderEndpoint is an FEVM RPC endpoint - isFEVM = true + isFEVM = false # Boolean flag to filter event logs by contracts filterLogsByAddresses = true @@ -93,6 +93,9 @@ subgraphEventsOrder = true blockDelayInMilliSecs = 2000 + # Number of blocks by which block processing lags behind head + blockProcessingOffset = 16 + # Boolean to switch between modes of processing events when starting the server. # Setting to true will fetch filtered events and required blocks in a range of blocks and then process them. # Setting to false will fetch blocks consecutively with its events and then process them (Behaviour is followed in realtime processing near head). diff --git a/packages/v3-watcher/package.json b/packages/v3-watcher/package.json index fd464b1..18dda85 100644 --- a/packages/v3-watcher/package.json +++ b/packages/v3-watcher/package.json @@ -29,7 +29,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/cerc-io/watcher-ts.git" + "url": "https://github.com/cerc-io/watcher-ts.git" }, "author": "", "license": "AGPL-3.0", @@ -39,11 +39,11 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.94", - "@cerc-io/ipld-eth-client": "^0.2.94", - "@cerc-io/solidity-mapper": "^0.2.94", - "@cerc-io/util": "^0.2.94", - "@cerc-io/graph-node": "^0.2.94", + "@cerc-io/cli": "^0.2.97", + "@cerc-io/ipld-eth-client": "^0.2.97", + "@cerc-io/solidity-mapper": "^0.2.97", + "@cerc-io/util": "^0.2.97", + "@cerc-io/graph-node": "^0.2.97", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/v3-watcher/src/resolvers.ts b/packages/v3-watcher/src/resolvers.ts index 0b13ec1..5af43d8 100644 --- a/packages/v3-watcher/src/resolvers.ts +++ b/packages/v3-watcher/src/resolvers.ts @@ -89,6 +89,8 @@ const executeAndRecordMetrics = async ( apiKey: expressContext.req.header('x-api-key'), origin: expressContext.req.headers.origin }); + + throw error; } finally { endTimer(); } diff --git a/packages/v3-watcher/subgraph-build/Factory/Factory.wasm b/packages/v3-watcher/subgraph-build/Factory/Factory.wasm index 88049417246186039f2dd376f47569e17f36db0b..ae80ef127274281d2b904f06286cf9bd3dcbcb51 100644 GIT binary patch delta 4062 zcmZWr4Nz3q6@KR|DDN#01VIpx)g(sZUl6sSlE@3G=^)ma8WROg43kFFCe@5dle7&> zN~b#$+7d}Uj6nm2M3fC;QQiUzEJ)&tC@Z33Tnt3op@zUVVQA;!y=;| znT=)(mQ|gIYiRiV$B6!YWfR^k0cnFV4_NoZi;F=rtN)c&g{qP{q|jng;l(+q`uD*+ zlvH?aZ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WY){6$AI=pc6BC1QTyW=95 ge|qR=*}zq)1I&W+yt7_ FUjUuO4x#`6 diff --git a/packages/v3-watcher/subgraph-build/templates/Pool/Pool.wasm b/packages/v3-watcher/subgraph-build/templates/Pool/Pool.wasm index 46a279ce156725cdd8e51005694155e241c0e2c5..9687a2e48757ab577f88c1d0fc9038331cc90b0c 100644 GIT binary patch delta 56 zcmcccMflto;f5B*7N#xC?GG8ZZ0~r;Je5gIl#zjffe(mt84?*X8S;QIm7%2F^a=BJ J(&!;7%~}h7*ZLM8S;UwymsR! M%-fBhut -- 2.45.2 From f559b88b1aaf81dde858e0014443f44c07734b6c Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 10 Jun 2024 19:16:51 +0530 Subject: [PATCH 4/5] Regenerate sushiswap-v2 watcher --- packages/v2-watcher/.husky/pre-commit | 0 packages/v2-watcher/README.md | 2 +- packages/v2-watcher/environments/local.toml | 4 +- packages/v2-watcher/package.json | 10 +-- packages/v2-watcher/src/resolvers.ts | 2 + packages/v3-watcher/environments/local.toml | 4 +- yarn.lock | 94 ++++++++++----------- 7 files changed, 60 insertions(+), 56 deletions(-) mode change 100644 => 100755 packages/v2-watcher/.husky/pre-commit diff --git a/packages/v2-watcher/.husky/pre-commit b/packages/v2-watcher/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/packages/v2-watcher/README.md b/packages/v2-watcher/README.md index b1a3627..0dd5c62 100644 --- a/packages/v2-watcher/README.md +++ b/packages/v2-watcher/README.md @@ -2,7 +2,7 @@ ## Source -* Subgraph: [sushiswap-subgraphs v0.1.1-watcher](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher) +* Subgraph: [sushiswap-subgraphs v0.1.1-watcher-0.1.1](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.1) ## Setup diff --git a/packages/v2-watcher/environments/local.toml b/packages/v2-watcher/environments/local.toml index f24df04..063d75e 100644 --- a/packages/v2-watcher/environments/local.toml +++ b/packages/v2-watcher/environments/local.toml @@ -64,7 +64,6 @@ [upstream] [upstream.ethServer] - # gqlApiEndpoint = "http://127.0.0.1:8082/graphql" rpcProviderEndpoints = [ "http://127.0.0.1:8081" ] @@ -93,6 +92,9 @@ subgraphEventsOrder = true blockDelayInMilliSecs = 2000 + # Number of blocks by which block processing lags behind head + blockProcessingOffset = 16 + # Boolean to switch between modes of processing events when starting the server. # Setting to true will fetch filtered events and required blocks in a range of blocks and then process them. # Setting to false will fetch blocks consecutively with its events and then process them (Behaviour is followed in realtime processing near head). diff --git a/packages/v2-watcher/package.json b/packages/v2-watcher/package.json index e10ef00..fb19efd 100644 --- a/packages/v2-watcher/package.json +++ b/packages/v2-watcher/package.json @@ -39,11 +39,11 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.93", - "@cerc-io/ipld-eth-client": "^0.2.93", - "@cerc-io/solidity-mapper": "^0.2.93", - "@cerc-io/util": "^0.2.93", - "@cerc-io/graph-node": "^0.2.93", + "@cerc-io/cli": "^0.2.97", + "@cerc-io/ipld-eth-client": "^0.2.97", + "@cerc-io/solidity-mapper": "^0.2.97", + "@cerc-io/util": "^0.2.97", + "@cerc-io/graph-node": "^0.2.97", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/v2-watcher/src/resolvers.ts b/packages/v2-watcher/src/resolvers.ts index 9e7ed05..b6ea311 100644 --- a/packages/v2-watcher/src/resolvers.ts +++ b/packages/v2-watcher/src/resolvers.ts @@ -81,6 +81,8 @@ const executeAndRecordMetrics = async ( apiKey: expressContext.req.header('x-api-key'), origin: expressContext.req.headers.origin }); + + throw error; } finally { endTimer(); } diff --git a/packages/v3-watcher/environments/local.toml b/packages/v3-watcher/environments/local.toml index 138f854..7ca0d60 100644 --- a/packages/v3-watcher/environments/local.toml +++ b/packages/v3-watcher/environments/local.toml @@ -70,10 +70,10 @@ ] # Boolean flag to specify if rpc-eth-client should be used for RPC endpoint instead of ipld-eth-client (ipld-eth-server GQL client) - rpcClient = false + rpcClient = true # Boolean flag to specify if rpcProviderEndpoint is an FEVM RPC endpoint - isFEVM = false + isFEVM = true # Boolean flag to filter event logs by contracts filterLogsByAddresses = true diff --git a/yarn.lock b/yarn.lock index 0e00ac0..a04915b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -194,10 +194,10 @@ binaryen "101.0.0-nightly.20210723" long "^4.0.0" -"@cerc-io/cache@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcache/-/0.2.94/cache-0.2.94.tgz#e1557bfc3c85ebe3b83f24c79b55c7324797e7ed" - integrity sha512-9NBMd+19aBs3lgiie0X6TJizcn7yBCfEXXlbvMvac9SgYDPcloU+ghauQephAxayRjaWkrgjjfEWR/I0x6FwqA== +"@cerc-io/cache@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcache/-/0.2.97/cache-0.2.97.tgz#996380c8cf842efd84ca1763720b4a4c97f2dd9f" + integrity sha512-O7qcuNt1+5ufRGFBeuWVALjFpu4oMn5OEqnhTqCLQuJ6FaosFArH7PFAYSyZfjYmE4UQRpAbzfpRj1EdhzU7Pg== dependencies: canonical-json "^0.0.4" debug "^4.3.1" @@ -205,19 +205,19 @@ fs-extra "^10.0.0" level "^7.0.0" -"@cerc-io/cli@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcli/-/0.2.94/cli-0.2.94.tgz#f193165a4b85174c48150051ea4b0e3df57fdf9e" - integrity sha512-aJGzH630bhYca74efVEU37sCjxRLmERDObzNpKIjbmYjKPg6urMbYI8gs33R2HIS/FUOMS39F5B9NMwgCQd/Vw== +"@cerc-io/cli@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcli/-/0.2.97/cli-0.2.97.tgz#6aab38e5db520ea2f600fb6cd9f64566e80d3e81" + integrity sha512-F9o1LTQx5fEHMLL4HShhplHtDGZ565+71NBwiIV1dnfqz8HOxXIRDffGRHKl56EBWWkdxNis2vMIcLz98r9RfA== dependencies: "@apollo/client" "^3.7.1" - "@cerc-io/cache" "^0.2.94" - "@cerc-io/ipld-eth-client" "^0.2.94" + "@cerc-io/cache" "^0.2.97" + "@cerc-io/ipld-eth-client" "^0.2.97" "@cerc-io/libp2p" "^0.42.2-laconic-0.1.4" "@cerc-io/nitro-node" "^0.1.15" - "@cerc-io/peer" "^0.2.94" - "@cerc-io/rpc-eth-client" "^0.2.94" - "@cerc-io/util" "^0.2.94" + "@cerc-io/peer" "^0.2.97" + "@cerc-io/rpc-eth-client" "^0.2.97" + "@cerc-io/util" "^0.2.97" "@ethersproject/providers" "^5.4.4" "@graphql-tools/utils" "^9.1.1" "@ipld/dag-cbor" "^8.0.0" @@ -238,16 +238,16 @@ typeorm "0.2.37" yargs "^17.0.1" -"@cerc-io/graph-node@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fgraph-node/-/0.2.94/graph-node-0.2.94.tgz#e8d346daa9e7733098d039d27e7d575e0f978b20" - integrity sha512-bGqv/5dq2saBcekA/YqDcepvRaZVIMPXt/lDEcP+8lXmavImXO1sdnut7JyMDQCy3DNKXT6IGADPM/olUwnDPQ== +"@cerc-io/graph-node@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fgraph-node/-/0.2.97/graph-node-0.2.97.tgz#31b49709123a513dbb043cbb05d60958973a72c0" + integrity sha512-v7PK2M4f41Z8ESm0QNaP3arGZdpMGO+Z4z3jp3+vISlzPkDdiY/Vmjzv8Sl5kI0LBm3ifziCRPxnBYJeLMj6GA== dependencies: "@apollo/client" "^3.3.19" "@cerc-io/assemblyscript" "0.19.10-watcher-ts-0.1.2" - "@cerc-io/cache" "^0.2.94" - "@cerc-io/ipld-eth-client" "^0.2.94" - "@cerc-io/util" "^0.2.94" + "@cerc-io/cache" "^0.2.97" + "@cerc-io/ipld-eth-client" "^0.2.97" + "@cerc-io/util" "^0.2.97" "@types/json-diff" "^0.5.2" "@types/yargs" "^17.0.0" bn.js "^4.11.9" @@ -264,14 +264,14 @@ typeorm-naming-strategies "^2.0.0" yargs "^17.0.1" -"@cerc-io/ipld-eth-client@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fipld-eth-client/-/0.2.94/ipld-eth-client-0.2.94.tgz#22f79eaf82da60a25d8f89f23cf45581c012d6ff" - integrity sha512-IOOZrryZ3M7ndhk8N9NeRaXvzC8eU2OS0z7fVL0xZ/h3Ei4D+dz8fVJbCvgGRB6mJadrMXYyhahOtEAJYxjNHg== +"@cerc-io/ipld-eth-client@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fipld-eth-client/-/0.2.97/ipld-eth-client-0.2.97.tgz#1ba6a774b6ee944bb6dea9977ad11b35e17a1a3e" + integrity sha512-AuH//S/IPJ1NQ2zfizBLLDHv6HEbpSliTkR+SgexzECtAZwRmbmZ9x+4fdN5EnRMS1W7LJ1FmcyXjarRBCBAiA== dependencies: "@apollo/client" "^3.7.1" - "@cerc-io/cache" "^0.2.94" - "@cerc-io/util" "^0.2.94" + "@cerc-io/cache" "^0.2.97" + "@cerc-io/util" "^0.2.97" cross-fetch "^3.1.4" debug "^4.3.1" ethers "^5.4.4" @@ -424,10 +424,10 @@ unique-names-generator "^4.7.1" yargs "^17.0.1" -"@cerc-io/peer@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fpeer/-/0.2.94/peer-0.2.94.tgz#c8776a9968b32d96fb91ed2a2c6d4b62b365e4a0" - integrity sha512-QQANziPnT08guAD/Nwy/HoqgIIX+w1+GS2bOUE4hfS+LJmTiZ+Zquiqcj69qGQeMQxfiUHmsBPttioF+B9rp/A== +"@cerc-io/peer@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fpeer/-/0.2.97/peer-0.2.97.tgz#6b386a53220bb4b026337eb2ef4246b3eeb947f9" + integrity sha512-ylJslts/q6uGVlHS27GiHKYVpTTTv/4vryexxqDPA45YJRk0vCleqRDPehRQr40kCgBQjG9W92Uwcwr7HcSQxQ== dependencies: "@cerc-io/libp2p" "^0.42.2-laconic-0.1.4" "@cerc-io/prometheus-metrics" "1.1.4" @@ -466,23 +466,23 @@ it-stream-types "^1.0.4" promjs "^0.4.2" -"@cerc-io/rpc-eth-client@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Frpc-eth-client/-/0.2.94/rpc-eth-client-0.2.94.tgz#0c4f679abacf0aed831cbd295d21780f2a3dd17a" - integrity sha512-S3UvHO7Qb4Z43+fArMbrs78CP8l81D5Ootd225MQ2//TGmu9QsIK9+oqdI1CIVAQCbxI7QAStzdz76Y0px2iFA== +"@cerc-io/rpc-eth-client@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Frpc-eth-client/-/0.2.97/rpc-eth-client-0.2.97.tgz#b854a4ac3eaeeb8b67cb79963b32230c1a3f56db" + integrity sha512-b9FbiuKKYWYaDDwfABiqItazNqkXi7YdWFmJ2mLTPGfnUT7OVKFji8LcWAsmubjTQb1mVhyHPz1y+bqAvhyxHA== dependencies: - "@cerc-io/cache" "^0.2.94" - "@cerc-io/ipld-eth-client" "^0.2.94" - "@cerc-io/util" "^0.2.94" + "@cerc-io/cache" "^0.2.97" + "@cerc-io/ipld-eth-client" "^0.2.97" + "@cerc-io/util" "^0.2.97" chai "^4.3.4" ethers "^5.4.4" left-pad "^1.3.0" mocha "^8.4.0" -"@cerc-io/solidity-mapper@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fsolidity-mapper/-/0.2.94/solidity-mapper-0.2.94.tgz#a414653bf20fcbedd91d4a544c6a019c8a02d958" - integrity sha512-kO2xqyAeq2+bbxBcItsT6i8qK1F0BhaYPzV1tTNXgGbkp3j1do86mc6IeTEeV6J/8e9EaeRBsOSQOdGOHUjcDA== +"@cerc-io/solidity-mapper@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fsolidity-mapper/-/0.2.97/solidity-mapper-0.2.97.tgz#a7f666b00ce7a8867746a855d92575b09f1ca5eb" + integrity sha512-hUdqZ20NYa1NpbFs7z2AiInVGxjtAznE31uydRg1A20EN9csKUJ8+FP2C7ilFnB/UdB1qFVecB3QSw9Zc7TlUg== dependencies: dotenv "^10.0.0" @@ -491,15 +491,15 @@ resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fts-channel/-/1.0.3-ts-nitro-0.1.1/ts-channel-1.0.3-ts-nitro-0.1.1.tgz#0768781313a167295c0bf21307f47e02dc17e936" integrity sha512-2jFICUSyffuZ+8+qRhXuLSJq4GJ6Y02wxiXoubH0Kzv2lIKkJtWICY1ZQQhtXAvP0ncAQB85WJHqtqwH8l7J3Q== -"@cerc-io/util@^0.2.94": - version "0.2.94" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Futil/-/0.2.94/util-0.2.94.tgz#5d4c8046cf44641eac39a6f6ee11f2eb8b298c1f" - integrity sha512-4B1RkUKZoRMVVxWK5u+5d3GEmn0IN1FoAbkfCsBXMTH+OGI+VVGg6bRozaluy7pegpwDh1KtiH0A7NFjUup4OQ== +"@cerc-io/util@^0.2.97": + version "0.2.97" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Futil/-/0.2.97/util-0.2.97.tgz#5bc0865cfda68660215d59604cf42fb6c5b74352" + integrity sha512-wtpffWlXyc3+iEgX6bSD4+fWDTVqu9ryiD8mYtb+eTcK7/gA+VsGqzeDBD7tvEa6+cLpW6PqIc8ZpsMS62dASQ== dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" "@cerc-io/nitro-node" "^0.1.15" - "@cerc-io/peer" "^0.2.94" - "@cerc-io/solidity-mapper" "^0.2.94" + "@cerc-io/peer" "^0.2.97" + "@cerc-io/solidity-mapper" "^0.2.97" "@cerc-io/ts-channel" "1.0.3-ts-nitro-0.1.1" "@ethersproject/properties" "^5.7.0" "@ethersproject/providers" "^5.4.4" -- 2.45.2 From 64fad5b9c05a00ded9d3c2ad4c23e887bf698ade Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 11 Jun 2024 14:52:48 +0530 Subject: [PATCH 5/5] Add subgraph source packages to watcher READMEs --- packages/v2-watcher/README.md | 1 + packages/v3-watcher/README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/v2-watcher/README.md b/packages/v2-watcher/README.md index 0dd5c62..053bc27 100644 --- a/packages/v2-watcher/README.md +++ b/packages/v2-watcher/README.md @@ -3,6 +3,7 @@ ## Source * Subgraph: [sushiswap-subgraphs v0.1.1-watcher-0.1.1](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.1) + * Package: [subgraphs/v2](https://github.com/cerc-io/sushiswap-subgraphs/tree/v0.1.1-watcher-0.1.1/subgraphs/v2) ## Setup diff --git a/packages/v3-watcher/README.md b/packages/v3-watcher/README.md index 9f74a88..368aed1 100644 --- a/packages/v3-watcher/README.md +++ b/packages/v3-watcher/README.md @@ -3,6 +3,7 @@ ## Source * Subgraph: [sushiswap-subgraphs v0.1.1-watcher-0.1.0](https://github.com/cerc-io/sushiswap-subgraphs/releases/tag/v0.1.1-watcher-0.1.0) + * Package: [subgraphs/v3](https://github.com/cerc-io/sushiswap-subgraphs/tree/v0.1.1-watcher-0.1.0/subgraphs/v3) ## Setup -- 2.45.2