From e4ef9fcc25a85eeeb23f850777109cdd13524974 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 20 Apr 2022 16:55:02 +0000 Subject: [PATCH 1/4] Update all non-major dependencies --- packages/cli/package.json | 4 +- yarn.lock | 622 +++++++++++++++++++------------------- 2 files changed, 321 insertions(+), 305 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index f341cab2..affe13bb 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,8 +49,8 @@ "access": "public" }, "dependencies": { - "@graphql-mesh/cli": "0.66.2", - "@graphql-mesh/graphql": "0.23.2", + "@graphql-mesh/cli": "0.67.5", + "@graphql-mesh/graphql": "0.23.6", "tslib": "2.3.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 093d08e4..82c1fab7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1254,10 +1254,10 @@ dependencies: "@cspotcode/source-map-consumer" "0.8.0" -"@envelop/core@2.3.0", "@envelop/core@^2.0.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@envelop/core/-/core-2.3.0.tgz#378281eb451cc1f2ac87587ca1a68968bd352a5c" - integrity sha512-5nZ/n6Wx6YbT9RNc+J3I+/e4GJd8TI1mhO7miKGZcxyOO93ztlIrMMxN1kdZ+IQoRVw7aj38cJJw/OCVWAZ/+Q== +"@envelop/core@2.3.1", "@envelop/core@^2.0.0": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@envelop/core/-/core-2.3.1.tgz#77d502db2aa97846573d7c2e87a00bde840c7ebb" + integrity sha512-AnYUci7EGyA8flml881lDvVDl6n/u6GQpVIOTsZVO29d4/rPqSJ2KFguDD3mjDL406doTTLNuDI4ndxfJl6fmQ== dependencies: "@envelop/types" "2.2.0" @@ -1266,10 +1266,10 @@ resolved "https://registry.yarnpkg.com/@envelop/disable-introspection/-/disable-introspection-3.0.0.tgz#beb8a534e7c3dd2c8d141c56ad162bbecef17bd5" integrity sha512-ypYwiEbwSe+uyYp6CEwJ2oDRUk51chvSSlncZmt3gutpJyuNeWygcFOngxtbzCKqkjgEfag3AM2HrCFJxJZ7gw== -"@envelop/live-query@3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@envelop/live-query/-/live-query-3.3.0.tgz#c9ff6ae8753d9ebef34a982586b312566af20c5e" - integrity sha512-C3P5fCCAVZlUrgmAN5yIii0wn81SbOs8XVtFWLiRL1z5ThGTRmAsHZZYq0lgCZYB08UKTuNH293tUcLasNNPyA== +"@envelop/live-query@3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@envelop/live-query/-/live-query-3.3.1.tgz#2918eb40edf18796cfdeafca3283964f40345934" + integrity sha512-hRAFpgZYOqYMEsB8Mjch9/OelPnmxaro+9yHcaOXQdJSgxgcZrcEJLG0yGmJiKfZ/LdHSa8YTaWuRBB4zk+mWw== dependencies: "@graphql-tools/utils" "^8.6.1" "@n1ru4l/graphql-live-query" "^0.9.0" @@ -1436,19 +1436,19 @@ dependencies: tslib "2.3.1" -"@graphql-mesh/cache-inmemory-lru@0.6.9": - version "0.6.9" - resolved "https://registry.yarnpkg.com/@graphql-mesh/cache-inmemory-lru/-/cache-inmemory-lru-0.6.9.tgz#2a49949abc97661ad77622e74865b227e5c2cb2c" - integrity sha512-3pZzFeySAL+MuYHExDdC/CqwWdAfVT5noFQaVJ1Wb3HqCnkuQxjr+t4upXGcVeXf3J0hVHlBTDPONzbnyxMMrQ== +"@graphql-mesh/cache-inmemory-lru@0.6.12": + version "0.6.12" + resolved "https://registry.yarnpkg.com/@graphql-mesh/cache-inmemory-lru/-/cache-inmemory-lru-0.6.12.tgz#54181fef4e7aa2a7cbf6c5e78f50fcf7c1e543da" + integrity sha512-NJyHqlSUQ83LGJ3/7/huuRJZgYF5QeByenBX45fI/3kqq5OxJ5+BVKRPOkbPiaJBaZLFYLRWLd+JOCGp8kA/5Q== dependencies: - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" tslib "^2.3.1" -"@graphql-mesh/cli@0.66.2": - version "0.66.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/cli/-/cli-0.66.2.tgz#9f8b7a567373bea1257190a4d277f6fb659bfbfd" - integrity sha512-p+tlfFJFsBjctyLhIqtjlNNBbbyv/czpCF3NBemdubX8pR0AV+a6EbMklsnWo3nYoT0F0HA7yowfabQioaYamA== +"@graphql-mesh/cli@0.67.5": + version "0.67.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/cli/-/cli-0.67.5.tgz#adee2f3bc11049c1be30a134827124c5ba2de950" + integrity sha512-THTecebT1Irlpx9IjJ020iIyeim+k43O4FZs110EZE67jItL6A1+EYdnJ+yrSlpD1ckWYlpDn1x3uHbUw+bmFw== dependencies: "@graphql-codegen/core" "2.5.1" "@graphql-codegen/typed-document-node" "2.2.8" @@ -1456,19 +1456,18 @@ "@graphql-codegen/typescript-generic-sdk" "2.3.7" "@graphql-codegen/typescript-operations" "2.3.5" "@graphql-codegen/typescript-resolvers" "2.6.1" - "@graphql-mesh/config" "0.33.5" + "@graphql-mesh/config" "0.34.5" "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/runtime" "0.33.9" - "@graphql-mesh/store" "0.7.2" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/code-file-loader" "7.2.10" - "@graphql-tools/graphql-file-loader" "7.3.7" - "@graphql-tools/load" "7.5.6" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" - "@graphql-yoga/node" "2.0.0" - "@graphql-yoga/render-graphiql" "2.0.0" + "@graphql-mesh/runtime" "0.33.14" + "@graphql-mesh/store" "0.7.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/code-file-loader" "7.2.14" + "@graphql-tools/graphql-file-loader" "7.3.11" + "@graphql-tools/load" "7.5.10" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" + "@graphql-yoga/node" "2.3.0" ajv "8.11.0" change-case "4.1.2" cookie-parser "1.4.6" @@ -1478,7 +1477,7 @@ dotenv "16.0.0" express "4.17.3" graphql-import-node "0.0.4" - graphql-ws "5.6.4" + graphql-ws "5.7.0" json-bigint-patch "0.0.8" lodash "4.17.21" mkdirp "1.0.4" @@ -1490,27 +1489,27 @@ tslib "^2.3.1" typescript "4.6.3" ws "8.5.0" - yargs "17.4.0" + yargs "17.4.1" -"@graphql-mesh/config@0.33.5": - version "0.33.5" - resolved "https://registry.yarnpkg.com/@graphql-mesh/config/-/config-0.33.5.tgz#f21a1de8d98029c8c646c731cf655ecedcc6700f" - integrity sha512-yb1QzuEsZmj3KdCo2HGDzMgZ+coqD6rFKC6ahA2u1ZORbiMlus4pK+ehCIu2i2z4KscWMAGJzWtdMFTaRqKu6w== +"@graphql-mesh/config@0.34.5": + version "0.34.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/config/-/config-0.34.5.tgz#e48e372534535b28a812d539969aa661c014dff8" + integrity sha512-jMDf1XgbrEmAlCHrQhhtbpv85qqUwhwo9Z9qECGOvCkBiv64OZbdVcdTPEkmiVVPfFp/WC+/d3SwA14C+586Jg== dependencies: - "@envelop/core" "2.3.0" - "@graphql-mesh/cache-inmemory-lru" "0.6.9" + "@envelop/core" "2.3.1" + "@graphql-mesh/cache-inmemory-lru" "0.6.12" "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/merger-bare" "0.13.32" - "@graphql-mesh/merger-stitching" "0.15.33" - "@graphql-mesh/runtime" "0.33.9" - "@graphql-mesh/store" "0.7.2" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/code-file-loader" "7.2.10" - "@graphql-tools/graphql-file-loader" "7.3.7" - "@graphql-tools/load" "7.5.6" - "@graphql-tools/merge" "8.2.6" - "@graphql-tools/utils" "8.6.5" + "@graphql-mesh/merger-bare" "0.13.35" + "@graphql-mesh/merger-stitching" "0.15.37" + "@graphql-mesh/runtime" "0.33.14" + "@graphql-mesh/store" "0.7.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/code-file-loader" "7.2.14" + "@graphql-tools/graphql-file-loader" "7.3.11" + "@graphql-tools/load" "7.5.10" + "@graphql-tools/merge" "8.2.10" + "@graphql-tools/utils" "8.6.9" camel-case "4.1.2" fetchache "^0.1.1" param-case "3.0.4" @@ -1527,64 +1526,64 @@ react-native-fs "2.19.0" react-native-path "0.0.5" -"@graphql-mesh/graphql@0.23.2": - version "0.23.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/graphql/-/graphql-0.23.2.tgz#6ad0d09e1eb161bd6221bd7bd799310f8a580053" - integrity sha512-iZMjqs4sldr68J1T8+Gscb+kpW3uxhrI6JCveI5mM3ydfBJJiu0UaXieD9oFgy5mDUTQ5VxHzaGNnZQ9tWA+vg== - dependencies: - "@graphql-mesh/store" "0.7.2" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/url-loader" "7.9.8" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" +"@graphql-mesh/graphql@0.23.6": + version "0.23.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/graphql/-/graphql-0.23.6.tgz#7c93d64264005b28bd3c5371cdac154a7c2726b6" + integrity sha512-5e5hXj69xmlgGIUA3zmFB1aP3NxIaDmXVQOdYNjVvty82Nwsi4LkXzfwfecsi34PCSRqWBHTfywgD0opJl2eNw== + dependencies: + "@graphql-mesh/store" "0.7.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/url-loader" "7.9.13" + "@graphql-tools/utils" "8.6.8" + "@graphql-tools/wrap" "8.4.15" tslib "^2.3.1" -"@graphql-mesh/merger-bare@0.13.32": - version "0.13.32" - resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-bare/-/merger-bare-0.13.32.tgz#e28267fde846e6002c1e9ecc738a7f8ec7dda1f0" - integrity sha512-snAstMkp0EhmT6HGbhx+nydo+mjNLcyxLp9cdfYYg1ZxPlevTwKhtNnfVcjecQv+QZ3tfDIdabMcdErak7YARA== +"@graphql-mesh/merger-bare@0.13.35": + version "0.13.35" + resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-bare/-/merger-bare-0.13.35.tgz#0f8520cc1424dca9831a19876f3b1b46164baa56" + integrity sha512-ku/+91/8tfxSGs36/2uRFeOesPTafEITU/795M6QZ3OI+PU9WfvAqlcrUMeX/Db/fRpPpW1Nk7oAssnPr5d5dg== dependencies: - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/schema" "8.3.9" + "@graphql-tools/utils" "8.6.8" + "@graphql-tools/wrap" "8.4.15" fetchache "0.1.1" tslib "^2.3.1" -"@graphql-mesh/merger-stitching@0.15.33": - version "0.15.33" - resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-stitching/-/merger-stitching-0.15.33.tgz#7168ac229bf1b7a8fe95f0dcd32e65b3971ec642" - integrity sha512-qQZb8S2LjvVdkjRr+DLtGDyAht5t/jkPCuOYJYKfyM48RW+cDg2u+tEKhVL//1MTdGclTYZ5S2UFxE+2+R37Nw== - dependencies: - "@graphql-mesh/store" "0.7.2" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/stitch" "8.6.3" - "@graphql-tools/stitching-directives" "2.2.8" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" +"@graphql-mesh/merger-stitching@0.15.37": + version "0.15.37" + resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-stitching/-/merger-stitching-0.15.37.tgz#6267db05cd1185154c472305a6bd59130d3ba87f" + integrity sha512-3hyE199Fv2ga/qnzGOCqkLuYDAWSY+e8koA9aYd1AdyHtqIMkNDWnvjh7/AHkgaPSpFYe16SLP2nHftDUazJww== + dependencies: + "@graphql-mesh/store" "0.7.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/stitch" "8.6.9" + "@graphql-tools/stitching-directives" "2.2.14" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" tslib "^2.3.1" -"@graphql-mesh/runtime@0.33.9": - version "0.33.9" - resolved "https://registry.yarnpkg.com/@graphql-mesh/runtime/-/runtime-0.33.9.tgz#98a955723654c162ad1dca8ed5b229fff844c1ac" - integrity sha512-z1k08oOJ7dL69uowwN49dDzOOSRNJ9MdGR6bqbOVvegiQKTVqfprenMPJflg+rOf4m4irC7yia+p5KBPQKQFcA== - dependencies: - "@envelop/core" "2.3.0" - "@envelop/live-query" "3.3.0" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/batch-delegate" "8.2.10" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/resolvers-composition" "6.4.5" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" +"@graphql-mesh/runtime@0.33.14": + version "0.33.14" + resolved "https://registry.yarnpkg.com/@graphql-mesh/runtime/-/runtime-0.33.14.tgz#087e92de5067fa01a75181896e048bbd0a6fada5" + integrity sha512-ekxELyr7nuRWgkBdeZmZcwgwYJhhmf68Z/9q4MttU5+re5bEvhlj9NjJVQJFeRXfihh0v/Swxc372aRuAPMPcA== + dependencies: + "@envelop/core" "2.3.1" + "@envelop/live-query" "3.3.1" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/batch-delegate" "8.2.16" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/resolvers-composition" "6.4.9" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" "@n1ru4l/graphql-live-query" "0.9.0" "@n1ru4l/in-memory-live-query-store" "0.9.0" graphql-jit "0.7.3" @@ -1599,16 +1598,16 @@ "@graphql-mesh/utils" "0.27.9" "@graphql-tools/utils" "8.6.2" -"@graphql-mesh/store@0.7.2": - version "0.7.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.7.2.tgz#8e5c9d5c29d3935946d0b668d140c59a26d84f08" - integrity sha512-odOlXTdZ7fvigNvhNmM1TkaP8qp6iid6ViEdUzj4ENv3RJpdYbRfeS8CsJMlGi0toXWq6Sqd4melPm/rEQ0Z5A== +"@graphql-mesh/store@0.7.5": + version "0.7.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.7.5.tgz#a9643a64ddedf6f07d5934dd0ed3f07a05824ece" + integrity sha512-TMdvvV8lnBmCeVXSD3h7KWDrzCtNM1d58zLvC/zaK5JOUzTi36XhxrX+xmrCe462/BDz1HxstDzmFjhbOJV8FA== dependencies: "@graphql-inspector/core" "3.1.2" "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/types" "0.70.2" - "@graphql-mesh/utils" "0.33.2" - "@graphql-tools/utils" "8.6.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/utils" "8.6.8" tslib "^2.3.1" "@graphql-mesh/transform-prefix@0.11.12": @@ -1657,14 +1656,14 @@ "@graphql-typed-document-node/core" "3.1.1" fetchache "0.1.1" -"@graphql-mesh/types@0.70.2": - version "0.70.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.70.2.tgz#5a790a8c522fd58e0eaa9e7915880f518bd9a781" - integrity sha512-uSneSPGwR1XsDQVhpoVwoXl6QDFdgDJLjRudd5clhgykitC1jxwzx42IcNOSuF210Ce8ibDc9/zET0NQjHeeTQ== +"@graphql-mesh/types@0.70.5": + version "0.70.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.70.5.tgz#f4a6b1849027d1f5a7933edf14501dd739194179" + integrity sha512-PVimGsrX3CaXTkateo/4KV6v2rH94my0bcAzwuC2qpuLPAah+F17/V2LxA/jAUEZ9k+lT0jpTy4v7zhnlXul2Q== dependencies: - "@graphql-mesh/store" "0.7.2" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/utils" "8.6.5" + "@graphql-mesh/store" "0.7.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" "@graphql-typed-document-node/core" "3.1.1" fetchache "0.1.1" tslib "^2.3.1" @@ -1699,19 +1698,19 @@ object-hash "3.0.0" tiny-lru "8.0.1" -"@graphql-mesh/utils@0.33.2": - version "0.33.2" - resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.33.2.tgz#ace29ffcbc8be982a1840efa44bf54b81d72193f" - integrity sha512-BWq2/7RzIqkm03kpqP5+EWreHIwNRK3e0Q0kw8M7PgGll9moBcSA2IOyHVds+y+NXYrhGoZlb2ufXpN/D74Mgw== +"@graphql-mesh/utils@0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.33.5.tgz#ce3fa28392142b466421acb2e3ee5ff42d946ee5" + integrity sha512-kT4RPewuQkqXy7eKCAYo1wTjAEwqLAUVJCUMLdi9oPuzuOofdMOOvu+BDHjaKVDVuPnZDD4tJlHhf5XRwjTYnA== dependencies: "@ardatan/string-interpolation" "1.2.12" "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/types" "0.70.2" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/utils" "8.6.5" + "@graphql-mesh/types" "0.70.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" "@graphql-typed-document-node/core" "3.1.1" chalk "4.1.2" - cross-undici-fetch "0.1.28" + cross-undici-fetch "0.2.5" date-fns "2.28.0" fetchache "0.1.1" file-uri-to-path "2.0.0" @@ -1725,33 +1724,43 @@ tiny-lru "8.0.2" tslib "^2.3.1" -"@graphql-tools/batch-delegate@8.2.10": - version "8.2.10" - resolved "https://registry.yarnpkg.com/@graphql-tools/batch-delegate/-/batch-delegate-8.2.10.tgz#0c49c07d69a1b73938acb8bf3e01bdc0f2a9a508" - integrity sha512-a9CgTyvr+RQjYjo6QNTlc8tDkk2MgyrPSbXCPvsjKuGKACmI7kbWYGOiAgiMgbxt20xC3y++hryiLp7JABptPg== +"@graphql-tools/batch-delegate@8.2.16": + version "8.2.16" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-delegate/-/batch-delegate-8.2.16.tgz#e22c1665bf5154375942cde857b7821958bd2e29" + integrity sha512-QKZcjvymSmxtJABveTVv2K4jBU1cNX3T20IfKK67WzrDtDiAE60dEDUXZqFSUhSeT0xAtagbIItmAl7rJ9Iqdg== dependencies: - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/utils" "8.6.5" - dataloader "2.0.0" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/utils" "8.6.9" + dataloader "2.1.0" tslib "~2.3.0" -"@graphql-tools/batch-execute@8.4.1", "@graphql-tools/batch-execute@^8.3.2": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.4.1.tgz#bc5e96ad22c545676da523bae3c3dc94e57bdf3e" - integrity sha512-63+lNWrwXmofjZVa7ML+n9CBviClF3K+RP3Xx3hxGQ8BrhvB1pWS1yzaUZqrkiiKdTu1v3mJGVfmooHwzlyPwQ== +"@graphql-tools/batch-execute@8.4.5": + version "8.4.5" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.4.5.tgz#9ecf6eafb682c03f1a18cac72bce4e485c8b7842" + integrity sha512-wx2bK3EZ5XSF/jXCQyx/IAucHxCbcQpNNE3wlIxrymZkGSVnwdz0xBfefsn17smImNXGaXgQ+pE7gPDCKmeGrw== dependencies: - "@graphql-tools/utils" "8.6.5" - dataloader "2.0.0" + "@graphql-tools/utils" "8.6.8" + dataloader "2.1.0" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/batch-execute@8.4.6", "@graphql-tools/batch-execute@^8.3.2": + version "8.4.6" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.4.6.tgz#6033cbf0b7d30c901ae4a1a7de7501aedf5a6a10" + integrity sha512-8O42fReZMssrA4HCkpK68RlRQz/QAvLfOkz+/6dDX2X7VgZtRx3VvFiJd2hFaGdNbLzklBWXF9E6hJdJGkEO5g== + dependencies: + "@graphql-tools/utils" "8.6.9" + dataloader "2.1.0" tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/code-file-loader@7.2.10": - version "7.2.10" - resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-7.2.10.tgz#cdae206399061b198652964213b32309e5980af1" - integrity sha512-41QkLztHhoDXBp2EtbKwQNQHv4HEDzpEmbOD0y3OVOXf8TBVUnFUMlnGn77a6f4zVi3rHWxHgJJ79iyJ0MYQ5w== +"@graphql-tools/code-file-loader@7.2.14": + version "7.2.14" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-7.2.14.tgz#b43ce0c682040b3969f1f785b18fc33c79341084" + integrity sha512-ajNET8XO2e3SgIXXAskc/Dv/M/+Z35TgXopf3axt1e9TboG/KkQxIE0Mi84XqCYDMtF5UqmIWqQ2gVdwFPfjiw== dependencies: - "@graphql-tools/graphql-tag-pluck" "7.2.2" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/graphql-tag-pluck" "7.2.6" + "@graphql-tools/utils" "8.6.9" globby "^11.0.3" tslib "~2.3.0" unixify "^1.0.0" @@ -1769,66 +1778,87 @@ tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/delegate@8.7.1", "@graphql-tools/delegate@^8.5.1": - version "8.7.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.1.tgz#f30b9d035a76dc7a8e9292f31bb073fb4d6d9d83" - integrity sha512-e98/NRaOH5wQy624bRd5i5qUKz5tCs8u4xBmxW89d7t6V6CveXj7pvAgmnR9DbwOkO6IA3P799p/aa/YG/pWTA== +"@graphql-tools/delegate@8.7.6": + version "8.7.6" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.6.tgz#48d5e7b7c0e17fb5270e34dc4710c5f7598782b5" + integrity sha512-x/dJzgocSANk4Tw6kaASn2aSTJpYvQoLsOSH2fVgnjiaDJkidwctbb5rpbEs6n+WjNB2gW/ldyHTdEbNREJjsw== dependencies: - "@graphql-tools/batch-execute" "8.4.1" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" - dataloader "2.0.0" - graphql-executor "0.0.22" + "@graphql-tools/batch-execute" "8.4.5" + "@graphql-tools/schema" "8.3.9" + "@graphql-tools/utils" "8.6.8" + dataloader "2.1.0" + graphql-executor "0.0.23" tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/graphql-file-loader@7.3.7": - version "7.3.7" - resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-file-loader/-/graphql-file-loader-7.3.7.tgz#f5cb05b0e3cd462d74eae47c5b9c08ed6b989837" - integrity sha512-fwXLycYvabPhusGtYuFrOPbjeIvLWr6viGkQc9KmiBm2Z2kZrlNRNUlYkXXRzMoiqRkzqFJYhOgWDE7LsOnbjw== +"@graphql-tools/delegate@8.7.7", "@graphql-tools/delegate@^8.5.1": + version "8.7.7" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.7.tgz#8626e5734eff1643f99b10202bb324c8a4a8c210" + integrity sha512-Yb9UHG+Upm0M+5FgtWipXM0/Q8Vuuh1Ieod7hFDmAwHGHbmwG0YpcS/NMdxrQAZYWnli9EdnSPgDAFnWLFN+ZQ== dependencies: - "@graphql-tools/import" "6.6.9" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/batch-execute" "8.4.6" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" + dataloader "2.1.0" + graphql-executor "0.0.23" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/graphql-file-loader@7.3.11": + version "7.3.11" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-file-loader/-/graphql-file-loader-7.3.11.tgz#3acc3fffdba5e1d47750ea693577c2388e6cf22b" + integrity sha512-3RMTfBN0VYSJH+5he9DxW8nGSn5p2+dNN2O2H88QSSwGorkONmKBdmf+9+JTzrEDvPObOzBjIuSD8wCnXlNaQA== + dependencies: + "@graphql-tools/import" "6.6.13" + "@graphql-tools/utils" "8.6.9" globby "^11.0.3" tslib "~2.3.0" unixify "^1.0.0" -"@graphql-tools/graphql-tag-pluck@7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.2.2.tgz#449bb0516a2aceb9c0251c321c8cde46c7b42b7d" - integrity sha512-5gYk6Cj35eU6N9+2WtV4tsCcJACVPK2F3+xci2WgoPrDZXYQshx6tyuIQIFszyhxWNa1KViwCZyxVy6U1UnqzA== +"@graphql-tools/graphql-tag-pluck@7.2.6": + version "7.2.6" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.2.6.tgz#0bddc23b354c2912e17b15209ad1e7117f9fa4da" + integrity sha512-TWF+0MTdWIfETYt2Pm1+jg608aIavgGkjJuN3f2Z4iWhPNvupHkHexAzV4GNkrQa0yXzIl6bQF8uNRjz4v31SA== dependencies: "@babel/parser" "^7.16.8" "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/utils" "8.6.9" tslib "~2.3.0" -"@graphql-tools/import@6.6.9": - version "6.6.9" - resolved "https://registry.yarnpkg.com/@graphql-tools/import/-/import-6.6.9.tgz#53e1517074c756b5191d23d4f1528246913d44ba" - integrity sha512-sKaLqvPmNLQlY4te+nnBhRrf5WBISoiyVkbriCLz0kHw805iHdJaU2KxUoHsRTR7WlYq0g9gzB0oVaRh99Q5aA== +"@graphql-tools/import@6.6.13": + version "6.6.13" + resolved "https://registry.yarnpkg.com/@graphql-tools/import/-/import-6.6.13.tgz#5561204a16ce3d1308aa96fb5e54cd1e550c748c" + integrity sha512-yqdCem+ZZFVAaIC2IxWyAXSEHLNPIuMzm4avTQe/LbYNRFRTpzyIYo3clc22ixeuh2LqSL3tLXKq2IsggCAeQw== dependencies: - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/utils" "8.6.9" resolve-from "5.0.0" tslib "~2.3.0" -"@graphql-tools/load@7.5.6": - version "7.5.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-7.5.6.tgz#d0ee8149ba4cbc799dbeae30e4843144773f8296" - integrity sha512-IocEP4METGdbDzV44VaeiXO387NOYSW4cTuBP8qybHZX0XlIp8bEv7c8GKS3m8DeRop/9SnOL7HyiAfNMA4Chg== +"@graphql-tools/load@7.5.10": + version "7.5.10" + resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-7.5.10.tgz#6e53dd62ec081b3a2966ab9d93e8b991f06501b3" + integrity sha512-I9b9Md1DdB7Du//+x8CtBAKUW21jyuENCPssvlBjHZjvmx5cIGrTftqwGzuDBgR0Zm72tkmat/FTu6/SQPiyeQ== dependencies: - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" p-limit "3.1.0" tslib "~2.3.0" -"@graphql-tools/merge@8.2.6": - version "8.2.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.2.6.tgz#7fb615fa9c143c3151ff025e501d52bd48186d19" - integrity sha512-dkwTm4czMISi/Io47IVvq2Fl9q4TIGKpJ0VZjuXYdEFkECyH6A5uwxZfPVandZG+gQs8ocFFoa6RisiUJLZrJw== +"@graphql-tools/merge@8.2.10": + version "8.2.10" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.2.10.tgz#fe2fe5ad33dc2d1b0af8751c0c08d18bb6bb6d88" + integrity sha512-wpg22seOTNfkIO8jFAgo8w1BsT3IS2OTMpkCNf+dvcKSP09SVidYCOliyWHgjDCmpCrvvSjOX855NUKDx/Biew== + dependencies: + "@graphql-tools/utils" "8.6.9" + tslib "~2.3.0" + +"@graphql-tools/merge@8.2.9": + version "8.2.9" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.2.9.tgz#f4bb6ca58d0d89dbfa4fded6a1457bb359de1450" + integrity sha512-mHRrqMc1NTL6MALBQK1DmAzSxJIKoaCaW7ZCk5bRGzVj/MNQz3OsqlDb/+t9/ONT0V+WI/uxBFsrLMwa4p6L7A== dependencies: - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/utils" "8.6.8" tslib "~2.3.0" "@graphql-tools/optimize@^1.0.1": @@ -1847,40 +1877,59 @@ relay-compiler "12.0.0" tslib "~2.3.0" -"@graphql-tools/resolvers-composition@6.4.5": - version "6.4.5" - resolved "https://registry.yarnpkg.com/@graphql-tools/resolvers-composition/-/resolvers-composition-6.4.5.tgz#81c5d0cfbfaab39305869606f6b968af7d46e998" - integrity sha512-RNA0KF5LKUUo/k9Kxvuk0v8F9SRblXGMT7O+lq69GVP0broTw0cAk55La9LKDgna5SJjIdXR2IVCTTZPBO3oxg== +"@graphql-tools/resolvers-composition@6.4.9": + version "6.4.9" + resolved "https://registry.yarnpkg.com/@graphql-tools/resolvers-composition/-/resolvers-composition-6.4.9.tgz#de6cbf24fb81a3be104000f939c580f2a7f5dddb" + integrity sha512-tmxE8j8SMdXdV1iESpW1sKduo8WJ6xGb/v5Razkzv1PRNWmK3Q5Xxb/NSsrIm5oaj5ubiGSRZ7tDwxvAuBhsdw== dependencies: - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/utils" "8.6.9" lodash "4.17.21" micromatch "^4.0.4" tslib "~2.3.0" -"@graphql-tools/schema@8.3.6", "@graphql-tools/schema@^8.1.2", "@graphql-tools/schema@^8.3.1", "@graphql-tools/schema@^8.3.2": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.3.6.tgz#80cfe3eba53eb6390a60a30078d7efbdaa5cc0b7" - integrity sha512-7tWYRQ8hB/rv2zAtv2LtnQl4UybyJPtRz/VLKRmgi7+F5t8iYBahmmsxMDAYMWMmWMqEDiKk54TvAes+J069rQ== +"@graphql-tools/schema@8.3.10", "@graphql-tools/schema@^8.1.2", "@graphql-tools/schema@^8.3.1", "@graphql-tools/schema@^8.3.2": + version "8.3.10" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.3.10.tgz#c3e373e6ad854f533fc7e55859dd8f9e81de30dd" + integrity sha512-tfhjSTi3OzheDrVzG7rkPZg2BbQjmZRLM2vvQoM2b1TnUwgUIbpAgcnf+AWDLRsoCOWlezeLgij1BLeAR0Q0jg== + dependencies: + "@graphql-tools/merge" "8.2.10" + "@graphql-tools/utils" "8.6.9" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/schema@8.3.9": + version "8.3.9" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.3.9.tgz#2b83464a0ef083c92d7076da0fa5939f2f5a1e34" + integrity sha512-9YFCzn0sYAGTWhZrVYY/neK5cie3s0dNm7Qq38tkhOh2ME5BtHW/8ZIq+UrLGKsBYwa+Qjb/UojGWUm2yG/z6Q== dependencies: - "@graphql-tools/merge" "8.2.6" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/merge" "8.2.9" + "@graphql-tools/utils" "8.6.8" tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/stitch@8.6.3": - version "8.6.3" - resolved "https://registry.yarnpkg.com/@graphql-tools/stitch/-/stitch-8.6.3.tgz#c355ce06a4b62a08ae57650179028149e20e568b" - integrity sha512-qa0zoBPcxqD2BKGjzZVkH5XTzhKa07ZV4YU2C306NZqBCOUoA4xvMHwcmaR4TgNzppAa87ol2V2USNfJ/QPqLg== - dependencies: - "@graphql-tools/batch-delegate" "8.2.10" - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/merge" "8.2.6" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" +"@graphql-tools/stitch@8.6.9": + version "8.6.9" + resolved "https://registry.yarnpkg.com/@graphql-tools/stitch/-/stitch-8.6.9.tgz#095595969856ce4530c8c2d0b10d8c31ca0bbb62" + integrity sha512-lhi1c4fGX1u7QlXPfqh16okcU3yAtj3ou4cIIAAOlTPIwMLMd2ZVG0pjQDs3Nn5kEwsnm4fopi5zHwdrxCbozw== + dependencies: + "@graphql-tools/batch-delegate" "8.2.16" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/merge" "8.2.10" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" tslib "~2.3.0" value-or-promise "^1.0.11" +"@graphql-tools/stitching-directives@2.2.14": + version "2.2.14" + resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.2.14.tgz#4b341f0f09c1b0e9f0d414fc6da3be8684407a3e" + integrity sha512-zJqspepXcsKBxuBB8JEffYJJn7Ez43EmfrUU4vLsyzcaYf+KWpAOyOPOwEzpgfjGMRE+vVgKennfinHIEzZErQ== + dependencies: + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/utils" "8.6.9" + tslib "~2.3.0" + "@graphql-tools/stitching-directives@2.2.2": version "2.2.2" resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.2.2.tgz#e02630d3b8d6eb8e200e0387f65493286faca4b5" @@ -1890,34 +1939,23 @@ "@graphql-tools/utils" "^8.6.2" tslib "~2.3.0" -"@graphql-tools/stitching-directives@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.2.8.tgz#6ff7a7cf08feb5be27cdcc062ecfe7f8cb5eba3d" - integrity sha512-x2iPaF4GaCEou0+DT+pdydBvJoAS4GakwjhQwKQQ4D2HtOH4U9j96ghtUyO6iGRFHgi+V9rJsa2q9ngpktoUfQ== +"@graphql-tools/url-loader@7.9.13": + version "7.9.13" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.9.13.tgz#936e7f6023b1de3dcffb870b42227619f86975a1" + integrity sha512-AeLCLhUyXt2Owt624v0/xjGBvBrYJLWhdNm5LJLcWrMxRoEq16B+E5/JOq3aXruDAaq3VmINjnRMM1As+FphSg== dependencies: - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/utils" "8.6.5" - tslib "~2.3.0" - -"@graphql-tools/url-loader@7.9.8": - version "7.9.8" - resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.9.8.tgz#8e50ca05fb670bf91b98abdcb5d8d9cb116003f3" - integrity sha512-nRMXwwoIDLt7ohBWvKKjEEH61YS1nnWs6BVgGStePfmRGrhxECpLWmfAmKLNXPqDJN7Nu6ykFJYjt65j5l6qsw== - dependencies: - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/utils" "8.6.5" - "@graphql-tools/wrap" "8.4.10" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" + "@graphql-tools/wrap" "8.4.15" + "@graphql-yoga/node" "2.3.0" "@n1ru4l/graphql-live-query" "^0.9.0" - "@types/websocket" "^1.0.4" "@types/ws" "^8.0.0" - cross-undici-fetch "^0.1.19" + cross-undici-fetch "^0.2.4" dset "^3.1.0" extract-files "^11.0.0" - graphql-sse "^1.0.1" graphql-ws "^5.4.1" isomorphic-ws "^4.0.1" meros "^1.1.4" - subscriptions-transport-ws "^0.11.0" sync-fetch "^0.3.1" tslib "^2.3.0" value-or-promise "^1.0.11" @@ -1930,21 +1968,39 @@ dependencies: tslib "~2.3.0" -"@graphql-tools/utils@8.6.5", "@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.3.0", "@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2", "@graphql-tools/utils@^8.6.0", "@graphql-tools/utils@^8.6.1", "@graphql-tools/utils@^8.6.2": - version "8.6.5" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.5.tgz#ac04571b03f854c7a938b2ab700516a6c6d32335" - integrity sha512-mjOtaWiS2WIqRz/cq5gaeM3sVrllcu2xbtHROw1su1v3xWa3D3dKgn8Lrl7+tvWs5WUVySsBss/VZ3WdoPkCrA== +"@graphql-tools/utils@8.6.8": + version "8.6.8" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.8.tgz#a0824ed5810f66c504df4e97c5900786ac0c260e" + integrity sha512-EdUUeKi/wp/UvuknyINpQ/uXDqTM3qxPPPDIq5RpfW0zQOeCvbZcx8xHoMox0TYKvKtg3zoB7aprUtoW+iZLxw== + dependencies: + tslib "~2.3.0" + +"@graphql-tools/utils@8.6.9", "@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.3.0", "@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2", "@graphql-tools/utils@^8.6.0", "@graphql-tools/utils@^8.6.1", "@graphql-tools/utils@^8.6.2": + version "8.6.9" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.9.tgz#fe1b81df29c9418b41b7a1ffe731710b93d3a1fe" + integrity sha512-Z1X4d4GCT81+8CSt6SgU4t1w1UAUsAIRb67mI90k/zAs+ArkB95iE3bWXuJCUmd1+r8DGGtmUNOArtd6wkt+OQ== dependencies: tslib "~2.3.0" -"@graphql-tools/wrap@8.4.10": - version "8.4.10" - resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.4.10.tgz#010be7d4bafa5d79cd1917c65d09f2682bcb9d54" - integrity sha512-1/pcKRDTGIUspUl6uhlfQ0u1l4j15TVGkOkijI+gX25Q9sfAJclT0bovKBksP39G6v4hZnolpOU2txJ47MxxEg== +"@graphql-tools/wrap@8.4.15": + version "8.4.15" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.4.15.tgz#dd39fe245f0570013c75852961cebf2331277ee9" + integrity sha512-O3a3IP2yDWqR+B+WtAodiLx166ylGWLuM86upQfZGyJgjhIGqVAEqKIZbE/FyvHUpSiuVpcKwDgwtfCV/s1qNQ== + dependencies: + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/schema" "8.3.9" + "@graphql-tools/utils" "8.6.8" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/wrap@8.4.16": + version "8.4.16" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.4.16.tgz#87dce9ec623a921e5a62f44e75abc9655892724b" + integrity sha512-b3yz7uN0en44sBEv/fAEQIqdiCEM/gQJSaLyA7Z2hWJwM0gQ5kiq0XMwKvyUAIY8NGig7IywC7bbup5Jc2F35Q== dependencies: - "@graphql-tools/delegate" "8.7.1" - "@graphql-tools/schema" "8.3.6" - "@graphql-tools/utils" "8.6.5" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" tslib "~2.3.0" value-or-promise "1.0.11" @@ -1964,10 +2020,10 @@ resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.1.1.tgz#076d78ce99822258cf813ecc1e7fa460fa74d052" integrity sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg== -"@graphql-yoga/common@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@graphql-yoga/common/-/common-2.0.0.tgz#b36563021b81bbe0a2b686ff82290a9ad792c997" - integrity sha512-nSENt7yANcnAIHdjTWOeTz4feXnGkgiShUU9MzukFbETWL7pwaK6fjgghUCDVuL2axm155Z3lAhG4sLA4MgvlQ== +"@graphql-yoga/common@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@graphql-yoga/common/-/common-2.3.0.tgz#29fa754d42bf01337facc1bca803ccf8a0186013" + integrity sha512-EPKK97953c8E1FiaLHMMGqLKtoAN5H9qHr0AiAzMlruJHn0JcbMf2qFTUXklCsuk6UEwNtxeHX42zim11O/E1g== dependencies: "@envelop/core" "^2.0.0" "@envelop/disable-introspection" "^3.0.0" @@ -1976,30 +2032,23 @@ "@graphql-tools/schema" "^8.3.1" "@graphql-tools/utils" "^8.6.0" "@graphql-typed-document-node/core" "^3.1.1" - "@graphql-yoga/render-graphiql" "2.0.0" "@graphql-yoga/subscription" "2.0.0" - chalk "4.1.2" - cross-undici-fetch "^0.1.25" + cross-undici-fetch "^0.2.5" dset "^3.1.1" tslib "^2.3.1" -"@graphql-yoga/node@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@graphql-yoga/node/-/node-2.0.0.tgz#c643ceec04feb991c096df89ade8ddd14125fed2" - integrity sha512-fjKHT8UR1DcOgvUfrnVhM7Ggj5vnxVUwlUbkY7NZC8vZiXfVbA9UfLYUYl+hXFmOCDK+S19kszLp7rw0s0LdWg== +"@graphql-yoga/node@2.3.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@graphql-yoga/node/-/node-2.3.0.tgz#e22f29f179707a07a720507b7af3c44ad65499b5" + integrity sha512-uofEmKIDYthJuCcdhbgU0VW5i2cCqZVKIiEW/xbwvCOBJt439k46D+M6youiQYJ1miaA/m0btbuZ1sAo/TLjdQ== dependencies: "@envelop/core" "^2.0.0" "@graphql-tools/utils" "^8.6.0" - "@graphql-yoga/common" "2.0.0" + "@graphql-yoga/common" "2.3.0" "@graphql-yoga/subscription" "2.0.0" - cross-undici-fetch "^0.1.25" + cross-undici-fetch "^0.2.5" tslib "^2.3.1" -"@graphql-yoga/render-graphiql@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@graphql-yoga/render-graphiql/-/render-graphiql-2.0.0.tgz#662df90bd4af0a996be6d9a743fabed6b0497e9d" - integrity sha512-GZuZPCVBpYI0MwaE6nBtrzMoSFyBtiWOUm7i9jbRxu5Sqxuj3Zc0zTaD7V0UQzuPZKzytmMWq2+nbWPIu5FWtg== - "@graphql-yoga/subscription@2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@graphql-yoga/subscription/-/subscription-2.0.0.tgz#8c6d3d78b2938a554efced7fd6c80cfaa80f7b8f" @@ -2617,13 +2666,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/websocket@^1.0.4": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.5.tgz#3fb80ed8e07f88e51961211cd3682a3a4a81569c" - integrity sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ== - dependencies: - "@types/node" "*" - "@types/ws@^8.0.0": version "8.5.0" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.0.tgz#805ceb3f68eaebbed1a3004a66f16e35b7f3bf14" @@ -3144,11 +3186,6 @@ babel-preset-jest@^27.5.1: babel-plugin-jest-hoist "^27.5.1" babel-preset-current-node-syntax "^1.0.0" -backo2@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" - integrity sha1-MasayLEpNjRj41s+u2n038+6eUc= - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -3810,10 +3847,10 @@ cross-undici-fetch@0.1.25: undici "^4.9.3" web-streams-polyfill "^3.2.0" -cross-undici-fetch@0.1.28, cross-undici-fetch@^0.1.19, cross-undici-fetch@^0.1.25: - version "0.1.28" - resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.1.28.tgz#40b7071b9ab2d1d6aff889836205e1972092e8d1" - integrity sha512-/nLMyVE5IC9PQdBtmgjpGZfK0wo8UupomAPx+7HlbEgVDkZOa9xCiZP9goo5aLYofP0gHXgovjXdXrE2obANag== +cross-undici-fetch@0.2.5, cross-undici-fetch@^0.2.4, cross-undici-fetch@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.2.5.tgz#0dd5bb3809a2fc4524fc777f1e6eb052203a6b68" + integrity sha512-6IR+JN6o2UMNj2f3fu0ZVkZeP0h22DRKzq78SiMenkqyBYyGIT1AkZjHkItvh0A80LdsAlWENHUpvapapePucw== dependencies: abort-controller "^3.0.0" form-data-encoder "^1.7.1" @@ -3893,6 +3930,11 @@ dataloader@2.0.0: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.0.0.tgz#41eaf123db115987e21ca93c005cd7753c55fe6f" integrity sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ== +dataloader@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.1.0.tgz#c69c538235e85e7ac6c6c444bae8ecabf5de9df7" + integrity sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ== + date-fns@2.28.0, date-fns@^2.16.1: version "2.28.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" @@ -4589,11 +4631,6 @@ event-target-shim@^5.0.0: resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -eventemitter3@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" - integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== - execa@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" @@ -5134,10 +5171,10 @@ graphql-executor@0.0.18: resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.18.tgz#6aa4b39e1ca773e159c2a602621e90606df0109a" integrity sha512-upUSl7tfZCZ5dWG1XkOvpG70Yk3duZKcCoi/uJso4WxJVT6KIrcK4nZ4+2X/hzx46pL8wAukgYHY6iNmocRN+g== -graphql-executor@0.0.22: - version "0.0.22" - resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.22.tgz#14bc466bb27ab38346998e0b375cba55685eed94" - integrity sha512-WbKSnSHFn6REKKH4T6UAwDM3mLUnYMQlQLNG0Fw+Lkb3ilCnL3m5lkJ7411LAI9sF7BvPbthovVZhsEUh9Xfag== +graphql-executor@0.0.23: + version "0.0.23" + resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.23.tgz#205c1764b39ee0fcf611553865770f37b45851a2" + integrity sha512-3Ivlyfjaw3BWmGtUSnMpP/a4dcXCp0mJtj0PiPG14OKUizaMKlSEX+LX2Qed0LrxwniIwvU6B4w/koVjEPyWJg== graphql-import-node@0.0.4: version "0.0.4" @@ -5164,11 +5201,6 @@ graphql-scalars@1.15.0: dependencies: tslib "~2.3.0" -graphql-sse@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/graphql-sse/-/graphql-sse-1.0.6.tgz#4f98e0a06f2020542ed054399116108491263224" - integrity sha512-y2mVBN2KwNrzxX2KBncQ6kzc6JWvecxuBernrl0j65hsr6MAS3+Yn8PTFSOgRmtolxugepxveyZVQEuaNEbw3w== - graphql-subscriptions@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-2.0.0.tgz#11ec181d475852d8aec879183e8e1eb94f2eb79a" @@ -5183,10 +5215,10 @@ graphql-tag@^2.11.0, graphql-tag@^2.12.3: dependencies: tslib "^2.1.0" -graphql-ws@5.6.4, graphql-ws@^5.4.1: - version "5.6.4" - resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.6.4.tgz#ef00bcb4d1a6bbd96c1b30ca1d8096cd837ac9c9" - integrity sha512-5r8tAzznI1zeh7k12+3z07KkgXPckQbnC9h4kJ2TBDWG2wb26TJTbVHQOiAncDBgPbtXtc1A2BlttiRuPH2t/w== +graphql-ws@5.7.0, graphql-ws@^5.4.1: + version "5.7.0" + resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.7.0.tgz#4b9d7a0ee9555804582f27f5d7695d10aafdbdc8" + integrity sha512-8yYuvnyqIjlJ/WfebOyu2GSOQeFauRxnfuTveY9yvrDGs2g3kR9Nv4gu40AKvRHbXlSJwTbMJ6dVxAtEyKwVRA== graphql@16.3.0, graphql@^16.1.0: version "16.3.0" @@ -5772,7 +5804,7 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -iterall@^1.2.1, iterall@^1.3.0: +iterall@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== @@ -8366,17 +8398,6 @@ styled-jsx@5.0.0: resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.0.0.tgz#816b4b92e07b1786c6b7111821750e0ba4d26e77" integrity sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA== -subscriptions-transport-ws@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.11.0.tgz#baf88f050cba51d52afe781de5e81b3c31f89883" - integrity sha512-8D4C6DIH5tGiAIpp5I0wD/xRlNiZAPGHygzCe7VzyzUoxHtawzjNAY9SUTXU05/EY2NMY9/9GF0ycizkXr1CWQ== - dependencies: - backo2 "^1.0.2" - eventemitter3 "^3.1.0" - iterall "^1.2.1" - symbol-observable "^1.0.4" - ws "^5.2.0 || ^6.0.0 || ^7.0.0" - sucrase@^3.20.3: version "3.20.3" resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.20.3.tgz#424f1e75b77f955724b06060f1ae708f5f0935cf" @@ -8430,11 +8451,6 @@ swap-case@^2.0.2: dependencies: tslib "^2.0.3" -symbol-observable@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - symbol-observable@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-4.0.0.tgz#5b425f192279e87f2f9b937ac8540d1984b39205" @@ -9215,7 +9231,7 @@ ws@8.5.0, ws@^8.3.0: resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg== -"ws@^5.2.0 || ^6.0.0 || ^7.0.0", ws@^7.4.6: +ws@^7.4.6: version "7.5.7" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.7.tgz#9e0ac77ee50af70d58326ecff7e85eb3fa375e67" integrity sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A== @@ -9320,10 +9336,10 @@ yargs@15.3.1, yargs@^15.1.0, yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.1" -yargs@17.4.0: - version "17.4.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.4.0.tgz#9fc9efc96bd3aa2c1240446af28499f0e7593d00" - integrity sha512-WJudfrk81yWFSOkZYpAZx4Nt7V4xp7S/uJkX0CnxovMCt1wCE8LNftPpNuF9X/u9gN5nsD7ycYtRcDf2pL3UiA== +yargs@17.4.1: + version "17.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.4.1.tgz#ebe23284207bb75cee7c408c33e722bfb27b5284" + integrity sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g== dependencies: cliui "^7.0.2" escalade "^3.1.1" From 486850ace6da613b7315c4bc5106275cd2a595bf Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 21 Apr 2022 17:42:56 +0300 Subject: [PATCH 2/4] Fix TS --- examples/transforms/.graphclient/index.ts | 6401 +++++++++++++++++ .../transforms/.graphclient/schema.graphql | 2988 ++++++++ .../sources/uniswap/schema.graphql | 2851 ++++++++ packages/cli/src/index.ts | 1 + 4 files changed, 12241 insertions(+) create mode 100644 examples/transforms/.graphclient/index.ts create mode 100644 examples/transforms/.graphclient/schema.graphql create mode 100644 examples/transforms/.graphclient/sources/uniswap/schema.graphql diff --git a/examples/transforms/.graphclient/index.ts b/examples/transforms/.graphclient/index.ts new file mode 100644 index 00000000..b549ea50 --- /dev/null +++ b/examples/transforms/.graphclient/index.ts @@ -0,0 +1,6401 @@ +// @ts-nocheck +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql' + +export type Maybe = T | null +export type InputMaybe = Maybe +export type Exact = { [K in keyof T]: T[K] } +export type MakeOptional = Omit & { [SubKey in K]?: Maybe } +export type MakeMaybe = Omit & { [SubKey in K]: Maybe } +export type RequireFields = Omit & { [P in K]-?: NonNullable } +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string + String: string + Boolean: boolean + Int: number + Float: number + BigDecimal: any + BigInt: any + Bytes: any +} + +export type BlockChangedFilter = { + number_gte: Scalars['Int'] +} + +export type Block_height = { + hash?: InputMaybe + number?: InputMaybe + number_gte?: InputMaybe +} + +export type Bundle = { + id: Scalars['ID'] + ethPrice: Scalars['BigDecimal'] +} + +export type Bundle_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + ethPrice?: InputMaybe + ethPrice_not?: InputMaybe + ethPrice_gt?: InputMaybe + ethPrice_lt?: InputMaybe + ethPrice_gte?: InputMaybe + ethPrice_lte?: InputMaybe + ethPrice_in?: InputMaybe> + ethPrice_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Bundle_orderBy = 'id' | 'ethPrice' + +export type Burn = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + liquidity: Scalars['BigDecimal'] + sender?: Maybe + amount0?: Maybe + amount1?: Maybe + to?: Maybe + logIndex?: Maybe + amountUSD?: Maybe + needsComplete: Scalars['Boolean'] + feeTo?: Maybe + feeLiquidity?: Maybe +} + +export type Burn_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + liquidity?: InputMaybe + liquidity_not?: InputMaybe + liquidity_gt?: InputMaybe + liquidity_lt?: InputMaybe + liquidity_gte?: InputMaybe + liquidity_lte?: InputMaybe + liquidity_in?: InputMaybe> + liquidity_not_in?: InputMaybe> + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0?: InputMaybe + amount0_not?: InputMaybe + amount0_gt?: InputMaybe + amount0_lt?: InputMaybe + amount0_gte?: InputMaybe + amount0_lte?: InputMaybe + amount0_in?: InputMaybe> + amount0_not_in?: InputMaybe> + amount1?: InputMaybe + amount1_not?: InputMaybe + amount1_gt?: InputMaybe + amount1_lt?: InputMaybe + amount1_gte?: InputMaybe + amount1_lte?: InputMaybe + amount1_in?: InputMaybe> + amount1_not_in?: InputMaybe> + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + needsComplete?: InputMaybe + needsComplete_not?: InputMaybe + needsComplete_in?: InputMaybe> + needsComplete_not_in?: InputMaybe> + feeTo?: InputMaybe + feeTo_not?: InputMaybe + feeTo_in?: InputMaybe> + feeTo_not_in?: InputMaybe> + feeTo_contains?: InputMaybe + feeTo_not_contains?: InputMaybe + feeLiquidity?: InputMaybe + feeLiquidity_not?: InputMaybe + feeLiquidity_gt?: InputMaybe + feeLiquidity_lt?: InputMaybe + feeLiquidity_gte?: InputMaybe + feeLiquidity_lte?: InputMaybe + feeLiquidity_in?: InputMaybe> + feeLiquidity_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Burn_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'liquidity' + | 'sender' + | 'amount0' + | 'amount1' + | 'to' + | 'logIndex' + | 'amountUSD' + | 'needsComplete' + | 'feeTo' + | 'feeLiquidity' + +export type LiquidityPosition = { + id: Scalars['ID'] + user: User + pair: Pair + liquidityTokenBalance: Scalars['BigDecimal'] +} + +export type LiquidityPositionSnapshot = { + id: Scalars['ID'] + liquidityPosition: LiquidityPosition + timestamp: Scalars['Int'] + block: Scalars['Int'] + user: User + pair: Pair + token0PriceUSD: Scalars['BigDecimal'] + token1PriceUSD: Scalars['BigDecimal'] + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + liquidityTokenTotalSupply: Scalars['BigDecimal'] + liquidityTokenBalance: Scalars['BigDecimal'] +} + +export type LiquidityPositionSnapshot_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + liquidityPosition?: InputMaybe + liquidityPosition_not?: InputMaybe + liquidityPosition_gt?: InputMaybe + liquidityPosition_lt?: InputMaybe + liquidityPosition_gte?: InputMaybe + liquidityPosition_lte?: InputMaybe + liquidityPosition_in?: InputMaybe> + liquidityPosition_not_in?: InputMaybe> + liquidityPosition_contains?: InputMaybe + liquidityPosition_contains_nocase?: InputMaybe + liquidityPosition_not_contains?: InputMaybe + liquidityPosition_not_contains_nocase?: InputMaybe + liquidityPosition_starts_with?: InputMaybe + liquidityPosition_starts_with_nocase?: InputMaybe + liquidityPosition_not_starts_with?: InputMaybe + liquidityPosition_not_starts_with_nocase?: InputMaybe + liquidityPosition_ends_with?: InputMaybe + liquidityPosition_ends_with_nocase?: InputMaybe + liquidityPosition_not_ends_with?: InputMaybe + liquidityPosition_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + block?: InputMaybe + block_not?: InputMaybe + block_gt?: InputMaybe + block_lt?: InputMaybe + block_gte?: InputMaybe + block_lte?: InputMaybe + block_in?: InputMaybe> + block_not_in?: InputMaybe> + user?: InputMaybe + user_not?: InputMaybe + user_gt?: InputMaybe + user_lt?: InputMaybe + user_gte?: InputMaybe + user_lte?: InputMaybe + user_in?: InputMaybe> + user_not_in?: InputMaybe> + user_contains?: InputMaybe + user_contains_nocase?: InputMaybe + user_not_contains?: InputMaybe + user_not_contains_nocase?: InputMaybe + user_starts_with?: InputMaybe + user_starts_with_nocase?: InputMaybe + user_not_starts_with?: InputMaybe + user_not_starts_with_nocase?: InputMaybe + user_ends_with?: InputMaybe + user_ends_with_nocase?: InputMaybe + user_not_ends_with?: InputMaybe + user_not_ends_with_nocase?: InputMaybe + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + token0PriceUSD?: InputMaybe + token0PriceUSD_not?: InputMaybe + token0PriceUSD_gt?: InputMaybe + token0PriceUSD_lt?: InputMaybe + token0PriceUSD_gte?: InputMaybe + token0PriceUSD_lte?: InputMaybe + token0PriceUSD_in?: InputMaybe> + token0PriceUSD_not_in?: InputMaybe> + token1PriceUSD?: InputMaybe + token1PriceUSD_not?: InputMaybe + token1PriceUSD_gt?: InputMaybe + token1PriceUSD_lt?: InputMaybe + token1PriceUSD_gte?: InputMaybe + token1PriceUSD_lte?: InputMaybe + token1PriceUSD_in?: InputMaybe> + token1PriceUSD_not_in?: InputMaybe> + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + liquidityTokenTotalSupply?: InputMaybe + liquidityTokenTotalSupply_not?: InputMaybe + liquidityTokenTotalSupply_gt?: InputMaybe + liquidityTokenTotalSupply_lt?: InputMaybe + liquidityTokenTotalSupply_gte?: InputMaybe + liquidityTokenTotalSupply_lte?: InputMaybe + liquidityTokenTotalSupply_in?: InputMaybe> + liquidityTokenTotalSupply_not_in?: InputMaybe> + liquidityTokenBalance?: InputMaybe + liquidityTokenBalance_not?: InputMaybe + liquidityTokenBalance_gt?: InputMaybe + liquidityTokenBalance_lt?: InputMaybe + liquidityTokenBalance_gte?: InputMaybe + liquidityTokenBalance_lte?: InputMaybe + liquidityTokenBalance_in?: InputMaybe> + liquidityTokenBalance_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type LiquidityPositionSnapshot_orderBy = + | 'id' + | 'liquidityPosition' + | 'timestamp' + | 'block' + | 'user' + | 'pair' + | 'token0PriceUSD' + | 'token1PriceUSD' + | 'reserve0' + | 'reserve1' + | 'reserveUSD' + | 'liquidityTokenTotalSupply' + | 'liquidityTokenBalance' + +export type LiquidityPosition_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + user?: InputMaybe + user_not?: InputMaybe + user_gt?: InputMaybe + user_lt?: InputMaybe + user_gte?: InputMaybe + user_lte?: InputMaybe + user_in?: InputMaybe> + user_not_in?: InputMaybe> + user_contains?: InputMaybe + user_contains_nocase?: InputMaybe + user_not_contains?: InputMaybe + user_not_contains_nocase?: InputMaybe + user_starts_with?: InputMaybe + user_starts_with_nocase?: InputMaybe + user_not_starts_with?: InputMaybe + user_not_starts_with_nocase?: InputMaybe + user_ends_with?: InputMaybe + user_ends_with_nocase?: InputMaybe + user_not_ends_with?: InputMaybe + user_not_ends_with_nocase?: InputMaybe + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + liquidityTokenBalance?: InputMaybe + liquidityTokenBalance_not?: InputMaybe + liquidityTokenBalance_gt?: InputMaybe + liquidityTokenBalance_lt?: InputMaybe + liquidityTokenBalance_gte?: InputMaybe + liquidityTokenBalance_lte?: InputMaybe + liquidityTokenBalance_in?: InputMaybe> + liquidityTokenBalance_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type LiquidityPosition_orderBy = 'id' | 'user' | 'pair' | 'liquidityTokenBalance' + +export type Mint = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + to: Scalars['Bytes'] + liquidity: Scalars['BigDecimal'] + sender?: Maybe + amount0?: Maybe + amount1?: Maybe + logIndex?: Maybe + amountUSD?: Maybe + feeTo?: Maybe + feeLiquidity?: Maybe +} + +export type Mint_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + liquidity?: InputMaybe + liquidity_not?: InputMaybe + liquidity_gt?: InputMaybe + liquidity_lt?: InputMaybe + liquidity_gte?: InputMaybe + liquidity_lte?: InputMaybe + liquidity_in?: InputMaybe> + liquidity_not_in?: InputMaybe> + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0?: InputMaybe + amount0_not?: InputMaybe + amount0_gt?: InputMaybe + amount0_lt?: InputMaybe + amount0_gte?: InputMaybe + amount0_lte?: InputMaybe + amount0_in?: InputMaybe> + amount0_not_in?: InputMaybe> + amount1?: InputMaybe + amount1_not?: InputMaybe + amount1_gt?: InputMaybe + amount1_lt?: InputMaybe + amount1_gte?: InputMaybe + amount1_lte?: InputMaybe + amount1_in?: InputMaybe> + amount1_not_in?: InputMaybe> + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + feeTo?: InputMaybe + feeTo_not?: InputMaybe + feeTo_in?: InputMaybe> + feeTo_not_in?: InputMaybe> + feeTo_contains?: InputMaybe + feeTo_not_contains?: InputMaybe + feeLiquidity?: InputMaybe + feeLiquidity_not?: InputMaybe + feeLiquidity_gt?: InputMaybe + feeLiquidity_lt?: InputMaybe + feeLiquidity_gte?: InputMaybe + feeLiquidity_lte?: InputMaybe + feeLiquidity_in?: InputMaybe> + feeLiquidity_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Mint_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'to' + | 'liquidity' + | 'sender' + | 'amount0' + | 'amount1' + | 'logIndex' + | 'amountUSD' + | 'feeTo' + | 'feeLiquidity' + +/** Defines the order direction, either ascending or descending */ +export type OrderDirection = 'asc' | 'desc' + +export type Pair = { + id: Scalars['ID'] + token0: Token + token1: Token + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + totalSupply: Scalars['BigDecimal'] + reserveETH: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + trackedReserveETH: Scalars['BigDecimal'] + token0Price: Scalars['BigDecimal'] + token1Price: Scalars['BigDecimal'] + volumeToken0: Scalars['BigDecimal'] + volumeToken1: Scalars['BigDecimal'] + volumeUSD: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + createdAtTimestamp: Scalars['BigInt'] + createdAtBlockNumber: Scalars['BigInt'] + liquidityProviderCount: Scalars['BigInt'] +} + +export type PairDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + pairAddress: Scalars['Bytes'] + token0: Token + token1: Token + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + totalSupply: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + dailyVolumeToken0: Scalars['BigDecimal'] + dailyVolumeToken1: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyTxns: Scalars['BigInt'] +} + +export type PairDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + pairAddress?: InputMaybe + pairAddress_not?: InputMaybe + pairAddress_in?: InputMaybe> + pairAddress_not_in?: InputMaybe> + pairAddress_contains?: InputMaybe + pairAddress_not_contains?: InputMaybe + token0?: InputMaybe + token0_not?: InputMaybe + token0_gt?: InputMaybe + token0_lt?: InputMaybe + token0_gte?: InputMaybe + token0_lte?: InputMaybe + token0_in?: InputMaybe> + token0_not_in?: InputMaybe> + token0_contains?: InputMaybe + token0_contains_nocase?: InputMaybe + token0_not_contains?: InputMaybe + token0_not_contains_nocase?: InputMaybe + token0_starts_with?: InputMaybe + token0_starts_with_nocase?: InputMaybe + token0_not_starts_with?: InputMaybe + token0_not_starts_with_nocase?: InputMaybe + token0_ends_with?: InputMaybe + token0_ends_with_nocase?: InputMaybe + token0_not_ends_with?: InputMaybe + token0_not_ends_with_nocase?: InputMaybe + token1?: InputMaybe + token1_not?: InputMaybe + token1_gt?: InputMaybe + token1_lt?: InputMaybe + token1_gte?: InputMaybe + token1_lte?: InputMaybe + token1_in?: InputMaybe> + token1_not_in?: InputMaybe> + token1_contains?: InputMaybe + token1_contains_nocase?: InputMaybe + token1_not_contains?: InputMaybe + token1_not_contains_nocase?: InputMaybe + token1_starts_with?: InputMaybe + token1_starts_with_nocase?: InputMaybe + token1_not_starts_with?: InputMaybe + token1_not_starts_with_nocase?: InputMaybe + token1_ends_with?: InputMaybe + token1_ends_with_nocase?: InputMaybe + token1_not_ends_with?: InputMaybe + token1_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + dailyVolumeToken0?: InputMaybe + dailyVolumeToken0_not?: InputMaybe + dailyVolumeToken0_gt?: InputMaybe + dailyVolumeToken0_lt?: InputMaybe + dailyVolumeToken0_gte?: InputMaybe + dailyVolumeToken0_lte?: InputMaybe + dailyVolumeToken0_in?: InputMaybe> + dailyVolumeToken0_not_in?: InputMaybe> + dailyVolumeToken1?: InputMaybe + dailyVolumeToken1_not?: InputMaybe + dailyVolumeToken1_gt?: InputMaybe + dailyVolumeToken1_lt?: InputMaybe + dailyVolumeToken1_gte?: InputMaybe + dailyVolumeToken1_lte?: InputMaybe + dailyVolumeToken1_in?: InputMaybe> + dailyVolumeToken1_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyTxns?: InputMaybe + dailyTxns_not?: InputMaybe + dailyTxns_gt?: InputMaybe + dailyTxns_lt?: InputMaybe + dailyTxns_gte?: InputMaybe + dailyTxns_lte?: InputMaybe + dailyTxns_in?: InputMaybe> + dailyTxns_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type PairDayData_orderBy = + | 'id' + | 'date' + | 'pairAddress' + | 'token0' + | 'token1' + | 'reserve0' + | 'reserve1' + | 'totalSupply' + | 'reserveUSD' + | 'dailyVolumeToken0' + | 'dailyVolumeToken1' + | 'dailyVolumeUSD' + | 'dailyTxns' + +export type PairHourData = { + id: Scalars['ID'] + hourStartUnix: Scalars['Int'] + pair: Pair + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + hourlyVolumeToken0: Scalars['BigDecimal'] + hourlyVolumeToken1: Scalars['BigDecimal'] + hourlyVolumeUSD: Scalars['BigDecimal'] + hourlyTxns: Scalars['BigInt'] +} + +export type PairHourData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + hourStartUnix?: InputMaybe + hourStartUnix_not?: InputMaybe + hourStartUnix_gt?: InputMaybe + hourStartUnix_lt?: InputMaybe + hourStartUnix_gte?: InputMaybe + hourStartUnix_lte?: InputMaybe + hourStartUnix_in?: InputMaybe> + hourStartUnix_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + hourlyVolumeToken0?: InputMaybe + hourlyVolumeToken0_not?: InputMaybe + hourlyVolumeToken0_gt?: InputMaybe + hourlyVolumeToken0_lt?: InputMaybe + hourlyVolumeToken0_gte?: InputMaybe + hourlyVolumeToken0_lte?: InputMaybe + hourlyVolumeToken0_in?: InputMaybe> + hourlyVolumeToken0_not_in?: InputMaybe> + hourlyVolumeToken1?: InputMaybe + hourlyVolumeToken1_not?: InputMaybe + hourlyVolumeToken1_gt?: InputMaybe + hourlyVolumeToken1_lt?: InputMaybe + hourlyVolumeToken1_gte?: InputMaybe + hourlyVolumeToken1_lte?: InputMaybe + hourlyVolumeToken1_in?: InputMaybe> + hourlyVolumeToken1_not_in?: InputMaybe> + hourlyVolumeUSD?: InputMaybe + hourlyVolumeUSD_not?: InputMaybe + hourlyVolumeUSD_gt?: InputMaybe + hourlyVolumeUSD_lt?: InputMaybe + hourlyVolumeUSD_gte?: InputMaybe + hourlyVolumeUSD_lte?: InputMaybe + hourlyVolumeUSD_in?: InputMaybe> + hourlyVolumeUSD_not_in?: InputMaybe> + hourlyTxns?: InputMaybe + hourlyTxns_not?: InputMaybe + hourlyTxns_gt?: InputMaybe + hourlyTxns_lt?: InputMaybe + hourlyTxns_gte?: InputMaybe + hourlyTxns_lte?: InputMaybe + hourlyTxns_in?: InputMaybe> + hourlyTxns_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type PairHourData_orderBy = + | 'id' + | 'hourStartUnix' + | 'pair' + | 'reserve0' + | 'reserve1' + | 'reserveUSD' + | 'hourlyVolumeToken0' + | 'hourlyVolumeToken1' + | 'hourlyVolumeUSD' + | 'hourlyTxns' + +export type Pair_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + token0?: InputMaybe + token0_not?: InputMaybe + token0_gt?: InputMaybe + token0_lt?: InputMaybe + token0_gte?: InputMaybe + token0_lte?: InputMaybe + token0_in?: InputMaybe> + token0_not_in?: InputMaybe> + token0_contains?: InputMaybe + token0_contains_nocase?: InputMaybe + token0_not_contains?: InputMaybe + token0_not_contains_nocase?: InputMaybe + token0_starts_with?: InputMaybe + token0_starts_with_nocase?: InputMaybe + token0_not_starts_with?: InputMaybe + token0_not_starts_with_nocase?: InputMaybe + token0_ends_with?: InputMaybe + token0_ends_with_nocase?: InputMaybe + token0_not_ends_with?: InputMaybe + token0_not_ends_with_nocase?: InputMaybe + token1?: InputMaybe + token1_not?: InputMaybe + token1_gt?: InputMaybe + token1_lt?: InputMaybe + token1_gte?: InputMaybe + token1_lte?: InputMaybe + token1_in?: InputMaybe> + token1_not_in?: InputMaybe> + token1_contains?: InputMaybe + token1_contains_nocase?: InputMaybe + token1_not_contains?: InputMaybe + token1_not_contains_nocase?: InputMaybe + token1_starts_with?: InputMaybe + token1_starts_with_nocase?: InputMaybe + token1_not_starts_with?: InputMaybe + token1_not_starts_with_nocase?: InputMaybe + token1_ends_with?: InputMaybe + token1_ends_with_nocase?: InputMaybe + token1_not_ends_with?: InputMaybe + token1_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + reserveETH?: InputMaybe + reserveETH_not?: InputMaybe + reserveETH_gt?: InputMaybe + reserveETH_lt?: InputMaybe + reserveETH_gte?: InputMaybe + reserveETH_lte?: InputMaybe + reserveETH_in?: InputMaybe> + reserveETH_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + trackedReserveETH?: InputMaybe + trackedReserveETH_not?: InputMaybe + trackedReserveETH_gt?: InputMaybe + trackedReserveETH_lt?: InputMaybe + trackedReserveETH_gte?: InputMaybe + trackedReserveETH_lte?: InputMaybe + trackedReserveETH_in?: InputMaybe> + trackedReserveETH_not_in?: InputMaybe> + token0Price?: InputMaybe + token0Price_not?: InputMaybe + token0Price_gt?: InputMaybe + token0Price_lt?: InputMaybe + token0Price_gte?: InputMaybe + token0Price_lte?: InputMaybe + token0Price_in?: InputMaybe> + token0Price_not_in?: InputMaybe> + token1Price?: InputMaybe + token1Price_not?: InputMaybe + token1Price_gt?: InputMaybe + token1Price_lt?: InputMaybe + token1Price_gte?: InputMaybe + token1Price_lte?: InputMaybe + token1Price_in?: InputMaybe> + token1Price_not_in?: InputMaybe> + volumeToken0?: InputMaybe + volumeToken0_not?: InputMaybe + volumeToken0_gt?: InputMaybe + volumeToken0_lt?: InputMaybe + volumeToken0_gte?: InputMaybe + volumeToken0_lte?: InputMaybe + volumeToken0_in?: InputMaybe> + volumeToken0_not_in?: InputMaybe> + volumeToken1?: InputMaybe + volumeToken1_not?: InputMaybe + volumeToken1_gt?: InputMaybe + volumeToken1_lt?: InputMaybe + volumeToken1_gte?: InputMaybe + volumeToken1_lte?: InputMaybe + volumeToken1_in?: InputMaybe> + volumeToken1_not_in?: InputMaybe> + volumeUSD?: InputMaybe + volumeUSD_not?: InputMaybe + volumeUSD_gt?: InputMaybe + volumeUSD_lt?: InputMaybe + volumeUSD_gte?: InputMaybe + volumeUSD_lte?: InputMaybe + volumeUSD_in?: InputMaybe> + volumeUSD_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + createdAtTimestamp?: InputMaybe + createdAtTimestamp_not?: InputMaybe + createdAtTimestamp_gt?: InputMaybe + createdAtTimestamp_lt?: InputMaybe + createdAtTimestamp_gte?: InputMaybe + createdAtTimestamp_lte?: InputMaybe + createdAtTimestamp_in?: InputMaybe> + createdAtTimestamp_not_in?: InputMaybe> + createdAtBlockNumber?: InputMaybe + createdAtBlockNumber_not?: InputMaybe + createdAtBlockNumber_gt?: InputMaybe + createdAtBlockNumber_lt?: InputMaybe + createdAtBlockNumber_gte?: InputMaybe + createdAtBlockNumber_lte?: InputMaybe + createdAtBlockNumber_in?: InputMaybe> + createdAtBlockNumber_not_in?: InputMaybe> + liquidityProviderCount?: InputMaybe + liquidityProviderCount_not?: InputMaybe + liquidityProviderCount_gt?: InputMaybe + liquidityProviderCount_lt?: InputMaybe + liquidityProviderCount_gte?: InputMaybe + liquidityProviderCount_lte?: InputMaybe + liquidityProviderCount_in?: InputMaybe> + liquidityProviderCount_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Pair_orderBy = + | 'id' + | 'token0' + | 'token1' + | 'reserve0' + | 'reserve1' + | 'totalSupply' + | 'reserveETH' + | 'reserveUSD' + | 'trackedReserveETH' + | 'token0Price' + | 'token1Price' + | 'volumeToken0' + | 'volumeToken1' + | 'volumeUSD' + | 'untrackedVolumeUSD' + | 'txCount' + | 'createdAtTimestamp' + | 'createdAtBlockNumber' + | 'liquidityProviderCount' + +export type Query = { + uniswapFactory?: Maybe + uniswapFactories: Array + token?: Maybe + tokens: Array + pair?: Maybe + pairs: Array + user?: Maybe + users: Array + liquidityPosition?: Maybe + liquidityPositions: Array + liquidityPositionSnapshot?: Maybe + liquidityPositionSnapshots: Array + transaction?: Maybe + transactions: Array + mint?: Maybe + mints: Array + burn?: Maybe + burns: Array + swap?: Maybe + swaps: Array + bundle?: Maybe + bundles: Array + uniswapDayData?: Maybe + uniswapDayDatas: Array + pairHourData?: Maybe + pairHourDatas: Array + pairDayData?: Maybe + pairDayDatas: Array + tokenDayData?: Maybe + tokenDayDatas: Array + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_> +} + +export type QueryuniswapFactoryArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryuniswapFactoriesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytokenArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryuserArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryusersArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryliquidityPositionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryliquidityPositionSnapshotArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryliquidityPositionSnapshotsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytransactionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytransactionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerymintArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerymintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryburnArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryswapArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerybundleArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerybundlesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryuniswapDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QueryuniswapDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairHourDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairHourDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerypairDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytokenDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type QuerytokenDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type Query_metaArgs = { + block?: InputMaybe +} + +export type Subscription = { + uniswapFactory?: Maybe + uniswapFactories: Array + token?: Maybe + tokens: Array + pair?: Maybe + pairs: Array + user?: Maybe + users: Array + liquidityPosition?: Maybe + liquidityPositions: Array + liquidityPositionSnapshot?: Maybe + liquidityPositionSnapshots: Array + transaction?: Maybe + transactions: Array + mint?: Maybe + mints: Array + burn?: Maybe + burns: Array + swap?: Maybe + swaps: Array + bundle?: Maybe + bundles: Array + uniswapDayData?: Maybe + uniswapDayDatas: Array + pairHourData?: Maybe + pairHourDatas: Array + pairDayData?: Maybe + pairDayDatas: Array + tokenDayData?: Maybe + tokenDayDatas: Array + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_> +} + +export type SubscriptionuniswapFactoryArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionuniswapFactoriesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontokenArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionuserArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionusersArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionliquidityPositionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionliquidityPositionSnapshotArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionliquidityPositionSnapshotsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontransactionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontransactionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionmintArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionmintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionburnArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionswapArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionbundleArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionbundlesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionuniswapDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionuniswapDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairHourDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairHourDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptionpairDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontokenDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type SubscriptiontokenDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ +} + +export type Subscription_metaArgs = { + block?: InputMaybe +} + +export type Swap = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + sender: Scalars['Bytes'] + amount0In: Scalars['BigDecimal'] + amount1In: Scalars['BigDecimal'] + amount0Out: Scalars['BigDecimal'] + amount1Out: Scalars['BigDecimal'] + to: Scalars['Bytes'] + logIndex?: Maybe + amountUSD: Scalars['BigDecimal'] +} + +export type Swap_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0In?: InputMaybe + amount0In_not?: InputMaybe + amount0In_gt?: InputMaybe + amount0In_lt?: InputMaybe + amount0In_gte?: InputMaybe + amount0In_lte?: InputMaybe + amount0In_in?: InputMaybe> + amount0In_not_in?: InputMaybe> + amount1In?: InputMaybe + amount1In_not?: InputMaybe + amount1In_gt?: InputMaybe + amount1In_lt?: InputMaybe + amount1In_gte?: InputMaybe + amount1In_lte?: InputMaybe + amount1In_in?: InputMaybe> + amount1In_not_in?: InputMaybe> + amount0Out?: InputMaybe + amount0Out_not?: InputMaybe + amount0Out_gt?: InputMaybe + amount0Out_lt?: InputMaybe + amount0Out_gte?: InputMaybe + amount0Out_lte?: InputMaybe + amount0Out_in?: InputMaybe> + amount0Out_not_in?: InputMaybe> + amount1Out?: InputMaybe + amount1Out_not?: InputMaybe + amount1Out_gt?: InputMaybe + amount1Out_lt?: InputMaybe + amount1Out_gte?: InputMaybe + amount1Out_lte?: InputMaybe + amount1Out_in?: InputMaybe> + amount1Out_not_in?: InputMaybe> + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Swap_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'sender' + | 'amount0In' + | 'amount1In' + | 'amount0Out' + | 'amount1Out' + | 'to' + | 'logIndex' + | 'amountUSD' + +export type Token = { + id: Scalars['ID'] + symbol: Scalars['String'] + name: Scalars['String'] + decimals: Scalars['BigInt'] + totalSupply: Scalars['BigInt'] + tradeVolume: Scalars['BigDecimal'] + tradeVolumeUSD: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + totalLiquidity: Scalars['BigDecimal'] + derivedETH?: Maybe + mostLiquidPairs: Array> +} + +export type TokenmostLiquidPairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type TokenDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + token: Token + dailyVolumeToken: Scalars['BigDecimal'] + dailyVolumeETH: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyTxns: Scalars['BigInt'] + totalLiquidityToken: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + priceUSD: Scalars['BigDecimal'] + maxStored: Scalars['Int'] + mostLiquidPairs: Array +} + +export type TokenDayDatamostLiquidPairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type TokenDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + token?: InputMaybe + token_not?: InputMaybe + token_gt?: InputMaybe + token_lt?: InputMaybe + token_gte?: InputMaybe + token_lte?: InputMaybe + token_in?: InputMaybe> + token_not_in?: InputMaybe> + token_contains?: InputMaybe + token_contains_nocase?: InputMaybe + token_not_contains?: InputMaybe + token_not_contains_nocase?: InputMaybe + token_starts_with?: InputMaybe + token_starts_with_nocase?: InputMaybe + token_not_starts_with?: InputMaybe + token_not_starts_with_nocase?: InputMaybe + token_ends_with?: InputMaybe + token_ends_with_nocase?: InputMaybe + token_not_ends_with?: InputMaybe + token_not_ends_with_nocase?: InputMaybe + dailyVolumeToken?: InputMaybe + dailyVolumeToken_not?: InputMaybe + dailyVolumeToken_gt?: InputMaybe + dailyVolumeToken_lt?: InputMaybe + dailyVolumeToken_gte?: InputMaybe + dailyVolumeToken_lte?: InputMaybe + dailyVolumeToken_in?: InputMaybe> + dailyVolumeToken_not_in?: InputMaybe> + dailyVolumeETH?: InputMaybe + dailyVolumeETH_not?: InputMaybe + dailyVolumeETH_gt?: InputMaybe + dailyVolumeETH_lt?: InputMaybe + dailyVolumeETH_gte?: InputMaybe + dailyVolumeETH_lte?: InputMaybe + dailyVolumeETH_in?: InputMaybe> + dailyVolumeETH_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyTxns?: InputMaybe + dailyTxns_not?: InputMaybe + dailyTxns_gt?: InputMaybe + dailyTxns_lt?: InputMaybe + dailyTxns_gte?: InputMaybe + dailyTxns_lte?: InputMaybe + dailyTxns_in?: InputMaybe> + dailyTxns_not_in?: InputMaybe> + totalLiquidityToken?: InputMaybe + totalLiquidityToken_not?: InputMaybe + totalLiquidityToken_gt?: InputMaybe + totalLiquidityToken_lt?: InputMaybe + totalLiquidityToken_gte?: InputMaybe + totalLiquidityToken_lte?: InputMaybe + totalLiquidityToken_in?: InputMaybe> + totalLiquidityToken_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + priceUSD?: InputMaybe + priceUSD_not?: InputMaybe + priceUSD_gt?: InputMaybe + priceUSD_lt?: InputMaybe + priceUSD_gte?: InputMaybe + priceUSD_lte?: InputMaybe + priceUSD_in?: InputMaybe> + priceUSD_not_in?: InputMaybe> + maxStored?: InputMaybe + maxStored_not?: InputMaybe + maxStored_gt?: InputMaybe + maxStored_lt?: InputMaybe + maxStored_gte?: InputMaybe + maxStored_lte?: InputMaybe + maxStored_in?: InputMaybe> + maxStored_not_in?: InputMaybe> + mostLiquidPairs?: InputMaybe> + mostLiquidPairs_not?: InputMaybe> + mostLiquidPairs_contains?: InputMaybe> + mostLiquidPairs_contains_nocase?: InputMaybe> + mostLiquidPairs_not_contains?: InputMaybe> + mostLiquidPairs_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type TokenDayData_orderBy = + | 'id' + | 'date' + | 'token' + | 'dailyVolumeToken' + | 'dailyVolumeETH' + | 'dailyVolumeUSD' + | 'dailyTxns' + | 'totalLiquidityToken' + | 'totalLiquidityETH' + | 'totalLiquidityUSD' + | 'priceUSD' + | 'maxStored' + | 'mostLiquidPairs' + +export type Token_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + symbol?: InputMaybe + symbol_not?: InputMaybe + symbol_gt?: InputMaybe + symbol_lt?: InputMaybe + symbol_gte?: InputMaybe + symbol_lte?: InputMaybe + symbol_in?: InputMaybe> + symbol_not_in?: InputMaybe> + symbol_contains?: InputMaybe + symbol_contains_nocase?: InputMaybe + symbol_not_contains?: InputMaybe + symbol_not_contains_nocase?: InputMaybe + symbol_starts_with?: InputMaybe + symbol_starts_with_nocase?: InputMaybe + symbol_not_starts_with?: InputMaybe + symbol_not_starts_with_nocase?: InputMaybe + symbol_ends_with?: InputMaybe + symbol_ends_with_nocase?: InputMaybe + symbol_not_ends_with?: InputMaybe + symbol_not_ends_with_nocase?: InputMaybe + name?: InputMaybe + name_not?: InputMaybe + name_gt?: InputMaybe + name_lt?: InputMaybe + name_gte?: InputMaybe + name_lte?: InputMaybe + name_in?: InputMaybe> + name_not_in?: InputMaybe> + name_contains?: InputMaybe + name_contains_nocase?: InputMaybe + name_not_contains?: InputMaybe + name_not_contains_nocase?: InputMaybe + name_starts_with?: InputMaybe + name_starts_with_nocase?: InputMaybe + name_not_starts_with?: InputMaybe + name_not_starts_with_nocase?: InputMaybe + name_ends_with?: InputMaybe + name_ends_with_nocase?: InputMaybe + name_not_ends_with?: InputMaybe + name_not_ends_with_nocase?: InputMaybe + decimals?: InputMaybe + decimals_not?: InputMaybe + decimals_gt?: InputMaybe + decimals_lt?: InputMaybe + decimals_gte?: InputMaybe + decimals_lte?: InputMaybe + decimals_in?: InputMaybe> + decimals_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + tradeVolume?: InputMaybe + tradeVolume_not?: InputMaybe + tradeVolume_gt?: InputMaybe + tradeVolume_lt?: InputMaybe + tradeVolume_gte?: InputMaybe + tradeVolume_lte?: InputMaybe + tradeVolume_in?: InputMaybe> + tradeVolume_not_in?: InputMaybe> + tradeVolumeUSD?: InputMaybe + tradeVolumeUSD_not?: InputMaybe + tradeVolumeUSD_gt?: InputMaybe + tradeVolumeUSD_lt?: InputMaybe + tradeVolumeUSD_gte?: InputMaybe + tradeVolumeUSD_lte?: InputMaybe + tradeVolumeUSD_in?: InputMaybe> + tradeVolumeUSD_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + totalLiquidity?: InputMaybe + totalLiquidity_not?: InputMaybe + totalLiquidity_gt?: InputMaybe + totalLiquidity_lt?: InputMaybe + totalLiquidity_gte?: InputMaybe + totalLiquidity_lte?: InputMaybe + totalLiquidity_in?: InputMaybe> + totalLiquidity_not_in?: InputMaybe> + derivedETH?: InputMaybe + derivedETH_not?: InputMaybe + derivedETH_gt?: InputMaybe + derivedETH_lt?: InputMaybe + derivedETH_gte?: InputMaybe + derivedETH_lte?: InputMaybe + derivedETH_in?: InputMaybe> + derivedETH_not_in?: InputMaybe> + mostLiquidPairs?: InputMaybe> + mostLiquidPairs_not?: InputMaybe> + mostLiquidPairs_contains?: InputMaybe> + mostLiquidPairs_contains_nocase?: InputMaybe> + mostLiquidPairs_not_contains?: InputMaybe> + mostLiquidPairs_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Token_orderBy = + | 'id' + | 'symbol' + | 'name' + | 'decimals' + | 'totalSupply' + | 'tradeVolume' + | 'tradeVolumeUSD' + | 'untrackedVolumeUSD' + | 'txCount' + | 'totalLiquidity' + | 'derivedETH' + | 'mostLiquidPairs' + +export type Transaction = { + id: Scalars['ID'] + blockNumber: Scalars['BigInt'] + timestamp: Scalars['BigInt'] + mints: Array> + burns: Array> + swaps: Array> +} + +export type TransactionmintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type TransactionburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type TransactionswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type Transaction_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + blockNumber?: InputMaybe + blockNumber_not?: InputMaybe + blockNumber_gt?: InputMaybe + blockNumber_lt?: InputMaybe + blockNumber_gte?: InputMaybe + blockNumber_lte?: InputMaybe + blockNumber_in?: InputMaybe> + blockNumber_not_in?: InputMaybe> + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + mints?: InputMaybe> + mints_not?: InputMaybe> + mints_contains?: InputMaybe> + mints_contains_nocase?: InputMaybe> + mints_not_contains?: InputMaybe> + mints_not_contains_nocase?: InputMaybe> + burns?: InputMaybe> + burns_not?: InputMaybe> + burns_contains?: InputMaybe> + burns_contains_nocase?: InputMaybe> + burns_not_contains?: InputMaybe> + burns_not_contains_nocase?: InputMaybe> + swaps?: InputMaybe> + swaps_not?: InputMaybe> + swaps_contains?: InputMaybe> + swaps_contains_nocase?: InputMaybe> + swaps_not_contains?: InputMaybe> + swaps_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type Transaction_orderBy = 'id' | 'blockNumber' | 'timestamp' | 'mints' | 'burns' | 'swaps' + +export type UniswapDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + dailyVolumeETH: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyVolumeUntracked: Scalars['BigDecimal'] + totalVolumeETH: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + totalVolumeUSD: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + maxStored?: Maybe + mostLiquidTokens: Array + txCount: Scalars['BigInt'] +} + +export type UniswapDayDatamostLiquidTokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type UniswapDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + dailyVolumeETH?: InputMaybe + dailyVolumeETH_not?: InputMaybe + dailyVolumeETH_gt?: InputMaybe + dailyVolumeETH_lt?: InputMaybe + dailyVolumeETH_gte?: InputMaybe + dailyVolumeETH_lte?: InputMaybe + dailyVolumeETH_in?: InputMaybe> + dailyVolumeETH_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyVolumeUntracked?: InputMaybe + dailyVolumeUntracked_not?: InputMaybe + dailyVolumeUntracked_gt?: InputMaybe + dailyVolumeUntracked_lt?: InputMaybe + dailyVolumeUntracked_gte?: InputMaybe + dailyVolumeUntracked_lte?: InputMaybe + dailyVolumeUntracked_in?: InputMaybe> + dailyVolumeUntracked_not_in?: InputMaybe> + totalVolumeETH?: InputMaybe + totalVolumeETH_not?: InputMaybe + totalVolumeETH_gt?: InputMaybe + totalVolumeETH_lt?: InputMaybe + totalVolumeETH_gte?: InputMaybe + totalVolumeETH_lte?: InputMaybe + totalVolumeETH_in?: InputMaybe> + totalVolumeETH_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + totalVolumeUSD?: InputMaybe + totalVolumeUSD_not?: InputMaybe + totalVolumeUSD_gt?: InputMaybe + totalVolumeUSD_lt?: InputMaybe + totalVolumeUSD_gte?: InputMaybe + totalVolumeUSD_lte?: InputMaybe + totalVolumeUSD_in?: InputMaybe> + totalVolumeUSD_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + maxStored?: InputMaybe + maxStored_not?: InputMaybe + maxStored_gt?: InputMaybe + maxStored_lt?: InputMaybe + maxStored_gte?: InputMaybe + maxStored_lte?: InputMaybe + maxStored_in?: InputMaybe> + maxStored_not_in?: InputMaybe> + mostLiquidTokens?: InputMaybe> + mostLiquidTokens_not?: InputMaybe> + mostLiquidTokens_contains?: InputMaybe> + mostLiquidTokens_contains_nocase?: InputMaybe> + mostLiquidTokens_not_contains?: InputMaybe> + mostLiquidTokens_not_contains_nocase?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type UniswapDayData_orderBy = + | 'id' + | 'date' + | 'dailyVolumeETH' + | 'dailyVolumeUSD' + | 'dailyVolumeUntracked' + | 'totalVolumeETH' + | 'totalLiquidityETH' + | 'totalVolumeUSD' + | 'totalLiquidityUSD' + | 'maxStored' + | 'mostLiquidTokens' + | 'txCount' + +export type UniswapFactory = { + id: Scalars['ID'] + pairCount: Scalars['Int'] + totalVolumeUSD: Scalars['BigDecimal'] + totalVolumeETH: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + mostLiquidTokens: Array +} + +export type UniswapFactorymostLiquidTokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type UniswapFactory_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + pairCount?: InputMaybe + pairCount_not?: InputMaybe + pairCount_gt?: InputMaybe + pairCount_lt?: InputMaybe + pairCount_gte?: InputMaybe + pairCount_lte?: InputMaybe + pairCount_in?: InputMaybe> + pairCount_not_in?: InputMaybe> + totalVolumeUSD?: InputMaybe + totalVolumeUSD_not?: InputMaybe + totalVolumeUSD_gt?: InputMaybe + totalVolumeUSD_lt?: InputMaybe + totalVolumeUSD_gte?: InputMaybe + totalVolumeUSD_lte?: InputMaybe + totalVolumeUSD_in?: InputMaybe> + totalVolumeUSD_not_in?: InputMaybe> + totalVolumeETH?: InputMaybe + totalVolumeETH_not?: InputMaybe + totalVolumeETH_gt?: InputMaybe + totalVolumeETH_lt?: InputMaybe + totalVolumeETH_gte?: InputMaybe + totalVolumeETH_lte?: InputMaybe + totalVolumeETH_in?: InputMaybe> + totalVolumeETH_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + mostLiquidTokens?: InputMaybe> + mostLiquidTokens_not?: InputMaybe> + mostLiquidTokens_contains?: InputMaybe> + mostLiquidTokens_contains_nocase?: InputMaybe> + mostLiquidTokens_not_contains?: InputMaybe> + mostLiquidTokens_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type UniswapFactory_orderBy = + | 'id' + | 'pairCount' + | 'totalVolumeUSD' + | 'totalVolumeETH' + | 'untrackedVolumeUSD' + | 'totalLiquidityUSD' + | 'totalLiquidityETH' + | 'txCount' + | 'mostLiquidTokens' + +export type User = { + id: Scalars['ID'] + liquidityPositions?: Maybe> + usdSwapped: Scalars['BigDecimal'] +} + +export type UserliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe +} + +export type User_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + usdSwapped?: InputMaybe + usdSwapped_not?: InputMaybe + usdSwapped_gt?: InputMaybe + usdSwapped_lt?: InputMaybe + usdSwapped_gte?: InputMaybe + usdSwapped_lte?: InputMaybe + usdSwapped_in?: InputMaybe> + usdSwapped_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe +} + +export type User_orderBy = 'id' | 'liquidityPositions' | 'usdSwapped' + +export type _Block_ = { + /** The hash of the block */ + hash?: Maybe + /** The block number */ + number: Scalars['Int'] +} + +/** The type for the top-level _meta field */ +export type _Meta_ = { + /** + * Information about a specific subgraph block. The hash of the block + * will be null if the _meta field has a block constraint that asks for + * a block number. It will be filled if the _meta field has no block constraint + * and therefore asks for the latest block + * + */ + block: _Block_ + /** The deployment ID */ + deployment: Scalars['String'] + /** If `true`, the subgraph encountered indexing errors at some past block */ + hasIndexingErrors: Scalars['Boolean'] +} + +export type _SubgraphErrorPolicy_ = + /** Data will be returned even if the subgraph has indexing errors */ + | 'allow' + /** If the subgraph has indexing errors, data will be omitted. The default. */ + | 'deny' + +export type WithIndex = TObject & Record +export type ResolversObject = WithIndex + +export type ResolverTypeWrapper = Promise | T + +export type ResolverWithResolve = { + resolve: ResolverFn +} +export type Resolver = + | ResolverFn + | ResolverWithResolve + +export type ResolverFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo, +) => Promise | TResult + +export type SubscriptionSubscribeFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo, +) => AsyncIterable | Promise> + +export type SubscriptionResolveFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo, +) => TResult | Promise + +export interface SubscriptionSubscriberObject { + subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs> + resolve?: SubscriptionResolveFn +} + +export interface SubscriptionResolverObject { + subscribe: SubscriptionSubscribeFn + resolve: SubscriptionResolveFn +} + +export type SubscriptionObject = + | SubscriptionSubscriberObject + | SubscriptionResolverObject + +export type SubscriptionResolver = + | ((...args: any[]) => SubscriptionObject) + | SubscriptionObject + +export type TypeResolveFn = ( + parent: TParent, + context: TContext, + info: GraphQLResolveInfo, +) => Maybe | Promise> + +export type IsTypeOfResolverFn = ( + obj: T, + context: TContext, + info: GraphQLResolveInfo, +) => boolean | Promise + +export type NextResolverFn = () => Promise + +export type DirectiveResolverFn = ( + next: NextResolverFn, + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo, +) => TResult | Promise + +/** Mapping between all available schema types and the resolvers types */ +export type ResolversTypes = ResolversObject<{ + BigDecimal: ResolverTypeWrapper + BigInt: ResolverTypeWrapper + BlockChangedFilter: BlockChangedFilter + Int: ResolverTypeWrapper + Block_height: Block_height + Bundle: ResolverTypeWrapper + ID: ResolverTypeWrapper + Bundle_filter: Bundle_filter + Bundle_orderBy: Bundle_orderBy + Burn: ResolverTypeWrapper + Boolean: ResolverTypeWrapper + Burn_filter: Burn_filter + String: ResolverTypeWrapper + Burn_orderBy: Burn_orderBy + Bytes: ResolverTypeWrapper + LiquidityPosition: ResolverTypeWrapper + LiquidityPositionSnapshot: ResolverTypeWrapper + LiquidityPositionSnapshot_filter: LiquidityPositionSnapshot_filter + LiquidityPositionSnapshot_orderBy: LiquidityPositionSnapshot_orderBy + LiquidityPosition_filter: LiquidityPosition_filter + LiquidityPosition_orderBy: LiquidityPosition_orderBy + Mint: ResolverTypeWrapper + Mint_filter: Mint_filter + Mint_orderBy: Mint_orderBy + OrderDirection: OrderDirection + Pair: ResolverTypeWrapper + PairDayData: ResolverTypeWrapper + PairDayData_filter: PairDayData_filter + PairDayData_orderBy: PairDayData_orderBy + PairHourData: ResolverTypeWrapper + PairHourData_filter: PairHourData_filter + PairHourData_orderBy: PairHourData_orderBy + Pair_filter: Pair_filter + Pair_orderBy: Pair_orderBy + Query: ResolverTypeWrapper<{}> + Subscription: ResolverTypeWrapper<{}> + Swap: ResolverTypeWrapper + Swap_filter: Swap_filter + Swap_orderBy: Swap_orderBy + Token: ResolverTypeWrapper + TokenDayData: ResolverTypeWrapper + TokenDayData_filter: TokenDayData_filter + TokenDayData_orderBy: TokenDayData_orderBy + Token_filter: Token_filter + Token_orderBy: Token_orderBy + Transaction: ResolverTypeWrapper + Transaction_filter: Transaction_filter + Transaction_orderBy: Transaction_orderBy + UniswapDayData: ResolverTypeWrapper + UniswapDayData_filter: UniswapDayData_filter + UniswapDayData_orderBy: UniswapDayData_orderBy + UniswapFactory: ResolverTypeWrapper + UniswapFactory_filter: UniswapFactory_filter + UniswapFactory_orderBy: UniswapFactory_orderBy + User: ResolverTypeWrapper + User_filter: User_filter + User_orderBy: User_orderBy + _Block_: ResolverTypeWrapper<_Block_> + _Meta_: ResolverTypeWrapper<_Meta_> + _SubgraphErrorPolicy_: _SubgraphErrorPolicy_ +}> + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = ResolversObject<{ + BigDecimal: Scalars['BigDecimal'] + BigInt: Scalars['BigInt'] + BlockChangedFilter: BlockChangedFilter + Int: Scalars['Int'] + Block_height: Block_height + Bundle: Bundle + ID: Scalars['ID'] + Bundle_filter: Bundle_filter + Burn: Burn + Boolean: Scalars['Boolean'] + Burn_filter: Burn_filter + String: Scalars['String'] + Bytes: Scalars['Bytes'] + LiquidityPosition: LiquidityPosition + LiquidityPositionSnapshot: LiquidityPositionSnapshot + LiquidityPositionSnapshot_filter: LiquidityPositionSnapshot_filter + LiquidityPosition_filter: LiquidityPosition_filter + Mint: Mint + Mint_filter: Mint_filter + Pair: Pair + PairDayData: PairDayData + PairDayData_filter: PairDayData_filter + PairHourData: PairHourData + PairHourData_filter: PairHourData_filter + Pair_filter: Pair_filter + Query: {} + Subscription: {} + Swap: Swap + Swap_filter: Swap_filter + Token: Token + TokenDayData: TokenDayData + TokenDayData_filter: TokenDayData_filter + Token_filter: Token_filter + Transaction: Transaction + Transaction_filter: Transaction_filter + UniswapDayData: UniswapDayData + UniswapDayData_filter: UniswapDayData_filter + UniswapFactory: UniswapFactory + UniswapFactory_filter: UniswapFactory_filter + User: User + User_filter: User_filter + _Block_: _Block_ + _Meta_: _Meta_ +}> + +export type entityDirectiveArgs = {} + +export type entityDirectiveResolver< + Result, + Parent, + ContextType = MeshContext, + Args = entityDirectiveArgs, +> = DirectiveResolverFn + +export type subgraphIdDirectiveArgs = { + id: Scalars['String'] +} + +export type subgraphIdDirectiveResolver< + Result, + Parent, + ContextType = MeshContext, + Args = subgraphIdDirectiveArgs, +> = DirectiveResolverFn + +export type derivedFromDirectiveArgs = { + field: Scalars['String'] +} + +export type derivedFromDirectiveResolver< + Result, + Parent, + ContextType = MeshContext, + Args = derivedFromDirectiveArgs, +> = DirectiveResolverFn + +export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigDecimal' +} + +export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigInt' +} + +export type BundleResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Bundle'] = ResolversParentTypes['Bundle'], +> = ResolversObject<{ + id?: Resolver + ethPrice?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type BurnResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Burn'] = ResolversParentTypes['Burn'], +> = ResolversObject<{ + id?: Resolver + transaction?: Resolver + timestamp?: Resolver + pair?: Resolver + liquidity?: Resolver + sender?: Resolver, ParentType, ContextType> + amount0?: Resolver, ParentType, ContextType> + amount1?: Resolver, ParentType, ContextType> + to?: Resolver, ParentType, ContextType> + logIndex?: Resolver, ParentType, ContextType> + amountUSD?: Resolver, ParentType, ContextType> + needsComplete?: Resolver + feeTo?: Resolver, ParentType, ContextType> + feeLiquidity?: Resolver, ParentType, ContextType> + __isTypeOf?: IsTypeOfResolverFn +}> + +export interface BytesScalarConfig extends GraphQLScalarTypeConfig { + name: 'Bytes' +} + +export type LiquidityPositionResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['LiquidityPosition'] = ResolversParentTypes['LiquidityPosition'], +> = ResolversObject<{ + id?: Resolver + user?: Resolver + pair?: Resolver + liquidityTokenBalance?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type LiquidityPositionSnapshotResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['LiquidityPositionSnapshot'] = ResolversParentTypes['LiquidityPositionSnapshot'], +> = ResolversObject<{ + id?: Resolver + liquidityPosition?: Resolver + timestamp?: Resolver + block?: Resolver + user?: Resolver + pair?: Resolver + token0PriceUSD?: Resolver + token1PriceUSD?: Resolver + reserve0?: Resolver + reserve1?: Resolver + reserveUSD?: Resolver + liquidityTokenTotalSupply?: Resolver + liquidityTokenBalance?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type MintResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Mint'] = ResolversParentTypes['Mint'], +> = ResolversObject<{ + id?: Resolver + transaction?: Resolver + timestamp?: Resolver + pair?: Resolver + to?: Resolver + liquidity?: Resolver + sender?: Resolver, ParentType, ContextType> + amount0?: Resolver, ParentType, ContextType> + amount1?: Resolver, ParentType, ContextType> + logIndex?: Resolver, ParentType, ContextType> + amountUSD?: Resolver, ParentType, ContextType> + feeTo?: Resolver, ParentType, ContextType> + feeLiquidity?: Resolver, ParentType, ContextType> + __isTypeOf?: IsTypeOfResolverFn +}> + +export type PairResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Pair'] = ResolversParentTypes['Pair'], +> = ResolversObject<{ + id?: Resolver + token0?: Resolver + token1?: Resolver + reserve0?: Resolver + reserve1?: Resolver + totalSupply?: Resolver + reserveETH?: Resolver + reserveUSD?: Resolver + trackedReserveETH?: Resolver + token0Price?: Resolver + token1Price?: Resolver + volumeToken0?: Resolver + volumeToken1?: Resolver + volumeUSD?: Resolver + untrackedVolumeUSD?: Resolver + txCount?: Resolver + createdAtTimestamp?: Resolver + createdAtBlockNumber?: Resolver + liquidityProviderCount?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type PairDayDataResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['PairDayData'] = ResolversParentTypes['PairDayData'], +> = ResolversObject<{ + id?: Resolver + date?: Resolver + pairAddress?: Resolver + token0?: Resolver + token1?: Resolver + reserve0?: Resolver + reserve1?: Resolver + totalSupply?: Resolver + reserveUSD?: Resolver + dailyVolumeToken0?: Resolver + dailyVolumeToken1?: Resolver + dailyVolumeUSD?: Resolver + dailyTxns?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type PairHourDataResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['PairHourData'] = ResolversParentTypes['PairHourData'], +> = ResolversObject<{ + id?: Resolver + hourStartUnix?: Resolver + pair?: Resolver + reserve0?: Resolver + reserve1?: Resolver + reserveUSD?: Resolver + hourlyVolumeToken0?: Resolver + hourlyVolumeToken1?: Resolver + hourlyVolumeUSD?: Resolver + hourlyTxns?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type QueryResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'], +> = ResolversObject<{ + uniswapFactory?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + uniswapFactories?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + token?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + tokens?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + pair?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + pairs?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + user?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + users?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + liquidityPosition?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + liquidityPositions?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + liquidityPositionSnapshot?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + liquidityPositionSnapshots?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + transaction?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + transactions?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + mint?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + mints?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + burn?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + burns?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + swap?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + swaps?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + bundle?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + bundles?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + uniswapDayData?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + uniswapDayDatas?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + pairHourData?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + pairHourDatas?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + pairDayData?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + pairDayDatas?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + tokenDayData?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + > + tokenDayDatas?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + _meta?: Resolver, ParentType, ContextType, Partial> +}> + +export type SubscriptionResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'], +> = ResolversObject<{ + uniswapFactory?: SubscriptionResolver< + Maybe, + 'uniswapFactory', + ParentType, + ContextType, + RequireFields + > + uniswapFactories?: SubscriptionResolver< + Array, + 'uniswapFactories', + ParentType, + ContextType, + RequireFields + > + token?: SubscriptionResolver< + Maybe, + 'token', + ParentType, + ContextType, + RequireFields + > + tokens?: SubscriptionResolver< + Array, + 'tokens', + ParentType, + ContextType, + RequireFields + > + pair?: SubscriptionResolver< + Maybe, + 'pair', + ParentType, + ContextType, + RequireFields + > + pairs?: SubscriptionResolver< + Array, + 'pairs', + ParentType, + ContextType, + RequireFields + > + user?: SubscriptionResolver< + Maybe, + 'user', + ParentType, + ContextType, + RequireFields + > + users?: SubscriptionResolver< + Array, + 'users', + ParentType, + ContextType, + RequireFields + > + liquidityPosition?: SubscriptionResolver< + Maybe, + 'liquidityPosition', + ParentType, + ContextType, + RequireFields + > + liquidityPositions?: SubscriptionResolver< + Array, + 'liquidityPositions', + ParentType, + ContextType, + RequireFields + > + liquidityPositionSnapshot?: SubscriptionResolver< + Maybe, + 'liquidityPositionSnapshot', + ParentType, + ContextType, + RequireFields + > + liquidityPositionSnapshots?: SubscriptionResolver< + Array, + 'liquidityPositionSnapshots', + ParentType, + ContextType, + RequireFields + > + transaction?: SubscriptionResolver< + Maybe, + 'transaction', + ParentType, + ContextType, + RequireFields + > + transactions?: SubscriptionResolver< + Array, + 'transactions', + ParentType, + ContextType, + RequireFields + > + mint?: SubscriptionResolver< + Maybe, + 'mint', + ParentType, + ContextType, + RequireFields + > + mints?: SubscriptionResolver< + Array, + 'mints', + ParentType, + ContextType, + RequireFields + > + burn?: SubscriptionResolver< + Maybe, + 'burn', + ParentType, + ContextType, + RequireFields + > + burns?: SubscriptionResolver< + Array, + 'burns', + ParentType, + ContextType, + RequireFields + > + swap?: SubscriptionResolver< + Maybe, + 'swap', + ParentType, + ContextType, + RequireFields + > + swaps?: SubscriptionResolver< + Array, + 'swaps', + ParentType, + ContextType, + RequireFields + > + bundle?: SubscriptionResolver< + Maybe, + 'bundle', + ParentType, + ContextType, + RequireFields + > + bundles?: SubscriptionResolver< + Array, + 'bundles', + ParentType, + ContextType, + RequireFields + > + uniswapDayData?: SubscriptionResolver< + Maybe, + 'uniswapDayData', + ParentType, + ContextType, + RequireFields + > + uniswapDayDatas?: SubscriptionResolver< + Array, + 'uniswapDayDatas', + ParentType, + ContextType, + RequireFields + > + pairHourData?: SubscriptionResolver< + Maybe, + 'pairHourData', + ParentType, + ContextType, + RequireFields + > + pairHourDatas?: SubscriptionResolver< + Array, + 'pairHourDatas', + ParentType, + ContextType, + RequireFields + > + pairDayData?: SubscriptionResolver< + Maybe, + 'pairDayData', + ParentType, + ContextType, + RequireFields + > + pairDayDatas?: SubscriptionResolver< + Array, + 'pairDayDatas', + ParentType, + ContextType, + RequireFields + > + tokenDayData?: SubscriptionResolver< + Maybe, + 'tokenDayData', + ParentType, + ContextType, + RequireFields + > + tokenDayDatas?: SubscriptionResolver< + Array, + 'tokenDayDatas', + ParentType, + ContextType, + RequireFields + > + _meta?: SubscriptionResolver< + Maybe, + '_meta', + ParentType, + ContextType, + Partial + > +}> + +export type SwapResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Swap'] = ResolversParentTypes['Swap'], +> = ResolversObject<{ + id?: Resolver + transaction?: Resolver + timestamp?: Resolver + pair?: Resolver + sender?: Resolver + amount0In?: Resolver + amount1In?: Resolver + amount0Out?: Resolver + amount1Out?: Resolver + to?: Resolver + logIndex?: Resolver, ParentType, ContextType> + amountUSD?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type TokenResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Token'] = ResolversParentTypes['Token'], +> = ResolversObject<{ + id?: Resolver + symbol?: Resolver + name?: Resolver + decimals?: Resolver + totalSupply?: Resolver + tradeVolume?: Resolver + tradeVolumeUSD?: Resolver + untrackedVolumeUSD?: Resolver + txCount?: Resolver + totalLiquidity?: Resolver + derivedETH?: Resolver, ParentType, ContextType> + mostLiquidPairs?: Resolver< + Array>, + ParentType, + ContextType, + RequireFields + > + __isTypeOf?: IsTypeOfResolverFn +}> + +export type TokenDayDataResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['TokenDayData'] = ResolversParentTypes['TokenDayData'], +> = ResolversObject<{ + id?: Resolver + date?: Resolver + token?: Resolver + dailyVolumeToken?: Resolver + dailyVolumeETH?: Resolver + dailyVolumeUSD?: Resolver + dailyTxns?: Resolver + totalLiquidityToken?: Resolver + totalLiquidityETH?: Resolver + totalLiquidityUSD?: Resolver + priceUSD?: Resolver + maxStored?: Resolver + mostLiquidPairs?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + __isTypeOf?: IsTypeOfResolverFn +}> + +export type TransactionResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['Transaction'] = ResolversParentTypes['Transaction'], +> = ResolversObject<{ + id?: Resolver + blockNumber?: Resolver + timestamp?: Resolver + mints?: Resolver< + Array>, + ParentType, + ContextType, + RequireFields + > + burns?: Resolver< + Array>, + ParentType, + ContextType, + RequireFields + > + swaps?: Resolver< + Array>, + ParentType, + ContextType, + RequireFields + > + __isTypeOf?: IsTypeOfResolverFn +}> + +export type UniswapDayDataResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['UniswapDayData'] = ResolversParentTypes['UniswapDayData'], +> = ResolversObject<{ + id?: Resolver + date?: Resolver + dailyVolumeETH?: Resolver + dailyVolumeUSD?: Resolver + dailyVolumeUntracked?: Resolver + totalVolumeETH?: Resolver + totalLiquidityETH?: Resolver + totalVolumeUSD?: Resolver + totalLiquidityUSD?: Resolver + maxStored?: Resolver, ParentType, ContextType> + mostLiquidTokens?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + txCount?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type UniswapFactoryResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['UniswapFactory'] = ResolversParentTypes['UniswapFactory'], +> = ResolversObject<{ + id?: Resolver + pairCount?: Resolver + totalVolumeUSD?: Resolver + totalVolumeETH?: Resolver + untrackedVolumeUSD?: Resolver + totalLiquidityUSD?: Resolver + totalLiquidityETH?: Resolver + txCount?: Resolver + mostLiquidTokens?: Resolver< + Array, + ParentType, + ContextType, + RequireFields + > + __isTypeOf?: IsTypeOfResolverFn +}> + +export type UserResolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['User'] = ResolversParentTypes['User'], +> = ResolversObject<{ + id?: Resolver + liquidityPositions?: Resolver< + Maybe>, + ParentType, + ContextType, + RequireFields + > + usdSwapped?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type _Block_Resolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['_Block_'] = ResolversParentTypes['_Block_'], +> = ResolversObject<{ + hash?: Resolver, ParentType, ContextType> + number?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type _Meta_Resolvers< + ContextType = MeshContext, + ParentType extends ResolversParentTypes['_Meta_'] = ResolversParentTypes['_Meta_'], +> = ResolversObject<{ + block?: Resolver + deployment?: Resolver + hasIndexingErrors?: Resolver + __isTypeOf?: IsTypeOfResolverFn +}> + +export type Resolvers = ResolversObject<{ + BigDecimal?: GraphQLScalarType + BigInt?: GraphQLScalarType + Bundle?: BundleResolvers + Burn?: BurnResolvers + Bytes?: GraphQLScalarType + LiquidityPosition?: LiquidityPositionResolvers + LiquidityPositionSnapshot?: LiquidityPositionSnapshotResolvers + Mint?: MintResolvers + Pair?: PairResolvers + PairDayData?: PairDayDataResolvers + PairHourData?: PairHourDataResolvers + Query?: QueryResolvers + Subscription?: SubscriptionResolvers + Swap?: SwapResolvers + Token?: TokenResolvers + TokenDayData?: TokenDayDataResolvers + Transaction?: TransactionResolvers + UniswapDayData?: UniswapDayDataResolvers + UniswapFactory?: UniswapFactoryResolvers + User?: UserResolvers + _Block_?: _Block_Resolvers + _Meta_?: _Meta_Resolvers +}> + +export type DirectiveResolvers = ResolversObject<{ + entity?: entityDirectiveResolver + subgraphId?: subgraphIdDirectiveResolver + derivedFrom?: derivedFromDirectiveResolver +}> + +import { MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime' + +import { InContextSdkMethod } from '@graphql-mesh/types' + +export namespace UniswapTypes { + export type Maybe = T | null + export type InputMaybe = Maybe + export type Exact = { [K in keyof T]: T[K] } + export type MakeOptional = Omit & { [SubKey in K]?: Maybe } + export type MakeMaybe = Omit & { [SubKey in K]: Maybe } + /** All built-in and custom scalars, mapped to their actual values */ + export type Scalars = { + ID: string + String: string + Boolean: boolean + Int: number + Float: number + BigDecimal: any + BigInt: any + Bytes: any + } + + export type BlockChangedFilter = { + number_gte: Scalars['Int'] + } + + export type Block_height = { + hash?: InputMaybe + number?: InputMaybe + number_gte?: InputMaybe + } + + export type Bundle = { + id: Scalars['ID'] + ethPrice: Scalars['BigDecimal'] + } + + export type Bundle_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + ethPrice?: InputMaybe + ethPrice_not?: InputMaybe + ethPrice_gt?: InputMaybe + ethPrice_lt?: InputMaybe + ethPrice_gte?: InputMaybe + ethPrice_lte?: InputMaybe + ethPrice_in?: InputMaybe> + ethPrice_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Bundle_orderBy = 'id' | 'ethPrice' + + export type Burn = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + liquidity: Scalars['BigDecimal'] + sender?: Maybe + amount0?: Maybe + amount1?: Maybe + to?: Maybe + logIndex?: Maybe + amountUSD?: Maybe + needsComplete: Scalars['Boolean'] + feeTo?: Maybe + feeLiquidity?: Maybe + } + + export type Burn_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + liquidity?: InputMaybe + liquidity_not?: InputMaybe + liquidity_gt?: InputMaybe + liquidity_lt?: InputMaybe + liquidity_gte?: InputMaybe + liquidity_lte?: InputMaybe + liquidity_in?: InputMaybe> + liquidity_not_in?: InputMaybe> + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0?: InputMaybe + amount0_not?: InputMaybe + amount0_gt?: InputMaybe + amount0_lt?: InputMaybe + amount0_gte?: InputMaybe + amount0_lte?: InputMaybe + amount0_in?: InputMaybe> + amount0_not_in?: InputMaybe> + amount1?: InputMaybe + amount1_not?: InputMaybe + amount1_gt?: InputMaybe + amount1_lt?: InputMaybe + amount1_gte?: InputMaybe + amount1_lte?: InputMaybe + amount1_in?: InputMaybe> + amount1_not_in?: InputMaybe> + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + needsComplete?: InputMaybe + needsComplete_not?: InputMaybe + needsComplete_in?: InputMaybe> + needsComplete_not_in?: InputMaybe> + feeTo?: InputMaybe + feeTo_not?: InputMaybe + feeTo_in?: InputMaybe> + feeTo_not_in?: InputMaybe> + feeTo_contains?: InputMaybe + feeTo_not_contains?: InputMaybe + feeLiquidity?: InputMaybe + feeLiquidity_not?: InputMaybe + feeLiquidity_gt?: InputMaybe + feeLiquidity_lt?: InputMaybe + feeLiquidity_gte?: InputMaybe + feeLiquidity_lte?: InputMaybe + feeLiquidity_in?: InputMaybe> + feeLiquidity_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Burn_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'liquidity' + | 'sender' + | 'amount0' + | 'amount1' + | 'to' + | 'logIndex' + | 'amountUSD' + | 'needsComplete' + | 'feeTo' + | 'feeLiquidity' + + export type LiquidityPosition = { + id: Scalars['ID'] + user: User + pair: Pair + liquidityTokenBalance: Scalars['BigDecimal'] + } + + export type LiquidityPositionSnapshot = { + id: Scalars['ID'] + liquidityPosition: LiquidityPosition + timestamp: Scalars['Int'] + block: Scalars['Int'] + user: User + pair: Pair + token0PriceUSD: Scalars['BigDecimal'] + token1PriceUSD: Scalars['BigDecimal'] + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + liquidityTokenTotalSupply: Scalars['BigDecimal'] + liquidityTokenBalance: Scalars['BigDecimal'] + } + + export type LiquidityPositionSnapshot_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + liquidityPosition?: InputMaybe + liquidityPosition_not?: InputMaybe + liquidityPosition_gt?: InputMaybe + liquidityPosition_lt?: InputMaybe + liquidityPosition_gte?: InputMaybe + liquidityPosition_lte?: InputMaybe + liquidityPosition_in?: InputMaybe> + liquidityPosition_not_in?: InputMaybe> + liquidityPosition_contains?: InputMaybe + liquidityPosition_contains_nocase?: InputMaybe + liquidityPosition_not_contains?: InputMaybe + liquidityPosition_not_contains_nocase?: InputMaybe + liquidityPosition_starts_with?: InputMaybe + liquidityPosition_starts_with_nocase?: InputMaybe + liquidityPosition_not_starts_with?: InputMaybe + liquidityPosition_not_starts_with_nocase?: InputMaybe + liquidityPosition_ends_with?: InputMaybe + liquidityPosition_ends_with_nocase?: InputMaybe + liquidityPosition_not_ends_with?: InputMaybe + liquidityPosition_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + block?: InputMaybe + block_not?: InputMaybe + block_gt?: InputMaybe + block_lt?: InputMaybe + block_gte?: InputMaybe + block_lte?: InputMaybe + block_in?: InputMaybe> + block_not_in?: InputMaybe> + user?: InputMaybe + user_not?: InputMaybe + user_gt?: InputMaybe + user_lt?: InputMaybe + user_gte?: InputMaybe + user_lte?: InputMaybe + user_in?: InputMaybe> + user_not_in?: InputMaybe> + user_contains?: InputMaybe + user_contains_nocase?: InputMaybe + user_not_contains?: InputMaybe + user_not_contains_nocase?: InputMaybe + user_starts_with?: InputMaybe + user_starts_with_nocase?: InputMaybe + user_not_starts_with?: InputMaybe + user_not_starts_with_nocase?: InputMaybe + user_ends_with?: InputMaybe + user_ends_with_nocase?: InputMaybe + user_not_ends_with?: InputMaybe + user_not_ends_with_nocase?: InputMaybe + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + token0PriceUSD?: InputMaybe + token0PriceUSD_not?: InputMaybe + token0PriceUSD_gt?: InputMaybe + token0PriceUSD_lt?: InputMaybe + token0PriceUSD_gte?: InputMaybe + token0PriceUSD_lte?: InputMaybe + token0PriceUSD_in?: InputMaybe> + token0PriceUSD_not_in?: InputMaybe> + token1PriceUSD?: InputMaybe + token1PriceUSD_not?: InputMaybe + token1PriceUSD_gt?: InputMaybe + token1PriceUSD_lt?: InputMaybe + token1PriceUSD_gte?: InputMaybe + token1PriceUSD_lte?: InputMaybe + token1PriceUSD_in?: InputMaybe> + token1PriceUSD_not_in?: InputMaybe> + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + liquidityTokenTotalSupply?: InputMaybe + liquidityTokenTotalSupply_not?: InputMaybe + liquidityTokenTotalSupply_gt?: InputMaybe + liquidityTokenTotalSupply_lt?: InputMaybe + liquidityTokenTotalSupply_gte?: InputMaybe + liquidityTokenTotalSupply_lte?: InputMaybe + liquidityTokenTotalSupply_in?: InputMaybe> + liquidityTokenTotalSupply_not_in?: InputMaybe> + liquidityTokenBalance?: InputMaybe + liquidityTokenBalance_not?: InputMaybe + liquidityTokenBalance_gt?: InputMaybe + liquidityTokenBalance_lt?: InputMaybe + liquidityTokenBalance_gte?: InputMaybe + liquidityTokenBalance_lte?: InputMaybe + liquidityTokenBalance_in?: InputMaybe> + liquidityTokenBalance_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type LiquidityPositionSnapshot_orderBy = + | 'id' + | 'liquidityPosition' + | 'timestamp' + | 'block' + | 'user' + | 'pair' + | 'token0PriceUSD' + | 'token1PriceUSD' + | 'reserve0' + | 'reserve1' + | 'reserveUSD' + | 'liquidityTokenTotalSupply' + | 'liquidityTokenBalance' + + export type LiquidityPosition_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + user?: InputMaybe + user_not?: InputMaybe + user_gt?: InputMaybe + user_lt?: InputMaybe + user_gte?: InputMaybe + user_lte?: InputMaybe + user_in?: InputMaybe> + user_not_in?: InputMaybe> + user_contains?: InputMaybe + user_contains_nocase?: InputMaybe + user_not_contains?: InputMaybe + user_not_contains_nocase?: InputMaybe + user_starts_with?: InputMaybe + user_starts_with_nocase?: InputMaybe + user_not_starts_with?: InputMaybe + user_not_starts_with_nocase?: InputMaybe + user_ends_with?: InputMaybe + user_ends_with_nocase?: InputMaybe + user_not_ends_with?: InputMaybe + user_not_ends_with_nocase?: InputMaybe + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + liquidityTokenBalance?: InputMaybe + liquidityTokenBalance_not?: InputMaybe + liquidityTokenBalance_gt?: InputMaybe + liquidityTokenBalance_lt?: InputMaybe + liquidityTokenBalance_gte?: InputMaybe + liquidityTokenBalance_lte?: InputMaybe + liquidityTokenBalance_in?: InputMaybe> + liquidityTokenBalance_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type LiquidityPosition_orderBy = 'id' | 'user' | 'pair' | 'liquidityTokenBalance' + + export type Mint = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + to: Scalars['Bytes'] + liquidity: Scalars['BigDecimal'] + sender?: Maybe + amount0?: Maybe + amount1?: Maybe + logIndex?: Maybe + amountUSD?: Maybe + feeTo?: Maybe + feeLiquidity?: Maybe + } + + export type Mint_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + liquidity?: InputMaybe + liquidity_not?: InputMaybe + liquidity_gt?: InputMaybe + liquidity_lt?: InputMaybe + liquidity_gte?: InputMaybe + liquidity_lte?: InputMaybe + liquidity_in?: InputMaybe> + liquidity_not_in?: InputMaybe> + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0?: InputMaybe + amount0_not?: InputMaybe + amount0_gt?: InputMaybe + amount0_lt?: InputMaybe + amount0_gte?: InputMaybe + amount0_lte?: InputMaybe + amount0_in?: InputMaybe> + amount0_not_in?: InputMaybe> + amount1?: InputMaybe + amount1_not?: InputMaybe + amount1_gt?: InputMaybe + amount1_lt?: InputMaybe + amount1_gte?: InputMaybe + amount1_lte?: InputMaybe + amount1_in?: InputMaybe> + amount1_not_in?: InputMaybe> + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + feeTo?: InputMaybe + feeTo_not?: InputMaybe + feeTo_in?: InputMaybe> + feeTo_not_in?: InputMaybe> + feeTo_contains?: InputMaybe + feeTo_not_contains?: InputMaybe + feeLiquidity?: InputMaybe + feeLiquidity_not?: InputMaybe + feeLiquidity_gt?: InputMaybe + feeLiquidity_lt?: InputMaybe + feeLiquidity_gte?: InputMaybe + feeLiquidity_lte?: InputMaybe + feeLiquidity_in?: InputMaybe> + feeLiquidity_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Mint_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'to' + | 'liquidity' + | 'sender' + | 'amount0' + | 'amount1' + | 'logIndex' + | 'amountUSD' + | 'feeTo' + | 'feeLiquidity' + + /** Defines the order direction, either ascending or descending */ + export type OrderDirection = 'asc' | 'desc' + + export type Pair = { + id: Scalars['ID'] + token0: Token + token1: Token + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + totalSupply: Scalars['BigDecimal'] + reserveETH: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + trackedReserveETH: Scalars['BigDecimal'] + token0Price: Scalars['BigDecimal'] + token1Price: Scalars['BigDecimal'] + volumeToken0: Scalars['BigDecimal'] + volumeToken1: Scalars['BigDecimal'] + volumeUSD: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + createdAtTimestamp: Scalars['BigInt'] + createdAtBlockNumber: Scalars['BigInt'] + liquidityProviderCount: Scalars['BigInt'] + } + + export type PairDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + pairAddress: Scalars['Bytes'] + token0: Token + token1: Token + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + totalSupply: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + dailyVolumeToken0: Scalars['BigDecimal'] + dailyVolumeToken1: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyTxns: Scalars['BigInt'] + } + + export type PairDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + pairAddress?: InputMaybe + pairAddress_not?: InputMaybe + pairAddress_in?: InputMaybe> + pairAddress_not_in?: InputMaybe> + pairAddress_contains?: InputMaybe + pairAddress_not_contains?: InputMaybe + token0?: InputMaybe + token0_not?: InputMaybe + token0_gt?: InputMaybe + token0_lt?: InputMaybe + token0_gte?: InputMaybe + token0_lte?: InputMaybe + token0_in?: InputMaybe> + token0_not_in?: InputMaybe> + token0_contains?: InputMaybe + token0_contains_nocase?: InputMaybe + token0_not_contains?: InputMaybe + token0_not_contains_nocase?: InputMaybe + token0_starts_with?: InputMaybe + token0_starts_with_nocase?: InputMaybe + token0_not_starts_with?: InputMaybe + token0_not_starts_with_nocase?: InputMaybe + token0_ends_with?: InputMaybe + token0_ends_with_nocase?: InputMaybe + token0_not_ends_with?: InputMaybe + token0_not_ends_with_nocase?: InputMaybe + token1?: InputMaybe + token1_not?: InputMaybe + token1_gt?: InputMaybe + token1_lt?: InputMaybe + token1_gte?: InputMaybe + token1_lte?: InputMaybe + token1_in?: InputMaybe> + token1_not_in?: InputMaybe> + token1_contains?: InputMaybe + token1_contains_nocase?: InputMaybe + token1_not_contains?: InputMaybe + token1_not_contains_nocase?: InputMaybe + token1_starts_with?: InputMaybe + token1_starts_with_nocase?: InputMaybe + token1_not_starts_with?: InputMaybe + token1_not_starts_with_nocase?: InputMaybe + token1_ends_with?: InputMaybe + token1_ends_with_nocase?: InputMaybe + token1_not_ends_with?: InputMaybe + token1_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + dailyVolumeToken0?: InputMaybe + dailyVolumeToken0_not?: InputMaybe + dailyVolumeToken0_gt?: InputMaybe + dailyVolumeToken0_lt?: InputMaybe + dailyVolumeToken0_gte?: InputMaybe + dailyVolumeToken0_lte?: InputMaybe + dailyVolumeToken0_in?: InputMaybe> + dailyVolumeToken0_not_in?: InputMaybe> + dailyVolumeToken1?: InputMaybe + dailyVolumeToken1_not?: InputMaybe + dailyVolumeToken1_gt?: InputMaybe + dailyVolumeToken1_lt?: InputMaybe + dailyVolumeToken1_gte?: InputMaybe + dailyVolumeToken1_lte?: InputMaybe + dailyVolumeToken1_in?: InputMaybe> + dailyVolumeToken1_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyTxns?: InputMaybe + dailyTxns_not?: InputMaybe + dailyTxns_gt?: InputMaybe + dailyTxns_lt?: InputMaybe + dailyTxns_gte?: InputMaybe + dailyTxns_lte?: InputMaybe + dailyTxns_in?: InputMaybe> + dailyTxns_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type PairDayData_orderBy = + | 'id' + | 'date' + | 'pairAddress' + | 'token0' + | 'token1' + | 'reserve0' + | 'reserve1' + | 'totalSupply' + | 'reserveUSD' + | 'dailyVolumeToken0' + | 'dailyVolumeToken1' + | 'dailyVolumeUSD' + | 'dailyTxns' + + export type PairHourData = { + id: Scalars['ID'] + hourStartUnix: Scalars['Int'] + pair: Pair + reserve0: Scalars['BigDecimal'] + reserve1: Scalars['BigDecimal'] + reserveUSD: Scalars['BigDecimal'] + hourlyVolumeToken0: Scalars['BigDecimal'] + hourlyVolumeToken1: Scalars['BigDecimal'] + hourlyVolumeUSD: Scalars['BigDecimal'] + hourlyTxns: Scalars['BigInt'] + } + + export type PairHourData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + hourStartUnix?: InputMaybe + hourStartUnix_not?: InputMaybe + hourStartUnix_gt?: InputMaybe + hourStartUnix_lt?: InputMaybe + hourStartUnix_gte?: InputMaybe + hourStartUnix_lte?: InputMaybe + hourStartUnix_in?: InputMaybe> + hourStartUnix_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + hourlyVolumeToken0?: InputMaybe + hourlyVolumeToken0_not?: InputMaybe + hourlyVolumeToken0_gt?: InputMaybe + hourlyVolumeToken0_lt?: InputMaybe + hourlyVolumeToken0_gte?: InputMaybe + hourlyVolumeToken0_lte?: InputMaybe + hourlyVolumeToken0_in?: InputMaybe> + hourlyVolumeToken0_not_in?: InputMaybe> + hourlyVolumeToken1?: InputMaybe + hourlyVolumeToken1_not?: InputMaybe + hourlyVolumeToken1_gt?: InputMaybe + hourlyVolumeToken1_lt?: InputMaybe + hourlyVolumeToken1_gte?: InputMaybe + hourlyVolumeToken1_lte?: InputMaybe + hourlyVolumeToken1_in?: InputMaybe> + hourlyVolumeToken1_not_in?: InputMaybe> + hourlyVolumeUSD?: InputMaybe + hourlyVolumeUSD_not?: InputMaybe + hourlyVolumeUSD_gt?: InputMaybe + hourlyVolumeUSD_lt?: InputMaybe + hourlyVolumeUSD_gte?: InputMaybe + hourlyVolumeUSD_lte?: InputMaybe + hourlyVolumeUSD_in?: InputMaybe> + hourlyVolumeUSD_not_in?: InputMaybe> + hourlyTxns?: InputMaybe + hourlyTxns_not?: InputMaybe + hourlyTxns_gt?: InputMaybe + hourlyTxns_lt?: InputMaybe + hourlyTxns_gte?: InputMaybe + hourlyTxns_lte?: InputMaybe + hourlyTxns_in?: InputMaybe> + hourlyTxns_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type PairHourData_orderBy = + | 'id' + | 'hourStartUnix' + | 'pair' + | 'reserve0' + | 'reserve1' + | 'reserveUSD' + | 'hourlyVolumeToken0' + | 'hourlyVolumeToken1' + | 'hourlyVolumeUSD' + | 'hourlyTxns' + + export type Pair_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + token0?: InputMaybe + token0_not?: InputMaybe + token0_gt?: InputMaybe + token0_lt?: InputMaybe + token0_gte?: InputMaybe + token0_lte?: InputMaybe + token0_in?: InputMaybe> + token0_not_in?: InputMaybe> + token0_contains?: InputMaybe + token0_contains_nocase?: InputMaybe + token0_not_contains?: InputMaybe + token0_not_contains_nocase?: InputMaybe + token0_starts_with?: InputMaybe + token0_starts_with_nocase?: InputMaybe + token0_not_starts_with?: InputMaybe + token0_not_starts_with_nocase?: InputMaybe + token0_ends_with?: InputMaybe + token0_ends_with_nocase?: InputMaybe + token0_not_ends_with?: InputMaybe + token0_not_ends_with_nocase?: InputMaybe + token1?: InputMaybe + token1_not?: InputMaybe + token1_gt?: InputMaybe + token1_lt?: InputMaybe + token1_gte?: InputMaybe + token1_lte?: InputMaybe + token1_in?: InputMaybe> + token1_not_in?: InputMaybe> + token1_contains?: InputMaybe + token1_contains_nocase?: InputMaybe + token1_not_contains?: InputMaybe + token1_not_contains_nocase?: InputMaybe + token1_starts_with?: InputMaybe + token1_starts_with_nocase?: InputMaybe + token1_not_starts_with?: InputMaybe + token1_not_starts_with_nocase?: InputMaybe + token1_ends_with?: InputMaybe + token1_ends_with_nocase?: InputMaybe + token1_not_ends_with?: InputMaybe + token1_not_ends_with_nocase?: InputMaybe + reserve0?: InputMaybe + reserve0_not?: InputMaybe + reserve0_gt?: InputMaybe + reserve0_lt?: InputMaybe + reserve0_gte?: InputMaybe + reserve0_lte?: InputMaybe + reserve0_in?: InputMaybe> + reserve0_not_in?: InputMaybe> + reserve1?: InputMaybe + reserve1_not?: InputMaybe + reserve1_gt?: InputMaybe + reserve1_lt?: InputMaybe + reserve1_gte?: InputMaybe + reserve1_lte?: InputMaybe + reserve1_in?: InputMaybe> + reserve1_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + reserveETH?: InputMaybe + reserveETH_not?: InputMaybe + reserveETH_gt?: InputMaybe + reserveETH_lt?: InputMaybe + reserveETH_gte?: InputMaybe + reserveETH_lte?: InputMaybe + reserveETH_in?: InputMaybe> + reserveETH_not_in?: InputMaybe> + reserveUSD?: InputMaybe + reserveUSD_not?: InputMaybe + reserveUSD_gt?: InputMaybe + reserveUSD_lt?: InputMaybe + reserveUSD_gte?: InputMaybe + reserveUSD_lte?: InputMaybe + reserveUSD_in?: InputMaybe> + reserveUSD_not_in?: InputMaybe> + trackedReserveETH?: InputMaybe + trackedReserveETH_not?: InputMaybe + trackedReserveETH_gt?: InputMaybe + trackedReserveETH_lt?: InputMaybe + trackedReserveETH_gte?: InputMaybe + trackedReserveETH_lte?: InputMaybe + trackedReserveETH_in?: InputMaybe> + trackedReserveETH_not_in?: InputMaybe> + token0Price?: InputMaybe + token0Price_not?: InputMaybe + token0Price_gt?: InputMaybe + token0Price_lt?: InputMaybe + token0Price_gte?: InputMaybe + token0Price_lte?: InputMaybe + token0Price_in?: InputMaybe> + token0Price_not_in?: InputMaybe> + token1Price?: InputMaybe + token1Price_not?: InputMaybe + token1Price_gt?: InputMaybe + token1Price_lt?: InputMaybe + token1Price_gte?: InputMaybe + token1Price_lte?: InputMaybe + token1Price_in?: InputMaybe> + token1Price_not_in?: InputMaybe> + volumeToken0?: InputMaybe + volumeToken0_not?: InputMaybe + volumeToken0_gt?: InputMaybe + volumeToken0_lt?: InputMaybe + volumeToken0_gte?: InputMaybe + volumeToken0_lte?: InputMaybe + volumeToken0_in?: InputMaybe> + volumeToken0_not_in?: InputMaybe> + volumeToken1?: InputMaybe + volumeToken1_not?: InputMaybe + volumeToken1_gt?: InputMaybe + volumeToken1_lt?: InputMaybe + volumeToken1_gte?: InputMaybe + volumeToken1_lte?: InputMaybe + volumeToken1_in?: InputMaybe> + volumeToken1_not_in?: InputMaybe> + volumeUSD?: InputMaybe + volumeUSD_not?: InputMaybe + volumeUSD_gt?: InputMaybe + volumeUSD_lt?: InputMaybe + volumeUSD_gte?: InputMaybe + volumeUSD_lte?: InputMaybe + volumeUSD_in?: InputMaybe> + volumeUSD_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + createdAtTimestamp?: InputMaybe + createdAtTimestamp_not?: InputMaybe + createdAtTimestamp_gt?: InputMaybe + createdAtTimestamp_lt?: InputMaybe + createdAtTimestamp_gte?: InputMaybe + createdAtTimestamp_lte?: InputMaybe + createdAtTimestamp_in?: InputMaybe> + createdAtTimestamp_not_in?: InputMaybe> + createdAtBlockNumber?: InputMaybe + createdAtBlockNumber_not?: InputMaybe + createdAtBlockNumber_gt?: InputMaybe + createdAtBlockNumber_lt?: InputMaybe + createdAtBlockNumber_gte?: InputMaybe + createdAtBlockNumber_lte?: InputMaybe + createdAtBlockNumber_in?: InputMaybe> + createdAtBlockNumber_not_in?: InputMaybe> + liquidityProviderCount?: InputMaybe + liquidityProviderCount_not?: InputMaybe + liquidityProviderCount_gt?: InputMaybe + liquidityProviderCount_lt?: InputMaybe + liquidityProviderCount_gte?: InputMaybe + liquidityProviderCount_lte?: InputMaybe + liquidityProviderCount_in?: InputMaybe> + liquidityProviderCount_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Pair_orderBy = + | 'id' + | 'token0' + | 'token1' + | 'reserve0' + | 'reserve1' + | 'totalSupply' + | 'reserveETH' + | 'reserveUSD' + | 'trackedReserveETH' + | 'token0Price' + | 'token1Price' + | 'volumeToken0' + | 'volumeToken1' + | 'volumeUSD' + | 'untrackedVolumeUSD' + | 'txCount' + | 'createdAtTimestamp' + | 'createdAtBlockNumber' + | 'liquidityProviderCount' + + export type Query = { + uniswapFactory?: Maybe + uniswapFactories: Array + token?: Maybe + tokens: Array + pair?: Maybe + pairs: Array + user?: Maybe + users: Array + liquidityPosition?: Maybe + liquidityPositions: Array + liquidityPositionSnapshot?: Maybe + liquidityPositionSnapshots: Array + transaction?: Maybe + transactions: Array + mint?: Maybe + mints: Array + burn?: Maybe + burns: Array + swap?: Maybe + swaps: Array + bundle?: Maybe + bundles: Array + uniswapDayData?: Maybe + uniswapDayDatas: Array + pairHourData?: Maybe + pairHourDatas: Array + pairDayData?: Maybe + pairDayDatas: Array + tokenDayData?: Maybe + tokenDayDatas: Array + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_> + } + + export type QueryuniswapFactoryArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryuniswapFactoriesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytokenArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryuserArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryusersArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryliquidityPositionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryliquidityPositionSnapshotArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryliquidityPositionSnapshotsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytransactionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytransactionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerymintArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerymintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryburnArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryswapArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerybundleArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerybundlesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryuniswapDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QueryuniswapDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairHourDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairHourDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerypairDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytokenDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type QuerytokenDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type Query_metaArgs = { + block?: InputMaybe + } + + export type Subscription = { + uniswapFactory?: Maybe + uniswapFactories: Array + token?: Maybe + tokens: Array + pair?: Maybe + pairs: Array + user?: Maybe + users: Array + liquidityPosition?: Maybe + liquidityPositions: Array + liquidityPositionSnapshot?: Maybe + liquidityPositionSnapshots: Array + transaction?: Maybe + transactions: Array + mint?: Maybe + mints: Array + burn?: Maybe + burns: Array + swap?: Maybe + swaps: Array + bundle?: Maybe + bundles: Array + uniswapDayData?: Maybe + uniswapDayDatas: Array + pairHourData?: Maybe + pairHourDatas: Array + pairDayData?: Maybe + pairDayDatas: Array + tokenDayData?: Maybe + tokenDayDatas: Array + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_> + } + + export type SubscriptionuniswapFactoryArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionuniswapFactoriesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontokenArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionuserArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionusersArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionliquidityPositionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionliquidityPositionSnapshotArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionliquidityPositionSnapshotsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontransactionArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontransactionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionmintArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionmintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionburnArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionswapArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionbundleArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionbundlesArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionuniswapDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionuniswapDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairHourDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairHourDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptionpairDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontokenDayDataArgs = { + id: Scalars['ID'] + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type SubscriptiontokenDayDatasArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + block?: InputMaybe + subgraphError?: _SubgraphErrorPolicy_ + } + + export type Subscription_metaArgs = { + block?: InputMaybe + } + + export type Swap = { + id: Scalars['ID'] + transaction: Transaction + timestamp: Scalars['BigInt'] + pair: Pair + sender: Scalars['Bytes'] + amount0In: Scalars['BigDecimal'] + amount1In: Scalars['BigDecimal'] + amount0Out: Scalars['BigDecimal'] + amount1Out: Scalars['BigDecimal'] + to: Scalars['Bytes'] + logIndex?: Maybe + amountUSD: Scalars['BigDecimal'] + } + + export type Swap_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + transaction?: InputMaybe + transaction_not?: InputMaybe + transaction_gt?: InputMaybe + transaction_lt?: InputMaybe + transaction_gte?: InputMaybe + transaction_lte?: InputMaybe + transaction_in?: InputMaybe> + transaction_not_in?: InputMaybe> + transaction_contains?: InputMaybe + transaction_contains_nocase?: InputMaybe + transaction_not_contains?: InputMaybe + transaction_not_contains_nocase?: InputMaybe + transaction_starts_with?: InputMaybe + transaction_starts_with_nocase?: InputMaybe + transaction_not_starts_with?: InputMaybe + transaction_not_starts_with_nocase?: InputMaybe + transaction_ends_with?: InputMaybe + transaction_ends_with_nocase?: InputMaybe + transaction_not_ends_with?: InputMaybe + transaction_not_ends_with_nocase?: InputMaybe + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + pair?: InputMaybe + pair_not?: InputMaybe + pair_gt?: InputMaybe + pair_lt?: InputMaybe + pair_gte?: InputMaybe + pair_lte?: InputMaybe + pair_in?: InputMaybe> + pair_not_in?: InputMaybe> + pair_contains?: InputMaybe + pair_contains_nocase?: InputMaybe + pair_not_contains?: InputMaybe + pair_not_contains_nocase?: InputMaybe + pair_starts_with?: InputMaybe + pair_starts_with_nocase?: InputMaybe + pair_not_starts_with?: InputMaybe + pair_not_starts_with_nocase?: InputMaybe + pair_ends_with?: InputMaybe + pair_ends_with_nocase?: InputMaybe + pair_not_ends_with?: InputMaybe + pair_not_ends_with_nocase?: InputMaybe + sender?: InputMaybe + sender_not?: InputMaybe + sender_in?: InputMaybe> + sender_not_in?: InputMaybe> + sender_contains?: InputMaybe + sender_not_contains?: InputMaybe + amount0In?: InputMaybe + amount0In_not?: InputMaybe + amount0In_gt?: InputMaybe + amount0In_lt?: InputMaybe + amount0In_gte?: InputMaybe + amount0In_lte?: InputMaybe + amount0In_in?: InputMaybe> + amount0In_not_in?: InputMaybe> + amount1In?: InputMaybe + amount1In_not?: InputMaybe + amount1In_gt?: InputMaybe + amount1In_lt?: InputMaybe + amount1In_gte?: InputMaybe + amount1In_lte?: InputMaybe + amount1In_in?: InputMaybe> + amount1In_not_in?: InputMaybe> + amount0Out?: InputMaybe + amount0Out_not?: InputMaybe + amount0Out_gt?: InputMaybe + amount0Out_lt?: InputMaybe + amount0Out_gte?: InputMaybe + amount0Out_lte?: InputMaybe + amount0Out_in?: InputMaybe> + amount0Out_not_in?: InputMaybe> + amount1Out?: InputMaybe + amount1Out_not?: InputMaybe + amount1Out_gt?: InputMaybe + amount1Out_lt?: InputMaybe + amount1Out_gte?: InputMaybe + amount1Out_lte?: InputMaybe + amount1Out_in?: InputMaybe> + amount1Out_not_in?: InputMaybe> + to?: InputMaybe + to_not?: InputMaybe + to_in?: InputMaybe> + to_not_in?: InputMaybe> + to_contains?: InputMaybe + to_not_contains?: InputMaybe + logIndex?: InputMaybe + logIndex_not?: InputMaybe + logIndex_gt?: InputMaybe + logIndex_lt?: InputMaybe + logIndex_gte?: InputMaybe + logIndex_lte?: InputMaybe + logIndex_in?: InputMaybe> + logIndex_not_in?: InputMaybe> + amountUSD?: InputMaybe + amountUSD_not?: InputMaybe + amountUSD_gt?: InputMaybe + amountUSD_lt?: InputMaybe + amountUSD_gte?: InputMaybe + amountUSD_lte?: InputMaybe + amountUSD_in?: InputMaybe> + amountUSD_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Swap_orderBy = + | 'id' + | 'transaction' + | 'timestamp' + | 'pair' + | 'sender' + | 'amount0In' + | 'amount1In' + | 'amount0Out' + | 'amount1Out' + | 'to' + | 'logIndex' + | 'amountUSD' + + export type Token = { + id: Scalars['ID'] + symbol: Scalars['String'] + name: Scalars['String'] + decimals: Scalars['BigInt'] + totalSupply: Scalars['BigInt'] + tradeVolume: Scalars['BigDecimal'] + tradeVolumeUSD: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + totalLiquidity: Scalars['BigDecimal'] + derivedETH?: Maybe + mostLiquidPairs: Array> + } + + export type TokenmostLiquidPairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type TokenDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + token: Token + dailyVolumeToken: Scalars['BigDecimal'] + dailyVolumeETH: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyTxns: Scalars['BigInt'] + totalLiquidityToken: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + priceUSD: Scalars['BigDecimal'] + maxStored: Scalars['Int'] + mostLiquidPairs: Array + } + + export type TokenDayDatamostLiquidPairsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type TokenDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + token?: InputMaybe + token_not?: InputMaybe + token_gt?: InputMaybe + token_lt?: InputMaybe + token_gte?: InputMaybe + token_lte?: InputMaybe + token_in?: InputMaybe> + token_not_in?: InputMaybe> + token_contains?: InputMaybe + token_contains_nocase?: InputMaybe + token_not_contains?: InputMaybe + token_not_contains_nocase?: InputMaybe + token_starts_with?: InputMaybe + token_starts_with_nocase?: InputMaybe + token_not_starts_with?: InputMaybe + token_not_starts_with_nocase?: InputMaybe + token_ends_with?: InputMaybe + token_ends_with_nocase?: InputMaybe + token_not_ends_with?: InputMaybe + token_not_ends_with_nocase?: InputMaybe + dailyVolumeToken?: InputMaybe + dailyVolumeToken_not?: InputMaybe + dailyVolumeToken_gt?: InputMaybe + dailyVolumeToken_lt?: InputMaybe + dailyVolumeToken_gte?: InputMaybe + dailyVolumeToken_lte?: InputMaybe + dailyVolumeToken_in?: InputMaybe> + dailyVolumeToken_not_in?: InputMaybe> + dailyVolumeETH?: InputMaybe + dailyVolumeETH_not?: InputMaybe + dailyVolumeETH_gt?: InputMaybe + dailyVolumeETH_lt?: InputMaybe + dailyVolumeETH_gte?: InputMaybe + dailyVolumeETH_lte?: InputMaybe + dailyVolumeETH_in?: InputMaybe> + dailyVolumeETH_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyTxns?: InputMaybe + dailyTxns_not?: InputMaybe + dailyTxns_gt?: InputMaybe + dailyTxns_lt?: InputMaybe + dailyTxns_gte?: InputMaybe + dailyTxns_lte?: InputMaybe + dailyTxns_in?: InputMaybe> + dailyTxns_not_in?: InputMaybe> + totalLiquidityToken?: InputMaybe + totalLiquidityToken_not?: InputMaybe + totalLiquidityToken_gt?: InputMaybe + totalLiquidityToken_lt?: InputMaybe + totalLiquidityToken_gte?: InputMaybe + totalLiquidityToken_lte?: InputMaybe + totalLiquidityToken_in?: InputMaybe> + totalLiquidityToken_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + priceUSD?: InputMaybe + priceUSD_not?: InputMaybe + priceUSD_gt?: InputMaybe + priceUSD_lt?: InputMaybe + priceUSD_gte?: InputMaybe + priceUSD_lte?: InputMaybe + priceUSD_in?: InputMaybe> + priceUSD_not_in?: InputMaybe> + maxStored?: InputMaybe + maxStored_not?: InputMaybe + maxStored_gt?: InputMaybe + maxStored_lt?: InputMaybe + maxStored_gte?: InputMaybe + maxStored_lte?: InputMaybe + maxStored_in?: InputMaybe> + maxStored_not_in?: InputMaybe> + mostLiquidPairs?: InputMaybe> + mostLiquidPairs_not?: InputMaybe> + mostLiquidPairs_contains?: InputMaybe> + mostLiquidPairs_contains_nocase?: InputMaybe> + mostLiquidPairs_not_contains?: InputMaybe> + mostLiquidPairs_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type TokenDayData_orderBy = + | 'id' + | 'date' + | 'token' + | 'dailyVolumeToken' + | 'dailyVolumeETH' + | 'dailyVolumeUSD' + | 'dailyTxns' + | 'totalLiquidityToken' + | 'totalLiquidityETH' + | 'totalLiquidityUSD' + | 'priceUSD' + | 'maxStored' + | 'mostLiquidPairs' + + export type Token_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + symbol?: InputMaybe + symbol_not?: InputMaybe + symbol_gt?: InputMaybe + symbol_lt?: InputMaybe + symbol_gte?: InputMaybe + symbol_lte?: InputMaybe + symbol_in?: InputMaybe> + symbol_not_in?: InputMaybe> + symbol_contains?: InputMaybe + symbol_contains_nocase?: InputMaybe + symbol_not_contains?: InputMaybe + symbol_not_contains_nocase?: InputMaybe + symbol_starts_with?: InputMaybe + symbol_starts_with_nocase?: InputMaybe + symbol_not_starts_with?: InputMaybe + symbol_not_starts_with_nocase?: InputMaybe + symbol_ends_with?: InputMaybe + symbol_ends_with_nocase?: InputMaybe + symbol_not_ends_with?: InputMaybe + symbol_not_ends_with_nocase?: InputMaybe + name?: InputMaybe + name_not?: InputMaybe + name_gt?: InputMaybe + name_lt?: InputMaybe + name_gte?: InputMaybe + name_lte?: InputMaybe + name_in?: InputMaybe> + name_not_in?: InputMaybe> + name_contains?: InputMaybe + name_contains_nocase?: InputMaybe + name_not_contains?: InputMaybe + name_not_contains_nocase?: InputMaybe + name_starts_with?: InputMaybe + name_starts_with_nocase?: InputMaybe + name_not_starts_with?: InputMaybe + name_not_starts_with_nocase?: InputMaybe + name_ends_with?: InputMaybe + name_ends_with_nocase?: InputMaybe + name_not_ends_with?: InputMaybe + name_not_ends_with_nocase?: InputMaybe + decimals?: InputMaybe + decimals_not?: InputMaybe + decimals_gt?: InputMaybe + decimals_lt?: InputMaybe + decimals_gte?: InputMaybe + decimals_lte?: InputMaybe + decimals_in?: InputMaybe> + decimals_not_in?: InputMaybe> + totalSupply?: InputMaybe + totalSupply_not?: InputMaybe + totalSupply_gt?: InputMaybe + totalSupply_lt?: InputMaybe + totalSupply_gte?: InputMaybe + totalSupply_lte?: InputMaybe + totalSupply_in?: InputMaybe> + totalSupply_not_in?: InputMaybe> + tradeVolume?: InputMaybe + tradeVolume_not?: InputMaybe + tradeVolume_gt?: InputMaybe + tradeVolume_lt?: InputMaybe + tradeVolume_gte?: InputMaybe + tradeVolume_lte?: InputMaybe + tradeVolume_in?: InputMaybe> + tradeVolume_not_in?: InputMaybe> + tradeVolumeUSD?: InputMaybe + tradeVolumeUSD_not?: InputMaybe + tradeVolumeUSD_gt?: InputMaybe + tradeVolumeUSD_lt?: InputMaybe + tradeVolumeUSD_gte?: InputMaybe + tradeVolumeUSD_lte?: InputMaybe + tradeVolumeUSD_in?: InputMaybe> + tradeVolumeUSD_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + totalLiquidity?: InputMaybe + totalLiquidity_not?: InputMaybe + totalLiquidity_gt?: InputMaybe + totalLiquidity_lt?: InputMaybe + totalLiquidity_gte?: InputMaybe + totalLiquidity_lte?: InputMaybe + totalLiquidity_in?: InputMaybe> + totalLiquidity_not_in?: InputMaybe> + derivedETH?: InputMaybe + derivedETH_not?: InputMaybe + derivedETH_gt?: InputMaybe + derivedETH_lt?: InputMaybe + derivedETH_gte?: InputMaybe + derivedETH_lte?: InputMaybe + derivedETH_in?: InputMaybe> + derivedETH_not_in?: InputMaybe> + mostLiquidPairs?: InputMaybe> + mostLiquidPairs_not?: InputMaybe> + mostLiquidPairs_contains?: InputMaybe> + mostLiquidPairs_contains_nocase?: InputMaybe> + mostLiquidPairs_not_contains?: InputMaybe> + mostLiquidPairs_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Token_orderBy = + | 'id' + | 'symbol' + | 'name' + | 'decimals' + | 'totalSupply' + | 'tradeVolume' + | 'tradeVolumeUSD' + | 'untrackedVolumeUSD' + | 'txCount' + | 'totalLiquidity' + | 'derivedETH' + | 'mostLiquidPairs' + + export type Transaction = { + id: Scalars['ID'] + blockNumber: Scalars['BigInt'] + timestamp: Scalars['BigInt'] + mints: Array> + burns: Array> + swaps: Array> + } + + export type TransactionmintsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type TransactionburnsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type TransactionswapsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type Transaction_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + blockNumber?: InputMaybe + blockNumber_not?: InputMaybe + blockNumber_gt?: InputMaybe + blockNumber_lt?: InputMaybe + blockNumber_gte?: InputMaybe + blockNumber_lte?: InputMaybe + blockNumber_in?: InputMaybe> + blockNumber_not_in?: InputMaybe> + timestamp?: InputMaybe + timestamp_not?: InputMaybe + timestamp_gt?: InputMaybe + timestamp_lt?: InputMaybe + timestamp_gte?: InputMaybe + timestamp_lte?: InputMaybe + timestamp_in?: InputMaybe> + timestamp_not_in?: InputMaybe> + mints?: InputMaybe> + mints_not?: InputMaybe> + mints_contains?: InputMaybe> + mints_contains_nocase?: InputMaybe> + mints_not_contains?: InputMaybe> + mints_not_contains_nocase?: InputMaybe> + burns?: InputMaybe> + burns_not?: InputMaybe> + burns_contains?: InputMaybe> + burns_contains_nocase?: InputMaybe> + burns_not_contains?: InputMaybe> + burns_not_contains_nocase?: InputMaybe> + swaps?: InputMaybe> + swaps_not?: InputMaybe> + swaps_contains?: InputMaybe> + swaps_contains_nocase?: InputMaybe> + swaps_not_contains?: InputMaybe> + swaps_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type Transaction_orderBy = 'id' | 'blockNumber' | 'timestamp' | 'mints' | 'burns' | 'swaps' + + export type UniswapDayData = { + id: Scalars['ID'] + date: Scalars['Int'] + dailyVolumeETH: Scalars['BigDecimal'] + dailyVolumeUSD: Scalars['BigDecimal'] + dailyVolumeUntracked: Scalars['BigDecimal'] + totalVolumeETH: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + totalVolumeUSD: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + maxStored?: Maybe + mostLiquidTokens: Array + txCount: Scalars['BigInt'] + } + + export type UniswapDayDatamostLiquidTokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type UniswapDayData_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + date?: InputMaybe + date_not?: InputMaybe + date_gt?: InputMaybe + date_lt?: InputMaybe + date_gte?: InputMaybe + date_lte?: InputMaybe + date_in?: InputMaybe> + date_not_in?: InputMaybe> + dailyVolumeETH?: InputMaybe + dailyVolumeETH_not?: InputMaybe + dailyVolumeETH_gt?: InputMaybe + dailyVolumeETH_lt?: InputMaybe + dailyVolumeETH_gte?: InputMaybe + dailyVolumeETH_lte?: InputMaybe + dailyVolumeETH_in?: InputMaybe> + dailyVolumeETH_not_in?: InputMaybe> + dailyVolumeUSD?: InputMaybe + dailyVolumeUSD_not?: InputMaybe + dailyVolumeUSD_gt?: InputMaybe + dailyVolumeUSD_lt?: InputMaybe + dailyVolumeUSD_gte?: InputMaybe + dailyVolumeUSD_lte?: InputMaybe + dailyVolumeUSD_in?: InputMaybe> + dailyVolumeUSD_not_in?: InputMaybe> + dailyVolumeUntracked?: InputMaybe + dailyVolumeUntracked_not?: InputMaybe + dailyVolumeUntracked_gt?: InputMaybe + dailyVolumeUntracked_lt?: InputMaybe + dailyVolumeUntracked_gte?: InputMaybe + dailyVolumeUntracked_lte?: InputMaybe + dailyVolumeUntracked_in?: InputMaybe> + dailyVolumeUntracked_not_in?: InputMaybe> + totalVolumeETH?: InputMaybe + totalVolumeETH_not?: InputMaybe + totalVolumeETH_gt?: InputMaybe + totalVolumeETH_lt?: InputMaybe + totalVolumeETH_gte?: InputMaybe + totalVolumeETH_lte?: InputMaybe + totalVolumeETH_in?: InputMaybe> + totalVolumeETH_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + totalVolumeUSD?: InputMaybe + totalVolumeUSD_not?: InputMaybe + totalVolumeUSD_gt?: InputMaybe + totalVolumeUSD_lt?: InputMaybe + totalVolumeUSD_gte?: InputMaybe + totalVolumeUSD_lte?: InputMaybe + totalVolumeUSD_in?: InputMaybe> + totalVolumeUSD_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + maxStored?: InputMaybe + maxStored_not?: InputMaybe + maxStored_gt?: InputMaybe + maxStored_lt?: InputMaybe + maxStored_gte?: InputMaybe + maxStored_lte?: InputMaybe + maxStored_in?: InputMaybe> + maxStored_not_in?: InputMaybe> + mostLiquidTokens?: InputMaybe> + mostLiquidTokens_not?: InputMaybe> + mostLiquidTokens_contains?: InputMaybe> + mostLiquidTokens_contains_nocase?: InputMaybe> + mostLiquidTokens_not_contains?: InputMaybe> + mostLiquidTokens_not_contains_nocase?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type UniswapDayData_orderBy = + | 'id' + | 'date' + | 'dailyVolumeETH' + | 'dailyVolumeUSD' + | 'dailyVolumeUntracked' + | 'totalVolumeETH' + | 'totalLiquidityETH' + | 'totalVolumeUSD' + | 'totalLiquidityUSD' + | 'maxStored' + | 'mostLiquidTokens' + | 'txCount' + + export type UniswapFactory = { + id: Scalars['ID'] + pairCount: Scalars['Int'] + totalVolumeUSD: Scalars['BigDecimal'] + totalVolumeETH: Scalars['BigDecimal'] + untrackedVolumeUSD: Scalars['BigDecimal'] + totalLiquidityUSD: Scalars['BigDecimal'] + totalLiquidityETH: Scalars['BigDecimal'] + txCount: Scalars['BigInt'] + mostLiquidTokens: Array + } + + export type UniswapFactorymostLiquidTokensArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type UniswapFactory_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + pairCount?: InputMaybe + pairCount_not?: InputMaybe + pairCount_gt?: InputMaybe + pairCount_lt?: InputMaybe + pairCount_gte?: InputMaybe + pairCount_lte?: InputMaybe + pairCount_in?: InputMaybe> + pairCount_not_in?: InputMaybe> + totalVolumeUSD?: InputMaybe + totalVolumeUSD_not?: InputMaybe + totalVolumeUSD_gt?: InputMaybe + totalVolumeUSD_lt?: InputMaybe + totalVolumeUSD_gte?: InputMaybe + totalVolumeUSD_lte?: InputMaybe + totalVolumeUSD_in?: InputMaybe> + totalVolumeUSD_not_in?: InputMaybe> + totalVolumeETH?: InputMaybe + totalVolumeETH_not?: InputMaybe + totalVolumeETH_gt?: InputMaybe + totalVolumeETH_lt?: InputMaybe + totalVolumeETH_gte?: InputMaybe + totalVolumeETH_lte?: InputMaybe + totalVolumeETH_in?: InputMaybe> + totalVolumeETH_not_in?: InputMaybe> + untrackedVolumeUSD?: InputMaybe + untrackedVolumeUSD_not?: InputMaybe + untrackedVolumeUSD_gt?: InputMaybe + untrackedVolumeUSD_lt?: InputMaybe + untrackedVolumeUSD_gte?: InputMaybe + untrackedVolumeUSD_lte?: InputMaybe + untrackedVolumeUSD_in?: InputMaybe> + untrackedVolumeUSD_not_in?: InputMaybe> + totalLiquidityUSD?: InputMaybe + totalLiquidityUSD_not?: InputMaybe + totalLiquidityUSD_gt?: InputMaybe + totalLiquidityUSD_lt?: InputMaybe + totalLiquidityUSD_gte?: InputMaybe + totalLiquidityUSD_lte?: InputMaybe + totalLiquidityUSD_in?: InputMaybe> + totalLiquidityUSD_not_in?: InputMaybe> + totalLiquidityETH?: InputMaybe + totalLiquidityETH_not?: InputMaybe + totalLiquidityETH_gt?: InputMaybe + totalLiquidityETH_lt?: InputMaybe + totalLiquidityETH_gte?: InputMaybe + totalLiquidityETH_lte?: InputMaybe + totalLiquidityETH_in?: InputMaybe> + totalLiquidityETH_not_in?: InputMaybe> + txCount?: InputMaybe + txCount_not?: InputMaybe + txCount_gt?: InputMaybe + txCount_lt?: InputMaybe + txCount_gte?: InputMaybe + txCount_lte?: InputMaybe + txCount_in?: InputMaybe> + txCount_not_in?: InputMaybe> + mostLiquidTokens?: InputMaybe> + mostLiquidTokens_not?: InputMaybe> + mostLiquidTokens_contains?: InputMaybe> + mostLiquidTokens_contains_nocase?: InputMaybe> + mostLiquidTokens_not_contains?: InputMaybe> + mostLiquidTokens_not_contains_nocase?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type UniswapFactory_orderBy = + | 'id' + | 'pairCount' + | 'totalVolumeUSD' + | 'totalVolumeETH' + | 'untrackedVolumeUSD' + | 'totalLiquidityUSD' + | 'totalLiquidityETH' + | 'txCount' + | 'mostLiquidTokens' + + export type User = { + id: Scalars['ID'] + liquidityPositions?: Maybe> + usdSwapped: Scalars['BigDecimal'] + } + + export type UserliquidityPositionsArgs = { + skip?: InputMaybe + first?: InputMaybe + orderBy?: InputMaybe + orderDirection?: InputMaybe + where?: InputMaybe + } + + export type User_filter = { + id?: InputMaybe + id_not?: InputMaybe + id_gt?: InputMaybe + id_lt?: InputMaybe + id_gte?: InputMaybe + id_lte?: InputMaybe + id_in?: InputMaybe> + id_not_in?: InputMaybe> + usdSwapped?: InputMaybe + usdSwapped_not?: InputMaybe + usdSwapped_gt?: InputMaybe + usdSwapped_lt?: InputMaybe + usdSwapped_gte?: InputMaybe + usdSwapped_lte?: InputMaybe + usdSwapped_in?: InputMaybe> + usdSwapped_not_in?: InputMaybe> + /** Filter for the block changed event. */ + _change_block?: InputMaybe + } + + export type User_orderBy = 'id' | 'liquidityPositions' | 'usdSwapped' + + export type _Block_ = { + /** The hash of the block */ + hash?: Maybe + /** The block number */ + number: Scalars['Int'] + } + + /** The type for the top-level _meta field */ + export type _Meta_ = { + /** + * Information about a specific subgraph block. The hash of the block + * will be null if the _meta field has a block constraint that asks for + * a block number. It will be filled if the _meta field has no block constraint + * and therefore asks for the latest block + * + */ + block: _Block_ + /** The deployment ID */ + deployment: Scalars['String'] + /** If `true`, the subgraph encountered indexing errors at some past block */ + hasIndexingErrors: Scalars['Boolean'] + } + + export type _SubgraphErrorPolicy_ = + /** Data will be returned even if the subgraph has indexing errors */ + | 'allow' + /** If the subgraph has indexing errors, data will be omitted. The default. */ + | 'deny' +} +export type QueryUniswapSdk = { + /** null **/ + uniswapFactory: InContextSdkMethod< + UniswapTypes.Query['uniswapFactory'], + UniswapTypes.QueryuniswapFactoryArgs, + MeshContext + > + /** null **/ + uniswapFactories: InContextSdkMethod< + UniswapTypes.Query['uniswapFactories'], + UniswapTypes.QueryuniswapFactoriesArgs, + MeshContext + > + /** null **/ + token: InContextSdkMethod + /** null **/ + tokens: InContextSdkMethod + /** null **/ + pair: InContextSdkMethod + /** null **/ + pairs: InContextSdkMethod + /** null **/ + user: InContextSdkMethod + /** null **/ + users: InContextSdkMethod + /** null **/ + liquidityPosition: InContextSdkMethod< + UniswapTypes.Query['liquidityPosition'], + UniswapTypes.QueryliquidityPositionArgs, + MeshContext + > + /** null **/ + liquidityPositions: InContextSdkMethod< + UniswapTypes.Query['liquidityPositions'], + UniswapTypes.QueryliquidityPositionsArgs, + MeshContext + > + /** null **/ + liquidityPositionSnapshot: InContextSdkMethod< + UniswapTypes.Query['liquidityPositionSnapshot'], + UniswapTypes.QueryliquidityPositionSnapshotArgs, + MeshContext + > + /** null **/ + liquidityPositionSnapshots: InContextSdkMethod< + UniswapTypes.Query['liquidityPositionSnapshots'], + UniswapTypes.QueryliquidityPositionSnapshotsArgs, + MeshContext + > + /** null **/ + transaction: InContextSdkMethod + /** null **/ + transactions: InContextSdkMethod + /** null **/ + mint: InContextSdkMethod + /** null **/ + mints: InContextSdkMethod + /** null **/ + burn: InContextSdkMethod + /** null **/ + burns: InContextSdkMethod + /** null **/ + swap: InContextSdkMethod + /** null **/ + swaps: InContextSdkMethod + /** null **/ + bundle: InContextSdkMethod + /** null **/ + bundles: InContextSdkMethod + /** null **/ + uniswapDayData: InContextSdkMethod< + UniswapTypes.Query['uniswapDayData'], + UniswapTypes.QueryuniswapDayDataArgs, + MeshContext + > + /** null **/ + uniswapDayDatas: InContextSdkMethod< + UniswapTypes.Query['uniswapDayDatas'], + UniswapTypes.QueryuniswapDayDatasArgs, + MeshContext + > + /** null **/ + pairHourData: InContextSdkMethod + /** null **/ + pairHourDatas: InContextSdkMethod< + UniswapTypes.Query['pairHourDatas'], + UniswapTypes.QuerypairHourDatasArgs, + MeshContext + > + /** null **/ + pairDayData: InContextSdkMethod + /** null **/ + pairDayDatas: InContextSdkMethod + /** null **/ + tokenDayData: InContextSdkMethod + /** null **/ + tokenDayDatas: InContextSdkMethod< + UniswapTypes.Query['tokenDayDatas'], + UniswapTypes.QuerytokenDayDatasArgs, + MeshContext + > + /** Access to subgraph metadata **/ + _meta: InContextSdkMethod +} + +export type MutationUniswapSdk = {} + +export type SubscriptionUniswapSdk = { + /** null **/ + uniswapFactory: InContextSdkMethod< + UniswapTypes.Subscription['uniswapFactory'], + UniswapTypes.SubscriptionuniswapFactoryArgs, + MeshContext + > + /** null **/ + uniswapFactories: InContextSdkMethod< + UniswapTypes.Subscription['uniswapFactories'], + UniswapTypes.SubscriptionuniswapFactoriesArgs, + MeshContext + > + /** null **/ + token: InContextSdkMethod + /** null **/ + tokens: InContextSdkMethod + /** null **/ + pair: InContextSdkMethod + /** null **/ + pairs: InContextSdkMethod + /** null **/ + user: InContextSdkMethod + /** null **/ + users: InContextSdkMethod + /** null **/ + liquidityPosition: InContextSdkMethod< + UniswapTypes.Subscription['liquidityPosition'], + UniswapTypes.SubscriptionliquidityPositionArgs, + MeshContext + > + /** null **/ + liquidityPositions: InContextSdkMethod< + UniswapTypes.Subscription['liquidityPositions'], + UniswapTypes.SubscriptionliquidityPositionsArgs, + MeshContext + > + /** null **/ + liquidityPositionSnapshot: InContextSdkMethod< + UniswapTypes.Subscription['liquidityPositionSnapshot'], + UniswapTypes.SubscriptionliquidityPositionSnapshotArgs, + MeshContext + > + /** null **/ + liquidityPositionSnapshots: InContextSdkMethod< + UniswapTypes.Subscription['liquidityPositionSnapshots'], + UniswapTypes.SubscriptionliquidityPositionSnapshotsArgs, + MeshContext + > + /** null **/ + transaction: InContextSdkMethod< + UniswapTypes.Subscription['transaction'], + UniswapTypes.SubscriptiontransactionArgs, + MeshContext + > + /** null **/ + transactions: InContextSdkMethod< + UniswapTypes.Subscription['transactions'], + UniswapTypes.SubscriptiontransactionsArgs, + MeshContext + > + /** null **/ + mint: InContextSdkMethod + /** null **/ + mints: InContextSdkMethod + /** null **/ + burn: InContextSdkMethod + /** null **/ + burns: InContextSdkMethod + /** null **/ + swap: InContextSdkMethod + /** null **/ + swaps: InContextSdkMethod + /** null **/ + bundle: InContextSdkMethod + /** null **/ + bundles: InContextSdkMethod + /** null **/ + uniswapDayData: InContextSdkMethod< + UniswapTypes.Subscription['uniswapDayData'], + UniswapTypes.SubscriptionuniswapDayDataArgs, + MeshContext + > + /** null **/ + uniswapDayDatas: InContextSdkMethod< + UniswapTypes.Subscription['uniswapDayDatas'], + UniswapTypes.SubscriptionuniswapDayDatasArgs, + MeshContext + > + /** null **/ + pairHourData: InContextSdkMethod< + UniswapTypes.Subscription['pairHourData'], + UniswapTypes.SubscriptionpairHourDataArgs, + MeshContext + > + /** null **/ + pairHourDatas: InContextSdkMethod< + UniswapTypes.Subscription['pairHourDatas'], + UniswapTypes.SubscriptionpairHourDatasArgs, + MeshContext + > + /** null **/ + pairDayData: InContextSdkMethod< + UniswapTypes.Subscription['pairDayData'], + UniswapTypes.SubscriptionpairDayDataArgs, + MeshContext + > + /** null **/ + pairDayDatas: InContextSdkMethod< + UniswapTypes.Subscription['pairDayDatas'], + UniswapTypes.SubscriptionpairDayDatasArgs, + MeshContext + > + /** null **/ + tokenDayData: InContextSdkMethod< + UniswapTypes.Subscription['tokenDayData'], + UniswapTypes.SubscriptiontokenDayDataArgs, + MeshContext + > + /** null **/ + tokenDayDatas: InContextSdkMethod< + UniswapTypes.Subscription['tokenDayDatas'], + UniswapTypes.SubscriptiontokenDayDatasArgs, + MeshContext + > + /** Access to subgraph metadata **/ + _meta: InContextSdkMethod +} + +export type UniswapContext = { + ['uniswap']: { Query: QueryUniswapSdk; Mutation: MutationUniswapSdk; Subscription: SubscriptionUniswapSdk } +} + +export type MeshContext = UniswapContext & BaseMeshContext + +import { getMesh } from '@graphql-mesh/runtime' +import { MeshStore, FsStoreStorageAdapter } from '@graphql-mesh/store' +import { path as pathModule } from '@graphql-mesh/cross-helpers' +import { fileURLToPath } from '@graphql-mesh/utils' + +const importedModules: Record = {} + +const baseDir = pathModule.join(__dirname, '..') + +const importFn = (moduleId: string) => { + const relativeModuleId = (pathModule.isAbsolute(moduleId) ? pathModule.relative(baseDir, moduleId) : moduleId) + .split('\\') + .join('/') + .replace(baseDir + '/', '') + if (!(relativeModuleId in importedModules)) { + throw new Error(`Cannot find module '${relativeModuleId}'.`) + } + return Promise.resolve(importedModules[relativeModuleId]) +} + +const rootStore = new MeshStore( + '.graphclient', + new FsStoreStorageAdapter({ + cwd: baseDir, + importFn, + fileType: 'ts', + }), + { + readonly: true, + validate: false, + }, +) + +import { findAndParseConfig } from '@graphql-mesh/cli' +function getMeshOptions() { + console.warn( + 'WARNING: These artifacts are built for development mode. Please run "graphclient build" to build production artifacts', + ) + return findAndParseConfig({ + dir: baseDir, + artifactsDir: '.graphclient', + configName: 'graphclient', + additionalPackagePrefixes: ['@graphprotocol/client-'], + }) +} + +export const documentsInSDL = /*#__PURE__*/ [] + +export async function getBuiltGraphClient(): Promise> { + const meshConfig = await getMeshOptions() + return getMesh(meshConfig) +} + +export async function getBuiltGraphSDK(globalContext?: TGlobalContext) { + const { sdkRequesterFactory } = await getBuiltGraphClient() + return getSdk(sdkRequesterFactory(globalContext)) +} + +export type Requester = (doc: DocumentNode, vars?: V, options?: C) => Promise +export function getSdk(requester: Requester) { + return {} +} +export type Sdk = ReturnType diff --git a/examples/transforms/.graphclient/schema.graphql b/examples/transforms/.graphclient/schema.graphql new file mode 100644 index 00000000..757408f2 --- /dev/null +++ b/examples/transforms/.graphclient/schema.graphql @@ -0,0 +1,2988 @@ +""" +Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive. +""" +directive @entity on OBJECT + +""" +Defined a Subgraph ID for an object type +""" +directive @subgraphId(id: String!) on OBJECT + +""" +creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API. +""" +directive @derivedFrom(field: String!) on FIELD_DEFINITION + +scalar BigDecimal + +scalar BigInt + +input BlockChangedFilter { + number_gte: Int! +} + +input Block_height { + hash: Bytes + number: Int + number_gte: Int +} + +type Bundle { + id: ID! + ethPrice: BigDecimal! +} + +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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Bundle_orderBy { + id + ethPrice +} + +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 +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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_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_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_in: [Boolean!] + needsComplete_not_in: [Boolean!] + feeTo: Bytes + feeTo_not: 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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Burn_orderBy { + id + transaction + timestamp + pair + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity +} + +scalar Bytes + +type LiquidityPosition { + id: ID! + user: User! + pair: Pair! + liquidityTokenBalance: 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! +} + +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_contains: String + liquidityPosition_contains_nocase: String + liquidityPosition_not_contains: String + liquidityPosition_not_contains_nocase: 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 + 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_contains: String + user_contains_nocase: String + user_not_contains: String + user_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum LiquidityPositionSnapshot_orderBy { + id + liquidityPosition + timestamp + block + user + pair + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + 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_contains: String + user_contains_nocase: String + user_not_contains: String + user_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + liquidityTokenBalance: BigDecimal + liquidityTokenBalance_not: BigDecimal + liquidityTokenBalance_gt: BigDecimal + liquidityTokenBalance_lt: BigDecimal + liquidityTokenBalance_gte: BigDecimal + liquidityTokenBalance_lte: BigDecimal + liquidityTokenBalance_in: [BigDecimal!] + liquidityTokenBalance_not_in: [BigDecimal!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum LiquidityPosition_orderBy { + id + user + pair + liquidityTokenBalance +} + +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 +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + to: Bytes + to_not: 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_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_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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Mint_orderBy { + id + transaction + timestamp + pair + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity +} + +""" +Defines the order direction, either ascending or descending +""" +enum OrderDirection { + asc + desc +} + +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! +} + +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! +} + +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_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_contains: String + token0_contains_nocase: String + token0_not_contains: String + token0_not_contains_nocase: 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 + 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_contains: String + token1_contains_nocase: String + token1_not_contains: String + token1_not_contains_nocase: 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 + 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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum PairDayData_orderBy { + id + date + pairAddress + token0 + token1 + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns +} + +type PairHourData { + id: ID! + hourStartUnix: Int! + pair: Pair! + reserve0: BigDecimal! + reserve1: BigDecimal! + reserveUSD: BigDecimal! + hourlyVolumeToken0: BigDecimal! + hourlyVolumeToken1: BigDecimal! + hourlyVolumeUSD: BigDecimal! + hourlyTxns: BigInt! +} + +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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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!] + 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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum PairHourData_orderBy { + id + hourStartUnix + pair + reserve0 + reserve1 + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns +} + +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_contains: String + token0_contains_nocase: String + token0_not_contains: String + token0_not_contains_nocase: 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 + 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_contains: String + token1_contains_nocase: String + token1_not_contains: String + token1_not_contains_nocase: 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 + 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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Pair_orderBy { + id + token0 + token1 + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount +} + +type Query { + uniswapFactory( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapFactory + uniswapFactories( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapFactory_orderBy + orderDirection: OrderDirection + where: UniswapFactory_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapFactory!]! + token( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Token + tokens( + skip: Int = 0 + first: Int = 100 + orderBy: Token_orderBy + orderDirection: OrderDirection + where: Token_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Token!]! + pair( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Pair + pairs( + skip: Int = 0 + first: Int = 100 + orderBy: Pair_orderBy + orderDirection: OrderDirection + where: Pair_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Pair!]! + user( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): User + users( + skip: Int = 0 + first: Int = 100 + orderBy: User_orderBy + orderDirection: OrderDirection + where: User_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [User!]! + liquidityPosition( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPosition + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPosition!]! + liquidityPositionSnapshot( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPositionSnapshot + liquidityPositionSnapshots( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPositionSnapshot_orderBy + orderDirection: OrderDirection + where: LiquidityPositionSnapshot_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPositionSnapshot!]! + transaction( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Transaction + transactions( + skip: Int = 0 + first: Int = 100 + orderBy: Transaction_orderBy + orderDirection: OrderDirection + where: Transaction_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Transaction!]! + mint( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Mint + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Mint!]! + burn( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Burn + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Burn!]! + swap( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Swap + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Swap!]! + bundle( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Bundle + bundles( + skip: Int = 0 + first: Int = 100 + orderBy: Bundle_orderBy + orderDirection: OrderDirection + where: Bundle_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Bundle!]! + uniswapDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapDayData + uniswapDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapDayData_orderBy + orderDirection: OrderDirection + where: UniswapDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapDayData!]! + pairHourData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairHourData + pairHourDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairHourData_orderBy + orderDirection: OrderDirection + where: PairHourData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairHourData!]! + pairDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairDayData + pairDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairDayData!]! + tokenDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): TokenDayData + tokenDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [TokenDayData!]! + + """ + Access to subgraph metadata + """ + _meta(block: Block_height): _Meta_ +} + +type Subscription { + uniswapFactory( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapFactory + uniswapFactories( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapFactory_orderBy + orderDirection: OrderDirection + where: UniswapFactory_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapFactory!]! + token( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Token + tokens( + skip: Int = 0 + first: Int = 100 + orderBy: Token_orderBy + orderDirection: OrderDirection + where: Token_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Token!]! + pair( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Pair + pairs( + skip: Int = 0 + first: Int = 100 + orderBy: Pair_orderBy + orderDirection: OrderDirection + where: Pair_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Pair!]! + user( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): User + users( + skip: Int = 0 + first: Int = 100 + orderBy: User_orderBy + orderDirection: OrderDirection + where: User_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [User!]! + liquidityPosition( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPosition + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPosition!]! + liquidityPositionSnapshot( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPositionSnapshot + liquidityPositionSnapshots( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPositionSnapshot_orderBy + orderDirection: OrderDirection + where: LiquidityPositionSnapshot_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPositionSnapshot!]! + transaction( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Transaction + transactions( + skip: Int = 0 + first: Int = 100 + orderBy: Transaction_orderBy + orderDirection: OrderDirection + where: Transaction_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Transaction!]! + mint( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Mint + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Mint!]! + burn( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Burn + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Burn!]! + swap( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Swap + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Swap!]! + bundle( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Bundle + bundles( + skip: Int = 0 + first: Int = 100 + orderBy: Bundle_orderBy + orderDirection: OrderDirection + where: Bundle_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Bundle!]! + uniswapDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapDayData + uniswapDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapDayData_orderBy + orderDirection: OrderDirection + where: UniswapDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapDayData!]! + pairHourData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairHourData + pairHourDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairHourData_orderBy + orderDirection: OrderDirection + where: PairHourData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairHourData!]! + pairDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairDayData + pairDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairDayData!]! + tokenDayData( + id: ID! + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): TokenDayData + tokenDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [TokenDayData!]! + + """ + Access to subgraph metadata + """ + _meta(block: Block_height): _Meta_ +} + +type Swap { + id: ID! + transaction: Transaction! + timestamp: BigInt! + pair: Pair! + sender: Bytes! + amount0In: BigDecimal! + amount1In: BigDecimal! + amount0Out: BigDecimal! + amount1Out: BigDecimal! + to: Bytes! + logIndex: BigInt + amountUSD: BigDecimal! +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + sender: Bytes + sender_not: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_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_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!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Swap_orderBy { + id + transaction + timestamp + pair + sender + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD +} + +type Token { + id: ID! + symbol: String! + name: String! + decimals: BigInt! + totalSupply: BigInt! + tradeVolume: BigDecimal! + tradeVolumeUSD: BigDecimal! + untrackedVolumeUSD: BigDecimal! + txCount: BigInt! + totalLiquidity: BigDecimal! + derivedETH: BigDecimal + mostLiquidPairs( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + ): [PairDayData]! +} + +type TokenDayData { + id: ID! + date: Int! + token: Token! + dailyVolumeToken: BigDecimal! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyTxns: BigInt! + totalLiquidityToken: BigDecimal! + totalLiquidityETH: BigDecimal! + totalLiquidityUSD: BigDecimal! + priceUSD: BigDecimal! + maxStored: Int! + mostLiquidPairs( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + ): [PairDayData!]! +} + +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_contains: String + token_contains_nocase: String + token_not_contains: String + token_not_contains_nocase: 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 + 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!] + maxStored: Int + maxStored_not: Int + maxStored_gt: Int + maxStored_lt: Int + maxStored_gte: Int + maxStored_lte: Int + maxStored_in: [Int!] + maxStored_not_in: [Int!] + mostLiquidPairs: [String!] + mostLiquidPairs_not: [String!] + mostLiquidPairs_contains: [String!] + mostLiquidPairs_contains_nocase: [String!] + mostLiquidPairs_not_contains: [String!] + mostLiquidPairs_not_contains_nocase: [String!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum TokenDayData_orderBy { + id + date + token + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + maxStored + mostLiquidPairs +} + +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_contains: String + symbol_contains_nocase: String + symbol_not_contains: String + symbol_not_contains_nocase: 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 + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + 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!] + mostLiquidPairs: [String!] + mostLiquidPairs_not: [String!] + mostLiquidPairs_contains: [String!] + mostLiquidPairs_contains_nocase: [String!] + mostLiquidPairs_not_contains: [String!] + mostLiquidPairs_not_contains_nocase: [String!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Token_orderBy { + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + mostLiquidPairs +} + +type Transaction { + id: ID! + blockNumber: BigInt! + timestamp: BigInt! + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + ): [Mint]! + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + ): [Burn]! + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + ): [Swap]! +} + +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_contains_nocase: [String!] + mints_not_contains: [String!] + mints_not_contains_nocase: [String!] + burns: [String!] + burns_not: [String!] + burns_contains: [String!] + burns_contains_nocase: [String!] + burns_not_contains: [String!] + burns_not_contains_nocase: [String!] + swaps: [String!] + swaps_not: [String!] + swaps_contains: [String!] + swaps_contains_nocase: [String!] + swaps_not_contains: [String!] + swaps_not_contains_nocase: [String!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Transaction_orderBy { + id + blockNumber + timestamp + mints + burns + swaps +} + +type UniswapDayData { + id: ID! + date: Int! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyVolumeUntracked: BigDecimal! + totalVolumeETH: BigDecimal! + totalLiquidityETH: BigDecimal! + totalVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + maxStored: Int + mostLiquidTokens( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + ): [TokenDayData!]! + txCount: BigInt! +} + +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!] + maxStored: Int + maxStored_not: Int + maxStored_gt: Int + maxStored_lt: Int + maxStored_gte: Int + maxStored_lte: Int + maxStored_in: [Int!] + maxStored_not_in: [Int!] + mostLiquidTokens: [String!] + mostLiquidTokens_not: [String!] + mostLiquidTokens_contains: [String!] + mostLiquidTokens_contains_nocase: [String!] + mostLiquidTokens_not_contains: [String!] + mostLiquidTokens_not_contains_nocase: [String!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum UniswapDayData_orderBy { + id + date + dailyVolumeETH + dailyVolumeUSD + dailyVolumeUntracked + totalVolumeETH + totalLiquidityETH + totalVolumeUSD + totalLiquidityUSD + maxStored + mostLiquidTokens + txCount +} + +type UniswapFactory { + id: ID! + pairCount: Int! + totalVolumeUSD: BigDecimal! + totalVolumeETH: BigDecimal! + untrackedVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + totalLiquidityETH: BigDecimal! + txCount: BigInt! + mostLiquidTokens( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + ): [TokenDayData!]! +} + +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!] + mostLiquidTokens: [String!] + mostLiquidTokens_not: [String!] + mostLiquidTokens_contains: [String!] + mostLiquidTokens_contains_nocase: [String!] + mostLiquidTokens_not_contains: [String!] + mostLiquidTokens_not_contains_nocase: [String!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum UniswapFactory_orderBy { + id + pairCount + totalVolumeUSD + totalVolumeETH + untrackedVolumeUSD + totalLiquidityUSD + totalLiquidityETH + txCount + mostLiquidTokens +} + +type User { + id: ID! + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + ): [LiquidityPosition!] + usdSwapped: BigDecimal! +} + +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!] + usdSwapped: BigDecimal + usdSwapped_not: BigDecimal + usdSwapped_gt: BigDecimal + usdSwapped_lt: BigDecimal + usdSwapped_gte: BigDecimal + usdSwapped_lte: BigDecimal + usdSwapped_in: [BigDecimal!] + usdSwapped_not_in: [BigDecimal!] + + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum User_orderBy { + id + liquidityPositions + usdSwapped +} + +type _Block_ { + """ + The hash of the block + """ + hash: Bytes + + """ + The block number + """ + number: Int! +} + +""" +The type for the top-level _meta field +""" +type _Meta_ { + "Information about a specific subgraph block. The hash of the block\nwill be null if the _meta field has a block constraint that asks for\na block number. It will be filled if the _meta field has no block constraint\nand therefore asks for the latest block\n" + block: _Block_! + + """ + The deployment ID + """ + deployment: String! + + """ + If `true`, the subgraph encountered indexing errors at some past block + """ + hasIndexingErrors: Boolean! +} + +enum _SubgraphErrorPolicy_ { + """ + Data will be returned even if the subgraph has indexing errors + """ + allow + + """ + If the subgraph has indexing errors, data will be omitted. The default. + """ + deny +} diff --git a/examples/transforms/.graphclient/sources/uniswap/schema.graphql b/examples/transforms/.graphclient/sources/uniswap/schema.graphql new file mode 100644 index 00000000..22d88580 --- /dev/null +++ b/examples/transforms/.graphclient/sources/uniswap/schema.graphql @@ -0,0 +1,2851 @@ +schema { + query: Query + subscription: Subscription +} + +"Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive." +directive @entity on OBJECT + +"Defined a Subgraph ID for an object type" +directive @subgraphId(id: String!) on OBJECT + +"creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API." +directive @derivedFrom(field: String!) on FIELD_DEFINITION + +scalar BigDecimal + +scalar BigInt + +input BlockChangedFilter { + number_gte: Int! +} + +input Block_height { + hash: Bytes + number: Int + number_gte: Int +} + +type Bundle { + id: ID! + ethPrice: BigDecimal! +} + +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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Bundle_orderBy { + id + ethPrice +} + +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 +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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_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_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_in: [Boolean!] + needsComplete_not_in: [Boolean!] + feeTo: Bytes + feeTo_not: 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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Burn_orderBy { + id + transaction + timestamp + pair + liquidity + sender + amount0 + amount1 + to + logIndex + amountUSD + needsComplete + feeTo + feeLiquidity +} + +scalar Bytes + +type LiquidityPosition { + id: ID! + user: User! + pair: Pair! + liquidityTokenBalance: 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! +} + +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_contains: String + liquidityPosition_contains_nocase: String + liquidityPosition_not_contains: String + liquidityPosition_not_contains_nocase: 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 + 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_contains: String + user_contains_nocase: String + user_not_contains: String + user_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum LiquidityPositionSnapshot_orderBy { + id + liquidityPosition + timestamp + block + user + pair + token0PriceUSD + token1PriceUSD + reserve0 + reserve1 + reserveUSD + liquidityTokenTotalSupply + 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_contains: String + user_contains_nocase: String + user_not_contains: String + user_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + liquidityTokenBalance: BigDecimal + liquidityTokenBalance_not: BigDecimal + liquidityTokenBalance_gt: BigDecimal + liquidityTokenBalance_lt: BigDecimal + liquidityTokenBalance_gte: BigDecimal + liquidityTokenBalance_lte: BigDecimal + liquidityTokenBalance_in: [BigDecimal!] + liquidityTokenBalance_not_in: [BigDecimal!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum LiquidityPosition_orderBy { + id + user + pair + liquidityTokenBalance +} + +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 +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + to: Bytes + to_not: 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_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_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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Mint_orderBy { + id + transaction + timestamp + pair + to + liquidity + sender + amount0 + amount1 + logIndex + amountUSD + feeTo + feeLiquidity +} + +""" +Defines the order direction, either ascending or descending +""" +enum OrderDirection { + asc + desc +} + +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! +} + +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! +} + +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_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_contains: String + token0_contains_nocase: String + token0_not_contains: String + token0_not_contains_nocase: 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 + 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_contains: String + token1_contains_nocase: String + token1_not_contains: String + token1_not_contains_nocase: 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 + 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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum PairDayData_orderBy { + id + date + pairAddress + token0 + token1 + reserve0 + reserve1 + totalSupply + reserveUSD + dailyVolumeToken0 + dailyVolumeToken1 + dailyVolumeUSD + dailyTxns +} + +type PairHourData { + id: ID! + hourStartUnix: Int! + pair: Pair! + reserve0: BigDecimal! + reserve1: BigDecimal! + reserveUSD: BigDecimal! + hourlyVolumeToken0: BigDecimal! + hourlyVolumeToken1: BigDecimal! + hourlyVolumeUSD: BigDecimal! + hourlyTxns: BigInt! +} + +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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + 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!] + 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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum PairHourData_orderBy { + id + hourStartUnix + pair + reserve0 + reserve1 + reserveUSD + hourlyVolumeToken0 + hourlyVolumeToken1 + hourlyVolumeUSD + hourlyTxns +} + +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_contains: String + token0_contains_nocase: String + token0_not_contains: String + token0_not_contains_nocase: 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 + 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_contains: String + token1_contains_nocase: String + token1_not_contains: String + token1_not_contains_nocase: 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 + 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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Pair_orderBy { + id + token0 + token1 + reserve0 + reserve1 + totalSupply + reserveETH + reserveUSD + trackedReserveETH + token0Price + token1Price + volumeToken0 + volumeToken1 + volumeUSD + untrackedVolumeUSD + txCount + createdAtTimestamp + createdAtBlockNumber + liquidityProviderCount +} + +type Query { + uniswapFactory( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapFactory + uniswapFactories( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapFactory_orderBy + orderDirection: OrderDirection + where: UniswapFactory_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapFactory!]! + token( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Token + tokens( + skip: Int = 0 + first: Int = 100 + orderBy: Token_orderBy + orderDirection: OrderDirection + where: Token_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Token!]! + pair( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Pair + pairs( + skip: Int = 0 + first: Int = 100 + orderBy: Pair_orderBy + orderDirection: OrderDirection + where: Pair_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Pair!]! + user( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): User + users( + skip: Int = 0 + first: Int = 100 + orderBy: User_orderBy + orderDirection: OrderDirection + where: User_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [User!]! + liquidityPosition( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPosition + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPosition!]! + liquidityPositionSnapshot( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPositionSnapshot + liquidityPositionSnapshots( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPositionSnapshot_orderBy + orderDirection: OrderDirection + where: LiquidityPositionSnapshot_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPositionSnapshot!]! + transaction( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Transaction + transactions( + skip: Int = 0 + first: Int = 100 + orderBy: Transaction_orderBy + orderDirection: OrderDirection + where: Transaction_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Transaction!]! + mint( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Mint + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Mint!]! + burn( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Burn + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Burn!]! + swap( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Swap + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Swap!]! + bundle( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Bundle + bundles( + skip: Int = 0 + first: Int = 100 + orderBy: Bundle_orderBy + orderDirection: OrderDirection + where: Bundle_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Bundle!]! + uniswapDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapDayData + uniswapDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapDayData_orderBy + orderDirection: OrderDirection + where: UniswapDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapDayData!]! + pairHourData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairHourData + pairHourDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairHourData_orderBy + orderDirection: OrderDirection + where: PairHourData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairHourData!]! + pairDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairDayData + pairDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairDayData!]! + tokenDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): TokenDayData + tokenDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [TokenDayData!]! + """ + Access to subgraph metadata + """ + _meta(block: Block_height): _Meta_ +} + +type Subscription { + uniswapFactory( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapFactory + uniswapFactories( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapFactory_orderBy + orderDirection: OrderDirection + where: UniswapFactory_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapFactory!]! + token( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Token + tokens( + skip: Int = 0 + first: Int = 100 + orderBy: Token_orderBy + orderDirection: OrderDirection + where: Token_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Token!]! + pair( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Pair + pairs( + skip: Int = 0 + first: Int = 100 + orderBy: Pair_orderBy + orderDirection: OrderDirection + where: Pair_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Pair!]! + user( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): User + users( + skip: Int = 0 + first: Int = 100 + orderBy: User_orderBy + orderDirection: OrderDirection + where: User_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [User!]! + liquidityPosition( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPosition + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPosition!]! + liquidityPositionSnapshot( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): LiquidityPositionSnapshot + liquidityPositionSnapshots( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPositionSnapshot_orderBy + orderDirection: OrderDirection + where: LiquidityPositionSnapshot_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [LiquidityPositionSnapshot!]! + transaction( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Transaction + transactions( + skip: Int = 0 + first: Int = 100 + orderBy: Transaction_orderBy + orderDirection: OrderDirection + where: Transaction_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Transaction!]! + mint( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Mint + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Mint!]! + burn( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Burn + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Burn!]! + swap( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Swap + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Swap!]! + bundle( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Bundle + bundles( + skip: Int = 0 + first: Int = 100 + orderBy: Bundle_orderBy + orderDirection: OrderDirection + where: Bundle_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Bundle!]! + uniswapDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): UniswapDayData + uniswapDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: UniswapDayData_orderBy + orderDirection: OrderDirection + where: UniswapDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [UniswapDayData!]! + pairHourData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairHourData + pairHourDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairHourData_orderBy + orderDirection: OrderDirection + where: PairHourData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairHourData!]! + pairDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PairDayData + pairDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PairDayData!]! + tokenDayData( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): TokenDayData + tokenDayDatas( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [TokenDayData!]! + """ + Access to subgraph metadata + """ + _meta(block: Block_height): _Meta_ +} + +type Swap { + id: ID! + transaction: Transaction! + timestamp: BigInt! + pair: Pair! + sender: Bytes! + amount0In: BigDecimal! + amount1In: BigDecimal! + amount0Out: BigDecimal! + amount1Out: BigDecimal! + to: Bytes! + logIndex: BigInt + amountUSD: BigDecimal! +} + +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_contains: String + transaction_contains_nocase: String + transaction_not_contains: String + transaction_not_contains_nocase: 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 + 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_contains: String + pair_contains_nocase: String + pair_not_contains: String + pair_not_contains_nocase: 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 + sender: Bytes + sender_not: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_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_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!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Swap_orderBy { + id + transaction + timestamp + pair + sender + amount0In + amount1In + amount0Out + amount1Out + to + logIndex + amountUSD +} + +type Token { + id: ID! + symbol: String! + name: String! + decimals: BigInt! + totalSupply: BigInt! + tradeVolume: BigDecimal! + tradeVolumeUSD: BigDecimal! + untrackedVolumeUSD: BigDecimal! + txCount: BigInt! + totalLiquidity: BigDecimal! + derivedETH: BigDecimal + mostLiquidPairs( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + ): [PairDayData]! +} + +type TokenDayData { + id: ID! + date: Int! + token: Token! + dailyVolumeToken: BigDecimal! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyTxns: BigInt! + totalLiquidityToken: BigDecimal! + totalLiquidityETH: BigDecimal! + totalLiquidityUSD: BigDecimal! + priceUSD: BigDecimal! + maxStored: Int! + mostLiquidPairs( + skip: Int = 0 + first: Int = 100 + orderBy: PairDayData_orderBy + orderDirection: OrderDirection + where: PairDayData_filter + ): [PairDayData!]! +} + +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_contains: String + token_contains_nocase: String + token_not_contains: String + token_not_contains_nocase: 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 + 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!] + maxStored: Int + maxStored_not: Int + maxStored_gt: Int + maxStored_lt: Int + maxStored_gte: Int + maxStored_lte: Int + maxStored_in: [Int!] + maxStored_not_in: [Int!] + mostLiquidPairs: [String!] + mostLiquidPairs_not: [String!] + mostLiquidPairs_contains: [String!] + mostLiquidPairs_contains_nocase: [String!] + mostLiquidPairs_not_contains: [String!] + mostLiquidPairs_not_contains_nocase: [String!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum TokenDayData_orderBy { + id + date + token + dailyVolumeToken + dailyVolumeETH + dailyVolumeUSD + dailyTxns + totalLiquidityToken + totalLiquidityETH + totalLiquidityUSD + priceUSD + maxStored + mostLiquidPairs +} + +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_contains: String + symbol_contains_nocase: String + symbol_not_contains: String + symbol_not_contains_nocase: 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 + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + 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!] + mostLiquidPairs: [String!] + mostLiquidPairs_not: [String!] + mostLiquidPairs_contains: [String!] + mostLiquidPairs_contains_nocase: [String!] + mostLiquidPairs_not_contains: [String!] + mostLiquidPairs_not_contains_nocase: [String!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Token_orderBy { + id + symbol + name + decimals + totalSupply + tradeVolume + tradeVolumeUSD + untrackedVolumeUSD + txCount + totalLiquidity + derivedETH + mostLiquidPairs +} + +type Transaction { + id: ID! + blockNumber: BigInt! + timestamp: BigInt! + mints( + skip: Int = 0 + first: Int = 100 + orderBy: Mint_orderBy + orderDirection: OrderDirection + where: Mint_filter + ): [Mint]! + burns( + skip: Int = 0 + first: Int = 100 + orderBy: Burn_orderBy + orderDirection: OrderDirection + where: Burn_filter + ): [Burn]! + swaps( + skip: Int = 0 + first: Int = 100 + orderBy: Swap_orderBy + orderDirection: OrderDirection + where: Swap_filter + ): [Swap]! +} + +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_contains_nocase: [String!] + mints_not_contains: [String!] + mints_not_contains_nocase: [String!] + burns: [String!] + burns_not: [String!] + burns_contains: [String!] + burns_contains_nocase: [String!] + burns_not_contains: [String!] + burns_not_contains_nocase: [String!] + swaps: [String!] + swaps_not: [String!] + swaps_contains: [String!] + swaps_contains_nocase: [String!] + swaps_not_contains: [String!] + swaps_not_contains_nocase: [String!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum Transaction_orderBy { + id + blockNumber + timestamp + mints + burns + swaps +} + +type UniswapDayData { + id: ID! + date: Int! + dailyVolumeETH: BigDecimal! + dailyVolumeUSD: BigDecimal! + dailyVolumeUntracked: BigDecimal! + totalVolumeETH: BigDecimal! + totalLiquidityETH: BigDecimal! + totalVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + maxStored: Int + mostLiquidTokens( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + ): [TokenDayData!]! + txCount: BigInt! +} + +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!] + maxStored: Int + maxStored_not: Int + maxStored_gt: Int + maxStored_lt: Int + maxStored_gte: Int + maxStored_lte: Int + maxStored_in: [Int!] + maxStored_not_in: [Int!] + mostLiquidTokens: [String!] + mostLiquidTokens_not: [String!] + mostLiquidTokens_contains: [String!] + mostLiquidTokens_contains_nocase: [String!] + mostLiquidTokens_not_contains: [String!] + mostLiquidTokens_not_contains_nocase: [String!] + txCount: BigInt + txCount_not: BigInt + txCount_gt: BigInt + txCount_lt: BigInt + txCount_gte: BigInt + txCount_lte: BigInt + txCount_in: [BigInt!] + txCount_not_in: [BigInt!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum UniswapDayData_orderBy { + id + date + dailyVolumeETH + dailyVolumeUSD + dailyVolumeUntracked + totalVolumeETH + totalLiquidityETH + totalVolumeUSD + totalLiquidityUSD + maxStored + mostLiquidTokens + txCount +} + +type UniswapFactory { + id: ID! + pairCount: Int! + totalVolumeUSD: BigDecimal! + totalVolumeETH: BigDecimal! + untrackedVolumeUSD: BigDecimal! + totalLiquidityUSD: BigDecimal! + totalLiquidityETH: BigDecimal! + txCount: BigInt! + mostLiquidTokens( + skip: Int = 0 + first: Int = 100 + orderBy: TokenDayData_orderBy + orderDirection: OrderDirection + where: TokenDayData_filter + ): [TokenDayData!]! +} + +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!] + mostLiquidTokens: [String!] + mostLiquidTokens_not: [String!] + mostLiquidTokens_contains: [String!] + mostLiquidTokens_contains_nocase: [String!] + mostLiquidTokens_not_contains: [String!] + mostLiquidTokens_not_contains_nocase: [String!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum UniswapFactory_orderBy { + id + pairCount + totalVolumeUSD + totalVolumeETH + untrackedVolumeUSD + totalLiquidityUSD + totalLiquidityETH + txCount + mostLiquidTokens +} + +type User { + id: ID! + liquidityPositions( + skip: Int = 0 + first: Int = 100 + orderBy: LiquidityPosition_orderBy + orderDirection: OrderDirection + where: LiquidityPosition_filter + ): [LiquidityPosition!] + usdSwapped: BigDecimal! +} + +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!] + usdSwapped: BigDecimal + usdSwapped_not: BigDecimal + usdSwapped_gt: BigDecimal + usdSwapped_lt: BigDecimal + usdSwapped_gte: BigDecimal + usdSwapped_lte: BigDecimal + usdSwapped_in: [BigDecimal!] + usdSwapped_not_in: [BigDecimal!] + """ + Filter for the block changed event. + """ + _change_block: BlockChangedFilter +} + +enum User_orderBy { + id + liquidityPositions + usdSwapped +} + +type _Block_ { + """ + The hash of the block + """ + hash: Bytes + """ + The block number + """ + number: Int! +} + +""" +The type for the top-level _meta field +""" +type _Meta_ { + """ + Information about a specific subgraph block. The hash of the block + will be null if the _meta field has a block constraint that asks for + a block number. It will be filled if the _meta field has no block constraint + and therefore asks for the latest block + """ + block: _Block_! + """ + The deployment ID + """ + deployment: String! + """ + If `true`, the subgraph encountered indexing errors at some past block + """ + hasIndexingErrors: Boolean! +} + +enum _SubgraphErrorPolicy_ { + """ + Data will be returned even if the subgraph has indexing errors + """ + allow + """ + If the subgraph has indexing errors, data will be omitted. The default. + """ + deny +} diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 1246543a..c6e924e1 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -15,5 +15,6 @@ export function graphqlClientCLI() { buildArtifactsCommand: 'build', sourceServerCommand: 'serve-source', validateCommand: 'validate', + additionalPackagePrefixes: ['@graphprotocol/client-'], }) } From 6653e254c2bbf28be29edb43b2f69a644260f465 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 21 Apr 2022 18:00:48 +0300 Subject: [PATCH 3/4] Fix Browser compatibility issues --- .changeset/thick-months-add.md | 5 + examples/apollo/package.json | 3 +- examples/apollo/vite.config.ts | 6 - examples/composition/package.json | 6 +- examples/execute/package.json | 3 +- examples/execute/vite.config.ts | 6 - examples/urql/package.json | 3 +- examples/urql/vite.config.ts | 6 - packages/cli/package.json | 4 +- yarn.lock | 440 ++++++++++++------------------ 10 files changed, 188 insertions(+), 294 deletions(-) create mode 100644 .changeset/thick-months-add.md diff --git a/.changeset/thick-months-add.md b/.changeset/thick-months-add.md new file mode 100644 index 00000000..c6ebfa1f --- /dev/null +++ b/.changeset/thick-months-add.md @@ -0,0 +1,5 @@ +--- +'@graphprotocol/client-cli': patch +--- + +Fix Browser compatibility issues diff --git a/examples/apollo/package.json b/examples/apollo/package.json index 0b0945af..546dd98b 100644 --- a/examples/apollo/package.json +++ b/examples/apollo/package.json @@ -14,8 +14,7 @@ "react-dom": "^17.0.2", "@graphprotocol/client-apollo": "0.0.2", "@apollo/client": "3.5.10", - "graphql": "16.3.0", - "rollup-plugin-node-polyfills": "0.2.1" + "graphql": "16.3.0" }, "devDependencies": { "@graphprotocol/client-cli": "0.0.3", diff --git a/examples/apollo/vite.config.ts b/examples/apollo/vite.config.ts index 9ec032b2..5a33944a 100644 --- a/examples/apollo/vite.config.ts +++ b/examples/apollo/vite.config.ts @@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - resolve: { - alias: { - path: 'rollup-plugin-node-polyfills/polyfills/path', - events: 'rollup-plugin-node-polyfills/polyfills/events', - }, - }, }) diff --git a/examples/composition/package.json b/examples/composition/package.json index 2e4c7125..1c5c7145 100644 --- a/examples/composition/package.json +++ b/examples/composition/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "@graphprotocol/client-cli": "0.0.3", - "@graphql-mesh/transform-prefix": "0.11.12", - "@graphql-mesh/transform-rename": "0.12.12", - "@graphql-mesh/transform-type-merging": "0.3.22", + "@graphql-mesh/transform-prefix": "0.11.32", + "@graphql-mesh/transform-rename": "0.12.33", + "@graphql-mesh/transform-type-merging": "0.3.43", "concurrently": "7.0.0", "nodemon": "2.0.15", "ts-node": "10.5.0", diff --git a/examples/execute/package.json b/examples/execute/package.json index 6efe3028..4d0d984f 100644 --- a/examples/execute/package.json +++ b/examples/execute/package.json @@ -12,8 +12,7 @@ "dependencies": { "react": "^17.0.2", "react-dom": "^17.0.2", - "graphql": "16.3.0", - "rollup-plugin-node-polyfills": "0.2.1" + "graphql": "16.3.0" }, "devDependencies": { "@graphprotocol/client-cli": "0.0.3", diff --git a/examples/execute/vite.config.ts b/examples/execute/vite.config.ts index 9ec032b2..5a33944a 100644 --- a/examples/execute/vite.config.ts +++ b/examples/execute/vite.config.ts @@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - resolve: { - alias: { - path: 'rollup-plugin-node-polyfills/polyfills/path', - events: 'rollup-plugin-node-polyfills/polyfills/events', - }, - }, }) diff --git a/examples/urql/package.json b/examples/urql/package.json index 6c4eb4bd..66337896 100644 --- a/examples/urql/package.json +++ b/examples/urql/package.json @@ -14,8 +14,7 @@ "react-dom": "^17.0.2", "@graphprotocol/client-urql": "0.0.2", "urql": "2.2.0", - "graphql": "16.3.0", - "rollup-plugin-node-polyfills": "0.2.1" + "graphql": "16.3.0" }, "devDependencies": { "@graphprotocol/client-cli": "0.0.3", diff --git a/examples/urql/vite.config.ts b/examples/urql/vite.config.ts index 9ec032b2..5a33944a 100644 --- a/examples/urql/vite.config.ts +++ b/examples/urql/vite.config.ts @@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - resolve: { - alias: { - path: 'rollup-plugin-node-polyfills/polyfills/path', - events: 'rollup-plugin-node-polyfills/polyfills/events', - }, - }, }) diff --git a/packages/cli/package.json b/packages/cli/package.json index affe13bb..507ea1b9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,8 +49,8 @@ "access": "public" }, "dependencies": { - "@graphql-mesh/cli": "0.67.5", - "@graphql-mesh/graphql": "0.23.6", + "@graphql-mesh/cli": "0.67.6", + "@graphql-mesh/graphql": "0.23.7", "tslib": "2.3.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 82c1fab7..f313b738 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1411,15 +1411,6 @@ parse-filepath "^1.0.2" tslib "~2.3.0" -"@graphql-inspector/core@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@graphql-inspector/core/-/core-3.1.1.tgz#9e5348a91c9143e6490c77082577bba9922ae2d9" - integrity sha512-DP+FgKl93ESPLxg1Hujw1tIpsjfHeZDXKU5/43k8f5yQ2jCWM34NywROuICTNTYLuVL6gVxY/PSwWiCjVvlUMw== - dependencies: - dependency-graph "0.11.0" - object-inspect "1.10.3" - tslib "^2.0.0" - "@graphql-inspector/core@3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@graphql-inspector/core/-/core-3.1.2.tgz#9ef2a72601a77cb0dcc09c5fbd870413bc687ad8" @@ -1436,19 +1427,19 @@ dependencies: tslib "2.3.1" -"@graphql-mesh/cache-inmemory-lru@0.6.12": - version "0.6.12" - resolved "https://registry.yarnpkg.com/@graphql-mesh/cache-inmemory-lru/-/cache-inmemory-lru-0.6.12.tgz#54181fef4e7aa2a7cbf6c5e78f50fcf7c1e543da" - integrity sha512-NJyHqlSUQ83LGJ3/7/huuRJZgYF5QeByenBX45fI/3kqq5OxJ5+BVKRPOkbPiaJBaZLFYLRWLd+JOCGp8kA/5Q== +"@graphql-mesh/cache-inmemory-lru@0.6.13": + version "0.6.13" + resolved "https://registry.yarnpkg.com/@graphql-mesh/cache-inmemory-lru/-/cache-inmemory-lru-0.6.13.tgz#0315572b0e7210e8fa4b59ac285127e97a2743ca" + integrity sha512-CeuP6P8G8QQfrPJ6o0L1aQzftUqjU++pLQUHsvzgAvT3slXRB6TaBon/ccvm80xpYyTYKusT9F8fxN1lW1ZdbQ== dependencies: - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" tslib "^2.3.1" -"@graphql-mesh/cli@0.67.5": - version "0.67.5" - resolved "https://registry.yarnpkg.com/@graphql-mesh/cli/-/cli-0.67.5.tgz#adee2f3bc11049c1be30a134827124c5ba2de950" - integrity sha512-THTecebT1Irlpx9IjJ020iIyeim+k43O4FZs110EZE67jItL6A1+EYdnJ+yrSlpD1ckWYlpDn1x3uHbUw+bmFw== +"@graphql-mesh/cli@0.67.6": + version "0.67.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/cli/-/cli-0.67.6.tgz#c26b34de58e448b7e965924c0c12ee9739f0b4c9" + integrity sha512-xng1qKJDZ82xqHvKyU+DOpp+i6Ol3fdwzjf3fn/Y3KWPjp6ym0iXHsaTTIFcj2hCOBM4FiWwA6/YUSqqwi01ZQ== dependencies: "@graphql-codegen/core" "2.5.1" "@graphql-codegen/typed-document-node" "2.2.8" @@ -1456,12 +1447,12 @@ "@graphql-codegen/typescript-generic-sdk" "2.3.7" "@graphql-codegen/typescript-operations" "2.3.5" "@graphql-codegen/typescript-resolvers" "2.6.1" - "@graphql-mesh/config" "0.34.5" - "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/runtime" "0.33.14" - "@graphql-mesh/store" "0.7.5" - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" + "@graphql-mesh/config" "0.34.6" + "@graphql-mesh/cross-helpers" "0.1.1" + "@graphql-mesh/runtime" "0.33.15" + "@graphql-mesh/store" "0.7.6" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" "@graphql-tools/code-file-loader" "7.2.14" "@graphql-tools/graphql-file-loader" "7.3.11" "@graphql-tools/load" "7.5.10" @@ -1491,20 +1482,20 @@ ws "8.5.0" yargs "17.4.1" -"@graphql-mesh/config@0.34.5": - version "0.34.5" - resolved "https://registry.yarnpkg.com/@graphql-mesh/config/-/config-0.34.5.tgz#e48e372534535b28a812d539969aa661c014dff8" - integrity sha512-jMDf1XgbrEmAlCHrQhhtbpv85qqUwhwo9Z9qECGOvCkBiv64OZbdVcdTPEkmiVVPfFp/WC+/d3SwA14C+586Jg== +"@graphql-mesh/config@0.34.6": + version "0.34.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/config/-/config-0.34.6.tgz#6161861e2813741563809634fdd88dd25f29392f" + integrity sha512-yaTCapqjweZlDgRwzWQ8peHqQIZkG5R2O1qLp/cLKutmqdte2ntznW/G3p9aP1w9QZipFlDbQDS6GYxCGBt9pQ== dependencies: "@envelop/core" "2.3.1" - "@graphql-mesh/cache-inmemory-lru" "0.6.12" - "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/merger-bare" "0.13.35" - "@graphql-mesh/merger-stitching" "0.15.37" - "@graphql-mesh/runtime" "0.33.14" - "@graphql-mesh/store" "0.7.5" - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" + "@graphql-mesh/cache-inmemory-lru" "0.6.13" + "@graphql-mesh/cross-helpers" "0.1.1" + "@graphql-mesh/merger-bare" "0.13.36" + "@graphql-mesh/merger-stitching" "0.15.38" + "@graphql-mesh/runtime" "0.33.15" + "@graphql-mesh/store" "0.7.6" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" "@graphql-tools/code-file-loader" "7.2.14" "@graphql-tools/graphql-file-loader" "7.3.11" "@graphql-tools/load" "7.5.10" @@ -1526,41 +1517,50 @@ react-native-fs "2.19.0" react-native-path "0.0.5" -"@graphql-mesh/graphql@0.23.6": - version "0.23.6" - resolved "https://registry.yarnpkg.com/@graphql-mesh/graphql/-/graphql-0.23.6.tgz#7c93d64264005b28bd3c5371cdac154a7c2726b6" - integrity sha512-5e5hXj69xmlgGIUA3zmFB1aP3NxIaDmXVQOdYNjVvty82Nwsi4LkXzfwfecsi34PCSRqWBHTfywgD0opJl2eNw== +"@graphql-mesh/cross-helpers@0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@graphql-mesh/cross-helpers/-/cross-helpers-0.1.1.tgz#0985060fd137f6e087e854ad310a3f78be0de824" + integrity sha512-8LLYvkXfN2aPgjmL12JF0Ym/PQWn94f5o+JGheqMgISF8TIxsaMcvIo6/K5steJU7ZOGfXbwItKJsa1La5LXgw== dependencies: - "@graphql-mesh/store" "0.7.5" - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" - "@graphql-tools/delegate" "8.7.6" - "@graphql-tools/url-loader" "7.9.13" - "@graphql-tools/utils" "8.6.8" - "@graphql-tools/wrap" "8.4.15" + path-browserify "1.0.1" + react-native-fs "2.19.0" + react-native-path "0.0.5" + +"@graphql-mesh/graphql@0.23.7": + version "0.23.7" + resolved "https://registry.yarnpkg.com/@graphql-mesh/graphql/-/graphql-0.23.7.tgz#bfec5f821ebdc81ec25102377f525995566f9745" + integrity sha512-8p3edCR/vLdTeIyvrjpIcDSUAqif0Q0rgHsU6blzqK5S8PqUeLvTjh/g2mzU1ntON02SIP3kdKT6Jrk6xf8loQ== + dependencies: + "@graphql-mesh/store" "0.7.6" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/url-loader" "7.9.14" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" tslib "^2.3.1" -"@graphql-mesh/merger-bare@0.13.35": - version "0.13.35" - resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-bare/-/merger-bare-0.13.35.tgz#0f8520cc1424dca9831a19876f3b1b46164baa56" - integrity sha512-ku/+91/8tfxSGs36/2uRFeOesPTafEITU/795M6QZ3OI+PU9WfvAqlcrUMeX/Db/fRpPpW1Nk7oAssnPr5d5dg== +"@graphql-mesh/merger-bare@0.13.36": + version "0.13.36" + resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-bare/-/merger-bare-0.13.36.tgz#ddee44a52391eb2a6623853f5e6bae00105ec6d1" + integrity sha512-61tkDPs51PFeiQtYS21Ua01ulnAED6ched94K1eh+CnOjFaF9j8OaL6H7uFZzttVENrGGA+qDnkiXIbzi/jJIA== dependencies: - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" - "@graphql-tools/schema" "8.3.9" - "@graphql-tools/utils" "8.6.8" - "@graphql-tools/wrap" "8.4.15" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" + "@graphql-tools/schema" "8.3.10" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" fetchache "0.1.1" tslib "^2.3.1" -"@graphql-mesh/merger-stitching@0.15.37": - version "0.15.37" - resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-stitching/-/merger-stitching-0.15.37.tgz#6267db05cd1185154c472305a6bd59130d3ba87f" - integrity sha512-3hyE199Fv2ga/qnzGOCqkLuYDAWSY+e8koA9aYd1AdyHtqIMkNDWnvjh7/AHkgaPSpFYe16SLP2nHftDUazJww== +"@graphql-mesh/merger-stitching@0.15.38": + version "0.15.38" + resolved "https://registry.yarnpkg.com/@graphql-mesh/merger-stitching/-/merger-stitching-0.15.38.tgz#d2b5b3940402f2698119c727d15b9f85879c72e4" + integrity sha512-FvBGL06ONjvNqzpwjTwVswMMaOMitYIb6vILqbqtTG07kkw06w7GI3w2wm1Q3CgGR3JWwmCrnvEmvnDvLnmjgA== dependencies: - "@graphql-mesh/store" "0.7.5" - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" + "@graphql-mesh/store" "0.7.6" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" "@graphql-tools/delegate" "8.7.7" "@graphql-tools/schema" "8.3.10" "@graphql-tools/stitch" "8.6.9" @@ -1569,15 +1569,15 @@ "@graphql-tools/wrap" "8.4.16" tslib "^2.3.1" -"@graphql-mesh/runtime@0.33.14": - version "0.33.14" - resolved "https://registry.yarnpkg.com/@graphql-mesh/runtime/-/runtime-0.33.14.tgz#087e92de5067fa01a75181896e048bbd0a6fada5" - integrity sha512-ekxELyr7nuRWgkBdeZmZcwgwYJhhmf68Z/9q4MttU5+re5bEvhlj9NjJVQJFeRXfihh0v/Swxc372aRuAPMPcA== +"@graphql-mesh/runtime@0.33.15": + version "0.33.15" + resolved "https://registry.yarnpkg.com/@graphql-mesh/runtime/-/runtime-0.33.15.tgz#1685f2c1bf84b904378661bbf718a72485d1d7b1" + integrity sha512-fn38/Uejb3dG26EXpcWL1s9Ml+e+YdSrowswuRK63fntfB4n2Dh8awZSWE8jzy5Uc17dAjdB3oM47afErrGZew== dependencies: "@envelop/core" "2.3.1" "@envelop/live-query" "3.3.1" - "@graphql-mesh/types" "0.70.5" - "@graphql-mesh/utils" "0.33.5" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" "@graphql-tools/batch-delegate" "8.2.16" "@graphql-tools/delegate" "8.7.7" "@graphql-tools/resolvers-composition" "6.4.9" @@ -1589,15 +1589,6 @@ graphql-jit "0.7.3" tslib "^2.3.1" -"@graphql-mesh/store@0.3.22": - version "0.3.22" - resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.3.22.tgz#83aa8d39296fb14e29c15b85328b936fc8c6e658" - integrity sha512-0NGJ26kpnPfnfZ6tk5aunefGsIFyE8aW2wn3r7B+MYob19uvHBRmfTAQiPZ2abXm4IfTBtOVyOx44mwgwUgeWg== - dependencies: - "@graphql-inspector/core" "3.1.1" - "@graphql-mesh/utils" "0.27.9" - "@graphql-tools/utils" "8.6.2" - "@graphql-mesh/store@0.7.5": version "0.7.5" resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.7.5.tgz#a9643a64ddedf6f07d5934dd0ed3f07a05824ece" @@ -1610,51 +1601,55 @@ "@graphql-tools/utils" "8.6.8" tslib "^2.3.1" -"@graphql-mesh/transform-prefix@0.11.12": - version "0.11.12" - resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-prefix/-/transform-prefix-0.11.12.tgz#cf975c790361d5b65460e07763b5e0a415a0c2f5" - integrity sha512-GfupLgncMUfJZDT5bBjqTm0oW6p1IpFgx35Ki7U257qtvMEZ1DCwpcHkfKL+4tGmohreW7bzV/nKudPH6/0Ngg== - dependencies: - "@graphql-mesh/types" "0.65.0" - "@graphql-mesh/utils" "0.27.9" - "@graphql-tools/delegate" "8.5.1" - "@graphql-tools/utils" "8.6.2" - "@graphql-tools/wrap" "8.4.3" - graphql-scalars "1.15.0" - -"@graphql-mesh/transform-rename@0.12.12": - version "0.12.12" - resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-rename/-/transform-rename-0.12.12.tgz#105e62635024dbee6210ea707e719fc5eea62292" - integrity sha512-EA6jS4iy8w4UnExcukXvxt6bEXwWrbetH7PucrIKBmsKSA3fdSHlDAxej3W7FL7bCTUZ8pQwu7RdgyjsFR7bMw== - dependencies: - "@graphql-mesh/types" "0.65.0" - "@graphql-mesh/utils" "0.27.9" - "@graphql-tools/delegate" "8.5.1" - "@graphql-tools/utils" "8.6.2" - "@graphql-tools/wrap" "8.4.3" - graphql-scalars "1.15.0" - -"@graphql-mesh/transform-type-merging@0.3.22": - version "0.3.22" - resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-type-merging/-/transform-type-merging-0.3.22.tgz#60645de0841b0fb7b96a43ffd9b750a6223269fd" - integrity sha512-hBg0ti9JjyrZEo7MWfEvQ0LBmD+WN7n0663BkOPtn7WvgIOqmQ2ivQ1LVct+F5j2bunhbxQ35wsnzv5k3onNlw== - dependencies: - "@graphql-mesh/types" "0.65.0" - "@graphql-mesh/utils" "0.27.9" - "@graphql-tools/delegate" "8.5.1" - "@graphql-tools/stitching-directives" "2.2.2" - lodash "4.17.21" +"@graphql-mesh/store@0.7.6": + version "0.7.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/store/-/store-0.7.6.tgz#59d16242e9d3234a9c8f261829d7d573e7860cb4" + integrity sha512-jeFfhD5GXCupVMd4c0smZEdtVBnH2ITCsVQgM37kqqnmACZ8ApPH5SxX20tpirxDc+U2YQDYJZsJiIoeigD5Mw== + dependencies: + "@graphql-inspector/core" "3.1.2" + "@graphql-mesh/cross-helpers" "0.1.1" + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" + "@graphql-tools/utils" "8.6.9" + tslib "^2.3.1" -"@graphql-mesh/types@0.65.0": - version "0.65.0" - resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.65.0.tgz#eff6a391c834c36863946dea81fda081bf9505ec" - integrity sha512-vb4ScRRDv/AOHd7bINfIwigOzlTT5KZm7aImpHnrBxw7ECmrdJMb0+V1Jcy0dshCHx7sIdSKvSZA/y8WOY2qDQ== +"@graphql-mesh/transform-prefix@0.11.32": + version "0.11.32" + resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-prefix/-/transform-prefix-0.11.32.tgz#a0676562f664e7a0b47d199651e4f949018ceb6a" + integrity sha512-ci8/VgJmOnahj8JQ5kCA/1EcgyajRzUwdAIFVOArk5luyvNLAWV0q8f142A6DHv2w+EjGpzopjCtw7wMTT/Tyw== dependencies: - "@graphql-mesh/store" "0.3.22" - "@graphql-tools/delegate" "8.5.1" - "@graphql-tools/utils" "8.6.2" - "@graphql-typed-document-node/core" "3.1.1" - fetchache "0.1.1" + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" + "@graphql-tools/wrap" "8.4.15" + graphql-scalars "1.17.0" + tslib "^2.3.1" + +"@graphql-mesh/transform-rename@0.12.33": + version "0.12.33" + resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-rename/-/transform-rename-0.12.33.tgz#58e3d59b6d99497980302eec2f1b5aae73bcbaa9" + integrity sha512-1F39MxqO9eExEV840dLmcS3u75LctFYbpxWuSeIadhP+NVfGPL/t9SjAy4VT+/vHHTnMuLFom0zB06CMtqSCuw== + dependencies: + "@graphql-mesh/types" "0.70.5" + "@graphql-mesh/utils" "0.33.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" + "@graphql-tools/wrap" "8.4.15" + graphql-scalars "1.17.0" + tslib "^2.3.1" + +"@graphql-mesh/transform-type-merging@0.3.43": + version "0.3.43" + resolved "https://registry.yarnpkg.com/@graphql-mesh/transform-type-merging/-/transform-type-merging-0.3.43.tgz#1d3e39bd940b7ecf3bca238bd34cf79bf4341c07" + integrity sha512-6Vj6oyBBDCi9+2xj+wDqVMHAFGn0lNypyYvA73M6am9qlcdTr1oCkfRGsIV0vo6Jm1xwZmrUrdV965cSlUSjnA== + dependencies: + "@graphql-mesh/types" "0.70.6" + "@graphql-mesh/utils" "0.33.6" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/stitching-directives" "2.2.14" + lodash "4.17.21" + tslib "^2.3.1" "@graphql-mesh/types@0.70.5": version "0.70.5" @@ -1668,6 +1663,18 @@ fetchache "0.1.1" tslib "^2.3.1" +"@graphql-mesh/types@0.70.6": + version "0.70.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/types/-/types-0.70.6.tgz#055ab527520032168174ccc7c7b038e86f354f06" + integrity sha512-6Hyl6Zdt/sbTBiyIY5KR7KVf+yX8sTpu7exlgrjTnfOqoBKZhxCPBjaSyj3FFFWngA4UYY/hwuio/J3j6H8i4g== + dependencies: + "@graphql-mesh/store" "0.7.6" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/utils" "8.6.9" + "@graphql-typed-document-node/core" "3.1.1" + fetchache "0.1.1" + tslib "^2.3.1" + "@graphql-mesh/urql-exchange@2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@graphql-mesh/urql-exchange/-/urql-exchange-2.0.1.tgz#bc79a8a0cc3995b22354d133f0a416ab5e5fb340" @@ -1675,20 +1682,22 @@ dependencies: tslib "2.3.1" -"@graphql-mesh/utils@0.27.9": - version "0.27.9" - resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.27.9.tgz#eff302a60b0ff4e0c3c6f93023ad78c3f8987d30" - integrity sha512-HWLJk8zqxk/rnSBa1uxExuof0wB0YNTjGl2WeEJ34RP3/pSOpt9WO3vEnO8ATuvSoNUkopxWHEZP/fJfGh5KIw== +"@graphql-mesh/utils@0.33.5": + version "0.33.5" + resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.33.5.tgz#ce3fa28392142b466421acb2e3ee5ff42d946ee5" + integrity sha512-kT4RPewuQkqXy7eKCAYo1wTjAEwqLAUVJCUMLdi9oPuzuOofdMOOvu+BDHjaKVDVuPnZDD4tJlHhf5XRwjTYnA== dependencies: "@ardatan/string-interpolation" "1.2.12" - "@graphql-mesh/types" "0.65.0" - "@graphql-tools/delegate" "8.5.1" - "@graphql-tools/utils" "8.6.2" + "@graphql-mesh/cross-helpers" "0.1.0" + "@graphql-mesh/types" "0.70.5" + "@graphql-tools/delegate" "8.7.6" + "@graphql-tools/utils" "8.6.8" "@graphql-typed-document-node/core" "3.1.1" chalk "4.1.2" - cross-undici-fetch "0.1.25" + cross-undici-fetch "0.2.5" date-fns "2.28.0" fetchache "0.1.1" + file-uri-to-path "2.0.0" flatstr "1.0.12" graphql-jit "0.7.3" graphql-subscriptions "2.0.0" @@ -1696,21 +1705,22 @@ js-yaml "4.1.0" lodash "4.17.21" object-hash "3.0.0" - tiny-lru "8.0.1" + tiny-lru "8.0.2" + tslib "^2.3.1" -"@graphql-mesh/utils@0.33.5": - version "0.33.5" - resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.33.5.tgz#ce3fa28392142b466421acb2e3ee5ff42d946ee5" - integrity sha512-kT4RPewuQkqXy7eKCAYo1wTjAEwqLAUVJCUMLdi9oPuzuOofdMOOvu+BDHjaKVDVuPnZDD4tJlHhf5XRwjTYnA== +"@graphql-mesh/utils@0.33.6": + version "0.33.6" + resolved "https://registry.yarnpkg.com/@graphql-mesh/utils/-/utils-0.33.6.tgz#20bfcbd8642e0cd7fbcc7b2d87455b81a3364bf3" + integrity sha512-a4SkousbxDpTJVC8Ag7b4A3CaRPU1ofRPUmoV1vizMvaSaa1A+6NvRdM1+LhvTexNvBxSrY/XASH8fOApYjGDg== dependencies: "@ardatan/string-interpolation" "1.2.12" - "@graphql-mesh/cross-helpers" "0.1.0" - "@graphql-mesh/types" "0.70.5" - "@graphql-tools/delegate" "8.7.6" - "@graphql-tools/utils" "8.6.8" + "@graphql-mesh/cross-helpers" "0.1.1" + "@graphql-mesh/types" "0.70.6" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/utils" "8.6.9" "@graphql-typed-document-node/core" "3.1.1" chalk "4.1.2" - cross-undici-fetch "0.2.5" + cross-undici-fetch "0.3.0" date-fns "2.28.0" fetchache "0.1.1" file-uri-to-path "2.0.0" @@ -1744,7 +1754,7 @@ tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/batch-execute@8.4.6", "@graphql-tools/batch-execute@^8.3.2": +"@graphql-tools/batch-execute@8.4.6": version "8.4.6" resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.4.6.tgz#6033cbf0b7d30c901ae4a1a7de7501aedf5a6a10" integrity sha512-8O42fReZMssrA4HCkpK68RlRQz/QAvLfOkz+/6dDX2X7VgZtRx3VvFiJd2hFaGdNbLzklBWXF9E6hJdJGkEO5g== @@ -1765,19 +1775,6 @@ tslib "~2.3.0" unixify "^1.0.0" -"@graphql-tools/delegate@8.5.1": - version "8.5.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.5.1.tgz#3d146cc3bb74935116d3f4bddb3affdf14a9712d" - integrity sha512-/YPmVxitt57F8sH50pnfXASzOOjEfaUDkX48eF5q6f16+JBncej2zeu+Zm2c68q8MbIxhPlEGfpd0QZeqTvAxw== - dependencies: - "@graphql-tools/batch-execute" "^8.3.2" - "@graphql-tools/schema" "^8.3.2" - "@graphql-tools/utils" "^8.6.2" - dataloader "2.0.0" - graphql-executor "0.0.18" - tslib "~2.3.0" - value-or-promise "1.0.11" - "@graphql-tools/delegate@8.7.6": version "8.7.6" resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.6.tgz#48d5e7b7c0e17fb5270e34dc4710c5f7598782b5" @@ -1791,7 +1788,7 @@ tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/delegate@8.7.7", "@graphql-tools/delegate@^8.5.1": +"@graphql-tools/delegate@8.7.7": version "8.7.7" resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.7.tgz#8626e5734eff1643f99b10202bb324c8a4a8c210" integrity sha512-Yb9UHG+Upm0M+5FgtWipXM0/Q8Vuuh1Ieod7hFDmAwHGHbmwG0YpcS/NMdxrQAZYWnli9EdnSPgDAFnWLFN+ZQ== @@ -1887,7 +1884,7 @@ micromatch "^4.0.4" tslib "~2.3.0" -"@graphql-tools/schema@8.3.10", "@graphql-tools/schema@^8.1.2", "@graphql-tools/schema@^8.3.1", "@graphql-tools/schema@^8.3.2": +"@graphql-tools/schema@8.3.10", "@graphql-tools/schema@^8.1.2", "@graphql-tools/schema@^8.3.1": version "8.3.10" resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.3.10.tgz#c3e373e6ad854f533fc7e55859dd8f9e81de30dd" integrity sha512-tfhjSTi3OzheDrVzG7rkPZg2BbQjmZRLM2vvQoM2b1TnUwgUIbpAgcnf+AWDLRsoCOWlezeLgij1BLeAR0Q0jg== @@ -1930,27 +1927,18 @@ "@graphql-tools/utils" "8.6.9" tslib "~2.3.0" -"@graphql-tools/stitching-directives@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.2.2.tgz#e02630d3b8d6eb8e200e0387f65493286faca4b5" - integrity sha512-J/+4Jvq4MoLeY6n4vOm/qhrE8NvCXPUdPmoxscdem4bmwCS+Pb4hg7DBxtP3c6Oz+e11PvAQpq0EMKE9scXC1Q== +"@graphql-tools/url-loader@7.9.14": + version "7.9.14" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.9.14.tgz#9f76af9a6c55a0cf2e87ccf9b3be15eeb6af188c" + integrity sha512-7IXiqUYp0cHeM+qvgjM4jAq8uJhl3PDdQYkyIj5wzZ7XjrkdV3JjPt0cHj2IBIeEwQJOjEKNeFYXjOlg73guCQ== dependencies: - "@graphql-tools/delegate" "^8.5.1" - "@graphql-tools/utils" "^8.6.2" - tslib "~2.3.0" - -"@graphql-tools/url-loader@7.9.13": - version "7.9.13" - resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.9.13.tgz#936e7f6023b1de3dcffb870b42227619f86975a1" - integrity sha512-AeLCLhUyXt2Owt624v0/xjGBvBrYJLWhdNm5LJLcWrMxRoEq16B+E5/JOq3aXruDAaq3VmINjnRMM1As+FphSg== - dependencies: - "@graphql-tools/delegate" "8.7.6" - "@graphql-tools/utils" "8.6.8" - "@graphql-tools/wrap" "8.4.15" + "@graphql-tools/delegate" "8.7.7" + "@graphql-tools/utils" "8.6.9" + "@graphql-tools/wrap" "8.4.16" "@graphql-yoga/node" "2.3.0" "@n1ru4l/graphql-live-query" "^0.9.0" "@types/ws" "^8.0.0" - cross-undici-fetch "^0.2.4" + cross-undici-fetch "^0.3.0" dset "^3.1.0" extract-files "^11.0.0" graphql-ws "^5.4.1" @@ -1961,13 +1949,6 @@ value-or-promise "^1.0.11" ws "^8.3.0" -"@graphql-tools/utils@8.6.2": - version "8.6.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.2.tgz#095408135f091aac68fe18a0a21b708e685500da" - integrity sha512-x1DG0cJgpJtImUlNE780B/dfp8pxvVxOD6UeykFH5rHes26S4kGokbgU8F1IgrJ1vAPm/OVBHtd2kicTsPfwdA== - dependencies: - tslib "~2.3.0" - "@graphql-tools/utils@8.6.8": version "8.6.8" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.8.tgz#a0824ed5810f66c504df4e97c5900786ac0c260e" @@ -1975,7 +1956,7 @@ dependencies: tslib "~2.3.0" -"@graphql-tools/utils@8.6.9", "@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.3.0", "@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2", "@graphql-tools/utils@^8.6.0", "@graphql-tools/utils@^8.6.1", "@graphql-tools/utils@^8.6.2": +"@graphql-tools/utils@8.6.9", "@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.3.0", "@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2", "@graphql-tools/utils@^8.6.0", "@graphql-tools/utils@^8.6.1": version "8.6.9" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.9.tgz#fe1b81df29c9418b41b7a1ffe731710b93d3a1fe" integrity sha512-Z1X4d4GCT81+8CSt6SgU4t1w1UAUsAIRb67mI90k/zAs+ArkB95iE3bWXuJCUmd1+r8DGGtmUNOArtd6wkt+OQ== @@ -2004,17 +1985,6 @@ tslib "~2.3.0" value-or-promise "1.0.11" -"@graphql-tools/wrap@8.4.3": - version "8.4.3" - resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.4.3.tgz#cb7d703c41cebe3c32b999d3a28c17e3eac12783" - integrity sha512-2bd3GtlqV72idEphLTM8SRiSxEDrMPGE556faW8N5Q2qK7qlCEu9AQK0HNKWKdtEPTHqahndZtIPcdpNN6xGig== - dependencies: - "@graphql-tools/delegate" "^8.5.1" - "@graphql-tools/schema" "^8.3.2" - "@graphql-tools/utils" "^8.6.2" - tslib "~2.3.0" - value-or-promise "1.0.11" - "@graphql-typed-document-node/core@3.1.1", "@graphql-typed-document-node/core@^3.0.0", "@graphql-typed-document-node/core@^3.1.1": version "3.1.1" resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.1.1.tgz#076d78ce99822258cf813ecc1e7fa460fa74d052" @@ -3835,22 +3805,22 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -cross-undici-fetch@0.1.25: - version "0.1.25" - resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.1.25.tgz#8c6826dd0ffbb45fcb1a554be5984e0eaef7f3ba" - integrity sha512-KS6hm/VuRO+3jIrg4uidz3mQ8NWvCbiTTOg3yoH30zuGVUvjqZlnXw66h0kuzyfP21hDkrdIbufXCW6BAQdSNw== +cross-undici-fetch@0.2.5, cross-undici-fetch@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.2.5.tgz#0dd5bb3809a2fc4524fc777f1e6eb052203a6b68" + integrity sha512-6IR+JN6o2UMNj2f3fu0ZVkZeP0h22DRKzq78SiMenkqyBYyGIT1AkZjHkItvh0A80LdsAlWENHUpvapapePucw== dependencies: abort-controller "^3.0.0" form-data-encoder "^1.7.1" formdata-node "^4.3.1" node-fetch "^2.6.7" - undici "^4.9.3" + undici "^5.0.0" web-streams-polyfill "^3.2.0" -cross-undici-fetch@0.2.5, cross-undici-fetch@^0.2.4, cross-undici-fetch@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.2.5.tgz#0dd5bb3809a2fc4524fc777f1e6eb052203a6b68" - integrity sha512-6IR+JN6o2UMNj2f3fu0ZVkZeP0h22DRKzq78SiMenkqyBYyGIT1AkZjHkItvh0A80LdsAlWENHUpvapapePucw== +cross-undici-fetch@0.3.0, cross-undici-fetch@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/cross-undici-fetch/-/cross-undici-fetch-0.3.0.tgz#d03764f0a1bcb745855bba8464c231d46ee14cfa" + integrity sha512-as3gHg3EJrc4QMS11/GdHtyY+m3LnIf8GrziHQRe/dGxSHqEP4RcONJ/3UVaPeA1j687aYvwzWMPWKgqsdXbtA== dependencies: abort-controller "^3.0.0" form-data-encoder "^1.7.1" @@ -3925,11 +3895,6 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" -dataloader@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.0.0.tgz#41eaf123db115987e21ca93c005cd7753c55fe6f" - integrity sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ== - dataloader@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.1.0.tgz#c69c538235e85e7ac6c6c444bae8ecabf5de9df7" @@ -4601,11 +4566,6 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== -estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== - estree-walker@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" @@ -5166,11 +5126,6 @@ grapheme-splitter@^1.0.4: resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== -graphql-executor@0.0.18: - version "0.0.18" - resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.18.tgz#6aa4b39e1ca773e159c2a602621e90606df0109a" - integrity sha512-upUSl7tfZCZ5dWG1XkOvpG70Yk3duZKcCoi/uJso4WxJVT6KIrcK4nZ4+2X/hzx46pL8wAukgYHY6iNmocRN+g== - graphql-executor@0.0.23: version "0.0.23" resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.23.tgz#205c1764b39ee0fcf611553865770f37b45851a2" @@ -5194,10 +5149,10 @@ graphql-jit@0.7.3: lodash.merge "4.6.2" lodash.mergewith "4.6.2" -graphql-scalars@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/graphql-scalars/-/graphql-scalars-1.15.0.tgz#798b9aa12bcbe56be32d62aadc2cd67e22ba63c4" - integrity sha512-uLi71egHsfF+A4XmnltPYRUnvy8uBsobRjhW6aBi305gpE/v52xkuKcjygV0CqeqdvRKmFhczh9HRx1lho2MRw== +graphql-scalars@1.17.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/graphql-scalars/-/graphql-scalars-1.17.0.tgz#10e4f0fe44472d475dd72f14412c065fd1b7aff8" + integrity sha512-y1WtSu6jiW5QdDjK3RWMRTdK+xAAtSIq3IxmtnhxzH7bCkHV/z8VZa8fsSG4BcWbjQQtCQYQvMnvbQ+TBCyJRQ== dependencies: tslib "~2.3.0" @@ -6640,13 +6595,6 @@ ltgt@^2.1.2: resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5" integrity sha1-81ypHEk/e3PaDgdJUwTxezH4fuU= -magic-string@^0.25.3: - version "0.25.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== - dependencies: - sourcemap-codec "^1.4.8" - make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -7919,22 +7867,6 @@ rollup-plugin-generate-package-json@3.2.0: read-pkg "^5.2.0" write-pkg "^4.0.0" -rollup-plugin-inject@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4" - integrity sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w== - dependencies: - estree-walker "^0.6.1" - magic-string "^0.25.3" - rollup-pluginutils "^2.8.1" - -rollup-plugin-node-polyfills@0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz#53092a2744837164d5b8a28812ba5f3ff61109fd" - integrity sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA== - dependencies: - rollup-plugin-inject "^3.0.0" - rollup-plugin-typescript2@0.27.0: version "0.27.0" resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.27.0.tgz#95ff96f9e07d5000a9d2df4d76b548f9a1f83511" @@ -7946,13 +7878,6 @@ rollup-plugin-typescript2@0.27.0: resolve "1.15.1" tslib "1.11.1" -rollup-pluginutils@^2.8.1: - version "2.8.2" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== - dependencies: - estree-walker "^0.6.1" - rollup@2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.2.tgz#afa68e4f3325bcef4e150d082056bef450bcac60" @@ -8210,11 +8135,6 @@ source-map@^0.7.3: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - spawn-command@^0.0.2-1: version "0.0.2-1" resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" @@ -8520,11 +8440,6 @@ tiny-lru@7.0.6: resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-7.0.6.tgz#b0c3cdede1e5882aa2d1ae21cb2ceccf2a331f24" integrity sha512-zNYO0Kvgn5rXzWpL0y3RS09sMK67eGaQj9805jlK9G6pSadfriTczzLHFXa/xcW4mIRfmlB9HyQ/+SgL0V1uow== -tiny-lru@8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-8.0.1.tgz#c1d77d806e68035aaa2253e253d212291240ece2" - integrity sha512-eBIAYA0BzSjxBedCaO0CSjertD+u+IvNuFkyD7ESf+qjqHKBr5wFqvEYl91+ZQd7jjq2pO6/fBVwFgb6bxvorw== - tiny-lru@8.0.2: version "8.0.2" resolved "https://registry.yarnpkg.com/tiny-lru/-/tiny-lru-8.0.2.tgz#812fccbe6e622ded552e3ff8a4c3b5ff34a85e4c" @@ -8832,11 +8747,6 @@ undefsafe@^2.0.5: resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== -undici@^4.9.3: - version "4.14.1" - resolved "https://registry.yarnpkg.com/undici/-/undici-4.14.1.tgz#7633b143a8a10d6d63335e00511d071e8d52a1d9" - integrity sha512-WJ+g+XqiZcATcBaUeluCajqy4pEDcQfK1vy+Fo+bC4/mqXI9IIQD/XWHLS70fkGUT6P52Drm7IFslO651OdLPQ== - undici@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/undici/-/undici-5.0.0.tgz#3c1e08c7f0df90c485d5d8dbb0517e11e34f2090" From 367cb3eb0c191bd095880dc5215c31fecd275ec8 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 21 Apr 2022 18:03:33 +0300 Subject: [PATCH 4/4] Revert wrong files --- examples/transforms/.graphclient/index.ts | 6401 ----------------- .../transforms/.graphclient/schema.graphql | 2988 -------- .../sources/uniswap/schema.graphql | 2851 -------- 3 files changed, 12240 deletions(-) delete mode 100644 examples/transforms/.graphclient/index.ts delete mode 100644 examples/transforms/.graphclient/schema.graphql delete mode 100644 examples/transforms/.graphclient/sources/uniswap/schema.graphql diff --git a/examples/transforms/.graphclient/index.ts b/examples/transforms/.graphclient/index.ts deleted file mode 100644 index b549ea50..00000000 --- a/examples/transforms/.graphclient/index.ts +++ /dev/null @@ -1,6401 +0,0 @@ -// @ts-nocheck -import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql' - -export type Maybe = T | null -export type InputMaybe = Maybe -export type Exact = { [K in keyof T]: T[K] } -export type MakeOptional = Omit & { [SubKey in K]?: Maybe } -export type MakeMaybe = Omit & { [SubKey in K]: Maybe } -export type RequireFields = Omit & { [P in K]-?: NonNullable } -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: string - String: string - Boolean: boolean - Int: number - Float: number - BigDecimal: any - BigInt: any - Bytes: any -} - -export type BlockChangedFilter = { - number_gte: Scalars['Int'] -} - -export type Block_height = { - hash?: InputMaybe - number?: InputMaybe - number_gte?: InputMaybe -} - -export type Bundle = { - id: Scalars['ID'] - ethPrice: Scalars['BigDecimal'] -} - -export type Bundle_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - ethPrice?: InputMaybe - ethPrice_not?: InputMaybe - ethPrice_gt?: InputMaybe - ethPrice_lt?: InputMaybe - ethPrice_gte?: InputMaybe - ethPrice_lte?: InputMaybe - ethPrice_in?: InputMaybe> - ethPrice_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Bundle_orderBy = 'id' | 'ethPrice' - -export type Burn = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - liquidity: Scalars['BigDecimal'] - sender?: Maybe - amount0?: Maybe - amount1?: Maybe - to?: Maybe - logIndex?: Maybe - amountUSD?: Maybe - needsComplete: Scalars['Boolean'] - feeTo?: Maybe - feeLiquidity?: Maybe -} - -export type Burn_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - liquidity?: InputMaybe - liquidity_not?: InputMaybe - liquidity_gt?: InputMaybe - liquidity_lt?: InputMaybe - liquidity_gte?: InputMaybe - liquidity_lte?: InputMaybe - liquidity_in?: InputMaybe> - liquidity_not_in?: InputMaybe> - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0?: InputMaybe - amount0_not?: InputMaybe - amount0_gt?: InputMaybe - amount0_lt?: InputMaybe - amount0_gte?: InputMaybe - amount0_lte?: InputMaybe - amount0_in?: InputMaybe> - amount0_not_in?: InputMaybe> - amount1?: InputMaybe - amount1_not?: InputMaybe - amount1_gt?: InputMaybe - amount1_lt?: InputMaybe - amount1_gte?: InputMaybe - amount1_lte?: InputMaybe - amount1_in?: InputMaybe> - amount1_not_in?: InputMaybe> - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - needsComplete?: InputMaybe - needsComplete_not?: InputMaybe - needsComplete_in?: InputMaybe> - needsComplete_not_in?: InputMaybe> - feeTo?: InputMaybe - feeTo_not?: InputMaybe - feeTo_in?: InputMaybe> - feeTo_not_in?: InputMaybe> - feeTo_contains?: InputMaybe - feeTo_not_contains?: InputMaybe - feeLiquidity?: InputMaybe - feeLiquidity_not?: InputMaybe - feeLiquidity_gt?: InputMaybe - feeLiquidity_lt?: InputMaybe - feeLiquidity_gte?: InputMaybe - feeLiquidity_lte?: InputMaybe - feeLiquidity_in?: InputMaybe> - feeLiquidity_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Burn_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'liquidity' - | 'sender' - | 'amount0' - | 'amount1' - | 'to' - | 'logIndex' - | 'amountUSD' - | 'needsComplete' - | 'feeTo' - | 'feeLiquidity' - -export type LiquidityPosition = { - id: Scalars['ID'] - user: User - pair: Pair - liquidityTokenBalance: Scalars['BigDecimal'] -} - -export type LiquidityPositionSnapshot = { - id: Scalars['ID'] - liquidityPosition: LiquidityPosition - timestamp: Scalars['Int'] - block: Scalars['Int'] - user: User - pair: Pair - token0PriceUSD: Scalars['BigDecimal'] - token1PriceUSD: Scalars['BigDecimal'] - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - liquidityTokenTotalSupply: Scalars['BigDecimal'] - liquidityTokenBalance: Scalars['BigDecimal'] -} - -export type LiquidityPositionSnapshot_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - liquidityPosition?: InputMaybe - liquidityPosition_not?: InputMaybe - liquidityPosition_gt?: InputMaybe - liquidityPosition_lt?: InputMaybe - liquidityPosition_gte?: InputMaybe - liquidityPosition_lte?: InputMaybe - liquidityPosition_in?: InputMaybe> - liquidityPosition_not_in?: InputMaybe> - liquidityPosition_contains?: InputMaybe - liquidityPosition_contains_nocase?: InputMaybe - liquidityPosition_not_contains?: InputMaybe - liquidityPosition_not_contains_nocase?: InputMaybe - liquidityPosition_starts_with?: InputMaybe - liquidityPosition_starts_with_nocase?: InputMaybe - liquidityPosition_not_starts_with?: InputMaybe - liquidityPosition_not_starts_with_nocase?: InputMaybe - liquidityPosition_ends_with?: InputMaybe - liquidityPosition_ends_with_nocase?: InputMaybe - liquidityPosition_not_ends_with?: InputMaybe - liquidityPosition_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - block?: InputMaybe - block_not?: InputMaybe - block_gt?: InputMaybe - block_lt?: InputMaybe - block_gte?: InputMaybe - block_lte?: InputMaybe - block_in?: InputMaybe> - block_not_in?: InputMaybe> - user?: InputMaybe - user_not?: InputMaybe - user_gt?: InputMaybe - user_lt?: InputMaybe - user_gte?: InputMaybe - user_lte?: InputMaybe - user_in?: InputMaybe> - user_not_in?: InputMaybe> - user_contains?: InputMaybe - user_contains_nocase?: InputMaybe - user_not_contains?: InputMaybe - user_not_contains_nocase?: InputMaybe - user_starts_with?: InputMaybe - user_starts_with_nocase?: InputMaybe - user_not_starts_with?: InputMaybe - user_not_starts_with_nocase?: InputMaybe - user_ends_with?: InputMaybe - user_ends_with_nocase?: InputMaybe - user_not_ends_with?: InputMaybe - user_not_ends_with_nocase?: InputMaybe - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - token0PriceUSD?: InputMaybe - token0PriceUSD_not?: InputMaybe - token0PriceUSD_gt?: InputMaybe - token0PriceUSD_lt?: InputMaybe - token0PriceUSD_gte?: InputMaybe - token0PriceUSD_lte?: InputMaybe - token0PriceUSD_in?: InputMaybe> - token0PriceUSD_not_in?: InputMaybe> - token1PriceUSD?: InputMaybe - token1PriceUSD_not?: InputMaybe - token1PriceUSD_gt?: InputMaybe - token1PriceUSD_lt?: InputMaybe - token1PriceUSD_gte?: InputMaybe - token1PriceUSD_lte?: InputMaybe - token1PriceUSD_in?: InputMaybe> - token1PriceUSD_not_in?: InputMaybe> - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - liquidityTokenTotalSupply?: InputMaybe - liquidityTokenTotalSupply_not?: InputMaybe - liquidityTokenTotalSupply_gt?: InputMaybe - liquidityTokenTotalSupply_lt?: InputMaybe - liquidityTokenTotalSupply_gte?: InputMaybe - liquidityTokenTotalSupply_lte?: InputMaybe - liquidityTokenTotalSupply_in?: InputMaybe> - liquidityTokenTotalSupply_not_in?: InputMaybe> - liquidityTokenBalance?: InputMaybe - liquidityTokenBalance_not?: InputMaybe - liquidityTokenBalance_gt?: InputMaybe - liquidityTokenBalance_lt?: InputMaybe - liquidityTokenBalance_gte?: InputMaybe - liquidityTokenBalance_lte?: InputMaybe - liquidityTokenBalance_in?: InputMaybe> - liquidityTokenBalance_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type LiquidityPositionSnapshot_orderBy = - | 'id' - | 'liquidityPosition' - | 'timestamp' - | 'block' - | 'user' - | 'pair' - | 'token0PriceUSD' - | 'token1PriceUSD' - | 'reserve0' - | 'reserve1' - | 'reserveUSD' - | 'liquidityTokenTotalSupply' - | 'liquidityTokenBalance' - -export type LiquidityPosition_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - user?: InputMaybe - user_not?: InputMaybe - user_gt?: InputMaybe - user_lt?: InputMaybe - user_gte?: InputMaybe - user_lte?: InputMaybe - user_in?: InputMaybe> - user_not_in?: InputMaybe> - user_contains?: InputMaybe - user_contains_nocase?: InputMaybe - user_not_contains?: InputMaybe - user_not_contains_nocase?: InputMaybe - user_starts_with?: InputMaybe - user_starts_with_nocase?: InputMaybe - user_not_starts_with?: InputMaybe - user_not_starts_with_nocase?: InputMaybe - user_ends_with?: InputMaybe - user_ends_with_nocase?: InputMaybe - user_not_ends_with?: InputMaybe - user_not_ends_with_nocase?: InputMaybe - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - liquidityTokenBalance?: InputMaybe - liquidityTokenBalance_not?: InputMaybe - liquidityTokenBalance_gt?: InputMaybe - liquidityTokenBalance_lt?: InputMaybe - liquidityTokenBalance_gte?: InputMaybe - liquidityTokenBalance_lte?: InputMaybe - liquidityTokenBalance_in?: InputMaybe> - liquidityTokenBalance_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type LiquidityPosition_orderBy = 'id' | 'user' | 'pair' | 'liquidityTokenBalance' - -export type Mint = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - to: Scalars['Bytes'] - liquidity: Scalars['BigDecimal'] - sender?: Maybe - amount0?: Maybe - amount1?: Maybe - logIndex?: Maybe - amountUSD?: Maybe - feeTo?: Maybe - feeLiquidity?: Maybe -} - -export type Mint_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - liquidity?: InputMaybe - liquidity_not?: InputMaybe - liquidity_gt?: InputMaybe - liquidity_lt?: InputMaybe - liquidity_gte?: InputMaybe - liquidity_lte?: InputMaybe - liquidity_in?: InputMaybe> - liquidity_not_in?: InputMaybe> - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0?: InputMaybe - amount0_not?: InputMaybe - amount0_gt?: InputMaybe - amount0_lt?: InputMaybe - amount0_gte?: InputMaybe - amount0_lte?: InputMaybe - amount0_in?: InputMaybe> - amount0_not_in?: InputMaybe> - amount1?: InputMaybe - amount1_not?: InputMaybe - amount1_gt?: InputMaybe - amount1_lt?: InputMaybe - amount1_gte?: InputMaybe - amount1_lte?: InputMaybe - amount1_in?: InputMaybe> - amount1_not_in?: InputMaybe> - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - feeTo?: InputMaybe - feeTo_not?: InputMaybe - feeTo_in?: InputMaybe> - feeTo_not_in?: InputMaybe> - feeTo_contains?: InputMaybe - feeTo_not_contains?: InputMaybe - feeLiquidity?: InputMaybe - feeLiquidity_not?: InputMaybe - feeLiquidity_gt?: InputMaybe - feeLiquidity_lt?: InputMaybe - feeLiquidity_gte?: InputMaybe - feeLiquidity_lte?: InputMaybe - feeLiquidity_in?: InputMaybe> - feeLiquidity_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Mint_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'to' - | 'liquidity' - | 'sender' - | 'amount0' - | 'amount1' - | 'logIndex' - | 'amountUSD' - | 'feeTo' - | 'feeLiquidity' - -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = 'asc' | 'desc' - -export type Pair = { - id: Scalars['ID'] - token0: Token - token1: Token - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - totalSupply: Scalars['BigDecimal'] - reserveETH: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - trackedReserveETH: Scalars['BigDecimal'] - token0Price: Scalars['BigDecimal'] - token1Price: Scalars['BigDecimal'] - volumeToken0: Scalars['BigDecimal'] - volumeToken1: Scalars['BigDecimal'] - volumeUSD: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - createdAtTimestamp: Scalars['BigInt'] - createdAtBlockNumber: Scalars['BigInt'] - liquidityProviderCount: Scalars['BigInt'] -} - -export type PairDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - pairAddress: Scalars['Bytes'] - token0: Token - token1: Token - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - totalSupply: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - dailyVolumeToken0: Scalars['BigDecimal'] - dailyVolumeToken1: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyTxns: Scalars['BigInt'] -} - -export type PairDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - pairAddress?: InputMaybe - pairAddress_not?: InputMaybe - pairAddress_in?: InputMaybe> - pairAddress_not_in?: InputMaybe> - pairAddress_contains?: InputMaybe - pairAddress_not_contains?: InputMaybe - token0?: InputMaybe - token0_not?: InputMaybe - token0_gt?: InputMaybe - token0_lt?: InputMaybe - token0_gte?: InputMaybe - token0_lte?: InputMaybe - token0_in?: InputMaybe> - token0_not_in?: InputMaybe> - token0_contains?: InputMaybe - token0_contains_nocase?: InputMaybe - token0_not_contains?: InputMaybe - token0_not_contains_nocase?: InputMaybe - token0_starts_with?: InputMaybe - token0_starts_with_nocase?: InputMaybe - token0_not_starts_with?: InputMaybe - token0_not_starts_with_nocase?: InputMaybe - token0_ends_with?: InputMaybe - token0_ends_with_nocase?: InputMaybe - token0_not_ends_with?: InputMaybe - token0_not_ends_with_nocase?: InputMaybe - token1?: InputMaybe - token1_not?: InputMaybe - token1_gt?: InputMaybe - token1_lt?: InputMaybe - token1_gte?: InputMaybe - token1_lte?: InputMaybe - token1_in?: InputMaybe> - token1_not_in?: InputMaybe> - token1_contains?: InputMaybe - token1_contains_nocase?: InputMaybe - token1_not_contains?: InputMaybe - token1_not_contains_nocase?: InputMaybe - token1_starts_with?: InputMaybe - token1_starts_with_nocase?: InputMaybe - token1_not_starts_with?: InputMaybe - token1_not_starts_with_nocase?: InputMaybe - token1_ends_with?: InputMaybe - token1_ends_with_nocase?: InputMaybe - token1_not_ends_with?: InputMaybe - token1_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - dailyVolumeToken0?: InputMaybe - dailyVolumeToken0_not?: InputMaybe - dailyVolumeToken0_gt?: InputMaybe - dailyVolumeToken0_lt?: InputMaybe - dailyVolumeToken0_gte?: InputMaybe - dailyVolumeToken0_lte?: InputMaybe - dailyVolumeToken0_in?: InputMaybe> - dailyVolumeToken0_not_in?: InputMaybe> - dailyVolumeToken1?: InputMaybe - dailyVolumeToken1_not?: InputMaybe - dailyVolumeToken1_gt?: InputMaybe - dailyVolumeToken1_lt?: InputMaybe - dailyVolumeToken1_gte?: InputMaybe - dailyVolumeToken1_lte?: InputMaybe - dailyVolumeToken1_in?: InputMaybe> - dailyVolumeToken1_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyTxns?: InputMaybe - dailyTxns_not?: InputMaybe - dailyTxns_gt?: InputMaybe - dailyTxns_lt?: InputMaybe - dailyTxns_gte?: InputMaybe - dailyTxns_lte?: InputMaybe - dailyTxns_in?: InputMaybe> - dailyTxns_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type PairDayData_orderBy = - | 'id' - | 'date' - | 'pairAddress' - | 'token0' - | 'token1' - | 'reserve0' - | 'reserve1' - | 'totalSupply' - | 'reserveUSD' - | 'dailyVolumeToken0' - | 'dailyVolumeToken1' - | 'dailyVolumeUSD' - | 'dailyTxns' - -export type PairHourData = { - id: Scalars['ID'] - hourStartUnix: Scalars['Int'] - pair: Pair - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - hourlyVolumeToken0: Scalars['BigDecimal'] - hourlyVolumeToken1: Scalars['BigDecimal'] - hourlyVolumeUSD: Scalars['BigDecimal'] - hourlyTxns: Scalars['BigInt'] -} - -export type PairHourData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - hourStartUnix?: InputMaybe - hourStartUnix_not?: InputMaybe - hourStartUnix_gt?: InputMaybe - hourStartUnix_lt?: InputMaybe - hourStartUnix_gte?: InputMaybe - hourStartUnix_lte?: InputMaybe - hourStartUnix_in?: InputMaybe> - hourStartUnix_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - hourlyVolumeToken0?: InputMaybe - hourlyVolumeToken0_not?: InputMaybe - hourlyVolumeToken0_gt?: InputMaybe - hourlyVolumeToken0_lt?: InputMaybe - hourlyVolumeToken0_gte?: InputMaybe - hourlyVolumeToken0_lte?: InputMaybe - hourlyVolumeToken0_in?: InputMaybe> - hourlyVolumeToken0_not_in?: InputMaybe> - hourlyVolumeToken1?: InputMaybe - hourlyVolumeToken1_not?: InputMaybe - hourlyVolumeToken1_gt?: InputMaybe - hourlyVolumeToken1_lt?: InputMaybe - hourlyVolumeToken1_gte?: InputMaybe - hourlyVolumeToken1_lte?: InputMaybe - hourlyVolumeToken1_in?: InputMaybe> - hourlyVolumeToken1_not_in?: InputMaybe> - hourlyVolumeUSD?: InputMaybe - hourlyVolumeUSD_not?: InputMaybe - hourlyVolumeUSD_gt?: InputMaybe - hourlyVolumeUSD_lt?: InputMaybe - hourlyVolumeUSD_gte?: InputMaybe - hourlyVolumeUSD_lte?: InputMaybe - hourlyVolumeUSD_in?: InputMaybe> - hourlyVolumeUSD_not_in?: InputMaybe> - hourlyTxns?: InputMaybe - hourlyTxns_not?: InputMaybe - hourlyTxns_gt?: InputMaybe - hourlyTxns_lt?: InputMaybe - hourlyTxns_gte?: InputMaybe - hourlyTxns_lte?: InputMaybe - hourlyTxns_in?: InputMaybe> - hourlyTxns_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type PairHourData_orderBy = - | 'id' - | 'hourStartUnix' - | 'pair' - | 'reserve0' - | 'reserve1' - | 'reserveUSD' - | 'hourlyVolumeToken0' - | 'hourlyVolumeToken1' - | 'hourlyVolumeUSD' - | 'hourlyTxns' - -export type Pair_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - token0?: InputMaybe - token0_not?: InputMaybe - token0_gt?: InputMaybe - token0_lt?: InputMaybe - token0_gte?: InputMaybe - token0_lte?: InputMaybe - token0_in?: InputMaybe> - token0_not_in?: InputMaybe> - token0_contains?: InputMaybe - token0_contains_nocase?: InputMaybe - token0_not_contains?: InputMaybe - token0_not_contains_nocase?: InputMaybe - token0_starts_with?: InputMaybe - token0_starts_with_nocase?: InputMaybe - token0_not_starts_with?: InputMaybe - token0_not_starts_with_nocase?: InputMaybe - token0_ends_with?: InputMaybe - token0_ends_with_nocase?: InputMaybe - token0_not_ends_with?: InputMaybe - token0_not_ends_with_nocase?: InputMaybe - token1?: InputMaybe - token1_not?: InputMaybe - token1_gt?: InputMaybe - token1_lt?: InputMaybe - token1_gte?: InputMaybe - token1_lte?: InputMaybe - token1_in?: InputMaybe> - token1_not_in?: InputMaybe> - token1_contains?: InputMaybe - token1_contains_nocase?: InputMaybe - token1_not_contains?: InputMaybe - token1_not_contains_nocase?: InputMaybe - token1_starts_with?: InputMaybe - token1_starts_with_nocase?: InputMaybe - token1_not_starts_with?: InputMaybe - token1_not_starts_with_nocase?: InputMaybe - token1_ends_with?: InputMaybe - token1_ends_with_nocase?: InputMaybe - token1_not_ends_with?: InputMaybe - token1_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - reserveETH?: InputMaybe - reserveETH_not?: InputMaybe - reserveETH_gt?: InputMaybe - reserveETH_lt?: InputMaybe - reserveETH_gte?: InputMaybe - reserveETH_lte?: InputMaybe - reserveETH_in?: InputMaybe> - reserveETH_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - trackedReserveETH?: InputMaybe - trackedReserveETH_not?: InputMaybe - trackedReserveETH_gt?: InputMaybe - trackedReserveETH_lt?: InputMaybe - trackedReserveETH_gte?: InputMaybe - trackedReserveETH_lte?: InputMaybe - trackedReserveETH_in?: InputMaybe> - trackedReserveETH_not_in?: InputMaybe> - token0Price?: InputMaybe - token0Price_not?: InputMaybe - token0Price_gt?: InputMaybe - token0Price_lt?: InputMaybe - token0Price_gte?: InputMaybe - token0Price_lte?: InputMaybe - token0Price_in?: InputMaybe> - token0Price_not_in?: InputMaybe> - token1Price?: InputMaybe - token1Price_not?: InputMaybe - token1Price_gt?: InputMaybe - token1Price_lt?: InputMaybe - token1Price_gte?: InputMaybe - token1Price_lte?: InputMaybe - token1Price_in?: InputMaybe> - token1Price_not_in?: InputMaybe> - volumeToken0?: InputMaybe - volumeToken0_not?: InputMaybe - volumeToken0_gt?: InputMaybe - volumeToken0_lt?: InputMaybe - volumeToken0_gte?: InputMaybe - volumeToken0_lte?: InputMaybe - volumeToken0_in?: InputMaybe> - volumeToken0_not_in?: InputMaybe> - volumeToken1?: InputMaybe - volumeToken1_not?: InputMaybe - volumeToken1_gt?: InputMaybe - volumeToken1_lt?: InputMaybe - volumeToken1_gte?: InputMaybe - volumeToken1_lte?: InputMaybe - volumeToken1_in?: InputMaybe> - volumeToken1_not_in?: InputMaybe> - volumeUSD?: InputMaybe - volumeUSD_not?: InputMaybe - volumeUSD_gt?: InputMaybe - volumeUSD_lt?: InputMaybe - volumeUSD_gte?: InputMaybe - volumeUSD_lte?: InputMaybe - volumeUSD_in?: InputMaybe> - volumeUSD_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - createdAtTimestamp?: InputMaybe - createdAtTimestamp_not?: InputMaybe - createdAtTimestamp_gt?: InputMaybe - createdAtTimestamp_lt?: InputMaybe - createdAtTimestamp_gte?: InputMaybe - createdAtTimestamp_lte?: InputMaybe - createdAtTimestamp_in?: InputMaybe> - createdAtTimestamp_not_in?: InputMaybe> - createdAtBlockNumber?: InputMaybe - createdAtBlockNumber_not?: InputMaybe - createdAtBlockNumber_gt?: InputMaybe - createdAtBlockNumber_lt?: InputMaybe - createdAtBlockNumber_gte?: InputMaybe - createdAtBlockNumber_lte?: InputMaybe - createdAtBlockNumber_in?: InputMaybe> - createdAtBlockNumber_not_in?: InputMaybe> - liquidityProviderCount?: InputMaybe - liquidityProviderCount_not?: InputMaybe - liquidityProviderCount_gt?: InputMaybe - liquidityProviderCount_lt?: InputMaybe - liquidityProviderCount_gte?: InputMaybe - liquidityProviderCount_lte?: InputMaybe - liquidityProviderCount_in?: InputMaybe> - liquidityProviderCount_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Pair_orderBy = - | 'id' - | 'token0' - | 'token1' - | 'reserve0' - | 'reserve1' - | 'totalSupply' - | 'reserveETH' - | 'reserveUSD' - | 'trackedReserveETH' - | 'token0Price' - | 'token1Price' - | 'volumeToken0' - | 'volumeToken1' - | 'volumeUSD' - | 'untrackedVolumeUSD' - | 'txCount' - | 'createdAtTimestamp' - | 'createdAtBlockNumber' - | 'liquidityProviderCount' - -export type Query = { - uniswapFactory?: Maybe - uniswapFactories: Array - token?: Maybe - tokens: Array - pair?: Maybe - pairs: Array - user?: Maybe - users: Array - liquidityPosition?: Maybe - liquidityPositions: Array - liquidityPositionSnapshot?: Maybe - liquidityPositionSnapshots: Array - transaction?: Maybe - transactions: Array - mint?: Maybe - mints: Array - burn?: Maybe - burns: Array - swap?: Maybe - swaps: Array - bundle?: Maybe - bundles: Array - uniswapDayData?: Maybe - uniswapDayDatas: Array - pairHourData?: Maybe - pairHourDatas: Array - pairDayData?: Maybe - pairDayDatas: Array - tokenDayData?: Maybe - tokenDayDatas: Array - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_> -} - -export type QueryuniswapFactoryArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryuniswapFactoriesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytokenArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryuserArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryusersArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryliquidityPositionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryliquidityPositionSnapshotArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryliquidityPositionSnapshotsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytransactionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytransactionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerymintArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerymintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryburnArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryswapArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerybundleArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerybundlesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryuniswapDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QueryuniswapDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairHourDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairHourDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerypairDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytokenDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type QuerytokenDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type Query_metaArgs = { - block?: InputMaybe -} - -export type Subscription = { - uniswapFactory?: Maybe - uniswapFactories: Array - token?: Maybe - tokens: Array - pair?: Maybe - pairs: Array - user?: Maybe - users: Array - liquidityPosition?: Maybe - liquidityPositions: Array - liquidityPositionSnapshot?: Maybe - liquidityPositionSnapshots: Array - transaction?: Maybe - transactions: Array - mint?: Maybe - mints: Array - burn?: Maybe - burns: Array - swap?: Maybe - swaps: Array - bundle?: Maybe - bundles: Array - uniswapDayData?: Maybe - uniswapDayDatas: Array - pairHourData?: Maybe - pairHourDatas: Array - pairDayData?: Maybe - pairDayDatas: Array - tokenDayData?: Maybe - tokenDayDatas: Array - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_> -} - -export type SubscriptionuniswapFactoryArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionuniswapFactoriesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontokenArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionuserArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionusersArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionliquidityPositionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionliquidityPositionSnapshotArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionliquidityPositionSnapshotsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontransactionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontransactionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionmintArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionmintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionburnArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionswapArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionbundleArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionbundlesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionuniswapDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionuniswapDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairHourDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairHourDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptionpairDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontokenDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type SubscriptiontokenDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ -} - -export type Subscription_metaArgs = { - block?: InputMaybe -} - -export type Swap = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - sender: Scalars['Bytes'] - amount0In: Scalars['BigDecimal'] - amount1In: Scalars['BigDecimal'] - amount0Out: Scalars['BigDecimal'] - amount1Out: Scalars['BigDecimal'] - to: Scalars['Bytes'] - logIndex?: Maybe - amountUSD: Scalars['BigDecimal'] -} - -export type Swap_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0In?: InputMaybe - amount0In_not?: InputMaybe - amount0In_gt?: InputMaybe - amount0In_lt?: InputMaybe - amount0In_gte?: InputMaybe - amount0In_lte?: InputMaybe - amount0In_in?: InputMaybe> - amount0In_not_in?: InputMaybe> - amount1In?: InputMaybe - amount1In_not?: InputMaybe - amount1In_gt?: InputMaybe - amount1In_lt?: InputMaybe - amount1In_gte?: InputMaybe - amount1In_lte?: InputMaybe - amount1In_in?: InputMaybe> - amount1In_not_in?: InputMaybe> - amount0Out?: InputMaybe - amount0Out_not?: InputMaybe - amount0Out_gt?: InputMaybe - amount0Out_lt?: InputMaybe - amount0Out_gte?: InputMaybe - amount0Out_lte?: InputMaybe - amount0Out_in?: InputMaybe> - amount0Out_not_in?: InputMaybe> - amount1Out?: InputMaybe - amount1Out_not?: InputMaybe - amount1Out_gt?: InputMaybe - amount1Out_lt?: InputMaybe - amount1Out_gte?: InputMaybe - amount1Out_lte?: InputMaybe - amount1Out_in?: InputMaybe> - amount1Out_not_in?: InputMaybe> - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Swap_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'sender' - | 'amount0In' - | 'amount1In' - | 'amount0Out' - | 'amount1Out' - | 'to' - | 'logIndex' - | 'amountUSD' - -export type Token = { - id: Scalars['ID'] - symbol: Scalars['String'] - name: Scalars['String'] - decimals: Scalars['BigInt'] - totalSupply: Scalars['BigInt'] - tradeVolume: Scalars['BigDecimal'] - tradeVolumeUSD: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - totalLiquidity: Scalars['BigDecimal'] - derivedETH?: Maybe - mostLiquidPairs: Array> -} - -export type TokenmostLiquidPairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type TokenDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - token: Token - dailyVolumeToken: Scalars['BigDecimal'] - dailyVolumeETH: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyTxns: Scalars['BigInt'] - totalLiquidityToken: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - priceUSD: Scalars['BigDecimal'] - maxStored: Scalars['Int'] - mostLiquidPairs: Array -} - -export type TokenDayDatamostLiquidPairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type TokenDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - token?: InputMaybe - token_not?: InputMaybe - token_gt?: InputMaybe - token_lt?: InputMaybe - token_gte?: InputMaybe - token_lte?: InputMaybe - token_in?: InputMaybe> - token_not_in?: InputMaybe> - token_contains?: InputMaybe - token_contains_nocase?: InputMaybe - token_not_contains?: InputMaybe - token_not_contains_nocase?: InputMaybe - token_starts_with?: InputMaybe - token_starts_with_nocase?: InputMaybe - token_not_starts_with?: InputMaybe - token_not_starts_with_nocase?: InputMaybe - token_ends_with?: InputMaybe - token_ends_with_nocase?: InputMaybe - token_not_ends_with?: InputMaybe - token_not_ends_with_nocase?: InputMaybe - dailyVolumeToken?: InputMaybe - dailyVolumeToken_not?: InputMaybe - dailyVolumeToken_gt?: InputMaybe - dailyVolumeToken_lt?: InputMaybe - dailyVolumeToken_gte?: InputMaybe - dailyVolumeToken_lte?: InputMaybe - dailyVolumeToken_in?: InputMaybe> - dailyVolumeToken_not_in?: InputMaybe> - dailyVolumeETH?: InputMaybe - dailyVolumeETH_not?: InputMaybe - dailyVolumeETH_gt?: InputMaybe - dailyVolumeETH_lt?: InputMaybe - dailyVolumeETH_gte?: InputMaybe - dailyVolumeETH_lte?: InputMaybe - dailyVolumeETH_in?: InputMaybe> - dailyVolumeETH_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyTxns?: InputMaybe - dailyTxns_not?: InputMaybe - dailyTxns_gt?: InputMaybe - dailyTxns_lt?: InputMaybe - dailyTxns_gte?: InputMaybe - dailyTxns_lte?: InputMaybe - dailyTxns_in?: InputMaybe> - dailyTxns_not_in?: InputMaybe> - totalLiquidityToken?: InputMaybe - totalLiquidityToken_not?: InputMaybe - totalLiquidityToken_gt?: InputMaybe - totalLiquidityToken_lt?: InputMaybe - totalLiquidityToken_gte?: InputMaybe - totalLiquidityToken_lte?: InputMaybe - totalLiquidityToken_in?: InputMaybe> - totalLiquidityToken_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - priceUSD?: InputMaybe - priceUSD_not?: InputMaybe - priceUSD_gt?: InputMaybe - priceUSD_lt?: InputMaybe - priceUSD_gte?: InputMaybe - priceUSD_lte?: InputMaybe - priceUSD_in?: InputMaybe> - priceUSD_not_in?: InputMaybe> - maxStored?: InputMaybe - maxStored_not?: InputMaybe - maxStored_gt?: InputMaybe - maxStored_lt?: InputMaybe - maxStored_gte?: InputMaybe - maxStored_lte?: InputMaybe - maxStored_in?: InputMaybe> - maxStored_not_in?: InputMaybe> - mostLiquidPairs?: InputMaybe> - mostLiquidPairs_not?: InputMaybe> - mostLiquidPairs_contains?: InputMaybe> - mostLiquidPairs_contains_nocase?: InputMaybe> - mostLiquidPairs_not_contains?: InputMaybe> - mostLiquidPairs_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type TokenDayData_orderBy = - | 'id' - | 'date' - | 'token' - | 'dailyVolumeToken' - | 'dailyVolumeETH' - | 'dailyVolumeUSD' - | 'dailyTxns' - | 'totalLiquidityToken' - | 'totalLiquidityETH' - | 'totalLiquidityUSD' - | 'priceUSD' - | 'maxStored' - | 'mostLiquidPairs' - -export type Token_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - symbol?: InputMaybe - symbol_not?: InputMaybe - symbol_gt?: InputMaybe - symbol_lt?: InputMaybe - symbol_gte?: InputMaybe - symbol_lte?: InputMaybe - symbol_in?: InputMaybe> - symbol_not_in?: InputMaybe> - symbol_contains?: InputMaybe - symbol_contains_nocase?: InputMaybe - symbol_not_contains?: InputMaybe - symbol_not_contains_nocase?: InputMaybe - symbol_starts_with?: InputMaybe - symbol_starts_with_nocase?: InputMaybe - symbol_not_starts_with?: InputMaybe - symbol_not_starts_with_nocase?: InputMaybe - symbol_ends_with?: InputMaybe - symbol_ends_with_nocase?: InputMaybe - symbol_not_ends_with?: InputMaybe - symbol_not_ends_with_nocase?: InputMaybe - name?: InputMaybe - name_not?: InputMaybe - name_gt?: InputMaybe - name_lt?: InputMaybe - name_gte?: InputMaybe - name_lte?: InputMaybe - name_in?: InputMaybe> - name_not_in?: InputMaybe> - name_contains?: InputMaybe - name_contains_nocase?: InputMaybe - name_not_contains?: InputMaybe - name_not_contains_nocase?: InputMaybe - name_starts_with?: InputMaybe - name_starts_with_nocase?: InputMaybe - name_not_starts_with?: InputMaybe - name_not_starts_with_nocase?: InputMaybe - name_ends_with?: InputMaybe - name_ends_with_nocase?: InputMaybe - name_not_ends_with?: InputMaybe - name_not_ends_with_nocase?: InputMaybe - decimals?: InputMaybe - decimals_not?: InputMaybe - decimals_gt?: InputMaybe - decimals_lt?: InputMaybe - decimals_gte?: InputMaybe - decimals_lte?: InputMaybe - decimals_in?: InputMaybe> - decimals_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - tradeVolume?: InputMaybe - tradeVolume_not?: InputMaybe - tradeVolume_gt?: InputMaybe - tradeVolume_lt?: InputMaybe - tradeVolume_gte?: InputMaybe - tradeVolume_lte?: InputMaybe - tradeVolume_in?: InputMaybe> - tradeVolume_not_in?: InputMaybe> - tradeVolumeUSD?: InputMaybe - tradeVolumeUSD_not?: InputMaybe - tradeVolumeUSD_gt?: InputMaybe - tradeVolumeUSD_lt?: InputMaybe - tradeVolumeUSD_gte?: InputMaybe - tradeVolumeUSD_lte?: InputMaybe - tradeVolumeUSD_in?: InputMaybe> - tradeVolumeUSD_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - totalLiquidity?: InputMaybe - totalLiquidity_not?: InputMaybe - totalLiquidity_gt?: InputMaybe - totalLiquidity_lt?: InputMaybe - totalLiquidity_gte?: InputMaybe - totalLiquidity_lte?: InputMaybe - totalLiquidity_in?: InputMaybe> - totalLiquidity_not_in?: InputMaybe> - derivedETH?: InputMaybe - derivedETH_not?: InputMaybe - derivedETH_gt?: InputMaybe - derivedETH_lt?: InputMaybe - derivedETH_gte?: InputMaybe - derivedETH_lte?: InputMaybe - derivedETH_in?: InputMaybe> - derivedETH_not_in?: InputMaybe> - mostLiquidPairs?: InputMaybe> - mostLiquidPairs_not?: InputMaybe> - mostLiquidPairs_contains?: InputMaybe> - mostLiquidPairs_contains_nocase?: InputMaybe> - mostLiquidPairs_not_contains?: InputMaybe> - mostLiquidPairs_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Token_orderBy = - | 'id' - | 'symbol' - | 'name' - | 'decimals' - | 'totalSupply' - | 'tradeVolume' - | 'tradeVolumeUSD' - | 'untrackedVolumeUSD' - | 'txCount' - | 'totalLiquidity' - | 'derivedETH' - | 'mostLiquidPairs' - -export type Transaction = { - id: Scalars['ID'] - blockNumber: Scalars['BigInt'] - timestamp: Scalars['BigInt'] - mints: Array> - burns: Array> - swaps: Array> -} - -export type TransactionmintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type TransactionburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type TransactionswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type Transaction_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - blockNumber?: InputMaybe - blockNumber_not?: InputMaybe - blockNumber_gt?: InputMaybe - blockNumber_lt?: InputMaybe - blockNumber_gte?: InputMaybe - blockNumber_lte?: InputMaybe - blockNumber_in?: InputMaybe> - blockNumber_not_in?: InputMaybe> - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - mints?: InputMaybe> - mints_not?: InputMaybe> - mints_contains?: InputMaybe> - mints_contains_nocase?: InputMaybe> - mints_not_contains?: InputMaybe> - mints_not_contains_nocase?: InputMaybe> - burns?: InputMaybe> - burns_not?: InputMaybe> - burns_contains?: InputMaybe> - burns_contains_nocase?: InputMaybe> - burns_not_contains?: InputMaybe> - burns_not_contains_nocase?: InputMaybe> - swaps?: InputMaybe> - swaps_not?: InputMaybe> - swaps_contains?: InputMaybe> - swaps_contains_nocase?: InputMaybe> - swaps_not_contains?: InputMaybe> - swaps_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type Transaction_orderBy = 'id' | 'blockNumber' | 'timestamp' | 'mints' | 'burns' | 'swaps' - -export type UniswapDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - dailyVolumeETH: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyVolumeUntracked: Scalars['BigDecimal'] - totalVolumeETH: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - totalVolumeUSD: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - maxStored?: Maybe - mostLiquidTokens: Array - txCount: Scalars['BigInt'] -} - -export type UniswapDayDatamostLiquidTokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type UniswapDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - dailyVolumeETH?: InputMaybe - dailyVolumeETH_not?: InputMaybe - dailyVolumeETH_gt?: InputMaybe - dailyVolumeETH_lt?: InputMaybe - dailyVolumeETH_gte?: InputMaybe - dailyVolumeETH_lte?: InputMaybe - dailyVolumeETH_in?: InputMaybe> - dailyVolumeETH_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyVolumeUntracked?: InputMaybe - dailyVolumeUntracked_not?: InputMaybe - dailyVolumeUntracked_gt?: InputMaybe - dailyVolumeUntracked_lt?: InputMaybe - dailyVolumeUntracked_gte?: InputMaybe - dailyVolumeUntracked_lte?: InputMaybe - dailyVolumeUntracked_in?: InputMaybe> - dailyVolumeUntracked_not_in?: InputMaybe> - totalVolumeETH?: InputMaybe - totalVolumeETH_not?: InputMaybe - totalVolumeETH_gt?: InputMaybe - totalVolumeETH_lt?: InputMaybe - totalVolumeETH_gte?: InputMaybe - totalVolumeETH_lte?: InputMaybe - totalVolumeETH_in?: InputMaybe> - totalVolumeETH_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - totalVolumeUSD?: InputMaybe - totalVolumeUSD_not?: InputMaybe - totalVolumeUSD_gt?: InputMaybe - totalVolumeUSD_lt?: InputMaybe - totalVolumeUSD_gte?: InputMaybe - totalVolumeUSD_lte?: InputMaybe - totalVolumeUSD_in?: InputMaybe> - totalVolumeUSD_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - maxStored?: InputMaybe - maxStored_not?: InputMaybe - maxStored_gt?: InputMaybe - maxStored_lt?: InputMaybe - maxStored_gte?: InputMaybe - maxStored_lte?: InputMaybe - maxStored_in?: InputMaybe> - maxStored_not_in?: InputMaybe> - mostLiquidTokens?: InputMaybe> - mostLiquidTokens_not?: InputMaybe> - mostLiquidTokens_contains?: InputMaybe> - mostLiquidTokens_contains_nocase?: InputMaybe> - mostLiquidTokens_not_contains?: InputMaybe> - mostLiquidTokens_not_contains_nocase?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type UniswapDayData_orderBy = - | 'id' - | 'date' - | 'dailyVolumeETH' - | 'dailyVolumeUSD' - | 'dailyVolumeUntracked' - | 'totalVolumeETH' - | 'totalLiquidityETH' - | 'totalVolumeUSD' - | 'totalLiquidityUSD' - | 'maxStored' - | 'mostLiquidTokens' - | 'txCount' - -export type UniswapFactory = { - id: Scalars['ID'] - pairCount: Scalars['Int'] - totalVolumeUSD: Scalars['BigDecimal'] - totalVolumeETH: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - mostLiquidTokens: Array -} - -export type UniswapFactorymostLiquidTokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type UniswapFactory_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - pairCount?: InputMaybe - pairCount_not?: InputMaybe - pairCount_gt?: InputMaybe - pairCount_lt?: InputMaybe - pairCount_gte?: InputMaybe - pairCount_lte?: InputMaybe - pairCount_in?: InputMaybe> - pairCount_not_in?: InputMaybe> - totalVolumeUSD?: InputMaybe - totalVolumeUSD_not?: InputMaybe - totalVolumeUSD_gt?: InputMaybe - totalVolumeUSD_lt?: InputMaybe - totalVolumeUSD_gte?: InputMaybe - totalVolumeUSD_lte?: InputMaybe - totalVolumeUSD_in?: InputMaybe> - totalVolumeUSD_not_in?: InputMaybe> - totalVolumeETH?: InputMaybe - totalVolumeETH_not?: InputMaybe - totalVolumeETH_gt?: InputMaybe - totalVolumeETH_lt?: InputMaybe - totalVolumeETH_gte?: InputMaybe - totalVolumeETH_lte?: InputMaybe - totalVolumeETH_in?: InputMaybe> - totalVolumeETH_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - mostLiquidTokens?: InputMaybe> - mostLiquidTokens_not?: InputMaybe> - mostLiquidTokens_contains?: InputMaybe> - mostLiquidTokens_contains_nocase?: InputMaybe> - mostLiquidTokens_not_contains?: InputMaybe> - mostLiquidTokens_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type UniswapFactory_orderBy = - | 'id' - | 'pairCount' - | 'totalVolumeUSD' - | 'totalVolumeETH' - | 'untrackedVolumeUSD' - | 'totalLiquidityUSD' - | 'totalLiquidityETH' - | 'txCount' - | 'mostLiquidTokens' - -export type User = { - id: Scalars['ID'] - liquidityPositions?: Maybe> - usdSwapped: Scalars['BigDecimal'] -} - -export type UserliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe -} - -export type User_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - usdSwapped?: InputMaybe - usdSwapped_not?: InputMaybe - usdSwapped_gt?: InputMaybe - usdSwapped_lt?: InputMaybe - usdSwapped_gte?: InputMaybe - usdSwapped_lte?: InputMaybe - usdSwapped_in?: InputMaybe> - usdSwapped_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe -} - -export type User_orderBy = 'id' | 'liquidityPositions' | 'usdSwapped' - -export type _Block_ = { - /** The hash of the block */ - hash?: Maybe - /** The block number */ - number: Scalars['Int'] -} - -/** The type for the top-level _meta field */ -export type _Meta_ = { - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - * - */ - block: _Block_ - /** The deployment ID */ - deployment: Scalars['String'] - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean'] -} - -export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny' - -export type WithIndex = TObject & Record -export type ResolversObject = WithIndex - -export type ResolverTypeWrapper = Promise | T - -export type ResolverWithResolve = { - resolve: ResolverFn -} -export type Resolver = - | ResolverFn - | ResolverWithResolve - -export type ResolverFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => Promise | TResult - -export type SubscriptionSubscribeFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => AsyncIterable | Promise> - -export type SubscriptionResolveFn = ( - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise - -export interface SubscriptionSubscriberObject { - subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs> - resolve?: SubscriptionResolveFn -} - -export interface SubscriptionResolverObject { - subscribe: SubscriptionSubscribeFn - resolve: SubscriptionResolveFn -} - -export type SubscriptionObject = - | SubscriptionSubscriberObject - | SubscriptionResolverObject - -export type SubscriptionResolver = - | ((...args: any[]) => SubscriptionObject) - | SubscriptionObject - -export type TypeResolveFn = ( - parent: TParent, - context: TContext, - info: GraphQLResolveInfo, -) => Maybe | Promise> - -export type IsTypeOfResolverFn = ( - obj: T, - context: TContext, - info: GraphQLResolveInfo, -) => boolean | Promise - -export type NextResolverFn = () => Promise - -export type DirectiveResolverFn = ( - next: NextResolverFn, - parent: TParent, - args: TArgs, - context: TContext, - info: GraphQLResolveInfo, -) => TResult | Promise - -/** Mapping between all available schema types and the resolvers types */ -export type ResolversTypes = ResolversObject<{ - BigDecimal: ResolverTypeWrapper - BigInt: ResolverTypeWrapper - BlockChangedFilter: BlockChangedFilter - Int: ResolverTypeWrapper - Block_height: Block_height - Bundle: ResolverTypeWrapper - ID: ResolverTypeWrapper - Bundle_filter: Bundle_filter - Bundle_orderBy: Bundle_orderBy - Burn: ResolverTypeWrapper - Boolean: ResolverTypeWrapper - Burn_filter: Burn_filter - String: ResolverTypeWrapper - Burn_orderBy: Burn_orderBy - Bytes: ResolverTypeWrapper - LiquidityPosition: ResolverTypeWrapper - LiquidityPositionSnapshot: ResolverTypeWrapper - LiquidityPositionSnapshot_filter: LiquidityPositionSnapshot_filter - LiquidityPositionSnapshot_orderBy: LiquidityPositionSnapshot_orderBy - LiquidityPosition_filter: LiquidityPosition_filter - LiquidityPosition_orderBy: LiquidityPosition_orderBy - Mint: ResolverTypeWrapper - Mint_filter: Mint_filter - Mint_orderBy: Mint_orderBy - OrderDirection: OrderDirection - Pair: ResolverTypeWrapper - PairDayData: ResolverTypeWrapper - PairDayData_filter: PairDayData_filter - PairDayData_orderBy: PairDayData_orderBy - PairHourData: ResolverTypeWrapper - PairHourData_filter: PairHourData_filter - PairHourData_orderBy: PairHourData_orderBy - Pair_filter: Pair_filter - Pair_orderBy: Pair_orderBy - Query: ResolverTypeWrapper<{}> - Subscription: ResolverTypeWrapper<{}> - Swap: ResolverTypeWrapper - Swap_filter: Swap_filter - Swap_orderBy: Swap_orderBy - Token: ResolverTypeWrapper - TokenDayData: ResolverTypeWrapper - TokenDayData_filter: TokenDayData_filter - TokenDayData_orderBy: TokenDayData_orderBy - Token_filter: Token_filter - Token_orderBy: Token_orderBy - Transaction: ResolverTypeWrapper - Transaction_filter: Transaction_filter - Transaction_orderBy: Transaction_orderBy - UniswapDayData: ResolverTypeWrapper - UniswapDayData_filter: UniswapDayData_filter - UniswapDayData_orderBy: UniswapDayData_orderBy - UniswapFactory: ResolverTypeWrapper - UniswapFactory_filter: UniswapFactory_filter - UniswapFactory_orderBy: UniswapFactory_orderBy - User: ResolverTypeWrapper - User_filter: User_filter - User_orderBy: User_orderBy - _Block_: ResolverTypeWrapper<_Block_> - _Meta_: ResolverTypeWrapper<_Meta_> - _SubgraphErrorPolicy_: _SubgraphErrorPolicy_ -}> - -/** Mapping between all available schema types and the resolvers parents */ -export type ResolversParentTypes = ResolversObject<{ - BigDecimal: Scalars['BigDecimal'] - BigInt: Scalars['BigInt'] - BlockChangedFilter: BlockChangedFilter - Int: Scalars['Int'] - Block_height: Block_height - Bundle: Bundle - ID: Scalars['ID'] - Bundle_filter: Bundle_filter - Burn: Burn - Boolean: Scalars['Boolean'] - Burn_filter: Burn_filter - String: Scalars['String'] - Bytes: Scalars['Bytes'] - LiquidityPosition: LiquidityPosition - LiquidityPositionSnapshot: LiquidityPositionSnapshot - LiquidityPositionSnapshot_filter: LiquidityPositionSnapshot_filter - LiquidityPosition_filter: LiquidityPosition_filter - Mint: Mint - Mint_filter: Mint_filter - Pair: Pair - PairDayData: PairDayData - PairDayData_filter: PairDayData_filter - PairHourData: PairHourData - PairHourData_filter: PairHourData_filter - Pair_filter: Pair_filter - Query: {} - Subscription: {} - Swap: Swap - Swap_filter: Swap_filter - Token: Token - TokenDayData: TokenDayData - TokenDayData_filter: TokenDayData_filter - Token_filter: Token_filter - Transaction: Transaction - Transaction_filter: Transaction_filter - UniswapDayData: UniswapDayData - UniswapDayData_filter: UniswapDayData_filter - UniswapFactory: UniswapFactory - UniswapFactory_filter: UniswapFactory_filter - User: User - User_filter: User_filter - _Block_: _Block_ - _Meta_: _Meta_ -}> - -export type entityDirectiveArgs = {} - -export type entityDirectiveResolver< - Result, - Parent, - ContextType = MeshContext, - Args = entityDirectiveArgs, -> = DirectiveResolverFn - -export type subgraphIdDirectiveArgs = { - id: Scalars['String'] -} - -export type subgraphIdDirectiveResolver< - Result, - Parent, - ContextType = MeshContext, - Args = subgraphIdDirectiveArgs, -> = DirectiveResolverFn - -export type derivedFromDirectiveArgs = { - field: Scalars['String'] -} - -export type derivedFromDirectiveResolver< - Result, - Parent, - ContextType = MeshContext, - Args = derivedFromDirectiveArgs, -> = DirectiveResolverFn - -export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigDecimal' -} - -export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigInt' -} - -export type BundleResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Bundle'] = ResolversParentTypes['Bundle'], -> = ResolversObject<{ - id?: Resolver - ethPrice?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type BurnResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Burn'] = ResolversParentTypes['Burn'], -> = ResolversObject<{ - id?: Resolver - transaction?: Resolver - timestamp?: Resolver - pair?: Resolver - liquidity?: Resolver - sender?: Resolver, ParentType, ContextType> - amount0?: Resolver, ParentType, ContextType> - amount1?: Resolver, ParentType, ContextType> - to?: Resolver, ParentType, ContextType> - logIndex?: Resolver, ParentType, ContextType> - amountUSD?: Resolver, ParentType, ContextType> - needsComplete?: Resolver - feeTo?: Resolver, ParentType, ContextType> - feeLiquidity?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -}> - -export interface BytesScalarConfig extends GraphQLScalarTypeConfig { - name: 'Bytes' -} - -export type LiquidityPositionResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['LiquidityPosition'] = ResolversParentTypes['LiquidityPosition'], -> = ResolversObject<{ - id?: Resolver - user?: Resolver - pair?: Resolver - liquidityTokenBalance?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type LiquidityPositionSnapshotResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['LiquidityPositionSnapshot'] = ResolversParentTypes['LiquidityPositionSnapshot'], -> = ResolversObject<{ - id?: Resolver - liquidityPosition?: Resolver - timestamp?: Resolver - block?: Resolver - user?: Resolver - pair?: Resolver - token0PriceUSD?: Resolver - token1PriceUSD?: Resolver - reserve0?: Resolver - reserve1?: Resolver - reserveUSD?: Resolver - liquidityTokenTotalSupply?: Resolver - liquidityTokenBalance?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type MintResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Mint'] = ResolversParentTypes['Mint'], -> = ResolversObject<{ - id?: Resolver - transaction?: Resolver - timestamp?: Resolver - pair?: Resolver - to?: Resolver - liquidity?: Resolver - sender?: Resolver, ParentType, ContextType> - amount0?: Resolver, ParentType, ContextType> - amount1?: Resolver, ParentType, ContextType> - logIndex?: Resolver, ParentType, ContextType> - amountUSD?: Resolver, ParentType, ContextType> - feeTo?: Resolver, ParentType, ContextType> - feeLiquidity?: Resolver, ParentType, ContextType> - __isTypeOf?: IsTypeOfResolverFn -}> - -export type PairResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Pair'] = ResolversParentTypes['Pair'], -> = ResolversObject<{ - id?: Resolver - token0?: Resolver - token1?: Resolver - reserve0?: Resolver - reserve1?: Resolver - totalSupply?: Resolver - reserveETH?: Resolver - reserveUSD?: Resolver - trackedReserveETH?: Resolver - token0Price?: Resolver - token1Price?: Resolver - volumeToken0?: Resolver - volumeToken1?: Resolver - volumeUSD?: Resolver - untrackedVolumeUSD?: Resolver - txCount?: Resolver - createdAtTimestamp?: Resolver - createdAtBlockNumber?: Resolver - liquidityProviderCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type PairDayDataResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['PairDayData'] = ResolversParentTypes['PairDayData'], -> = ResolversObject<{ - id?: Resolver - date?: Resolver - pairAddress?: Resolver - token0?: Resolver - token1?: Resolver - reserve0?: Resolver - reserve1?: Resolver - totalSupply?: Resolver - reserveUSD?: Resolver - dailyVolumeToken0?: Resolver - dailyVolumeToken1?: Resolver - dailyVolumeUSD?: Resolver - dailyTxns?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type PairHourDataResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['PairHourData'] = ResolversParentTypes['PairHourData'], -> = ResolversObject<{ - id?: Resolver - hourStartUnix?: Resolver - pair?: Resolver - reserve0?: Resolver - reserve1?: Resolver - reserveUSD?: Resolver - hourlyVolumeToken0?: Resolver - hourlyVolumeToken1?: Resolver - hourlyVolumeUSD?: Resolver - hourlyTxns?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type QueryResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'], -> = ResolversObject<{ - uniswapFactory?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - uniswapFactories?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - token?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - tokens?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - pair?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - pairs?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - user?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - users?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - liquidityPosition?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - liquidityPositions?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - liquidityPositionSnapshot?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - liquidityPositionSnapshots?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - transaction?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - transactions?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - mint?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - mints?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - burn?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - burns?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - swap?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - swaps?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - bundle?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - bundles?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - uniswapDayData?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - uniswapDayDatas?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - pairHourData?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - pairHourDatas?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - pairDayData?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - pairDayDatas?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - tokenDayData?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - > - tokenDayDatas?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - _meta?: Resolver, ParentType, ContextType, Partial> -}> - -export type SubscriptionResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'], -> = ResolversObject<{ - uniswapFactory?: SubscriptionResolver< - Maybe, - 'uniswapFactory', - ParentType, - ContextType, - RequireFields - > - uniswapFactories?: SubscriptionResolver< - Array, - 'uniswapFactories', - ParentType, - ContextType, - RequireFields - > - token?: SubscriptionResolver< - Maybe, - 'token', - ParentType, - ContextType, - RequireFields - > - tokens?: SubscriptionResolver< - Array, - 'tokens', - ParentType, - ContextType, - RequireFields - > - pair?: SubscriptionResolver< - Maybe, - 'pair', - ParentType, - ContextType, - RequireFields - > - pairs?: SubscriptionResolver< - Array, - 'pairs', - ParentType, - ContextType, - RequireFields - > - user?: SubscriptionResolver< - Maybe, - 'user', - ParentType, - ContextType, - RequireFields - > - users?: SubscriptionResolver< - Array, - 'users', - ParentType, - ContextType, - RequireFields - > - liquidityPosition?: SubscriptionResolver< - Maybe, - 'liquidityPosition', - ParentType, - ContextType, - RequireFields - > - liquidityPositions?: SubscriptionResolver< - Array, - 'liquidityPositions', - ParentType, - ContextType, - RequireFields - > - liquidityPositionSnapshot?: SubscriptionResolver< - Maybe, - 'liquidityPositionSnapshot', - ParentType, - ContextType, - RequireFields - > - liquidityPositionSnapshots?: SubscriptionResolver< - Array, - 'liquidityPositionSnapshots', - ParentType, - ContextType, - RequireFields - > - transaction?: SubscriptionResolver< - Maybe, - 'transaction', - ParentType, - ContextType, - RequireFields - > - transactions?: SubscriptionResolver< - Array, - 'transactions', - ParentType, - ContextType, - RequireFields - > - mint?: SubscriptionResolver< - Maybe, - 'mint', - ParentType, - ContextType, - RequireFields - > - mints?: SubscriptionResolver< - Array, - 'mints', - ParentType, - ContextType, - RequireFields - > - burn?: SubscriptionResolver< - Maybe, - 'burn', - ParentType, - ContextType, - RequireFields - > - burns?: SubscriptionResolver< - Array, - 'burns', - ParentType, - ContextType, - RequireFields - > - swap?: SubscriptionResolver< - Maybe, - 'swap', - ParentType, - ContextType, - RequireFields - > - swaps?: SubscriptionResolver< - Array, - 'swaps', - ParentType, - ContextType, - RequireFields - > - bundle?: SubscriptionResolver< - Maybe, - 'bundle', - ParentType, - ContextType, - RequireFields - > - bundles?: SubscriptionResolver< - Array, - 'bundles', - ParentType, - ContextType, - RequireFields - > - uniswapDayData?: SubscriptionResolver< - Maybe, - 'uniswapDayData', - ParentType, - ContextType, - RequireFields - > - uniswapDayDatas?: SubscriptionResolver< - Array, - 'uniswapDayDatas', - ParentType, - ContextType, - RequireFields - > - pairHourData?: SubscriptionResolver< - Maybe, - 'pairHourData', - ParentType, - ContextType, - RequireFields - > - pairHourDatas?: SubscriptionResolver< - Array, - 'pairHourDatas', - ParentType, - ContextType, - RequireFields - > - pairDayData?: SubscriptionResolver< - Maybe, - 'pairDayData', - ParentType, - ContextType, - RequireFields - > - pairDayDatas?: SubscriptionResolver< - Array, - 'pairDayDatas', - ParentType, - ContextType, - RequireFields - > - tokenDayData?: SubscriptionResolver< - Maybe, - 'tokenDayData', - ParentType, - ContextType, - RequireFields - > - tokenDayDatas?: SubscriptionResolver< - Array, - 'tokenDayDatas', - ParentType, - ContextType, - RequireFields - > - _meta?: SubscriptionResolver< - Maybe, - '_meta', - ParentType, - ContextType, - Partial - > -}> - -export type SwapResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Swap'] = ResolversParentTypes['Swap'], -> = ResolversObject<{ - id?: Resolver - transaction?: Resolver - timestamp?: Resolver - pair?: Resolver - sender?: Resolver - amount0In?: Resolver - amount1In?: Resolver - amount0Out?: Resolver - amount1Out?: Resolver - to?: Resolver - logIndex?: Resolver, ParentType, ContextType> - amountUSD?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type TokenResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Token'] = ResolversParentTypes['Token'], -> = ResolversObject<{ - id?: Resolver - symbol?: Resolver - name?: Resolver - decimals?: Resolver - totalSupply?: Resolver - tradeVolume?: Resolver - tradeVolumeUSD?: Resolver - untrackedVolumeUSD?: Resolver - txCount?: Resolver - totalLiquidity?: Resolver - derivedETH?: Resolver, ParentType, ContextType> - mostLiquidPairs?: Resolver< - Array>, - ParentType, - ContextType, - RequireFields - > - __isTypeOf?: IsTypeOfResolverFn -}> - -export type TokenDayDataResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['TokenDayData'] = ResolversParentTypes['TokenDayData'], -> = ResolversObject<{ - id?: Resolver - date?: Resolver - token?: Resolver - dailyVolumeToken?: Resolver - dailyVolumeETH?: Resolver - dailyVolumeUSD?: Resolver - dailyTxns?: Resolver - totalLiquidityToken?: Resolver - totalLiquidityETH?: Resolver - totalLiquidityUSD?: Resolver - priceUSD?: Resolver - maxStored?: Resolver - mostLiquidPairs?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - __isTypeOf?: IsTypeOfResolverFn -}> - -export type TransactionResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['Transaction'] = ResolversParentTypes['Transaction'], -> = ResolversObject<{ - id?: Resolver - blockNumber?: Resolver - timestamp?: Resolver - mints?: Resolver< - Array>, - ParentType, - ContextType, - RequireFields - > - burns?: Resolver< - Array>, - ParentType, - ContextType, - RequireFields - > - swaps?: Resolver< - Array>, - ParentType, - ContextType, - RequireFields - > - __isTypeOf?: IsTypeOfResolverFn -}> - -export type UniswapDayDataResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['UniswapDayData'] = ResolversParentTypes['UniswapDayData'], -> = ResolversObject<{ - id?: Resolver - date?: Resolver - dailyVolumeETH?: Resolver - dailyVolumeUSD?: Resolver - dailyVolumeUntracked?: Resolver - totalVolumeETH?: Resolver - totalLiquidityETH?: Resolver - totalVolumeUSD?: Resolver - totalLiquidityUSD?: Resolver - maxStored?: Resolver, ParentType, ContextType> - mostLiquidTokens?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - txCount?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type UniswapFactoryResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['UniswapFactory'] = ResolversParentTypes['UniswapFactory'], -> = ResolversObject<{ - id?: Resolver - pairCount?: Resolver - totalVolumeUSD?: Resolver - totalVolumeETH?: Resolver - untrackedVolumeUSD?: Resolver - totalLiquidityUSD?: Resolver - totalLiquidityETH?: Resolver - txCount?: Resolver - mostLiquidTokens?: Resolver< - Array, - ParentType, - ContextType, - RequireFields - > - __isTypeOf?: IsTypeOfResolverFn -}> - -export type UserResolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['User'] = ResolversParentTypes['User'], -> = ResolversObject<{ - id?: Resolver - liquidityPositions?: Resolver< - Maybe>, - ParentType, - ContextType, - RequireFields - > - usdSwapped?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type _Block_Resolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['_Block_'] = ResolversParentTypes['_Block_'], -> = ResolversObject<{ - hash?: Resolver, ParentType, ContextType> - number?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type _Meta_Resolvers< - ContextType = MeshContext, - ParentType extends ResolversParentTypes['_Meta_'] = ResolversParentTypes['_Meta_'], -> = ResolversObject<{ - block?: Resolver - deployment?: Resolver - hasIndexingErrors?: Resolver - __isTypeOf?: IsTypeOfResolverFn -}> - -export type Resolvers = ResolversObject<{ - BigDecimal?: GraphQLScalarType - BigInt?: GraphQLScalarType - Bundle?: BundleResolvers - Burn?: BurnResolvers - Bytes?: GraphQLScalarType - LiquidityPosition?: LiquidityPositionResolvers - LiquidityPositionSnapshot?: LiquidityPositionSnapshotResolvers - Mint?: MintResolvers - Pair?: PairResolvers - PairDayData?: PairDayDataResolvers - PairHourData?: PairHourDataResolvers - Query?: QueryResolvers - Subscription?: SubscriptionResolvers - Swap?: SwapResolvers - Token?: TokenResolvers - TokenDayData?: TokenDayDataResolvers - Transaction?: TransactionResolvers - UniswapDayData?: UniswapDayDataResolvers - UniswapFactory?: UniswapFactoryResolvers - User?: UserResolvers - _Block_?: _Block_Resolvers - _Meta_?: _Meta_Resolvers -}> - -export type DirectiveResolvers = ResolversObject<{ - entity?: entityDirectiveResolver - subgraphId?: subgraphIdDirectiveResolver - derivedFrom?: derivedFromDirectiveResolver -}> - -import { MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime' - -import { InContextSdkMethod } from '@graphql-mesh/types' - -export namespace UniswapTypes { - export type Maybe = T | null - export type InputMaybe = Maybe - export type Exact = { [K in keyof T]: T[K] } - export type MakeOptional = Omit & { [SubKey in K]?: Maybe } - export type MakeMaybe = Omit & { [SubKey in K]: Maybe } - /** All built-in and custom scalars, mapped to their actual values */ - export type Scalars = { - ID: string - String: string - Boolean: boolean - Int: number - Float: number - BigDecimal: any - BigInt: any - Bytes: any - } - - export type BlockChangedFilter = { - number_gte: Scalars['Int'] - } - - export type Block_height = { - hash?: InputMaybe - number?: InputMaybe - number_gte?: InputMaybe - } - - export type Bundle = { - id: Scalars['ID'] - ethPrice: Scalars['BigDecimal'] - } - - export type Bundle_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - ethPrice?: InputMaybe - ethPrice_not?: InputMaybe - ethPrice_gt?: InputMaybe - ethPrice_lt?: InputMaybe - ethPrice_gte?: InputMaybe - ethPrice_lte?: InputMaybe - ethPrice_in?: InputMaybe> - ethPrice_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Bundle_orderBy = 'id' | 'ethPrice' - - export type Burn = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - liquidity: Scalars['BigDecimal'] - sender?: Maybe - amount0?: Maybe - amount1?: Maybe - to?: Maybe - logIndex?: Maybe - amountUSD?: Maybe - needsComplete: Scalars['Boolean'] - feeTo?: Maybe - feeLiquidity?: Maybe - } - - export type Burn_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - liquidity?: InputMaybe - liquidity_not?: InputMaybe - liquidity_gt?: InputMaybe - liquidity_lt?: InputMaybe - liquidity_gte?: InputMaybe - liquidity_lte?: InputMaybe - liquidity_in?: InputMaybe> - liquidity_not_in?: InputMaybe> - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0?: InputMaybe - amount0_not?: InputMaybe - amount0_gt?: InputMaybe - amount0_lt?: InputMaybe - amount0_gte?: InputMaybe - amount0_lte?: InputMaybe - amount0_in?: InputMaybe> - amount0_not_in?: InputMaybe> - amount1?: InputMaybe - amount1_not?: InputMaybe - amount1_gt?: InputMaybe - amount1_lt?: InputMaybe - amount1_gte?: InputMaybe - amount1_lte?: InputMaybe - amount1_in?: InputMaybe> - amount1_not_in?: InputMaybe> - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - needsComplete?: InputMaybe - needsComplete_not?: InputMaybe - needsComplete_in?: InputMaybe> - needsComplete_not_in?: InputMaybe> - feeTo?: InputMaybe - feeTo_not?: InputMaybe - feeTo_in?: InputMaybe> - feeTo_not_in?: InputMaybe> - feeTo_contains?: InputMaybe - feeTo_not_contains?: InputMaybe - feeLiquidity?: InputMaybe - feeLiquidity_not?: InputMaybe - feeLiquidity_gt?: InputMaybe - feeLiquidity_lt?: InputMaybe - feeLiquidity_gte?: InputMaybe - feeLiquidity_lte?: InputMaybe - feeLiquidity_in?: InputMaybe> - feeLiquidity_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Burn_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'liquidity' - | 'sender' - | 'amount0' - | 'amount1' - | 'to' - | 'logIndex' - | 'amountUSD' - | 'needsComplete' - | 'feeTo' - | 'feeLiquidity' - - export type LiquidityPosition = { - id: Scalars['ID'] - user: User - pair: Pair - liquidityTokenBalance: Scalars['BigDecimal'] - } - - export type LiquidityPositionSnapshot = { - id: Scalars['ID'] - liquidityPosition: LiquidityPosition - timestamp: Scalars['Int'] - block: Scalars['Int'] - user: User - pair: Pair - token0PriceUSD: Scalars['BigDecimal'] - token1PriceUSD: Scalars['BigDecimal'] - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - liquidityTokenTotalSupply: Scalars['BigDecimal'] - liquidityTokenBalance: Scalars['BigDecimal'] - } - - export type LiquidityPositionSnapshot_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - liquidityPosition?: InputMaybe - liquidityPosition_not?: InputMaybe - liquidityPosition_gt?: InputMaybe - liquidityPosition_lt?: InputMaybe - liquidityPosition_gte?: InputMaybe - liquidityPosition_lte?: InputMaybe - liquidityPosition_in?: InputMaybe> - liquidityPosition_not_in?: InputMaybe> - liquidityPosition_contains?: InputMaybe - liquidityPosition_contains_nocase?: InputMaybe - liquidityPosition_not_contains?: InputMaybe - liquidityPosition_not_contains_nocase?: InputMaybe - liquidityPosition_starts_with?: InputMaybe - liquidityPosition_starts_with_nocase?: InputMaybe - liquidityPosition_not_starts_with?: InputMaybe - liquidityPosition_not_starts_with_nocase?: InputMaybe - liquidityPosition_ends_with?: InputMaybe - liquidityPosition_ends_with_nocase?: InputMaybe - liquidityPosition_not_ends_with?: InputMaybe - liquidityPosition_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - block?: InputMaybe - block_not?: InputMaybe - block_gt?: InputMaybe - block_lt?: InputMaybe - block_gte?: InputMaybe - block_lte?: InputMaybe - block_in?: InputMaybe> - block_not_in?: InputMaybe> - user?: InputMaybe - user_not?: InputMaybe - user_gt?: InputMaybe - user_lt?: InputMaybe - user_gte?: InputMaybe - user_lte?: InputMaybe - user_in?: InputMaybe> - user_not_in?: InputMaybe> - user_contains?: InputMaybe - user_contains_nocase?: InputMaybe - user_not_contains?: InputMaybe - user_not_contains_nocase?: InputMaybe - user_starts_with?: InputMaybe - user_starts_with_nocase?: InputMaybe - user_not_starts_with?: InputMaybe - user_not_starts_with_nocase?: InputMaybe - user_ends_with?: InputMaybe - user_ends_with_nocase?: InputMaybe - user_not_ends_with?: InputMaybe - user_not_ends_with_nocase?: InputMaybe - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - token0PriceUSD?: InputMaybe - token0PriceUSD_not?: InputMaybe - token0PriceUSD_gt?: InputMaybe - token0PriceUSD_lt?: InputMaybe - token0PriceUSD_gte?: InputMaybe - token0PriceUSD_lte?: InputMaybe - token0PriceUSD_in?: InputMaybe> - token0PriceUSD_not_in?: InputMaybe> - token1PriceUSD?: InputMaybe - token1PriceUSD_not?: InputMaybe - token1PriceUSD_gt?: InputMaybe - token1PriceUSD_lt?: InputMaybe - token1PriceUSD_gte?: InputMaybe - token1PriceUSD_lte?: InputMaybe - token1PriceUSD_in?: InputMaybe> - token1PriceUSD_not_in?: InputMaybe> - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - liquidityTokenTotalSupply?: InputMaybe - liquidityTokenTotalSupply_not?: InputMaybe - liquidityTokenTotalSupply_gt?: InputMaybe - liquidityTokenTotalSupply_lt?: InputMaybe - liquidityTokenTotalSupply_gte?: InputMaybe - liquidityTokenTotalSupply_lte?: InputMaybe - liquidityTokenTotalSupply_in?: InputMaybe> - liquidityTokenTotalSupply_not_in?: InputMaybe> - liquidityTokenBalance?: InputMaybe - liquidityTokenBalance_not?: InputMaybe - liquidityTokenBalance_gt?: InputMaybe - liquidityTokenBalance_lt?: InputMaybe - liquidityTokenBalance_gte?: InputMaybe - liquidityTokenBalance_lte?: InputMaybe - liquidityTokenBalance_in?: InputMaybe> - liquidityTokenBalance_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type LiquidityPositionSnapshot_orderBy = - | 'id' - | 'liquidityPosition' - | 'timestamp' - | 'block' - | 'user' - | 'pair' - | 'token0PriceUSD' - | 'token1PriceUSD' - | 'reserve0' - | 'reserve1' - | 'reserveUSD' - | 'liquidityTokenTotalSupply' - | 'liquidityTokenBalance' - - export type LiquidityPosition_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - user?: InputMaybe - user_not?: InputMaybe - user_gt?: InputMaybe - user_lt?: InputMaybe - user_gte?: InputMaybe - user_lte?: InputMaybe - user_in?: InputMaybe> - user_not_in?: InputMaybe> - user_contains?: InputMaybe - user_contains_nocase?: InputMaybe - user_not_contains?: InputMaybe - user_not_contains_nocase?: InputMaybe - user_starts_with?: InputMaybe - user_starts_with_nocase?: InputMaybe - user_not_starts_with?: InputMaybe - user_not_starts_with_nocase?: InputMaybe - user_ends_with?: InputMaybe - user_ends_with_nocase?: InputMaybe - user_not_ends_with?: InputMaybe - user_not_ends_with_nocase?: InputMaybe - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - liquidityTokenBalance?: InputMaybe - liquidityTokenBalance_not?: InputMaybe - liquidityTokenBalance_gt?: InputMaybe - liquidityTokenBalance_lt?: InputMaybe - liquidityTokenBalance_gte?: InputMaybe - liquidityTokenBalance_lte?: InputMaybe - liquidityTokenBalance_in?: InputMaybe> - liquidityTokenBalance_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type LiquidityPosition_orderBy = 'id' | 'user' | 'pair' | 'liquidityTokenBalance' - - export type Mint = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - to: Scalars['Bytes'] - liquidity: Scalars['BigDecimal'] - sender?: Maybe - amount0?: Maybe - amount1?: Maybe - logIndex?: Maybe - amountUSD?: Maybe - feeTo?: Maybe - feeLiquidity?: Maybe - } - - export type Mint_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - liquidity?: InputMaybe - liquidity_not?: InputMaybe - liquidity_gt?: InputMaybe - liquidity_lt?: InputMaybe - liquidity_gte?: InputMaybe - liquidity_lte?: InputMaybe - liquidity_in?: InputMaybe> - liquidity_not_in?: InputMaybe> - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0?: InputMaybe - amount0_not?: InputMaybe - amount0_gt?: InputMaybe - amount0_lt?: InputMaybe - amount0_gte?: InputMaybe - amount0_lte?: InputMaybe - amount0_in?: InputMaybe> - amount0_not_in?: InputMaybe> - amount1?: InputMaybe - amount1_not?: InputMaybe - amount1_gt?: InputMaybe - amount1_lt?: InputMaybe - amount1_gte?: InputMaybe - amount1_lte?: InputMaybe - amount1_in?: InputMaybe> - amount1_not_in?: InputMaybe> - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - feeTo?: InputMaybe - feeTo_not?: InputMaybe - feeTo_in?: InputMaybe> - feeTo_not_in?: InputMaybe> - feeTo_contains?: InputMaybe - feeTo_not_contains?: InputMaybe - feeLiquidity?: InputMaybe - feeLiquidity_not?: InputMaybe - feeLiquidity_gt?: InputMaybe - feeLiquidity_lt?: InputMaybe - feeLiquidity_gte?: InputMaybe - feeLiquidity_lte?: InputMaybe - feeLiquidity_in?: InputMaybe> - feeLiquidity_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Mint_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'to' - | 'liquidity' - | 'sender' - | 'amount0' - | 'amount1' - | 'logIndex' - | 'amountUSD' - | 'feeTo' - | 'feeLiquidity' - - /** Defines the order direction, either ascending or descending */ - export type OrderDirection = 'asc' | 'desc' - - export type Pair = { - id: Scalars['ID'] - token0: Token - token1: Token - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - totalSupply: Scalars['BigDecimal'] - reserveETH: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - trackedReserveETH: Scalars['BigDecimal'] - token0Price: Scalars['BigDecimal'] - token1Price: Scalars['BigDecimal'] - volumeToken0: Scalars['BigDecimal'] - volumeToken1: Scalars['BigDecimal'] - volumeUSD: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - createdAtTimestamp: Scalars['BigInt'] - createdAtBlockNumber: Scalars['BigInt'] - liquidityProviderCount: Scalars['BigInt'] - } - - export type PairDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - pairAddress: Scalars['Bytes'] - token0: Token - token1: Token - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - totalSupply: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - dailyVolumeToken0: Scalars['BigDecimal'] - dailyVolumeToken1: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyTxns: Scalars['BigInt'] - } - - export type PairDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - pairAddress?: InputMaybe - pairAddress_not?: InputMaybe - pairAddress_in?: InputMaybe> - pairAddress_not_in?: InputMaybe> - pairAddress_contains?: InputMaybe - pairAddress_not_contains?: InputMaybe - token0?: InputMaybe - token0_not?: InputMaybe - token0_gt?: InputMaybe - token0_lt?: InputMaybe - token0_gte?: InputMaybe - token0_lte?: InputMaybe - token0_in?: InputMaybe> - token0_not_in?: InputMaybe> - token0_contains?: InputMaybe - token0_contains_nocase?: InputMaybe - token0_not_contains?: InputMaybe - token0_not_contains_nocase?: InputMaybe - token0_starts_with?: InputMaybe - token0_starts_with_nocase?: InputMaybe - token0_not_starts_with?: InputMaybe - token0_not_starts_with_nocase?: InputMaybe - token0_ends_with?: InputMaybe - token0_ends_with_nocase?: InputMaybe - token0_not_ends_with?: InputMaybe - token0_not_ends_with_nocase?: InputMaybe - token1?: InputMaybe - token1_not?: InputMaybe - token1_gt?: InputMaybe - token1_lt?: InputMaybe - token1_gte?: InputMaybe - token1_lte?: InputMaybe - token1_in?: InputMaybe> - token1_not_in?: InputMaybe> - token1_contains?: InputMaybe - token1_contains_nocase?: InputMaybe - token1_not_contains?: InputMaybe - token1_not_contains_nocase?: InputMaybe - token1_starts_with?: InputMaybe - token1_starts_with_nocase?: InputMaybe - token1_not_starts_with?: InputMaybe - token1_not_starts_with_nocase?: InputMaybe - token1_ends_with?: InputMaybe - token1_ends_with_nocase?: InputMaybe - token1_not_ends_with?: InputMaybe - token1_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - dailyVolumeToken0?: InputMaybe - dailyVolumeToken0_not?: InputMaybe - dailyVolumeToken0_gt?: InputMaybe - dailyVolumeToken0_lt?: InputMaybe - dailyVolumeToken0_gte?: InputMaybe - dailyVolumeToken0_lte?: InputMaybe - dailyVolumeToken0_in?: InputMaybe> - dailyVolumeToken0_not_in?: InputMaybe> - dailyVolumeToken1?: InputMaybe - dailyVolumeToken1_not?: InputMaybe - dailyVolumeToken1_gt?: InputMaybe - dailyVolumeToken1_lt?: InputMaybe - dailyVolumeToken1_gte?: InputMaybe - dailyVolumeToken1_lte?: InputMaybe - dailyVolumeToken1_in?: InputMaybe> - dailyVolumeToken1_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyTxns?: InputMaybe - dailyTxns_not?: InputMaybe - dailyTxns_gt?: InputMaybe - dailyTxns_lt?: InputMaybe - dailyTxns_gte?: InputMaybe - dailyTxns_lte?: InputMaybe - dailyTxns_in?: InputMaybe> - dailyTxns_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type PairDayData_orderBy = - | 'id' - | 'date' - | 'pairAddress' - | 'token0' - | 'token1' - | 'reserve0' - | 'reserve1' - | 'totalSupply' - | 'reserveUSD' - | 'dailyVolumeToken0' - | 'dailyVolumeToken1' - | 'dailyVolumeUSD' - | 'dailyTxns' - - export type PairHourData = { - id: Scalars['ID'] - hourStartUnix: Scalars['Int'] - pair: Pair - reserve0: Scalars['BigDecimal'] - reserve1: Scalars['BigDecimal'] - reserveUSD: Scalars['BigDecimal'] - hourlyVolumeToken0: Scalars['BigDecimal'] - hourlyVolumeToken1: Scalars['BigDecimal'] - hourlyVolumeUSD: Scalars['BigDecimal'] - hourlyTxns: Scalars['BigInt'] - } - - export type PairHourData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - hourStartUnix?: InputMaybe - hourStartUnix_not?: InputMaybe - hourStartUnix_gt?: InputMaybe - hourStartUnix_lt?: InputMaybe - hourStartUnix_gte?: InputMaybe - hourStartUnix_lte?: InputMaybe - hourStartUnix_in?: InputMaybe> - hourStartUnix_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - hourlyVolumeToken0?: InputMaybe - hourlyVolumeToken0_not?: InputMaybe - hourlyVolumeToken0_gt?: InputMaybe - hourlyVolumeToken0_lt?: InputMaybe - hourlyVolumeToken0_gte?: InputMaybe - hourlyVolumeToken0_lte?: InputMaybe - hourlyVolumeToken0_in?: InputMaybe> - hourlyVolumeToken0_not_in?: InputMaybe> - hourlyVolumeToken1?: InputMaybe - hourlyVolumeToken1_not?: InputMaybe - hourlyVolumeToken1_gt?: InputMaybe - hourlyVolumeToken1_lt?: InputMaybe - hourlyVolumeToken1_gte?: InputMaybe - hourlyVolumeToken1_lte?: InputMaybe - hourlyVolumeToken1_in?: InputMaybe> - hourlyVolumeToken1_not_in?: InputMaybe> - hourlyVolumeUSD?: InputMaybe - hourlyVolumeUSD_not?: InputMaybe - hourlyVolumeUSD_gt?: InputMaybe - hourlyVolumeUSD_lt?: InputMaybe - hourlyVolumeUSD_gte?: InputMaybe - hourlyVolumeUSD_lte?: InputMaybe - hourlyVolumeUSD_in?: InputMaybe> - hourlyVolumeUSD_not_in?: InputMaybe> - hourlyTxns?: InputMaybe - hourlyTxns_not?: InputMaybe - hourlyTxns_gt?: InputMaybe - hourlyTxns_lt?: InputMaybe - hourlyTxns_gte?: InputMaybe - hourlyTxns_lte?: InputMaybe - hourlyTxns_in?: InputMaybe> - hourlyTxns_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type PairHourData_orderBy = - | 'id' - | 'hourStartUnix' - | 'pair' - | 'reserve0' - | 'reserve1' - | 'reserveUSD' - | 'hourlyVolumeToken0' - | 'hourlyVolumeToken1' - | 'hourlyVolumeUSD' - | 'hourlyTxns' - - export type Pair_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - token0?: InputMaybe - token0_not?: InputMaybe - token0_gt?: InputMaybe - token0_lt?: InputMaybe - token0_gte?: InputMaybe - token0_lte?: InputMaybe - token0_in?: InputMaybe> - token0_not_in?: InputMaybe> - token0_contains?: InputMaybe - token0_contains_nocase?: InputMaybe - token0_not_contains?: InputMaybe - token0_not_contains_nocase?: InputMaybe - token0_starts_with?: InputMaybe - token0_starts_with_nocase?: InputMaybe - token0_not_starts_with?: InputMaybe - token0_not_starts_with_nocase?: InputMaybe - token0_ends_with?: InputMaybe - token0_ends_with_nocase?: InputMaybe - token0_not_ends_with?: InputMaybe - token0_not_ends_with_nocase?: InputMaybe - token1?: InputMaybe - token1_not?: InputMaybe - token1_gt?: InputMaybe - token1_lt?: InputMaybe - token1_gte?: InputMaybe - token1_lte?: InputMaybe - token1_in?: InputMaybe> - token1_not_in?: InputMaybe> - token1_contains?: InputMaybe - token1_contains_nocase?: InputMaybe - token1_not_contains?: InputMaybe - token1_not_contains_nocase?: InputMaybe - token1_starts_with?: InputMaybe - token1_starts_with_nocase?: InputMaybe - token1_not_starts_with?: InputMaybe - token1_not_starts_with_nocase?: InputMaybe - token1_ends_with?: InputMaybe - token1_ends_with_nocase?: InputMaybe - token1_not_ends_with?: InputMaybe - token1_not_ends_with_nocase?: InputMaybe - reserve0?: InputMaybe - reserve0_not?: InputMaybe - reserve0_gt?: InputMaybe - reserve0_lt?: InputMaybe - reserve0_gte?: InputMaybe - reserve0_lte?: InputMaybe - reserve0_in?: InputMaybe> - reserve0_not_in?: InputMaybe> - reserve1?: InputMaybe - reserve1_not?: InputMaybe - reserve1_gt?: InputMaybe - reserve1_lt?: InputMaybe - reserve1_gte?: InputMaybe - reserve1_lte?: InputMaybe - reserve1_in?: InputMaybe> - reserve1_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - reserveETH?: InputMaybe - reserveETH_not?: InputMaybe - reserveETH_gt?: InputMaybe - reserveETH_lt?: InputMaybe - reserveETH_gte?: InputMaybe - reserveETH_lte?: InputMaybe - reserveETH_in?: InputMaybe> - reserveETH_not_in?: InputMaybe> - reserveUSD?: InputMaybe - reserveUSD_not?: InputMaybe - reserveUSD_gt?: InputMaybe - reserveUSD_lt?: InputMaybe - reserveUSD_gte?: InputMaybe - reserveUSD_lte?: InputMaybe - reserveUSD_in?: InputMaybe> - reserveUSD_not_in?: InputMaybe> - trackedReserveETH?: InputMaybe - trackedReserveETH_not?: InputMaybe - trackedReserveETH_gt?: InputMaybe - trackedReserveETH_lt?: InputMaybe - trackedReserveETH_gte?: InputMaybe - trackedReserveETH_lte?: InputMaybe - trackedReserveETH_in?: InputMaybe> - trackedReserveETH_not_in?: InputMaybe> - token0Price?: InputMaybe - token0Price_not?: InputMaybe - token0Price_gt?: InputMaybe - token0Price_lt?: InputMaybe - token0Price_gte?: InputMaybe - token0Price_lte?: InputMaybe - token0Price_in?: InputMaybe> - token0Price_not_in?: InputMaybe> - token1Price?: InputMaybe - token1Price_not?: InputMaybe - token1Price_gt?: InputMaybe - token1Price_lt?: InputMaybe - token1Price_gte?: InputMaybe - token1Price_lte?: InputMaybe - token1Price_in?: InputMaybe> - token1Price_not_in?: InputMaybe> - volumeToken0?: InputMaybe - volumeToken0_not?: InputMaybe - volumeToken0_gt?: InputMaybe - volumeToken0_lt?: InputMaybe - volumeToken0_gte?: InputMaybe - volumeToken0_lte?: InputMaybe - volumeToken0_in?: InputMaybe> - volumeToken0_not_in?: InputMaybe> - volumeToken1?: InputMaybe - volumeToken1_not?: InputMaybe - volumeToken1_gt?: InputMaybe - volumeToken1_lt?: InputMaybe - volumeToken1_gte?: InputMaybe - volumeToken1_lte?: InputMaybe - volumeToken1_in?: InputMaybe> - volumeToken1_not_in?: InputMaybe> - volumeUSD?: InputMaybe - volumeUSD_not?: InputMaybe - volumeUSD_gt?: InputMaybe - volumeUSD_lt?: InputMaybe - volumeUSD_gte?: InputMaybe - volumeUSD_lte?: InputMaybe - volumeUSD_in?: InputMaybe> - volumeUSD_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - createdAtTimestamp?: InputMaybe - createdAtTimestamp_not?: InputMaybe - createdAtTimestamp_gt?: InputMaybe - createdAtTimestamp_lt?: InputMaybe - createdAtTimestamp_gte?: InputMaybe - createdAtTimestamp_lte?: InputMaybe - createdAtTimestamp_in?: InputMaybe> - createdAtTimestamp_not_in?: InputMaybe> - createdAtBlockNumber?: InputMaybe - createdAtBlockNumber_not?: InputMaybe - createdAtBlockNumber_gt?: InputMaybe - createdAtBlockNumber_lt?: InputMaybe - createdAtBlockNumber_gte?: InputMaybe - createdAtBlockNumber_lte?: InputMaybe - createdAtBlockNumber_in?: InputMaybe> - createdAtBlockNumber_not_in?: InputMaybe> - liquidityProviderCount?: InputMaybe - liquidityProviderCount_not?: InputMaybe - liquidityProviderCount_gt?: InputMaybe - liquidityProviderCount_lt?: InputMaybe - liquidityProviderCount_gte?: InputMaybe - liquidityProviderCount_lte?: InputMaybe - liquidityProviderCount_in?: InputMaybe> - liquidityProviderCount_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Pair_orderBy = - | 'id' - | 'token0' - | 'token1' - | 'reserve0' - | 'reserve1' - | 'totalSupply' - | 'reserveETH' - | 'reserveUSD' - | 'trackedReserveETH' - | 'token0Price' - | 'token1Price' - | 'volumeToken0' - | 'volumeToken1' - | 'volumeUSD' - | 'untrackedVolumeUSD' - | 'txCount' - | 'createdAtTimestamp' - | 'createdAtBlockNumber' - | 'liquidityProviderCount' - - export type Query = { - uniswapFactory?: Maybe - uniswapFactories: Array - token?: Maybe - tokens: Array - pair?: Maybe - pairs: Array - user?: Maybe - users: Array - liquidityPosition?: Maybe - liquidityPositions: Array - liquidityPositionSnapshot?: Maybe - liquidityPositionSnapshots: Array - transaction?: Maybe - transactions: Array - mint?: Maybe - mints: Array - burn?: Maybe - burns: Array - swap?: Maybe - swaps: Array - bundle?: Maybe - bundles: Array - uniswapDayData?: Maybe - uniswapDayDatas: Array - pairHourData?: Maybe - pairHourDatas: Array - pairDayData?: Maybe - pairDayDatas: Array - tokenDayData?: Maybe - tokenDayDatas: Array - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_> - } - - export type QueryuniswapFactoryArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryuniswapFactoriesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytokenArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryuserArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryusersArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryliquidityPositionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryliquidityPositionSnapshotArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryliquidityPositionSnapshotsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytransactionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytransactionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerymintArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerymintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryburnArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryswapArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerybundleArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerybundlesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryuniswapDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QueryuniswapDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairHourDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairHourDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerypairDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytokenDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type QuerytokenDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type Query_metaArgs = { - block?: InputMaybe - } - - export type Subscription = { - uniswapFactory?: Maybe - uniswapFactories: Array - token?: Maybe - tokens: Array - pair?: Maybe - pairs: Array - user?: Maybe - users: Array - liquidityPosition?: Maybe - liquidityPositions: Array - liquidityPositionSnapshot?: Maybe - liquidityPositionSnapshots: Array - transaction?: Maybe - transactions: Array - mint?: Maybe - mints: Array - burn?: Maybe - burns: Array - swap?: Maybe - swaps: Array - bundle?: Maybe - bundles: Array - uniswapDayData?: Maybe - uniswapDayDatas: Array - pairHourData?: Maybe - pairHourDatas: Array - pairDayData?: Maybe - pairDayDatas: Array - tokenDayData?: Maybe - tokenDayDatas: Array - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_> - } - - export type SubscriptionuniswapFactoryArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionuniswapFactoriesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontokenArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionuserArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionusersArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionliquidityPositionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionliquidityPositionSnapshotArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionliquidityPositionSnapshotsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontransactionArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontransactionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionmintArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionmintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionburnArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionswapArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionbundleArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionbundlesArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionuniswapDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionuniswapDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairHourDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairHourDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptionpairDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontokenDayDataArgs = { - id: Scalars['ID'] - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type SubscriptiontokenDayDatasArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - block?: InputMaybe - subgraphError?: _SubgraphErrorPolicy_ - } - - export type Subscription_metaArgs = { - block?: InputMaybe - } - - export type Swap = { - id: Scalars['ID'] - transaction: Transaction - timestamp: Scalars['BigInt'] - pair: Pair - sender: Scalars['Bytes'] - amount0In: Scalars['BigDecimal'] - amount1In: Scalars['BigDecimal'] - amount0Out: Scalars['BigDecimal'] - amount1Out: Scalars['BigDecimal'] - to: Scalars['Bytes'] - logIndex?: Maybe - amountUSD: Scalars['BigDecimal'] - } - - export type Swap_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - transaction?: InputMaybe - transaction_not?: InputMaybe - transaction_gt?: InputMaybe - transaction_lt?: InputMaybe - transaction_gte?: InputMaybe - transaction_lte?: InputMaybe - transaction_in?: InputMaybe> - transaction_not_in?: InputMaybe> - transaction_contains?: InputMaybe - transaction_contains_nocase?: InputMaybe - transaction_not_contains?: InputMaybe - transaction_not_contains_nocase?: InputMaybe - transaction_starts_with?: InputMaybe - transaction_starts_with_nocase?: InputMaybe - transaction_not_starts_with?: InputMaybe - transaction_not_starts_with_nocase?: InputMaybe - transaction_ends_with?: InputMaybe - transaction_ends_with_nocase?: InputMaybe - transaction_not_ends_with?: InputMaybe - transaction_not_ends_with_nocase?: InputMaybe - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - pair?: InputMaybe - pair_not?: InputMaybe - pair_gt?: InputMaybe - pair_lt?: InputMaybe - pair_gte?: InputMaybe - pair_lte?: InputMaybe - pair_in?: InputMaybe> - pair_not_in?: InputMaybe> - pair_contains?: InputMaybe - pair_contains_nocase?: InputMaybe - pair_not_contains?: InputMaybe - pair_not_contains_nocase?: InputMaybe - pair_starts_with?: InputMaybe - pair_starts_with_nocase?: InputMaybe - pair_not_starts_with?: InputMaybe - pair_not_starts_with_nocase?: InputMaybe - pair_ends_with?: InputMaybe - pair_ends_with_nocase?: InputMaybe - pair_not_ends_with?: InputMaybe - pair_not_ends_with_nocase?: InputMaybe - sender?: InputMaybe - sender_not?: InputMaybe - sender_in?: InputMaybe> - sender_not_in?: InputMaybe> - sender_contains?: InputMaybe - sender_not_contains?: InputMaybe - amount0In?: InputMaybe - amount0In_not?: InputMaybe - amount0In_gt?: InputMaybe - amount0In_lt?: InputMaybe - amount0In_gte?: InputMaybe - amount0In_lte?: InputMaybe - amount0In_in?: InputMaybe> - amount0In_not_in?: InputMaybe> - amount1In?: InputMaybe - amount1In_not?: InputMaybe - amount1In_gt?: InputMaybe - amount1In_lt?: InputMaybe - amount1In_gte?: InputMaybe - amount1In_lte?: InputMaybe - amount1In_in?: InputMaybe> - amount1In_not_in?: InputMaybe> - amount0Out?: InputMaybe - amount0Out_not?: InputMaybe - amount0Out_gt?: InputMaybe - amount0Out_lt?: InputMaybe - amount0Out_gte?: InputMaybe - amount0Out_lte?: InputMaybe - amount0Out_in?: InputMaybe> - amount0Out_not_in?: InputMaybe> - amount1Out?: InputMaybe - amount1Out_not?: InputMaybe - amount1Out_gt?: InputMaybe - amount1Out_lt?: InputMaybe - amount1Out_gte?: InputMaybe - amount1Out_lte?: InputMaybe - amount1Out_in?: InputMaybe> - amount1Out_not_in?: InputMaybe> - to?: InputMaybe - to_not?: InputMaybe - to_in?: InputMaybe> - to_not_in?: InputMaybe> - to_contains?: InputMaybe - to_not_contains?: InputMaybe - logIndex?: InputMaybe - logIndex_not?: InputMaybe - logIndex_gt?: InputMaybe - logIndex_lt?: InputMaybe - logIndex_gte?: InputMaybe - logIndex_lte?: InputMaybe - logIndex_in?: InputMaybe> - logIndex_not_in?: InputMaybe> - amountUSD?: InputMaybe - amountUSD_not?: InputMaybe - amountUSD_gt?: InputMaybe - amountUSD_lt?: InputMaybe - amountUSD_gte?: InputMaybe - amountUSD_lte?: InputMaybe - amountUSD_in?: InputMaybe> - amountUSD_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Swap_orderBy = - | 'id' - | 'transaction' - | 'timestamp' - | 'pair' - | 'sender' - | 'amount0In' - | 'amount1In' - | 'amount0Out' - | 'amount1Out' - | 'to' - | 'logIndex' - | 'amountUSD' - - export type Token = { - id: Scalars['ID'] - symbol: Scalars['String'] - name: Scalars['String'] - decimals: Scalars['BigInt'] - totalSupply: Scalars['BigInt'] - tradeVolume: Scalars['BigDecimal'] - tradeVolumeUSD: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - totalLiquidity: Scalars['BigDecimal'] - derivedETH?: Maybe - mostLiquidPairs: Array> - } - - export type TokenmostLiquidPairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type TokenDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - token: Token - dailyVolumeToken: Scalars['BigDecimal'] - dailyVolumeETH: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyTxns: Scalars['BigInt'] - totalLiquidityToken: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - priceUSD: Scalars['BigDecimal'] - maxStored: Scalars['Int'] - mostLiquidPairs: Array - } - - export type TokenDayDatamostLiquidPairsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type TokenDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - token?: InputMaybe - token_not?: InputMaybe - token_gt?: InputMaybe - token_lt?: InputMaybe - token_gte?: InputMaybe - token_lte?: InputMaybe - token_in?: InputMaybe> - token_not_in?: InputMaybe> - token_contains?: InputMaybe - token_contains_nocase?: InputMaybe - token_not_contains?: InputMaybe - token_not_contains_nocase?: InputMaybe - token_starts_with?: InputMaybe - token_starts_with_nocase?: InputMaybe - token_not_starts_with?: InputMaybe - token_not_starts_with_nocase?: InputMaybe - token_ends_with?: InputMaybe - token_ends_with_nocase?: InputMaybe - token_not_ends_with?: InputMaybe - token_not_ends_with_nocase?: InputMaybe - dailyVolumeToken?: InputMaybe - dailyVolumeToken_not?: InputMaybe - dailyVolumeToken_gt?: InputMaybe - dailyVolumeToken_lt?: InputMaybe - dailyVolumeToken_gte?: InputMaybe - dailyVolumeToken_lte?: InputMaybe - dailyVolumeToken_in?: InputMaybe> - dailyVolumeToken_not_in?: InputMaybe> - dailyVolumeETH?: InputMaybe - dailyVolumeETH_not?: InputMaybe - dailyVolumeETH_gt?: InputMaybe - dailyVolumeETH_lt?: InputMaybe - dailyVolumeETH_gte?: InputMaybe - dailyVolumeETH_lte?: InputMaybe - dailyVolumeETH_in?: InputMaybe> - dailyVolumeETH_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyTxns?: InputMaybe - dailyTxns_not?: InputMaybe - dailyTxns_gt?: InputMaybe - dailyTxns_lt?: InputMaybe - dailyTxns_gte?: InputMaybe - dailyTxns_lte?: InputMaybe - dailyTxns_in?: InputMaybe> - dailyTxns_not_in?: InputMaybe> - totalLiquidityToken?: InputMaybe - totalLiquidityToken_not?: InputMaybe - totalLiquidityToken_gt?: InputMaybe - totalLiquidityToken_lt?: InputMaybe - totalLiquidityToken_gte?: InputMaybe - totalLiquidityToken_lte?: InputMaybe - totalLiquidityToken_in?: InputMaybe> - totalLiquidityToken_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - priceUSD?: InputMaybe - priceUSD_not?: InputMaybe - priceUSD_gt?: InputMaybe - priceUSD_lt?: InputMaybe - priceUSD_gte?: InputMaybe - priceUSD_lte?: InputMaybe - priceUSD_in?: InputMaybe> - priceUSD_not_in?: InputMaybe> - maxStored?: InputMaybe - maxStored_not?: InputMaybe - maxStored_gt?: InputMaybe - maxStored_lt?: InputMaybe - maxStored_gte?: InputMaybe - maxStored_lte?: InputMaybe - maxStored_in?: InputMaybe> - maxStored_not_in?: InputMaybe> - mostLiquidPairs?: InputMaybe> - mostLiquidPairs_not?: InputMaybe> - mostLiquidPairs_contains?: InputMaybe> - mostLiquidPairs_contains_nocase?: InputMaybe> - mostLiquidPairs_not_contains?: InputMaybe> - mostLiquidPairs_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type TokenDayData_orderBy = - | 'id' - | 'date' - | 'token' - | 'dailyVolumeToken' - | 'dailyVolumeETH' - | 'dailyVolumeUSD' - | 'dailyTxns' - | 'totalLiquidityToken' - | 'totalLiquidityETH' - | 'totalLiquidityUSD' - | 'priceUSD' - | 'maxStored' - | 'mostLiquidPairs' - - export type Token_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - symbol?: InputMaybe - symbol_not?: InputMaybe - symbol_gt?: InputMaybe - symbol_lt?: InputMaybe - symbol_gte?: InputMaybe - symbol_lte?: InputMaybe - symbol_in?: InputMaybe> - symbol_not_in?: InputMaybe> - symbol_contains?: InputMaybe - symbol_contains_nocase?: InputMaybe - symbol_not_contains?: InputMaybe - symbol_not_contains_nocase?: InputMaybe - symbol_starts_with?: InputMaybe - symbol_starts_with_nocase?: InputMaybe - symbol_not_starts_with?: InputMaybe - symbol_not_starts_with_nocase?: InputMaybe - symbol_ends_with?: InputMaybe - symbol_ends_with_nocase?: InputMaybe - symbol_not_ends_with?: InputMaybe - symbol_not_ends_with_nocase?: InputMaybe - name?: InputMaybe - name_not?: InputMaybe - name_gt?: InputMaybe - name_lt?: InputMaybe - name_gte?: InputMaybe - name_lte?: InputMaybe - name_in?: InputMaybe> - name_not_in?: InputMaybe> - name_contains?: InputMaybe - name_contains_nocase?: InputMaybe - name_not_contains?: InputMaybe - name_not_contains_nocase?: InputMaybe - name_starts_with?: InputMaybe - name_starts_with_nocase?: InputMaybe - name_not_starts_with?: InputMaybe - name_not_starts_with_nocase?: InputMaybe - name_ends_with?: InputMaybe - name_ends_with_nocase?: InputMaybe - name_not_ends_with?: InputMaybe - name_not_ends_with_nocase?: InputMaybe - decimals?: InputMaybe - decimals_not?: InputMaybe - decimals_gt?: InputMaybe - decimals_lt?: InputMaybe - decimals_gte?: InputMaybe - decimals_lte?: InputMaybe - decimals_in?: InputMaybe> - decimals_not_in?: InputMaybe> - totalSupply?: InputMaybe - totalSupply_not?: InputMaybe - totalSupply_gt?: InputMaybe - totalSupply_lt?: InputMaybe - totalSupply_gte?: InputMaybe - totalSupply_lte?: InputMaybe - totalSupply_in?: InputMaybe> - totalSupply_not_in?: InputMaybe> - tradeVolume?: InputMaybe - tradeVolume_not?: InputMaybe - tradeVolume_gt?: InputMaybe - tradeVolume_lt?: InputMaybe - tradeVolume_gte?: InputMaybe - tradeVolume_lte?: InputMaybe - tradeVolume_in?: InputMaybe> - tradeVolume_not_in?: InputMaybe> - tradeVolumeUSD?: InputMaybe - tradeVolumeUSD_not?: InputMaybe - tradeVolumeUSD_gt?: InputMaybe - tradeVolumeUSD_lt?: InputMaybe - tradeVolumeUSD_gte?: InputMaybe - tradeVolumeUSD_lte?: InputMaybe - tradeVolumeUSD_in?: InputMaybe> - tradeVolumeUSD_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - totalLiquidity?: InputMaybe - totalLiquidity_not?: InputMaybe - totalLiquidity_gt?: InputMaybe - totalLiquidity_lt?: InputMaybe - totalLiquidity_gte?: InputMaybe - totalLiquidity_lte?: InputMaybe - totalLiquidity_in?: InputMaybe> - totalLiquidity_not_in?: InputMaybe> - derivedETH?: InputMaybe - derivedETH_not?: InputMaybe - derivedETH_gt?: InputMaybe - derivedETH_lt?: InputMaybe - derivedETH_gte?: InputMaybe - derivedETH_lte?: InputMaybe - derivedETH_in?: InputMaybe> - derivedETH_not_in?: InputMaybe> - mostLiquidPairs?: InputMaybe> - mostLiquidPairs_not?: InputMaybe> - mostLiquidPairs_contains?: InputMaybe> - mostLiquidPairs_contains_nocase?: InputMaybe> - mostLiquidPairs_not_contains?: InputMaybe> - mostLiquidPairs_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Token_orderBy = - | 'id' - | 'symbol' - | 'name' - | 'decimals' - | 'totalSupply' - | 'tradeVolume' - | 'tradeVolumeUSD' - | 'untrackedVolumeUSD' - | 'txCount' - | 'totalLiquidity' - | 'derivedETH' - | 'mostLiquidPairs' - - export type Transaction = { - id: Scalars['ID'] - blockNumber: Scalars['BigInt'] - timestamp: Scalars['BigInt'] - mints: Array> - burns: Array> - swaps: Array> - } - - export type TransactionmintsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type TransactionburnsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type TransactionswapsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type Transaction_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - blockNumber?: InputMaybe - blockNumber_not?: InputMaybe - blockNumber_gt?: InputMaybe - blockNumber_lt?: InputMaybe - blockNumber_gte?: InputMaybe - blockNumber_lte?: InputMaybe - blockNumber_in?: InputMaybe> - blockNumber_not_in?: InputMaybe> - timestamp?: InputMaybe - timestamp_not?: InputMaybe - timestamp_gt?: InputMaybe - timestamp_lt?: InputMaybe - timestamp_gte?: InputMaybe - timestamp_lte?: InputMaybe - timestamp_in?: InputMaybe> - timestamp_not_in?: InputMaybe> - mints?: InputMaybe> - mints_not?: InputMaybe> - mints_contains?: InputMaybe> - mints_contains_nocase?: InputMaybe> - mints_not_contains?: InputMaybe> - mints_not_contains_nocase?: InputMaybe> - burns?: InputMaybe> - burns_not?: InputMaybe> - burns_contains?: InputMaybe> - burns_contains_nocase?: InputMaybe> - burns_not_contains?: InputMaybe> - burns_not_contains_nocase?: InputMaybe> - swaps?: InputMaybe> - swaps_not?: InputMaybe> - swaps_contains?: InputMaybe> - swaps_contains_nocase?: InputMaybe> - swaps_not_contains?: InputMaybe> - swaps_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type Transaction_orderBy = 'id' | 'blockNumber' | 'timestamp' | 'mints' | 'burns' | 'swaps' - - export type UniswapDayData = { - id: Scalars['ID'] - date: Scalars['Int'] - dailyVolumeETH: Scalars['BigDecimal'] - dailyVolumeUSD: Scalars['BigDecimal'] - dailyVolumeUntracked: Scalars['BigDecimal'] - totalVolumeETH: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - totalVolumeUSD: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - maxStored?: Maybe - mostLiquidTokens: Array - txCount: Scalars['BigInt'] - } - - export type UniswapDayDatamostLiquidTokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type UniswapDayData_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - date?: InputMaybe - date_not?: InputMaybe - date_gt?: InputMaybe - date_lt?: InputMaybe - date_gte?: InputMaybe - date_lte?: InputMaybe - date_in?: InputMaybe> - date_not_in?: InputMaybe> - dailyVolumeETH?: InputMaybe - dailyVolumeETH_not?: InputMaybe - dailyVolumeETH_gt?: InputMaybe - dailyVolumeETH_lt?: InputMaybe - dailyVolumeETH_gte?: InputMaybe - dailyVolumeETH_lte?: InputMaybe - dailyVolumeETH_in?: InputMaybe> - dailyVolumeETH_not_in?: InputMaybe> - dailyVolumeUSD?: InputMaybe - dailyVolumeUSD_not?: InputMaybe - dailyVolumeUSD_gt?: InputMaybe - dailyVolumeUSD_lt?: InputMaybe - dailyVolumeUSD_gte?: InputMaybe - dailyVolumeUSD_lte?: InputMaybe - dailyVolumeUSD_in?: InputMaybe> - dailyVolumeUSD_not_in?: InputMaybe> - dailyVolumeUntracked?: InputMaybe - dailyVolumeUntracked_not?: InputMaybe - dailyVolumeUntracked_gt?: InputMaybe - dailyVolumeUntracked_lt?: InputMaybe - dailyVolumeUntracked_gte?: InputMaybe - dailyVolumeUntracked_lte?: InputMaybe - dailyVolumeUntracked_in?: InputMaybe> - dailyVolumeUntracked_not_in?: InputMaybe> - totalVolumeETH?: InputMaybe - totalVolumeETH_not?: InputMaybe - totalVolumeETH_gt?: InputMaybe - totalVolumeETH_lt?: InputMaybe - totalVolumeETH_gte?: InputMaybe - totalVolumeETH_lte?: InputMaybe - totalVolumeETH_in?: InputMaybe> - totalVolumeETH_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - totalVolumeUSD?: InputMaybe - totalVolumeUSD_not?: InputMaybe - totalVolumeUSD_gt?: InputMaybe - totalVolumeUSD_lt?: InputMaybe - totalVolumeUSD_gte?: InputMaybe - totalVolumeUSD_lte?: InputMaybe - totalVolumeUSD_in?: InputMaybe> - totalVolumeUSD_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - maxStored?: InputMaybe - maxStored_not?: InputMaybe - maxStored_gt?: InputMaybe - maxStored_lt?: InputMaybe - maxStored_gte?: InputMaybe - maxStored_lte?: InputMaybe - maxStored_in?: InputMaybe> - maxStored_not_in?: InputMaybe> - mostLiquidTokens?: InputMaybe> - mostLiquidTokens_not?: InputMaybe> - mostLiquidTokens_contains?: InputMaybe> - mostLiquidTokens_contains_nocase?: InputMaybe> - mostLiquidTokens_not_contains?: InputMaybe> - mostLiquidTokens_not_contains_nocase?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type UniswapDayData_orderBy = - | 'id' - | 'date' - | 'dailyVolumeETH' - | 'dailyVolumeUSD' - | 'dailyVolumeUntracked' - | 'totalVolumeETH' - | 'totalLiquidityETH' - | 'totalVolumeUSD' - | 'totalLiquidityUSD' - | 'maxStored' - | 'mostLiquidTokens' - | 'txCount' - - export type UniswapFactory = { - id: Scalars['ID'] - pairCount: Scalars['Int'] - totalVolumeUSD: Scalars['BigDecimal'] - totalVolumeETH: Scalars['BigDecimal'] - untrackedVolumeUSD: Scalars['BigDecimal'] - totalLiquidityUSD: Scalars['BigDecimal'] - totalLiquidityETH: Scalars['BigDecimal'] - txCount: Scalars['BigInt'] - mostLiquidTokens: Array - } - - export type UniswapFactorymostLiquidTokensArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type UniswapFactory_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - pairCount?: InputMaybe - pairCount_not?: InputMaybe - pairCount_gt?: InputMaybe - pairCount_lt?: InputMaybe - pairCount_gte?: InputMaybe - pairCount_lte?: InputMaybe - pairCount_in?: InputMaybe> - pairCount_not_in?: InputMaybe> - totalVolumeUSD?: InputMaybe - totalVolumeUSD_not?: InputMaybe - totalVolumeUSD_gt?: InputMaybe - totalVolumeUSD_lt?: InputMaybe - totalVolumeUSD_gte?: InputMaybe - totalVolumeUSD_lte?: InputMaybe - totalVolumeUSD_in?: InputMaybe> - totalVolumeUSD_not_in?: InputMaybe> - totalVolumeETH?: InputMaybe - totalVolumeETH_not?: InputMaybe - totalVolumeETH_gt?: InputMaybe - totalVolumeETH_lt?: InputMaybe - totalVolumeETH_gte?: InputMaybe - totalVolumeETH_lte?: InputMaybe - totalVolumeETH_in?: InputMaybe> - totalVolumeETH_not_in?: InputMaybe> - untrackedVolumeUSD?: InputMaybe - untrackedVolumeUSD_not?: InputMaybe - untrackedVolumeUSD_gt?: InputMaybe - untrackedVolumeUSD_lt?: InputMaybe - untrackedVolumeUSD_gte?: InputMaybe - untrackedVolumeUSD_lte?: InputMaybe - untrackedVolumeUSD_in?: InputMaybe> - untrackedVolumeUSD_not_in?: InputMaybe> - totalLiquidityUSD?: InputMaybe - totalLiquidityUSD_not?: InputMaybe - totalLiquidityUSD_gt?: InputMaybe - totalLiquidityUSD_lt?: InputMaybe - totalLiquidityUSD_gte?: InputMaybe - totalLiquidityUSD_lte?: InputMaybe - totalLiquidityUSD_in?: InputMaybe> - totalLiquidityUSD_not_in?: InputMaybe> - totalLiquidityETH?: InputMaybe - totalLiquidityETH_not?: InputMaybe - totalLiquidityETH_gt?: InputMaybe - totalLiquidityETH_lt?: InputMaybe - totalLiquidityETH_gte?: InputMaybe - totalLiquidityETH_lte?: InputMaybe - totalLiquidityETH_in?: InputMaybe> - totalLiquidityETH_not_in?: InputMaybe> - txCount?: InputMaybe - txCount_not?: InputMaybe - txCount_gt?: InputMaybe - txCount_lt?: InputMaybe - txCount_gte?: InputMaybe - txCount_lte?: InputMaybe - txCount_in?: InputMaybe> - txCount_not_in?: InputMaybe> - mostLiquidTokens?: InputMaybe> - mostLiquidTokens_not?: InputMaybe> - mostLiquidTokens_contains?: InputMaybe> - mostLiquidTokens_contains_nocase?: InputMaybe> - mostLiquidTokens_not_contains?: InputMaybe> - mostLiquidTokens_not_contains_nocase?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type UniswapFactory_orderBy = - | 'id' - | 'pairCount' - | 'totalVolumeUSD' - | 'totalVolumeETH' - | 'untrackedVolumeUSD' - | 'totalLiquidityUSD' - | 'totalLiquidityETH' - | 'txCount' - | 'mostLiquidTokens' - - export type User = { - id: Scalars['ID'] - liquidityPositions?: Maybe> - usdSwapped: Scalars['BigDecimal'] - } - - export type UserliquidityPositionsArgs = { - skip?: InputMaybe - first?: InputMaybe - orderBy?: InputMaybe - orderDirection?: InputMaybe - where?: InputMaybe - } - - export type User_filter = { - id?: InputMaybe - id_not?: InputMaybe - id_gt?: InputMaybe - id_lt?: InputMaybe - id_gte?: InputMaybe - id_lte?: InputMaybe - id_in?: InputMaybe> - id_not_in?: InputMaybe> - usdSwapped?: InputMaybe - usdSwapped_not?: InputMaybe - usdSwapped_gt?: InputMaybe - usdSwapped_lt?: InputMaybe - usdSwapped_gte?: InputMaybe - usdSwapped_lte?: InputMaybe - usdSwapped_in?: InputMaybe> - usdSwapped_not_in?: InputMaybe> - /** Filter for the block changed event. */ - _change_block?: InputMaybe - } - - export type User_orderBy = 'id' | 'liquidityPositions' | 'usdSwapped' - - export type _Block_ = { - /** The hash of the block */ - hash?: Maybe - /** The block number */ - number: Scalars['Int'] - } - - /** The type for the top-level _meta field */ - export type _Meta_ = { - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - * - */ - block: _Block_ - /** The deployment ID */ - deployment: Scalars['String'] - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean'] - } - - export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny' -} -export type QueryUniswapSdk = { - /** null **/ - uniswapFactory: InContextSdkMethod< - UniswapTypes.Query['uniswapFactory'], - UniswapTypes.QueryuniswapFactoryArgs, - MeshContext - > - /** null **/ - uniswapFactories: InContextSdkMethod< - UniswapTypes.Query['uniswapFactories'], - UniswapTypes.QueryuniswapFactoriesArgs, - MeshContext - > - /** null **/ - token: InContextSdkMethod - /** null **/ - tokens: InContextSdkMethod - /** null **/ - pair: InContextSdkMethod - /** null **/ - pairs: InContextSdkMethod - /** null **/ - user: InContextSdkMethod - /** null **/ - users: InContextSdkMethod - /** null **/ - liquidityPosition: InContextSdkMethod< - UniswapTypes.Query['liquidityPosition'], - UniswapTypes.QueryliquidityPositionArgs, - MeshContext - > - /** null **/ - liquidityPositions: InContextSdkMethod< - UniswapTypes.Query['liquidityPositions'], - UniswapTypes.QueryliquidityPositionsArgs, - MeshContext - > - /** null **/ - liquidityPositionSnapshot: InContextSdkMethod< - UniswapTypes.Query['liquidityPositionSnapshot'], - UniswapTypes.QueryliquidityPositionSnapshotArgs, - MeshContext - > - /** null **/ - liquidityPositionSnapshots: InContextSdkMethod< - UniswapTypes.Query['liquidityPositionSnapshots'], - UniswapTypes.QueryliquidityPositionSnapshotsArgs, - MeshContext - > - /** null **/ - transaction: InContextSdkMethod - /** null **/ - transactions: InContextSdkMethod - /** null **/ - mint: InContextSdkMethod - /** null **/ - mints: InContextSdkMethod - /** null **/ - burn: InContextSdkMethod - /** null **/ - burns: InContextSdkMethod - /** null **/ - swap: InContextSdkMethod - /** null **/ - swaps: InContextSdkMethod - /** null **/ - bundle: InContextSdkMethod - /** null **/ - bundles: InContextSdkMethod - /** null **/ - uniswapDayData: InContextSdkMethod< - UniswapTypes.Query['uniswapDayData'], - UniswapTypes.QueryuniswapDayDataArgs, - MeshContext - > - /** null **/ - uniswapDayDatas: InContextSdkMethod< - UniswapTypes.Query['uniswapDayDatas'], - UniswapTypes.QueryuniswapDayDatasArgs, - MeshContext - > - /** null **/ - pairHourData: InContextSdkMethod - /** null **/ - pairHourDatas: InContextSdkMethod< - UniswapTypes.Query['pairHourDatas'], - UniswapTypes.QuerypairHourDatasArgs, - MeshContext - > - /** null **/ - pairDayData: InContextSdkMethod - /** null **/ - pairDayDatas: InContextSdkMethod - /** null **/ - tokenDayData: InContextSdkMethod - /** null **/ - tokenDayDatas: InContextSdkMethod< - UniswapTypes.Query['tokenDayDatas'], - UniswapTypes.QuerytokenDayDatasArgs, - MeshContext - > - /** Access to subgraph metadata **/ - _meta: InContextSdkMethod -} - -export type MutationUniswapSdk = {} - -export type SubscriptionUniswapSdk = { - /** null **/ - uniswapFactory: InContextSdkMethod< - UniswapTypes.Subscription['uniswapFactory'], - UniswapTypes.SubscriptionuniswapFactoryArgs, - MeshContext - > - /** null **/ - uniswapFactories: InContextSdkMethod< - UniswapTypes.Subscription['uniswapFactories'], - UniswapTypes.SubscriptionuniswapFactoriesArgs, - MeshContext - > - /** null **/ - token: InContextSdkMethod - /** null **/ - tokens: InContextSdkMethod - /** null **/ - pair: InContextSdkMethod - /** null **/ - pairs: InContextSdkMethod - /** null **/ - user: InContextSdkMethod - /** null **/ - users: InContextSdkMethod - /** null **/ - liquidityPosition: InContextSdkMethod< - UniswapTypes.Subscription['liquidityPosition'], - UniswapTypes.SubscriptionliquidityPositionArgs, - MeshContext - > - /** null **/ - liquidityPositions: InContextSdkMethod< - UniswapTypes.Subscription['liquidityPositions'], - UniswapTypes.SubscriptionliquidityPositionsArgs, - MeshContext - > - /** null **/ - liquidityPositionSnapshot: InContextSdkMethod< - UniswapTypes.Subscription['liquidityPositionSnapshot'], - UniswapTypes.SubscriptionliquidityPositionSnapshotArgs, - MeshContext - > - /** null **/ - liquidityPositionSnapshots: InContextSdkMethod< - UniswapTypes.Subscription['liquidityPositionSnapshots'], - UniswapTypes.SubscriptionliquidityPositionSnapshotsArgs, - MeshContext - > - /** null **/ - transaction: InContextSdkMethod< - UniswapTypes.Subscription['transaction'], - UniswapTypes.SubscriptiontransactionArgs, - MeshContext - > - /** null **/ - transactions: InContextSdkMethod< - UniswapTypes.Subscription['transactions'], - UniswapTypes.SubscriptiontransactionsArgs, - MeshContext - > - /** null **/ - mint: InContextSdkMethod - /** null **/ - mints: InContextSdkMethod - /** null **/ - burn: InContextSdkMethod - /** null **/ - burns: InContextSdkMethod - /** null **/ - swap: InContextSdkMethod - /** null **/ - swaps: InContextSdkMethod - /** null **/ - bundle: InContextSdkMethod - /** null **/ - bundles: InContextSdkMethod - /** null **/ - uniswapDayData: InContextSdkMethod< - UniswapTypes.Subscription['uniswapDayData'], - UniswapTypes.SubscriptionuniswapDayDataArgs, - MeshContext - > - /** null **/ - uniswapDayDatas: InContextSdkMethod< - UniswapTypes.Subscription['uniswapDayDatas'], - UniswapTypes.SubscriptionuniswapDayDatasArgs, - MeshContext - > - /** null **/ - pairHourData: InContextSdkMethod< - UniswapTypes.Subscription['pairHourData'], - UniswapTypes.SubscriptionpairHourDataArgs, - MeshContext - > - /** null **/ - pairHourDatas: InContextSdkMethod< - UniswapTypes.Subscription['pairHourDatas'], - UniswapTypes.SubscriptionpairHourDatasArgs, - MeshContext - > - /** null **/ - pairDayData: InContextSdkMethod< - UniswapTypes.Subscription['pairDayData'], - UniswapTypes.SubscriptionpairDayDataArgs, - MeshContext - > - /** null **/ - pairDayDatas: InContextSdkMethod< - UniswapTypes.Subscription['pairDayDatas'], - UniswapTypes.SubscriptionpairDayDatasArgs, - MeshContext - > - /** null **/ - tokenDayData: InContextSdkMethod< - UniswapTypes.Subscription['tokenDayData'], - UniswapTypes.SubscriptiontokenDayDataArgs, - MeshContext - > - /** null **/ - tokenDayDatas: InContextSdkMethod< - UniswapTypes.Subscription['tokenDayDatas'], - UniswapTypes.SubscriptiontokenDayDatasArgs, - MeshContext - > - /** Access to subgraph metadata **/ - _meta: InContextSdkMethod -} - -export type UniswapContext = { - ['uniswap']: { Query: QueryUniswapSdk; Mutation: MutationUniswapSdk; Subscription: SubscriptionUniswapSdk } -} - -export type MeshContext = UniswapContext & BaseMeshContext - -import { getMesh } from '@graphql-mesh/runtime' -import { MeshStore, FsStoreStorageAdapter } from '@graphql-mesh/store' -import { path as pathModule } from '@graphql-mesh/cross-helpers' -import { fileURLToPath } from '@graphql-mesh/utils' - -const importedModules: Record = {} - -const baseDir = pathModule.join(__dirname, '..') - -const importFn = (moduleId: string) => { - const relativeModuleId = (pathModule.isAbsolute(moduleId) ? pathModule.relative(baseDir, moduleId) : moduleId) - .split('\\') - .join('/') - .replace(baseDir + '/', '') - if (!(relativeModuleId in importedModules)) { - throw new Error(`Cannot find module '${relativeModuleId}'.`) - } - return Promise.resolve(importedModules[relativeModuleId]) -} - -const rootStore = new MeshStore( - '.graphclient', - new FsStoreStorageAdapter({ - cwd: baseDir, - importFn, - fileType: 'ts', - }), - { - readonly: true, - validate: false, - }, -) - -import { findAndParseConfig } from '@graphql-mesh/cli' -function getMeshOptions() { - console.warn( - 'WARNING: These artifacts are built for development mode. Please run "graphclient build" to build production artifacts', - ) - return findAndParseConfig({ - dir: baseDir, - artifactsDir: '.graphclient', - configName: 'graphclient', - additionalPackagePrefixes: ['@graphprotocol/client-'], - }) -} - -export const documentsInSDL = /*#__PURE__*/ [] - -export async function getBuiltGraphClient(): Promise> { - const meshConfig = await getMeshOptions() - return getMesh(meshConfig) -} - -export async function getBuiltGraphSDK(globalContext?: TGlobalContext) { - const { sdkRequesterFactory } = await getBuiltGraphClient() - return getSdk(sdkRequesterFactory(globalContext)) -} - -export type Requester = (doc: DocumentNode, vars?: V, options?: C) => Promise -export function getSdk(requester: Requester) { - return {} -} -export type Sdk = ReturnType diff --git a/examples/transforms/.graphclient/schema.graphql b/examples/transforms/.graphclient/schema.graphql deleted file mode 100644 index 757408f2..00000000 --- a/examples/transforms/.graphclient/schema.graphql +++ /dev/null @@ -1,2988 +0,0 @@ -""" -Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive. -""" -directive @entity on OBJECT - -""" -Defined a Subgraph ID for an object type -""" -directive @subgraphId(id: String!) on OBJECT - -""" -creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API. -""" -directive @derivedFrom(field: String!) on FIELD_DEFINITION - -scalar BigDecimal - -scalar BigInt - -input BlockChangedFilter { - number_gte: Int! -} - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -type Bundle { - id: ID! - ethPrice: BigDecimal! -} - -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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Bundle_orderBy { - id - ethPrice -} - -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 -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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_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_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_in: [Boolean!] - needsComplete_not_in: [Boolean!] - feeTo: Bytes - feeTo_not: 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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Burn_orderBy { - id - transaction - timestamp - pair - liquidity - sender - amount0 - amount1 - to - logIndex - amountUSD - needsComplete - feeTo - feeLiquidity -} - -scalar Bytes - -type LiquidityPosition { - id: ID! - user: User! - pair: Pair! - liquidityTokenBalance: 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! -} - -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_contains: String - liquidityPosition_contains_nocase: String - liquidityPosition_not_contains: String - liquidityPosition_not_contains_nocase: 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 - 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_contains: String - user_contains_nocase: String - user_not_contains: String - user_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum LiquidityPositionSnapshot_orderBy { - id - liquidityPosition - timestamp - block - user - pair - token0PriceUSD - token1PriceUSD - reserve0 - reserve1 - reserveUSD - liquidityTokenTotalSupply - 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_contains: String - user_contains_nocase: String - user_not_contains: String - user_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - liquidityTokenBalance: BigDecimal - liquidityTokenBalance_not: BigDecimal - liquidityTokenBalance_gt: BigDecimal - liquidityTokenBalance_lt: BigDecimal - liquidityTokenBalance_gte: BigDecimal - liquidityTokenBalance_lte: BigDecimal - liquidityTokenBalance_in: [BigDecimal!] - liquidityTokenBalance_not_in: [BigDecimal!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum LiquidityPosition_orderBy { - id - user - pair - liquidityTokenBalance -} - -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 -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - to: Bytes - to_not: 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_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_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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Mint_orderBy { - id - transaction - timestamp - pair - to - liquidity - sender - amount0 - amount1 - logIndex - amountUSD - feeTo - feeLiquidity -} - -""" -Defines the order direction, either ascending or descending -""" -enum OrderDirection { - asc - desc -} - -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! -} - -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! -} - -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_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_contains: String - token0_contains_nocase: String - token0_not_contains: String - token0_not_contains_nocase: 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 - 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_contains: String - token1_contains_nocase: String - token1_not_contains: String - token1_not_contains_nocase: 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 - 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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum PairDayData_orderBy { - id - date - pairAddress - token0 - token1 - reserve0 - reserve1 - totalSupply - reserveUSD - dailyVolumeToken0 - dailyVolumeToken1 - dailyVolumeUSD - dailyTxns -} - -type PairHourData { - id: ID! - hourStartUnix: Int! - pair: Pair! - reserve0: BigDecimal! - reserve1: BigDecimal! - reserveUSD: BigDecimal! - hourlyVolumeToken0: BigDecimal! - hourlyVolumeToken1: BigDecimal! - hourlyVolumeUSD: BigDecimal! - hourlyTxns: BigInt! -} - -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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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!] - 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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum PairHourData_orderBy { - id - hourStartUnix - pair - reserve0 - reserve1 - reserveUSD - hourlyVolumeToken0 - hourlyVolumeToken1 - hourlyVolumeUSD - hourlyTxns -} - -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_contains: String - token0_contains_nocase: String - token0_not_contains: String - token0_not_contains_nocase: 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 - 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_contains: String - token1_contains_nocase: String - token1_not_contains: String - token1_not_contains_nocase: 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 - 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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Pair_orderBy { - id - token0 - token1 - reserve0 - reserve1 - totalSupply - reserveETH - reserveUSD - trackedReserveETH - token0Price - token1Price - volumeToken0 - volumeToken1 - volumeUSD - untrackedVolumeUSD - txCount - createdAtTimestamp - createdAtBlockNumber - liquidityProviderCount -} - -type Query { - uniswapFactory( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapFactory - uniswapFactories( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapFactory_orderBy - orderDirection: OrderDirection - where: UniswapFactory_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapFactory!]! - token( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Token - tokens( - skip: Int = 0 - first: Int = 100 - orderBy: Token_orderBy - orderDirection: OrderDirection - where: Token_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Token!]! - pair( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Pair - pairs( - skip: Int = 0 - first: Int = 100 - orderBy: Pair_orderBy - orderDirection: OrderDirection - where: Pair_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Pair!]! - user( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): User - users( - skip: Int = 0 - first: Int = 100 - orderBy: User_orderBy - orderDirection: OrderDirection - where: User_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [User!]! - liquidityPosition( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPosition - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPosition!]! - liquidityPositionSnapshot( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPositionSnapshot - liquidityPositionSnapshots( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPositionSnapshot_orderBy - orderDirection: OrderDirection - where: LiquidityPositionSnapshot_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPositionSnapshot!]! - transaction( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transaction - transactions( - skip: Int = 0 - first: Int = 100 - orderBy: Transaction_orderBy - orderDirection: OrderDirection - where: Transaction_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transaction!]! - mint( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Mint - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Mint!]! - burn( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Burn - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Burn!]! - swap( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Swap - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Swap!]! - bundle( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Bundle - bundles( - skip: Int = 0 - first: Int = 100 - orderBy: Bundle_orderBy - orderDirection: OrderDirection - where: Bundle_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Bundle!]! - uniswapDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapDayData - uniswapDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapDayData_orderBy - orderDirection: OrderDirection - where: UniswapDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapDayData!]! - pairHourData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairHourData - pairHourDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairHourData_orderBy - orderDirection: OrderDirection - where: PairHourData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairHourData!]! - pairDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairDayData - pairDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairDayData!]! - tokenDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TokenDayData - tokenDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TokenDayData!]! - - """ - Access to subgraph metadata - """ - _meta(block: Block_height): _Meta_ -} - -type Subscription { - uniswapFactory( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapFactory - uniswapFactories( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapFactory_orderBy - orderDirection: OrderDirection - where: UniswapFactory_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapFactory!]! - token( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Token - tokens( - skip: Int = 0 - first: Int = 100 - orderBy: Token_orderBy - orderDirection: OrderDirection - where: Token_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Token!]! - pair( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Pair - pairs( - skip: Int = 0 - first: Int = 100 - orderBy: Pair_orderBy - orderDirection: OrderDirection - where: Pair_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Pair!]! - user( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): User - users( - skip: Int = 0 - first: Int = 100 - orderBy: User_orderBy - orderDirection: OrderDirection - where: User_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [User!]! - liquidityPosition( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPosition - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPosition!]! - liquidityPositionSnapshot( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPositionSnapshot - liquidityPositionSnapshots( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPositionSnapshot_orderBy - orderDirection: OrderDirection - where: LiquidityPositionSnapshot_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPositionSnapshot!]! - transaction( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transaction - transactions( - skip: Int = 0 - first: Int = 100 - orderBy: Transaction_orderBy - orderDirection: OrderDirection - where: Transaction_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transaction!]! - mint( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Mint - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Mint!]! - burn( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Burn - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Burn!]! - swap( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Swap - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Swap!]! - bundle( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Bundle - bundles( - skip: Int = 0 - first: Int = 100 - orderBy: Bundle_orderBy - orderDirection: OrderDirection - where: Bundle_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Bundle!]! - uniswapDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapDayData - uniswapDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapDayData_orderBy - orderDirection: OrderDirection - where: UniswapDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapDayData!]! - pairHourData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairHourData - pairHourDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairHourData_orderBy - orderDirection: OrderDirection - where: PairHourData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairHourData!]! - pairDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairDayData - pairDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairDayData!]! - tokenDayData( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TokenDayData - tokenDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TokenDayData!]! - - """ - Access to subgraph metadata - """ - _meta(block: Block_height): _Meta_ -} - -type Swap { - id: ID! - transaction: Transaction! - timestamp: BigInt! - pair: Pair! - sender: Bytes! - amount0In: BigDecimal! - amount1In: BigDecimal! - amount0Out: BigDecimal! - amount1Out: BigDecimal! - to: Bytes! - logIndex: BigInt - amountUSD: BigDecimal! -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - sender: Bytes - sender_not: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_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_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!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Swap_orderBy { - id - transaction - timestamp - pair - sender - amount0In - amount1In - amount0Out - amount1Out - to - logIndex - amountUSD -} - -type Token { - id: ID! - symbol: String! - name: String! - decimals: BigInt! - totalSupply: BigInt! - tradeVolume: BigDecimal! - tradeVolumeUSD: BigDecimal! - untrackedVolumeUSD: BigDecimal! - txCount: BigInt! - totalLiquidity: BigDecimal! - derivedETH: BigDecimal - mostLiquidPairs( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - ): [PairDayData]! -} - -type TokenDayData { - id: ID! - date: Int! - token: Token! - dailyVolumeToken: BigDecimal! - dailyVolumeETH: BigDecimal! - dailyVolumeUSD: BigDecimal! - dailyTxns: BigInt! - totalLiquidityToken: BigDecimal! - totalLiquidityETH: BigDecimal! - totalLiquidityUSD: BigDecimal! - priceUSD: BigDecimal! - maxStored: Int! - mostLiquidPairs( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - ): [PairDayData!]! -} - -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_contains: String - token_contains_nocase: String - token_not_contains: String - token_not_contains_nocase: 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 - 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!] - maxStored: Int - maxStored_not: Int - maxStored_gt: Int - maxStored_lt: Int - maxStored_gte: Int - maxStored_lte: Int - maxStored_in: [Int!] - maxStored_not_in: [Int!] - mostLiquidPairs: [String!] - mostLiquidPairs_not: [String!] - mostLiquidPairs_contains: [String!] - mostLiquidPairs_contains_nocase: [String!] - mostLiquidPairs_not_contains: [String!] - mostLiquidPairs_not_contains_nocase: [String!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum TokenDayData_orderBy { - id - date - token - dailyVolumeToken - dailyVolumeETH - dailyVolumeUSD - dailyTxns - totalLiquidityToken - totalLiquidityETH - totalLiquidityUSD - priceUSD - maxStored - mostLiquidPairs -} - -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_contains: String - symbol_contains_nocase: String - symbol_not_contains: String - symbol_not_contains_nocase: 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 - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - 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!] - mostLiquidPairs: [String!] - mostLiquidPairs_not: [String!] - mostLiquidPairs_contains: [String!] - mostLiquidPairs_contains_nocase: [String!] - mostLiquidPairs_not_contains: [String!] - mostLiquidPairs_not_contains_nocase: [String!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Token_orderBy { - id - symbol - name - decimals - totalSupply - tradeVolume - tradeVolumeUSD - untrackedVolumeUSD - txCount - totalLiquidity - derivedETH - mostLiquidPairs -} - -type Transaction { - id: ID! - blockNumber: BigInt! - timestamp: BigInt! - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - ): [Mint]! - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - ): [Burn]! - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - ): [Swap]! -} - -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_contains_nocase: [String!] - mints_not_contains: [String!] - mints_not_contains_nocase: [String!] - burns: [String!] - burns_not: [String!] - burns_contains: [String!] - burns_contains_nocase: [String!] - burns_not_contains: [String!] - burns_not_contains_nocase: [String!] - swaps: [String!] - swaps_not: [String!] - swaps_contains: [String!] - swaps_contains_nocase: [String!] - swaps_not_contains: [String!] - swaps_not_contains_nocase: [String!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Transaction_orderBy { - id - blockNumber - timestamp - mints - burns - swaps -} - -type UniswapDayData { - id: ID! - date: Int! - dailyVolumeETH: BigDecimal! - dailyVolumeUSD: BigDecimal! - dailyVolumeUntracked: BigDecimal! - totalVolumeETH: BigDecimal! - totalLiquidityETH: BigDecimal! - totalVolumeUSD: BigDecimal! - totalLiquidityUSD: BigDecimal! - maxStored: Int - mostLiquidTokens( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - ): [TokenDayData!]! - txCount: BigInt! -} - -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!] - maxStored: Int - maxStored_not: Int - maxStored_gt: Int - maxStored_lt: Int - maxStored_gte: Int - maxStored_lte: Int - maxStored_in: [Int!] - maxStored_not_in: [Int!] - mostLiquidTokens: [String!] - mostLiquidTokens_not: [String!] - mostLiquidTokens_contains: [String!] - mostLiquidTokens_contains_nocase: [String!] - mostLiquidTokens_not_contains: [String!] - mostLiquidTokens_not_contains_nocase: [String!] - txCount: BigInt - txCount_not: BigInt - txCount_gt: BigInt - txCount_lt: BigInt - txCount_gte: BigInt - txCount_lte: BigInt - txCount_in: [BigInt!] - txCount_not_in: [BigInt!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum UniswapDayData_orderBy { - id - date - dailyVolumeETH - dailyVolumeUSD - dailyVolumeUntracked - totalVolumeETH - totalLiquidityETH - totalVolumeUSD - totalLiquidityUSD - maxStored - mostLiquidTokens - txCount -} - -type UniswapFactory { - id: ID! - pairCount: Int! - totalVolumeUSD: BigDecimal! - totalVolumeETH: BigDecimal! - untrackedVolumeUSD: BigDecimal! - totalLiquidityUSD: BigDecimal! - totalLiquidityETH: BigDecimal! - txCount: BigInt! - mostLiquidTokens( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - ): [TokenDayData!]! -} - -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!] - mostLiquidTokens: [String!] - mostLiquidTokens_not: [String!] - mostLiquidTokens_contains: [String!] - mostLiquidTokens_contains_nocase: [String!] - mostLiquidTokens_not_contains: [String!] - mostLiquidTokens_not_contains_nocase: [String!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum UniswapFactory_orderBy { - id - pairCount - totalVolumeUSD - totalVolumeETH - untrackedVolumeUSD - totalLiquidityUSD - totalLiquidityETH - txCount - mostLiquidTokens -} - -type User { - id: ID! - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - ): [LiquidityPosition!] - usdSwapped: BigDecimal! -} - -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!] - usdSwapped: BigDecimal - usdSwapped_not: BigDecimal - usdSwapped_gt: BigDecimal - usdSwapped_lt: BigDecimal - usdSwapped_gte: BigDecimal - usdSwapped_lte: BigDecimal - usdSwapped_in: [BigDecimal!] - usdSwapped_not_in: [BigDecimal!] - - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum User_orderBy { - id - liquidityPositions - usdSwapped -} - -type _Block_ { - """ - The hash of the block - """ - hash: Bytes - - """ - The block number - """ - number: Int! -} - -""" -The type for the top-level _meta field -""" -type _Meta_ { - "Information about a specific subgraph block. The hash of the block\nwill be null if the _meta field has a block constraint that asks for\na block number. It will be filled if the _meta field has no block constraint\nand therefore asks for the latest block\n" - block: _Block_! - - """ - The deployment ID - """ - deployment: String! - - """ - If `true`, the subgraph encountered indexing errors at some past block - """ - hasIndexingErrors: Boolean! -} - -enum _SubgraphErrorPolicy_ { - """ - Data will be returned even if the subgraph has indexing errors - """ - allow - - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny -} diff --git a/examples/transforms/.graphclient/sources/uniswap/schema.graphql b/examples/transforms/.graphclient/sources/uniswap/schema.graphql deleted file mode 100644 index 22d88580..00000000 --- a/examples/transforms/.graphclient/sources/uniswap/schema.graphql +++ /dev/null @@ -1,2851 +0,0 @@ -schema { - query: Query - subscription: Subscription -} - -"Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive." -directive @entity on OBJECT - -"Defined a Subgraph ID for an object type" -directive @subgraphId(id: String!) on OBJECT - -"creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API." -directive @derivedFrom(field: String!) on FIELD_DEFINITION - -scalar BigDecimal - -scalar BigInt - -input BlockChangedFilter { - number_gte: Int! -} - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -type Bundle { - id: ID! - ethPrice: BigDecimal! -} - -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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Bundle_orderBy { - id - ethPrice -} - -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 -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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_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_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_in: [Boolean!] - needsComplete_not_in: [Boolean!] - feeTo: Bytes - feeTo_not: 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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Burn_orderBy { - id - transaction - timestamp - pair - liquidity - sender - amount0 - amount1 - to - logIndex - amountUSD - needsComplete - feeTo - feeLiquidity -} - -scalar Bytes - -type LiquidityPosition { - id: ID! - user: User! - pair: Pair! - liquidityTokenBalance: 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! -} - -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_contains: String - liquidityPosition_contains_nocase: String - liquidityPosition_not_contains: String - liquidityPosition_not_contains_nocase: 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 - 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_contains: String - user_contains_nocase: String - user_not_contains: String - user_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum LiquidityPositionSnapshot_orderBy { - id - liquidityPosition - timestamp - block - user - pair - token0PriceUSD - token1PriceUSD - reserve0 - reserve1 - reserveUSD - liquidityTokenTotalSupply - 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_contains: String - user_contains_nocase: String - user_not_contains: String - user_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - liquidityTokenBalance: BigDecimal - liquidityTokenBalance_not: BigDecimal - liquidityTokenBalance_gt: BigDecimal - liquidityTokenBalance_lt: BigDecimal - liquidityTokenBalance_gte: BigDecimal - liquidityTokenBalance_lte: BigDecimal - liquidityTokenBalance_in: [BigDecimal!] - liquidityTokenBalance_not_in: [BigDecimal!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum LiquidityPosition_orderBy { - id - user - pair - liquidityTokenBalance -} - -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 -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - to: Bytes - to_not: 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_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_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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Mint_orderBy { - id - transaction - timestamp - pair - to - liquidity - sender - amount0 - amount1 - logIndex - amountUSD - feeTo - feeLiquidity -} - -""" -Defines the order direction, either ascending or descending -""" -enum OrderDirection { - asc - desc -} - -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! -} - -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! -} - -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_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_contains: String - token0_contains_nocase: String - token0_not_contains: String - token0_not_contains_nocase: 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 - 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_contains: String - token1_contains_nocase: String - token1_not_contains: String - token1_not_contains_nocase: 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 - 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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum PairDayData_orderBy { - id - date - pairAddress - token0 - token1 - reserve0 - reserve1 - totalSupply - reserveUSD - dailyVolumeToken0 - dailyVolumeToken1 - dailyVolumeUSD - dailyTxns -} - -type PairHourData { - id: ID! - hourStartUnix: Int! - pair: Pair! - reserve0: BigDecimal! - reserve1: BigDecimal! - reserveUSD: BigDecimal! - hourlyVolumeToken0: BigDecimal! - hourlyVolumeToken1: BigDecimal! - hourlyVolumeUSD: BigDecimal! - hourlyTxns: BigInt! -} - -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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - 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!] - 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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum PairHourData_orderBy { - id - hourStartUnix - pair - reserve0 - reserve1 - reserveUSD - hourlyVolumeToken0 - hourlyVolumeToken1 - hourlyVolumeUSD - hourlyTxns -} - -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_contains: String - token0_contains_nocase: String - token0_not_contains: String - token0_not_contains_nocase: 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 - 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_contains: String - token1_contains_nocase: String - token1_not_contains: String - token1_not_contains_nocase: 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 - 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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Pair_orderBy { - id - token0 - token1 - reserve0 - reserve1 - totalSupply - reserveETH - reserveUSD - trackedReserveETH - token0Price - token1Price - volumeToken0 - volumeToken1 - volumeUSD - untrackedVolumeUSD - txCount - createdAtTimestamp - createdAtBlockNumber - liquidityProviderCount -} - -type Query { - uniswapFactory( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapFactory - uniswapFactories( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapFactory_orderBy - orderDirection: OrderDirection - where: UniswapFactory_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapFactory!]! - token( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Token - tokens( - skip: Int = 0 - first: Int = 100 - orderBy: Token_orderBy - orderDirection: OrderDirection - where: Token_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Token!]! - pair( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Pair - pairs( - skip: Int = 0 - first: Int = 100 - orderBy: Pair_orderBy - orderDirection: OrderDirection - where: Pair_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Pair!]! - user( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): User - users( - skip: Int = 0 - first: Int = 100 - orderBy: User_orderBy - orderDirection: OrderDirection - where: User_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [User!]! - liquidityPosition( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPosition - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPosition!]! - liquidityPositionSnapshot( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPositionSnapshot - liquidityPositionSnapshots( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPositionSnapshot_orderBy - orderDirection: OrderDirection - where: LiquidityPositionSnapshot_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPositionSnapshot!]! - transaction( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transaction - transactions( - skip: Int = 0 - first: Int = 100 - orderBy: Transaction_orderBy - orderDirection: OrderDirection - where: Transaction_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transaction!]! - mint( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Mint - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Mint!]! - burn( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Burn - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Burn!]! - swap( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Swap - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Swap!]! - bundle( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Bundle - bundles( - skip: Int = 0 - first: Int = 100 - orderBy: Bundle_orderBy - orderDirection: OrderDirection - where: Bundle_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Bundle!]! - uniswapDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapDayData - uniswapDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapDayData_orderBy - orderDirection: OrderDirection - where: UniswapDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapDayData!]! - pairHourData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairHourData - pairHourDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairHourData_orderBy - orderDirection: OrderDirection - where: PairHourData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairHourData!]! - pairDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairDayData - pairDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairDayData!]! - tokenDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TokenDayData - tokenDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TokenDayData!]! - """ - Access to subgraph metadata - """ - _meta(block: Block_height): _Meta_ -} - -type Subscription { - uniswapFactory( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapFactory - uniswapFactories( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapFactory_orderBy - orderDirection: OrderDirection - where: UniswapFactory_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapFactory!]! - token( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Token - tokens( - skip: Int = 0 - first: Int = 100 - orderBy: Token_orderBy - orderDirection: OrderDirection - where: Token_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Token!]! - pair( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Pair - pairs( - skip: Int = 0 - first: Int = 100 - orderBy: Pair_orderBy - orderDirection: OrderDirection - where: Pair_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Pair!]! - user( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): User - users( - skip: Int = 0 - first: Int = 100 - orderBy: User_orderBy - orderDirection: OrderDirection - where: User_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [User!]! - liquidityPosition( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPosition - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPosition!]! - liquidityPositionSnapshot( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): LiquidityPositionSnapshot - liquidityPositionSnapshots( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPositionSnapshot_orderBy - orderDirection: OrderDirection - where: LiquidityPositionSnapshot_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [LiquidityPositionSnapshot!]! - transaction( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transaction - transactions( - skip: Int = 0 - first: Int = 100 - orderBy: Transaction_orderBy - orderDirection: OrderDirection - where: Transaction_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transaction!]! - mint( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Mint - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Mint!]! - burn( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Burn - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Burn!]! - swap( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Swap - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Swap!]! - bundle( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Bundle - bundles( - skip: Int = 0 - first: Int = 100 - orderBy: Bundle_orderBy - orderDirection: OrderDirection - where: Bundle_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Bundle!]! - uniswapDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): UniswapDayData - uniswapDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: UniswapDayData_orderBy - orderDirection: OrderDirection - where: UniswapDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [UniswapDayData!]! - pairHourData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairHourData - pairHourDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairHourData_orderBy - orderDirection: OrderDirection - where: PairHourData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairHourData!]! - pairDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PairDayData - pairDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PairDayData!]! - tokenDayData( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TokenDayData - tokenDayDatas( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TokenDayData!]! - """ - Access to subgraph metadata - """ - _meta(block: Block_height): _Meta_ -} - -type Swap { - id: ID! - transaction: Transaction! - timestamp: BigInt! - pair: Pair! - sender: Bytes! - amount0In: BigDecimal! - amount1In: BigDecimal! - amount0Out: BigDecimal! - amount1Out: BigDecimal! - to: Bytes! - logIndex: BigInt - amountUSD: BigDecimal! -} - -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_contains: String - transaction_contains_nocase: String - transaction_not_contains: String - transaction_not_contains_nocase: 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 - 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_contains: String - pair_contains_nocase: String - pair_not_contains: String - pair_not_contains_nocase: 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 - sender: Bytes - sender_not: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_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_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!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Swap_orderBy { - id - transaction - timestamp - pair - sender - amount0In - amount1In - amount0Out - amount1Out - to - logIndex - amountUSD -} - -type Token { - id: ID! - symbol: String! - name: String! - decimals: BigInt! - totalSupply: BigInt! - tradeVolume: BigDecimal! - tradeVolumeUSD: BigDecimal! - untrackedVolumeUSD: BigDecimal! - txCount: BigInt! - totalLiquidity: BigDecimal! - derivedETH: BigDecimal - mostLiquidPairs( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - ): [PairDayData]! -} - -type TokenDayData { - id: ID! - date: Int! - token: Token! - dailyVolumeToken: BigDecimal! - dailyVolumeETH: BigDecimal! - dailyVolumeUSD: BigDecimal! - dailyTxns: BigInt! - totalLiquidityToken: BigDecimal! - totalLiquidityETH: BigDecimal! - totalLiquidityUSD: BigDecimal! - priceUSD: BigDecimal! - maxStored: Int! - mostLiquidPairs( - skip: Int = 0 - first: Int = 100 - orderBy: PairDayData_orderBy - orderDirection: OrderDirection - where: PairDayData_filter - ): [PairDayData!]! -} - -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_contains: String - token_contains_nocase: String - token_not_contains: String - token_not_contains_nocase: 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 - 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!] - maxStored: Int - maxStored_not: Int - maxStored_gt: Int - maxStored_lt: Int - maxStored_gte: Int - maxStored_lte: Int - maxStored_in: [Int!] - maxStored_not_in: [Int!] - mostLiquidPairs: [String!] - mostLiquidPairs_not: [String!] - mostLiquidPairs_contains: [String!] - mostLiquidPairs_contains_nocase: [String!] - mostLiquidPairs_not_contains: [String!] - mostLiquidPairs_not_contains_nocase: [String!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum TokenDayData_orderBy { - id - date - token - dailyVolumeToken - dailyVolumeETH - dailyVolumeUSD - dailyTxns - totalLiquidityToken - totalLiquidityETH - totalLiquidityUSD - priceUSD - maxStored - mostLiquidPairs -} - -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_contains: String - symbol_contains_nocase: String - symbol_not_contains: String - symbol_not_contains_nocase: 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 - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - 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!] - mostLiquidPairs: [String!] - mostLiquidPairs_not: [String!] - mostLiquidPairs_contains: [String!] - mostLiquidPairs_contains_nocase: [String!] - mostLiquidPairs_not_contains: [String!] - mostLiquidPairs_not_contains_nocase: [String!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Token_orderBy { - id - symbol - name - decimals - totalSupply - tradeVolume - tradeVolumeUSD - untrackedVolumeUSD - txCount - totalLiquidity - derivedETH - mostLiquidPairs -} - -type Transaction { - id: ID! - blockNumber: BigInt! - timestamp: BigInt! - mints( - skip: Int = 0 - first: Int = 100 - orderBy: Mint_orderBy - orderDirection: OrderDirection - where: Mint_filter - ): [Mint]! - burns( - skip: Int = 0 - first: Int = 100 - orderBy: Burn_orderBy - orderDirection: OrderDirection - where: Burn_filter - ): [Burn]! - swaps( - skip: Int = 0 - first: Int = 100 - orderBy: Swap_orderBy - orderDirection: OrderDirection - where: Swap_filter - ): [Swap]! -} - -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_contains_nocase: [String!] - mints_not_contains: [String!] - mints_not_contains_nocase: [String!] - burns: [String!] - burns_not: [String!] - burns_contains: [String!] - burns_contains_nocase: [String!] - burns_not_contains: [String!] - burns_not_contains_nocase: [String!] - swaps: [String!] - swaps_not: [String!] - swaps_contains: [String!] - swaps_contains_nocase: [String!] - swaps_not_contains: [String!] - swaps_not_contains_nocase: [String!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum Transaction_orderBy { - id - blockNumber - timestamp - mints - burns - swaps -} - -type UniswapDayData { - id: ID! - date: Int! - dailyVolumeETH: BigDecimal! - dailyVolumeUSD: BigDecimal! - dailyVolumeUntracked: BigDecimal! - totalVolumeETH: BigDecimal! - totalLiquidityETH: BigDecimal! - totalVolumeUSD: BigDecimal! - totalLiquidityUSD: BigDecimal! - maxStored: Int - mostLiquidTokens( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - ): [TokenDayData!]! - txCount: BigInt! -} - -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!] - maxStored: Int - maxStored_not: Int - maxStored_gt: Int - maxStored_lt: Int - maxStored_gte: Int - maxStored_lte: Int - maxStored_in: [Int!] - maxStored_not_in: [Int!] - mostLiquidTokens: [String!] - mostLiquidTokens_not: [String!] - mostLiquidTokens_contains: [String!] - mostLiquidTokens_contains_nocase: [String!] - mostLiquidTokens_not_contains: [String!] - mostLiquidTokens_not_contains_nocase: [String!] - txCount: BigInt - txCount_not: BigInt - txCount_gt: BigInt - txCount_lt: BigInt - txCount_gte: BigInt - txCount_lte: BigInt - txCount_in: [BigInt!] - txCount_not_in: [BigInt!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum UniswapDayData_orderBy { - id - date - dailyVolumeETH - dailyVolumeUSD - dailyVolumeUntracked - totalVolumeETH - totalLiquidityETH - totalVolumeUSD - totalLiquidityUSD - maxStored - mostLiquidTokens - txCount -} - -type UniswapFactory { - id: ID! - pairCount: Int! - totalVolumeUSD: BigDecimal! - totalVolumeETH: BigDecimal! - untrackedVolumeUSD: BigDecimal! - totalLiquidityUSD: BigDecimal! - totalLiquidityETH: BigDecimal! - txCount: BigInt! - mostLiquidTokens( - skip: Int = 0 - first: Int = 100 - orderBy: TokenDayData_orderBy - orderDirection: OrderDirection - where: TokenDayData_filter - ): [TokenDayData!]! -} - -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!] - mostLiquidTokens: [String!] - mostLiquidTokens_not: [String!] - mostLiquidTokens_contains: [String!] - mostLiquidTokens_contains_nocase: [String!] - mostLiquidTokens_not_contains: [String!] - mostLiquidTokens_not_contains_nocase: [String!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum UniswapFactory_orderBy { - id - pairCount - totalVolumeUSD - totalVolumeETH - untrackedVolumeUSD - totalLiquidityUSD - totalLiquidityETH - txCount - mostLiquidTokens -} - -type User { - id: ID! - liquidityPositions( - skip: Int = 0 - first: Int = 100 - orderBy: LiquidityPosition_orderBy - orderDirection: OrderDirection - where: LiquidityPosition_filter - ): [LiquidityPosition!] - usdSwapped: BigDecimal! -} - -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!] - usdSwapped: BigDecimal - usdSwapped_not: BigDecimal - usdSwapped_gt: BigDecimal - usdSwapped_lt: BigDecimal - usdSwapped_gte: BigDecimal - usdSwapped_lte: BigDecimal - usdSwapped_in: [BigDecimal!] - usdSwapped_not_in: [BigDecimal!] - """ - Filter for the block changed event. - """ - _change_block: BlockChangedFilter -} - -enum User_orderBy { - id - liquidityPositions - usdSwapped -} - -type _Block_ { - """ - The hash of the block - """ - hash: Bytes - """ - The block number - """ - number: Int! -} - -""" -The type for the top-level _meta field -""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - """ - block: _Block_! - """ - The deployment ID - """ - deployment: String! - """ - If `true`, the subgraph encountered indexing errors at some past block - """ - hasIndexingErrors: Boolean! -} - -enum _SubgraphErrorPolicy_ { - """ - Data will be returned even if the subgraph has indexing errors - """ - allow - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny -}