From 1435b2a195021437f74ea1a8672193383c73c5a3 Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 3 Jun 2024 08:25:50 -0700 Subject: [PATCH 01/19] feat: app balances --- app/src/routes/balance/+page.svelte | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/src/routes/balance/+page.svelte diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte new file mode 100644 index 0000000000..7a24a46dc9 --- /dev/null +++ b/app/src/routes/balance/+page.svelte @@ -0,0 +1,17 @@ + + +
+
{JSON.stringify(data, undefined, 2)}
+
From 0acc7c64450a6fb12f10d076f082e16af11ed6f3 Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 3 Jun 2024 08:26:56 -0700 Subject: [PATCH 02/19] chore: cleanup --- app/src/routes/balance/+page.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte index 7a24a46dc9..1ecbc2f149 100644 --- a/app/src/routes/balance/+page.svelte +++ b/app/src/routes/balance/+page.svelte @@ -1,7 +1,6 @@
-
{JSON.stringify(data, undefined, 2)}
+
{JSON.stringify(data1, undefined, 2)}
+
{JSON.stringify(data2, undefined, 2)}
From f7a7d4061f8571919acd81d6d108af94dfdf02e2 Mon Sep 17 00:00:00 2001 From: cor Date: Wed, 5 Jun 2024 21:13:45 +0200 Subject: [PATCH 04/19] feat(app): reactive balance querying and error state handling --- app/src/lib/queries/balance.ts | 16 ++++---- app/src/routes/balance/+page.svelte | 58 +++++++++++++++++++++-------- 2 files changed, 49 insertions(+), 25 deletions(-) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index b2d11c04fc..65c7f665f0 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -63,9 +63,10 @@ export function evmBalancesQuery({ chainId: string } & ({ contractAddresses: Array } | { tokenSpecification: "erc20" | "DEFAULT_TOKENS" })) { return createQuery({ - queryKey: [address, "balances", chainId], + queryKey: ["balances", chainId, address], enabled: isValidEvmAddress(address), refetchOnWindowFocus: false, + refetchInterval: 1_000, queryFn: async () => { const assetsToCheck = "contractAddresses" in restParams && Array.isArray(restParams.contractAddresses) @@ -85,17 +86,14 @@ export function evmBalancesQuery({ }) }) const result = v.safeParse(evmBalancesResponseSchema, await response.json()) - if (!result.success) return null + if (!result.success) return new Error(`Error parsing result ${JSON.stringify(result.issues)}`); const tokensInfo = await getEvmTokensInfo( result.output.result.tokenBalances.map(({ contractAddress }) => contractAddress) ) return tokensInfo.map((token, index) => ({ ...token, - balance: formatUnits( - BigInt(result.output.result.tokenBalances[index].tokenBalance), - token.decimals - ) + balance: BigInt(result.output.result.tokenBalances[index].tokenBalance) })) } }) @@ -109,15 +107,15 @@ export function cosmosBalancesQuery({ chainId: string }) { return createQuery({ - queryKey: [address, "balances", chainId], + queryKey: ["balances", chainId, address], enabled: isValidCosmosAddress(address), refetchOnWindowFocus: false, queryFn: async () => { const restUrl = CHAIN_URLS[chainId].REST const response = await fetch( `${restUrl}/cosmos/bank/v1beta1/balances/${address}`, - ) - if (!response.ok) return [] + {}); + if (!response.ok) return new Error("invalid response"); return (await response.json()).balances.map((x) => { return { address: x.denom, diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte index 1aa2ba4f26..49f0ffd793 100644 --- a/app/src/routes/balance/+page.svelte +++ b/app/src/routes/balance/+page.svelte @@ -1,27 +1,53 @@ -
-
{JSON.stringify(data1, undefined, 2)}
-
{JSON.stringify(data2, undefined, 2)}
-
+ +
+

Sepolia

+ {#if $evmBalances} + {#if $evmBalances.isLoading} + Loading... + {:else if $evmBalances.isError} + {$evmBalances.error.message} + {:else if $evmBalances.isSuccess} +
{JSON.stringify($evmBalances.data, null, 2)}
+ {/if} + {:else} +

Connect your EVM wallet to continue

+ {/if} + +
+ + +
+

Cosmos

+ {#if $cosmosBalances} + {#if $cosmosBalances.isLoading} + Loading... + {:else if $cosmosBalances.isError} + {$cosmosBalances.error.message} + {:else if $cosmosBalances.isSuccess} +
{JSON.stringify($cosmosBalances.data)}
+ {/if} + {:else} +

Connect your cosmos wallet to continue

+ {/if} +
+ From 8ecf635abd35d282875064d3a90cfbc277e4a1d2 Mon Sep 17 00:00:00 2001 From: cor Date: Wed, 5 Jun 2024 22:11:10 +0200 Subject: [PATCH 05/19] feat(app): summarize long strings --- app/src/lib/queries/balance.ts | 2 +- app/src/lib/utilities/format.ts | 12 ++++++++++++ app/src/routes/balance/+page.svelte | 7 ++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index 65c7f665f0..288968007d 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -86,7 +86,7 @@ export function evmBalancesQuery({ }) }) const result = v.safeParse(evmBalancesResponseSchema, await response.json()) - if (!result.success) return new Error(`Error parsing result ${JSON.stringify(result.issues)}`); + if (!result.success) throw new Error(`Error parsing result ${JSON.stringify(result.issues)}`); const tokensInfo = await getEvmTokensInfo( result.output.result.tokenBalances.map(({ contractAddress }) => contractAddress) diff --git a/app/src/lib/utilities/format.ts b/app/src/lib/utilities/format.ts index 70e10f2a98..fbe616530a 100644 --- a/app/src/lib/utilities/format.ts +++ b/app/src/lib/utilities/format.ts @@ -65,3 +65,15 @@ export function urlSearchParams( ) as Record ) } + +export function summarizeString(str: string, show: number): string { + // Don't summarize short strings + if (str.length < show*2+2) return str; + + // Extract the first 6 characters and the last 6 characters + const firstPart: string = str.slice(0, show); + const lastPart: string = str.slice(-show); + + // Return the summarized string with the ellipsis character in-between + return `${firstPart}\u2026${lastPart}`; +} diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte index 49f0ffd793..ea42b9f72f 100644 --- a/app/src/routes/balance/+page.svelte +++ b/app/src/routes/balance/+page.svelte @@ -2,6 +2,7 @@ import { cosmosBalancesQuery, evmBalancesQuery } from '$lib/queries/balance' import { sepoliaStore } from "$lib/wallet/evm/config.ts" import { cosmosStore } from "$lib/wallet/cosmos" + import { summarizeString } from '$lib/utilities/format'; let evmBalances: null | ReturnType; $: if($sepoliaStore.address) evmBalances = evmBalancesQuery({ @@ -27,7 +28,11 @@ {:else if $evmBalances.isError} {$evmBalances.error.message} {:else if $evmBalances.isSuccess} -
{JSON.stringify($evmBalances.data, null, 2)}
+
+ {#each $evmBalances.data as asset} +
{summarizeString(asset.symbol, 4)} | {asset.balance}
+ {/each} +
{/if} {:else}

Connect your EVM wallet to continue

From 8a5fd778b2013aa73f0cc2f626da6730588a8a35 Mon Sep 17 00:00:00 2001 From: cor Date: Wed, 5 Jun 2024 22:18:33 +0200 Subject: [PATCH 06/19] fix(app): move alpha notice to component since we are now behind a login --- app/src/lib/components/alpha-notice.svelte | 13 +++++++++++++ app/src/routes/+page.svelte | 10 +--------- 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 app/src/lib/components/alpha-notice.svelte diff --git a/app/src/lib/components/alpha-notice.svelte b/app/src/lib/components/alpha-notice.svelte new file mode 100644 index 0000000000..16a0947b7f --- /dev/null +++ b/app/src/lib/components/alpha-notice.svelte @@ -0,0 +1,13 @@ + + + + + Union App Alpha + + +

Congratulations on finding the Union App Alpha.

+

This App is unfinished and not meant for public use. However, feel free to click around to see what we are working on.

+
+
diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 8cbde72827..a2dc83a4f6 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -3,13 +3,5 @@ import * as Card from "$lib/components/ui/card/index.ts"
- - - Union App Alpha - - -

Congratulations on finding the Union App Alpha.

-

This App is unfinished and not meant for public use. However, feel free to click around to see what we are working on.

-
-
+
From 7d83e8c75623700c359aa3d0a2d2b01d506ad901 Mon Sep 17 00:00:00 2001 From: cor Date: Thu, 6 Jun 2024 20:34:17 +0200 Subject: [PATCH 07/19] fix(app): working balances query for evm --- app/src/lib/graphql/documents/transfers.ts | 20 +++++++++++ app/src/lib/queries/balance.ts | 39 ++++++++++++++-------- app/src/routes/+page.svelte | 28 ++++++++++++++++ app/src/routes/balance/+page.svelte | 4 +-- 4 files changed, 75 insertions(+), 16 deletions(-) create mode 100644 app/src/lib/graphql/documents/transfers.ts diff --git a/app/src/lib/graphql/documents/transfers.ts b/app/src/lib/graphql/documents/transfers.ts new file mode 100644 index 0000000000..f3d9eaaa76 --- /dev/null +++ b/app/src/lib/graphql/documents/transfers.ts @@ -0,0 +1,20 @@ +import { graphql } from "gql.tada" + +export const transfersQuery = graphql(/* GraphQL */ ` +query PacketsQuery($limit: Int = 100) { + v0_packets(limit: $limit, order_by: {destination_time: desc_nulls_last, source_time: desc_nulls_last}) { + from_chain_id + from_channel_id + source_port + source_block_hash + source_time + to_chain_id + to_channel_id + to_port_id + destination_block_hash + destination_time + source_data + status + } +} +`) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index 288968007d..57cc1a967c 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -7,6 +7,7 @@ import { createQuery } from "@tanstack/svelte-query" import type { ChainId } from "$/lib/constants/assets.ts" import { isValidEvmAddress } from "$lib/wallet/utilities/validate" import { isValidCosmosAddress } from "$lib/wallet/utilities/validate"; +import { raise } from "$lib/utilities/index.ts"; /** * TODO: @@ -66,7 +67,7 @@ export function evmBalancesQuery({ queryKey: ["balances", chainId, address], enabled: isValidEvmAddress(address), refetchOnWindowFocus: false, - refetchInterval: 1_000, + refetchInterval: 10_000, queryFn: async () => { const assetsToCheck = "contractAddresses" in restParams && Array.isArray(restParams.contractAddresses) @@ -75,18 +76,30 @@ export function evmBalancesQuery({ ["erc20", "DEFAULT_TOKENS"].includes(restParams.tokenSpecification) ? restParams.tokenSpecification // if tokenSpecification is a string, use it : "DEFAULT_TOKENS" - console.log(address, assetsToCheck) - const response = await fetch(`https://eth-sepolia.g.alchemy.com/v2/${KEY.RPC.ALCHEMY}`, { - method: "POST", - body: JSON.stringify({ - id: 1, - jsonrpc: "2.0", - method: "alchemy_getTokenBalances", - params: [address, assetsToCheck] - }) - }) - const result = v.safeParse(evmBalancesResponseSchema, await response.json()) - if (!result.success) throw new Error(`Error parsing result ${JSON.stringify(result.issues)}`); + + let json: undefined | unknown; + + try { + const response = await fetch(`https://eth-sepolia.g.alchemy.com/v2/${KEY.RPC.ALCHEMY}`, { + method: "POST", + body: JSON.stringify({ + id: 1, + jsonrpc: "2.0", + method: "alchemy_getTokenBalances", + params: [address, assetsToCheck] + }) + }); + if (!response.ok) raise("error fetching from alchemy: non-200 status"); + json = await response.json(); + } catch(err) { + if (err instanceof Error) { + raise(`error fetching from alchemy: ${err.message}`); + } + raise(`unknown error while fetching from alchemy: ${JSON.stringify(err)}`); + } + const result = v.safeParse(evmBalancesResponseSchema, json) + + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); const tokensInfo = await getEvmTokensInfo( result.output.result.tokenBalances.map(({ contractAddress }) => contractAddress) diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index a2dc83a4f6..419ac88dcd 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,7 +1,35 @@
+ + + Welcome to Union + + +

Connect an EVM and Cosmos wallet to begin bridging.

+ +
+ {#if $sepoliaStore.address } + ✅ EVM wallet {summarizeString($sepoliaStore.address, 6)} connected + {:else} + Connect EVM wallet + {/if} +
+
+ {#if $cosmosStore.address } + ✅Cosmos wallet connected + {:else} + Connect cosmos wallet + {/if} +
+
+
diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte index ea42b9f72f..b1d9b98f4c 100644 --- a/app/src/routes/balance/+page.svelte +++ b/app/src/routes/balance/+page.svelte @@ -16,7 +16,6 @@ chainId: 'union-testnet-8', address: $cosmosStore.address }) - @@ -26,7 +25,7 @@ {#if $evmBalances.isLoading} Loading... {:else if $evmBalances.isError} - {$evmBalances.error.message} + Error: {$evmBalances.error.message} {:else if $evmBalances.isSuccess}
{#each $evmBalances.data as asset} @@ -37,7 +36,6 @@ {:else}

Connect your EVM wallet to continue

{/if} -
From 3b144a0e69b2dbc54af7af9ae623314aba7e0339 Mon Sep 17 00:00:00 2001 From: cor Date: Thu, 6 Jun 2024 22:15:43 +0200 Subject: [PATCH 08/19] feat(app): working balances queries on start page --- app/app.nix | 2 +- app/package-lock.json | 192 ++++++++++++++-------------- app/package.json | 40 +++--- app/src/lib/queries/balance.ts | 55 +++++--- app/src/routes/+page.svelte | 79 ++++++++++-- app/src/routes/balance/+page.svelte | 6 +- app/src/routes/faucet/schema.ts | 8 +- 7 files changed, 239 insertions(+), 143 deletions(-) diff --git a/app/app.nix b/app/app.nix index 43f91ad6a6..b80a2dc686 100644 --- a/app/app.nix +++ b/app/app.nix @@ -9,7 +9,7 @@ { packages = { app = unstablePkgs.buildNpmPackage { - npmDepsHash = "sha256-P5e1Phv2SiSg7ferB3H4+e/6Szw6XfEF1yKVxp+e864="; + npmDepsHash = "sha256-JJH1vqXzv7IYw2SEVJFqHydvlGXdtPvfb/PazNsZqv4="; src = ./.; sourceRoot = "app"; npmFlags = [ "--legacy-peer-deps" ]; diff --git a/app/package-lock.json b/app/package-lock.json index 7923cb8dd3..a8524b61ef 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -15,12 +15,12 @@ "@leapwallet/cosmos-snap-provider": "^0.1.26", "@tanstack/match-sorter-utils": "^8.15.1", "@tanstack/query-sync-storage-persister": "^5.40.0", - "@tanstack/svelte-query": "^5.40.0", - "@tanstack/svelte-query-persist-client": "^5.40.0", + "@tanstack/svelte-query": "^5.40.1", + "@tanstack/svelte-query-persist-client": "^5.40.1", "@tanstack/svelte-table": "^8.17.3", - "@tanstack/svelte-virtual": "^3.5.0", - "@union/client": "npm:@jsr/union__client@^0.0.1-rc.10", - "@wagmi/connectors": "^5.0.7", + "@tanstack/svelte-virtual": "^3.5.1", + "@union/client": "npm:@jsr/union__client@^0.0.1-rc.17", + "@wagmi/connectors": "^5.0.8", "@wagmi/core": "^2.10.5", "bits-ui": "^0.21.10", "cmdk-sv": "^0.0.17", @@ -31,27 +31,27 @@ "paneforge": "^0.0.4", "svelte-french-toast": "^1.2.0", "svelte-legos": "^0.2.3", - "svelte-persisted-store": "^0.9.4", + "svelte-persisted-store": "^0.11.0", "svelte-radix": "^1.1.0", - "svelte-ux": "^0.65.0", + "svelte-ux": "^0.66.5", "sveltekit-superforms": "^2.14.0", "uint8array-extras": "^1.1.0", - "valibot": "^0.30.0", + "valibot": "^0.31.0", "vaul-svelte": "^0.3.1", - "viem": "^2.13.1" + "viem": "^2.13.7" }, "devDependencies": { "@0no-co/graphqlsp": "^1.12.5", "@cosmjs/tendermint-rpc": "0.32.3", "@iconify-json/fa6-solid": "^1.1.21", - "@iconify-json/logos": "^1.1.42", - "@iconify-json/lucide": "^1.1.188", + "@iconify-json/logos": "^1.1.43", + "@iconify-json/lucide": "^1.1.190", "@iconify-json/mdi": "^1.1.66", "@iconify-json/tabler": "^1.1.113", - "@keplr-wallet/types": "^0.12.96", + "@keplr-wallet/types": "^0.12.98", "@leapwallet/types": "^0.0.5", "@melt-ui/pp": "^0.3.2", - "@melt-ui/svelte": "^0.80.0", + "@melt-ui/svelte": "^0.81.0", "@svelte-put/shortcut": "^3.1.1", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.5.10", @@ -60,14 +60,14 @@ "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.13", - "@tanstack/svelte-query-devtools": "^5.40.0", + "@tanstack/svelte-query-devtools": "^5.40.1", "@total-typescript/ts-reset": "^0.5.1", - "@types/node": "^20.12.13", + "@types/node": "^20.14.2", "@types/postcss-import": "^14.0.3", "autoprefixer": "^10.4.19", "buffer": "^6.0.3", "clsx": "^2.1.1", - "fluid-tailwind": "^0.3.8", + "fluid-tailwind": "^0.3.9", "graphql": "^16.8.1", "jsr": "^0.12.4", "patch-package": "^8.0.0", @@ -75,7 +75,7 @@ "postcss-import": "^16.1.0", "process": "^0.11.10", "rollup-plugin-visualizer": "^5.12.0", - "svelte": "^4.2.17", + "svelte": "^4.2.18", "svelte-check": "^3.8.0", "svelte-preprocess": "^5.1.4", "sveltekit-flash-message": "^2.4.4", @@ -84,10 +84,10 @@ "tailwind-merge": "^2.3.0", "tailwind-scrollbar": "^3.1.0", "tailwind-variants": "^0.2.1", - "tailwindcss": "^3.4.3", + "tailwindcss": "^3.4.4", "tailwindcss-animate": "^1.0.7", - "tslib": "^2.6.2", - "tsx": "^4.11.0", + "tslib": "^2.6.3", + "tsx": "^4.12.0", "typed-query-selector": "^2.11.2", "typescript": "^5.4.5", "unplugin-icons": "^0.19.0", @@ -223,9 +223,9 @@ } }, "node_modules/@coinbase/wallet-sdk": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.2.tgz", - "integrity": "sha512-WMUeFbtS0rn8zavjAmNhFWq1r3TV7E5KuSij1Sar0/XuOC+nhj96uqSlIApAHdhuScoKZBq39VYsAQCHzOC6/w==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.0.3.tgz", + "integrity": "sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q==", "dependencies": { "buffer": "^6.0.3", "clsx": "^1.2.1", @@ -1015,18 +1015,18 @@ } }, "node_modules/@iconify-json/logos": { - "version": "1.1.42", - "resolved": "https://registry.npmjs.org/@iconify-json/logos/-/logos-1.1.42.tgz", - "integrity": "sha512-/f+frtPm3m3Z30oy8Pk+QqRDkbmAiIaWGPl5CmsCXm15MVfvw9a/V/gD7WzdyuSGAZcFuQaqbHXj92y/n+2ifg==", + "version": "1.1.43", + "resolved": "https://registry.npmjs.org/@iconify-json/logos/-/logos-1.1.43.tgz", + "integrity": "sha512-UtvL1yDHUr9dl1Tqihh6K9m5dmbYKOYyLf3i9aKhymSW76QjOCGjpgQc0PQ4GJCAdU1cAMu+WO61TgPxdonrlg==", "dev": true, "dependencies": { "@iconify/types": "*" } }, "node_modules/@iconify-json/lucide": { - "version": "1.1.188", - "resolved": "https://registry.npmjs.org/@iconify-json/lucide/-/lucide-1.1.188.tgz", - "integrity": "sha512-yJNoU7vX11OvdeSKBiAvmbk/etAq2HPCZQkZX1U687NZhn8dTfx1PfyNhPxtJilrd288XGDKK+NQgygcZ+Ho4g==", + "version": "1.1.190", + "resolved": "https://registry.npmjs.org/@iconify-json/lucide/-/lucide-1.1.190.tgz", + "integrity": "sha512-v5tTpGbApIdTYdGU+FgAZHYuzFRiJTsu9lSuLtEaSk/IeLzheexof61Ti5nKuNDSVfr6JKA+SJNJ0P1bdG8Z0w==", "dev": true, "dependencies": { "@iconify/types": "*" @@ -1415,9 +1415,9 @@ } }, "node_modules/@keplr-wallet/types": { - "version": "0.12.96", - "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.96.tgz", - "integrity": "sha512-tr4tPjMrJCsfRXXhhmqnpb9DqH9auJp3uuj8SvDB3pQTTaYJNxkdonLv1tYmXZZ6J9oWtk9WVEDTVgBQN/wisw==", + "version": "0.12.98", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.98.tgz", + "integrity": "sha512-585+fJQ91mIOUmZKduqDutX0OHgX0EyjTF+AWhAiynFiUvJrcAtVVXM/FWC5/iAXC+R2g+ZtDFUAdESEjG0ArA==", "dev": true, "dependencies": { "long": "^4.0.0" @@ -1478,9 +1478,9 @@ } }, "node_modules/@melt-ui/svelte": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@melt-ui/svelte/-/svelte-0.80.0.tgz", - "integrity": "sha512-E7+6xl+xxKY3/Yf8GpTjCZjNBQkZCrqsd/bmJ0rUrwT2zrBX8FqD6IKJ9j1HkyQHIoU4sQcYBfMy7CTqIXKztQ==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@melt-ui/svelte/-/svelte-0.81.0.tgz", + "integrity": "sha512-QWVy+kVp8CZ+ph4W780PI6rPBa3MJIUFH/E1EHYfI05QloOGVBXtrI9MlzQSIrGYtGgSGQoTbh8cPO+YtkNAwg==", "dev": true, "dependencies": { "@floating-ui/core": "^1.3.1", @@ -1491,7 +1491,7 @@ "nanoid": "^5.0.4" }, "peerDependencies": { - "svelte": ">=3 <=5" + "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0-next.118" } }, "node_modules/@metamask/eth-json-rpc-provider": { @@ -3137,9 +3137,9 @@ } }, "node_modules/@tanstack/svelte-query": { - "version": "5.40.0", - "resolved": "https://registry.npmjs.org/@tanstack/svelte-query/-/svelte-query-5.40.0.tgz", - "integrity": "sha512-pxwIGx+UqkGDIqnZy8v7SBKeWZEZu6NLz8NS5FSJftOq/jV4A2xLLvyHUlxodNCNsn9YM6dFB2R3fQySoPzGbw==", + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@tanstack/svelte-query/-/svelte-query-5.40.1.tgz", + "integrity": "sha512-47pBMk03eKErHJTU0UpHTRvY15FkbI6sHkEnbKy7pHLHDVHWWVftSAnI5HDoiVBfE4SxSCkxkGDB6nyaW5V5dQ==", "dependencies": { "@tanstack/query-core": "5.40.0" }, @@ -3152,9 +3152,9 @@ } }, "node_modules/@tanstack/svelte-query-devtools": { - "version": "5.40.0", - "resolved": "https://registry.npmjs.org/@tanstack/svelte-query-devtools/-/svelte-query-devtools-5.40.0.tgz", - "integrity": "sha512-3/HSytzg+vqYptpN/I0utPlbsfjsfFLY7wcJTKBfXBCasgqucDSe0XLIQjyx/AkaI74C7HpwSRguaUpEgA39gg==", + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@tanstack/svelte-query-devtools/-/svelte-query-devtools-5.40.1.tgz", + "integrity": "sha512-3Kk+II9MaS7/WceBbKdtR22oWbEJtGE1H0acJQ5DZLHCdb8Zag3YoXNP7yOVBI8Y6HGrVVNhKqnslKj9+4PIAA==", "dev": true, "dependencies": { "@tanstack/query-devtools": "5.37.1", @@ -3165,14 +3165,14 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/svelte-query": "^5.40.0", + "@tanstack/svelte-query": "^5.40.1", "svelte": "^3.54.0 || ^4.0.0 || ^5.0.0-next.0" } }, "node_modules/@tanstack/svelte-query-persist-client": { - "version": "5.40.0", - "resolved": "https://registry.npmjs.org/@tanstack/svelte-query-persist-client/-/svelte-query-persist-client-5.40.0.tgz", - "integrity": "sha512-W4qyz3bsvfzv+YMHTJ6SySVAhd0gjDWygMvCzezEXZxCfxV/mGHSIY/9SArOQfE6sRvK3OCGGMtJ3ypQF5thng==", + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@tanstack/svelte-query-persist-client/-/svelte-query-persist-client-5.40.1.tgz", + "integrity": "sha512-2fdyjsGyUPfXiPlmV70xvCf4mNValgpCY8oS7uEg4pVkH+VyCLaFYQKWkRerDcg55eY7E21LzClZk2I/ugO0ew==", "dependencies": { "@tanstack/query-persist-client-core": "5.40.0" }, @@ -3181,7 +3181,7 @@ "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "@tanstack/svelte-query": "^5.40.0", + "@tanstack/svelte-query": "^5.40.1", "svelte": "^3.54.0 || ^4.0.0 || ^5.0.0-next.0" } }, @@ -3204,11 +3204,11 @@ } }, "node_modules/@tanstack/svelte-virtual": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@tanstack/svelte-virtual/-/svelte-virtual-3.5.0.tgz", - "integrity": "sha512-9fgqDeYV+5WBv/jar67Oy5Ddg3kbz43dPRHrIRk/dE9QinI4aCnWwM8VrjK7DDcw9zWAyj6BVC3miLMwyLNbAw==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@tanstack/svelte-virtual/-/svelte-virtual-3.5.1.tgz", + "integrity": "sha512-QQ0W+CZL6rX0zRiu3yL3+b9LLMbaKWU1jcd+vU/jpglaQC9R0AWPn5fBURLkLURFkIslFbA/i5mz0lF5RQ05FQ==", "dependencies": { - "@tanstack/virtual-core": "3.5.0" + "@tanstack/virtual-core": "3.5.1" }, "funding": { "type": "github", @@ -3231,9 +3231,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.5.0.tgz", - "integrity": "sha512-KnPRCkQTyqhanNC0K63GBG3wA8I+D1fQuVnAvcBF8f13akOKeQp1gSbu6f77zCxhEk727iV5oQnbHLYzHrECLg==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.5.1.tgz", + "integrity": "sha512-046+AUSiDru/V9pajE1du8WayvBKeCvJ2NmKPy/mR8/SbKKrqmSbj7LJBfXE+nSq4f5TBXvnCzu0kcYebI9WdQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" @@ -3280,9 +3280,9 @@ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" }, "node_modules/@types/node": { - "version": "20.12.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.13.tgz", - "integrity": "sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==", + "version": "20.14.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", + "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", "dependencies": { "undici-types": "~5.26.4" } @@ -3330,9 +3330,9 @@ }, "node_modules/@union/client": { "name": "@jsr/union__client", - "version": "0.0.1-rc.10", - "resolved": "https://npm.jsr.io/~/11/@jsr/union__client/0.0.1-rc.10.tgz", - "integrity": "sha512-O/LbIYU0ZfpuFtSDR3EoEXJSvKsVPb8XQ8qwRytUr4y5MME067RXS5rxPmX4QahHkUNoFR2Ldwgkp7qz/WOSJw==", + "version": "0.0.1-rc.17", + "resolved": "https://npm.jsr.io/~/11/@jsr/union__client/0.0.1-rc.17.tgz", + "integrity": "sha512-jgjq0LqVPPtrdjBp/veFJDMEZbwDomC8XsONgynJh/nWYxlRfF1etf+Lo6JWTNI+Fi6gE56TKM3tB8i/FR3IJA==", "dependencies": { "@cosmjs/cosmwasm-stargate": "0.32.3", "@cosmjs/encoding": "^0.32.3", @@ -3341,7 +3341,7 @@ "@cosmjs/tendermint-rpc": "0.32.3", "@scure/base": "^1.1.6", "cosmjs-types": "^0.9.0", - "viem": "^2.13.1" + "viem": "^2.13.3" } }, "node_modules/@vinejs/compiler": { @@ -3511,11 +3511,11 @@ "integrity": "sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==" }, "node_modules/@wagmi/connectors": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-5.0.7.tgz", - "integrity": "sha512-EoTtRKnUPhKpU/LFU7LU4iK8yNU/akU5vSgX+K21QXHi8ImhEEsd2nPEU5kfkWriGf+D/raD4gLZYsfppDRUaw==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-5.0.8.tgz", + "integrity": "sha512-UaX9mPnpEXI9pcE6aaIuP58uin+f9PdszEkCgU59+rHzGlo/gEIbiT6WqVmJagb61Ge/fRSAc38TIDXVpyg+/Q==", "dependencies": { - "@coinbase/wallet-sdk": "4.0.2", + "@coinbase/wallet-sdk": "4.0.3", "@metamask/sdk": "0.20.3", "@safe-global/safe-apps-provider": "0.18.1", "@safe-global/safe-apps-sdk": "8.1.0", @@ -5606,9 +5606,9 @@ } }, "node_modules/fluid-tailwind": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/fluid-tailwind/-/fluid-tailwind-0.3.8.tgz", - "integrity": "sha512-+lH3eWW9QkFOJBprPo4tr7JZpw7lE94q3oFj0XOG9W84N+pMBiPuf0TTo4ulVKLzOTAQDAWFmhqhJnCIdMG+KA==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/fluid-tailwind/-/fluid-tailwind-0.3.9.tgz", + "integrity": "sha512-qU4plbj1lk6ytQgsoxCJy8xvZ8FghDuzIDBVoM9kFd7hUwW2XnJtDp3MONvoZWLYHKIT6DmQKVnNL3zRlO7BHg==", "dev": true, "dependencies": { "filter-obj": "^5.1.0", @@ -9152,9 +9152,9 @@ } }, "node_modules/svelte": { - "version": "4.2.17", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.17.tgz", - "integrity": "sha512-N7m1YnoXtRf5wya5Gyx3TWuTddI4nAyayyIWFojiWV5IayDYNV5i2mRp/7qNGol4DtxEYxljmrbgp1HM6hUbmQ==", + "version": "4.2.18", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.18.tgz", + "integrity": "sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==", "dependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", @@ -9234,9 +9234,9 @@ } }, "node_modules/svelte-persisted-store": { - "version": "0.9.4", - "resolved": "https://registry.npmjs.org/svelte-persisted-store/-/svelte-persisted-store-0.9.4.tgz", - "integrity": "sha512-Em3cDSsd3fAkQhvNc4+V7ZT86GnIkFrlcKK/oNSHFhF5fbNoavdxvtTZ0pCF2ueG/Oqg5kSbAFxn0rkeICpHUA==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/svelte-persisted-store/-/svelte-persisted-store-0.11.0.tgz", + "integrity": "sha512-9RgJ5DrawGyyfK22A80cfu8Jose3CV8YjEZKz9Tn94rQ0tWyEmYr+XI+wrVF6wjRbW99JMDSVcFRiM3XzVJj/w==", "engines": { "node": ">=0.14" }, @@ -9314,9 +9314,9 @@ } }, "node_modules/svelte-ux": { - "version": "0.65.0", - "resolved": "https://registry.npmjs.org/svelte-ux/-/svelte-ux-0.65.0.tgz", - "integrity": "sha512-H1wTxsaFOfl7r/3LEdEVfj9qpXu8/RiMAvRuc2yKhCdiB0mNfiCNBNAt3q3DUQZSlTuEQcL/ZAi+hSqmts5gbw==", + "version": "0.66.5", + "resolved": "https://registry.npmjs.org/svelte-ux/-/svelte-ux-0.66.5.tgz", + "integrity": "sha512-eg0kXEQY/jenh+LQRe38wyQOw4NHGvqPyhUYhdpiOKlDOgulm0mQ1QiIFiKLFe98TUeVU8OpJPfoET/fcFA+PQ==", "dependencies": { "@floating-ui/dom": "^1.6.5", "@fortawesome/fontawesome-common-types": "^6.5.2", @@ -9336,7 +9336,7 @@ "zod": "^3.23.8" }, "peerDependencies": { - "svelte": "^3.56.0 || ^4.0.0" + "svelte": "^3.56.0 || ^4.0.0 || ^5.0.0-next.120" } }, "node_modules/svelte-ux/node_modules/date-fns": { @@ -9489,6 +9489,12 @@ } } }, + "node_modules/sveltekit-superforms/node_modules/valibot": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/valibot/-/valibot-0.30.0.tgz", + "integrity": "sha512-5POBdbSkM+3nvJ6ZlyQHsggisfRtyT4tVTo1EIIShs6qCdXJnyWU5TJ68vr8iTg5zpOLjXLRiBqNx+9zwZz/rA==", + "optional": true + }, "node_modules/symbol-observable": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz", @@ -9554,9 +9560,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz", - "integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", + "integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", @@ -9779,14 +9785,14 @@ "integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==" }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" }, "node_modules/tsx": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.11.0.tgz", - "integrity": "sha512-vzGGELOgAupsNVssAmZjbUDfdm/pWP4R+Kg8TVdsonxbXk0bEpE1qh0yV6/QxUVXaVlNemgcPajGdJJ82n3stg==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.12.0.tgz", + "integrity": "sha512-642NAWAbDqPZINjmL32Lh/B+pd8vbVj6LHPsWm09IIHqQuWhCrNfcPTjRlHFWvv3FfM4vt9NLReBIjUNj5ZhDg==", "dev": true, "dependencies": { "esbuild": "~0.20.2", @@ -10204,9 +10210,9 @@ } }, "node_modules/valibot": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/valibot/-/valibot-0.30.0.tgz", - "integrity": "sha512-5POBdbSkM+3nvJ6ZlyQHsggisfRtyT4tVTo1EIIShs6qCdXJnyWU5TJ68vr8iTg5zpOLjXLRiBqNx+9zwZz/rA==" + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/valibot/-/valibot-0.31.0.tgz", + "integrity": "sha512-bleS8aVFpRGTUgbMoXzsRJhpxJGiZ3MG1nuNSORuDvio+sI1EyT1+lQHg+77Pfnlxz+25Uj5HiwdaklcDcYdiQ==" }, "node_modules/validator": { "version": "13.12.0", @@ -10253,9 +10259,9 @@ } }, "node_modules/viem": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/viem/-/viem-2.13.1.tgz", - "integrity": "sha512-QaSCtPXb9uVaba+vOsyCFX21BDWNbjBOuXIWWlQXLmECtr/mbJ64XUHyFz6KLvUwAsQ+vxUQVwgmXc3jVMxwYw==", + "version": "2.13.7", + "resolved": "https://registry.npmjs.org/viem/-/viem-2.13.7.tgz", + "integrity": "sha512-SZWn9LPrz40PHl4PM2iwkPTTtjWPDFsnLr32UwpqC/Z5f0AwxitjLyZdDKcImvbWZ3vLQ0oPggR1aLlqvTcUug==", "funding": [ { "type": "github", diff --git a/app/package.json b/app/package.json index a5e643025a..cc05593606 100644 --- a/app/package.json +++ b/app/package.json @@ -20,12 +20,12 @@ "@leapwallet/cosmos-snap-provider": "^0.1.26", "@tanstack/match-sorter-utils": "^8.15.1", "@tanstack/query-sync-storage-persister": "^5.40.0", - "@tanstack/svelte-query": "^5.40.0", - "@tanstack/svelte-query-persist-client": "^5.40.0", + "@tanstack/svelte-query": "^5.40.1", + "@tanstack/svelte-query-persist-client": "^5.40.1", "@tanstack/svelte-table": "^8.17.3", - "@tanstack/svelte-virtual": "^3.5.0", - "@union/client": "npm:@jsr/union__client@^0.0.1-rc.10", - "@wagmi/connectors": "^5.0.7", + "@tanstack/svelte-virtual": "^3.5.1", + "@union/client": "npm:@jsr/union__client@^0.0.1-rc.17", + "@wagmi/connectors": "^5.0.8", "@wagmi/core": "^2.10.5", "bits-ui": "^0.21.10", "cmdk-sv": "^0.0.17", @@ -36,27 +36,27 @@ "paneforge": "^0.0.4", "svelte-french-toast": "^1.2.0", "svelte-legos": "^0.2.3", - "svelte-persisted-store": "^0.9.4", + "svelte-persisted-store": "^0.11.0", "svelte-radix": "^1.1.0", - "svelte-ux": "^0.65.0", + "svelte-ux": "^0.66.5", "sveltekit-superforms": "^2.14.0", "uint8array-extras": "^1.1.0", - "valibot": "^0.30.0", + "valibot": "^0.31.0", "vaul-svelte": "^0.3.1", - "viem": "^2.13.1" + "viem": "^2.13.7" }, "devDependencies": { "@0no-co/graphqlsp": "^1.12.5", "@cosmjs/tendermint-rpc": "0.32.3", "@iconify-json/fa6-solid": "^1.1.21", - "@iconify-json/logos": "^1.1.42", - "@iconify-json/lucide": "^1.1.188", + "@iconify-json/logos": "^1.1.43", + "@iconify-json/lucide": "^1.1.190", "@iconify-json/mdi": "^1.1.66", "@iconify-json/tabler": "^1.1.113", - "@keplr-wallet/types": "^0.12.96", + "@keplr-wallet/types": "^0.12.98", "@leapwallet/types": "^0.0.5", "@melt-ui/pp": "^0.3.2", - "@melt-ui/svelte": "^0.80.0", + "@melt-ui/svelte": "^0.81.0", "@svelte-put/shortcut": "^3.1.1", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.5.10", @@ -65,14 +65,14 @@ "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.13", - "@tanstack/svelte-query-devtools": "^5.40.0", + "@tanstack/svelte-query-devtools": "^5.40.1", "@total-typescript/ts-reset": "^0.5.1", - "@types/node": "^20.12.13", + "@types/node": "^20.14.2", "@types/postcss-import": "^14.0.3", "autoprefixer": "^10.4.19", "buffer": "^6.0.3", "clsx": "^2.1.1", - "fluid-tailwind": "^0.3.8", + "fluid-tailwind": "^0.3.9", "graphql": "^16.8.1", "jsr": "^0.12.4", "patch-package": "^8.0.0", @@ -80,7 +80,7 @@ "postcss-import": "^16.1.0", "process": "^0.11.10", "rollup-plugin-visualizer": "^5.12.0", - "svelte": "^4.2.17", + "svelte": "^4.2.18", "svelte-check": "^3.8.0", "svelte-preprocess": "^5.1.4", "sveltekit-flash-message": "^2.4.4", @@ -89,10 +89,10 @@ "tailwind-merge": "^2.3.0", "tailwind-scrollbar": "^3.1.0", "tailwind-variants": "^0.2.1", - "tailwindcss": "^3.4.3", + "tailwindcss": "^3.4.4", "tailwindcss-animate": "^1.0.7", - "tslib": "^2.6.2", - "tsx": "^4.11.0", + "tslib": "^2.6.3", + "tsx": "^4.12.0", "typed-query-selector": "^2.11.2", "typescript": "^5.4.5", "unplugin-icons": "^0.19.0", diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index 57cc1a967c..af9d2b8b38 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -1,7 +1,7 @@ import * as v from "valibot" import { KEY } from "$lib/constants/keys.ts" import { CHAIN_URLS } from "$lib/constants"; -import { formatUnits, type Address } from "viem" +import type { Address } from "viem" import { getEvmTokensInfo } from "./token-info.ts" import { createQuery } from "@tanstack/svelte-query" import type { ChainId } from "$/lib/constants/assets.ts" @@ -39,17 +39,17 @@ const evmBalancesResponseSchema = v.object({ jsonrpc: v.string(), id: v.number(), result: v.object({ - address: v.string([v.length(42)]), + address: v.pipe(v.string(), v.length(42)), tokenBalances: v.array( v.object({ - contractAddress: v.string([v.length(42)]), + contractAddress: v.pipe(v.string(), v.length(42)), tokenBalance: v.string() }) ) }) }) -export type EvmBalances = v.Output +export type EvmBalances = v.InferOutput /** * @docs https://docs.alchemy.com/reference/alchemy-gettokenbalances @@ -67,7 +67,7 @@ export function evmBalancesQuery({ queryKey: ["balances", chainId, address], enabled: isValidEvmAddress(address), refetchOnWindowFocus: false, - refetchInterval: 10_000, + refetchInterval: 2_000, queryFn: async () => { const assetsToCheck = "contractAddresses" in restParams && Array.isArray(restParams.contractAddresses) @@ -77,6 +77,7 @@ export function evmBalancesQuery({ ? restParams.tokenSpecification // if tokenSpecification is a string, use it : "DEFAULT_TOKENS" + let json: undefined | unknown; try { @@ -112,6 +113,13 @@ export function evmBalancesQuery({ }) } +const cosmosBalancesResponseSchema = v.object({ + balances: v.array(v.object({ + denom: v.string(), + amount: v.string() + })) +}); + export function cosmosBalancesQuery({ address, chainId @@ -124,19 +132,32 @@ export function cosmosBalancesQuery({ enabled: isValidCosmosAddress(address), refetchOnWindowFocus: false, queryFn: async () => { - const restUrl = CHAIN_URLS[chainId].REST - const response = await fetch( - `${restUrl}/cosmos/bank/v1beta1/balances/${address}`, - {}); + const restUrl = CHAIN_URLS[chainId].REST + + let json: undefined | unknown; + try { + const response = await fetch(`${restUrl}/cosmos/bank/v1beta1/balances/${address}`); + if (!response.ok) return new Error("invalid response"); - return (await response.json()).balances.map((x) => { - return { - address: x.denom, - symbol: x.denom, - balance: x.amount, - decimals: 0 - } - }) + + json = await response.json() + } catch(err) { + if (err instanceof Error) { + raise(`error fetching balances from /cosmos/bank: ${err.message}`); + } + raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); + } + + const result = v.safeParse(cosmosBalancesResponseSchema, json); + + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); + + return result.output.balances.map((x) => ({ + address: x.denom, + symbol: x.denom, + balance: x.amount, + decimals: 0 + })) } }) } diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 419ac88dcd..f2d7eb6696 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,14 +1,28 @@ -
- +
+ Welcome to Union @@ -25,11 +39,60 @@ import { cosmosStore } from "$lib/wallet/cosmos"
{#if $cosmosStore.address } - ✅Cosmos wallet connected + ✅ Cosmos wallet {summarizeString($cosmosStore.address, 6)} connected {:else} Connect cosmos wallet {/if}
+ + + + Balances + + +

EVM

+ {#if $evmBalances} + {#if $evmBalances.isLoading} + Loading... + {:else if $evmBalances.isError} + Error: {$evmBalances.error.message} + {:else if $evmBalances.isSuccess} +
+ {#each $evmBalances.data as asset} +
{summarizeString(asset.symbol, 8)} | {asset.balance}
+ {/each} +
+ {/if} + {:else} +

Connect your EVM wallet to continue

+ {/if} + +

Cosmos

+ {#if $cosmosBalances} + {#if $cosmosBalances.isLoading} + Loading... + {:else if $cosmosBalances.isError} + {$cosmosBalances.error.message} + {:else if $cosmosBalances.isSuccess} +
+ {#each $cosmosBalances.data as asset} +
{summarizeString(asset.symbol, 8)} | {asset.balance}
+ {/each} +
+ {/if} + {:else} +

Connect your cosmos wallet to show cosmos balance

+ {/if} +
+
+ + + + +
+ + + diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte index b1d9b98f4c..47d816104b 100644 --- a/app/src/routes/balance/+page.svelte +++ b/app/src/routes/balance/+page.svelte @@ -47,7 +47,11 @@ {:else if $cosmosBalances.isError} {$cosmosBalances.error.message} {:else if $cosmosBalances.isSuccess} -
{JSON.stringify($cosmosBalances.data)}
+
+ {#each $cosmosBalances.data as asset} +
{summarizeString(asset.symbol, 4)} | {asset.balance}
+ {/each} +
{/if} {:else}

Connect your cosmos wallet to continue

diff --git a/app/src/routes/faucet/schema.ts b/app/src/routes/faucet/schema.ts index 8ca959cd35..b63302d151 100644 --- a/app/src/routes/faucet/schema.ts +++ b/app/src/routes/faucet/schema.ts @@ -1,12 +1,14 @@ -import { string, regex, object, type Input } from "valibot" +import { string, regex, object, pipe, type InferOutput } from "valibot" export const unionAddressRegex = /^union[a-z0-9]{39}$/ export const faucetFormSchema = object({ - address: string([regex(unionAddressRegex, "Invalid Union address")]) + address: pipe(string(), regex(unionAddressRegex, "Invalid Union address")) }) export type FaucetSchema = typeof faucetFormSchema -export type FaucetForm = Input +export type FaucetForm = InferOutput export type Message = { status: "error" | "success" | "warning"; text: string } + + From db6681d1b606b11eedd5cddbb10618c69275b669 Mon Sep 17 00:00:00 2001 From: cor Date: Thu, 6 Jun 2024 22:16:38 +0200 Subject: [PATCH 09/19] chore(app): delete old /balance page --- app/src/routes/balance/+page.svelte | 60 ----------------------------- 1 file changed, 60 deletions(-) delete mode 100644 app/src/routes/balance/+page.svelte diff --git a/app/src/routes/balance/+page.svelte b/app/src/routes/balance/+page.svelte deleted file mode 100644 index 47d816104b..0000000000 --- a/app/src/routes/balance/+page.svelte +++ /dev/null @@ -1,60 +0,0 @@ - - - -
-

Sepolia

- {#if $evmBalances} - {#if $evmBalances.isLoading} - Loading... - {:else if $evmBalances.isError} - Error: {$evmBalances.error.message} - {:else if $evmBalances.isSuccess} -
- {#each $evmBalances.data as asset} -
{summarizeString(asset.symbol, 4)} | {asset.balance}
- {/each} -
- {/if} - {:else} -

Connect your EVM wallet to continue

- {/if} -
- - -
-

Cosmos

- {#if $cosmosBalances} - {#if $cosmosBalances.isLoading} - Loading... - {:else if $cosmosBalances.isError} - {$cosmosBalances.error.message} - {:else if $cosmosBalances.isSuccess} -
- {#each $cosmosBalances.data as asset} -
{summarizeString(asset.symbol, 4)} | {asset.balance}
- {/each} -
- {/if} - {:else} -

Connect your cosmos wallet to continue

- {/if} -
- From c755ddc707a105d791ae62acbb7e3f83ab29082a Mon Sep 17 00:00:00 2001 From: cor Date: Thu, 6 Jun 2024 23:12:17 +0200 Subject: [PATCH 10/19] feat(app): derive bech32 address --- app/package-lock.json | 12 +++++++++--- app/package.json | 1 + app/src/lib/utilities/format.ts | 2 +- app/src/lib/wallet/cosmos/config.ts | 2 ++ app/src/lib/wallet/types.ts | 1 + app/src/routes/+page.svelte | 10 +++++++++- 6 files changed, 23 insertions(+), 5 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index a8524b61ef..4fa1602a6c 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -22,6 +22,7 @@ "@union/client": "npm:@jsr/union__client@^0.0.1-rc.17", "@wagmi/connectors": "^5.0.8", "@wagmi/core": "^2.10.5", + "bech32": "^2.0.0", "bits-ui": "^0.21.10", "cmdk-sv": "^0.0.17", "formsnap": "^1.0.0", @@ -304,6 +305,11 @@ "readonly-date": "^1.0.0" } }, + "node_modules/@cosmjs/encoding/node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + }, "node_modules/@cosmjs/json-rpc": { "version": "0.32.3", "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz", @@ -4159,9 +4165,9 @@ ] }, "node_modules/bech32": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", - "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", + "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" }, "node_modules/bignumber.js": { "version": "9.1.2", diff --git a/app/package.json b/app/package.json index cc05593606..24a66475a0 100644 --- a/app/package.json +++ b/app/package.json @@ -27,6 +27,7 @@ "@union/client": "npm:@jsr/union__client@^0.0.1-rc.17", "@wagmi/connectors": "^5.0.8", "@wagmi/core": "^2.10.5", + "bech32": "^2.0.0", "bits-ui": "^0.21.10", "cmdk-sv": "^0.0.17", "formsnap": "^1.0.0", diff --git a/app/src/lib/utilities/format.ts b/app/src/lib/utilities/format.ts index fbe616530a..4478e920aa 100644 --- a/app/src/lib/utilities/format.ts +++ b/app/src/lib/utilities/format.ts @@ -68,7 +68,7 @@ export function urlSearchParams( export function summarizeString(str: string, show: number): string { // Don't summarize short strings - if (str.length < show*2+2) return str; + if (str.length === 0 || str.length < show*2+2) return str; // Extract the first 6 characters and the last 6 characters const firstPart: string = str.slice(0, show); diff --git a/app/src/lib/wallet/cosmos/config.ts b/app/src/lib/wallet/cosmos/config.ts index 56fdac08cf..b3b7236f9e 100644 --- a/app/src/lib/wallet/cosmos/config.ts +++ b/app/src/lib/wallet/cosmos/config.ts @@ -28,6 +28,7 @@ function createCosmosStore( chain: "cosmos", hoverState: "none", address: undefined, + rawAddress: undefined, connectedWallet: "keplr", connectionStatus: "disconnected" } @@ -69,6 +70,7 @@ function createCosmosStore( ...v, connectionStatus: "connected", address: account?.bech32Address, + rawAddress: account?.address, connectedWallet: walletId })) await sleep(2_000) diff --git a/app/src/lib/wallet/types.ts b/app/src/lib/wallet/types.ts index 89aee63e4b..a1570f2dd6 100644 --- a/app/src/lib/wallet/types.ts +++ b/app/src/lib/wallet/types.ts @@ -19,6 +19,7 @@ export type ChainWalletStore = { chain: (TChainSource extends "evm" ? "sepolia" : "cosmos") | String hoverState: "hover" | "none" address: TChainSource extends "evm" ? EvmAddress | undefined : string | undefined + rawAddress: TChainSource extends "evm" ? undefined : Uint8Array | undefined connectionStatus: State["status"] connectedWallet: string | undefined } diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index f2d7eb6696..8ef07e4e2c 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,10 +1,12 @@
@@ -38,7 +46,7 @@
- {#if $cosmosStore.address } + {#if $cosmosStore.address && $cosmosStore.rawAddress } ✅ Cosmos wallet {summarizeString($cosmosStore.address, 6)} connected {:else} Connect cosmos wallet From 64fa1474ef4792c30d0f61bca10637978f92d1ce Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 00:05:35 +0200 Subject: [PATCH 11/19] feat(app): fetch chains --- app/src/generated/graphql-env.d.ts | 22329 ++-------------------- app/src/generated/schema.graphql | 5405 +----- app/src/lib/graphql/documents/chains.ts | 12 + app/src/lib/queries/balance.ts | 71 +- app/src/lib/queries/chains.ts | 15 + app/src/routes/+page.svelte | 8 +- 6 files changed, 2066 insertions(+), 25774 deletions(-) create mode 100644 app/src/lib/graphql/documents/chains.ts create mode 100644 app/src/lib/queries/chains.ts diff --git a/app/src/generated/graphql-env.d.ts b/app/src/generated/graphql-env.d.ts index d8567d8ab3..a130213986 100644 --- a/app/src/generated/graphql-env.d.ts +++ b/app/src/generated/graphql-env.d.ts @@ -14,11 +14,17 @@ export type introspection = { "queryType": { "name": "query_root" }, - "mutationType": null, + "mutationType": { + "name": "mutation_root" + }, "subscriptionType": { "name": "subscription_root" }, "types": [ + { + "kind": "SCALAR", + "name": "Address" + }, { "kind": "SCALAR", "name": "Boolean" @@ -106,8 +112,95 @@ export type introspection = { "isOneOf": false }, { - "kind": "SCALAR", - "name": "Float" + "kind": "OBJECT", + "name": "Configuration", + "fields": [ + { + "name": "amountSend", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Long" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "chainId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "denom", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "feeAmount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Long" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "gasLimit", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "UInt64" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "memo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "prefix", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] }, { "kind": "SCALAR", @@ -195,6 +288,34 @@ export type introspection = { ], "isOneOf": false }, + { + "kind": "SCALAR", + "name": "Long" + }, + { + "kind": "INPUT_OBJECT", + "name": "SendInput", + "inputFields": [ + { + "name": "captchaToken", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "toAddress", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Address" + } + } + } + ], + "isOneOf": false + }, { "kind": "SCALAR", "name": "String" @@ -353,103 +474,71 @@ export type introspection = { }, { "kind": "SCALAR", - "name": "bigint" + "name": "UInt64" }, { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp", - "inputFields": [ - { - "name": "_eq", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "_gt", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "_gte", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "_in", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "bigint" - } - } - } - }, - { - "name": "_is_null", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - }, + "kind": "SCALAR", + "name": "Void" + }, + { + "kind": "ENUM", + "name": "cursor_ordering", + "enumValues": [ { - "name": "_lt", - "type": { - "kind": "SCALAR", - "name": "bigint" - } + "name": "ASC", + "isDeprecated": false }, { - "name": "_lte", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, + "name": "DESC", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "faucetMutation", + "fields": [ { - "name": "_neq", + "name": "send", "type": { "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "_nin", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "bigint" + "name": "Void" + }, + "args": [ + { + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendInput" + } } } - } + ], + "isDeprecated": false } ], - "isOneOf": false + "interfaces": [] }, { - "kind": "ENUM", - "name": "cursor_ordering", - "enumValues": [ - { - "name": "ASC", - "isDeprecated": false - }, + "kind": "OBJECT", + "name": "faucetQuery", + "fields": [ { - "name": "DESC", + "name": "configuration", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Configuration" + } + }, + "args": [], "isDeprecated": false } - ] + ], + "interfaces": [] }, { "kind": "SCALAR", @@ -605,6 +694,22 @@ export type introspection = { ], "isOneOf": false }, + { + "kind": "OBJECT", + "name": "mutation_root", + "fields": [ + { + "name": "faucet", + "type": { + "kind": "OBJECT", + "name": "faucetMutation" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, { "kind": "SCALAR", "name": "numeric" @@ -726,7 +831,16 @@ export type introspection = { "name": "query_root", "fields": [ { - "name": "queue", + "name": "faucet", + "type": { + "kind": "OBJECT", + "name": "faucetQuery" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "v0_assets", "type": { "kind": "NON_NULL", "ofType": { @@ -735,7 +849,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "queue" + "name": "v0_assets" } } } @@ -749,7 +863,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "queue_select_column" + "name": "v0_assets_select_column" } } } @@ -776,7 +890,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "queue_order_by" + "name": "v0_assets_order_by" } } } @@ -785,36 +899,36 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" + "name": "v0_assets_bool_exp" } } ], "isDeprecated": false }, { - "name": "queue_by_pk", + "name": "v0_assets_by_pk", "type": { "kind": "OBJECT", - "name": "queue" + "name": "v0_assets" }, "args": [ { - "name": "created_at", + "name": "chain_id", "type": { "kind": "NON_NULL", "ofType": { "kind": "SCALAR", - "name": "timestamptz" + "name": "Int" } } }, { - "name": "id", + "name": "denom", "type": { "kind": "NON_NULL", "ofType": { "kind": "SCALAR", - "name": "bigint" + "name": "String" } } } @@ -984,79 +1098,19 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_chains_aggregate", + "name": "v0_chains_by_pk", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains_aggregate" - } + "kind": "OBJECT", + "name": "v0_chains" }, "args": [ { - "name": "distinct_on", + "name": "id", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_chains_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_chains_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_chains" - }, - "args": [ - { - "name": "id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "SCALAR", + "name": "Int" } } } @@ -1064,7 +1118,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_channel_map", + "name": "v0_index_status", "type": { "kind": "NON_NULL", "ofType": { @@ -1073,7 +1127,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_channel_map" + "name": "v0_index_status" } } } @@ -1087,7 +1141,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_channel_map_select_column" + "name": "v0_index_status_select_column" } } } @@ -1114,7 +1168,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by" + "name": "v0_index_status_order_by" } } } @@ -1123,19 +1177,25 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" + "name": "v0_index_status_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_channel_map_aggregate", + "name": "v0_rpcs", "type": { "kind": "NON_NULL", "ofType": { - "kind": "OBJECT", - "name": "v0_channel_map_aggregate" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } } }, "args": [ @@ -1147,7 +1207,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_channel_map_select_column" + "name": "v0_rpcs_select_column" } } } @@ -1174,7 +1234,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by" + "name": "v0_rpcs_order_by" } } } @@ -1183,14 +1243,51 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" + "name": "v0_rpcs_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_clients", + "name": "v0_rpcs_by_pk", + "type": { + "kind": "OBJECT", + "name": "v0_rpcs" + }, + "args": [ + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "subscription_root", + "fields": [ + { + "name": "v0_assets", "type": { "kind": "NON_NULL", "ofType": { @@ -1199,7 +1296,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_clients" + "name": "v0_assets" } } } @@ -1213,7 +1310,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_clients_select_column" + "name": "v0_assets_select_column" } } } @@ -1240,7 +1337,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_clients_order_by" + "name": "v0_assets_order_by" } } } @@ -1249,81 +1346,60 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" + "name": "v0_assets_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_clients_aggregate", + "name": "v0_assets_by_pk", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_clients_aggregate" - } + "kind": "OBJECT", + "name": "v0_assets" }, "args": [ { - "name": "distinct_on", + "name": "chain_id", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_clients_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", + "name": "denom", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_order_by" - } + "kind": "SCALAR", + "name": "String" } } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } } ], "isDeprecated": false }, { - "name": "v0_clients_by_pk", + "name": "v0_assets_stream", "type": { - "kind": "OBJECT", - "name": "v0_clients" + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_assets" + } + } + } }, "args": [ { - "name": "chain_id", + "name": "batch_size", "type": { "kind": "NON_NULL", "ofType": { @@ -1333,30 +1409,30 @@ export type introspection = { } }, { - "name": "client_id", + "name": "cursor", "type": { "kind": "NON_NULL", "ofType": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_input" + } } } }, { - "name": "counterparty_chain_id", + "name": "where", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_connection_map", + "name": "v0_blocks", "type": { "kind": "NON_NULL", "ofType": { @@ -1365,7 +1441,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_connection_map" + "name": "v0_blocks" } } } @@ -1379,7 +1455,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_connection_map_select_column" + "name": "v0_blocks_select_column" } } } @@ -1406,7 +1482,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by" + "name": "v0_blocks_order_by" } } } @@ -1415,58 +1491,77 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" + "name": "v0_blocks_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_connection_map_aggregate", + "name": "v0_blocks_by_pk", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_connection_map_aggregate" - } + "kind": "OBJECT", + "name": "v0_blocks" }, "args": [ { - "name": "distinct_on", + "name": "chain_id", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_connection_map_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", + "name": "hash", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } } - }, + } + ], + "isDeprecated": false + }, + { + "name": "v0_blocks_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_blocks" + } + } + } + }, + "args": [ { - "name": "offset", + "name": "batch_size", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } } }, { - "name": "order_by", + "name": "cursor", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by" + "name": "v0_blocks_stream_cursor_input" } } } @@ -1475,14 +1570,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" + "name": "v0_blocks_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_burn", + "name": "v0_chains", "type": { "kind": "NON_NULL", "ofType": { @@ -1491,7 +1586,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_cosmos_burn" + "name": "v0_chains" } } } @@ -1505,7 +1600,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_cosmos_burn_select_column" + "name": "v0_chains_select_column" } } } @@ -1532,7 +1627,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_order_by" + "name": "v0_chains_order_by" } } } @@ -1541,74 +1636,34 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" + "name": "v0_chains_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_burn_aggregate", + "name": "v0_chains_by_pk", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_aggregate" - } + "kind": "OBJECT", + "name": "v0_chains" }, "args": [ { - "name": "distinct_on", + "name": "id", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_burn_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_order_by" - } + "kind": "SCALAR", + "name": "Int" } } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } } ], "isDeprecated": false }, { - "name": "v0_cosmos_channel_open_ack", + "name": "v0_chains_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -1617,108 +1672,31 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_order_by" - } + "name": "v0_chains" } } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_ack_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_aggregate" } }, "args": [ { - "name": "distinct_on", + "name": "batch_size", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", + "name": "cursor", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_order_by" + "name": "v0_chains_stream_cursor_input" } } } @@ -1727,14 +1705,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" + "name": "v0_chains_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_channel_open_init", + "name": "v0_index_status", "type": { "kind": "NON_NULL", "ofType": { @@ -1743,7 +1721,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init" + "name": "v0_index_status" } } } @@ -1757,7 +1735,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column" + "name": "v0_index_status_select_column" } } } @@ -1784,7 +1762,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_order_by" + "name": "v0_index_status_order_by" } } } @@ -1793,58 +1771,47 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" + "name": "v0_index_status_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_channel_open_init_aggregate", + "name": "v0_index_status_stream", "type": { "kind": "NON_NULL", "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_aggregate" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_index_status" + } + } } }, "args": [ { - "name": "distinct_on", + "name": "batch_size", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", + "name": "cursor", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_order_by" + "name": "v0_index_status_stream_cursor_input" } } } @@ -1853,14 +1820,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" + "name": "v0_index_status_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_transfer", + "name": "v0_rpcs", "type": { "kind": "NON_NULL", "ofType": { @@ -1869,7 +1836,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_cosmos_transfer" + "name": "v0_rpcs" } } } @@ -1883,7 +1850,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column" + "name": "v0_rpcs_select_column" } } } @@ -1910,7 +1877,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_order_by" + "name": "v0_rpcs_order_by" } } } @@ -1919,74 +1886,44 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" + "name": "v0_rpcs_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_cosmos_transfer_aggregate", + "name": "v0_rpcs_by_pk", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_aggregate" - } + "kind": "OBJECT", + "name": "v0_rpcs" }, "args": [ { - "name": "distinct_on", + "name": "chain_id", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", + "name": "url", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_order_by" - } + "kind": "SCALAR", + "name": "String" } } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } } ], "isDeprecated": false }, { - "name": "v0_cosmos_wasm_message", + "name": "v0_rpcs_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -1995,48 +1932,31 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_cosmos_wasm_message" + "name": "v0_rpcs" } } } }, "args": [ { - "name": "distinct_on", + "name": "batch_size", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_wasm_message_select_column" - } + "kind": "SCALAR", + "name": "Int" } } }, { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", + "name": "cursor", "type": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_order_by" + "name": "v0_rpcs_stream_cursor_input" } } } @@ -2045,19528 +1965,96 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" + "name": "v0_rpcs_bool_exp" } } ], "isDeprecated": false - }, - { - "name": "v0_cosmos_withdraw_rewards", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_withdraw_rewards" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_withdraw_rewards_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_client_created", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_client_created" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_client_created_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_client_created_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_recv_packet", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_recv_packet" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_index_status", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_index_status" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_index_status_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_logs" - }, - "args": [ - { - "name": "block_hash", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - }, - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_packets", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_packets" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_packets_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_recv_packet", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_recv_packet_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_transfers", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_transfers" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_transfers_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" - } - } - ], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "queue", - "fields": [ - { - "name": "created_at", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "bigint" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "item", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "message", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "parent", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "status" - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" - } - } - } - }, - { - "name": "created_at", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "id", - "type": { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp" - } - }, - { - "name": "item", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "message", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "parent", - "type": { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp" - } - }, - { - "name": "status", - "type": { - "kind": "INPUT_OBJECT", - "name": "status_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "queue_order_by", - "inputFields": [ - { - "name": "created_at", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "item", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "message", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "parent", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "status", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "queue_select_column", - "enumValues": [ - { - "name": "created_at", - "isDeprecated": false - }, - { - "name": "id", - "isDeprecated": false - }, - { - "name": "item", - "isDeprecated": false - }, - { - "name": "message", - "isDeprecated": false - }, - { - "name": "parent", - "isDeprecated": false - }, - { - "name": "status", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "queue_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "queue_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "queue_stream_cursor_value_input", - "inputFields": [ - { - "name": "created_at", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "item", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "message", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "parent", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "status" - } - } - ], - "isOneOf": false - }, - { - "kind": "SCALAR", - "name": "status" - }, - { - "kind": "INPUT_OBJECT", - "name": "status_comparison_exp", - "inputFields": [ - { - "name": "_eq", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_gt", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_gte", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_in", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "status" - } - } - } - }, - { - "name": "_is_null", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - }, - { - "name": "_lt", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_lte", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_neq", - "type": { - "kind": "SCALAR", - "name": "status" - } - }, - { - "name": "_nin", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "status" - } - } - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "subscription_root", - "fields": [ - { - "name": "queue", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "queue" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "queue_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "queue_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "queue_by_pk", - "type": { - "kind": "OBJECT", - "name": "queue" - }, - "args": [ - { - "name": "created_at", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - }, - { - "name": "id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "bigint" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "queue_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "queue" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "queue_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "queue_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_blocks", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_blocks" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_blocks_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_blocks_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [ - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "hash", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_blocks_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_blocks" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_chains", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_chains_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_chains_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_chains_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_chains_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_chains" - }, - "args": [ - { - "name": "id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_channel_map", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_channel_map" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_channel_map_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_channel_map_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_channel_map_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_channel_map_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_clients", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_clients" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_clients_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_clients_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_clients_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_clients_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_clients_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_clients" - }, - "args": [ - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "client_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_connection_map", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_connection_map" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_connection_map_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_connection_map_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_connection_map_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_connection_map_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_burn", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_burn" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_burn_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_burn_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_burn_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_burn_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_burn" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_ack", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_ack_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_ack_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_init", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_init_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_channel_open_init_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_transfer", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_transfer_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_transfer_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_wasm_message", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_wasm_message" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_wasm_message_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_wasm_message_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_wasm_message" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_withdraw_rewards", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_withdraw_rewards" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_withdraw_rewards_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_cosmos_withdraw_rewards_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_withdraw_rewards" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_client_created", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_client_created" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_client_created_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_client_created_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_evm_recv_packet", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_recv_packet" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_index_status", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_index_status" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_index_status_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_index_status_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_index_status" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_logs_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_logs" - }, - "args": [ - { - "name": "block_hash", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - }, - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_packets", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_packets" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_packets_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_packets_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_packets" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_recv_packet", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_recv_packet_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_recv_packet_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_recv_packet_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_transfers", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_transfers" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_transfers_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "v0_transfers_stream", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_transfers" - } - } - } - }, - "args": [ - { - "name": "batch_size", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "cursor", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_stream_cursor_input" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" - } - } - ], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "SCALAR", - "name": "timestamptz" - }, - { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "inputFields": [ - { - "name": "_eq", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_gt", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_gte", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_in", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - } - }, - { - "name": "_is_null", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - }, - { - "name": "_lt", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_lte", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_neq", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "_nin", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_blocks", - "fields": [ - { - "name": "chain", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "hash", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_aggregate_order_by", - "inputFields": [ - { - "name": "avg", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_avg_order_by" - } - }, - { - "name": "count", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "max", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_max_order_by" - } - }, - { - "name": "min", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_min_order_by" - } - }, - { - "name": "stddev", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_order_by" - } - }, - { - "name": "stddev_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_pop_order_by" - } - }, - { - "name": "stddev_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_samp_order_by" - } - }, - { - "name": "sum", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_sum_order_by" - } - }, - { - "name": "var_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_pop_order_by" - } - }, - { - "name": "var_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_samp_order_by" - } - }, - { - "name": "variance", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_variance_order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_avg_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - } - }, - { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_max_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_min_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by", - "inputFields": [ - { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_blocks_select_column", - "enumValues": [ - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "hash", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_samp_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_value_input", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_sum_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_samp_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_variance_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_chains", - "fields": [ - { - "name": "blocks", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_blocks" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_blocks_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "display_name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "logs", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "logs_aggregate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs_aggregate" - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - ], - "isDeprecated": false - }, - { - "name": "testnet", - "type": { - "kind": "SCALAR", - "name": "Boolean" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_chains_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_chains_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_chains_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_chains_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_chains_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_chains_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_chains_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_chains_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_chains_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_chains_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_chains_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_chains_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_avg_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - } - } - }, - { - "name": "blocks", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "display_name", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "logs", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - }, - { - "name": "logs_aggregate", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_bool_exp" - } - }, - { - "name": "testnet", - "type": { - "kind": "INPUT_OBJECT", - "name": "Boolean_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_chains_max_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "display_name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_min_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "display_name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by", - "inputFields": [ - { - "name": "blocks_aggregate", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_aggregate_order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "display_name", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "logs_aggregate", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_order_by" - } - }, - { - "name": "testnet", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_chains_select_column", - "enumValues": [ - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "display_name", - "isDeprecated": false - }, - { - "name": "id", - "isDeprecated": false - }, - { - "name": "testnet", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_chains_stddev_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_stddev_pop_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_stddev_samp_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_sum_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_var_pop_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_var_samp_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_chains_variance_fields", - "fields": [ - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map", - "fields": [ - { - "name": "connection", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination", - "type": { - "kind": "OBJECT", - "name": "v0_chains" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source", - "type": { - "kind": "OBJECT", - "name": "v0_chains" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_channel_map" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_channel_map_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_avg_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - } - } - }, - { - "name": "connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - }, - { - "name": "destination", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "from_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "status", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "to_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_max_fields", - "fields": [ - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_min_fields", - "fields": [ - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by", - "inputFields": [ - { - "name": "connection", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by" - } - }, - { - "name": "destination", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - }, - { - "name": "status", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_channel_map_select_column", - "enumValues": [ - { - "name": "from_chain_id", - "isDeprecated": false - }, - { - "name": "from_channel_id", - "isDeprecated": false - }, - { - "name": "from_connection_id", - "isDeprecated": false - }, - { - "name": "from_id", - "isDeprecated": false - }, - { - "name": "from_port_id", - "isDeprecated": false - }, - { - "name": "status", - "isDeprecated": false - }, - { - "name": "to_chain_id", - "isDeprecated": false - }, - { - "name": "to_channel_id", - "isDeprecated": false - }, - { - "name": "to_connection_id", - "isDeprecated": false - }, - { - "name": "to_id", - "isDeprecated": false - }, - { - "name": "to_port_id", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_pop_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_stddev_samp_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_sum_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_var_pop_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_var_samp_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channel_map_variance_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_clients_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_clients" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_clients_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_clients_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_clients_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_clients_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_clients_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_clients_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_clients_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_clients_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_clients_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_clients_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_clients_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_clients_bool_exp" - } - } - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "client_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_clients_max_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_min_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_clients_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "client_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "counterparty_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_clients_select_column", - "enumValues": [ - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "client_id", - "isDeprecated": false - }, - { - "name": "counterparty_chain_id", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_clients_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_sum_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_var_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_var_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_clients_variance_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map", - "fields": [ - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_connection_map" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_connection_map_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_connection_map_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_avg_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_bool_exp" - } - } - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_client_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "status", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_client_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_max_fields", - "fields": [ - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_min_fields", - "fields": [ - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_connection_map_order_by", - "inputFields": [ - { - "name": "from_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_client_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "status", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_client_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_connection_map_select_column", - "enumValues": [ - { - "name": "from_chain_id", - "isDeprecated": false - }, - { - "name": "from_client_id", - "isDeprecated": false - }, - { - "name": "from_connection_id", - "isDeprecated": false - }, - { - "name": "from_id", - "isDeprecated": false - }, - { - "name": "status", - "isDeprecated": false - }, - { - "name": "to_chain_id", - "isDeprecated": false - }, - { - "name": "to_client_id", - "isDeprecated": false - }, - { - "name": "to_connection_id", - "isDeprecated": false - }, - { - "name": "to_id", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_pop_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_stddev_samp_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_sum_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_var_pop_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_var_samp_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_connection_map_variance_fields", - "fields": [ - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "burner", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_burn" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_burn_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_burn_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_avg_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_bool_exp" - } - } - } - }, - { - "name": "amount", - "type": { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "burner", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "denom", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "mode", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_max_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "burner", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_min_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "burner", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_order_by", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "burner", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "denom", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "mode", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_burn_select_column", - "enumValues": [ - { - "name": "amount", - "isDeprecated": false - }, - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "burner", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "denom", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "mode", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_pop_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_stddev_samp_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_burn_stream_cursor_value_input", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "burner", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_sum_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_var_pop_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_var_samp_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_burn_variance_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack", - "fields": [ - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_bool_exp" - } - } - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "msg_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_max_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_min_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_order_by", - "inputFields": [ - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "msg_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_ack_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "channel_id", - "isDeprecated": false - }, - { - "name": "connection_id", - "isDeprecated": false - }, - { - "name": "counterparty_channel_id", - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "msg_index", - "isDeprecated": false - }, - { - "name": "port_id", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_ack_stream_cursor_value_input", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "counterparty_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_sum_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_var_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_var_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_ack_variance_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init", - "fields": [ - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "version", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_bool_exp" - } - } - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "msg_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "version", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_max_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "version", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_min_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "version", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_order_by", - "inputFields": [ - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "msg_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "version", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_channel_open_init_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "channel_id", - "isDeprecated": false - }, - { - "name": "connection_id", - "isDeprecated": false - }, - { - "name": "counterparty_port_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "msg_index", - "isDeprecated": false - }, - { - "name": "port_id", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - }, - { - "name": "version", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_channel_open_init_stream_cursor_value_input", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "counterparty_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "version", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_sum_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_var_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_var_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_channel_open_init_variance_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "recipient", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sender", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_avg_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_bool_exp" - } - } - } - }, - { - "name": "amount", - "type": { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "denom", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "mode", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "recipient", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "sender", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_max_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "recipient", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sender", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_min_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "recipient", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sender", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_order_by", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "denom", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "mode", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "recipient", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "sender", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_transfer_select_column", - "enumValues": [ - { - "name": "amount", - "isDeprecated": false - }, - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "denom", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "mode", - "isDeprecated": false - }, - { - "name": "recipient", - "isDeprecated": false - }, - { - "name": "sender", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_pop_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_stddev_samp_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_transfer_stream_cursor_value_input", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "mode", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "recipient", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "sender", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_sum_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_var_pop_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_var_samp_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_transfer_variance_fields", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_wasm_message", - "fields": [ - { - "name": "_contract_address", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "module", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" - } - } - } - }, - { - "name": "_contract_address", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_bool_exp" - } - } - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "module", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "msg_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_order_by", - "inputFields": [ - { - "name": "_contract_address", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "module", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "msg_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_wasm_message_select_column", - "enumValues": [ - { - "name": "_contract_address", - "isDeprecated": false - }, - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "module", - "isDeprecated": false - }, - { - "name": "msg_index", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_wasm_message_stream_cursor_value_input", - "inputFields": [ - { - "name": "_contract_address", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "module", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_cosmos_withdraw_rewards", - "fields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block", - "type": { - "kind": "OBJECT", - "name": "v0_blocks" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "delegator", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "validator", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_bool_exp" - } - } - } - }, - { - "name": "amount", - "type": { - "kind": "INPUT_OBJECT", - "name": "bigint_comparison_exp" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "delegator", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "denom", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "msg_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "validator", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_order_by", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - }, - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "delegator", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "denom", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "msg_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "validator", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_cosmos_withdraw_rewards_select_column", - "enumValues": [ - { - "name": "amount", - "isDeprecated": false - }, - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "delegator", - "isDeprecated": false - }, - { - "name": "denom", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "index", - "isDeprecated": false - }, - { - "name": "msg_index", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - }, - { - "name": "validator", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_cosmos_withdraw_rewards_stream_cursor_value_input", - "inputFields": [ - { - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "bigint" - } - }, - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "delegator", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "denom", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "msg_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "validator", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "raw_log", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_evm_client_created" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_evm_client_created_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_bool_exp" - } - } - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "client_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "log_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "name", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "raw_log", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_max_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_min_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "client_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_evm_client_created_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "client_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "log_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "name", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "raw_log", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_evm_client_created_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "client_id", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "log_index", - "isDeprecated": false - }, - { - "name": "log_to_jsonb", - "isDeprecated": false - }, - { - "name": "name", - "isDeprecated": false - }, - { - "name": "raw_log", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_sum_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_var_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_var_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_client_created_variance_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_evm_recv_packet", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "packet", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "raw_log", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "revision_height", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "revision_number", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_height", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_bool_exp" - } - } - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "log_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "name", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "packet", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "raw_log", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "revision_height", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "revision_number", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "sequence", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "source_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "timeout_height", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_evm_recv_packet_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "log_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "log_to_jsonb", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "name", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "packet", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "raw_log", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "revision_height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "revision_number", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "sequence", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "timeout_height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_evm_recv_packet_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "destination_channel", - "isDeprecated": false - }, - { - "name": "destination_port", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "log_index", - "isDeprecated": false - }, - { - "name": "log_to_jsonb", - "isDeprecated": false - }, - { - "name": "name", - "isDeprecated": false - }, - { - "name": "packet", - "isDeprecated": false - }, - { - "name": "raw_log", - "isDeprecated": false - }, - { - "name": "revision_height", - "isDeprecated": false - }, - { - "name": "revision_number", - "isDeprecated": false - }, - { - "name": "sequence", - "isDeprecated": false - }, - { - "name": "source_channel", - "isDeprecated": false - }, - { - "name": "source_port", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "timeout_height", - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_index_status", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "display_name", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timestamp", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "tip_age_seconds", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" - } - } - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "display_name", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "status", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "timestamp", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "tip_age_seconds", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "display_name", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "status", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "timestamp", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "tip_age_seconds", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_index_status_select_column", - "enumValues": [ - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "display_name", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "id", - "isDeprecated": false - }, - { - "name": "status", - "isDeprecated": false - }, - { - "name": "timestamp", - "isDeprecated": false - }, - { - "name": "tip_age_seconds", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_value_input", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "display_name", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "timestamp", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "tip_age_seconds", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_logs_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_logs_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_logs" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_bool_exp", - "inputFields": [ - { - "name": "count", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_bool_exp_count" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_bool_exp_count", - "inputFields": [ - { - "name": "arguments", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - }, - { - "name": "filter", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - }, - { - "name": "predicate", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_logs_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_logs_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_logs_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_logs_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_logs_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_logs_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_logs_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_logs_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_logs_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_logs_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_logs_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_aggregate_order_by", - "inputFields": [ - { - "name": "avg", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_avg_order_by" - } - }, - { - "name": "count", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "max", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_max_order_by" - } - }, - { - "name": "min", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_min_order_by" - } - }, - { - "name": "stddev", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_order_by" - } - }, - { - "name": "stddev_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_pop_order_by" - } - }, - { - "name": "stddev_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_samp_order_by" - } - }, - { - "name": "sum", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_sum_order_by" - } - }, - { - "name": "var_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_var_pop_order_by" - } - }, - { - "name": "var_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_var_samp_order_by" - } - }, - { - "name": "variance", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_variance_order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_avg_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_logs_bool_exp" - } - } - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_max_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_max_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_min_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_min_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_logs_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_logs_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_stddev_samp_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_sum_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_sum_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_var_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_var_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_var_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_var_samp_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_logs_variance_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_logs_variance_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_packets", - "fields": [ - { - "name": "destination_block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_json", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "from_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_json", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "to_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_bool_exp" - } - } - } - }, - { - "name": "destination_block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_data", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "destination_json", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "destination_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_sequence", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "destination_time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "destination_timeout_timestamp", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "destination_transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "from_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "from_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "source_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_data", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "source_json", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "source_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_sequence", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "source_time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "source_timeout_timestamp", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "source_transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "status", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_channel_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "to_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "to_port_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_packets_order_by", - "inputFields": [ - { - "name": "destination_block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_json", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_sequence", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_timeout_timestamp", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "from_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_json", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_sequence", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_timeout_timestamp", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "status", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_channel_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "to_port_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_packets_select_column", - "enumValues": [ - { - "name": "destination_block_hash", - "isDeprecated": false - }, - { - "name": "destination_chain_id", - "isDeprecated": false - }, - { - "name": "destination_channel", - "isDeprecated": false - }, - { - "name": "destination_data", - "isDeprecated": false - }, - { - "name": "destination_height", - "isDeprecated": false - }, - { - "name": "destination_json", - "isDeprecated": false - }, - { - "name": "destination_port", - "isDeprecated": false - }, - { - "name": "destination_sequence", - "isDeprecated": false - }, - { - "name": "destination_time", - "isDeprecated": false - }, - { - "name": "destination_timeout_timestamp", - "isDeprecated": false - }, - { - "name": "destination_transaction_hash", - "isDeprecated": false - }, - { - "name": "destination_transaction_index", - "isDeprecated": false - }, - { - "name": "from_chain_id", - "isDeprecated": false - }, - { - "name": "from_channel_id", - "isDeprecated": false - }, - { - "name": "from_connection_id", - "isDeprecated": false - }, - { - "name": "from_id", - "isDeprecated": false - }, - { - "name": "from_port_id", - "isDeprecated": false - }, - { - "name": "source_block_hash", - "isDeprecated": false - }, - { - "name": "source_chain_id", - "isDeprecated": false - }, - { - "name": "source_channel", - "isDeprecated": false - }, - { - "name": "source_data", - "isDeprecated": false - }, - { - "name": "source_height", - "isDeprecated": false - }, - { - "name": "source_json", - "isDeprecated": false - }, - { - "name": "source_port", - "isDeprecated": false - }, - { - "name": "source_sequence", - "isDeprecated": false - }, - { - "name": "source_time", - "isDeprecated": false - }, - { - "name": "source_timeout_timestamp", - "isDeprecated": false - }, - { - "name": "source_transaction_hash", - "isDeprecated": false - }, - { - "name": "source_transaction_index", - "isDeprecated": false - }, - { - "name": "status", - "isDeprecated": false - }, - { - "name": "to_chain_id", - "isDeprecated": false - }, - { - "name": "to_channel_id", - "isDeprecated": false - }, - { - "name": "to_connection_id", - "isDeprecated": false - }, - { - "name": "to_id", - "isDeprecated": false - }, - { - "name": "to_port_id", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_packets_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_packets_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_packets_stream_cursor_value_input", - "inputFields": [ - { - "name": "destination_block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_data", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "destination_json", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - }, - { - "name": "destination_time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "destination_timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - }, - { - "name": "destination_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "from_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "from_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "from_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "from_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_data", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "source_json", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - }, - { - "name": "source_time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - }, - { - "name": "source_timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - }, - { - "name": "source_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "source_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "status", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "to_chain_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "to_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "to_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "to_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "channel", - "type": { - "kind": "OBJECT", - "name": "v0_channel_map" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "json", - "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_recv_packet" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_recv_packet_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_samp", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sum", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_sum_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_pop", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_var_pop_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "var_samp", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_var_samp_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "variance", - "type": { - "kind": "OBJECT", - "name": "v0_recv_packet_variance_fields" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_avg_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp", - "inputFields": [ - { - "name": "_and", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - } - }, - { - "name": "_not", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - }, - { - "name": "_or", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_bool_exp" - } - } - } - }, - { - "name": "block_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "chain_id", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_bool_exp" - } - }, - { - "name": "data", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "destination_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "height", - "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } - }, - { - "name": "json", - "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } - }, - { - "name": "sequence", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "source_channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "source_port", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "time", - "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_max_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_min_fields", - "fields": [ - { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_port", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_order_by", - "inputFields": [ - { - "name": "block_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "channel", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_channel_map_order_by" - } - }, - { - "name": "data", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "destination_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "json", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "sequence", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_channel", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "source_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "time", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "transaction_index", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_recv_packet_select_column", - "enumValues": [ - { - "name": "block_hash", - "isDeprecated": false - }, - { - "name": "chain_id", - "isDeprecated": false - }, - { - "name": "data", - "isDeprecated": false - }, - { - "name": "destination_channel", - "isDeprecated": false - }, - { - "name": "destination_port", - "isDeprecated": false - }, - { - "name": "height", - "isDeprecated": false - }, - { - "name": "json", - "isDeprecated": false - }, - { - "name": "sequence", - "isDeprecated": false - }, - { - "name": "source_channel", - "isDeprecated": false - }, - { - "name": "source_port", - "isDeprecated": false - }, - { - "name": "time", - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "isDeprecated": false - }, - { - "name": "transaction_hash", - "isDeprecated": false - }, - { - "name": "transaction_index", - "isDeprecated": false - } - ] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_pop_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_recv_packet_stddev_samp_fields", - "fields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false } ], "interfaces": [] }, { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false + "kind": "SCALAR", + "name": "timestamptz" }, { "kind": "INPUT_OBJECT", - "name": "v0_recv_packet_stream_cursor_value_input", + "name": "timestamptz_comparison_exp", "inputFields": [ { - "name": "block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_channel", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_port", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", + "name": "_eq", "type": { "kind": "SCALAR", - "name": "Int" + "name": "timestamptz" } }, { - "name": "json", + "name": "_gt", "type": { "kind": "SCALAR", - "name": "jsonb" + "name": "timestamptz" } }, { - "name": "sequence", + "name": "_gte", "type": { "kind": "SCALAR", - "name": "numeric" + "name": "timestamptz" } }, { - "name": "source_channel", + "name": "_in", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } + } } }, { - "name": "source_port", + "name": "_is_null", "type": { "kind": "SCALAR", - "name": "String" + "name": "Boolean" } }, { - "name": "time", + "name": "_lt", "type": { "kind": "SCALAR", "name": "timestamptz" } }, { - "name": "timeout_timestamp", + "name": "_lte", "type": { "kind": "SCALAR", - "name": "numeric" + "name": "timestamptz" } }, { - "name": "transaction_hash", + "name": "_neq", "type": { "kind": "SCALAR", - "name": "String" + "name": "timestamptz" } }, { - "name": "transaction_index", + "name": "_nin", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } + } } } ], @@ -21574,19 +2062,22 @@ export type introspection = { }, { "kind": "OBJECT", - "name": "v0_recv_packet_sum_fields", + "name": "v0_assets", "fields": [ { "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, "args": [], "isDeprecated": false }, { - "name": "height", + "name": "decimals", "type": { "kind": "SCALAR", "name": "Int" @@ -21595,19 +2086,31 @@ export type introspection = { "isDeprecated": false }, { - "name": "sequence", + "name": "denom", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "display_symbol", "type": { "kind": "SCALAR", - "name": "numeric" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "timeout_timestamp", + "name": "logo_uri", "type": { "kind": "SCALAR", - "name": "numeric" + "name": "String" }, "args": [], "isDeprecated": false @@ -21616,205 +2119,250 @@ export type introspection = { "interfaces": [] }, { - "kind": "OBJECT", - "name": "v0_recv_packet_var_pop_fields", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + } + } + }, { "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "height", + "name": "decimals", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "sequence", + "name": "denom", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "display_symbol", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "timeout_timestamp", + "name": "logo_uri", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } } ], - "interfaces": [] + "isOneOf": false }, { - "kind": "OBJECT", - "name": "v0_recv_packet_var_samp_fields", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "v0_assets_order_by", + "inputFields": [ { "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "height", + "name": "decimals", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "sequence", + "name": "denom", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "timeout_timestamp", + "name": "display_symbol", "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "logo_uri", + "type": { + "kind": "ENUM", + "name": "order_by" + } } ], - "interfaces": [] + "isOneOf": false }, { - "kind": "OBJECT", - "name": "v0_recv_packet_variance_fields", - "fields": [ + "kind": "ENUM", + "name": "v0_assets_select_column", + "enumValues": [ { "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], "isDeprecated": false }, { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], + "name": "decimals", "isDeprecated": false }, { - "name": "sequence", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], + "name": "denom", "isDeprecated": false }, { - "name": "timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "Float" - }, - "args": [], + "name": "display_symbol", + "isDeprecated": false + }, + { + "name": "logo_uri", "isDeprecated": false } - ], - "interfaces": [] + ] }, { - "kind": "OBJECT", - "name": "v0_transfers", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_input", + "inputFields": [ { - "name": "assets", + "name": "initial_value", "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_value_input" } - ], - "isDeprecated": false + } }, { - "name": "destination_block_hash", + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_value_input", + "inputFields": [ + { + "name": "chain_id", "type": { "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "name": "Int" + } }, { - "name": "destination_chain_id", + "name": "decimals", "type": { "kind": "SCALAR", "name": "Int" - }, - "args": [], - "isDeprecated": false + } }, { - "name": "destination_channel", + "name": "denom", "type": { "kind": "SCALAR", "name": "String" - }, - "args": [], - "isDeprecated": false + } + }, + { + "name": "display_symbol", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - "name": "destination_data", + "name": "logo_uri", "type": { "kind": "SCALAR", "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_blocks", + "fields": [ + { + "name": "chain", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_height", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_json", + "name": "data", "type": { - "kind": "SCALAR", - "name": "jsonb" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "jsonb" + } }, "args": [ { @@ -21828,596 +2376,790 @@ export type introspection = { "isDeprecated": false }, { - "name": "destination_port", + "name": "hash", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_sequence", + "name": "height", "type": { - "kind": "SCALAR", - "name": "numeric" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_time", + "name": "time", "type": { - "kind": "SCALAR", - "name": "timestamptz" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } }, "args": [], "isDeprecated": false - }, + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_aggregate_order_by", + "inputFields": [ { - "name": "destination_timeout_timestamp", + "name": "avg", "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_avg_order_by" + } }, { - "name": "destination_transaction_hash", + "name": "count", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "destination_transaction_index", + "name": "max", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_max_order_by" + } }, { - "name": "from_chain_id", + "name": "min", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_min_order_by" + } }, { - "name": "from_channel_id", + "name": "stddev", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_order_by" + } }, { - "name": "from_connection_id", + "name": "stddev_pop", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_pop_order_by" + } }, { - "name": "from_id", + "name": "stddev_samp", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_samp_order_by" + } }, { - "name": "from_port_id", + "name": "sum", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_sum_order_by" + } }, { - "name": "receiver", + "name": "var_pop", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_pop_order_by" + } }, { - "name": "sender", + "name": "var_samp", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_samp_order_by" + } }, { - "name": "source_block_hash", + "name": "variance", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, + "kind": "INPUT_OBJECT", + "name": "v0_blocks_variance_order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_avg_order_by", + "inputFields": [ { - "name": "source_chain_id", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "source_channel", + "name": "height", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp", + "inputFields": [ { - "name": "source_data", + "name": "_and", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + } }, { - "name": "source_height", + "name": "_not", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } }, { - "name": "source_json", + "name": "_or", "type": { - "kind": "SCALAR", - "name": "jsonb" - }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" } } - ], - "isDeprecated": false + } }, { - "name": "source_port", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } }, { - "name": "source_sequence", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "source_time", + "name": "data", "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp" + } }, { - "name": "source_timeout_timestamp", + "name": "hash", "type": { - "kind": "SCALAR", - "name": "numeric" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "source_transaction_hash", + "name": "height", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "source_transaction_index", + "name": "time", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_max_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "status", + "name": "hash", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "to_chain_id", + "name": "height", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "to_channel_id", + "name": "time", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_min_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "to_connection_id", + "name": "hash", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "to_id", + "name": "height", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "to_port_id", + "name": "time", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } } ], - "interfaces": [] + "isOneOf": false }, { "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp", + "name": "v0_blocks_order_by", "inputFields": [ { - "name": "_and", + "name": "chain", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" - } - } + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" } }, { - "name": "_not", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "_or", + "name": "data", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_transfers_bool_exp" - } - } + "kind": "ENUM", + "name": "order_by" } }, { - "name": "assets", + "name": "hash", "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_block_hash", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_chain_id", + "name": "time", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "ENUM", + "name": "order_by" } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_blocks_select_column", + "enumValues": [ + { + "name": "chain_id", + "isDeprecated": false }, { - "name": "destination_channel", + "name": "data", + "isDeprecated": false + }, + { + "name": "hash", + "isDeprecated": false + }, + { + "name": "height", + "isDeprecated": false + }, + { + "name": "time", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_order_by", + "inputFields": [ + { + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_data", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_pop_order_by", + "inputFields": [ { - "name": "destination_height", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_json", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_samp_order_by", + "inputFields": [ { - "name": "destination_port", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_sequence", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_input", + "inputFields": [ { - "name": "destination_time", + "name": "initial_value", "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_value_input" + } } }, { - "name": "destination_timeout_timestamp", + "name": "ordering", "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" + "kind": "ENUM", + "name": "cursor_ordering" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_value_input", + "inputFields": [ { - "name": "destination_transaction_hash", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "destination_transaction_index", + "name": "data", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "jsonb" } }, { - "name": "from_chain_id", + "name": "hash", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "from_channel_id", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "from_connection_id", + "name": "time", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "timestamptz" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_sum_order_by", + "inputFields": [ { - "name": "from_id", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "from_port_id", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_pop_order_by", + "inputFields": [ { - "name": "receiver", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "sender", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_samp_order_by", + "inputFields": [ { - "name": "source_block_hash", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "source_chain_id", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_variance_order_by", + "inputFields": [ { - "name": "source_channel", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "source_data", + "name": "height", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_chains", + "fields": [ { - "name": "source_height", + "name": "blocks", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" - } + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_blocks" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_blocks_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + ], + "isDeprecated": false }, { - "name": "source_json", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" - } + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false }, { - "name": "source_port", + "name": "display_name", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_sequence", + "name": "id", "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" - } + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false }, { - "name": "source_time", + "name": "rpc_type", "type": { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_timeout_timestamp", + "name": "testnet", "type": { - "kind": "INPUT_OBJECT", - "name": "numeric_comparison_exp" + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + } } }, { - "name": "source_transaction_hash", + "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "name": "v0_chains_bool_exp" } }, { - "name": "source_transaction_index", + "name": "_or", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + } } }, { - "name": "status", + "name": "blocks", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "name": "v0_blocks_bool_exp" } }, { - "name": "to_chain_id", + "name": "chain_id", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "to_channel_id", + "name": "display_name", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "to_connection_id", + "name": "id", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "name": "Int_comparison_exp" } }, { - "name": "to_id", + "name": "rpc_type", "type": { "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "name": "String_comparison_exp" } }, { - "name": "to_port_id", + "name": "testnet", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "name": "Boolean_comparison_exp" } } ], @@ -22425,269 +3167,352 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_transfers_order_by", + "name": "v0_chains_order_by", "inputFields": [ { - "name": "assets", + "name": "blocks_aggregate", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "v0_blocks_aggregate_order_by" } }, { - "name": "destination_block_hash", + "name": "chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_chain_id", + "name": "display_name", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_channel", + "name": "id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_data", + "name": "rpc_type", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_height", + "name": "testnet", "type": { "kind": "ENUM", "name": "order_by" } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_chains_select_column", + "enumValues": [ + { + "name": "chain_id", + "isDeprecated": false }, { - "name": "destination_json", - "type": { - "kind": "ENUM", - "name": "order_by" - } + "name": "display_name", + "isDeprecated": false }, { - "name": "destination_port", - "type": { - "kind": "ENUM", - "name": "order_by" - } + "name": "id", + "isDeprecated": false }, { - "name": "destination_sequence", - "type": { - "kind": "ENUM", - "name": "order_by" - } + "name": "rpc_type", + "isDeprecated": false }, { - "name": "destination_time", + "name": "testnet", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_value_input" + } } }, { - "name": "destination_timeout_timestamp", + "name": "ordering", "type": { "kind": "ENUM", - "name": "order_by" + "name": "cursor_ordering" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_value_input", + "inputFields": [ { - "name": "destination_transaction_hash", + "name": "chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "destination_transaction_index", + "name": "display_name", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "from_chain_id", + "name": "id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "from_channel_id", + "name": "rpc_type", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "from_connection_id", + "name": "testnet", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Boolean" } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_index_status", + "fields": [ + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - "name": "from_id", + "name": "display_name", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - "name": "from_port_id", + "name": "height", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false }, { - "name": "receiver", + "name": "id", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false }, { - "name": "sender", + "name": "status", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_block_hash", + "name": "timestamp", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "timestamptz" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_chain_id", + "name": "tip_age_seconds", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "numeric" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } + } } }, { - "name": "source_channel", + "name": "_not", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" } }, { - "name": "source_data", + "name": "_or", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } + } } }, { - "name": "source_height", + "name": "chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "source_json", + "name": "display_name", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "source_port", + "name": "height", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" } }, { - "name": "source_sequence", + "name": "id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" } }, { - "name": "source_time", + "name": "status", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "source_timeout_timestamp", + "name": "timestamp", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp" } }, { - "name": "source_transaction_hash", + "name": "tip_age_seconds", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_order_by", + "inputFields": [ { - "name": "source_transaction_index", + "name": "chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "status", + "name": "display_name", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "to_chain_id", + "name": "height", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "to_channel_id", + "name": "id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "to_connection_id", + "name": "status", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "to_id", + "name": "timestamp", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "to_port_id", + "name": "tip_age_seconds", "type": { "kind": "ENUM", "name": "order_by" @@ -22697,135 +3522,23 @@ export type introspection = { "isOneOf": false }, { - "kind": "ENUM", - "name": "v0_transfers_select_column", - "enumValues": [ - { - "name": "assets", - "isDeprecated": false - }, - { - "name": "destination_block_hash", - "isDeprecated": false - }, - { - "name": "destination_chain_id", - "isDeprecated": false - }, - { - "name": "destination_channel", - "isDeprecated": false - }, - { - "name": "destination_data", - "isDeprecated": false - }, - { - "name": "destination_height", - "isDeprecated": false - }, - { - "name": "destination_json", - "isDeprecated": false - }, - { - "name": "destination_port", - "isDeprecated": false - }, - { - "name": "destination_sequence", - "isDeprecated": false - }, - { - "name": "destination_time", - "isDeprecated": false - }, - { - "name": "destination_timeout_timestamp", - "isDeprecated": false - }, - { - "name": "destination_transaction_hash", - "isDeprecated": false - }, - { - "name": "destination_transaction_index", - "isDeprecated": false - }, - { - "name": "from_chain_id", - "isDeprecated": false - }, - { - "name": "from_channel_id", - "isDeprecated": false - }, - { - "name": "from_connection_id", - "isDeprecated": false - }, - { - "name": "from_id", - "isDeprecated": false - }, - { - "name": "from_port_id", - "isDeprecated": false - }, - { - "name": "receiver", - "isDeprecated": false - }, - { - "name": "sender", - "isDeprecated": false - }, - { - "name": "source_block_hash", - "isDeprecated": false - }, - { - "name": "source_chain_id", - "isDeprecated": false - }, - { - "name": "source_channel", - "isDeprecated": false - }, - { - "name": "source_data", - "isDeprecated": false - }, - { - "name": "source_height", - "isDeprecated": false - }, - { - "name": "source_json", - "isDeprecated": false - }, - { - "name": "source_port", - "isDeprecated": false - }, - { - "name": "source_sequence", - "isDeprecated": false - }, + "kind": "ENUM", + "name": "v0_index_status_select_column", + "enumValues": [ { - "name": "source_time", + "name": "chain_id", "isDeprecated": false }, { - "name": "source_timeout_timestamp", + "name": "display_name", "isDeprecated": false }, { - "name": "source_transaction_hash", + "name": "height", "isDeprecated": false }, { - "name": "source_transaction_index", + "name": "id", "isDeprecated": false }, { @@ -22833,30 +3546,18 @@ export type introspection = { "isDeprecated": false }, { - "name": "to_chain_id", - "isDeprecated": false - }, - { - "name": "to_channel_id", - "isDeprecated": false - }, - { - "name": "to_connection_id", - "isDeprecated": false - }, - { - "name": "to_id", + "name": "timestamp", "isDeprecated": false }, { - "name": "to_port_id", + "name": "tip_age_seconds", "isDeprecated": false } ] }, { "kind": "INPUT_OBJECT", - "name": "v0_transfers_stream_cursor_input", + "name": "v0_index_status_stream_cursor_input", "inputFields": [ { "name": "initial_value", @@ -22864,7 +3565,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_transfers_stream_cursor_value_input" + "name": "v0_index_status_stream_cursor_value_input" } } }, @@ -22880,269 +3581,277 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_transfers_stream_cursor_value_input", + "name": "v0_index_status_stream_cursor_value_input", "inputFields": [ { - "name": "assets", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "destination_block_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "destination_channel", + "name": "chain_id", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "destination_data", + "name": "display_name", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "destination_height", + "name": "height", "type": { "kind": "SCALAR", "name": "Int" } }, { - "name": "destination_json", + "name": "id", "type": { "kind": "SCALAR", - "name": "jsonb" + "name": "Int" } }, { - "name": "destination_port", + "name": "status", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "destination_sequence", - "type": { - "kind": "SCALAR", - "name": "numeric" - } - }, - { - "name": "destination_time", + "name": "timestamp", "type": { "kind": "SCALAR", "name": "timestamptz" } }, { - "name": "destination_timeout_timestamp", + "name": "tip_age_seconds", "type": { "kind": "SCALAR", "name": "numeric" } - }, - { - "name": "destination_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "destination_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_rpcs", + "fields": [ { - "name": "from_chain_id", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "String" - } + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } + }, + "args": [], + "isDeprecated": false }, { - "name": "from_channel_id", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "String" - } + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false }, { - "name": "from_connection_id", + "name": "description", "type": { "kind": "SCALAR", "name": "String" - } - }, - { - "name": "from_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } + }, + "args": [], + "isDeprecated": false }, { - "name": "from_port_id", + "name": "url", "type": { - "kind": "SCALAR", - "name": "String" - } - }, + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp", + "inputFields": [ { - "name": "receiver", + "name": "_and", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } } }, { - "name": "sender", + "name": "_not", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" } }, { - "name": "source_block_hash", + "name": "_or", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } } }, { - "name": "source_chain_id", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" } }, { - "name": "source_channel", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" } }, { - "name": "source_data", + "name": "description", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "source_height", + "name": "url", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by", + "inputFields": [ { - "name": "source_json", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "jsonb" + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" } }, { - "name": "source_port", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "source_sequence", + "name": "description", "type": { - "kind": "SCALAR", - "name": "numeric" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "source_time", + "name": "url", "type": { - "kind": "SCALAR", - "name": "timestamptz" + "kind": "ENUM", + "name": "order_by" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_rpcs_select_column", + "enumValues": [ { - "name": "source_timeout_timestamp", - "type": { - "kind": "SCALAR", - "name": "numeric" - } + "name": "chain_id", + "isDeprecated": false }, { - "name": "source_transaction_hash", - "type": { - "kind": "SCALAR", - "name": "String" - } + "name": "description", + "isDeprecated": false }, { - "name": "source_transaction_index", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, + "name": "url", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_input", + "inputFields": [ { - "name": "status", + "name": "initial_value", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_value_input" + } } }, { - "name": "to_chain_id", + "name": "ordering", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "ENUM", + "name": "cursor_ordering" } - }, + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_value_input", + "inputFields": [ { - "name": "to_channel_id", + "name": "chain_id", "type": { "kind": "SCALAR", - "name": "String" + "name": "Int" } }, { - "name": "to_connection_id", + "name": "description", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "to_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "to_port_id", + "name": "url", "type": { "kind": "SCALAR", "name": "String" diff --git a/app/src/generated/schema.graphql b/app/src/generated/schema.graphql index 1ec69e8747..1e0b27eab6 100644 --- a/app/src/generated/schema.graphql +++ b/app/src/generated/schema.graphql @@ -1,5 +1,6 @@ schema { query: query_root + mutation: mutation_root subscription: subscription_root } @@ -12,6 +13,8 @@ directive @cached( refresh: Boolean! = false ) on QUERY +scalar Address + """ Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. """ @@ -27,6 +30,16 @@ input Boolean_comparison_exp { _nin: [Boolean!] } +type Configuration { + amountSend: Long! + chainId: String! + denom: String! + feeAmount: Long! + gasLimit: UInt64! + memo: String! + prefix: String! +} + """ Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. """ @@ -42,6 +55,13 @@ input Int_comparison_exp { _nin: [Int!] } +scalar Long + +input SendInput { + captchaToken: String + toAddress: Address! +} + """ Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. """ @@ -95,22 +115,9 @@ input String_comparison_exp { _similar: String } -scalar bigint +scalar UInt64 -""" -Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. -""" -input bigint_comparison_exp { - _eq: bigint - _gt: bigint - _gte: bigint - _in: [bigint!] - _is_null: Boolean - _lt: bigint - _lte: bigint - _neq: bigint - _nin: [bigint!] -} +scalar Void """ordering argument of a cursor""" enum cursor_ordering { @@ -121,6 +128,14 @@ enum cursor_ordering { DESC } +type faucetMutation { + send(input: SendInput!): Void +} + +type faucetQuery { + configuration: Configuration! +} + scalar jsonb input jsonb_cast_exp { @@ -158,6 +173,11 @@ input jsonb_comparison_exp { _nin: [jsonb!] } +"""mutation root""" +type mutation_root { + faucet: faucetMutation +} + scalar numeric """ @@ -197,12 +217,14 @@ enum order_by { } type query_root { + faucet: faucetQuery + """ - fetch data from the table: "queue" + fetch data from the table: "v0.assets" """ - queue( + v0_assets( """distinct select on columns""" - distinct_on: [queue_select_column!] + distinct_on: [v0_assets_select_column!] """limit the number of rows returned""" limit: Int @@ -211,14 +233,14 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [queue_order_by!] + order_by: [v0_assets_order_by!] """filter the rows returned""" - where: queue_bool_exp - ): [queue!]! + where: v0_assets_bool_exp + ): [v0_assets!]! - """fetch data from the table: "queue" using primary key columns""" - queue_by_pk(created_at: timestamptz!, id: bigint!): queue + """fetch data from the table: "v0.assets" using primary key columns""" + v0_assets_by_pk(chain_id: Int!, denom: String!): v0_assets """ fetch data from the table: "v0.blocks" @@ -263,35 +285,15 @@ type query_root { where: v0_chains_bool_exp ): [v0_chains!]! - """ - fetch aggregated fields from the table: "v0.chains" - """ - v0_chains_aggregate( - """distinct select on columns""" - distinct_on: [v0_chains_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_chains_order_by!] - - """filter the rows returned""" - where: v0_chains_bool_exp - ): v0_chains_aggregate! - """fetch data from the table: "v0.chains" using primary key columns""" v0_chains_by_pk(id: Int!): v0_chains """ - fetch data from the table: "v0.channel_map" + fetch data from the table: "v0.index_status" """ - v0_channel_map( + v0_index_status( """distinct select on columns""" - distinct_on: [v0_channel_map_select_column!] + distinct_on: [v0_index_status_select_column!] """limit the number of rows returned""" limit: Int @@ -300,18 +302,18 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_channel_map_order_by!] + order_by: [v0_index_status_order_by!] """filter the rows returned""" - where: v0_channel_map_bool_exp - ): [v0_channel_map!]! + where: v0_index_status_bool_exp + ): [v0_index_status!]! """ - fetch aggregated fields from the table: "v0.channel_map" + fetch data from the table: "v0.rpcs" """ - v0_channel_map_aggregate( + v0_rpcs( """distinct select on columns""" - distinct_on: [v0_channel_map_select_column!] + distinct_on: [v0_rpcs_select_column!] """limit the number of rows returned""" limit: Int @@ -320,38 +322,23 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_channel_map_order_by!] + order_by: [v0_rpcs_order_by!] """filter the rows returned""" - where: v0_channel_map_bool_exp - ): v0_channel_map_aggregate! - - """ - fetch data from the table: "v0.clients" - """ - v0_clients( - """distinct select on columns""" - distinct_on: [v0_clients_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_clients_order_by!] + where: v0_rpcs_bool_exp + ): [v0_rpcs!]! - """filter the rows returned""" - where: v0_clients_bool_exp - ): [v0_clients!]! + """fetch data from the table: "v0.rpcs" using primary key columns""" + v0_rpcs_by_pk(chain_id: Int!, url: String!): v0_rpcs +} +type subscription_root { """ - fetch aggregated fields from the table: "v0.clients" + fetch data from the table: "v0.assets" """ - v0_clients_aggregate( + v0_assets( """distinct select on columns""" - distinct_on: [v0_clients_select_column!] + distinct_on: [v0_assets_select_column!] """limit the number of rows returned""" limit: Int @@ -360,41 +347,35 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_clients_order_by!] + order_by: [v0_assets_order_by!] """filter the rows returned""" - where: v0_clients_bool_exp - ): v0_clients_aggregate! + where: v0_assets_bool_exp + ): [v0_assets!]! - """fetch data from the table: "v0.clients" using primary key columns""" - v0_clients_by_pk(chain_id: Int!, client_id: String!, counterparty_chain_id: String!): v0_clients + """fetch data from the table: "v0.assets" using primary key columns""" + v0_assets_by_pk(chain_id: Int!, denom: String!): v0_assets """ - fetch data from the table: "v0.connection_map" + fetch data from the table in a streaming manner: "v0.assets" """ - v0_connection_map( - """distinct select on columns""" - distinct_on: [v0_connection_map_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int + v0_assets_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! - """sort the rows by one or more columns""" - order_by: [v0_connection_map_order_by!] + """cursor to stream the results returned by the query""" + cursor: [v0_assets_stream_cursor_input]! """filter the rows returned""" - where: v0_connection_map_bool_exp - ): [v0_connection_map!]! + where: v0_assets_bool_exp + ): [v0_assets!]! """ - fetch aggregated fields from the table: "v0.connection_map" + fetch data from the table: "v0.blocks" """ - v0_connection_map_aggregate( + v0_blocks( """distinct select on columns""" - distinct_on: [v0_connection_map_select_column!] + distinct_on: [v0_blocks_select_column!] """limit the number of rows returned""" limit: Int @@ -403,58 +384,35 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_connection_map_order_by!] + order_by: [v0_blocks_order_by!] """filter the rows returned""" - where: v0_connection_map_bool_exp - ): v0_connection_map_aggregate! - - """ - fetch data from the table: "v0_cosmos.burn" - """ - v0_cosmos_burn( - """distinct select on columns""" - distinct_on: [v0_cosmos_burn_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_burn_order_by!] + where: v0_blocks_bool_exp + ): [v0_blocks!]! - """filter the rows returned""" - where: v0_cosmos_burn_bool_exp - ): [v0_cosmos_burn!]! + """fetch data from the table: "v0.blocks" using primary key columns""" + v0_blocks_by_pk(chain_id: Int!, hash: String!): v0_blocks """ - fetch aggregated fields from the table: "v0_cosmos.burn" + fetch data from the table in a streaming manner: "v0.blocks" """ - v0_cosmos_burn_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_burn_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int + v0_blocks_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! - """sort the rows by one or more columns""" - order_by: [v0_cosmos_burn_order_by!] + """cursor to stream the results returned by the query""" + cursor: [v0_blocks_stream_cursor_input]! """filter the rows returned""" - where: v0_cosmos_burn_bool_exp - ): v0_cosmos_burn_aggregate! + where: v0_blocks_bool_exp + ): [v0_blocks!]! """ - fetch data from the table: "v0_cosmos.channel_open_ack" + fetch data from the table: "v0.chains" """ - v0_cosmos_channel_open_ack( + v0_chains( """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_ack_select_column!] + distinct_on: [v0_chains_select_column!] """limit the number of rows returned""" limit: Int @@ -463,58 +421,35 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_ack_order_by!] + order_by: [v0_chains_order_by!] """filter the rows returned""" - where: v0_cosmos_channel_open_ack_bool_exp - ): [v0_cosmos_channel_open_ack!]! - - """ - fetch aggregated fields from the table: "v0_cosmos.channel_open_ack" - """ - v0_cosmos_channel_open_ack_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_ack_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_ack_order_by!] + where: v0_chains_bool_exp + ): [v0_chains!]! - """filter the rows returned""" - where: v0_cosmos_channel_open_ack_bool_exp - ): v0_cosmos_channel_open_ack_aggregate! + """fetch data from the table: "v0.chains" using primary key columns""" + v0_chains_by_pk(id: Int!): v0_chains """ - fetch data from the table: "v0_cosmos.channel_open_init" + fetch data from the table in a streaming manner: "v0.chains" """ - v0_cosmos_channel_open_init( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_init_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int + v0_chains_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_init_order_by!] + """cursor to stream the results returned by the query""" + cursor: [v0_chains_stream_cursor_input]! """filter the rows returned""" - where: v0_cosmos_channel_open_init_bool_exp - ): [v0_cosmos_channel_open_init!]! + where: v0_chains_bool_exp + ): [v0_chains!]! """ - fetch aggregated fields from the table: "v0_cosmos.channel_open_init" + fetch data from the table: "v0.index_status" """ - v0_cosmos_channel_open_init_aggregate( + v0_index_status( """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_init_select_column!] + distinct_on: [v0_index_status_select_column!] """limit the number of rows returned""" limit: Int @@ -523,38 +458,32 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_init_order_by!] + order_by: [v0_index_status_order_by!] """filter the rows returned""" - where: v0_cosmos_channel_open_init_bool_exp - ): v0_cosmos_channel_open_init_aggregate! + where: v0_index_status_bool_exp + ): [v0_index_status!]! """ - fetch data from the table: "v0_cosmos.transfer" + fetch data from the table in a streaming manner: "v0.index_status" """ - v0_cosmos_transfer( - """distinct select on columns""" - distinct_on: [v0_cosmos_transfer_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int + v0_index_status_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! - """sort the rows by one or more columns""" - order_by: [v0_cosmos_transfer_order_by!] + """cursor to stream the results returned by the query""" + cursor: [v0_index_status_stream_cursor_input]! """filter the rows returned""" - where: v0_cosmos_transfer_bool_exp - ): [v0_cosmos_transfer!]! + where: v0_index_status_bool_exp + ): [v0_index_status!]! """ - fetch aggregated fields from the table: "v0_cosmos.transfer" + fetch data from the table: "v0.rpcs" """ - v0_cosmos_transfer_aggregate( + v0_rpcs( """distinct select on columns""" - distinct_on: [v0_cosmos_transfer_select_column!] + distinct_on: [v0_rpcs_select_column!] """limit the number of rows returned""" limit: Int @@ -563,3797 +492,125 @@ type query_root { offset: Int """sort the rows by one or more columns""" - order_by: [v0_cosmos_transfer_order_by!] + order_by: [v0_rpcs_order_by!] """filter the rows returned""" - where: v0_cosmos_transfer_bool_exp - ): v0_cosmos_transfer_aggregate! - - """ - fetch data from the table: "v0_cosmos.wasm_message" - """ - v0_cosmos_wasm_message( - """distinct select on columns""" - distinct_on: [v0_cosmos_wasm_message_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_wasm_message_order_by!] + where: v0_rpcs_bool_exp + ): [v0_rpcs!]! - """filter the rows returned""" - where: v0_cosmos_wasm_message_bool_exp - ): [v0_cosmos_wasm_message!]! + """fetch data from the table: "v0.rpcs" using primary key columns""" + v0_rpcs_by_pk(chain_id: Int!, url: String!): v0_rpcs """ - fetch data from the table: "v0_cosmos.withdraw_rewards" + fetch data from the table in a streaming manner: "v0.rpcs" """ - v0_cosmos_withdraw_rewards( - """distinct select on columns""" - distinct_on: [v0_cosmos_withdraw_rewards_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int + v0_rpcs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! - """sort the rows by one or more columns""" - order_by: [v0_cosmos_withdraw_rewards_order_by!] + """cursor to stream the results returned by the query""" + cursor: [v0_rpcs_stream_cursor_input]! """filter the rows returned""" - where: v0_cosmos_withdraw_rewards_bool_exp - ): [v0_cosmos_withdraw_rewards!]! + where: v0_rpcs_bool_exp + ): [v0_rpcs!]! +} - """ - fetch data from the table: "v0_evm.client_created" - """ - v0_evm_client_created( - """distinct select on columns""" - distinct_on: [v0_evm_client_created_select_column!] +scalar timestamptz - """limit the number of rows returned""" - limit: Int +""" +Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +""" +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] +} - """skip the first n rows. Use only with order_by""" - offset: Int +""" +columns and relationships of "v0.assets" +""" +type v0_assets { + chain_id: Int! + decimals: Int + denom: String! + display_symbol: String + logo_uri: String +} - """sort the rows by one or more columns""" - order_by: [v0_evm_client_created_order_by!] +""" +Boolean expression to filter rows from the table "v0.assets". All fields are combined with a logical 'AND'. +""" +input v0_assets_bool_exp { + _and: [v0_assets_bool_exp!] + _not: v0_assets_bool_exp + _or: [v0_assets_bool_exp!] + chain_id: Int_comparison_exp + decimals: Int_comparison_exp + denom: String_comparison_exp + display_symbol: String_comparison_exp + logo_uri: String_comparison_exp +} - """filter the rows returned""" - where: v0_evm_client_created_bool_exp - ): [v0_evm_client_created!]! +"""Ordering options when selecting data from "v0.assets".""" +input v0_assets_order_by { + chain_id: order_by + decimals: order_by + denom: order_by + display_symbol: order_by + logo_uri: order_by +} - """ - fetch aggregated fields from the table: "v0_evm.client_created" - """ - v0_evm_client_created_aggregate( - """distinct select on columns""" - distinct_on: [v0_evm_client_created_select_column!] +""" +select columns of table "v0.assets" +""" +enum v0_assets_select_column { + """column name""" + chain_id - """limit the number of rows returned""" - limit: Int + """column name""" + decimals - """skip the first n rows. Use only with order_by""" - offset: Int + """column name""" + denom - """sort the rows by one or more columns""" - order_by: [v0_evm_client_created_order_by!] + """column name""" + display_symbol - """filter the rows returned""" - where: v0_evm_client_created_bool_exp - ): v0_evm_client_created_aggregate! + """column name""" + logo_uri +} - """ - fetch data from the table: "v0_evm.recv_packet" - """ - v0_evm_recv_packet( - """distinct select on columns""" - distinct_on: [v0_evm_recv_packet_select_column!] +""" +Streaming cursor of the table "v0_assets" +""" +input v0_assets_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_assets_stream_cursor_value_input! - """limit the number of rows returned""" - limit: Int + """cursor ordering""" + ordering: cursor_ordering +} - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_evm_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_evm_recv_packet_bool_exp - ): [v0_evm_recv_packet!]! - - """ - fetch data from the table: "v0.index_status" - """ - v0_index_status( - """distinct select on columns""" - distinct_on: [v0_index_status_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_index_status_order_by!] - - """filter the rows returned""" - where: v0_index_status_bool_exp - ): [v0_index_status!]! - - """ - fetch data from the table: "v0.logs" - """ - v0_logs( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): [v0_logs!]! - - """ - fetch aggregated fields from the table: "v0.logs" - """ - v0_logs_aggregate( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): v0_logs_aggregate! - - """fetch data from the table: "v0.logs" using primary key columns""" - v0_logs_by_pk(block_hash: String!, chain_id: Int!): v0_logs - - """ - fetch data from the table: "v0.packets" - """ - v0_packets( - """distinct select on columns""" - distinct_on: [v0_packets_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_packets_order_by!] - - """filter the rows returned""" - where: v0_packets_bool_exp - ): [v0_packets!]! - - """ - fetch data from the table: "v0.recv_packet" - """ - v0_recv_packet( - """distinct select on columns""" - distinct_on: [v0_recv_packet_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_recv_packet_bool_exp - ): [v0_recv_packet!]! - - """ - fetch aggregated fields from the table: "v0.recv_packet" - """ - v0_recv_packet_aggregate( - """distinct select on columns""" - distinct_on: [v0_recv_packet_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_recv_packet_bool_exp - ): v0_recv_packet_aggregate! - - """ - fetch data from the table: "v0.transfers" - """ - v0_transfers( - """distinct select on columns""" - distinct_on: [v0_transfers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_transfers_order_by!] - - """filter the rows returned""" - where: v0_transfers_bool_exp - ): [v0_transfers!]! -} - -""" -columns and relationships of "queue" -""" -type queue { - created_at: timestamptz! - id: bigint! - item( - """JSON select path""" - path: String - ): jsonb! - message: String - parent: bigint - status: status! -} - -""" -Boolean expression to filter rows from the table "queue". All fields are combined with a logical 'AND'. -""" -input queue_bool_exp { - _and: [queue_bool_exp!] - _not: queue_bool_exp - _or: [queue_bool_exp!] - created_at: timestamptz_comparison_exp - id: bigint_comparison_exp - item: jsonb_comparison_exp - message: String_comparison_exp - parent: bigint_comparison_exp - status: status_comparison_exp -} - -"""Ordering options when selecting data from "queue".""" -input queue_order_by { - created_at: order_by - id: order_by - item: order_by - message: order_by - parent: order_by - status: order_by -} - -""" -select columns of table "queue" -""" -enum queue_select_column { - """column name""" - created_at - - """column name""" - id - - """column name""" - item - - """column name""" - message - - """column name""" - parent - - """column name""" - status -} - -""" -Streaming cursor of the table "queue" -""" -input queue_stream_cursor_input { - """Stream column input with initial value""" - initial_value: queue_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input queue_stream_cursor_value_input { - created_at: timestamptz - id: bigint - item: jsonb - message: String - parent: bigint - status: status -} - -scalar status - -""" -Boolean expression to compare columns of type "status". All fields are combined with logical 'AND'. -""" -input status_comparison_exp { - _eq: status - _gt: status - _gte: status - _in: [status!] - _is_null: Boolean - _lt: status - _lte: status - _neq: status - _nin: [status!] -} - -type subscription_root { - """ - fetch data from the table: "queue" - """ - queue( - """distinct select on columns""" - distinct_on: [queue_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [queue_order_by!] - - """filter the rows returned""" - where: queue_bool_exp - ): [queue!]! - - """fetch data from the table: "queue" using primary key columns""" - queue_by_pk(created_at: timestamptz!, id: bigint!): queue - - """ - fetch data from the table in a streaming manner: "queue" - """ - queue_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [queue_stream_cursor_input]! - - """filter the rows returned""" - where: queue_bool_exp - ): [queue!]! - - """ - fetch data from the table: "v0.blocks" - """ - v0_blocks( - """distinct select on columns""" - distinct_on: [v0_blocks_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_blocks_order_by!] - - """filter the rows returned""" - where: v0_blocks_bool_exp - ): [v0_blocks!]! - - """fetch data from the table: "v0.blocks" using primary key columns""" - v0_blocks_by_pk(chain_id: Int!, hash: String!): v0_blocks - - """ - fetch data from the table in a streaming manner: "v0.blocks" - """ - v0_blocks_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_blocks_stream_cursor_input]! - - """filter the rows returned""" - where: v0_blocks_bool_exp - ): [v0_blocks!]! - - """ - fetch data from the table: "v0.chains" - """ - v0_chains( - """distinct select on columns""" - distinct_on: [v0_chains_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_chains_order_by!] - - """filter the rows returned""" - where: v0_chains_bool_exp - ): [v0_chains!]! - - """ - fetch aggregated fields from the table: "v0.chains" - """ - v0_chains_aggregate( - """distinct select on columns""" - distinct_on: [v0_chains_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_chains_order_by!] - - """filter the rows returned""" - where: v0_chains_bool_exp - ): v0_chains_aggregate! - - """fetch data from the table: "v0.chains" using primary key columns""" - v0_chains_by_pk(id: Int!): v0_chains - - """ - fetch data from the table: "v0.channel_map" - """ - v0_channel_map( - """distinct select on columns""" - distinct_on: [v0_channel_map_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_channel_map_order_by!] - - """filter the rows returned""" - where: v0_channel_map_bool_exp - ): [v0_channel_map!]! - - """ - fetch aggregated fields from the table: "v0.channel_map" - """ - v0_channel_map_aggregate( - """distinct select on columns""" - distinct_on: [v0_channel_map_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_channel_map_order_by!] - - """filter the rows returned""" - where: v0_channel_map_bool_exp - ): v0_channel_map_aggregate! - - """ - fetch data from the table: "v0.clients" - """ - v0_clients( - """distinct select on columns""" - distinct_on: [v0_clients_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_clients_order_by!] - - """filter the rows returned""" - where: v0_clients_bool_exp - ): [v0_clients!]! - - """ - fetch aggregated fields from the table: "v0.clients" - """ - v0_clients_aggregate( - """distinct select on columns""" - distinct_on: [v0_clients_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_clients_order_by!] - - """filter the rows returned""" - where: v0_clients_bool_exp - ): v0_clients_aggregate! - - """fetch data from the table: "v0.clients" using primary key columns""" - v0_clients_by_pk(chain_id: Int!, client_id: String!, counterparty_chain_id: String!): v0_clients - - """ - fetch data from the table: "v0.connection_map" - """ - v0_connection_map( - """distinct select on columns""" - distinct_on: [v0_connection_map_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_connection_map_order_by!] - - """filter the rows returned""" - where: v0_connection_map_bool_exp - ): [v0_connection_map!]! - - """ - fetch aggregated fields from the table: "v0.connection_map" - """ - v0_connection_map_aggregate( - """distinct select on columns""" - distinct_on: [v0_connection_map_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_connection_map_order_by!] - - """filter the rows returned""" - where: v0_connection_map_bool_exp - ): v0_connection_map_aggregate! - - """ - fetch data from the table: "v0_cosmos.burn" - """ - v0_cosmos_burn( - """distinct select on columns""" - distinct_on: [v0_cosmos_burn_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_burn_order_by!] - - """filter the rows returned""" - where: v0_cosmos_burn_bool_exp - ): [v0_cosmos_burn!]! - - """ - fetch aggregated fields from the table: "v0_cosmos.burn" - """ - v0_cosmos_burn_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_burn_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_burn_order_by!] - - """filter the rows returned""" - where: v0_cosmos_burn_bool_exp - ): v0_cosmos_burn_aggregate! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.burn" - """ - v0_cosmos_burn_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_burn_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_burn_bool_exp - ): [v0_cosmos_burn!]! - - """ - fetch data from the table: "v0_cosmos.channel_open_ack" - """ - v0_cosmos_channel_open_ack( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_ack_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_ack_order_by!] - - """filter the rows returned""" - where: v0_cosmos_channel_open_ack_bool_exp - ): [v0_cosmos_channel_open_ack!]! - - """ - fetch aggregated fields from the table: "v0_cosmos.channel_open_ack" - """ - v0_cosmos_channel_open_ack_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_ack_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_ack_order_by!] - - """filter the rows returned""" - where: v0_cosmos_channel_open_ack_bool_exp - ): v0_cosmos_channel_open_ack_aggregate! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.channel_open_ack" - """ - v0_cosmos_channel_open_ack_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_channel_open_ack_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_channel_open_ack_bool_exp - ): [v0_cosmos_channel_open_ack!]! - - """ - fetch data from the table: "v0_cosmos.channel_open_init" - """ - v0_cosmos_channel_open_init( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_init_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_init_order_by!] - - """filter the rows returned""" - where: v0_cosmos_channel_open_init_bool_exp - ): [v0_cosmos_channel_open_init!]! - - """ - fetch aggregated fields from the table: "v0_cosmos.channel_open_init" - """ - v0_cosmos_channel_open_init_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_channel_open_init_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_channel_open_init_order_by!] - - """filter the rows returned""" - where: v0_cosmos_channel_open_init_bool_exp - ): v0_cosmos_channel_open_init_aggregate! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.channel_open_init" - """ - v0_cosmos_channel_open_init_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_channel_open_init_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_channel_open_init_bool_exp - ): [v0_cosmos_channel_open_init!]! - - """ - fetch data from the table: "v0_cosmos.transfer" - """ - v0_cosmos_transfer( - """distinct select on columns""" - distinct_on: [v0_cosmos_transfer_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_transfer_order_by!] - - """filter the rows returned""" - where: v0_cosmos_transfer_bool_exp - ): [v0_cosmos_transfer!]! - - """ - fetch aggregated fields from the table: "v0_cosmos.transfer" - """ - v0_cosmos_transfer_aggregate( - """distinct select on columns""" - distinct_on: [v0_cosmos_transfer_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_transfer_order_by!] - - """filter the rows returned""" - where: v0_cosmos_transfer_bool_exp - ): v0_cosmos_transfer_aggregate! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.transfer" - """ - v0_cosmos_transfer_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_transfer_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_transfer_bool_exp - ): [v0_cosmos_transfer!]! - - """ - fetch data from the table: "v0_cosmos.wasm_message" - """ - v0_cosmos_wasm_message( - """distinct select on columns""" - distinct_on: [v0_cosmos_wasm_message_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_wasm_message_order_by!] - - """filter the rows returned""" - where: v0_cosmos_wasm_message_bool_exp - ): [v0_cosmos_wasm_message!]! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.wasm_message" - """ - v0_cosmos_wasm_message_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_wasm_message_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_wasm_message_bool_exp - ): [v0_cosmos_wasm_message!]! - - """ - fetch data from the table: "v0_cosmos.withdraw_rewards" - """ - v0_cosmos_withdraw_rewards( - """distinct select on columns""" - distinct_on: [v0_cosmos_withdraw_rewards_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_cosmos_withdraw_rewards_order_by!] - - """filter the rows returned""" - where: v0_cosmos_withdraw_rewards_bool_exp - ): [v0_cosmos_withdraw_rewards!]! - - """ - fetch data from the table in a streaming manner: "v0_cosmos.withdraw_rewards" - """ - v0_cosmos_withdraw_rewards_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_cosmos_withdraw_rewards_stream_cursor_input]! - - """filter the rows returned""" - where: v0_cosmos_withdraw_rewards_bool_exp - ): [v0_cosmos_withdraw_rewards!]! - - """ - fetch data from the table: "v0_evm.client_created" - """ - v0_evm_client_created( - """distinct select on columns""" - distinct_on: [v0_evm_client_created_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_evm_client_created_order_by!] - - """filter the rows returned""" - where: v0_evm_client_created_bool_exp - ): [v0_evm_client_created!]! - - """ - fetch aggregated fields from the table: "v0_evm.client_created" - """ - v0_evm_client_created_aggregate( - """distinct select on columns""" - distinct_on: [v0_evm_client_created_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_evm_client_created_order_by!] - - """filter the rows returned""" - where: v0_evm_client_created_bool_exp - ): v0_evm_client_created_aggregate! - - """ - fetch data from the table: "v0_evm.recv_packet" - """ - v0_evm_recv_packet( - """distinct select on columns""" - distinct_on: [v0_evm_recv_packet_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_evm_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_evm_recv_packet_bool_exp - ): [v0_evm_recv_packet!]! - - """ - fetch data from the table: "v0.index_status" - """ - v0_index_status( - """distinct select on columns""" - distinct_on: [v0_index_status_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_index_status_order_by!] - - """filter the rows returned""" - where: v0_index_status_bool_exp - ): [v0_index_status!]! - - """ - fetch data from the table in a streaming manner: "v0.index_status" - """ - v0_index_status_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_index_status_stream_cursor_input]! - - """filter the rows returned""" - where: v0_index_status_bool_exp - ): [v0_index_status!]! - - """ - fetch data from the table: "v0.logs" - """ - v0_logs( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): [v0_logs!]! - - """ - fetch aggregated fields from the table: "v0.logs" - """ - v0_logs_aggregate( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): v0_logs_aggregate! - - """fetch data from the table: "v0.logs" using primary key columns""" - v0_logs_by_pk(block_hash: String!, chain_id: Int!): v0_logs - - """ - fetch data from the table: "v0.packets" - """ - v0_packets( - """distinct select on columns""" - distinct_on: [v0_packets_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_packets_order_by!] - - """filter the rows returned""" - where: v0_packets_bool_exp - ): [v0_packets!]! - - """ - fetch data from the table in a streaming manner: "v0.packets" - """ - v0_packets_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_packets_stream_cursor_input]! - - """filter the rows returned""" - where: v0_packets_bool_exp - ): [v0_packets!]! - - """ - fetch data from the table: "v0.recv_packet" - """ - v0_recv_packet( - """distinct select on columns""" - distinct_on: [v0_recv_packet_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_recv_packet_bool_exp - ): [v0_recv_packet!]! - - """ - fetch aggregated fields from the table: "v0.recv_packet" - """ - v0_recv_packet_aggregate( - """distinct select on columns""" - distinct_on: [v0_recv_packet_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_recv_packet_order_by!] - - """filter the rows returned""" - where: v0_recv_packet_bool_exp - ): v0_recv_packet_aggregate! - - """ - fetch data from the table in a streaming manner: "v0.recv_packet" - """ - v0_recv_packet_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_recv_packet_stream_cursor_input]! - - """filter the rows returned""" - where: v0_recv_packet_bool_exp - ): [v0_recv_packet!]! - - """ - fetch data from the table: "v0.transfers" - """ - v0_transfers( - """distinct select on columns""" - distinct_on: [v0_transfers_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_transfers_order_by!] - - """filter the rows returned""" - where: v0_transfers_bool_exp - ): [v0_transfers!]! - - """ - fetch data from the table in a streaming manner: "v0.transfers" - """ - v0_transfers_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [v0_transfers_stream_cursor_input]! - - """filter the rows returned""" - where: v0_transfers_bool_exp - ): [v0_transfers!]! -} - -scalar timestamptz - -""" -Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. -""" -input timestamptz_comparison_exp { - _eq: timestamptz - _gt: timestamptz - _gte: timestamptz - _in: [timestamptz!] - _is_null: Boolean - _lt: timestamptz - _lte: timestamptz - _neq: timestamptz - _nin: [timestamptz!] -} - -""" -columns and relationships of "v0.blocks" -""" -type v0_blocks { - """An object relationship""" - chain: v0_chains! - chain_id: Int! - data( - """JSON select path""" - path: String - ): jsonb! - hash: String! - height: Int! - time: timestamptz! -} - -""" -order by aggregate values of table "v0.blocks" -""" -input v0_blocks_aggregate_order_by { - avg: v0_blocks_avg_order_by - count: order_by - max: v0_blocks_max_order_by - min: v0_blocks_min_order_by - stddev: v0_blocks_stddev_order_by - stddev_pop: v0_blocks_stddev_pop_order_by - stddev_samp: v0_blocks_stddev_samp_order_by - sum: v0_blocks_sum_order_by - var_pop: v0_blocks_var_pop_order_by - var_samp: v0_blocks_var_samp_order_by - variance: v0_blocks_variance_order_by -} - -""" -order by avg() on columns of table "v0.blocks" -""" -input v0_blocks_avg_order_by { - chain_id: order_by - height: order_by -} - -""" -Boolean expression to filter rows from the table "v0.blocks". All fields are combined with a logical 'AND'. -""" -input v0_blocks_bool_exp { - _and: [v0_blocks_bool_exp!] - _not: v0_blocks_bool_exp - _or: [v0_blocks_bool_exp!] - chain: v0_chains_bool_exp - chain_id: Int_comparison_exp - data: jsonb_comparison_exp - hash: String_comparison_exp - height: Int_comparison_exp - time: timestamptz_comparison_exp -} - -""" -order by max() on columns of table "v0.blocks" -""" -input v0_blocks_max_order_by { - chain_id: order_by - hash: order_by - height: order_by - time: order_by -} - -""" -order by min() on columns of table "v0.blocks" -""" -input v0_blocks_min_order_by { - chain_id: order_by - hash: order_by - height: order_by - time: order_by -} - -"""Ordering options when selecting data from "v0.blocks".""" -input v0_blocks_order_by { - chain: v0_chains_order_by - chain_id: order_by - data: order_by - hash: order_by - height: order_by - time: order_by -} - -""" -select columns of table "v0.blocks" -""" -enum v0_blocks_select_column { - """column name""" - chain_id - - """column name""" - data - - """column name""" - hash - - """column name""" - height - - """column name""" - time -} - -""" -order by stddev() on columns of table "v0.blocks" -""" -input v0_blocks_stddev_order_by { - chain_id: order_by - height: order_by -} - -""" -order by stddev_pop() on columns of table "v0.blocks" -""" -input v0_blocks_stddev_pop_order_by { - chain_id: order_by - height: order_by -} - -""" -order by stddev_samp() on columns of table "v0.blocks" -""" -input v0_blocks_stddev_samp_order_by { - chain_id: order_by - height: order_by -} - -""" -Streaming cursor of the table "v0_blocks" -""" -input v0_blocks_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_blocks_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_blocks_stream_cursor_value_input { - chain_id: Int - data: jsonb - hash: String - height: Int - time: timestamptz -} - -""" -order by sum() on columns of table "v0.blocks" -""" -input v0_blocks_sum_order_by { - chain_id: order_by - height: order_by -} - -""" -order by var_pop() on columns of table "v0.blocks" -""" -input v0_blocks_var_pop_order_by { - chain_id: order_by - height: order_by -} - -""" -order by var_samp() on columns of table "v0.blocks" -""" -input v0_blocks_var_samp_order_by { - chain_id: order_by - height: order_by -} - -""" -order by variance() on columns of table "v0.blocks" -""" -input v0_blocks_variance_order_by { - chain_id: order_by - height: order_by -} - -""" -columns and relationships of "v0.chains" -""" -type v0_chains { - """An array relationship""" - blocks( - """distinct select on columns""" - distinct_on: [v0_blocks_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_blocks_order_by!] - - """filter the rows returned""" - where: v0_blocks_bool_exp - ): [v0_blocks!]! - chain_id: String! - display_name: String - id: Int! - - """An array relationship""" - logs( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): [v0_logs!]! - - """An aggregate relationship""" - logs_aggregate( - """distinct select on columns""" - distinct_on: [v0_logs_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [v0_logs_order_by!] - - """filter the rows returned""" - where: v0_logs_bool_exp - ): v0_logs_aggregate! - testnet: Boolean -} - -""" -aggregated selection of "v0.chains" -""" -type v0_chains_aggregate { - aggregate: v0_chains_aggregate_fields - nodes: [v0_chains!]! -} - -""" -aggregate fields of "v0.chains" -""" -type v0_chains_aggregate_fields { - avg: v0_chains_avg_fields - count(columns: [v0_chains_select_column!], distinct: Boolean): Int! - max: v0_chains_max_fields - min: v0_chains_min_fields - stddev: v0_chains_stddev_fields - stddev_pop: v0_chains_stddev_pop_fields - stddev_samp: v0_chains_stddev_samp_fields - sum: v0_chains_sum_fields - var_pop: v0_chains_var_pop_fields - var_samp: v0_chains_var_samp_fields - variance: v0_chains_variance_fields -} - -"""aggregate avg on columns""" -type v0_chains_avg_fields { - id: Float -} - -""" -Boolean expression to filter rows from the table "v0.chains". All fields are combined with a logical 'AND'. -""" -input v0_chains_bool_exp { - _and: [v0_chains_bool_exp!] - _not: v0_chains_bool_exp - _or: [v0_chains_bool_exp!] - blocks: v0_blocks_bool_exp - chain_id: String_comparison_exp - display_name: String_comparison_exp - id: Int_comparison_exp - logs: v0_logs_bool_exp - logs_aggregate: v0_logs_aggregate_bool_exp - testnet: Boolean_comparison_exp -} - -"""aggregate max on columns""" -type v0_chains_max_fields { - chain_id: String - display_name: String - id: Int -} - -"""aggregate min on columns""" -type v0_chains_min_fields { - chain_id: String - display_name: String - id: Int -} - -"""Ordering options when selecting data from "v0.chains".""" -input v0_chains_order_by { - blocks_aggregate: v0_blocks_aggregate_order_by - chain_id: order_by - display_name: order_by - id: order_by - logs_aggregate: v0_logs_aggregate_order_by - testnet: order_by -} - -""" -select columns of table "v0.chains" -""" -enum v0_chains_select_column { - """column name""" - chain_id - - """column name""" - display_name - - """column name""" - id - - """column name""" - testnet -} - -"""aggregate stddev on columns""" -type v0_chains_stddev_fields { - id: Float -} - -"""aggregate stddev_pop on columns""" -type v0_chains_stddev_pop_fields { - id: Float -} - -"""aggregate stddev_samp on columns""" -type v0_chains_stddev_samp_fields { - id: Float -} - -"""aggregate sum on columns""" -type v0_chains_sum_fields { - id: Int -} - -"""aggregate var_pop on columns""" -type v0_chains_var_pop_fields { - id: Float -} - -"""aggregate var_samp on columns""" -type v0_chains_var_samp_fields { - id: Float -} - -"""aggregate variance on columns""" -type v0_chains_variance_fields { - id: Float -} - -""" -columns and relationships of "v0.channel_map" -""" -type v0_channel_map { - """An object relationship""" - connection: v0_connection_map - - """An object relationship""" - destination: v0_chains - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - - """An object relationship""" - source: v0_chains - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String -} - -""" -aggregated selection of "v0.channel_map" -""" -type v0_channel_map_aggregate { - aggregate: v0_channel_map_aggregate_fields - nodes: [v0_channel_map!]! -} - -""" -aggregate fields of "v0.channel_map" -""" -type v0_channel_map_aggregate_fields { - avg: v0_channel_map_avg_fields - count(columns: [v0_channel_map_select_column!], distinct: Boolean): Int! - max: v0_channel_map_max_fields - min: v0_channel_map_min_fields - stddev: v0_channel_map_stddev_fields - stddev_pop: v0_channel_map_stddev_pop_fields - stddev_samp: v0_channel_map_stddev_samp_fields - sum: v0_channel_map_sum_fields - var_pop: v0_channel_map_var_pop_fields - var_samp: v0_channel_map_var_samp_fields - variance: v0_channel_map_variance_fields -} - -"""aggregate avg on columns""" -type v0_channel_map_avg_fields { - from_id: Float - to_id: Float -} - -""" -Boolean expression to filter rows from the table "v0.channel_map". All fields are combined with a logical 'AND'. -""" -input v0_channel_map_bool_exp { - _and: [v0_channel_map_bool_exp!] - _not: v0_channel_map_bool_exp - _or: [v0_channel_map_bool_exp!] - connection: v0_connection_map_bool_exp - destination: v0_chains_bool_exp - from_chain_id: String_comparison_exp - from_channel_id: String_comparison_exp - from_connection_id: String_comparison_exp - from_id: Int_comparison_exp - from_port_id: String_comparison_exp - source: v0_chains_bool_exp - status: String_comparison_exp - to_chain_id: String_comparison_exp - to_channel_id: String_comparison_exp - to_connection_id: String_comparison_exp - to_id: Int_comparison_exp - to_port_id: String_comparison_exp -} - -"""aggregate max on columns""" -type v0_channel_map_max_fields { - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String -} - -"""aggregate min on columns""" -type v0_channel_map_min_fields { - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String -} - -"""Ordering options when selecting data from "v0.channel_map".""" -input v0_channel_map_order_by { - connection: v0_connection_map_order_by - destination: v0_chains_order_by - from_chain_id: order_by - from_channel_id: order_by - from_connection_id: order_by - from_id: order_by - from_port_id: order_by - source: v0_chains_order_by - status: order_by - to_chain_id: order_by - to_channel_id: order_by - to_connection_id: order_by - to_id: order_by - to_port_id: order_by -} - -""" -select columns of table "v0.channel_map" -""" -enum v0_channel_map_select_column { - """column name""" - from_chain_id - - """column name""" - from_channel_id - - """column name""" - from_connection_id - - """column name""" - from_id - - """column name""" - from_port_id - - """column name""" - status - - """column name""" - to_chain_id - - """column name""" - to_channel_id - - """column name""" - to_connection_id - - """column name""" - to_id - - """column name""" - to_port_id -} - -"""aggregate stddev on columns""" -type v0_channel_map_stddev_fields { - from_id: Float - to_id: Float -} - -"""aggregate stddev_pop on columns""" -type v0_channel_map_stddev_pop_fields { - from_id: Float - to_id: Float -} - -"""aggregate stddev_samp on columns""" -type v0_channel_map_stddev_samp_fields { - from_id: Float - to_id: Float -} - -"""aggregate sum on columns""" -type v0_channel_map_sum_fields { - from_id: Int - to_id: Int -} - -"""aggregate var_pop on columns""" -type v0_channel_map_var_pop_fields { - from_id: Float - to_id: Float -} - -"""aggregate var_samp on columns""" -type v0_channel_map_var_samp_fields { - from_id: Float - to_id: Float -} - -"""aggregate variance on columns""" -type v0_channel_map_variance_fields { - from_id: Float - to_id: Float -} - -""" -columns and relationships of "v0.clients" -""" -type v0_clients { - chain_id: Int! - client_id: String! - counterparty_chain_id: String! -} - -""" -aggregated selection of "v0.clients" -""" -type v0_clients_aggregate { - aggregate: v0_clients_aggregate_fields - nodes: [v0_clients!]! -} - -""" -aggregate fields of "v0.clients" -""" -type v0_clients_aggregate_fields { - avg: v0_clients_avg_fields - count(columns: [v0_clients_select_column!], distinct: Boolean): Int! - max: v0_clients_max_fields - min: v0_clients_min_fields - stddev: v0_clients_stddev_fields - stddev_pop: v0_clients_stddev_pop_fields - stddev_samp: v0_clients_stddev_samp_fields - sum: v0_clients_sum_fields - var_pop: v0_clients_var_pop_fields - var_samp: v0_clients_var_samp_fields - variance: v0_clients_variance_fields -} - -"""aggregate avg on columns""" -type v0_clients_avg_fields { - chain_id: Float -} - -""" -Boolean expression to filter rows from the table "v0.clients". All fields are combined with a logical 'AND'. -""" -input v0_clients_bool_exp { - _and: [v0_clients_bool_exp!] - _not: v0_clients_bool_exp - _or: [v0_clients_bool_exp!] - chain_id: Int_comparison_exp - client_id: String_comparison_exp - counterparty_chain_id: String_comparison_exp -} - -"""aggregate max on columns""" -type v0_clients_max_fields { - chain_id: Int - client_id: String - counterparty_chain_id: String -} - -"""aggregate min on columns""" -type v0_clients_min_fields { - chain_id: Int - client_id: String - counterparty_chain_id: String -} - -"""Ordering options when selecting data from "v0.clients".""" -input v0_clients_order_by { - chain_id: order_by - client_id: order_by - counterparty_chain_id: order_by -} - -""" -select columns of table "v0.clients" -""" -enum v0_clients_select_column { - """column name""" - chain_id - - """column name""" - client_id - - """column name""" - counterparty_chain_id -} - -"""aggregate stddev on columns""" -type v0_clients_stddev_fields { - chain_id: Float -} - -"""aggregate stddev_pop on columns""" -type v0_clients_stddev_pop_fields { - chain_id: Float -} - -"""aggregate stddev_samp on columns""" -type v0_clients_stddev_samp_fields { - chain_id: Float -} - -"""aggregate sum on columns""" -type v0_clients_sum_fields { - chain_id: Int -} - -"""aggregate var_pop on columns""" -type v0_clients_var_pop_fields { - chain_id: Float -} - -"""aggregate var_samp on columns""" -type v0_clients_var_samp_fields { - chain_id: Float -} - -"""aggregate variance on columns""" -type v0_clients_variance_fields { - chain_id: Float -} - -""" -columns and relationships of "v0.connection_map" -""" -type v0_connection_map { - from_chain_id: String - from_client_id: String - from_connection_id: String - from_id: Int - status: String - to_chain_id: String - to_client_id: String - to_connection_id: String - to_id: Int -} - -""" -aggregated selection of "v0.connection_map" -""" -type v0_connection_map_aggregate { - aggregate: v0_connection_map_aggregate_fields - nodes: [v0_connection_map!]! -} - -""" -aggregate fields of "v0.connection_map" -""" -type v0_connection_map_aggregate_fields { - avg: v0_connection_map_avg_fields - count(columns: [v0_connection_map_select_column!], distinct: Boolean): Int! - max: v0_connection_map_max_fields - min: v0_connection_map_min_fields - stddev: v0_connection_map_stddev_fields - stddev_pop: v0_connection_map_stddev_pop_fields - stddev_samp: v0_connection_map_stddev_samp_fields - sum: v0_connection_map_sum_fields - var_pop: v0_connection_map_var_pop_fields - var_samp: v0_connection_map_var_samp_fields - variance: v0_connection_map_variance_fields -} - -"""aggregate avg on columns""" -type v0_connection_map_avg_fields { - from_id: Float - to_id: Float -} - -""" -Boolean expression to filter rows from the table "v0.connection_map". All fields are combined with a logical 'AND'. -""" -input v0_connection_map_bool_exp { - _and: [v0_connection_map_bool_exp!] - _not: v0_connection_map_bool_exp - _or: [v0_connection_map_bool_exp!] - from_chain_id: String_comparison_exp - from_client_id: String_comparison_exp - from_connection_id: String_comparison_exp - from_id: Int_comparison_exp - status: String_comparison_exp - to_chain_id: String_comparison_exp - to_client_id: String_comparison_exp - to_connection_id: String_comparison_exp - to_id: Int_comparison_exp -} - -"""aggregate max on columns""" -type v0_connection_map_max_fields { - from_chain_id: String - from_client_id: String - from_connection_id: String - from_id: Int - status: String - to_chain_id: String - to_client_id: String - to_connection_id: String - to_id: Int -} - -"""aggregate min on columns""" -type v0_connection_map_min_fields { - from_chain_id: String - from_client_id: String - from_connection_id: String - from_id: Int - status: String - to_chain_id: String - to_client_id: String - to_connection_id: String - to_id: Int -} - -"""Ordering options when selecting data from "v0.connection_map".""" -input v0_connection_map_order_by { - from_chain_id: order_by - from_client_id: order_by - from_connection_id: order_by - from_id: order_by - status: order_by - to_chain_id: order_by - to_client_id: order_by - to_connection_id: order_by - to_id: order_by -} - -""" -select columns of table "v0.connection_map" -""" -enum v0_connection_map_select_column { - """column name""" - from_chain_id - - """column name""" - from_client_id - - """column name""" - from_connection_id - - """column name""" - from_id - - """column name""" - status - - """column name""" - to_chain_id - - """column name""" - to_client_id - - """column name""" - to_connection_id - - """column name""" - to_id -} - -"""aggregate stddev on columns""" -type v0_connection_map_stddev_fields { - from_id: Float - to_id: Float -} - -"""aggregate stddev_pop on columns""" -type v0_connection_map_stddev_pop_fields { - from_id: Float - to_id: Float -} - -"""aggregate stddev_samp on columns""" -type v0_connection_map_stddev_samp_fields { - from_id: Float - to_id: Float -} - -"""aggregate sum on columns""" -type v0_connection_map_sum_fields { - from_id: Int - to_id: Int -} - -"""aggregate var_pop on columns""" -type v0_connection_map_var_pop_fields { - from_id: Float - to_id: Float -} - -"""aggregate var_samp on columns""" -type v0_connection_map_var_samp_fields { - from_id: Float - to_id: Float -} - -"""aggregate variance on columns""" -type v0_connection_map_variance_fields { - from_id: Float - to_id: Float -} - -""" -columns and relationships of "v0_cosmos.burn" -""" -type v0_cosmos_burn { - amount: bigint - - """An object relationship""" - block: v0_blocks - block_hash: String - burner: String - chain_id: Int - data( - """JSON select path""" - path: String - ): jsonb - denom: String - height: Int - index: Int - mode: String - time: timestamptz -} - -""" -aggregated selection of "v0_cosmos.burn" -""" -type v0_cosmos_burn_aggregate { - aggregate: v0_cosmos_burn_aggregate_fields - nodes: [v0_cosmos_burn!]! -} - -""" -aggregate fields of "v0_cosmos.burn" -""" -type v0_cosmos_burn_aggregate_fields { - avg: v0_cosmos_burn_avg_fields - count(columns: [v0_cosmos_burn_select_column!], distinct: Boolean): Int! - max: v0_cosmos_burn_max_fields - min: v0_cosmos_burn_min_fields - stddev: v0_cosmos_burn_stddev_fields - stddev_pop: v0_cosmos_burn_stddev_pop_fields - stddev_samp: v0_cosmos_burn_stddev_samp_fields - sum: v0_cosmos_burn_sum_fields - var_pop: v0_cosmos_burn_var_pop_fields - var_samp: v0_cosmos_burn_var_samp_fields - variance: v0_cosmos_burn_variance_fields -} - -"""aggregate avg on columns""" -type v0_cosmos_burn_avg_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.burn". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_burn_bool_exp { - _and: [v0_cosmos_burn_bool_exp!] - _not: v0_cosmos_burn_bool_exp - _or: [v0_cosmos_burn_bool_exp!] - amount: bigint_comparison_exp - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - burner: String_comparison_exp - chain_id: Int_comparison_exp - data: jsonb_comparison_exp - denom: String_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - mode: String_comparison_exp - time: timestamptz_comparison_exp -} - -"""aggregate max on columns""" -type v0_cosmos_burn_max_fields { - amount: bigint - block_hash: String - burner: String - chain_id: Int - denom: String - height: Int - index: Int - mode: String - time: timestamptz -} - -"""aggregate min on columns""" -type v0_cosmos_burn_min_fields { - amount: bigint - block_hash: String - burner: String - chain_id: Int - denom: String - height: Int - index: Int - mode: String - time: timestamptz -} - -"""Ordering options when selecting data from "v0_cosmos.burn".""" -input v0_cosmos_burn_order_by { - amount: order_by - block: v0_blocks_order_by - block_hash: order_by - burner: order_by - chain_id: order_by - data: order_by - denom: order_by - height: order_by - index: order_by - mode: order_by - time: order_by -} - -""" -select columns of table "v0_cosmos.burn" -""" -enum v0_cosmos_burn_select_column { - """column name""" - amount - - """column name""" - block_hash - - """column name""" - burner - - """column name""" - chain_id - - """column name""" - data - - """column name""" - denom - - """column name""" - height - - """column name""" - index - - """column name""" - mode - - """column name""" - time -} - -"""aggregate stddev on columns""" -type v0_cosmos_burn_stddev_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -"""aggregate stddev_pop on columns""" -type v0_cosmos_burn_stddev_pop_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -"""aggregate stddev_samp on columns""" -type v0_cosmos_burn_stddev_samp_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -""" -Streaming cursor of the table "v0_cosmos_burn" -""" -input v0_cosmos_burn_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_burn_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_burn_stream_cursor_value_input { - amount: bigint - block_hash: String - burner: String - chain_id: Int - data: jsonb - denom: String - height: Int - index: Int - mode: String - time: timestamptz -} - -"""aggregate sum on columns""" -type v0_cosmos_burn_sum_fields { - amount: bigint - chain_id: Int - height: Int - index: Int -} - -"""aggregate var_pop on columns""" -type v0_cosmos_burn_var_pop_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -"""aggregate var_samp on columns""" -type v0_cosmos_burn_var_samp_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -"""aggregate variance on columns""" -type v0_cosmos_burn_variance_fields { - amount: Float - chain_id: Float - height: Float - index: Float -} - -""" -columns and relationships of "v0_cosmos.channel_open_ack" -""" -type v0_cosmos_channel_open_ack { - """An object relationship""" - block: v0_blocks - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_channel_id: String - counterparty_port_id: String - data( - """JSON select path""" - path: String - ): jsonb - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -""" -aggregated selection of "v0_cosmos.channel_open_ack" -""" -type v0_cosmos_channel_open_ack_aggregate { - aggregate: v0_cosmos_channel_open_ack_aggregate_fields - nodes: [v0_cosmos_channel_open_ack!]! -} - -""" -aggregate fields of "v0_cosmos.channel_open_ack" -""" -type v0_cosmos_channel_open_ack_aggregate_fields { - avg: v0_cosmos_channel_open_ack_avg_fields - count(columns: [v0_cosmos_channel_open_ack_select_column!], distinct: Boolean): Int! - max: v0_cosmos_channel_open_ack_max_fields - min: v0_cosmos_channel_open_ack_min_fields - stddev: v0_cosmos_channel_open_ack_stddev_fields - stddev_pop: v0_cosmos_channel_open_ack_stddev_pop_fields - stddev_samp: v0_cosmos_channel_open_ack_stddev_samp_fields - sum: v0_cosmos_channel_open_ack_sum_fields - var_pop: v0_cosmos_channel_open_ack_var_pop_fields - var_samp: v0_cosmos_channel_open_ack_var_samp_fields - variance: v0_cosmos_channel_open_ack_variance_fields -} - -"""aggregate avg on columns""" -type v0_cosmos_channel_open_ack_avg_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.channel_open_ack". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_channel_open_ack_bool_exp { - _and: [v0_cosmos_channel_open_ack_bool_exp!] - _not: v0_cosmos_channel_open_ack_bool_exp - _or: [v0_cosmos_channel_open_ack_bool_exp!] - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - channel_id: String_comparison_exp - connection_id: String_comparison_exp - counterparty_channel_id: String_comparison_exp - counterparty_port_id: String_comparison_exp - data: jsonb_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - msg_index: Int_comparison_exp - port_id: String_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp -} - -"""aggregate max on columns""" -type v0_cosmos_channel_open_ack_max_fields { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_channel_id: String - counterparty_port_id: String - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -"""aggregate min on columns""" -type v0_cosmos_channel_open_ack_min_fields { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_channel_id: String - counterparty_port_id: String - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -""" -Ordering options when selecting data from "v0_cosmos.channel_open_ack". -""" -input v0_cosmos_channel_open_ack_order_by { - block: v0_blocks_order_by - block_hash: order_by - chain_id: order_by - channel_id: order_by - connection_id: order_by - counterparty_channel_id: order_by - counterparty_port_id: order_by - data: order_by - height: order_by - index: order_by - msg_index: order_by - port_id: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0_cosmos.channel_open_ack" -""" -enum v0_cosmos_channel_open_ack_select_column { - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - channel_id - - """column name""" - connection_id - - """column name""" - counterparty_channel_id - - """column name""" - counterparty_port_id - - """column name""" - data - - """column name""" - height - - """column name""" - index - - """column name""" - msg_index - - """column name""" - port_id - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index -} - -"""aggregate stddev on columns""" -type v0_cosmos_channel_open_ack_stddev_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate stddev_pop on columns""" -type v0_cosmos_channel_open_ack_stddev_pop_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate stddev_samp on columns""" -type v0_cosmos_channel_open_ack_stddev_samp_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -Streaming cursor of the table "v0_cosmos_channel_open_ack" -""" -input v0_cosmos_channel_open_ack_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_channel_open_ack_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_channel_open_ack_stream_cursor_value_input { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_channel_id: String - counterparty_port_id: String - data: jsonb - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -"""aggregate sum on columns""" -type v0_cosmos_channel_open_ack_sum_fields { - chain_id: Int - height: Int - index: Int - msg_index: Int - transaction_index: Int -} - -"""aggregate var_pop on columns""" -type v0_cosmos_channel_open_ack_var_pop_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate var_samp on columns""" -type v0_cosmos_channel_open_ack_var_samp_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate variance on columns""" -type v0_cosmos_channel_open_ack_variance_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -columns and relationships of "v0_cosmos.channel_open_init" -""" -type v0_cosmos_channel_open_init { - """An object relationship""" - block: v0_blocks - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_port_id: String - data( - """JSON select path""" - path: String - ): jsonb - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int - version: String -} - -""" -aggregated selection of "v0_cosmos.channel_open_init" -""" -type v0_cosmos_channel_open_init_aggregate { - aggregate: v0_cosmos_channel_open_init_aggregate_fields - nodes: [v0_cosmos_channel_open_init!]! -} - -""" -aggregate fields of "v0_cosmos.channel_open_init" -""" -type v0_cosmos_channel_open_init_aggregate_fields { - avg: v0_cosmos_channel_open_init_avg_fields - count(columns: [v0_cosmos_channel_open_init_select_column!], distinct: Boolean): Int! - max: v0_cosmos_channel_open_init_max_fields - min: v0_cosmos_channel_open_init_min_fields - stddev: v0_cosmos_channel_open_init_stddev_fields - stddev_pop: v0_cosmos_channel_open_init_stddev_pop_fields - stddev_samp: v0_cosmos_channel_open_init_stddev_samp_fields - sum: v0_cosmos_channel_open_init_sum_fields - var_pop: v0_cosmos_channel_open_init_var_pop_fields - var_samp: v0_cosmos_channel_open_init_var_samp_fields - variance: v0_cosmos_channel_open_init_variance_fields -} - -"""aggregate avg on columns""" -type v0_cosmos_channel_open_init_avg_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.channel_open_init". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_channel_open_init_bool_exp { - _and: [v0_cosmos_channel_open_init_bool_exp!] - _not: v0_cosmos_channel_open_init_bool_exp - _or: [v0_cosmos_channel_open_init_bool_exp!] - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - channel_id: String_comparison_exp - connection_id: String_comparison_exp - counterparty_port_id: String_comparison_exp - data: jsonb_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - msg_index: Int_comparison_exp - port_id: String_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp - version: String_comparison_exp -} - -"""aggregate max on columns""" -type v0_cosmos_channel_open_init_max_fields { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_port_id: String - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int - version: String -} - -"""aggregate min on columns""" -type v0_cosmos_channel_open_init_min_fields { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_port_id: String - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int - version: String -} - -""" -Ordering options when selecting data from "v0_cosmos.channel_open_init". -""" -input v0_cosmos_channel_open_init_order_by { - block: v0_blocks_order_by - block_hash: order_by - chain_id: order_by - channel_id: order_by - connection_id: order_by - counterparty_port_id: order_by - data: order_by - height: order_by - index: order_by - msg_index: order_by - port_id: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by - version: order_by -} - -""" -select columns of table "v0_cosmos.channel_open_init" -""" -enum v0_cosmos_channel_open_init_select_column { - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - channel_id - - """column name""" - connection_id - - """column name""" - counterparty_port_id - - """column name""" - data - - """column name""" - height - - """column name""" - index - - """column name""" - msg_index - - """column name""" - port_id - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index - - """column name""" - version -} - -"""aggregate stddev on columns""" -type v0_cosmos_channel_open_init_stddev_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate stddev_pop on columns""" -type v0_cosmos_channel_open_init_stddev_pop_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate stddev_samp on columns""" -type v0_cosmos_channel_open_init_stddev_samp_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -Streaming cursor of the table "v0_cosmos_channel_open_init" -""" -input v0_cosmos_channel_open_init_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_channel_open_init_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_channel_open_init_stream_cursor_value_input { - block_hash: String - chain_id: Int - channel_id: String - connection_id: String - counterparty_port_id: String - data: jsonb - height: Int - index: Int - msg_index: Int - port_id: String - time: timestamptz - transaction_hash: String - transaction_index: Int - version: String -} - -"""aggregate sum on columns""" -type v0_cosmos_channel_open_init_sum_fields { - chain_id: Int - height: Int - index: Int - msg_index: Int - transaction_index: Int -} - -"""aggregate var_pop on columns""" -type v0_cosmos_channel_open_init_var_pop_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate var_samp on columns""" -type v0_cosmos_channel_open_init_var_samp_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -"""aggregate variance on columns""" -type v0_cosmos_channel_open_init_variance_fields { - chain_id: Float - height: Float - index: Float - msg_index: Float - transaction_index: Float -} - -""" -columns and relationships of "v0_cosmos.transfer" -""" -type v0_cosmos_transfer { - amount: bigint - - """An object relationship""" - block: v0_blocks - block_hash: String - chain_id: Int - data( - """JSON select path""" - path: String - ): jsonb - denom: String - height: Int - index: Int - mode: String - recipient: String - sender: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -""" -aggregated selection of "v0_cosmos.transfer" -""" -type v0_cosmos_transfer_aggregate { - aggregate: v0_cosmos_transfer_aggregate_fields - nodes: [v0_cosmos_transfer!]! -} - -""" -aggregate fields of "v0_cosmos.transfer" -""" -type v0_cosmos_transfer_aggregate_fields { - avg: v0_cosmos_transfer_avg_fields - count(columns: [v0_cosmos_transfer_select_column!], distinct: Boolean): Int! - max: v0_cosmos_transfer_max_fields - min: v0_cosmos_transfer_min_fields - stddev: v0_cosmos_transfer_stddev_fields - stddev_pop: v0_cosmos_transfer_stddev_pop_fields - stddev_samp: v0_cosmos_transfer_stddev_samp_fields - sum: v0_cosmos_transfer_sum_fields - var_pop: v0_cosmos_transfer_var_pop_fields - var_samp: v0_cosmos_transfer_var_samp_fields - variance: v0_cosmos_transfer_variance_fields -} - -"""aggregate avg on columns""" -type v0_cosmos_transfer_avg_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.transfer". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_transfer_bool_exp { - _and: [v0_cosmos_transfer_bool_exp!] - _not: v0_cosmos_transfer_bool_exp - _or: [v0_cosmos_transfer_bool_exp!] - amount: bigint_comparison_exp - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - data: jsonb_comparison_exp - denom: String_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - mode: String_comparison_exp - recipient: String_comparison_exp - sender: String_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp -} - -"""aggregate max on columns""" -type v0_cosmos_transfer_max_fields { - amount: bigint - block_hash: String - chain_id: Int - denom: String - height: Int - index: Int - mode: String - recipient: String - sender: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -"""aggregate min on columns""" -type v0_cosmos_transfer_min_fields { - amount: bigint - block_hash: String - chain_id: Int - denom: String - height: Int - index: Int - mode: String - recipient: String - sender: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -"""Ordering options when selecting data from "v0_cosmos.transfer".""" -input v0_cosmos_transfer_order_by { - amount: order_by - block: v0_blocks_order_by - block_hash: order_by - chain_id: order_by - data: order_by - denom: order_by - height: order_by - index: order_by - mode: order_by - recipient: order_by - sender: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0_cosmos.transfer" -""" -enum v0_cosmos_transfer_select_column { - """column name""" - amount - - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - data - - """column name""" - denom - - """column name""" - height - - """column name""" - index - - """column name""" - mode - - """column name""" - recipient - - """column name""" - sender - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index -} - -"""aggregate stddev on columns""" -type v0_cosmos_transfer_stddev_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -"""aggregate stddev_pop on columns""" -type v0_cosmos_transfer_stddev_pop_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -"""aggregate stddev_samp on columns""" -type v0_cosmos_transfer_stddev_samp_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -""" -Streaming cursor of the table "v0_cosmos_transfer" -""" -input v0_cosmos_transfer_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_transfer_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_transfer_stream_cursor_value_input { - amount: bigint - block_hash: String - chain_id: Int - data: jsonb - denom: String - height: Int - index: Int - mode: String - recipient: String - sender: String - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -"""aggregate sum on columns""" -type v0_cosmos_transfer_sum_fields { - amount: bigint - chain_id: Int - height: Int - index: Int - transaction_index: Int -} - -"""aggregate var_pop on columns""" -type v0_cosmos_transfer_var_pop_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -"""aggregate var_samp on columns""" -type v0_cosmos_transfer_var_samp_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -"""aggregate variance on columns""" -type v0_cosmos_transfer_variance_fields { - amount: Float - chain_id: Float - height: Float - index: Float - transaction_index: Float -} - -""" -columns and relationships of "v0_cosmos.wasm_message" -""" -type v0_cosmos_wasm_message { - _contract_address: String - - """An object relationship""" - block: v0_blocks - block_hash: String - chain_id: Int - data( - """JSON select path""" - path: String - ): jsonb - height: Int - index: Int - module: String - msg_index: Int - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.wasm_message". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_wasm_message_bool_exp { - _and: [v0_cosmos_wasm_message_bool_exp!] - _contract_address: String_comparison_exp - _not: v0_cosmos_wasm_message_bool_exp - _or: [v0_cosmos_wasm_message_bool_exp!] - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - data: jsonb_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - module: String_comparison_exp - msg_index: Int_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp -} - -"""Ordering options when selecting data from "v0_cosmos.wasm_message".""" -input v0_cosmos_wasm_message_order_by { - _contract_address: order_by - block: v0_blocks_order_by - block_hash: order_by - chain_id: order_by - data: order_by - height: order_by - index: order_by - module: order_by - msg_index: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0_cosmos.wasm_message" -""" -enum v0_cosmos_wasm_message_select_column { - """column name""" - _contract_address - - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - data - - """column name""" - height - - """column name""" - index - - """column name""" - module - - """column name""" - msg_index - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index -} - -""" -Streaming cursor of the table "v0_cosmos_wasm_message" -""" -input v0_cosmos_wasm_message_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_wasm_message_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_wasm_message_stream_cursor_value_input { - _contract_address: String - block_hash: String - chain_id: Int - data: jsonb - height: Int - index: Int - module: String - msg_index: Int - time: timestamptz - transaction_hash: String - transaction_index: Int -} - -""" -columns and relationships of "v0_cosmos.withdraw_rewards" -""" -type v0_cosmos_withdraw_rewards { - amount: bigint - - """An object relationship""" - block: v0_blocks - block_hash: String - chain_id: Int - data( - """JSON select path""" - path: String - ): jsonb - delegator: String - denom: String - height: Int - index: Int - msg_index: Int - time: timestamptz - transaction_hash: String - transaction_index: Int - validator: String -} - -""" -Boolean expression to filter rows from the table "v0_cosmos.withdraw_rewards". All fields are combined with a logical 'AND'. -""" -input v0_cosmos_withdraw_rewards_bool_exp { - _and: [v0_cosmos_withdraw_rewards_bool_exp!] - _not: v0_cosmos_withdraw_rewards_bool_exp - _or: [v0_cosmos_withdraw_rewards_bool_exp!] - amount: bigint_comparison_exp - block: v0_blocks_bool_exp - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - data: jsonb_comparison_exp - delegator: String_comparison_exp - denom: String_comparison_exp - height: Int_comparison_exp - index: Int_comparison_exp - msg_index: Int_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp - validator: String_comparison_exp -} - -""" -Ordering options when selecting data from "v0_cosmos.withdraw_rewards". -""" -input v0_cosmos_withdraw_rewards_order_by { - amount: order_by - block: v0_blocks_order_by - block_hash: order_by - chain_id: order_by - data: order_by - delegator: order_by - denom: order_by - height: order_by - index: order_by - msg_index: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by - validator: order_by -} - -""" -select columns of table "v0_cosmos.withdraw_rewards" -""" -enum v0_cosmos_withdraw_rewards_select_column { - """column name""" - amount - - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - data - - """column name""" - delegator - - """column name""" - denom - - """column name""" - height - - """column name""" - index - - """column name""" - msg_index - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index - - """column name""" - validator -} - -""" -Streaming cursor of the table "v0_cosmos_withdraw_rewards" -""" -input v0_cosmos_withdraw_rewards_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_cosmos_withdraw_rewards_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_cosmos_withdraw_rewards_stream_cursor_value_input { - amount: bigint - block_hash: String - chain_id: Int - data: jsonb - delegator: String - denom: String - height: Int - index: Int - msg_index: Int - time: timestamptz - transaction_hash: String - transaction_index: Int - validator: String -} - -""" -columns and relationships of "v0_evm.client_created" -""" -type v0_evm_client_created { - block_hash: String - chain_id: Int - client_id: String - height: Int - log_index: String - log_to_jsonb( - """JSON select path""" - path: String - ): jsonb - name: String - raw_log( - """JSON select path""" - path: String - ): jsonb - time: timestamptz - transaction_hash: String - transaction_index: String -} - -""" -aggregated selection of "v0_evm.client_created" -""" -type v0_evm_client_created_aggregate { - aggregate: v0_evm_client_created_aggregate_fields - nodes: [v0_evm_client_created!]! -} - -""" -aggregate fields of "v0_evm.client_created" -""" -type v0_evm_client_created_aggregate_fields { - avg: v0_evm_client_created_avg_fields - count(columns: [v0_evm_client_created_select_column!], distinct: Boolean): Int! - max: v0_evm_client_created_max_fields - min: v0_evm_client_created_min_fields - stddev: v0_evm_client_created_stddev_fields - stddev_pop: v0_evm_client_created_stddev_pop_fields - stddev_samp: v0_evm_client_created_stddev_samp_fields - sum: v0_evm_client_created_sum_fields - var_pop: v0_evm_client_created_var_pop_fields - var_samp: v0_evm_client_created_var_samp_fields - variance: v0_evm_client_created_variance_fields -} - -"""aggregate avg on columns""" -type v0_evm_client_created_avg_fields { - chain_id: Float - height: Float -} - -""" -Boolean expression to filter rows from the table "v0_evm.client_created". All fields are combined with a logical 'AND'. -""" -input v0_evm_client_created_bool_exp { - _and: [v0_evm_client_created_bool_exp!] - _not: v0_evm_client_created_bool_exp - _or: [v0_evm_client_created_bool_exp!] - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - client_id: String_comparison_exp - height: Int_comparison_exp - log_index: String_comparison_exp - log_to_jsonb: jsonb_comparison_exp - name: String_comparison_exp - raw_log: jsonb_comparison_exp - time: timestamptz_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: String_comparison_exp -} - -"""aggregate max on columns""" -type v0_evm_client_created_max_fields { - block_hash: String - chain_id: Int - client_id: String - height: Int - log_index: String - name: String - time: timestamptz - transaction_hash: String - transaction_index: String -} - -"""aggregate min on columns""" -type v0_evm_client_created_min_fields { - block_hash: String - chain_id: Int - client_id: String - height: Int - log_index: String - name: String - time: timestamptz - transaction_hash: String - transaction_index: String -} - -"""Ordering options when selecting data from "v0_evm.client_created".""" -input v0_evm_client_created_order_by { - block_hash: order_by - chain_id: order_by - client_id: order_by - height: order_by - log_index: order_by - log_to_jsonb: order_by - name: order_by - raw_log: order_by - time: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0_evm.client_created" -""" -enum v0_evm_client_created_select_column { - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - client_id - - """column name""" - height - - """column name""" - log_index - - """column name""" - log_to_jsonb - - """column name""" - name - - """column name""" - raw_log - - """column name""" - time - - """column name""" - transaction_hash - - """column name""" - transaction_index -} - -"""aggregate stddev on columns""" -type v0_evm_client_created_stddev_fields { - chain_id: Float - height: Float -} - -"""aggregate stddev_pop on columns""" -type v0_evm_client_created_stddev_pop_fields { - chain_id: Float - height: Float -} - -"""aggregate stddev_samp on columns""" -type v0_evm_client_created_stddev_samp_fields { - chain_id: Float - height: Float -} - -"""aggregate sum on columns""" -type v0_evm_client_created_sum_fields { - chain_id: Int - height: Int -} - -"""aggregate var_pop on columns""" -type v0_evm_client_created_var_pop_fields { - chain_id: Float - height: Float -} - -"""aggregate var_samp on columns""" -type v0_evm_client_created_var_samp_fields { - chain_id: Float - height: Float -} - -"""aggregate variance on columns""" -type v0_evm_client_created_variance_fields { - chain_id: Float - height: Float -} - -""" -columns and relationships of "v0_evm.recv_packet" -""" -type v0_evm_recv_packet { - block_hash: String - chain_id: Int - data: String - destination_channel: String - destination_port: String - height: Int - log_index: String - log_to_jsonb( - """JSON select path""" - path: String - ): jsonb - name: String - packet( - """JSON select path""" - path: String - ): jsonb - raw_log( - """JSON select path""" - path: String - ): jsonb - revision_height: numeric - revision_number: numeric - sequence: numeric - source_channel: String - source_port: String - time: timestamptz - timeout_height( - """JSON select path""" - path: String - ): jsonb - timeout_timestamp: numeric - transaction_hash: String - transaction_index: String -} - -""" -Boolean expression to filter rows from the table "v0_evm.recv_packet". All fields are combined with a logical 'AND'. -""" -input v0_evm_recv_packet_bool_exp { - _and: [v0_evm_recv_packet_bool_exp!] - _not: v0_evm_recv_packet_bool_exp - _or: [v0_evm_recv_packet_bool_exp!] - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - data: String_comparison_exp - destination_channel: String_comparison_exp - destination_port: String_comparison_exp - height: Int_comparison_exp - log_index: String_comparison_exp - log_to_jsonb: jsonb_comparison_exp - name: String_comparison_exp - packet: jsonb_comparison_exp - raw_log: jsonb_comparison_exp - revision_height: numeric_comparison_exp - revision_number: numeric_comparison_exp - sequence: numeric_comparison_exp - source_channel: String_comparison_exp - source_port: String_comparison_exp - time: timestamptz_comparison_exp - timeout_height: jsonb_comparison_exp - timeout_timestamp: numeric_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: String_comparison_exp -} - -"""Ordering options when selecting data from "v0_evm.recv_packet".""" -input v0_evm_recv_packet_order_by { - block_hash: order_by - chain_id: order_by - data: order_by - destination_channel: order_by - destination_port: order_by - height: order_by - log_index: order_by - log_to_jsonb: order_by - name: order_by - packet: order_by - raw_log: order_by - revision_height: order_by - revision_number: order_by - sequence: order_by - source_channel: order_by - source_port: order_by - time: order_by - timeout_height: order_by - timeout_timestamp: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0_evm.recv_packet" -""" -enum v0_evm_recv_packet_select_column { - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - data - - """column name""" - destination_channel - - """column name""" - destination_port - - """column name""" - height - - """column name""" - log_index - - """column name""" - log_to_jsonb - - """column name""" - name - - """column name""" - packet - - """column name""" - raw_log - - """column name""" - revision_height - - """column name""" - revision_number - - """column name""" - sequence - - """column name""" - source_channel - - """column name""" - source_port - - """column name""" - time - - """column name""" - timeout_height - - """column name""" - timeout_timestamp - - """column name""" - transaction_hash - - """column name""" - transaction_index -} - -""" -columns and relationships of "v0.index_status" -""" -type v0_index_status { - chain_id: String - display_name: String - height: Int - id: Int - status: String - timestamp: timestamptz - tip_age_seconds: numeric -} - -""" -Boolean expression to filter rows from the table "v0.index_status". All fields are combined with a logical 'AND'. -""" -input v0_index_status_bool_exp { - _and: [v0_index_status_bool_exp!] - _not: v0_index_status_bool_exp - _or: [v0_index_status_bool_exp!] - chain_id: String_comparison_exp - display_name: String_comparison_exp - height: Int_comparison_exp - id: Int_comparison_exp - status: String_comparison_exp - timestamp: timestamptz_comparison_exp - tip_age_seconds: numeric_comparison_exp -} - -"""Ordering options when selecting data from "v0.index_status".""" -input v0_index_status_order_by { - chain_id: order_by - display_name: order_by - height: order_by - id: order_by - status: order_by - timestamp: order_by - tip_age_seconds: order_by -} - -""" -select columns of table "v0.index_status" -""" -enum v0_index_status_select_column { - """column name""" - chain_id - - """column name""" - display_name - - """column name""" - height - - """column name""" - id - - """column name""" - status - - """column name""" - timestamp - - """column name""" - tip_age_seconds -} +"""Initial value of the column from where the streaming should start""" +input v0_assets_stream_cursor_value_input { + chain_id: Int + decimals: Int + denom: String + display_symbol: String + logo_uri: String +} """ -Streaming cursor of the table "v0_index_status" +columns and relationships of "v0.blocks" """ -input v0_index_status_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_index_status_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_index_status_stream_cursor_value_input { - chain_id: String - display_name: String - height: Int - id: Int - status: String - timestamp: timestamptz - tip_age_seconds: numeric -} - -"""Raw, unprocessed data""" -type v0_logs { - block_hash: String! - +type v0_blocks { """An object relationship""" chain: v0_chains! chain_id: Int! @@ -4361,689 +618,85 @@ type v0_logs { """JSON select path""" path: String ): jsonb! + hash: String! height: Int! time: timestamptz! } """ -aggregated selection of "v0.logs" -""" -type v0_logs_aggregate { - aggregate: v0_logs_aggregate_fields - nodes: [v0_logs!]! -} - -input v0_logs_aggregate_bool_exp { - count: v0_logs_aggregate_bool_exp_count -} - -input v0_logs_aggregate_bool_exp_count { - arguments: [v0_logs_select_column!] - distinct: Boolean - filter: v0_logs_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "v0.logs" -""" -type v0_logs_aggregate_fields { - avg: v0_logs_avg_fields - count(columns: [v0_logs_select_column!], distinct: Boolean): Int! - max: v0_logs_max_fields - min: v0_logs_min_fields - stddev: v0_logs_stddev_fields - stddev_pop: v0_logs_stddev_pop_fields - stddev_samp: v0_logs_stddev_samp_fields - sum: v0_logs_sum_fields - var_pop: v0_logs_var_pop_fields - var_samp: v0_logs_var_samp_fields - variance: v0_logs_variance_fields -} - -""" -order by aggregate values of table "v0.logs" +order by aggregate values of table "v0.blocks" """ -input v0_logs_aggregate_order_by { - avg: v0_logs_avg_order_by +input v0_blocks_aggregate_order_by { + avg: v0_blocks_avg_order_by count: order_by - max: v0_logs_max_order_by - min: v0_logs_min_order_by - stddev: v0_logs_stddev_order_by - stddev_pop: v0_logs_stddev_pop_order_by - stddev_samp: v0_logs_stddev_samp_order_by - sum: v0_logs_sum_order_by - var_pop: v0_logs_var_pop_order_by - var_samp: v0_logs_var_samp_order_by - variance: v0_logs_variance_order_by -} - -"""aggregate avg on columns""" -type v0_logs_avg_fields { - chain_id: Float - height: Float + max: v0_blocks_max_order_by + min: v0_blocks_min_order_by + stddev: v0_blocks_stddev_order_by + stddev_pop: v0_blocks_stddev_pop_order_by + stddev_samp: v0_blocks_stddev_samp_order_by + sum: v0_blocks_sum_order_by + var_pop: v0_blocks_var_pop_order_by + var_samp: v0_blocks_var_samp_order_by + variance: v0_blocks_variance_order_by } """ -order by avg() on columns of table "v0.logs" +order by avg() on columns of table "v0.blocks" """ -input v0_logs_avg_order_by { +input v0_blocks_avg_order_by { chain_id: order_by height: order_by } """ -Boolean expression to filter rows from the table "v0.logs". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "v0.blocks". All fields are combined with a logical 'AND'. """ -input v0_logs_bool_exp { - _and: [v0_logs_bool_exp!] - _not: v0_logs_bool_exp - _or: [v0_logs_bool_exp!] - block_hash: String_comparison_exp +input v0_blocks_bool_exp { + _and: [v0_blocks_bool_exp!] + _not: v0_blocks_bool_exp + _or: [v0_blocks_bool_exp!] chain: v0_chains_bool_exp chain_id: Int_comparison_exp data: jsonb_comparison_exp + hash: String_comparison_exp height: Int_comparison_exp time: timestamptz_comparison_exp } -"""aggregate max on columns""" -type v0_logs_max_fields { - block_hash: String - chain_id: Int - height: Int - time: timestamptz -} - """ -order by max() on columns of table "v0.logs" +order by max() on columns of table "v0.blocks" """ -input v0_logs_max_order_by { - block_hash: order_by +input v0_blocks_max_order_by { chain_id: order_by + hash: order_by height: order_by time: order_by } -"""aggregate min on columns""" -type v0_logs_min_fields { - block_hash: String - chain_id: Int - height: Int - time: timestamptz -} - """ -order by min() on columns of table "v0.logs" +order by min() on columns of table "v0.blocks" """ -input v0_logs_min_order_by { - block_hash: order_by +input v0_blocks_min_order_by { chain_id: order_by + hash: order_by height: order_by time: order_by } -"""Ordering options when selecting data from "v0.logs".""" -input v0_logs_order_by { - block_hash: order_by +"""Ordering options when selecting data from "v0.blocks".""" +input v0_blocks_order_by { chain: v0_chains_order_by chain_id: order_by data: order_by + hash: order_by height: order_by time: order_by } """ -select columns of table "v0.logs" -""" -enum v0_logs_select_column { - """column name""" - block_hash - - """column name""" - chain_id - - """column name""" - data - - """column name""" - height - - """column name""" - time -} - -"""aggregate stddev on columns""" -type v0_logs_stddev_fields { - chain_id: Float - height: Float -} - -""" -order by stddev() on columns of table "v0.logs" -""" -input v0_logs_stddev_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate stddev_pop on columns""" -type v0_logs_stddev_pop_fields { - chain_id: Float - height: Float -} - -""" -order by stddev_pop() on columns of table "v0.logs" -""" -input v0_logs_stddev_pop_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate stddev_samp on columns""" -type v0_logs_stddev_samp_fields { - chain_id: Float - height: Float -} - -""" -order by stddev_samp() on columns of table "v0.logs" -""" -input v0_logs_stddev_samp_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate sum on columns""" -type v0_logs_sum_fields { - chain_id: Int - height: Int -} - -""" -order by sum() on columns of table "v0.logs" -""" -input v0_logs_sum_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate var_pop on columns""" -type v0_logs_var_pop_fields { - chain_id: Float - height: Float -} - -""" -order by var_pop() on columns of table "v0.logs" -""" -input v0_logs_var_pop_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate var_samp on columns""" -type v0_logs_var_samp_fields { - chain_id: Float - height: Float -} - -""" -order by var_samp() on columns of table "v0.logs" -""" -input v0_logs_var_samp_order_by { - chain_id: order_by - height: order_by -} - -"""aggregate variance on columns""" -type v0_logs_variance_fields { - chain_id: Float - height: Float -} - -""" -order by variance() on columns of table "v0.logs" -""" -input v0_logs_variance_order_by { - chain_id: order_by - height: order_by -} - -""" -columns and relationships of "v0.packets" -""" -type v0_packets { - destination_block_hash: String - destination_chain_id: Int - destination_channel: String - destination_data: String - destination_height: Int - destination_json( - """JSON select path""" - path: String - ): jsonb - destination_port: String - destination_sequence: numeric - destination_time: timestamptz - destination_timeout_timestamp: numeric - destination_transaction_hash: String - destination_transaction_index: String - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - source_block_hash: String - source_chain_id: Int - source_channel: String - source_data: String - source_height: Int - source_json( - """JSON select path""" - path: String - ): jsonb - source_port: String - source_sequence: numeric - source_time: timestamptz - source_timeout_timestamp: numeric - source_transaction_hash: String - source_transaction_index: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String -} - -""" -Boolean expression to filter rows from the table "v0.packets". All fields are combined with a logical 'AND'. -""" -input v0_packets_bool_exp { - _and: [v0_packets_bool_exp!] - _not: v0_packets_bool_exp - _or: [v0_packets_bool_exp!] - destination_block_hash: String_comparison_exp - destination_chain_id: Int_comparison_exp - destination_channel: String_comparison_exp - destination_data: String_comparison_exp - destination_height: Int_comparison_exp - destination_json: jsonb_comparison_exp - destination_port: String_comparison_exp - destination_sequence: numeric_comparison_exp - destination_time: timestamptz_comparison_exp - destination_timeout_timestamp: numeric_comparison_exp - destination_transaction_hash: String_comparison_exp - destination_transaction_index: String_comparison_exp - from_chain_id: String_comparison_exp - from_channel_id: String_comparison_exp - from_connection_id: String_comparison_exp - from_id: Int_comparison_exp - from_port_id: String_comparison_exp - source_block_hash: String_comparison_exp - source_chain_id: Int_comparison_exp - source_channel: String_comparison_exp - source_data: String_comparison_exp - source_height: Int_comparison_exp - source_json: jsonb_comparison_exp - source_port: String_comparison_exp - source_sequence: numeric_comparison_exp - source_time: timestamptz_comparison_exp - source_timeout_timestamp: numeric_comparison_exp - source_transaction_hash: String_comparison_exp - source_transaction_index: String_comparison_exp - status: String_comparison_exp - to_chain_id: String_comparison_exp - to_channel_id: String_comparison_exp - to_connection_id: String_comparison_exp - to_id: Int_comparison_exp - to_port_id: String_comparison_exp -} - -"""Ordering options when selecting data from "v0.packets".""" -input v0_packets_order_by { - destination_block_hash: order_by - destination_chain_id: order_by - destination_channel: order_by - destination_data: order_by - destination_height: order_by - destination_json: order_by - destination_port: order_by - destination_sequence: order_by - destination_time: order_by - destination_timeout_timestamp: order_by - destination_transaction_hash: order_by - destination_transaction_index: order_by - from_chain_id: order_by - from_channel_id: order_by - from_connection_id: order_by - from_id: order_by - from_port_id: order_by - source_block_hash: order_by - source_chain_id: order_by - source_channel: order_by - source_data: order_by - source_height: order_by - source_json: order_by - source_port: order_by - source_sequence: order_by - source_time: order_by - source_timeout_timestamp: order_by - source_transaction_hash: order_by - source_transaction_index: order_by - status: order_by - to_chain_id: order_by - to_channel_id: order_by - to_connection_id: order_by - to_id: order_by - to_port_id: order_by -} - -""" -select columns of table "v0.packets" -""" -enum v0_packets_select_column { - """column name""" - destination_block_hash - - """column name""" - destination_chain_id - - """column name""" - destination_channel - - """column name""" - destination_data - - """column name""" - destination_height - - """column name""" - destination_json - - """column name""" - destination_port - - """column name""" - destination_sequence - - """column name""" - destination_time - - """column name""" - destination_timeout_timestamp - - """column name""" - destination_transaction_hash - - """column name""" - destination_transaction_index - - """column name""" - from_chain_id - - """column name""" - from_channel_id - - """column name""" - from_connection_id - - """column name""" - from_id - - """column name""" - from_port_id - - """column name""" - source_block_hash - - """column name""" - source_chain_id - - """column name""" - source_channel - - """column name""" - source_data - - """column name""" - source_height - - """column name""" - source_json - - """column name""" - source_port - - """column name""" - source_sequence - - """column name""" - source_time - - """column name""" - source_timeout_timestamp - - """column name""" - source_transaction_hash - - """column name""" - source_transaction_index - - """column name""" - status - - """column name""" - to_chain_id - - """column name""" - to_channel_id - - """column name""" - to_connection_id - - """column name""" - to_id - - """column name""" - to_port_id -} - -""" -Streaming cursor of the table "v0_packets" -""" -input v0_packets_stream_cursor_input { - """Stream column input with initial value""" - initial_value: v0_packets_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input v0_packets_stream_cursor_value_input { - destination_block_hash: String - destination_chain_id: Int - destination_channel: String - destination_data: String - destination_height: Int - destination_json: jsonb - destination_port: String - destination_sequence: numeric - destination_time: timestamptz - destination_timeout_timestamp: numeric - destination_transaction_hash: String - destination_transaction_index: String - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - source_block_hash: String - source_chain_id: Int - source_channel: String - source_data: String - source_height: Int - source_json: jsonb - source_port: String - source_sequence: numeric - source_time: timestamptz - source_timeout_timestamp: numeric - source_transaction_hash: String - source_transaction_index: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String -} - -""" -columns and relationships of "v0.recv_packet" -""" -type v0_recv_packet { - block_hash: String - chain_id: Int - - """An object relationship""" - channel: v0_channel_map - data: String - destination_channel: String - destination_port: String - height: Int - json( - """JSON select path""" - path: String - ): jsonb - sequence: numeric - source_channel: String - source_port: String - time: timestamptz - timeout_timestamp: numeric - transaction_hash: String - transaction_index: String -} - -""" -aggregated selection of "v0.recv_packet" -""" -type v0_recv_packet_aggregate { - aggregate: v0_recv_packet_aggregate_fields - nodes: [v0_recv_packet!]! -} - -""" -aggregate fields of "v0.recv_packet" -""" -type v0_recv_packet_aggregate_fields { - avg: v0_recv_packet_avg_fields - count(columns: [v0_recv_packet_select_column!], distinct: Boolean): Int! - max: v0_recv_packet_max_fields - min: v0_recv_packet_min_fields - stddev: v0_recv_packet_stddev_fields - stddev_pop: v0_recv_packet_stddev_pop_fields - stddev_samp: v0_recv_packet_stddev_samp_fields - sum: v0_recv_packet_sum_fields - var_pop: v0_recv_packet_var_pop_fields - var_samp: v0_recv_packet_var_samp_fields - variance: v0_recv_packet_variance_fields -} - -"""aggregate avg on columns""" -type v0_recv_packet_avg_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float -} - -""" -Boolean expression to filter rows from the table "v0.recv_packet". All fields are combined with a logical 'AND'. -""" -input v0_recv_packet_bool_exp { - _and: [v0_recv_packet_bool_exp!] - _not: v0_recv_packet_bool_exp - _or: [v0_recv_packet_bool_exp!] - block_hash: String_comparison_exp - chain_id: Int_comparison_exp - channel: v0_channel_map_bool_exp - data: String_comparison_exp - destination_channel: String_comparison_exp - destination_port: String_comparison_exp - height: Int_comparison_exp - json: jsonb_comparison_exp - sequence: numeric_comparison_exp - source_channel: String_comparison_exp - source_port: String_comparison_exp - time: timestamptz_comparison_exp - timeout_timestamp: numeric_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: String_comparison_exp -} - -"""aggregate max on columns""" -type v0_recv_packet_max_fields { - block_hash: String - chain_id: Int - data: String - destination_channel: String - destination_port: String - height: Int - sequence: numeric - source_channel: String - source_port: String - time: timestamptz - timeout_timestamp: numeric - transaction_hash: String - transaction_index: String -} - -"""aggregate min on columns""" -type v0_recv_packet_min_fields { - block_hash: String - chain_id: Int - data: String - destination_channel: String - destination_port: String - height: Int - sequence: numeric - source_channel: String - source_port: String - time: timestamptz - timeout_timestamp: numeric - transaction_hash: String - transaction_index: String -} - -"""Ordering options when selecting data from "v0.recv_packet".""" -input v0_recv_packet_order_by { - block_hash: order_by - chain_id: order_by - channel: v0_channel_map_order_by - data: order_by - destination_channel: order_by - destination_port: order_by - height: order_by - json: order_by - sequence: order_by - source_channel: order_by - source_port: order_by - time: order_by - timeout_timestamp: order_by - transaction_hash: order_by - transaction_index: order_by -} - -""" -select columns of table "v0.recv_packet" +select columns of table "v0.blocks" """ -enum v0_recv_packet_select_column { - """column name""" - block_hash - +enum v0_blocks_select_column { """column name""" chain_id @@ -5051,434 +704,330 @@ enum v0_recv_packet_select_column { data """column name""" - destination_channel - - """column name""" - destination_port + hash """column name""" height - """column name""" - json - - """column name""" - sequence - - """column name""" - source_channel - - """column name""" - source_port - """column name""" time - - """column name""" - timeout_timestamp - - """column name""" - transaction_hash - - """column name""" - transaction_index } -"""aggregate stddev on columns""" -type v0_recv_packet_stddev_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float +""" +order by stddev() on columns of table "v0.blocks" +""" +input v0_blocks_stddev_order_by { + chain_id: order_by + height: order_by } -"""aggregate stddev_pop on columns""" -type v0_recv_packet_stddev_pop_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float +""" +order by stddev_pop() on columns of table "v0.blocks" +""" +input v0_blocks_stddev_pop_order_by { + chain_id: order_by + height: order_by } -"""aggregate stddev_samp on columns""" -type v0_recv_packet_stddev_samp_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float +""" +order by stddev_samp() on columns of table "v0.blocks" +""" +input v0_blocks_stddev_samp_order_by { + chain_id: order_by + height: order_by } """ -Streaming cursor of the table "v0_recv_packet" +Streaming cursor of the table "v0_blocks" """ -input v0_recv_packet_stream_cursor_input { +input v0_blocks_stream_cursor_input { """Stream column input with initial value""" - initial_value: v0_recv_packet_stream_cursor_value_input! + initial_value: v0_blocks_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input v0_recv_packet_stream_cursor_value_input { - block_hash: String +input v0_blocks_stream_cursor_value_input { chain_id: Int - data: String - destination_channel: String - destination_port: String + data: jsonb + hash: String height: Int - json: jsonb - sequence: numeric - source_channel: String - source_port: String time: timestamptz - timeout_timestamp: numeric - transaction_hash: String - transaction_index: String -} - -"""aggregate sum on columns""" -type v0_recv_packet_sum_fields { - chain_id: Int - height: Int - sequence: numeric - timeout_timestamp: numeric } -"""aggregate var_pop on columns""" -type v0_recv_packet_var_pop_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float -} - -"""aggregate var_samp on columns""" -type v0_recv_packet_var_samp_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float -} - -"""aggregate variance on columns""" -type v0_recv_packet_variance_fields { - chain_id: Float - height: Float - sequence: Float - timeout_timestamp: Float +""" +order by sum() on columns of table "v0.blocks" +""" +input v0_blocks_sum_order_by { + chain_id: order_by + height: order_by } """ -columns and relationships of "v0.transfers" +order by var_pop() on columns of table "v0.blocks" """ -type v0_transfers { - assets( - """JSON select path""" - path: String - ): jsonb - destination_block_hash: String - destination_chain_id: Int - destination_channel: String - destination_data: String - destination_height: Int - destination_json( - """JSON select path""" - path: String - ): jsonb - destination_port: String - destination_sequence: numeric - destination_time: timestamptz - destination_timeout_timestamp: numeric - destination_transaction_hash: String - destination_transaction_index: String - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - receiver: String - sender: String - source_block_hash: String - source_chain_id: Int - source_channel: String - source_data: String - source_height: Int - source_json( - """JSON select path""" - path: String - ): jsonb - source_port: String - source_sequence: numeric - source_time: timestamptz - source_timeout_timestamp: numeric - source_transaction_hash: String - source_transaction_index: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String +input v0_blocks_var_pop_order_by { + chain_id: order_by + height: order_by } """ -Boolean expression to filter rows from the table "v0.transfers". All fields are combined with a logical 'AND'. +order by var_samp() on columns of table "v0.blocks" """ -input v0_transfers_bool_exp { - _and: [v0_transfers_bool_exp!] - _not: v0_transfers_bool_exp - _or: [v0_transfers_bool_exp!] - assets: jsonb_comparison_exp - destination_block_hash: String_comparison_exp - destination_chain_id: Int_comparison_exp - destination_channel: String_comparison_exp - destination_data: String_comparison_exp - destination_height: Int_comparison_exp - destination_json: jsonb_comparison_exp - destination_port: String_comparison_exp - destination_sequence: numeric_comparison_exp - destination_time: timestamptz_comparison_exp - destination_timeout_timestamp: numeric_comparison_exp - destination_transaction_hash: String_comparison_exp - destination_transaction_index: String_comparison_exp - from_chain_id: String_comparison_exp - from_channel_id: String_comparison_exp - from_connection_id: String_comparison_exp - from_id: Int_comparison_exp - from_port_id: String_comparison_exp - receiver: String_comparison_exp - sender: String_comparison_exp - source_block_hash: String_comparison_exp - source_chain_id: Int_comparison_exp - source_channel: String_comparison_exp - source_data: String_comparison_exp - source_height: Int_comparison_exp - source_json: jsonb_comparison_exp - source_port: String_comparison_exp - source_sequence: numeric_comparison_exp - source_time: timestamptz_comparison_exp - source_timeout_timestamp: numeric_comparison_exp - source_transaction_hash: String_comparison_exp - source_transaction_index: String_comparison_exp - status: String_comparison_exp - to_chain_id: String_comparison_exp - to_channel_id: String_comparison_exp - to_connection_id: String_comparison_exp - to_id: Int_comparison_exp - to_port_id: String_comparison_exp +input v0_blocks_var_samp_order_by { + chain_id: order_by + height: order_by } -"""Ordering options when selecting data from "v0.transfers".""" -input v0_transfers_order_by { - assets: order_by - destination_block_hash: order_by - destination_chain_id: order_by - destination_channel: order_by - destination_data: order_by - destination_height: order_by - destination_json: order_by - destination_port: order_by - destination_sequence: order_by - destination_time: order_by - destination_timeout_timestamp: order_by - destination_transaction_hash: order_by - destination_transaction_index: order_by - from_chain_id: order_by - from_channel_id: order_by - from_connection_id: order_by - from_id: order_by - from_port_id: order_by - receiver: order_by - sender: order_by - source_block_hash: order_by - source_chain_id: order_by - source_channel: order_by - source_data: order_by - source_height: order_by - source_json: order_by - source_port: order_by - source_sequence: order_by - source_time: order_by - source_timeout_timestamp: order_by - source_transaction_hash: order_by - source_transaction_index: order_by - status: order_by - to_chain_id: order_by - to_channel_id: order_by - to_connection_id: order_by - to_id: order_by - to_port_id: order_by +""" +order by variance() on columns of table "v0.blocks" +""" +input v0_blocks_variance_order_by { + chain_id: order_by + height: order_by } """ -select columns of table "v0.transfers" +columns and relationships of "v0.chains" """ -enum v0_transfers_select_column { - """column name""" - assets - - """column name""" - destination_block_hash - - """column name""" - destination_chain_id - - """column name""" - destination_channel - - """column name""" - destination_data +type v0_chains { + """An array relationship""" + blocks( + """distinct select on columns""" + distinct_on: [v0_blocks_select_column!] - """column name""" - destination_height + """limit the number of rows returned""" + limit: Int - """column name""" - destination_json + """skip the first n rows. Use only with order_by""" + offset: Int - """column name""" - destination_port + """sort the rows by one or more columns""" + order_by: [v0_blocks_order_by!] - """column name""" - destination_sequence + """filter the rows returned""" + where: v0_blocks_bool_exp + ): [v0_blocks!]! + chain_id: String! + display_name: String + id: Int! + rpc_type: String + testnet: Boolean +} - """column name""" - destination_time +""" +Boolean expression to filter rows from the table "v0.chains". All fields are combined with a logical 'AND'. +""" +input v0_chains_bool_exp { + _and: [v0_chains_bool_exp!] + _not: v0_chains_bool_exp + _or: [v0_chains_bool_exp!] + blocks: v0_blocks_bool_exp + chain_id: String_comparison_exp + display_name: String_comparison_exp + id: Int_comparison_exp + rpc_type: String_comparison_exp + testnet: Boolean_comparison_exp +} - """column name""" - destination_timeout_timestamp +"""Ordering options when selecting data from "v0.chains".""" +input v0_chains_order_by { + blocks_aggregate: v0_blocks_aggregate_order_by + chain_id: order_by + display_name: order_by + id: order_by + rpc_type: order_by + testnet: order_by +} +""" +select columns of table "v0.chains" +""" +enum v0_chains_select_column { """column name""" - destination_transaction_hash + chain_id """column name""" - destination_transaction_index + display_name """column name""" - from_chain_id + id """column name""" - from_channel_id + rpc_type """column name""" - from_connection_id + testnet +} - """column name""" - from_id +""" +Streaming cursor of the table "v0_chains" +""" +input v0_chains_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_chains_stream_cursor_value_input! - """column name""" - from_port_id + """cursor ordering""" + ordering: cursor_ordering +} - """column name""" - receiver +"""Initial value of the column from where the streaming should start""" +input v0_chains_stream_cursor_value_input { + chain_id: String + display_name: String + id: Int + rpc_type: String + testnet: Boolean +} - """column name""" - sender +""" +columns and relationships of "v0.index_status" +""" +type v0_index_status { + chain_id: String + display_name: String + height: Int + id: Int + status: String + timestamp: timestamptz + tip_age_seconds: numeric +} - """column name""" - source_block_hash +""" +Boolean expression to filter rows from the table "v0.index_status". All fields are combined with a logical 'AND'. +""" +input v0_index_status_bool_exp { + _and: [v0_index_status_bool_exp!] + _not: v0_index_status_bool_exp + _or: [v0_index_status_bool_exp!] + chain_id: String_comparison_exp + display_name: String_comparison_exp + height: Int_comparison_exp + id: Int_comparison_exp + status: String_comparison_exp + timestamp: timestamptz_comparison_exp + tip_age_seconds: numeric_comparison_exp +} - """column name""" - source_chain_id +"""Ordering options when selecting data from "v0.index_status".""" +input v0_index_status_order_by { + chain_id: order_by + display_name: order_by + height: order_by + id: order_by + status: order_by + timestamp: order_by + tip_age_seconds: order_by +} +""" +select columns of table "v0.index_status" +""" +enum v0_index_status_select_column { """column name""" - source_channel + chain_id """column name""" - source_data + display_name """column name""" - source_height + height """column name""" - source_json + id """column name""" - source_port + status """column name""" - source_sequence + timestamp """column name""" - source_time + tip_age_seconds +} - """column name""" - source_timeout_timestamp +""" +Streaming cursor of the table "v0_index_status" +""" +input v0_index_status_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_index_status_stream_cursor_value_input! - """column name""" - source_transaction_hash + """cursor ordering""" + ordering: cursor_ordering +} - """column name""" - source_transaction_index +"""Initial value of the column from where the streaming should start""" +input v0_index_status_stream_cursor_value_input { + chain_id: String + display_name: String + height: Int + id: Int + status: String + timestamp: timestamptz + tip_age_seconds: numeric +} - """column name""" - status +"""Various RPC endpoints for the different networks that Union supports. """ +type v0_rpcs { + """An object relationship""" + chain: v0_chains! + chain_id: Int! + description: String + url: String! +} - """column name""" - to_chain_id +""" +Boolean expression to filter rows from the table "v0.rpcs". All fields are combined with a logical 'AND'. +""" +input v0_rpcs_bool_exp { + _and: [v0_rpcs_bool_exp!] + _not: v0_rpcs_bool_exp + _or: [v0_rpcs_bool_exp!] + chain: v0_chains_bool_exp + chain_id: Int_comparison_exp + description: String_comparison_exp + url: String_comparison_exp +} - """column name""" - to_channel_id +"""Ordering options when selecting data from "v0.rpcs".""" +input v0_rpcs_order_by { + chain: v0_chains_order_by + chain_id: order_by + description: order_by + url: order_by +} +""" +select columns of table "v0.rpcs" +""" +enum v0_rpcs_select_column { """column name""" - to_connection_id + chain_id """column name""" - to_id + description """column name""" - to_port_id + url } """ -Streaming cursor of the table "v0_transfers" +Streaming cursor of the table "v0_rpcs" """ -input v0_transfers_stream_cursor_input { +input v0_rpcs_stream_cursor_input { """Stream column input with initial value""" - initial_value: v0_transfers_stream_cursor_value_input! + initial_value: v0_rpcs_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input v0_transfers_stream_cursor_value_input { - assets: jsonb - destination_block_hash: String - destination_chain_id: Int - destination_channel: String - destination_data: String - destination_height: Int - destination_json: jsonb - destination_port: String - destination_sequence: numeric - destination_time: timestamptz - destination_timeout_timestamp: numeric - destination_transaction_hash: String - destination_transaction_index: String - from_chain_id: String - from_channel_id: String - from_connection_id: String - from_id: Int - from_port_id: String - receiver: String - sender: String - source_block_hash: String - source_chain_id: Int - source_channel: String - source_data: String - source_height: Int - source_json: jsonb - source_port: String - source_sequence: numeric - source_time: timestamptz - source_timeout_timestamp: numeric - source_transaction_hash: String - source_transaction_index: String - status: String - to_chain_id: String - to_channel_id: String - to_connection_id: String - to_id: Int - to_port_id: String +input v0_rpcs_stream_cursor_value_input { + chain_id: Int + description: String + url: String } \ No newline at end of file diff --git a/app/src/lib/graphql/documents/chains.ts b/app/src/lib/graphql/documents/chains.ts new file mode 100644 index 0000000000..7fb4bf26f7 --- /dev/null +++ b/app/src/lib/graphql/documents/chains.ts @@ -0,0 +1,12 @@ +import { graphql } from "gql.tada" + +export const chainsQueryDocument = graphql(/* GraphQL */ `query ChainsQuery { + v0_chains { + bech32_prefix + chain_id + display_name + id + rpc_type + testnet + } +}`) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index af9d2b8b38..f03fd2f305 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -3,7 +3,7 @@ import { KEY } from "$lib/constants/keys.ts" import { CHAIN_URLS } from "$lib/constants"; import type { Address } from "viem" import { getEvmTokensInfo } from "./token-info.ts" -import { createQuery } from "@tanstack/svelte-query" +import { createQueries, createQuery } from "@tanstack/svelte-query" import type { ChainId } from "$/lib/constants/assets.ts" import { isValidEvmAddress } from "$lib/wallet/utilities/validate" import { isValidCosmosAddress } from "$lib/wallet/utilities/validate"; @@ -122,42 +122,43 @@ const cosmosBalancesResponseSchema = v.object({ export function cosmosBalancesQuery({ address, - chainId + chainIds }: { address: string - chainId: string + chainIds: Array }) { - return createQuery({ - queryKey: ["balances", chainId, address], - enabled: isValidCosmosAddress(address), - refetchOnWindowFocus: false, - queryFn: async () => { - const restUrl = CHAIN_URLS[chainId].REST - - let json: undefined | unknown; - try { - const response = await fetch(`${restUrl}/cosmos/bank/v1beta1/balances/${address}`); - - if (!response.ok) return new Error("invalid response"); - - json = await response.json() - } catch(err) { - if (err instanceof Error) { - raise(`error fetching balances from /cosmos/bank: ${err.message}`); - } - raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); - } - - const result = v.safeParse(cosmosBalancesResponseSchema, json); - - if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); - - return result.output.balances.map((x) => ({ - address: x.denom, - symbol: x.denom, - balance: x.amount, - decimals: 0 - })) - } + return createQueries({ + queries: chainIds.map((chainId) => ({ + queryKey: ["balances", chainId, address], + enabled: isValidCosmosAddress(address), + refetchOnWindowFocus: false, + queryFn: async () => { + const restUrl = CHAIN_URLS[chainId].REST + + let json: undefined | unknown; + try { + const response = await fetch(`${restUrl}/cosmos/bank/v1beta1/balances/${address}`); + + if (!response.ok) return new Error("invalid response"); + + json = await response.json() + } catch(err) { + if (err instanceof Error) { + raise(`error fetching balances from /cosmos/bank: ${err.message}`); + } + raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); + } + + const result = v.safeParse(cosmosBalancesResponseSchema, json); + + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); + + return result.output.balances.map((x) => ({ + address: x.denom, + symbol: x.denom, + balance: x.amount, + decimals: 0 + })) + }})) }) } diff --git a/app/src/lib/queries/chains.ts b/app/src/lib/queries/chains.ts new file mode 100644 index 0000000000..e89042d59f --- /dev/null +++ b/app/src/lib/queries/chains.ts @@ -0,0 +1,15 @@ +import { createQuery } from "@tanstack/svelte-query" +import { chainsQueryDocument } from '$lib/graphql/documents/chains' + +import { request } from "graphql-request" +import { URLS } from "$lib/constants" + +export const chainsQuery = () => + createQuery({ + queryKey: ["chains"], + queryFn: async () => request(URLS.GRAPHQL, chainsQueryDocument, {}), + enabled: true, + refetchInterval: 6_000, + refetchOnWindowFocus: false + }) + diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 8ef07e4e2c..46ebfb0e5a 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -3,6 +3,7 @@ import { derived, type Readable } from 'svelte/store'; import { cosmosBalancesQuery, evmBalancesQuery } from '$lib/queries/balance' + import { chainsQuery } from '$lib/queries/chains' import { sepoliaStore } from "$lib/wallet/evm/config.ts" import { cosmosStore } from "$lib/wallet/cosmos" import { summarizeString } from '$lib/utilities/format'; @@ -17,10 +18,13 @@ let cosmosBalances: null | ReturnType; $: if ($cosmosStore.address) cosmosBalances = cosmosBalancesQuery({ - chainId: 'union-testnet-8', + chainIds: ['union-testnet-8', 'osmo-test-5'], address: $cosmosStore.address }) + + let chains = chainsQuery(); + let derivedAddress: Readable = derived(cosmosStore, ($cosmosStore) => { if (!$cosmosStore.rawAddress) return null; const words = bech32.toWords($cosmosStore.rawAddress); @@ -33,6 +37,7 @@ Welcome to Union +
{JSON.stringify($chains, null, 2)}

Connect an EVM and Cosmos wallet to begin bridging.

@@ -78,6 +83,7 @@ {/if}

Cosmos

+
{JSON.stringify($cosmosBalances, null, 2)}
{#if $cosmosBalances} {#if $cosmosBalances.isLoading} Loading... From 36d1272badbece0304cd62231415fdff853f8956 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 14:13:16 +0200 Subject: [PATCH 12/19] feat(app): display raw address --- app/src/routes/+page.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 46ebfb0e5a..c7ea18e636 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -37,7 +37,7 @@ Welcome to Union -
{JSON.stringify($chains, null, 2)}
+

Connect an EVM and Cosmos wallet to begin bridging.

@@ -53,6 +53,9 @@
{#if $cosmosStore.address && $cosmosStore.rawAddress } ✅ Cosmos wallet {summarizeString($cosmosStore.address, 6)} connected + {$derivedAddress} + + 0x{ Array.from($cosmosStore.rawAddress).map((i) => i.toString(16).padStart(2, '0')).join('')} {:else} Connect cosmos wallet {/if} From 383fbe900e7eec62ca56a7f392edad056a386b21 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 19:21:39 +0200 Subject: [PATCH 13/19] feat(app): balances --- app/src/generated/graphql-env.d.ts | 1967 +++++++++++++++++++++-- app/src/generated/schema.graphql | 439 +++++ app/src/lib/graphql/documents/chains.ts | 12 +- app/src/lib/queries/balance.ts | 85 +- app/src/lib/utilities/address.ts | 10 + app/src/routes/+page.svelte | 97 +- 6 files changed, 2410 insertions(+), 200 deletions(-) create mode 100644 app/src/lib/utilities/address.ts diff --git a/app/src/generated/graphql-env.d.ts b/app/src/generated/graphql-env.d.ts index a130213986..34b4c8e8cb 100644 --- a/app/src/generated/graphql-env.d.ts +++ b/app/src/generated/graphql-env.d.ts @@ -202,6 +202,10 @@ export type introspection = { ], "interfaces": [] }, + { + "kind": "SCALAR", + "name": "Float" + }, { "kind": "SCALAR", "name": "Int" @@ -1117,6 +1121,132 @@ export type introspection = { ], "isDeprecated": false }, + { + "name": "v0_channels", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_channels_aggregate", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels_aggregate" + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + ], + "isDeprecated": false + }, { "name": "v0_index_status", "type": { @@ -1712,7 +1842,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_index_status", + "name": "v0_channels", "type": { "kind": "NON_NULL", "ofType": { @@ -1721,7 +1851,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_index_status" + "name": "v0_channels" } } } @@ -1735,7 +1865,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_index_status_select_column" + "name": "v0_channels_select_column" } } } @@ -1762,7 +1892,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by" + "name": "v0_channels_order_by" } } } @@ -1771,14 +1901,74 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_channels_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_index_status_stream", + "name": "v0_channels_aggregate", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels_aggregate" + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_channels_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -1787,7 +1977,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_index_status" + "name": "v0_channels" } } } @@ -1811,7 +2001,7 @@ export type introspection = { "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_input" + "name": "v0_channels_stream_cursor_input" } } } @@ -1820,14 +2010,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_channels_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs", + "name": "v0_index_status", "type": { "kind": "NON_NULL", "ofType": { @@ -1836,7 +2026,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_rpcs" + "name": "v0_index_status" } } } @@ -1850,7 +2040,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_rpcs_select_column" + "name": "v0_index_status_select_column" } } } @@ -1877,7 +2067,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_order_by" + "name": "v0_index_status_order_by" } } } @@ -1886,21 +2076,30 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "name": "v0_index_status_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs_by_pk", + "name": "v0_index_status_stream", "type": { - "kind": "OBJECT", - "name": "v0_rpcs" + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_index_status" + } + } + } }, "args": [ { - "name": "chain_id", + "name": "batch_size", "type": { "kind": "NON_NULL", "ofType": { @@ -1910,20 +2109,30 @@ export type introspection = { } }, { - "name": "url", + "name": "cursor", "type": { "kind": "NON_NULL", "ofType": { - "kind": "SCALAR", - "name": "String" + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_stream_cursor_input" + } } } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } } ], "isDeprecated": false }, { - "name": "v0_rpcs_stream", + "name": "v0_rpcs", "type": { "kind": "NON_NULL", "ofType": { @@ -1939,34 +2148,130 @@ export type introspection = { }, "args": [ { - "name": "batch_size", + "name": "distinct_on", "type": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_rpcs_select_column" + } } } }, { - "name": "cursor", + "name": "limit", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stream_cursor_input" - } - } + "kind": "SCALAR", + "name": "Int" } }, { - "name": "where", + "name": "offset", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" - } + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_rpcs_by_pk", + "type": { + "kind": "OBJECT", + "name": "v0_rpcs" + }, + "args": [ + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_rpcs_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } } ], "isDeprecated": false @@ -2963,6 +3268,15 @@ export type introspection = { "kind": "OBJECT", "name": "v0_chains", "fields": [ + { + "name": "addr_prefix", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, { "name": "blocks", "type": { @@ -3050,6 +3364,15 @@ export type introspection = { "args": [], "isDeprecated": false }, + { + "name": "enabled", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + }, { "name": "id", "type": { @@ -3071,6 +3394,72 @@ export type introspection = { "args": [], "isDeprecated": false }, + { + "name": "rpcs", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_rpcs_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + ], + "isDeprecated": false + }, { "name": "testnet", "type": { @@ -3120,6 +3509,13 @@ export type introspection = { } } }, + { + "name": "addr_prefix", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, { "name": "blocks", "type": { @@ -3141,6 +3537,13 @@ export type introspection = { "name": "String_comparison_exp" } }, + { + "name": "enabled", + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp" + } + }, { "name": "id", "type": { @@ -3155,6 +3558,13 @@ export type introspection = { "name": "String_comparison_exp" } }, + { + "name": "rpcs", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + }, { "name": "testnet", "type": { @@ -3169,6 +3579,13 @@ export type introspection = { "kind": "INPUT_OBJECT", "name": "v0_chains_order_by", "inputFields": [ + { + "name": "addr_prefix", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, { "name": "blocks_aggregate", "type": { @@ -3190,6 +3607,13 @@ export type introspection = { "name": "order_by" } }, + { + "name": "enabled", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, { "name": "id", "type": { @@ -3204,6 +3628,13 @@ export type introspection = { "name": "order_by" } }, + { + "name": "rpcs_aggregate", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_aggregate_order_by" + } + }, { "name": "testnet", "type": { @@ -3218,6 +3649,10 @@ export type introspection = { "kind": "ENUM", "name": "v0_chains_select_column", "enumValues": [ + { + "name": "addr_prefix", + "isDeprecated": false + }, { "name": "chain_id", "isDeprecated": false @@ -3226,6 +3661,10 @@ export type introspection = { "name": "display_name", "isDeprecated": false }, + { + "name": "enabled", + "isDeprecated": false + }, { "name": "id", "isDeprecated": false @@ -3268,6 +3707,13 @@ export type introspection = { "kind": "INPUT_OBJECT", "name": "v0_chains_stream_cursor_value_input", "inputFields": [ + { + "name": "addr_prefix", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, { "name": "chain_id", "type": { @@ -3282,6 +3728,13 @@ export type introspection = { "name": "String" } }, + { + "name": "enabled", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, { "name": "id", "type": { @@ -3308,46 +3761,46 @@ export type introspection = { }, { "kind": "OBJECT", - "name": "v0_index_status", + "name": "v0_channels", "fields": [ { - "name": "chain_id", + "name": "destination_chain", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "OBJECT", + "name": "v0_chains" }, "args": [], "isDeprecated": false }, { - "name": "display_name", + "name": "destination_chain_id", "type": { "kind": "SCALAR", - "name": "String" + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "height", + "name": "destination_channel_id", "type": { "kind": "SCALAR", - "name": "Int" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "id", + "name": "destination_connection_id", "type": { "kind": "SCALAR", - "name": "Int" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "status", + "name": "destination_port_id", "type": { "kind": "SCALAR", "name": "String" @@ -3356,11 +3809,994 @@ export type introspection = { "isDeprecated": false }, { - "name": "timestamp", + "name": "source_chain", "type": { - "kind": "SCALAR", - "name": "timestamptz" - }, + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_aggregate", + "fields": [ + { + "name": "aggregate", + "type": { + "kind": "OBJECT", + "name": "v0_channels_aggregate_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels" + } + } + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_aggregate_fields", + "fields": [ + { + "name": "avg", + "type": { + "kind": "OBJECT", + "name": "v0_channels_avg_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "count", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [ + { + "name": "columns", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } + } + } + }, + { + "name": "distinct", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + } + ], + "isDeprecated": false + }, + { + "name": "max", + "type": { + "kind": "OBJECT", + "name": "v0_channels_max_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "min", + "type": { + "kind": "OBJECT", + "name": "v0_channels_min_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev_pop", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_pop_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev_samp", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_samp_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "sum", + "type": { + "kind": "OBJECT", + "name": "v0_channels_sum_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "var_pop", + "type": { + "kind": "OBJECT", + "name": "v0_channels_var_pop_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "var_samp", + "type": { + "kind": "OBJECT", + "name": "v0_channels_var_samp_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "variance", + "type": { + "kind": "OBJECT", + "name": "v0_channels_variance_fields" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_avg_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + } + }, + { + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "destination_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "source_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "source_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "status", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channels_max_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_min_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by", + "inputFields": [ + { + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "destination_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "source_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "status", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_channels_select_column", + "enumValues": [ + { + "name": "destination_chain_id", + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "isDeprecated": false + }, + { + "name": "destination_port_id", + "isDeprecated": false + }, + { + "name": "source_chain_id", + "isDeprecated": false + }, + { + "name": "source_channel_id", + "isDeprecated": false + }, + { + "name": "source_connection_id", + "isDeprecated": false + }, + { + "name": "source_port_id", + "isDeprecated": false + }, + { + "name": "status", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_pop_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_samp_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_value_input", + "inputFields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channels_sum_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_var_pop_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_var_samp_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_variance_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_index_status", + "fields": [ + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "display_name", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "height", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "timestamp", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + }, "args": [], "isDeprecated": false }, @@ -3598,94 +5034,204 @@ export type introspection = { } }, { - "name": "height", + "name": "height", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "timestamp", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "tip_age_seconds", + "type": { + "kind": "SCALAR", + "name": "numeric" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_rpcs", + "fields": [ + { + "name": "chain", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "type", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_aggregate_order_by", + "inputFields": [ + { + "name": "avg", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_avg_order_by" + } + }, + { + "name": "count", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "max", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_max_order_by" + } + }, + { + "name": "min", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_min_order_by" + } + }, + { + "name": "stddev", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_order_by" + } + }, + { + "name": "stddev_pop", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_pop_order_by" + } + }, + { + "name": "stddev_samp", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_samp_order_by" } }, { - "name": "id", + "name": "sum", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_sum_order_by" } }, { - "name": "status", + "name": "var_pop", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_pop_order_by" } }, { - "name": "timestamp", + "name": "var_samp", "type": { - "kind": "SCALAR", - "name": "timestamptz" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_samp_order_by" } }, { - "name": "tip_age_seconds", + "name": "variance", "type": { - "kind": "SCALAR", - "name": "numeric" + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_variance_order_by" } } ], "isOneOf": false }, { - "kind": "OBJECT", - "name": "v0_rpcs", - "fields": [ - { - "name": "chain", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - }, - "args": [], - "isDeprecated": false - }, + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_avg_order_by", + "inputFields": [ { "name": "chain_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false - }, - { - "name": "description", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "url", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } } ], - "interfaces": [] + "isOneOf": false }, { "kind": "INPUT_OBJECT", @@ -3745,6 +5291,13 @@ export type introspection = { "name": "String_comparison_exp" } }, + { + "name": "type", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, { "name": "url", "type": { @@ -3755,6 +5308,76 @@ export type introspection = { ], "isOneOf": false }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_max_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "description", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "type", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "url", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_min_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "description", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "type", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "url", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, { "kind": "INPUT_OBJECT", "name": "v0_rpcs_order_by", @@ -3780,6 +5403,13 @@ export type introspection = { "name": "order_by" } }, + { + "name": "type", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, { "name": "url", "type": { @@ -3802,12 +5432,58 @@ export type introspection = { "name": "description", "isDeprecated": false }, + { + "name": "type", + "isDeprecated": false + }, { "name": "url", "isDeprecated": false } ] }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, { "kind": "INPUT_OBJECT", "name": "v0_rpcs_stream_cursor_input", @@ -3850,6 +5526,13 @@ export type introspection = { "name": "String" } }, + { + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, { "name": "url", "type": { @@ -3859,6 +5542,62 @@ export type introspection = { } ], "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_sum_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_variance_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false } ], "directives": [] diff --git a/app/src/generated/schema.graphql b/app/src/generated/schema.graphql index 1e0b27eab6..242320ae9e 100644 --- a/app/src/generated/schema.graphql +++ b/app/src/generated/schema.graphql @@ -288,6 +288,46 @@ type query_root { """fetch data from the table: "v0.chains" using primary key columns""" v0_chains_by_pk(id: Int!): v0_chains + """ + fetch data from the table: "v0.channels" + """ + v0_channels( + """distinct select on columns""" + distinct_on: [v0_channels_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channels_order_by!] + + """filter the rows returned""" + where: v0_channels_bool_exp + ): [v0_channels!]! + + """ + fetch aggregated fields from the table: "v0.channels" + """ + v0_channels_aggregate( + """distinct select on columns""" + distinct_on: [v0_channels_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channels_order_by!] + + """filter the rows returned""" + where: v0_channels_bool_exp + ): v0_channels_aggregate! + """ fetch data from the table: "v0.index_status" """ @@ -444,6 +484,60 @@ type subscription_root { where: v0_chains_bool_exp ): [v0_chains!]! + """ + fetch data from the table: "v0.channels" + """ + v0_channels( + """distinct select on columns""" + distinct_on: [v0_channels_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channels_order_by!] + + """filter the rows returned""" + where: v0_channels_bool_exp + ): [v0_channels!]! + + """ + fetch aggregated fields from the table: "v0.channels" + """ + v0_channels_aggregate( + """distinct select on columns""" + distinct_on: [v0_channels_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channels_order_by!] + + """filter the rows returned""" + where: v0_channels_bool_exp + ): v0_channels_aggregate! + + """ + fetch data from the table in a streaming manner: "v0.channels" + """ + v0_channels_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_channels_stream_cursor_input]! + + """filter the rows returned""" + where: v0_channels_bool_exp + ): [v0_channels!]! + """ fetch data from the table: "v0.index_status" """ @@ -793,6 +887,8 @@ input v0_blocks_variance_order_by { columns and relationships of "v0.chains" """ type v0_chains { + addr_prefix: String + """An array relationship""" blocks( """distinct select on columns""" @@ -812,8 +908,27 @@ type v0_chains { ): [v0_blocks!]! chain_id: String! display_name: String + enabled: Boolean id: Int! rpc_type: String + + """An array relationship""" + rpcs( + """distinct select on columns""" + distinct_on: [v0_rpcs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_rpcs_order_by!] + + """filter the rows returned""" + where: v0_rpcs_bool_exp + ): [v0_rpcs!]! testnet: Boolean } @@ -824,21 +939,27 @@ input v0_chains_bool_exp { _and: [v0_chains_bool_exp!] _not: v0_chains_bool_exp _or: [v0_chains_bool_exp!] + addr_prefix: String_comparison_exp blocks: v0_blocks_bool_exp chain_id: String_comparison_exp display_name: String_comparison_exp + enabled: Boolean_comparison_exp id: Int_comparison_exp rpc_type: String_comparison_exp + rpcs: v0_rpcs_bool_exp testnet: Boolean_comparison_exp } """Ordering options when selecting data from "v0.chains".""" input v0_chains_order_by { + addr_prefix: order_by blocks_aggregate: v0_blocks_aggregate_order_by chain_id: order_by display_name: order_by + enabled: order_by id: order_by rpc_type: order_by + rpcs_aggregate: v0_rpcs_aggregate_order_by testnet: order_by } @@ -846,12 +967,18 @@ input v0_chains_order_by { select columns of table "v0.chains" """ enum v0_chains_select_column { + """column name""" + addr_prefix + """column name""" chain_id """column name""" display_name + """column name""" + enabled + """column name""" id @@ -875,13 +1002,225 @@ input v0_chains_stream_cursor_input { """Initial value of the column from where the streaming should start""" input v0_chains_stream_cursor_value_input { + addr_prefix: String chain_id: String display_name: String + enabled: Boolean id: Int rpc_type: String testnet: Boolean } +""" +columns and relationships of "v0.channels" +""" +type v0_channels { + """An object relationship""" + destination_chain: v0_chains + destination_chain_id: Int + destination_channel_id: String + destination_connection_id: String + destination_port_id: String + + """An object relationship""" + source_chain: v0_chains + source_chain_id: Int + source_channel_id: String + source_connection_id: String + source_port_id: String + status: String +} + +""" +aggregated selection of "v0.channels" +""" +type v0_channels_aggregate { + aggregate: v0_channels_aggregate_fields + nodes: [v0_channels!]! +} + +""" +aggregate fields of "v0.channels" +""" +type v0_channels_aggregate_fields { + avg: v0_channels_avg_fields + count(columns: [v0_channels_select_column!], distinct: Boolean): Int! + max: v0_channels_max_fields + min: v0_channels_min_fields + stddev: v0_channels_stddev_fields + stddev_pop: v0_channels_stddev_pop_fields + stddev_samp: v0_channels_stddev_samp_fields + sum: v0_channels_sum_fields + var_pop: v0_channels_var_pop_fields + var_samp: v0_channels_var_samp_fields + variance: v0_channels_variance_fields +} + +"""aggregate avg on columns""" +type v0_channels_avg_fields { + destination_chain_id: Float + source_chain_id: Float +} + +""" +Boolean expression to filter rows from the table "v0.channels". All fields are combined with a logical 'AND'. +""" +input v0_channels_bool_exp { + _and: [v0_channels_bool_exp!] + _not: v0_channels_bool_exp + _or: [v0_channels_bool_exp!] + destination_chain: v0_chains_bool_exp + destination_chain_id: Int_comparison_exp + destination_channel_id: String_comparison_exp + destination_connection_id: String_comparison_exp + destination_port_id: String_comparison_exp + source_chain: v0_chains_bool_exp + source_chain_id: Int_comparison_exp + source_channel_id: String_comparison_exp + source_connection_id: String_comparison_exp + source_port_id: String_comparison_exp + status: String_comparison_exp +} + +"""aggregate max on columns""" +type v0_channels_max_fields { + destination_chain_id: Int + destination_channel_id: String + destination_connection_id: String + destination_port_id: String + source_chain_id: Int + source_channel_id: String + source_connection_id: String + source_port_id: String + status: String +} + +"""aggregate min on columns""" +type v0_channels_min_fields { + destination_chain_id: Int + destination_channel_id: String + destination_connection_id: String + destination_port_id: String + source_chain_id: Int + source_channel_id: String + source_connection_id: String + source_port_id: String + status: String +} + +"""Ordering options when selecting data from "v0.channels".""" +input v0_channels_order_by { + destination_chain: v0_chains_order_by + destination_chain_id: order_by + destination_channel_id: order_by + destination_connection_id: order_by + destination_port_id: order_by + source_chain: v0_chains_order_by + source_chain_id: order_by + source_channel_id: order_by + source_connection_id: order_by + source_port_id: order_by + status: order_by +} + +""" +select columns of table "v0.channels" +""" +enum v0_channels_select_column { + """column name""" + destination_chain_id + + """column name""" + destination_channel_id + + """column name""" + destination_connection_id + + """column name""" + destination_port_id + + """column name""" + source_chain_id + + """column name""" + source_channel_id + + """column name""" + source_connection_id + + """column name""" + source_port_id + + """column name""" + status +} + +"""aggregate stddev on columns""" +type v0_channels_stddev_fields { + destination_chain_id: Float + source_chain_id: Float +} + +"""aggregate stddev_pop on columns""" +type v0_channels_stddev_pop_fields { + destination_chain_id: Float + source_chain_id: Float +} + +"""aggregate stddev_samp on columns""" +type v0_channels_stddev_samp_fields { + destination_chain_id: Float + source_chain_id: Float +} + +""" +Streaming cursor of the table "v0_channels" +""" +input v0_channels_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_channels_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_channels_stream_cursor_value_input { + destination_chain_id: Int + destination_channel_id: String + destination_connection_id: String + destination_port_id: String + source_chain_id: Int + source_channel_id: String + source_connection_id: String + source_port_id: String + status: String +} + +"""aggregate sum on columns""" +type v0_channels_sum_fields { + destination_chain_id: Int + source_chain_id: Int +} + +"""aggregate var_pop on columns""" +type v0_channels_var_pop_fields { + destination_chain_id: Float + source_chain_id: Float +} + +"""aggregate var_samp on columns""" +type v0_channels_var_samp_fields { + destination_chain_id: Float + source_chain_id: Float +} + +"""aggregate variance on columns""" +type v0_channels_variance_fields { + destination_chain_id: Float + source_chain_id: Float +} + """ columns and relationships of "v0.index_status" """ @@ -976,9 +1315,34 @@ type v0_rpcs { chain: v0_chains! chain_id: Int! description: String + type: String! url: String! } +""" +order by aggregate values of table "v0.rpcs" +""" +input v0_rpcs_aggregate_order_by { + avg: v0_rpcs_avg_order_by + count: order_by + max: v0_rpcs_max_order_by + min: v0_rpcs_min_order_by + stddev: v0_rpcs_stddev_order_by + stddev_pop: v0_rpcs_stddev_pop_order_by + stddev_samp: v0_rpcs_stddev_samp_order_by + sum: v0_rpcs_sum_order_by + var_pop: v0_rpcs_var_pop_order_by + var_samp: v0_rpcs_var_samp_order_by + variance: v0_rpcs_variance_order_by +} + +""" +order by avg() on columns of table "v0.rpcs" +""" +input v0_rpcs_avg_order_by { + chain_id: order_by +} + """ Boolean expression to filter rows from the table "v0.rpcs". All fields are combined with a logical 'AND'. """ @@ -989,14 +1353,36 @@ input v0_rpcs_bool_exp { chain: v0_chains_bool_exp chain_id: Int_comparison_exp description: String_comparison_exp + type: String_comparison_exp url: String_comparison_exp } +""" +order by max() on columns of table "v0.rpcs" +""" +input v0_rpcs_max_order_by { + chain_id: order_by + description: order_by + type: order_by + url: order_by +} + +""" +order by min() on columns of table "v0.rpcs" +""" +input v0_rpcs_min_order_by { + chain_id: order_by + description: order_by + type: order_by + url: order_by +} + """Ordering options when selecting data from "v0.rpcs".""" input v0_rpcs_order_by { chain: v0_chains_order_by chain_id: order_by description: order_by + type: order_by url: order_by } @@ -1010,10 +1396,34 @@ enum v0_rpcs_select_column { """column name""" description + """column name""" + type + """column name""" url } +""" +order by stddev() on columns of table "v0.rpcs" +""" +input v0_rpcs_stddev_order_by { + chain_id: order_by +} + +""" +order by stddev_pop() on columns of table "v0.rpcs" +""" +input v0_rpcs_stddev_pop_order_by { + chain_id: order_by +} + +""" +order by stddev_samp() on columns of table "v0.rpcs" +""" +input v0_rpcs_stddev_samp_order_by { + chain_id: order_by +} + """ Streaming cursor of the table "v0_rpcs" """ @@ -1029,5 +1439,34 @@ input v0_rpcs_stream_cursor_input { input v0_rpcs_stream_cursor_value_input { chain_id: Int description: String + type: String url: String +} + +""" +order by sum() on columns of table "v0.rpcs" +""" +input v0_rpcs_sum_order_by { + chain_id: order_by +} + +""" +order by var_pop() on columns of table "v0.rpcs" +""" +input v0_rpcs_var_pop_order_by { + chain_id: order_by +} + +""" +order by var_samp() on columns of table "v0.rpcs" +""" +input v0_rpcs_var_samp_order_by { + chain_id: order_by +} + +""" +order by variance() on columns of table "v0.rpcs" +""" +input v0_rpcs_variance_order_by { + chain_id: order_by } \ No newline at end of file diff --git a/app/src/lib/graphql/documents/chains.ts b/app/src/lib/graphql/documents/chains.ts index 7fb4bf26f7..69c80f4685 100644 --- a/app/src/lib/graphql/documents/chains.ts +++ b/app/src/lib/graphql/documents/chains.ts @@ -1,12 +1,16 @@ import { graphql } from "gql.tada" export const chainsQueryDocument = graphql(/* GraphQL */ `query ChainsQuery { - v0_chains { - bech32_prefix - chain_id + v0_chains(where: {enabled: {_eq: true}}, order_by: {display_name: asc}) { display_name + chain_id + enabled id rpc_type - testnet + addr_prefix + rpcs { + url + type + } } }`) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index f03fd2f305..0896d14df6 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -8,6 +8,9 @@ import type { ChainId } from "$/lib/constants/assets.ts" import { isValidEvmAddress } from "$lib/wallet/utilities/validate" import { isValidCosmosAddress } from "$lib/wallet/utilities/validate"; import { raise } from "$lib/utilities/index.ts"; +import { rawToBech32 } from "$lib/utilities/address.ts"; +import type { chainsQuery } from "./chains.ts"; +import type { chainsQueryDocument } from "$lib/graphql/documents/chains.ts"; /** * TODO: @@ -122,43 +125,53 @@ const cosmosBalancesResponseSchema = v.object({ export function cosmosBalancesQuery({ address, - chainIds + chains }: { - address: string - chainIds: Array + address: Uint8Array, + chains: Array<{chain_id: string, addr_prefix: string, rpcs: Array<{url:string, type: string}>}> }) { - return createQueries({ - queries: chainIds.map((chainId) => ({ - queryKey: ["balances", chainId, address], - enabled: isValidCosmosAddress(address), - refetchOnWindowFocus: false, - queryFn: async () => { - const restUrl = CHAIN_URLS[chainId].REST - - let json: undefined | unknown; - try { - const response = await fetch(`${restUrl}/cosmos/bank/v1beta1/balances/${address}`); - - if (!response.ok) return new Error("invalid response"); - - json = await response.json() - } catch(err) { - if (err instanceof Error) { - raise(`error fetching balances from /cosmos/bank: ${err.message}`); + return createQueries({ + queries: chains.map((chain) => { + const bech32_addr = rawToBech32(chain.addr_prefix, address); + + return { + queryKey: ["balances", chain.chain_id, bech32_addr], + enabled: true, + refetchInterval: 2_000, + refetchOnWindowFocus: false, + queryFn: async () => { + + let json: undefined | unknown; + const rest_rpcs = chain.rpcs.filter(rpc => rpc.type === 'rest'); + if (rest_rpcs.length === 0) raise(`no rest rpc available for chain ${chain.chain_id}`); + + const restUrl = rest_rpcs[0].url; + + try { + const response = await fetch(`https://${restUrl}/cosmos/bank/v1beta1/balances/${bech32_addr}`); + + if (!response.ok) return new Error("invalid response"); + + json = await response.json() + } catch(err) { + if (err instanceof Error) { + raise(`error fetching balances from /cosmos/bank: ${err.message}`); + } + raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); + } + + const result = v.safeParse(cosmosBalancesResponseSchema, json); + + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); + return result.output.balances.map((x) => ({ + address: x.denom, + symbol: x.denom, + balance: x.amount, + decimals: 0 + })); } - raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); - } - - const result = v.safeParse(cosmosBalancesResponseSchema, json); - - if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); + }; - return result.output.balances.map((x) => ({ - address: x.denom, - symbol: x.denom, - balance: x.amount, - decimals: 0 - })) - }})) - }) -} + }) + }); + } diff --git a/app/src/lib/utilities/address.ts b/app/src/lib/utilities/address.ts new file mode 100644 index 0000000000..f640789756 --- /dev/null +++ b/app/src/lib/utilities/address.ts @@ -0,0 +1,10 @@ +import { bech32 } from 'bech32'; + +export const rawToHex = (raw: Uint8Array): string => + `0x${Array.from(raw).map((i) => i.toString(16).padStart(2, '0')).join('')}` + +export const rawToBech32 = (prefix: string, raw: Uint8Array): string => { + const words = bech32.toWords(raw); + return bech32.encode(prefix, words); +} + diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index c7ea18e636..f7ec1b51d7 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,13 +1,13 @@
- + Welcome to Union -

Connect an EVM and Cosmos wallet to begin bridging.

-
{#if $sepoliaStore.address } ✅ EVM wallet {summarizeString($sepoliaStore.address, 6)} connected @@ -53,9 +53,7 @@
{#if $cosmosStore.address && $cosmosStore.rawAddress } ✅ Cosmos wallet {summarizeString($cosmosStore.address, 6)} connected - {$derivedAddress} - - 0x{ Array.from($cosmosStore.rawAddress).map((i) => i.toString(16).padStart(2, '0')).join('')} +
RAW: {rawToHex($cosmosStore.rawAddress)}
{:else} Connect cosmos wallet {/if} @@ -63,42 +61,49 @@ - + + Balances -

EVM

- {#if $evmBalances} - {#if $evmBalances.isLoading} - Loading... - {:else if $evmBalances.isError} - Error: {$evmBalances.error.message} - {:else if $evmBalances.isSuccess} -
- {#each $evmBalances.data as asset} -
{summarizeString(asset.symbol, 8)} | {asset.balance}
- {/each} -
+
+

Sepolia

+ {#if $evmBalances} + {#if $evmBalances.isLoading} + Loading... + {:else if $evmBalances.isError} + Error: {$evmBalances.error.message} + {:else if $evmBalances.isSuccess} +
+ {#each $evmBalances.data as asset} +
{summarizeString(asset.symbol, 8)} | {asset.balance}
+ {/each} +
+ {/if} + {:else} +

Connect your EVM wallet to continue

{/if} - {:else} -

Connect your EVM wallet to continue

- {/if} +
-

Cosmos

-
{JSON.stringify($cosmosBalances, null, 2)}
- {#if $cosmosBalances} - {#if $cosmosBalances.isLoading} - Loading... - {:else if $cosmosBalances.isError} - {$cosmosBalances.error.message} - {:else if $cosmosBalances.isSuccess} + {#if $cosmosChains && $cosmosBalances} + {#each $cosmosBalances as balance, index}
- {#each $cosmosBalances.data as asset} -
{summarizeString(asset.symbol, 8)} | {asset.balance}
- {/each} +

{$cosmosChains[index].display_name}

+
{rawToBech32($cosmosChains[index].addr_prefix, $cosmosStore.rawAddress)}
+ {#if balance.isLoading} +

Loading

+ {:else if balance.isError} +

{balance.error}

+ {:else if balance.isSuccess} +
+ {#each balance.data as asset} +
{summarizeString(asset.symbol, 8)} | {asset.balance}
+ {/each} +
+ {/if}
- {/if} + {/each} {:else}

Connect your cosmos wallet to show cosmos balance

{/if} From ef2759a17c355b9599aea0cc32b8575b571997d9 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 19:24:30 +0200 Subject: [PATCH 14/19] fix(app): balance styling --- app/src/routes/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index f7ec1b51d7..02283bc4a0 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -66,7 +66,7 @@ Balances - +

Sepolia

{#if $evmBalances} From b6b62da9bf8026fd414216b8fa1ba0d6707bbff9 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 19:26:58 +0200 Subject: [PATCH 15/19] chore(app): fmt and spellcheck --- app/src/lib/constants/index.ts | 2 +- app/src/lib/queries/balance.ts | 137 ++++++++++++++++--------------- app/src/lib/queries/chains.ts | 3 +- app/src/lib/utilities/address.ts | 13 +-- app/src/lib/utilities/format.ts | 8 +- app/src/routes/+page.svelte | 57 +++++++------ app/src/routes/faucet/schema.ts | 2 - dictionary.txt | 2 +- 8 files changed, 115 insertions(+), 109 deletions(-) diff --git a/app/src/lib/constants/index.ts b/app/src/lib/constants/index.ts index 7851a9dcfa..dbe039ecf9 100644 --- a/app/src/lib/constants/index.ts +++ b/app/src/lib/constants/index.ts @@ -40,5 +40,5 @@ export const CHAIN = { } satisfies Record export const CHAIN_URLS = { - [CHAIN.UNION.ID]: URLS.UNION + [CHAIN.UNION.ID]: URLS.UNION } diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index 0896d14df6..63a8a9eec9 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -1,16 +1,16 @@ import * as v from "valibot" import { KEY } from "$lib/constants/keys.ts" -import { CHAIN_URLS } from "$lib/constants"; +import { CHAIN_URLS } from "$lib/constants" import type { Address } from "viem" import { getEvmTokensInfo } from "./token-info.ts" import { createQueries, createQuery } from "@tanstack/svelte-query" import type { ChainId } from "$/lib/constants/assets.ts" import { isValidEvmAddress } from "$lib/wallet/utilities/validate" -import { isValidCosmosAddress } from "$lib/wallet/utilities/validate"; -import { raise } from "$lib/utilities/index.ts"; -import { rawToBech32 } from "$lib/utilities/address.ts"; -import type { chainsQuery } from "./chains.ts"; -import type { chainsQueryDocument } from "$lib/graphql/documents/chains.ts"; +import { isValidCosmosAddress } from "$lib/wallet/utilities/validate" +import { raise } from "$lib/utilities/index.ts" +import { rawToBech32 } from "$lib/utilities/address.ts" +import type { chainsQuery } from "./chains.ts" +import type { chainsQueryDocument } from "$lib/graphql/documents/chains.ts" /** * TODO: @@ -80,10 +80,9 @@ export function evmBalancesQuery({ ? restParams.tokenSpecification // if tokenSpecification is a string, use it : "DEFAULT_TOKENS" + let json: undefined | unknown - let json: undefined | unknown; - - try { + try { const response = await fetch(`https://eth-sepolia.g.alchemy.com/v2/${KEY.RPC.ALCHEMY}`, { method: "POST", body: JSON.stringify({ @@ -92,18 +91,18 @@ export function evmBalancesQuery({ method: "alchemy_getTokenBalances", params: [address, assetsToCheck] }) - }); - if (!response.ok) raise("error fetching from alchemy: non-200 status"); - json = await response.json(); - } catch(err) { + }) + if (!response.ok) raise("error fetching from alchemy: non-200 status") + json = await response.json() + } catch (err) { if (err instanceof Error) { - raise(`error fetching from alchemy: ${err.message}`); + raise(`error fetching from alchemy: ${err.message}`) } - raise(`unknown error while fetching from alchemy: ${JSON.stringify(err)}`); + raise(`unknown error while fetching from alchemy: ${JSON.stringify(err)}`) } const result = v.safeParse(evmBalancesResponseSchema, json) - if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`) const tokensInfo = await getEvmTokensInfo( result.output.result.tokenBalances.map(({ contractAddress }) => contractAddress) @@ -117,61 +116,67 @@ export function evmBalancesQuery({ } const cosmosBalancesResponseSchema = v.object({ - balances: v.array(v.object({ - denom: v.string(), - amount: v.string() - })) -}); + balances: v.array( + v.object({ + denom: v.string(), + amount: v.string() + }) + ) +}) export function cosmosBalancesQuery({ address, chains }: { - address: Uint8Array, - chains: Array<{chain_id: string, addr_prefix: string, rpcs: Array<{url:string, type: string}>}> + address: Uint8Array + chains: Array<{ + chain_id: string + addr_prefix: string + rpcs: Array<{ url: string; type: string }> + }> }) { - return createQueries({ - queries: chains.map((chain) => { - const bech32_addr = rawToBech32(chain.addr_prefix, address); - - return { - queryKey: ["balances", chain.chain_id, bech32_addr], - enabled: true, - refetchInterval: 2_000, - refetchOnWindowFocus: false, - queryFn: async () => { - - let json: undefined | unknown; - const rest_rpcs = chain.rpcs.filter(rpc => rpc.type === 'rest'); - if (rest_rpcs.length === 0) raise(`no rest rpc available for chain ${chain.chain_id}`); - - const restUrl = rest_rpcs[0].url; - - try { - const response = await fetch(`https://${restUrl}/cosmos/bank/v1beta1/balances/${bech32_addr}`); - - if (!response.ok) return new Error("invalid response"); - - json = await response.json() - } catch(err) { - if (err instanceof Error) { - raise(`error fetching balances from /cosmos/bank: ${err.message}`); - } - raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`); - } - - const result = v.safeParse(cosmosBalancesResponseSchema, json); - - if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`); - return result.output.balances.map((x) => ({ - address: x.denom, - symbol: x.denom, - balance: x.amount, - decimals: 0 - })); + return createQueries({ + queries: chains.map(chain => { + const bech32_addr = rawToBech32(chain.addr_prefix, address) + + return { + queryKey: ["balances", chain.chain_id, bech32_addr], + enabled: true, + refetchInterval: 2_000, + refetchOnWindowFocus: false, + queryFn: async () => { + let json: undefined | unknown + const rest_rpcs = chain.rpcs.filter(rpc => rpc.type === "rest") + if (rest_rpcs.length === 0) raise(`no rest rpc available for chain ${chain.chain_id}`) + + const restUrl = rest_rpcs[0].url + + try { + const response = await fetch( + `https://${restUrl}/cosmos/bank/v1beta1/balances/${bech32_addr}` + ) + + if (!response.ok) return new Error("invalid response") + + json = await response.json() + } catch (err) { + if (err instanceof Error) { + raise(`error fetching balances from /cosmos/bank: ${err.message}`) + } + raise(`unknown error while fetching from /cosmos/bank: ${JSON.stringify(err)}`) } - }; - }) - }); - } + const result = v.safeParse(cosmosBalancesResponseSchema, json) + + if (!result.success) raise(`error parsing result ${JSON.stringify(result.issues)}`) + return result.output.balances.map(x => ({ + address: x.denom, + symbol: x.denom, + balance: x.amount, + decimals: 0 + })) + } + } + }) + }) +} diff --git a/app/src/lib/queries/chains.ts b/app/src/lib/queries/chains.ts index e89042d59f..513e931cc8 100644 --- a/app/src/lib/queries/chains.ts +++ b/app/src/lib/queries/chains.ts @@ -1,5 +1,5 @@ import { createQuery } from "@tanstack/svelte-query" -import { chainsQueryDocument } from '$lib/graphql/documents/chains' +import { chainsQueryDocument } from "$lib/graphql/documents/chains" import { request } from "graphql-request" import { URLS } from "$lib/constants" @@ -12,4 +12,3 @@ export const chainsQuery = () => refetchInterval: 6_000, refetchOnWindowFocus: false }) - diff --git a/app/src/lib/utilities/address.ts b/app/src/lib/utilities/address.ts index f640789756..cea702dd77 100644 --- a/app/src/lib/utilities/address.ts +++ b/app/src/lib/utilities/address.ts @@ -1,10 +1,11 @@ -import { bech32 } from 'bech32'; +import { bech32 } from "bech32" -export const rawToHex = (raw: Uint8Array): string => - `0x${Array.from(raw).map((i) => i.toString(16).padStart(2, '0')).join('')}` +export const rawToHex = (raw: Uint8Array): string => + `0x${Array.from(raw) + .map(i => i.toString(16).padStart(2, "0")) + .join("")}` export const rawToBech32 = (prefix: string, raw: Uint8Array): string => { - const words = bech32.toWords(raw); - return bech32.encode(prefix, words); + const words = bech32.toWords(raw) + return bech32.encode(prefix, words) } - diff --git a/app/src/lib/utilities/format.ts b/app/src/lib/utilities/format.ts index 4478e920aa..f7ac4f33f8 100644 --- a/app/src/lib/utilities/format.ts +++ b/app/src/lib/utilities/format.ts @@ -68,12 +68,12 @@ export function urlSearchParams( export function summarizeString(str: string, show: number): string { // Don't summarize short strings - if (str.length === 0 || str.length < show*2+2) return str; + if (str.length === 0 || str.length < show * 2 + 2) return str // Extract the first 6 characters and the last 6 characters - const firstPart: string = str.slice(0, show); - const lastPart: string = str.slice(-show); + const firstPart: string = str.slice(0, show) + const lastPart: string = str.slice(-show) // Return the summarized string with the ellipsis character in-between - return `${firstPart}\u2026${lastPart}`; + return `${firstPart}\u2026${lastPart}` } diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 02283bc4a0..4d4c83df0f 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,38 +1,41 @@
diff --git a/app/src/routes/faucet/schema.ts b/app/src/routes/faucet/schema.ts index b63302d151..466b1fdb06 100644 --- a/app/src/routes/faucet/schema.ts +++ b/app/src/routes/faucet/schema.ts @@ -10,5 +10,3 @@ export type FaucetSchema = typeof faucetFormSchema export type FaucetForm = InferOutput export type Message = { status: "error" | "success" | "warning"; text: string } - - diff --git a/dictionary.txt b/dictionary.txt index 41a236a546..eec7d8fcef 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -1,4 +1,3 @@ - 0xbonlulu 0xc0dejug 0xkaiserkarel @@ -883,6 +882,7 @@ roadmap rollup rollups rpath +rpcs rsplit ruint runtimeservices From 2e2e1c9ecb9687153664326c27cc5033f013eb62 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 19:36:21 +0200 Subject: [PATCH 16/19] fix(app): truncating --- app/src/lib/utilities/format.ts | 8 ++-- app/src/routes/+page.svelte | 69 ++++++++++++++++----------------- 2 files changed, 37 insertions(+), 40 deletions(-) diff --git a/app/src/lib/utilities/format.ts b/app/src/lib/utilities/format.ts index f7ac4f33f8..eb1b732145 100644 --- a/app/src/lib/utilities/format.ts +++ b/app/src/lib/utilities/format.ts @@ -66,14 +66,14 @@ export function urlSearchParams( ) } -export function summarizeString(str: string, show: number): string { - // Don't summarize short strings +export function truncate(str: string, show: number): string { + // Don't truncate short strings if (str.length === 0 || str.length < show * 2 + 2) return str - // Extract the first 6 characters and the last 6 characters + // Extract the first `show` characters and the last `show` characters const firstPart: string = str.slice(0, show) const lastPart: string = str.slice(-show) - // Return the summarized string with the ellipsis character in-between + // Return the truncated string with the ellipsis character in-between return `${firstPart}\u2026${lastPart}` } diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index 4d4c83df0f..ff00494a39 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,41 +1,38 @@
@@ -47,7 +44,7 @@ $: if ($cosmosChains && $cosmosStore.rawAddress)

Connect an EVM and Cosmos wallet to begin bridging.

{#if $sepoliaStore.address } - ✅ EVM wallet {summarizeString($sepoliaStore.address, 6)} connected + ✅ EVM wallet {truncate($sepoliaStore.address, 6)} connected {:else} Connect EVM wallet {/if} @@ -55,7 +52,7 @@ $: if ($cosmosChains && $cosmosStore.rawAddress)
{#if $cosmosStore.address && $cosmosStore.rawAddress } - ✅ Cosmos wallet {summarizeString($cosmosStore.address, 6)} connected + ✅ Cosmos wallet {truncate($cosmosStore.address, 6)} connected
RAW: {rawToHex($cosmosStore.rawAddress)}
{:else} Connect cosmos wallet @@ -80,7 +77,7 @@ $: if ($cosmosChains && $cosmosStore.rawAddress) {:else if $evmBalances.isSuccess}
{#each $evmBalances.data as asset} -
{summarizeString(asset.symbol, 8)} | {asset.balance}
+
{truncate(asset.symbol, 8)} | {asset.balance}
{/each}
{/if} @@ -95,13 +92,13 @@ $: if ($cosmosChains && $cosmosStore.rawAddress)

{$cosmosChains[index].display_name}

{rawToBech32($cosmosChains[index].addr_prefix, $cosmosStore.rawAddress)}
{#if balance.isLoading} -

Loading

+

Loading...

{:else if balance.isError} -

{balance.error}

+

{balance.error}

{:else if balance.isSuccess}
{#each balance.data as asset} -
{summarizeString(asset.symbol, 8)} | {asset.balance}
+
{truncate(asset.symbol, 8)} | {asset.balance}
{/each}
{/if} From b5188efd32d8cec9db6ecde85a43effd183fd1dd Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 20:29:59 +0200 Subject: [PATCH 17/19] fix(app): schema fixes --- app/src/generated/graphql-env.d.ts | 7457 +++++++++++++----- app/src/generated/schema.graphql | 962 +++ app/src/lib/graphql/documents/packets.ts | 10 +- app/src/routes/+page.svelte | 15 +- app/src/routes/explorer/packets/+page.svelte | 22 +- 5 files changed, 6593 insertions(+), 1873 deletions(-) diff --git a/app/src/generated/graphql-env.d.ts b/app/src/generated/graphql-env.d.ts index 34b4c8e8cb..705b9d7b09 100644 --- a/app/src/generated/graphql-env.d.ts +++ b/app/src/generated/graphql-env.d.ts @@ -1122,7 +1122,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_channels", + "name": "v0_channel_map", "type": { "kind": "NON_NULL", "ofType": { @@ -1131,7 +1131,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_channels" + "name": "v0_channel_map" } } } @@ -1145,7 +1145,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_channels_select_column" + "name": "v0_channel_map_select_column" } } } @@ -1172,7 +1172,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_order_by" + "name": "v0_channel_map_order_by" } } } @@ -1181,19 +1181,25 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_channel_map_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_channels_aggregate", + "name": "v0_channels", "type": { "kind": "NON_NULL", "ofType": { - "kind": "OBJECT", - "name": "v0_channels_aggregate" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels" + } + } } }, "args": [ @@ -1248,18 +1254,12 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_index_status", + "name": "v0_channels_aggregate", "type": { "kind": "NON_NULL", "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_index_status" - } - } + "kind": "OBJECT", + "name": "v0_channels_aggregate" } }, "args": [ @@ -1271,7 +1271,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_index_status_select_column" + "name": "v0_channels_select_column" } } } @@ -1298,7 +1298,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by" + "name": "v0_channels_order_by" } } } @@ -1307,14 +1307,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_channels_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs", + "name": "v0_connection_map", "type": { "kind": "NON_NULL", "ofType": { @@ -1323,7 +1323,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_rpcs" + "name": "v0_connection_map" } } } @@ -1337,7 +1337,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_rpcs_select_column" + "name": "v0_connection_map_select_column" } } } @@ -1364,7 +1364,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_order_by" + "name": "v0_connection_map_order_by" } } } @@ -1373,51 +1373,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "name": "v0_connection_map_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs_by_pk", - "type": { - "kind": "OBJECT", - "name": "v0_rpcs" - }, - "args": [ - { - "name": "chain_id", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - } - }, - { - "name": "url", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - } - } - ], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "subscription_root", - "fields": [ - { - "name": "v0_assets", + "name": "v0_connections", "type": { "kind": "NON_NULL", "ofType": { @@ -1426,7 +1389,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_assets" + "name": "v0_connections" } } } @@ -1440,7 +1403,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_assets_select_column" + "name": "v0_connections_select_column" } } } @@ -1467,7 +1430,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_assets_order_by" + "name": "v0_connections_order_by" } } } @@ -1476,44 +1439,80 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp" + "name": "v0_connections_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_assets_by_pk", + "name": "v0_index_status", "type": { - "kind": "OBJECT", - "name": "v0_assets" + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_index_status" + } + } + } }, "args": [ { - "name": "chain_id", + "name": "distinct_on", "type": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_index_status_select_column" + } } } }, { - "name": "denom", + "name": "limit", "type": { - "kind": "NON_NULL", + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_order_by" + } } } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } } ], "isDeprecated": false }, { - "name": "v0_assets_stream", + "name": "v0_packets", "type": { "kind": "NON_NULL", "ofType": { @@ -1522,31 +1521,48 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_assets" + "name": "v0_packets" } } } }, "args": [ { - "name": "batch_size", + "name": "distinct_on", "type": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_packets_select_column" + } } } }, { - "name": "cursor", + "name": "limit", "type": { - "kind": "NON_NULL", + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_assets_stream_cursor_input" + "name": "v0_packets_order_by" } } } @@ -1555,14 +1571,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp" + "name": "v0_packets_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_blocks", + "name": "v0_rpcs", "type": { "kind": "NON_NULL", "ofType": { @@ -1571,7 +1587,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_blocks" + "name": "v0_rpcs" } } } @@ -1585,7 +1601,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_blocks_select_column" + "name": "v0_rpcs_select_column" } } } @@ -1612,7 +1628,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" + "name": "v0_rpcs_order_by" } } } @@ -1621,17 +1637,17 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" + "name": "v0_rpcs_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_blocks_by_pk", + "name": "v0_rpcs_by_pk", "type": { "kind": "OBJECT", - "name": "v0_blocks" + "name": "v0_rpcs" }, "args": [ { @@ -1645,7 +1661,7 @@ export type introspection = { } }, { - "name": "hash", + "name": "url", "type": { "kind": "NON_NULL", "ofType": { @@ -1658,7 +1674,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "v0_blocks_stream", + "name": "v0_transfers", "type": { "kind": "NON_NULL", "ofType": { @@ -1667,31 +1683,48 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_blocks" + "name": "v0_transfers" } } } }, "args": [ { - "name": "batch_size", + "name": "distinct_on", "type": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_transfers_select_column" + } } } }, { - "name": "cursor", + "name": "limit", "type": { - "kind": "NON_NULL", + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_input" + "name": "v0_transfers_order_by" } } } @@ -1700,14 +1733,21 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" + "name": "v0_transfers_bool_exp" } } ], "isDeprecated": false - }, + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "subscription_root", + "fields": [ { - "name": "v0_chains", + "name": "v0_assets", "type": { "kind": "NON_NULL", "ofType": { @@ -1716,7 +1756,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_chains" + "name": "v0_assets" } } } @@ -1730,7 +1770,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_chains_select_column" + "name": "v0_assets_select_column" } } } @@ -1757,7 +1797,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" + "name": "v0_assets_order_by" } } } @@ -1766,21 +1806,21 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "name": "v0_assets_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_chains_by_pk", + "name": "v0_assets_by_pk", "type": { "kind": "OBJECT", - "name": "v0_chains" + "name": "v0_assets" }, "args": [ { - "name": "id", + "name": "chain_id", "type": { "kind": "NON_NULL", "ofType": { @@ -1788,13 +1828,23 @@ export type introspection = { "name": "Int" } } - } - ], - "isDeprecated": false - }, - { - "name": "v0_chains_stream", - "type": { + }, + { + "name": "denom", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_assets_stream", + "type": { "kind": "NON_NULL", "ofType": { "kind": "LIST", @@ -1802,7 +1852,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_chains" + "name": "v0_assets" } } } @@ -1826,7 +1876,7 @@ export type introspection = { "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_chains_stream_cursor_input" + "name": "v0_assets_stream_cursor_input" } } } @@ -1835,14 +1885,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "name": "v0_assets_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_channels", + "name": "v0_blocks", "type": { "kind": "NON_NULL", "ofType": { @@ -1851,7 +1901,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_channels" + "name": "v0_blocks" } } } @@ -1865,7 +1915,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_channels_select_column" + "name": "v0_blocks_select_column" } } } @@ -1892,7 +1942,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_order_by" + "name": "v0_blocks_order_by" } } } @@ -1901,19 +1951,104 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_blocks_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_channels_aggregate", + "name": "v0_blocks_by_pk", + "type": { + "kind": "OBJECT", + "name": "v0_blocks" + }, + "args": [ + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "hash", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_blocks_stream", "type": { "kind": "NON_NULL", "ofType": { - "kind": "OBJECT", - "name": "v0_channels_aggregate" + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_blocks" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_chains", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } + } } }, "args": [ @@ -1925,7 +2060,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_channels_select_column" + "name": "v0_chains_select_column" } } } @@ -1952,7 +2087,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_order_by" + "name": "v0_chains_order_by" } } } @@ -1961,14 +2096,34 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_chains_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_channels_stream", + "name": "v0_chains_by_pk", + "type": { + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [ + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_chains_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -1977,7 +2132,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_channels" + "name": "v0_chains" } } } @@ -2001,7 +2156,7 @@ export type introspection = { "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_stream_cursor_input" + "name": "v0_chains_stream_cursor_input" } } } @@ -2010,14 +2165,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_chains_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_index_status", + "name": "v0_channel_map", "type": { "kind": "NON_NULL", "ofType": { @@ -2026,7 +2181,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_index_status" + "name": "v0_channel_map" } } } @@ -2040,7 +2195,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_index_status_select_column" + "name": "v0_channel_map_select_column" } } } @@ -2067,7 +2222,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by" + "name": "v0_channel_map_order_by" } } } @@ -2076,14 +2231,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_channel_map_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_index_status_stream", + "name": "v0_channel_map_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -2092,7 +2247,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_index_status" + "name": "v0_channel_map" } } } @@ -2116,7 +2271,7 @@ export type introspection = { "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_input" + "name": "v0_channel_map_stream_cursor_input" } } } @@ -2125,14 +2280,14 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_channel_map_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs", + "name": "v0_channels", "type": { "kind": "NON_NULL", "ofType": { @@ -2141,7 +2296,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_rpcs" + "name": "v0_channels" } } } @@ -2155,7 +2310,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "ENUM", - "name": "v0_rpcs_select_column" + "name": "v0_channels_select_column" } } } @@ -2182,7 +2337,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_order_by" + "name": "v0_channels_order_by" } } } @@ -2191,44 +2346,74 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "name": "v0_channels_bool_exp" } } ], "isDeprecated": false }, { - "name": "v0_rpcs_by_pk", + "name": "v0_channels_aggregate", "type": { - "kind": "OBJECT", - "name": "v0_rpcs" + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels_aggregate" + } }, "args": [ { - "name": "chain_id", + "name": "distinct_on", "type": { - "kind": "NON_NULL", + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } } } }, { - "name": "url", + "name": "limit", "type": { - "kind": "NON_NULL", + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", "ofType": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by" + } } } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } } ], "isDeprecated": false }, { - "name": "v0_rpcs_stream", + "name": "v0_channels_stream", "type": { "kind": "NON_NULL", "ofType": { @@ -2237,7 +2422,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "OBJECT", - "name": "v0_rpcs" + "name": "v0_channels" } } } @@ -2261,7 +2446,7 @@ export type introspection = { "kind": "LIST", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stream_cursor_input" + "name": "v0_channels_stream_cursor_input" } } } @@ -2270,119 +2455,3765 @@ export type introspection = { "name": "where", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "name": "v0_channels_bool_exp" } } ], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "SCALAR", - "name": "timestamptz" - }, - { - "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp", - "inputFields": [ - { - "name": "_eq", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } }, { - "name": "_gt", + "name": "v0_connection_map", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_connection_map" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_connection_map_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_connection_map_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_connection_map" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_connections", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_connections" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_connections_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_connections_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connections_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_connections_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_connections" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_connections_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connections_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_index_status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_index_status" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_index_status_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_index_status_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_index_status" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_index_status_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_packets", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_packets" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_packets_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_packets_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_packets_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_packets_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_packets" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_packets_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_packets_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_rpcs", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_rpcs_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_rpcs_by_pk", + "type": { + "kind": "OBJECT", + "name": "v0_rpcs" + }, + "args": [ + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "url", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_rpcs_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_transfers", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_transfers" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_transfers_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "v0_transfers_stream", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_transfers" + } + } + } + }, + "args": [ + { + "name": "batch_size", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + } + }, + { + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_stream_cursor_input" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_bool_exp" + } + } + ], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "SCALAR", + "name": "timestamptz" + }, + { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "inputFields": [ + { + "name": "_eq", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_gt", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_gte", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_in", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } + } + } + }, + { + "name": "_is_null", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "_lt", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_lte", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_neq", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + { + "name": "_nin", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } + } + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_assets", + "fields": [ + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "decimals", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "denom", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "display_symbol", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "logo_uri", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_bool_exp" + } + } + } + }, + { + "name": "chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "decimals", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "denom", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "display_symbol", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "logo_uri", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_assets_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "decimals", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "denom", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "display_symbol", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "logo_uri", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_assets_select_column", + "enumValues": [ + { + "name": "chain_id", + "isDeprecated": false + }, + { + "name": "decimals", + "isDeprecated": false + }, + { + "name": "denom", + "isDeprecated": false + }, + { + "name": "display_symbol", + "isDeprecated": false + }, + { + "name": "logo_uri", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_assets_stream_cursor_value_input", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "decimals", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "denom", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "display_symbol", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "logo_uri", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_blocks", + "fields": [ + { + "name": "chain", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "data", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "jsonb" + } + }, + "args": [ + { + "name": "path", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isDeprecated": false + }, + { + "name": "hash", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "height", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "time", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "timestamptz" + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_aggregate_order_by", + "inputFields": [ + { + "name": "avg", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_avg_order_by" + } + }, + { + "name": "count", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "max", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_max_order_by" + } + }, + { + "name": "min", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_min_order_by" + } + }, + { + "name": "stddev", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_order_by" + } + }, + { + "name": "stddev_pop", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_pop_order_by" + } + }, + { + "name": "stddev_samp", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_samp_order_by" + } + }, + { + "name": "sum", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_sum_order_by" + } + }, + { + "name": "var_pop", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_pop_order_by" + } + }, + { + "name": "var_samp", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_samp_order_by" + } + }, + { + "name": "variance", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_variance_order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_avg_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + } + }, + { + "name": "chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "data", + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp" + } + }, + { + "name": "hash", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "height", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "time", + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_max_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "hash", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "time", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_min_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "hash", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "time", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_order_by", + "inputFields": [ + { + "name": "chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "data", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "hash", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "time", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_blocks_select_column", + "enumValues": [ + { + "name": "chain_id", + "isDeprecated": false + }, + { + "name": "data", + "isDeprecated": false + }, + { + "name": "hash", + "isDeprecated": false + }, + { + "name": "height", + "isDeprecated": false + }, + { + "name": "time", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stddev_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_stream_cursor_value_input", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "data", + "type": { + "kind": "SCALAR", + "name": "jsonb" + } + }, + { + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "height", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "time", + "type": { + "kind": "SCALAR", + "name": "timestamptz" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_sum_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_var_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_variance_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "height", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_chains", + "fields": [ + { + "name": "addr_prefix", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "blocks", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_blocks" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_blocks_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "chain_id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "display_name", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "enabled", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [], + "isDeprecated": false + }, + { + "name": "rpc_type", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "rpcs", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_rpcs" + } + } + } + }, + "args": [ + { + "name": "distinct_on", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_rpcs_select_column" + } + } + } + }, + { + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "offset", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "order_by", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by" + } + } + } + }, + { + "name": "where", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + ], + "isDeprecated": false + }, + { + "name": "testnet", + "type": { + "kind": "SCALAR", + "name": "Boolean" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + } + } + }, + { + "name": "addr_prefix", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "blocks", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_bool_exp" + } + }, + { + "name": "chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "display_name", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "enabled", + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp" + } + }, + { + "name": "id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "rpc_type", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "rpcs", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + }, + { + "name": "testnet", + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by", + "inputFields": [ + { + "name": "addr_prefix", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "blocks_aggregate", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_blocks_aggregate_order_by" + } + }, + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "display_name", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "enabled", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "rpc_type", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "rpcs_aggregate", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_aggregate_order_by" + } + }, + { + "name": "testnet", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_chains_select_column", + "enumValues": [ + { + "name": "addr_prefix", + "isDeprecated": false + }, + { + "name": "chain_id", + "isDeprecated": false + }, + { + "name": "display_name", + "isDeprecated": false + }, + { + "name": "enabled", + "isDeprecated": false + }, + { + "name": "id", + "isDeprecated": false + }, + { + "name": "rpc_type", + "isDeprecated": false + }, + { + "name": "testnet", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_chains_stream_cursor_value_input", + "inputFields": [ + { + "name": "addr_prefix", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "display_name", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "enabled", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + }, + { + "name": "id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "rpc_type", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "testnet", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channel_map", + "fields": [ + { + "name": "connection", + "type": { + "kind": "OBJECT", + "name": "v0_connection_map" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination", + "type": { + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source", + "type": { + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_bool_exp" + } + } + } + }, + { + "name": "connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_bool_exp" + } + }, + { + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "from_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "from_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "status", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "to_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_order_by", + "inputFields": [ + { + "name": "connection", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_order_by" + } + }, + { + "name": "destination", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "from_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "status", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_channel_map_select_column", + "enumValues": [ + { + "name": "from_chain_id", + "isDeprecated": false + }, + { + "name": "from_channel_id", + "isDeprecated": false + }, + { + "name": "from_connection_id", + "isDeprecated": false + }, + { + "name": "from_id", + "isDeprecated": false + }, + { + "name": "from_port_id", + "isDeprecated": false + }, + { + "name": "status", + "isDeprecated": false + }, + { + "name": "to_chain_id", + "isDeprecated": false + }, + { + "name": "to_channel_id", + "isDeprecated": false + }, + { + "name": "to_connection_id", + "isDeprecated": false + }, + { + "name": "to_id", + "isDeprecated": false + }, + { + "name": "to_port_id", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channel_map_stream_cursor_value_input", + "inputFields": [ + { + "name": "from_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "from_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "to_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "to_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "to_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "to_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channels", + "fields": [ + { + "name": "destination_chain", + "type": { + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain", + "type": { + "kind": "OBJECT", + "name": "v0_chains" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_aggregate", + "fields": [ + { + "name": "aggregate", + "type": { + "kind": "OBJECT", + "name": "v0_channels_aggregate_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_channels" + } + } + } + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_aggregate_fields", + "fields": [ + { + "name": "avg", + "type": { + "kind": "OBJECT", + "name": "v0_channels_avg_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "count", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } + }, + "args": [ + { + "name": "columns", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "ENUM", + "name": "v0_channels_select_column" + } + } + } + }, + { + "name": "distinct", + "type": { + "kind": "SCALAR", + "name": "Boolean" + } + } + ], + "isDeprecated": false + }, + { + "name": "max", + "type": { + "kind": "OBJECT", + "name": "v0_channels_max_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "min", + "type": { + "kind": "OBJECT", + "name": "v0_channels_min_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev_pop", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_pop_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "stddev_samp", + "type": { + "kind": "OBJECT", + "name": "v0_channels_stddev_samp_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "sum", + "type": { + "kind": "OBJECT", + "name": "v0_channels_sum_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "var_pop", + "type": { + "kind": "OBJECT", + "name": "v0_channels_var_pop_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "var_samp", + "type": { + "kind": "OBJECT", + "name": "v0_channels_var_samp_fields" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "variance", + "type": { + "kind": "OBJECT", + "name": "v0_channels_variance_fields" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_avg_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp", + "inputFields": [ + { + "name": "_and", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + } + }, + { + "name": "_not", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + }, + { + "name": "_or", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_bool_exp" + } + } + } + }, + { + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "destination_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "source_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "source_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "status", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channels_max_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_min_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "destination_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_port_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_order_by", + "inputFields": [ + { + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "destination_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "destination_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "source_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "status", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_channels_select_column", + "enumValues": [ + { + "name": "destination_chain_id", + "isDeprecated": false + }, + { + "name": "destination_channel_id", + "isDeprecated": false + }, + { + "name": "destination_connection_id", + "isDeprecated": false + }, + { + "name": "destination_port_id", + "isDeprecated": false + }, + { + "name": "source_chain_id", + "isDeprecated": false + }, + { + "name": "source_channel_id", + "isDeprecated": false + }, + { + "name": "source_connection_id", + "isDeprecated": false + }, + { + "name": "source_port_id", + "isDeprecated": false + }, + { + "name": "status", + "isDeprecated": false + } + ] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_pop_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_stddev_samp_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_channels_stream_cursor_value_input", + "inputFields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } + }, + { + "name": "destination_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "destination_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "destination_port_id", "type": { "kind": "SCALAR", - "name": "timestamptz" + "name": "String" } }, { - "name": "_gte", + "name": "source_chain_id", "type": { "kind": "SCALAR", - "name": "timestamptz" + "name": "Int" } }, { - "name": "_in", + "name": "source_channel_id", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - } + "kind": "SCALAR", + "name": "String" } }, { - "name": "_is_null", + "name": "source_connection_id", "type": { "kind": "SCALAR", - "name": "Boolean" + "name": "String" } }, { - "name": "_lt", + "name": "source_port_id", "type": { "kind": "SCALAR", - "name": "timestamptz" + "name": "String" } }, { - "name": "_lte", + "name": "status", "type": { "kind": "SCALAR", - "name": "timestamptz" + "name": "String" } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_channels_sum_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false }, { - "name": "_neq", + "name": "source_chain_id", "type": { "kind": "SCALAR", - "name": "timestamptz" - } + "name": "Int" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_var_pop_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false }, { - "name": "_nin", + "name": "source_chain_id", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - } + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false } ], - "isOneOf": false + "interfaces": [] }, { "kind": "OBJECT", - "name": "v0_assets", + "name": "v0_channels_var_samp_fields", "fields": [ { - "name": "chain_id", + "name": "destination_chain_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } + "kind": "SCALAR", + "name": "Float" }, "args": [], "isDeprecated": false }, { - "name": "decimals", + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_channels_variance_fields", + "fields": [ + { + "name": "destination_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "source_chain_id", + "type": { + "kind": "SCALAR", + "name": "Float" + }, + "args": [], + "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "OBJECT", + "name": "v0_connection_map", + "fields": [ + { + "name": "from_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_client_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "from_id", "type": { "kind": "SCALAR", "name": "Int" @@ -2391,19 +6222,16 @@ export type introspection = { "isDeprecated": false }, { - "name": "denom", + "name": "status", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "display_symbol", + "name": "to_chain_id", "type": { "kind": "SCALAR", "name": "String" @@ -2412,20 +6240,38 @@ export type introspection = { "isDeprecated": false }, { - "name": "logo_uri", + "name": "to_client_id", + "type": { + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false + }, + { + "name": "to_connection_id", "type": { "kind": "SCALAR", "name": "String" }, "args": [], "isDeprecated": false + }, + { + "name": "to_id", + "type": { + "kind": "SCALAR", + "name": "Int" + }, + "args": [], + "isDeprecated": false } ], "interfaces": [] }, { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp", + "name": "v0_connection_map_bool_exp", "inputFields": [ { "name": "_and", @@ -2435,7 +6281,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp" + "name": "v0_connection_map_bool_exp" } } } @@ -2444,7 +6290,7 @@ export type introspection = { "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp" + "name": "v0_connection_map_bool_exp" } }, { @@ -2455,83 +6301,139 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_assets_bool_exp" + "name": "v0_connection_map_bool_exp" } } } }, { - "name": "chain_id", + "name": "from_chain_id", "type": { "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "name": "String_comparison_exp" } }, { - "name": "decimals", + "name": "from_client_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_id", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "denom", + "name": "status", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_client_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_connection_id", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "display_symbol", + "name": "to_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_connection_map_order_by", + "inputFields": [ + { + "name": "from_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_client_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_connection_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "logo_uri", + "name": "from_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_assets_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "status", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "decimals", + "name": "to_chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "denom", + "name": "to_client_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "display_symbol", + "name": "to_connection_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "logo_uri", + "name": "to_id", "type": { "kind": "ENUM", "name": "order_by" @@ -2542,33 +6444,49 @@ export type introspection = { }, { "kind": "ENUM", - "name": "v0_assets_select_column", + "name": "v0_connection_map_select_column", "enumValues": [ { - "name": "chain_id", + "name": "from_chain_id", "isDeprecated": false }, { - "name": "decimals", + "name": "from_client_id", "isDeprecated": false }, { - "name": "denom", + "name": "from_connection_id", "isDeprecated": false }, { - "name": "display_symbol", + "name": "from_id", "isDeprecated": false }, { - "name": "logo_uri", + "name": "status", + "isDeprecated": false + }, + { + "name": "to_chain_id", + "isDeprecated": false + }, + { + "name": "to_client_id", + "isDeprecated": false + }, + { + "name": "to_connection_id", + "isDeprecated": false + }, + { + "name": "to_id", "isDeprecated": false } ] }, { "kind": "INPUT_OBJECT", - "name": "v0_assets_stream_cursor_input", + "name": "v0_connection_map_stream_cursor_input", "inputFields": [ { "name": "initial_value", @@ -2576,7 +6494,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_assets_stream_cursor_value_input" + "name": "v0_connection_map_stream_cursor_value_input" } } }, @@ -2592,241 +6510,147 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_assets_stream_cursor_value_input", + "name": "v0_connection_map_stream_cursor_value_input", "inputFields": [ { - "name": "chain_id", + "name": "from_chain_id", "type": { "kind": "SCALAR", - "name": "Int" + "name": "String" } }, { - "name": "decimals", + "name": "from_client_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_id", "type": { "kind": "SCALAR", "name": "Int" } }, { - "name": "denom", + "name": "status", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "display_symbol", + "name": "to_chain_id", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "logo_uri", + "name": "to_client_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "to_connection_id", "type": { "kind": "SCALAR", "name": "String" } + }, + { + "name": "to_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } } ], "isOneOf": false }, { "kind": "OBJECT", - "name": "v0_blocks", + "name": "v0_connections", "fields": [ { - "name": "chain", + "name": "destination_chain_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } + "kind": "SCALAR", + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "chain_id", + "name": "destination_client_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "data", + "name": "destination_connection_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "jsonb" - } + "kind": "SCALAR", + "name": "String" }, - "args": [ - { - "name": "path", - "type": { - "kind": "SCALAR", - "name": "String" - } - } - ], + "args": [], "isDeprecated": false }, { - "name": "hash", + "name": "source_chain_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } + "kind": "SCALAR", + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "height", + "name": "source_client_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "time", + "name": "source_connection_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "timestamptz" - } + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_aggregate_order_by", - "inputFields": [ - { - "name": "avg", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_avg_order_by" - } - }, - { - "name": "count", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "max", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_max_order_by" - } - }, - { - "name": "min", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_min_order_by" - } - }, - { - "name": "stddev", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_order_by" - } - }, - { - "name": "stddev_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_pop_order_by" - } }, { - "name": "stddev_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_samp_order_by" - } - }, - { - "name": "sum", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_sum_order_by" - } - }, - { - "name": "var_pop", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_pop_order_by" - } - }, - { - "name": "var_samp", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_samp_order_by" - } - }, - { - "name": "variance", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_variance_order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_avg_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", + "name": "status", "type": { - "kind": "ENUM", - "name": "order_by" - } + "kind": "SCALAR", + "name": "String" + }, + "args": [], + "isDeprecated": false } ], - "isOneOf": false + "interfaces": [] }, { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp", + "name": "v0_connections_bool_exp", "inputFields": [ { "name": "_and", @@ -2836,7 +6660,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" + "name": "v0_connections_bool_exp" } } } @@ -2845,7 +6669,7 @@ export type introspection = { "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" + "name": "v0_connections_bool_exp" } }, { @@ -2856,86 +6680,58 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" + "name": "v0_connections_bool_exp" } } } }, { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" - } - }, - { - "name": "chain_id", + "name": "destination_chain_id", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "data", + "name": "destination_client_id", "type": { "kind": "INPUT_OBJECT", - "name": "jsonb_comparison_exp" + "name": "String_comparison_exp" } }, { - "name": "hash", + "name": "destination_connection_id", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "height", + "name": "source_chain_id", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "time", + "name": "source_client_id", "type": { "kind": "INPUT_OBJECT", - "name": "timestamptz_comparison_exp" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_max_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "hash", - "type": { - "kind": "ENUM", - "name": "order_by" + "name": "String_comparison_exp" } }, { - "name": "height", + "name": "source_connection_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "time", + "name": "status", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } } ], @@ -2943,80 +6739,52 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_blocks_min_order_by", + "name": "v0_connections_order_by", "inputFields": [ { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "hash", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", + "name": "destination_chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "time", + "name": "destination_client_id", "type": { "kind": "ENUM", "name": "order_by" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by", - "inputFields": [ - { - "name": "chain", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" - } }, { - "name": "chain_id", + "name": "destination_connection_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "data", + "name": "source_chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "hash", + "name": "source_client_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "height", + "name": "source_connection_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "time", + "name": "status", "type": { "kind": "ENUM", "name": "order_by" @@ -3027,196 +6795,57 @@ export type introspection = { }, { "kind": "ENUM", - "name": "v0_blocks_select_column", + "name": "v0_connections_select_column", "enumValues": [ { - "name": "chain_id", + "name": "destination_chain_id", "isDeprecated": false }, { - "name": "data", + "name": "destination_client_id", "isDeprecated": false }, { - "name": "hash", + "name": "destination_connection_id", "isDeprecated": false }, { - "name": "height", + "name": "source_chain_id", "isDeprecated": false }, { - "name": "time", + "name": "source_client_id", "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } }, { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stddev_samp_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } + "name": "source_connection_id", + "isDeprecated": false }, { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } + "name": "status", + "isDeprecated": false } - ], - "isOneOf": false + ] }, { "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_input", + "name": "v0_connections_stream_cursor_input", "inputFields": [ { "name": "initial_value", "type": { "kind": "NON_NULL", "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_value_input" - } - } - }, - { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_stream_cursor_value_input", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "data", - "type": { - "kind": "SCALAR", - "name": "jsonb" - } - }, - { - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, - { - "name": "height", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "time", - "type": { - "kind": "SCALAR", - "name": "timestamptz" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_sum_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "height", - "type": { - "kind": "ENUM", - "name": "order_by" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_pop_order_by", - "inputFields": [ - { - "name": "chain_id", - "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "v0_connections_stream_cursor_value_input" + } } }, { - "name": "height", + "name": "ordering", "type": { "kind": "ENUM", - "name": "order_by" + "name": "cursor_ordering" } } ], @@ -3224,133 +6853,69 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_blocks_var_samp_order_by", + "name": "v0_connections_stream_cursor_value_input", "inputFields": [ { - "name": "chain_id", + "name": "destination_chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "height", + "name": "destination_client_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_variance_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "destination_connection_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "height", + "name": "source_chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_chains", - "fields": [ + }, { - "name": "addr_prefix", + "name": "source_client_id", "type": { "kind": "SCALAR", "name": "String" - }, - "args": [], - "isDeprecated": false + } }, { - "name": "blocks", + "name": "source_connection_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_blocks" - } - } - } - }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_blocks_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - } - ], - "isDeprecated": false + "kind": "SCALAR", + "name": "String" + } }, + { + "name": "status", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "OBJECT", + "name": "v0_index_status", + "fields": [ { "name": "chain_id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false @@ -3365,10 +6930,10 @@ export type introspection = { "isDeprecated": false }, { - "name": "enabled", + "name": "height", "type": { "kind": "SCALAR", - "name": "Boolean" + "name": "Int" }, "args": [], "isDeprecated": false @@ -3376,17 +6941,14 @@ export type introspection = { { "name": "id", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } + "kind": "SCALAR", + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "rpc_type", + "name": "status", "type": { "kind": "SCALAR", "name": "String" @@ -3395,76 +6957,19 @@ export type introspection = { "isDeprecated": false }, { - "name": "rpcs", + "name": "timestamp", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_rpcs" - } - } - } + "kind": "SCALAR", + "name": "timestamptz" }, - "args": [ - { - "name": "distinct_on", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_rpcs_select_column" - } - } - } - }, - { - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "offset", - "type": { - "kind": "SCALAR", - "name": "Int" - } - }, - { - "name": "order_by", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_order_by" - } - } - } - }, - { - "name": "where", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" - } - } - ], + "args": [], "isDeprecated": false }, { - "name": "testnet", + "name": "tip_age_seconds", "type": { "kind": "SCALAR", - "name": "Boolean" + "name": "numeric" }, "args": [], "isDeprecated": false @@ -3474,7 +6979,7 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp", + "name": "v0_index_status_bool_exp", "inputFields": [ { "name": "_and", @@ -3484,7 +6989,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "name": "v0_index_status_bool_exp" } } } @@ -3493,7 +6998,7 @@ export type introspection = { "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "name": "v0_index_status_bool_exp" } }, { @@ -3504,25 +7009,11 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "name": "v0_index_status_bool_exp" } } } }, - { - "name": "addr_prefix", - "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" - } - }, - { - "name": "blocks", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_bool_exp" - } - }, { "name": "chain_id", "type": { @@ -3538,10 +7029,10 @@ export type introspection = { } }, { - "name": "enabled", + "name": "height", "type": { "kind": "INPUT_OBJECT", - "name": "Boolean_comparison_exp" + "name": "Int_comparison_exp" } }, { @@ -3552,24 +7043,24 @@ export type introspection = { } }, { - "name": "rpc_type", + "name": "status", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "rpcs", + "name": "timestamp", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "name": "timestamptz_comparison_exp" } }, { - "name": "testnet", + "name": "tip_age_seconds", "type": { "kind": "INPUT_OBJECT", - "name": "Boolean_comparison_exp" + "name": "numeric_comparison_exp" } } ], @@ -3577,22 +7068,8 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by", + "name": "v0_index_status_order_by", "inputFields": [ - { - "name": "addr_prefix", - "type": { - "kind": "ENUM", - "name": "order_by" - } - }, - { - "name": "blocks_aggregate", - "type": { - "kind": "INPUT_OBJECT", - "name": "v0_blocks_aggregate_order_by" - } - }, { "name": "chain_id", "type": { @@ -3608,7 +7085,7 @@ export type introspection = { } }, { - "name": "enabled", + "name": "height", "type": { "kind": "ENUM", "name": "order_by" @@ -3622,21 +7099,21 @@ export type introspection = { } }, { - "name": "rpc_type", + "name": "status", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "rpcs_aggregate", + "name": "timestamp", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_aggregate_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "testnet", + "name": "tip_age_seconds", "type": { "kind": "ENUM", "name": "order_by" @@ -3647,12 +7124,8 @@ export type introspection = { }, { "kind": "ENUM", - "name": "v0_chains_select_column", + "name": "v0_index_status_select_column", "enumValues": [ - { - "name": "addr_prefix", - "isDeprecated": false - }, { "name": "chain_id", "isDeprecated": false @@ -3662,7 +7135,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "enabled", + "name": "height", "isDeprecated": false }, { @@ -3670,18 +7143,22 @@ export type introspection = { "isDeprecated": false }, { - "name": "rpc_type", + "name": "status", "isDeprecated": false }, { - "name": "testnet", + "name": "timestamp", + "isDeprecated": false + }, + { + "name": "tip_age_seconds", "isDeprecated": false } ] }, { "kind": "INPUT_OBJECT", - "name": "v0_chains_stream_cursor_input", + "name": "v0_index_status_stream_cursor_input", "inputFields": [ { "name": "initial_value", @@ -3689,7 +7166,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_chains_stream_cursor_value_input" + "name": "v0_index_status_stream_cursor_value_input" } } }, @@ -3705,15 +7182,8 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_chains_stream_cursor_value_input", + "name": "v0_index_status_stream_cursor_value_input", "inputFields": [ - { - "name": "addr_prefix", - "type": { - "kind": "SCALAR", - "name": "String" - } - }, { "name": "chain_id", "type": { @@ -3729,10 +7199,10 @@ export type introspection = { } }, { - "name": "enabled", + "name": "height", "type": { "kind": "SCALAR", - "name": "Boolean" + "name": "Int" } }, { @@ -3743,17 +7213,24 @@ export type introspection = { } }, { - "name": "rpc_type", + "name": "status", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "testnet", + "name": "timestamp", "type": { "kind": "SCALAR", - "name": "Boolean" + "name": "timestamptz" + } + }, + { + "name": "tip_age_seconds", + "type": { + "kind": "SCALAR", + "name": "numeric" } } ], @@ -3761,7 +7238,7 @@ export type introspection = { }, { "kind": "OBJECT", - "name": "v0_channels", + "name": "v0_packets", "fields": [ { "name": "destination_chain", @@ -3773,61 +7250,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "destination_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_channel_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_connection_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "destination_port_id", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_chain", - "type": { - "kind": "OBJECT", - "name": "v0_chains" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_chain_id", - "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "source_channel_id", + "name": "from_chain_id", "type": { "kind": "SCALAR", "name": "String" @@ -3836,7 +7259,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "source_connection_id", + "name": "from_channel_id", "type": { "kind": "SCALAR", "name": "String" @@ -3845,7 +7268,7 @@ export type introspection = { "isDeprecated": false }, { - "name": "source_port_id", + "name": "from_connection_id", "type": { "kind": "SCALAR", "name": "String" @@ -3854,199 +7277,73 @@ export type introspection = { "isDeprecated": false }, { - "name": "status", + "name": "from_id", "type": { "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_aggregate", - "fields": [ - { - "name": "aggregate", - "type": { - "kind": "OBJECT", - "name": "v0_channels_aggregate_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "nodes", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_channels" - } - } - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_aggregate_fields", - "fields": [ - { - "name": "avg", - "type": { - "kind": "OBJECT", - "name": "v0_channels_avg_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "count", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [ - { - "name": "columns", - "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "ENUM", - "name": "v0_channels_select_column" - } - } - } - }, - { - "name": "distinct", - "type": { - "kind": "SCALAR", - "name": "Boolean" - } - } - ], - "isDeprecated": false - }, - { - "name": "max", - "type": { - "kind": "OBJECT", - "name": "v0_channels_max_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "min", - "type": { - "kind": "OBJECT", - "name": "v0_channels_min_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev", - "type": { - "kind": "OBJECT", - "name": "v0_channels_stddev_fields" - }, - "args": [], - "isDeprecated": false - }, - { - "name": "stddev_pop", - "type": { - "kind": "OBJECT", - "name": "v0_channels_stddev_pop_fields" + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "stddev_samp", + "name": "from_port_id", "type": { - "kind": "OBJECT", - "name": "v0_channels_stddev_samp_fields" + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "sum", + "name": "source_chain", "type": { "kind": "OBJECT", - "name": "v0_channels_sum_fields" + "name": "v0_chains" }, "args": [], "isDeprecated": false }, { - "name": "var_pop", + "name": "to_chain_id", "type": { - "kind": "OBJECT", - "name": "v0_channels_var_pop_fields" + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "var_samp", + "name": "to_channel_id", "type": { - "kind": "OBJECT", - "name": "v0_channels_var_samp_fields" + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "variance", + "name": "to_connection_id", "type": { - "kind": "OBJECT", - "name": "v0_channels_variance_fields" + "kind": "SCALAR", + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_avg_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "to_id", "type": { "kind": "SCALAR", - "name": "Float" + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "to_port_id", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false @@ -4056,7 +7353,7 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp", + "name": "v0_packets_bool_exp", "inputFields": [ { "name": "_and", @@ -4066,7 +7363,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_packets_bool_exp" } } } @@ -4075,7 +7372,7 @@ export type introspection = { "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_packets_bool_exp" } }, { @@ -4086,7 +7383,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_channels_bool_exp" + "name": "v0_packets_bool_exp" } } } @@ -4099,73 +7396,318 @@ export type introspection = { } }, { - "name": "destination_chain_id", + "name": "from_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "from_id", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "destination_channel_id", + "name": "from_port_id", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "destination_connection_id", + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_channel_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_connection_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "to_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } + }, + { + "name": "to_port_id", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_packets_order_by", + "inputFields": [ + { + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "from_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "from_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "source_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } + }, + { + "name": "to_chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_channel_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_connection_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + }, + { + "name": "to_port_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_packets_select_column", + "enumValues": [ + { + "name": "from_chain_id", + "isDeprecated": false + }, + { + "name": "from_channel_id", + "isDeprecated": false + }, + { + "name": "from_connection_id", + "isDeprecated": false + }, + { + "name": "from_id", + "isDeprecated": false + }, + { + "name": "from_port_id", + "isDeprecated": false + }, + { + "name": "to_chain_id", + "isDeprecated": false + }, + { + "name": "to_channel_id", + "isDeprecated": false + }, + { + "name": "to_connection_id", + "isDeprecated": false + }, + { + "name": "to_id", + "isDeprecated": false + }, + { + "name": "to_port_id", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_packets_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_packets_stream_cursor_value_input" + } + } + }, + { + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_packets_stream_cursor_value_input", + "inputFields": [ + { + "name": "from_chain_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_channel_id", + "type": { + "kind": "SCALAR", + "name": "String" + } + }, + { + "name": "from_connection_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "destination_port_id", + "name": "from_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "source_chain", + "name": "from_port_id", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "source_chain_id", + "name": "to_chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "source_channel_id", + "name": "to_channel_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "source_connection_id", + "name": "to_connection_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "String" } }, { - "name": "source_port_id", + "name": "to_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "status", + "name": "to_port_id", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "SCALAR", + "name": "String" } } ], @@ -4173,28 +7715,34 @@ export type introspection = { }, { "kind": "OBJECT", - "name": "v0_channels_max_fields", + "name": "v0_rpcs", "fields": [ { - "name": "destination_chain_id", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "v0_chains" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_channel_id", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Int" + } }, "args": [], "isDeprecated": false }, { - "name": "destination_connection_id", + "name": "description", "type": { "kind": "SCALAR", "name": "String" @@ -4203,226 +7751,309 @@ export type introspection = { "isDeprecated": false }, { - "name": "destination_port_id", + "name": "type", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "url", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "String" + } }, "args": [], "isDeprecated": false + } + ], + "interfaces": [] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_aggregate_order_by", + "inputFields": [ + { + "name": "avg", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_avg_order_by" + } }, { - "name": "source_channel_id", + "name": "count", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "source_connection_id", + "name": "max", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_max_order_by" + } }, { - "name": "source_port_id", + "name": "min", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_min_order_by" + } }, { - "name": "status", + "name": "stddev", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_order_by" + } + }, + { + "name": "stddev_pop", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_pop_order_by" + } + }, + { + "name": "stddev_samp", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_samp_order_by" + } + }, + { + "name": "sum", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_sum_order_by" + } + }, + { + "name": "var_pop", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_pop_order_by" + } + }, + { + "name": "var_samp", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_samp_order_by" + } + }, + { + "name": "variance", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_variance_order_by" + } } ], - "interfaces": [] + "isOneOf": false }, { - "kind": "OBJECT", - "name": "v0_channels_min_fields", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_avg_order_by", + "inputFields": [ { - "name": "destination_chain_id", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false - }, + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp", + "inputFields": [ { - "name": "destination_channel_id", + "name": "_and", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + } }, { - "name": "destination_connection_id", + "name": "_not", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } }, { - "name": "destination_port_id", + "name": "_or", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_bool_exp" + } + } + } }, { - "name": "source_chain_id", + "name": "chain", "type": { - "kind": "SCALAR", - "name": "Int" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } }, { - "name": "source_channel_id", + "name": "chain_id", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "source_connection_id", + "name": "description", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "source_port_id", + "name": "type", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "status", + "name": "url", "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } } ], - "interfaces": [] + "isOneOf": false }, { "kind": "INPUT_OBJECT", - "name": "v0_channels_order_by", + "name": "v0_rpcs_max_order_by", "inputFields": [ { - "name": "destination_chain", + "name": "chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "destination_chain_id", + "name": "description", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_channel_id", + "name": "type", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_connection_id", + "name": "url", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_min_order_by", + "inputFields": [ + { + "name": "chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "destination_port_id", + "name": "description", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "source_chain", + "name": "type", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "source_chain_id", + "name": "url", "type": { "kind": "ENUM", "name": "order_by" } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_order_by", + "inputFields": [ + { + "name": "chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" + } }, { - "name": "source_channel_id", + "name": "chain_id", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "source_connection_id", + "name": "description", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "source_port_id", + "name": "type", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "status", + "name": "url", "type": { "kind": "ENUM", "name": "order_by" @@ -4433,249 +8064,361 @@ export type introspection = { }, { "kind": "ENUM", - "name": "v0_channels_select_column", + "name": "v0_rpcs_select_column", "enumValues": [ { - "name": "destination_chain_id", + "name": "chain_id", "isDeprecated": false }, { - "name": "destination_channel_id", + "name": "description", "isDeprecated": false }, { - "name": "destination_connection_id", + "name": "type", "isDeprecated": false }, { - "name": "destination_port_id", + "name": "url", "isDeprecated": false - }, + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_order_by", + "inputFields": [ { - "name": "source_chain_id", - "isDeprecated": false + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stddev_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_value_input" + } + } }, { - "name": "source_channel_id", - "isDeprecated": false + "name": "ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_stream_cursor_value_input", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "SCALAR", + "name": "Int" + } }, { - "name": "source_connection_id", - "isDeprecated": false + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - "name": "source_port_id", - "isDeprecated": false + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - "name": "status", - "isDeprecated": false + "name": "url", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_sum_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_pop_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_var_samp_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } + } + ], + "isOneOf": false + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_rpcs_variance_order_by", + "inputFields": [ + { + "name": "chain_id", + "type": { + "kind": "ENUM", + "name": "order_by" + } } - ] + ], + "isOneOf": false }, { "kind": "OBJECT", - "name": "v0_channels_stddev_fields", + "name": "v0_transfers", "fields": [ { - "name": "destination_chain_id", + "name": "assets", "type": { "kind": "SCALAR", - "name": "Float" + "name": "jsonb" }, - "args": [], + "args": [ + { + "name": "path", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "destination_block_hash", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_stddev_pop_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "destination_chain", "type": { - "kind": "SCALAR", - "name": "Float" + "kind": "OBJECT", + "name": "v0_chains" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "destination_chain_id", "type": { "kind": "SCALAR", - "name": "Float" + "name": "Int" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_stddev_samp_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "destination_channel", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "destination_data", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_channels_stream_cursor_input", - "inputFields": [ - { - "name": "initial_value", - "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_channels_stream_cursor_value_input" - } - } }, { - "name": "ordering", - "type": { - "kind": "ENUM", - "name": "cursor_ordering" - } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_channels_stream_cursor_value_input", - "inputFields": [ - { - "name": "destination_chain_id", + "name": "destination_height", "type": { "kind": "SCALAR", "name": "Int" - } + }, + "args": [], + "isDeprecated": false }, { - "name": "destination_channel_id", + "name": "destination_json", "type": { "kind": "SCALAR", - "name": "String" - } + "name": "jsonb" + }, + "args": [ + { + "name": "path", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], + "isDeprecated": false }, { - "name": "destination_connection_id", + "name": "destination_port", "type": { "kind": "SCALAR", "name": "String" - } + }, + "args": [], + "isDeprecated": false }, { - "name": "destination_port_id", + "name": "destination_sequence", "type": { "kind": "SCALAR", - "name": "String" - } + "name": "numeric" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_chain_id", + "name": "destination_time", "type": { "kind": "SCALAR", - "name": "Int" - } + "name": "timestamptz" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_channel_id", + "name": "destination_timeout_timestamp", "type": { "kind": "SCALAR", - "name": "String" - } + "name": "numeric" + }, + "args": [], + "isDeprecated": false }, { - "name": "source_connection_id", + "name": "destination_transaction_hash", "type": { "kind": "SCALAR", "name": "String" - } + }, + "args": [], + "isDeprecated": false }, { - "name": "source_port_id", + "name": "destination_transaction_index", "type": { "kind": "SCALAR", "name": "String" - } + }, + "args": [], + "isDeprecated": false }, { - "name": "status", + "name": "receiver", "type": { "kind": "SCALAR", "name": "String" - } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_channels_sum_fields", - "fields": [ + }, + "args": [], + "isDeprecated": false + }, { - "name": "destination_chain_id", + "name": "sender", "type": { "kind": "SCALAR", - "name": "Int" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "source_block_hash", "type": { "kind": "SCALAR", - "name": "Int" + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_var_pop_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "source_chain", "type": { - "kind": "SCALAR", - "name": "Float" + "kind": "OBJECT", + "name": "v0_chains" }, "args": [], "isDeprecated": false @@ -4684,70 +8427,57 @@ export type introspection = { "name": "source_chain_id", "type": { "kind": "SCALAR", - "name": "Float" + "name": "Int" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_var_samp_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "source_channel", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "source_data", "type": { "kind": "SCALAR", - "name": "Float" + "name": "String" }, "args": [], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_channels_variance_fields", - "fields": [ + }, { - "name": "destination_chain_id", + "name": "source_height", "type": { "kind": "SCALAR", - "name": "Float" + "name": "Int" }, "args": [], "isDeprecated": false }, { - "name": "source_chain_id", + "name": "source_json", "type": { "kind": "SCALAR", - "name": "Float" + "name": "jsonb" }, - "args": [], + "args": [ + { + "name": "path", + "type": { + "kind": "SCALAR", + "name": "String" + } + } + ], "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "OBJECT", - "name": "v0_index_status", - "fields": [ + }, { - "name": "chain_id", + "name": "source_port", "type": { "kind": "SCALAR", "name": "String" @@ -4756,34 +8486,34 @@ export type introspection = { "isDeprecated": false }, { - "name": "display_name", + "name": "source_sequence", "type": { "kind": "SCALAR", - "name": "String" + "name": "numeric" }, "args": [], "isDeprecated": false }, { - "name": "height", + "name": "source_time", "type": { "kind": "SCALAR", - "name": "Int" + "name": "timestamptz" }, "args": [], "isDeprecated": false }, { - "name": "id", + "name": "source_timeout_timestamp", "type": { "kind": "SCALAR", - "name": "Int" + "name": "numeric" }, "args": [], "isDeprecated": false }, { - "name": "status", + "name": "source_transaction_hash", "type": { "kind": "SCALAR", "name": "String" @@ -4792,19 +8522,19 @@ export type introspection = { "isDeprecated": false }, { - "name": "timestamp", + "name": "source_transaction_index", "type": { "kind": "SCALAR", - "name": "timestamptz" + "name": "String" }, "args": [], "isDeprecated": false }, { - "name": "tip_age_seconds", + "name": "status", "type": { "kind": "SCALAR", - "name": "numeric" + "name": "String" }, "args": [], "isDeprecated": false @@ -4814,7 +8544,7 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp", + "name": "v0_transfers_bool_exp", "inputFields": [ { "name": "_and", @@ -4824,7 +8554,7 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_transfers_bool_exp" } } } @@ -4833,7 +8563,7 @@ export type introspection = { "name": "_not", "type": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_transfers_bool_exp" } }, { @@ -4844,172 +8574,219 @@ export type introspection = { "kind": "NON_NULL", "ofType": { "kind": "INPUT_OBJECT", - "name": "v0_index_status_bool_exp" + "name": "v0_transfers_bool_exp" } } } }, { - "name": "chain_id", + "name": "assets", "type": { "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "name": "jsonb_comparison_exp" } }, { - "name": "display_name", + "name": "destination_block_hash", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "height", + "name": "destination_chain", + "type": { + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" + } + }, + { + "name": "destination_chain_id", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "id", + "name": "destination_channel", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_data", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "destination_height", "type": { "kind": "INPUT_OBJECT", "name": "Int_comparison_exp" } }, { - "name": "status", + "name": "destination_json", + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp" + } + }, + { + "name": "destination_port", "type": { "kind": "INPUT_OBJECT", "name": "String_comparison_exp" } }, { - "name": "timestamp", + "name": "destination_sequence", + "type": { + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp" + } + }, + { + "name": "destination_time", "type": { "kind": "INPUT_OBJECT", "name": "timestamptz_comparison_exp" } }, { - "name": "tip_age_seconds", + "name": "destination_timeout_timestamp", "type": { "kind": "INPUT_OBJECT", "name": "numeric_comparison_exp" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "destination_transaction_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "display_name", + "name": "destination_transaction_index", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "height", + "name": "receiver", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "id", + "name": "sender", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "status", + "name": "source_block_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } }, { - "name": "timestamp", + "name": "source_chain", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "v0_chains_bool_exp" } }, { - "name": "tip_age_seconds", + "name": "source_chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_index_status_select_column", - "enumValues": [ + }, { - "name": "chain_id", - "isDeprecated": false + "name": "source_channel", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "display_name", - "isDeprecated": false + "name": "source_data", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "height", - "isDeprecated": false + "name": "source_height", + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp" + } }, { - "name": "id", - "isDeprecated": false + "name": "source_json", + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp" + } }, { - "name": "status", - "isDeprecated": false + "name": "source_port", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } }, { - "name": "timestamp", - "isDeprecated": false + "name": "source_sequence", + "type": { + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp" + } }, { - "name": "tip_age_seconds", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_input", - "inputFields": [ + "name": "source_time", + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp" + } + }, { - "name": "initial_value", + "name": "source_timeout_timestamp", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_value_input" - } + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp" } }, { - "name": "ordering", + "name": "source_transaction_hash", "type": { - "kind": "ENUM", - "name": "cursor_ordering" + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "source_transaction_index", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" + } + }, + { + "name": "status", + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp" } } ], @@ -5017,292 +8794,358 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_index_status_stream_cursor_value_input", + "name": "v0_transfers_order_by", "inputFields": [ { - "name": "chain_id", + "name": "assets", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "display_name", + "name": "destination_block_hash", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "height", + "name": "destination_chain", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "INPUT_OBJECT", + "name": "v0_chains_order_by" } }, { - "name": "id", + "name": "destination_chain_id", "type": { - "kind": "SCALAR", - "name": "Int" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "status", + "name": "destination_channel", "type": { - "kind": "SCALAR", - "name": "String" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "timestamp", + "name": "destination_data", "type": { - "kind": "SCALAR", - "name": "timestamptz" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "tip_age_seconds", + "name": "destination_height", "type": { - "kind": "SCALAR", - "name": "numeric" + "kind": "ENUM", + "name": "order_by" } - } - ], - "isOneOf": false - }, - { - "kind": "OBJECT", - "name": "v0_rpcs", - "fields": [ + }, { - "name": "chain", + "name": "destination_json", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "OBJECT", - "name": "v0_chains" - } - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "chain_id", + "name": "destination_port", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "Int" - } - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "description", - "type": { - "kind": "SCALAR", - "name": "String" - }, - "args": [], - "isDeprecated": false + "name": "destination_sequence", + "type": { + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "type", + "name": "destination_time", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false + "kind": "ENUM", + "name": "order_by" + } }, { - "name": "url", + "name": "destination_timeout_timestamp", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "SCALAR", - "name": "String" - } - }, - "args": [], - "isDeprecated": false - } - ], - "interfaces": [] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_aggregate_order_by", - "inputFields": [ + "kind": "ENUM", + "name": "order_by" + } + }, { - "name": "avg", + "name": "destination_transaction_hash", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_avg_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "count", + "name": "destination_transaction_index", "type": { "kind": "ENUM", "name": "order_by" } }, { - "name": "max", + "name": "receiver", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_max_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "min", + "name": "sender", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_min_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "stddev", + "name": "source_block_hash", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "stddev_pop", + "name": "source_chain", "type": { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_pop_order_by" + "name": "v0_chains_order_by" } }, { - "name": "stddev_samp", + "name": "source_chain_id", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_samp_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "sum", + "name": "source_channel", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_sum_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "var_pop", + "name": "source_data", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_var_pop_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "var_samp", + "name": "source_height", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_var_samp_order_by" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "variance", + "name": "source_json", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_variance_order_by" + "kind": "ENUM", + "name": "order_by" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_avg_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_port", "type": { "kind": "ENUM", "name": "order_by" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp", - "inputFields": [ + }, { - "name": "_and", + "name": "source_sequence", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" - } - } + "kind": "ENUM", + "name": "order_by" } }, { - "name": "_not", + "name": "source_time", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "_or", + "name": "source_timeout_timestamp", "type": { - "kind": "LIST", - "ofType": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_bool_exp" - } - } + "kind": "ENUM", + "name": "order_by" } }, { - "name": "chain", + "name": "source_transaction_hash", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_bool_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "chain_id", + "name": "source_transaction_index", "type": { - "kind": "INPUT_OBJECT", - "name": "Int_comparison_exp" + "kind": "ENUM", + "name": "order_by" } }, { - "name": "description", + "name": "status", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "order_by" } + } + ], + "isOneOf": false + }, + { + "kind": "ENUM", + "name": "v0_transfers_select_column", + "enumValues": [ + { + "name": "assets", + "isDeprecated": false }, { - "name": "type", + "name": "destination_block_hash", + "isDeprecated": false + }, + { + "name": "destination_chain_id", + "isDeprecated": false + }, + { + "name": "destination_channel", + "isDeprecated": false + }, + { + "name": "destination_data", + "isDeprecated": false + }, + { + "name": "destination_height", + "isDeprecated": false + }, + { + "name": "destination_json", + "isDeprecated": false + }, + { + "name": "destination_port", + "isDeprecated": false + }, + { + "name": "destination_sequence", + "isDeprecated": false + }, + { + "name": "destination_time", + "isDeprecated": false + }, + { + "name": "destination_timeout_timestamp", + "isDeprecated": false + }, + { + "name": "destination_transaction_hash", + "isDeprecated": false + }, + { + "name": "destination_transaction_index", + "isDeprecated": false + }, + { + "name": "receiver", + "isDeprecated": false + }, + { + "name": "sender", + "isDeprecated": false + }, + { + "name": "source_block_hash", + "isDeprecated": false + }, + { + "name": "source_chain_id", + "isDeprecated": false + }, + { + "name": "source_channel", + "isDeprecated": false + }, + { + "name": "source_data", + "isDeprecated": false + }, + { + "name": "source_height", + "isDeprecated": false + }, + { + "name": "source_json", + "isDeprecated": false + }, + { + "name": "source_port", + "isDeprecated": false + }, + { + "name": "source_sequence", + "isDeprecated": false + }, + { + "name": "source_time", + "isDeprecated": false + }, + { + "name": "source_timeout_timestamp", + "isDeprecated": false + }, + { + "name": "source_transaction_hash", + "isDeprecated": false + }, + { + "name": "source_transaction_index", + "isDeprecated": false + }, + { + "name": "status", + "isDeprecated": false + } + ] + }, + { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_stream_cursor_input", + "inputFields": [ + { + "name": "initial_value", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "NON_NULL", + "ofType": { + "kind": "INPUT_OBJECT", + "name": "v0_transfers_stream_cursor_value_input" + } } }, { - "name": "url", + "name": "ordering", "type": { - "kind": "INPUT_OBJECT", - "name": "String_comparison_exp" + "kind": "ENUM", + "name": "cursor_ordering" } } ], @@ -5310,290 +9153,202 @@ export type introspection = { }, { "kind": "INPUT_OBJECT", - "name": "v0_rpcs_max_order_by", + "name": "v0_transfers_stream_cursor_value_input", "inputFields": [ { - "name": "chain_id", + "name": "assets", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "jsonb" } }, { - "name": "description", + "name": "destination_block_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "type", + "name": "destination_chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "url", + "name": "destination_channel", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_min_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "destination_data", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "description", + "name": "destination_height", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } }, { - "name": "type", + "name": "destination_json", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "jsonb" } }, { - "name": "url", + "name": "destination_port", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_order_by", - "inputFields": [ + }, { - "name": "chain", + "name": "destination_sequence", "type": { - "kind": "INPUT_OBJECT", - "name": "v0_chains_order_by" + "kind": "SCALAR", + "name": "numeric" } }, { - "name": "chain_id", + "name": "destination_time", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "timestamptz" } }, { - "name": "description", + "name": "destination_timeout_timestamp", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "numeric" } }, { - "name": "type", + "name": "destination_transaction_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } }, { - "name": "url", + "name": "destination_transaction_index", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "ENUM", - "name": "v0_rpcs_select_column", - "enumValues": [ - { - "name": "chain_id", - "isDeprecated": false }, { - "name": "description", - "isDeprecated": false + "name": "receiver", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - "name": "type", - "isDeprecated": false + "name": "sender", + "type": { + "kind": "SCALAR", + "name": "String" + } }, { - "name": "url", - "isDeprecated": false - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_order_by", - "inputFields": [ - { - "name": "chain_id", + "name": "source_block_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_pop_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_chain_id", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "Int" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stddev_samp_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_channel", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stream_cursor_input", - "inputFields": [ + }, { - "name": "initial_value", + "name": "source_data", "type": { - "kind": "NON_NULL", - "ofType": { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stream_cursor_value_input" - } + "kind": "SCALAR", + "name": "String" } }, { - "name": "ordering", + "name": "source_height", "type": { - "kind": "ENUM", - "name": "cursor_ordering" + "kind": "SCALAR", + "name": "Int" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_stream_cursor_value_input", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_json", "type": { "kind": "SCALAR", - "name": "Int" + "name": "jsonb" } }, { - "name": "description", + "name": "source_port", "type": { "kind": "SCALAR", "name": "String" } }, { - "name": "type", + "name": "source_sequence", "type": { "kind": "SCALAR", - "name": "String" + "name": "numeric" } }, { - "name": "url", + "name": "source_time", "type": { "kind": "SCALAR", - "name": "String" + "name": "timestamptz" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_sum_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_timeout_timestamp", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "numeric" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_var_pop_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_transaction_hash", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_var_samp_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "source_transaction_index", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } - } - ], - "isOneOf": false - }, - { - "kind": "INPUT_OBJECT", - "name": "v0_rpcs_variance_order_by", - "inputFields": [ + }, { - "name": "chain_id", + "name": "status", "type": { - "kind": "ENUM", - "name": "order_by" + "kind": "SCALAR", + "name": "String" } } ], diff --git a/app/src/generated/schema.graphql b/app/src/generated/schema.graphql index 242320ae9e..039da5cfb5 100644 --- a/app/src/generated/schema.graphql +++ b/app/src/generated/schema.graphql @@ -288,6 +288,26 @@ type query_root { """fetch data from the table: "v0.chains" using primary key columns""" v0_chains_by_pk(id: Int!): v0_chains + """ + fetch data from the table: "v0.channel_map" + """ + v0_channel_map( + """distinct select on columns""" + distinct_on: [v0_channel_map_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channel_map_order_by!] + + """filter the rows returned""" + where: v0_channel_map_bool_exp + ): [v0_channel_map!]! + """ fetch data from the table: "v0.channels" """ @@ -328,6 +348,46 @@ type query_root { where: v0_channels_bool_exp ): v0_channels_aggregate! + """ + fetch data from the table: "v0.connection_map" + """ + v0_connection_map( + """distinct select on columns""" + distinct_on: [v0_connection_map_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_connection_map_order_by!] + + """filter the rows returned""" + where: v0_connection_map_bool_exp + ): [v0_connection_map!]! + + """ + fetch data from the table: "v0.connections" + """ + v0_connections( + """distinct select on columns""" + distinct_on: [v0_connections_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_connections_order_by!] + + """filter the rows returned""" + where: v0_connections_bool_exp + ): [v0_connections!]! + """ fetch data from the table: "v0.index_status" """ @@ -348,6 +408,26 @@ type query_root { where: v0_index_status_bool_exp ): [v0_index_status!]! + """ + fetch data from the table: "v0.packets" + """ + v0_packets( + """distinct select on columns""" + distinct_on: [v0_packets_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_packets_order_by!] + + """filter the rows returned""" + where: v0_packets_bool_exp + ): [v0_packets!]! + """ fetch data from the table: "v0.rpcs" """ @@ -370,6 +450,26 @@ type query_root { """fetch data from the table: "v0.rpcs" using primary key columns""" v0_rpcs_by_pk(chain_id: Int!, url: String!): v0_rpcs + + """ + fetch data from the table: "v0.transfers" + """ + v0_transfers( + """distinct select on columns""" + distinct_on: [v0_transfers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_transfers_order_by!] + + """filter the rows returned""" + where: v0_transfers_bool_exp + ): [v0_transfers!]! } type subscription_root { @@ -484,6 +584,40 @@ type subscription_root { where: v0_chains_bool_exp ): [v0_chains!]! + """ + fetch data from the table: "v0.channel_map" + """ + v0_channel_map( + """distinct select on columns""" + distinct_on: [v0_channel_map_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_channel_map_order_by!] + + """filter the rows returned""" + where: v0_channel_map_bool_exp + ): [v0_channel_map!]! + + """ + fetch data from the table in a streaming manner: "v0.channel_map" + """ + v0_channel_map_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_channel_map_stream_cursor_input]! + + """filter the rows returned""" + where: v0_channel_map_bool_exp + ): [v0_channel_map!]! + """ fetch data from the table: "v0.channels" """ @@ -538,6 +672,74 @@ type subscription_root { where: v0_channels_bool_exp ): [v0_channels!]! + """ + fetch data from the table: "v0.connection_map" + """ + v0_connection_map( + """distinct select on columns""" + distinct_on: [v0_connection_map_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_connection_map_order_by!] + + """filter the rows returned""" + where: v0_connection_map_bool_exp + ): [v0_connection_map!]! + + """ + fetch data from the table in a streaming manner: "v0.connection_map" + """ + v0_connection_map_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_connection_map_stream_cursor_input]! + + """filter the rows returned""" + where: v0_connection_map_bool_exp + ): [v0_connection_map!]! + + """ + fetch data from the table: "v0.connections" + """ + v0_connections( + """distinct select on columns""" + distinct_on: [v0_connections_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_connections_order_by!] + + """filter the rows returned""" + where: v0_connections_bool_exp + ): [v0_connections!]! + + """ + fetch data from the table in a streaming manner: "v0.connections" + """ + v0_connections_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_connections_stream_cursor_input]! + + """filter the rows returned""" + where: v0_connections_bool_exp + ): [v0_connections!]! + """ fetch data from the table: "v0.index_status" """ @@ -572,6 +774,40 @@ type subscription_root { where: v0_index_status_bool_exp ): [v0_index_status!]! + """ + fetch data from the table: "v0.packets" + """ + v0_packets( + """distinct select on columns""" + distinct_on: [v0_packets_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_packets_order_by!] + + """filter the rows returned""" + where: v0_packets_bool_exp + ): [v0_packets!]! + + """ + fetch data from the table in a streaming manner: "v0.packets" + """ + v0_packets_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_packets_stream_cursor_input]! + + """filter the rows returned""" + where: v0_packets_bool_exp + ): [v0_packets!]! + """ fetch data from the table: "v0.rpcs" """ @@ -608,6 +844,40 @@ type subscription_root { """filter the rows returned""" where: v0_rpcs_bool_exp ): [v0_rpcs!]! + + """ + fetch data from the table: "v0.transfers" + """ + v0_transfers( + """distinct select on columns""" + distinct_on: [v0_transfers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [v0_transfers_order_by!] + + """filter the rows returned""" + where: v0_transfers_bool_exp + ): [v0_transfers!]! + + """ + fetch data from the table in a streaming manner: "v0.transfers" + """ + v0_transfers_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [v0_transfers_stream_cursor_input]! + + """filter the rows returned""" + where: v0_transfers_bool_exp + ): [v0_transfers!]! } scalar timestamptz @@ -1011,6 +1281,136 @@ input v0_chains_stream_cursor_value_input { testnet: Boolean } +""" +columns and relationships of "v0.channel_map" +""" +type v0_channel_map { + """An object relationship""" + connection: v0_connection_map + + """An object relationship""" + destination: v0_chains + from_chain_id: String + from_channel_id: String + from_connection_id: String + from_id: Int + from_port_id: String + + """An object relationship""" + source: v0_chains + status: String + to_chain_id: String + to_channel_id: String + to_connection_id: String + to_id: Int + to_port_id: String +} + +""" +Boolean expression to filter rows from the table "v0.channel_map". All fields are combined with a logical 'AND'. +""" +input v0_channel_map_bool_exp { + _and: [v0_channel_map_bool_exp!] + _not: v0_channel_map_bool_exp + _or: [v0_channel_map_bool_exp!] + connection: v0_connection_map_bool_exp + destination: v0_chains_bool_exp + from_chain_id: String_comparison_exp + from_channel_id: String_comparison_exp + from_connection_id: String_comparison_exp + from_id: Int_comparison_exp + from_port_id: String_comparison_exp + source: v0_chains_bool_exp + status: String_comparison_exp + to_chain_id: String_comparison_exp + to_channel_id: String_comparison_exp + to_connection_id: String_comparison_exp + to_id: Int_comparison_exp + to_port_id: String_comparison_exp +} + +"""Ordering options when selecting data from "v0.channel_map".""" +input v0_channel_map_order_by { + connection: v0_connection_map_order_by + destination: v0_chains_order_by + from_chain_id: order_by + from_channel_id: order_by + from_connection_id: order_by + from_id: order_by + from_port_id: order_by + source: v0_chains_order_by + status: order_by + to_chain_id: order_by + to_channel_id: order_by + to_connection_id: order_by + to_id: order_by + to_port_id: order_by +} + +""" +select columns of table "v0.channel_map" +""" +enum v0_channel_map_select_column { + """column name""" + from_chain_id + + """column name""" + from_channel_id + + """column name""" + from_connection_id + + """column name""" + from_id + + """column name""" + from_port_id + + """column name""" + status + + """column name""" + to_chain_id + + """column name""" + to_channel_id + + """column name""" + to_connection_id + + """column name""" + to_id + + """column name""" + to_port_id +} + +""" +Streaming cursor of the table "v0_channel_map" +""" +input v0_channel_map_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_channel_map_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_channel_map_stream_cursor_value_input { + from_chain_id: String + from_channel_id: String + from_connection_id: String + from_id: Int + from_port_id: String + status: String + to_chain_id: String + to_channel_id: String + to_connection_id: String + to_id: Int + to_port_id: String +} + """ columns and relationships of "v0.channels" """ @@ -1221,6 +1621,196 @@ type v0_channels_variance_fields { source_chain_id: Float } +""" +columns and relationships of "v0.connection_map" +""" +type v0_connection_map { + from_chain_id: String + from_client_id: String + from_connection_id: String + from_id: Int + status: String + to_chain_id: String + to_client_id: String + to_connection_id: String + to_id: Int +} + +""" +Boolean expression to filter rows from the table "v0.connection_map". All fields are combined with a logical 'AND'. +""" +input v0_connection_map_bool_exp { + _and: [v0_connection_map_bool_exp!] + _not: v0_connection_map_bool_exp + _or: [v0_connection_map_bool_exp!] + from_chain_id: String_comparison_exp + from_client_id: String_comparison_exp + from_connection_id: String_comparison_exp + from_id: Int_comparison_exp + status: String_comparison_exp + to_chain_id: String_comparison_exp + to_client_id: String_comparison_exp + to_connection_id: String_comparison_exp + to_id: Int_comparison_exp +} + +"""Ordering options when selecting data from "v0.connection_map".""" +input v0_connection_map_order_by { + from_chain_id: order_by + from_client_id: order_by + from_connection_id: order_by + from_id: order_by + status: order_by + to_chain_id: order_by + to_client_id: order_by + to_connection_id: order_by + to_id: order_by +} + +""" +select columns of table "v0.connection_map" +""" +enum v0_connection_map_select_column { + """column name""" + from_chain_id + + """column name""" + from_client_id + + """column name""" + from_connection_id + + """column name""" + from_id + + """column name""" + status + + """column name""" + to_chain_id + + """column name""" + to_client_id + + """column name""" + to_connection_id + + """column name""" + to_id +} + +""" +Streaming cursor of the table "v0_connection_map" +""" +input v0_connection_map_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_connection_map_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_connection_map_stream_cursor_value_input { + from_chain_id: String + from_client_id: String + from_connection_id: String + from_id: Int + status: String + to_chain_id: String + to_client_id: String + to_connection_id: String + to_id: Int +} + +""" +columns and relationships of "v0.connections" +""" +type v0_connections { + destination_chain_id: Int + destination_client_id: String + destination_connection_id: String + source_chain_id: Int + source_client_id: String + source_connection_id: String + status: String +} + +""" +Boolean expression to filter rows from the table "v0.connections". All fields are combined with a logical 'AND'. +""" +input v0_connections_bool_exp { + _and: [v0_connections_bool_exp!] + _not: v0_connections_bool_exp + _or: [v0_connections_bool_exp!] + destination_chain_id: Int_comparison_exp + destination_client_id: String_comparison_exp + destination_connection_id: String_comparison_exp + source_chain_id: Int_comparison_exp + source_client_id: String_comparison_exp + source_connection_id: String_comparison_exp + status: String_comparison_exp +} + +"""Ordering options when selecting data from "v0.connections".""" +input v0_connections_order_by { + destination_chain_id: order_by + destination_client_id: order_by + destination_connection_id: order_by + source_chain_id: order_by + source_client_id: order_by + source_connection_id: order_by + status: order_by +} + +""" +select columns of table "v0.connections" +""" +enum v0_connections_select_column { + """column name""" + destination_chain_id + + """column name""" + destination_client_id + + """column name""" + destination_connection_id + + """column name""" + source_chain_id + + """column name""" + source_client_id + + """column name""" + source_connection_id + + """column name""" + status +} + +""" +Streaming cursor of the table "v0_connections" +""" +input v0_connections_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_connections_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_connections_stream_cursor_value_input { + destination_chain_id: Int + destination_client_id: String + destination_connection_id: String + source_chain_id: Int + source_client_id: String + source_connection_id: String + status: String +} + """ columns and relationships of "v0.index_status" """ @@ -1309,6 +1899,124 @@ input v0_index_status_stream_cursor_value_input { tip_age_seconds: numeric } +""" +columns and relationships of "v0.packets" +""" +type v0_packets { + """An object relationship""" + destination_chain: v0_chains + from_chain_id: String + from_channel_id: String + from_connection_id: String + from_id: Int + from_port_id: String + + """An object relationship""" + source_chain: v0_chains + to_chain_id: String + to_channel_id: String + to_connection_id: String + to_id: Int + to_port_id: String +} + +""" +Boolean expression to filter rows from the table "v0.packets". All fields are combined with a logical 'AND'. +""" +input v0_packets_bool_exp { + _and: [v0_packets_bool_exp!] + _not: v0_packets_bool_exp + _or: [v0_packets_bool_exp!] + destination_chain: v0_chains_bool_exp + from_chain_id: String_comparison_exp + from_channel_id: String_comparison_exp + from_connection_id: String_comparison_exp + from_id: Int_comparison_exp + from_port_id: String_comparison_exp + source_chain: v0_chains_bool_exp + to_chain_id: String_comparison_exp + to_channel_id: String_comparison_exp + to_connection_id: String_comparison_exp + to_id: Int_comparison_exp + to_port_id: String_comparison_exp +} + +"""Ordering options when selecting data from "v0.packets".""" +input v0_packets_order_by { + destination_chain: v0_chains_order_by + from_chain_id: order_by + from_channel_id: order_by + from_connection_id: order_by + from_id: order_by + from_port_id: order_by + source_chain: v0_chains_order_by + to_chain_id: order_by + to_channel_id: order_by + to_connection_id: order_by + to_id: order_by + to_port_id: order_by +} + +""" +select columns of table "v0.packets" +""" +enum v0_packets_select_column { + """column name""" + from_chain_id + + """column name""" + from_channel_id + + """column name""" + from_connection_id + + """column name""" + from_id + + """column name""" + from_port_id + + """column name""" + to_chain_id + + """column name""" + to_channel_id + + """column name""" + to_connection_id + + """column name""" + to_id + + """column name""" + to_port_id +} + +""" +Streaming cursor of the table "v0_packets" +""" +input v0_packets_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_packets_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_packets_stream_cursor_value_input { + from_chain_id: String + from_channel_id: String + from_connection_id: String + from_id: Int + from_port_id: String + to_chain_id: String + to_channel_id: String + to_connection_id: String + to_id: Int + to_port_id: String +} + """Various RPC endpoints for the different networks that Union supports. """ type v0_rpcs { """An object relationship""" @@ -1469,4 +2177,258 @@ order by variance() on columns of table "v0.rpcs" """ input v0_rpcs_variance_order_by { chain_id: order_by +} + +""" +columns and relationships of "v0.transfers" +""" +type v0_transfers { + assets( + """JSON select path""" + path: String + ): jsonb + destination_block_hash: String + + """An object relationship""" + destination_chain: v0_chains + destination_chain_id: Int + destination_channel: String + destination_data: String + destination_height: Int + destination_json( + """JSON select path""" + path: String + ): jsonb + destination_port: String + destination_sequence: numeric + destination_time: timestamptz + destination_timeout_timestamp: numeric + destination_transaction_hash: String + destination_transaction_index: String + receiver: String + sender: String + source_block_hash: String + + """An object relationship""" + source_chain: v0_chains + source_chain_id: Int + source_channel: String + source_data: String + source_height: Int + source_json( + """JSON select path""" + path: String + ): jsonb + source_port: String + source_sequence: numeric + source_time: timestamptz + source_timeout_timestamp: numeric + source_transaction_hash: String + source_transaction_index: String + status: String +} + +""" +Boolean expression to filter rows from the table "v0.transfers". All fields are combined with a logical 'AND'. +""" +input v0_transfers_bool_exp { + _and: [v0_transfers_bool_exp!] + _not: v0_transfers_bool_exp + _or: [v0_transfers_bool_exp!] + assets: jsonb_comparison_exp + destination_block_hash: String_comparison_exp + destination_chain: v0_chains_bool_exp + destination_chain_id: Int_comparison_exp + destination_channel: String_comparison_exp + destination_data: String_comparison_exp + destination_height: Int_comparison_exp + destination_json: jsonb_comparison_exp + destination_port: String_comparison_exp + destination_sequence: numeric_comparison_exp + destination_time: timestamptz_comparison_exp + destination_timeout_timestamp: numeric_comparison_exp + destination_transaction_hash: String_comparison_exp + destination_transaction_index: String_comparison_exp + receiver: String_comparison_exp + sender: String_comparison_exp + source_block_hash: String_comparison_exp + source_chain: v0_chains_bool_exp + source_chain_id: Int_comparison_exp + source_channel: String_comparison_exp + source_data: String_comparison_exp + source_height: Int_comparison_exp + source_json: jsonb_comparison_exp + source_port: String_comparison_exp + source_sequence: numeric_comparison_exp + source_time: timestamptz_comparison_exp + source_timeout_timestamp: numeric_comparison_exp + source_transaction_hash: String_comparison_exp + source_transaction_index: String_comparison_exp + status: String_comparison_exp +} + +"""Ordering options when selecting data from "v0.transfers".""" +input v0_transfers_order_by { + assets: order_by + destination_block_hash: order_by + destination_chain: v0_chains_order_by + destination_chain_id: order_by + destination_channel: order_by + destination_data: order_by + destination_height: order_by + destination_json: order_by + destination_port: order_by + destination_sequence: order_by + destination_time: order_by + destination_timeout_timestamp: order_by + destination_transaction_hash: order_by + destination_transaction_index: order_by + receiver: order_by + sender: order_by + source_block_hash: order_by + source_chain: v0_chains_order_by + source_chain_id: order_by + source_channel: order_by + source_data: order_by + source_height: order_by + source_json: order_by + source_port: order_by + source_sequence: order_by + source_time: order_by + source_timeout_timestamp: order_by + source_transaction_hash: order_by + source_transaction_index: order_by + status: order_by +} + +""" +select columns of table "v0.transfers" +""" +enum v0_transfers_select_column { + """column name""" + assets + + """column name""" + destination_block_hash + + """column name""" + destination_chain_id + + """column name""" + destination_channel + + """column name""" + destination_data + + """column name""" + destination_height + + """column name""" + destination_json + + """column name""" + destination_port + + """column name""" + destination_sequence + + """column name""" + destination_time + + """column name""" + destination_timeout_timestamp + + """column name""" + destination_transaction_hash + + """column name""" + destination_transaction_index + + """column name""" + receiver + + """column name""" + sender + + """column name""" + source_block_hash + + """column name""" + source_chain_id + + """column name""" + source_channel + + """column name""" + source_data + + """column name""" + source_height + + """column name""" + source_json + + """column name""" + source_port + + """column name""" + source_sequence + + """column name""" + source_time + + """column name""" + source_timeout_timestamp + + """column name""" + source_transaction_hash + + """column name""" + source_transaction_index + + """column name""" + status +} + +""" +Streaming cursor of the table "v0_transfers" +""" +input v0_transfers_stream_cursor_input { + """Stream column input with initial value""" + initial_value: v0_transfers_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input v0_transfers_stream_cursor_value_input { + assets: jsonb + destination_block_hash: String + destination_chain_id: Int + destination_channel: String + destination_data: String + destination_height: Int + destination_json: jsonb + destination_port: String + destination_sequence: numeric + destination_time: timestamptz + destination_timeout_timestamp: numeric + destination_transaction_hash: String + destination_transaction_index: String + receiver: String + sender: String + source_block_hash: String + source_chain_id: Int + source_channel: String + source_data: String + source_height: Int + source_json: jsonb + source_port: String + source_sequence: numeric + source_time: timestamptz + source_timeout_timestamp: numeric + source_transaction_hash: String + source_transaction_index: String + status: String } \ No newline at end of file diff --git a/app/src/lib/graphql/documents/packets.ts b/app/src/lib/graphql/documents/packets.ts index e890c2cdce..3bb2298cb8 100644 --- a/app/src/lib/graphql/documents/packets.ts +++ b/app/src/lib/graphql/documents/packets.ts @@ -3,14 +3,14 @@ import { graphql } from "gql.tada" export const packetsQuery = graphql(/* GraphQL */ ` query PacketsQuery($limit: Int = 100) { v0_packets(limit: $limit, order_by: {destination_time: desc_nulls_last, source_time: desc_nulls_last}) { - from_chain_id - from_channel_id + source_chain_id + source_channel_id source_port source_block_hash source_time - to_chain_id - to_channel_id - to_port_id + destination_chain_id + destination_channel_id + destination_port_id destination_block_hash destination_time source_data diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index ff00494a39..b4ff8bd81d 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -26,12 +26,15 @@ return $chains.data.v0_chains.filter((c: typeof $chains.data.v0_chains[number]) => c.rpc_type === "cosmos" && c.addr_prefix !== null && c.rpcs && c.chain_id) }); - $: if ($cosmosChains && $cosmosStore.rawAddress) cosmosBalances = cosmosBalancesQuery({ - // https://stackoverflow.com/questions/77206461/type-guard-function-is-not-narrowing-the-type-in-array-filter - //@ts-ignore - chains: $cosmosChains, - address: $cosmosStore.rawAddress - }) + $: if ($cosmosChains && $cosmosStore.rawAddress?.length && $cosmosStore.rawAddress?.length > 0) { + console.log($cosmosChains); + cosmosBalances = cosmosBalancesQuery({ + // https://stackoverflow.com/questions/77206461/type-guard-function-is-not-narrowing-the-type-in-array-filter + //@ts-ignore + chains: $cosmosChains, + address: $cosmosStore.rawAddress + }) + } diff --git a/app/src/routes/explorer/packets/+page.svelte b/app/src/routes/explorer/packets/+page.svelte index 4d50c1ff94..10b7290d8a 100644 --- a/app/src/routes/explorer/packets/+page.svelte +++ b/app/src/routes/explorer/packets/+page.svelte @@ -27,38 +27,38 @@ $: if (packets) { const columns: Array> = [ { - accessorKey: "from_chain_id", - header: () => "From Chain", + accessorKey: "source_chain_id", + header: () => "Source Chain", size: 200, cell: info => info.getValue() }, { - accessorKey: "from_channel_id", - header: () => "From Channel", + accessorKey: "source_channel_id", + header: () => "Source Channel", size: 200, cell: info => info.getValue() }, { accessorKey: "source_port", - header: () => "From Port", + header: () => "Source Port", size: 200, cell: info => info.getValue() }, { - accessorKey: "to_chain_id", - header: () => "To Chain", + accessorKey: "destination_chain_id", + header: () => "Destination Chain", size: 200, cell: info => info.getValue() }, { - accessorKey: "to_channel_id", - header: () => "To Channel", + accessorKey: "destination_channel_id", + header: () => "Destination Channel", size: 200, cell: info => info.getValue() }, { - accessorKey: "to_port_id", - header: () => "To Port", + accessorKey: "destination_port_id", + header: () => "Destination Port", size: 200, cell: info => info.getValue() }, From fd40223a64fa637d8f581b93682367b7f9c7f1ed Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 20:46:23 +0200 Subject: [PATCH 18/19] feat(nix): add `nix run .#pre-commit` --- app/app.nix | 2 +- app/src/routes/+page.svelte | 70 +++++++++++++++++++------------------ devShell.nix | 37 ++++++++++++++++++++ flake.nix | 61 +------------------------------- 4 files changed, 75 insertions(+), 95 deletions(-) create mode 100644 devShell.nix diff --git a/app/app.nix b/app/app.nix index b80a2dc686..18c568b73b 100644 --- a/app/app.nix +++ b/app/app.nix @@ -9,7 +9,7 @@ { packages = { app = unstablePkgs.buildNpmPackage { - npmDepsHash = "sha256-JJH1vqXzv7IYw2SEVJFqHydvlGXdtPvfb/PazNsZqv4="; + npmDepsHash = "sha256-LbggeFObMO400/fl4armnF8ggA4AVBojdqCzVxVOS3Q="; src = ./.; sourceRoot = "app"; npmFlags = [ "--legacy-peer-deps" ]; diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index b4ff8bd81d..e352144d13 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -1,41 +1,43 @@
diff --git a/devShell.nix b/devShell.nix new file mode 100644 index 0000000000..c7e096483b --- /dev/null +++ b/devShell.nix @@ -0,0 +1,37 @@ +{ ... }: { + perSystem = { biome, pkgs, unstablePkgs, lib, ensureAtRepositoryRoot, ... }: + let + pkgsDeps = with pkgs; [ pkg-config biome ]; + nodeDeps = with unstablePkgs; [ vips nodePackages_latest.nodejs ]; + combinedDeps = pkgsDeps ++ nodeDeps; + in + { + apps = { + pre-commit = { + type = "app"; + program = pkgs.writeShellApplication { + name = "pre-commit"; + runtimeInputs = combinedDeps; + text = '' + ${ensureAtRepositoryRoot} + + echo "Applying nix fmt" + nix fmt + + + echo "Applying biome fmt" + ${lib.getExe biome} format . \ + --log-level="info" \ + --log-kind="pretty" \ + --error-on-warnings \ + --diagnostic-level="info" \ + --write + + echo "Checking spelling" + nix build .\#checks.${pkgs.system}.spellcheck -L + ''; + }; + }; + }; + }; +} diff --git a/flake.nix b/flake.nix index d9b8c73568..54f7fd1e70 100644 --- a/flake.nix +++ b/flake.nix @@ -196,6 +196,7 @@ systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; imports = [ + ./devShell.nix ./uniond/uniond.nix ./galoisd/galoisd.nix ./unionvisor/unionvisor.nix @@ -476,66 +477,6 @@ ''; }); }; - - devShells.default = pkgs.mkShell { - name = "union-devShell"; - buildInputs = [ rust.toolchains.dev ] ++ (with pkgs; [ - cargo-fuzz - cargo-llvm-cov - bacon - cargo-nextest - jq - go-ethereum - marksman - nil - nixfmt - nix-tree - openssl - pkg-config - protobuf - httpie - self'.packages.tdc - self'.packages.voy-send-msg - yq - ]) ++ (with unstablePkgs; [ - bun # for running TypeScript files on the fly - postgresql - emmet-language-server - nodePackages.graphqurl - nodePackages_latest.nodejs - nodePackages_latest.svelte-language-server - nodePackages_latest."@astrojs/language-server" - nodePackages_latest."@tailwindcss/language-server" - nodePackages_latest.typescript-language-server - nodePackages_latest.vscode-langservers-extracted - ]) - ++ (with goPkgs; [ - go - gopls - go-tools - gotools - ]) ++ (if pkgs.stdenv.isLinux then [ - pkgs.solc - pkgs.foundry-bin - goPkgs.sqlx-cli - self'.packages.hasura-cli - ] else [ ]); - nativeBuildInputs = [ config.treefmt.build.wrapper ] - ++ lib.attrsets.attrValues config.treefmt.build.programs; - - GOPRIVATE = "github.com/unionlabs/*"; - PUPPETEER_SKIP_DOWNLOAD = 1; # avoid npm install downloading chromium - NODE_OPTIONS = "--no-warnings"; # avoid useless warnings from nodejs - ASTRO_TELEMETRY_DISABLED = 1; - - ICS23_TEST_SUITE_DATA_DIR = "${inputs.ics23}/testdata"; - ETHEREUM_CONSENSUS_SPECS_DIR = "${inputs.ethereum-consensus-specs}"; - - RUST_SRC_PATH = "${rust.toolchains.dev}/lib/rustlib/src/rust/library"; - - SQLX_OFFLINE = true; - }; - treefmt = { package = pkgs.treefmt; projectRootFile = "flake.nix"; From f8b5caa3f5bae266c16c9753d6a51638b087ba22 Mon Sep 17 00:00:00 2001 From: cor Date: Fri, 7 Jun 2024 21:06:53 +0200 Subject: [PATCH 19/19] fix(app): biome lints --- app/src/lib/queries/balance.ts | 4 ---- app/src/routes/+page.svelte | 7 ++++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/lib/queries/balance.ts b/app/src/lib/queries/balance.ts index 63a8a9eec9..22bc3c4558 100644 --- a/app/src/lib/queries/balance.ts +++ b/app/src/lib/queries/balance.ts @@ -1,16 +1,12 @@ import * as v from "valibot" import { KEY } from "$lib/constants/keys.ts" -import { CHAIN_URLS } from "$lib/constants" import type { Address } from "viem" import { getEvmTokensInfo } from "./token-info.ts" import { createQueries, createQuery } from "@tanstack/svelte-query" import type { ChainId } from "$/lib/constants/assets.ts" import { isValidEvmAddress } from "$lib/wallet/utilities/validate" -import { isValidCosmosAddress } from "$lib/wallet/utilities/validate" import { raise } from "$lib/utilities/index.ts" import { rawToBech32 } from "$lib/utilities/address.ts" -import type { chainsQuery } from "./chains.ts" -import type { chainsQueryDocument } from "$lib/graphql/documents/chains.ts" /** * TODO: diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte index e352144d13..435688f3d6 100644 --- a/app/src/routes/+page.svelte +++ b/app/src/routes/+page.svelte @@ -29,7 +29,12 @@ let cosmosChains = derived(chains, $chains => { ) }) -$: if ($cosmosChains && $cosmosStore.rawAddress?.length && $cosmosStore.rawAddress?.length > 0) { +// ts bug, length can be undefined +$: if ( + $cosmosChains && + $cosmosStore.rawAddress?.length !== undefined && + $cosmosStore.rawAddress?.length > 0 +) { console.log($cosmosChains) cosmosBalances = cosmosBalancesQuery({ // https://stackoverflow.com/questions/77206461/type-guard-function-is-not-narrowing-the-type-in-array-filter