From c49ee67bd64e2a11cd4b11d7f233a262b05aa391 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 9 Jan 2025 17:38:54 +0100 Subject: [PATCH] refactor(app): refactor domino --- app/src/generated/graphql-env.d.ts | 18 ++- .../components/Cube/faces/Assets.svelte | 60 ++++----- .../components/Cube/faces/Chains.svelte | 51 ++++--- .../components/Cube/faces/Intent.svelte | 4 +- .../components/Cube/faces/Transfer.svelte | 20 +-- .../components/SelectedAsset.svelte | 43 +++--- .../lib/components/TransferFrom/index.svelte | 14 +- .../TransferFrom/transfer/balances.ts | 7 +- .../TransferFrom/transfer/context.ts | 32 ++--- .../TransferFrom/transfer/intents.ts | 75 +++-------- .../TransferFrom/transfer/validation.ts | 38 ++---- app/src/lib/queries/balance/index.ts | 127 +++++++++--------- app/src/routes/balances/UserBalances.svelte | 80 +++++------ 13 files changed, 244 insertions(+), 325 deletions(-) diff --git a/app/src/generated/graphql-env.d.ts b/app/src/generated/graphql-env.d.ts index 2688f5df30..0911d235f4 100644 --- a/app/src/generated/graphql-env.d.ts +++ b/app/src/generated/graphql-env.d.ts @@ -15,8 +15,6 @@ export type introspection_types = { 'String_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_ilike'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: '_iregex'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_like'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_nilike'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: '_niregex'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_nlike'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_nregex'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_nsimilar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_regex'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: '_similar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'bigint': unknown; 'bigint_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; }; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; }; }; defaultValue: null }]; }; - 'bytea': unknown; - 'bytea_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; }; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; }; }; defaultValue: null }]; }; 'cursor_ordering': { name: 'cursor_ordering'; enumValues: 'ASC' | 'DESC'; }; 'date': unknown; 'date_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'date_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'date'; ofType: null; }; }; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'date'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'date'; ofType: null; }; }; }; defaultValue: null }]; }; @@ -32,10 +30,10 @@ export type introspection_types = { 'numeric': unknown; 'numeric_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'numeric_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; }; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; }; }; defaultValue: null }]; }; 'order_by': { name: 'order_by'; enumValues: 'asc' | 'asc_nulls_first' | 'asc_nulls_last' | 'desc' | 'desc_nulls_first' | 'desc_nulls_last'; }; - 'query_root': { kind: 'OBJECT'; name: 'query_root'; fields: { 'dydx_faucet': { name: 'dydx_faucet'; type: { kind: 'OBJECT'; name: 'dydx_faucetQuery'; ofType: null; } }; 'faucet2': { name: 'faucet2'; type: { kind: 'OBJECT'; name: 'faucet2Query'; ofType: null; } }; 'get_route': { name: 'get_route'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PfmArgs'; ofType: null; }; }; }; } }; 'stride_faucet': { name: 'stride_faucet'; type: { kind: 'OBJECT'; name: 'stride_faucetQuery'; ofType: null; } }; 'v1_acknowledge_packet': { name: 'v1_acknowledge_packet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_assets': { name: 'v1_assets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_chains': { name: 'v1_chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_channel_open_ack': { name: 'v1_channel_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm': { name: 'v1_channel_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_init': { name: 'v1_channel_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_try': { name: 'v1_channel_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channels': { name: 'v1_channels'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_clients': { name: 'v1_clients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_config': { name: 'v1_config'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_connection_open_ack': { name: 'v1_connection_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm': { name: 'v1_connection_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_init': { name: 'v1_connection_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_try': { name: 'v1_connection_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connections': { name: 'v1_connections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_contracts': { name: 'v1_contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_daily_packets': { name: 'v1_daily_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_transfers': { name: 'v1_daily_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_explorers': { name: 'v1_explorers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_faucets': { name: 'v1_faucets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_health_check': { name: 'v1_health_check'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view': { name: 'v1_ibc_union_packets_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_index_status': { name: 'v1_index_status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_lightclient_update': { name: 'v1_lightclient_update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_packet_effect_type': { name: 'v1_packet_effect_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packets': { name: 'v1_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_rpcs': { name: 'v1_rpcs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_statistics': { name: 'v1_statistics'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_statistics_address': { name: 'v1_statistics_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_tokens_type': { name: 'v1_tokens_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_traces': { name: 'v1_traces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type': { name: 'v1_transfer_forwards_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfers': { name: 'v1_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations': { name: 'v1_ucs1_configurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_paths': { name: 'v1_ucs1_paths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; }; }; + 'query_root': { kind: 'OBJECT'; name: 'query_root'; fields: { 'dydx_faucet': { name: 'dydx_faucet'; type: { kind: 'OBJECT'; name: 'dydx_faucetQuery'; ofType: null; } }; 'faucet2': { name: 'faucet2'; type: { kind: 'OBJECT'; name: 'faucet2Query'; ofType: null; } }; 'get_route': { name: 'get_route'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PfmArgs'; ofType: null; }; }; }; } }; 'stride_faucet': { name: 'stride_faucet'; type: { kind: 'OBJECT'; name: 'stride_faucetQuery'; ofType: null; } }; 'v1_acknowledge_packet': { name: 'v1_acknowledge_packet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_assets': { name: 'v1_assets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_chains': { name: 'v1_chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_channel_open_ack': { name: 'v1_channel_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm': { name: 'v1_channel_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_init': { name: 'v1_channel_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_try': { name: 'v1_channel_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channels': { name: 'v1_channels'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_clients': { name: 'v1_clients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_config': { name: 'v1_config'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_connection_open_ack': { name: 'v1_connection_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm': { name: 'v1_connection_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_init': { name: 'v1_connection_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_try': { name: 'v1_connection_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connections': { name: 'v1_connections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_contracts': { name: 'v1_contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_daily_packets': { name: 'v1_daily_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_transfers': { name: 'v1_daily_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_explorers': { name: 'v1_explorers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_faucets': { name: 'v1_faucets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_health_check': { name: 'v1_health_check'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_ibc_union_fungible_asset_order_view': { name: 'v1_ibc_union_fungible_asset_order_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view': { name: 'v1_ibc_union_packets_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_index_status': { name: 'v1_index_status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_lightclient_update': { name: 'v1_lightclient_update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_packet_effect_type': { name: 'v1_packet_effect_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packets': { name: 'v1_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_rpcs': { name: 'v1_rpcs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_statistics': { name: 'v1_statistics'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_statistics_address': { name: 'v1_statistics_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_tokens_type': { name: 'v1_tokens_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_traces': { name: 'v1_traces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type': { name: 'v1_transfer_forwards_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfers': { name: 'v1_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations': { name: 'v1_ucs1_configurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_paths': { name: 'v1_ucs1_paths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; }; }; 'stride_faucetMutation': { kind: 'OBJECT'; name: 'stride_faucetMutation'; fields: { 'send': { name: 'send'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'stride_faucetQuery': { kind: 'OBJECT'; name: 'stride_faucetQuery'; fields: { 'handledTransfers': { name: 'handledTransfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Request'; ofType: null; }; }; }; } }; 'transfersForAddress': { name: 'transfersForAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Request'; ofType: null; }; }; }; } }; 'unhandledTransfers': { name: 'unhandledTransfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Request'; ofType: null; }; }; }; } }; }; }; - 'subscription_root': { kind: 'OBJECT'; name: 'subscription_root'; fields: { 'get_route': { name: 'get_route'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PfmArgs'; ofType: null; }; }; }; } }; 'v1_acknowledge_packet': { name: 'v1_acknowledge_packet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_acknowledge_packet_stream': { name: 'v1_acknowledge_packet_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_assets': { name: 'v1_assets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_assets_stream': { name: 'v1_assets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_chains': { name: 'v1_chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_chains_stream': { name: 'v1_chains_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_channel_open_ack': { name: 'v1_channel_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_ack_stream': { name: 'v1_channel_open_ack_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm': { name: 'v1_channel_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm_stream': { name: 'v1_channel_open_confirm_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_init': { name: 'v1_channel_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_init_stream': { name: 'v1_channel_open_init_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_try': { name: 'v1_channel_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channel_open_try_stream': { name: 'v1_channel_open_try_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channels': { name: 'v1_channels'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_channels_stream': { name: 'v1_channels_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_clients': { name: 'v1_clients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_clients_stream': { name: 'v1_clients_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_config': { name: 'v1_config'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_config_stream': { name: 'v1_config_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_connection_open_ack': { name: 'v1_connection_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_ack_stream': { name: 'v1_connection_open_ack_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm': { name: 'v1_connection_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm_stream': { name: 'v1_connection_open_confirm_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_init': { name: 'v1_connection_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_init_stream': { name: 'v1_connection_open_init_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_try': { name: 'v1_connection_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connection_open_try_stream': { name: 'v1_connection_open_try_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connections': { name: 'v1_connections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_connections_stream': { name: 'v1_connections_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_contracts': { name: 'v1_contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_contracts_stream': { name: 'v1_contracts_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_daily_packets': { name: 'v1_daily_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_packets_stream': { name: 'v1_daily_packets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_transfers': { name: 'v1_daily_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_daily_transfers_stream': { name: 'v1_daily_transfers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_explorers': { name: 'v1_explorers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_explorers_stream': { name: 'v1_explorers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_faucets': { name: 'v1_faucets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_faucets_stream': { name: 'v1_faucets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_health_check': { name: 'v1_health_check'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_health_check_stream': { name: 'v1_health_check_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view': { name: 'v1_ibc_union_packets_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view_stream': { name: 'v1_ibc_union_packets_view_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_index_status': { name: 'v1_index_status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_index_status_stream': { name: 'v1_index_status_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_lightclient_update': { name: 'v1_lightclient_update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_lightclient_update_stream': { name: 'v1_lightclient_update_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_packet_effect_type': { name: 'v1_packet_effect_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packet_effect_type_stream': { name: 'v1_packet_effect_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packets': { name: 'v1_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_packets_stream': { name: 'v1_packets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_rpcs': { name: 'v1_rpcs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_rpcs_stream': { name: 'v1_rpcs_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_statistics': { name: 'v1_statistics'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_statistics_address': { name: 'v1_statistics_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_statistics_address_stream': { name: 'v1_statistics_address_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_statistics_stream': { name: 'v1_statistics_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_tokens_type': { name: 'v1_tokens_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_tokens_type_stream': { name: 'v1_tokens_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_traces': { name: 'v1_traces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_traces_stream': { name: 'v1_traces_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type': { name: 'v1_transfer_forwards_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type_stream': { name: 'v1_transfer_forwards_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfers': { name: 'v1_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_transfers_stream': { name: 'v1_transfers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations': { name: 'v1_ucs1_configurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations_stream': { name: 'v1_ucs1_configurations_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_paths': { name: 'v1_ucs1_paths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; 'v1_ucs1_paths_stream': { name: 'v1_ucs1_paths_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; }; }; + 'subscription_root': { kind: 'OBJECT'; name: 'subscription_root'; fields: { 'get_route': { name: 'get_route'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PfmArgs'; ofType: null; }; }; }; } }; 'v1_acknowledge_packet': { name: 'v1_acknowledge_packet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_acknowledge_packet_stream': { name: 'v1_acknowledge_packet_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; ofType: null; }; }; }; } }; 'v1_assets': { name: 'v1_assets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_assets_stream': { name: 'v1_assets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_assets'; ofType: null; }; }; }; } }; 'v1_chains': { name: 'v1_chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_chains_stream': { name: 'v1_chains_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; }; }; }; } }; 'v1_channel_open_ack': { name: 'v1_channel_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_ack_stream': { name: 'v1_channel_open_ack_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_ack'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm': { name: 'v1_channel_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_confirm_stream': { name: 'v1_channel_open_confirm_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_confirm'; ofType: null; }; }; }; } }; 'v1_channel_open_init': { name: 'v1_channel_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_init_stream': { name: 'v1_channel_open_init_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_init'; ofType: null; }; }; }; } }; 'v1_channel_open_try': { name: 'v1_channel_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channel_open_try_stream': { name: 'v1_channel_open_try_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channel_open_try'; ofType: null; }; }; }; } }; 'v1_channels': { name: 'v1_channels'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_channels_stream': { name: 'v1_channels_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_channels'; ofType: null; }; }; }; } }; 'v1_clients': { name: 'v1_clients'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_clients_stream': { name: 'v1_clients_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_clients'; ofType: null; }; }; }; } }; 'v1_config': { name: 'v1_config'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_config_stream': { name: 'v1_config_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_config'; ofType: null; }; }; }; } }; 'v1_connection_open_ack': { name: 'v1_connection_open_ack'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_ack_stream': { name: 'v1_connection_open_ack_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_ack'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm': { name: 'v1_connection_open_confirm'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_confirm_stream': { name: 'v1_connection_open_confirm_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_confirm'; ofType: null; }; }; }; } }; 'v1_connection_open_init': { name: 'v1_connection_open_init'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_init_stream': { name: 'v1_connection_open_init_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_init'; ofType: null; }; }; }; } }; 'v1_connection_open_try': { name: 'v1_connection_open_try'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connection_open_try_stream': { name: 'v1_connection_open_try_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connection_open_try'; ofType: null; }; }; }; } }; 'v1_connections': { name: 'v1_connections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_connections_stream': { name: 'v1_connections_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_connections'; ofType: null; }; }; }; } }; 'v1_contracts': { name: 'v1_contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_contracts_stream': { name: 'v1_contracts_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_contracts'; ofType: null; }; }; }; } }; 'v1_daily_packets': { name: 'v1_daily_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_packets_stream': { name: 'v1_daily_packets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_packets'; ofType: null; }; }; }; } }; 'v1_daily_transfers': { name: 'v1_daily_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_daily_transfers_stream': { name: 'v1_daily_transfers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_daily_transfers'; ofType: null; }; }; }; } }; 'v1_explorers': { name: 'v1_explorers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_explorers_stream': { name: 'v1_explorers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_explorers'; ofType: null; }; }; }; } }; 'v1_faucets': { name: 'v1_faucets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_faucets_stream': { name: 'v1_faucets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_faucets'; ofType: null; }; }; }; } }; 'v1_health_check': { name: 'v1_health_check'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_health_check_stream': { name: 'v1_health_check_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_health_check'; ofType: null; }; }; }; } }; 'v1_ibc_union_fungible_asset_order_view': { name: 'v1_ibc_union_fungible_asset_order_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view'; ofType: null; }; }; }; } }; 'v1_ibc_union_fungible_asset_order_view_stream': { name: 'v1_ibc_union_fungible_asset_order_view_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view': { name: 'v1_ibc_union_packets_view'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_ibc_union_packets_view_stream': { name: 'v1_ibc_union_packets_view_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; }; }; }; } }; 'v1_index_status': { name: 'v1_index_status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_index_status_stream': { name: 'v1_index_status_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_index_status'; ofType: null; }; }; }; } }; 'v1_lightclient_update': { name: 'v1_lightclient_update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_lightclient_update_stream': { name: 'v1_lightclient_update_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_lightclient_update'; ofType: null; }; }; }; } }; 'v1_packet_effect_type': { name: 'v1_packet_effect_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packet_effect_type_stream': { name: 'v1_packet_effect_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packet_effect_type'; ofType: null; }; }; }; } }; 'v1_packets': { name: 'v1_packets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_packets_stream': { name: 'v1_packets_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_packets'; ofType: null; }; }; }; } }; 'v1_rpcs': { name: 'v1_rpcs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_rpcs_stream': { name: 'v1_rpcs_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_rpcs'; ofType: null; }; }; }; } }; 'v1_statistics': { name: 'v1_statistics'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_statistics_address': { name: 'v1_statistics_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_statistics_address_stream': { name: 'v1_statistics_address_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics_address'; ofType: null; }; }; }; } }; 'v1_statistics_stream': { name: 'v1_statistics_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_statistics'; ofType: null; }; }; }; } }; 'v1_tokens_type': { name: 'v1_tokens_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_tokens_type_stream': { name: 'v1_tokens_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_tokens_type'; ofType: null; }; }; }; } }; 'v1_traces': { name: 'v1_traces'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_traces_stream': { name: 'v1_traces_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_traces'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type': { name: 'v1_transfer_forwards_type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfer_forwards_type_stream': { name: 'v1_transfer_forwards_type_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfer_forwards_type'; ofType: null; }; }; }; } }; 'v1_transfers': { name: 'v1_transfers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_transfers_stream': { name: 'v1_transfers_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_transfers'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations': { name: 'v1_ucs1_configurations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_configurations_stream': { name: 'v1_ucs1_configurations_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_configurations'; ofType: null; }; }; }; } }; 'v1_ucs1_paths': { name: 'v1_ucs1_paths'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; 'v1_ucs1_paths_stream': { name: 'v1_ucs1_paths_stream'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'v1_ucs1_paths'; ofType: null; }; }; }; } }; }; }; 'timestamptz': unknown; 'timestamptz_comparison_exp': { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; isOneOf: false; inputFields: [{ name: '_eq'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_gt'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_gte'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; }; }; defaultValue: null }, { name: '_is_null'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: '_lt'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_lte'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_neq'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: '_nin'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; }; }; defaultValue: null }]; }; 'v1_acknowledge_packet': { kind: 'OBJECT'; name: 'v1_acknowledge_packet'; fields: { 'block_hash': { name: 'block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain': { name: 'chain'; type: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; } }; 'event_index': { name: 'event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'height': { name: 'height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'sequence': { name: 'sequence'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'source_channel_id': { name: 'source_channel_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'source_port_id': { name: 'source_port_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'transaction_event_index': { name: 'transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'transaction_hash': { name: 'transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'transaction_index': { name: 'transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; }; @@ -181,12 +179,18 @@ export type introspection_types = { 'v1_health_check_select_column': { name: 'v1_health_check_select_column'; enumValues: 'result' | 'test'; }; 'v1_health_check_stream_cursor_input': { kind: 'INPUT_OBJECT'; name: 'v1_health_check_stream_cursor_input'; isOneOf: false; inputFields: [{ name: 'initial_value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_health_check_stream_cursor_value_input'; ofType: null; }; }; defaultValue: null }, { name: 'ordering'; type: { kind: 'ENUM'; name: 'cursor_ordering'; ofType: null; }; defaultValue: null }]; }; 'v1_health_check_stream_cursor_value_input': { kind: 'INPUT_OBJECT'; name: 'v1_health_check_stream_cursor_value_input'; isOneOf: false; inputFields: [{ name: 'result'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'test'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; - 'v1_ibc_union_packets_view': { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; fields: { 'acknowledgement': { name: 'acknowledgement'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'acknowledgement_decoded': { name: 'acknowledgement_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; } }; 'channel_version': { name: 'channel_version'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'data_decoded': { name: 'data_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; } }; 'destination_chain_id': { name: 'destination_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'destination_channel_id': { name: 'destination_channel_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'destination_connection_id': { name: 'destination_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'destination_port_id': { name: 'destination_port_id'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_ack_block_hash': { name: 'packet_ack_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_ack_event_index': { name: 'packet_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_ack_height': { name: 'packet_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_ack_maker': { name: 'packet_ack_maker'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_ack_timestamp': { name: 'packet_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_ack_transaction_event_index': { name: 'packet_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_ack_transaction_hash': { name: 'packet_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_ack_transaction_index': { name: 'packet_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_block_hash': { name: 'packet_recv_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_recv_event_index': { name: 'packet_recv_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_height': { name: 'packet_recv_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_recv_maker': { name: 'packet_recv_maker'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_recv_maker_msg': { name: 'packet_recv_maker_msg'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_recv_timestamp': { name: 'packet_recv_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_recv_transaction_event_index': { name: 'packet_recv_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_transaction_hash': { name: 'packet_recv_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_recv_transaction_index': { name: 'packet_recv_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_block_hash': { name: 'packet_send_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_send_event_index': { name: 'packet_send_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_height': { name: 'packet_send_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_send_timestamp': { name: 'packet_send_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_send_transaction_event_index': { name: 'packet_send_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_transaction_hash': { name: 'packet_send_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'packet_send_transaction_index': { name: 'packet_send_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'source_chain_id': { name: 'source_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'source_channel_id': { name: 'source_channel_id'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'source_connection_id': { name: 'source_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'source_port_id': { name: 'source_port_id'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'status': { name: 'status'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'timeout_height': { name: 'timeout_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'timeout_timestamp': { name: 'timeout_timestamp'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; } }; 'write_ack_block_hash': { name: 'write_ack_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'write_ack_event_index': { name: 'write_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'write_ack_height': { name: 'write_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'write_ack_timestamp': { name: 'write_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'write_ack_transaction_event_index': { name: 'write_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'write_ack_transaction_hash': { name: 'write_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; } }; 'write_ack_transaction_index': { name: 'write_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; }; - 'v1_ibc_union_packets_view_bool_exp': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; isOneOf: false; inputFields: [{ name: '_and'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: '_not'; type: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; defaultValue: null }, { name: '_or'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: 'acknowledgement'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'acknowledgement_decoded'; type: { kind: 'INPUT_OBJECT'; name: 'jsonb_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'channel_version'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'data'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'data_decoded'; type: { kind: 'INPUT_OBJECT'; name: 'jsonb_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_channel_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_connection_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_port_id'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_maker'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker_msg'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_channel_id'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_connection_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_port_id'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'timeout_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'timeout_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'numeric_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'bytea_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_fungible_asset_order_view': { kind: 'OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view'; fields: { 'ack_fill_type': { name: 'ack_fill_type'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'ack_market_maker': { name: 'ack_market_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'ack_tag': { name: 'ack_tag'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'base_amount': { name: 'base_amount'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'base_token': { name: 'base_token'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'base_token_name': { name: 'base_token_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'base_token_path': { name: 'base_token_path'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'base_token_symbol': { name: 'base_token_symbol'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet': { name: 'packet'; type: { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; ofType: null; } }; 'quote_amount': { name: 'quote_amount'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'quote_token': { name: 'quote_token'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'receiver': { name: 'receiver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'sender': { name: 'sender'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'v1_ibc_union_fungible_asset_order_view_bool_exp': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_bool_exp'; isOneOf: false; inputFields: [{ name: '_and'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: '_not'; type: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_bool_exp'; ofType: null; }; defaultValue: null }, { name: '_or'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: 'ack_fill_type'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'ack_market_maker'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'ack_tag'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'base_amount'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'base_token'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'base_token_name'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'base_token_path'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'base_token_symbol'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet'; type: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; defaultValue: null }, { name: 'quote_amount'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'quote_token'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'receiver'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_fungible_asset_order_view_order_by': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_order_by'; isOneOf: false; inputFields: [{ name: 'ack_fill_type'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'ack_market_maker'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'ack_tag'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'base_amount'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'base_token'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'base_token_name'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'base_token_path'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'base_token_symbol'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet'; type: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_order_by'; ofType: null; }; defaultValue: null }, { name: 'quote_amount'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'quote_token'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'receiver'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_fungible_asset_order_view_select_column': { name: 'v1_ibc_union_fungible_asset_order_view_select_column'; enumValues: 'ack_fill_type' | 'ack_market_maker' | 'ack_tag' | 'base_amount' | 'base_token' | 'base_token_name' | 'base_token_path' | 'base_token_symbol' | 'quote_amount' | 'quote_token' | 'receiver' | 'sender'; }; + 'v1_ibc_union_fungible_asset_order_view_stream_cursor_input': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_stream_cursor_input'; isOneOf: false; inputFields: [{ name: 'initial_value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_stream_cursor_value_input'; ofType: null; }; }; defaultValue: null }, { name: 'ordering'; type: { kind: 'ENUM'; name: 'cursor_ordering'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_fungible_asset_order_view_stream_cursor_value_input': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_fungible_asset_order_view_stream_cursor_value_input'; isOneOf: false; inputFields: [{ name: 'ack_fill_type'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'ack_market_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'ack_tag'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'base_amount'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'base_token'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'base_token_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'base_token_path'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'base_token_symbol'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'quote_amount'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'quote_token'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'receiver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'sender'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_packets_view': { kind: 'OBJECT'; name: 'v1_ibc_union_packets_view'; fields: { 'acknowledgement': { name: 'acknowledgement'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'acknowledgement_decoded': { name: 'acknowledgement_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; } }; 'channel_version': { name: 'channel_version'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'data_decoded': { name: 'data_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; } }; 'destination_chain_id': { name: 'destination_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'destination_channel_id': { name: 'destination_channel_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'destination_connection_id': { name: 'destination_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'destination_port_id': { name: 'destination_port_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_ack_block_hash': { name: 'packet_ack_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_ack_event_index': { name: 'packet_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_ack_height': { name: 'packet_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_ack_maker': { name: 'packet_ack_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_ack_timestamp': { name: 'packet_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_ack_transaction_event_index': { name: 'packet_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_ack_transaction_hash': { name: 'packet_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_ack_transaction_index': { name: 'packet_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_block_hash': { name: 'packet_recv_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_recv_event_index': { name: 'packet_recv_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_height': { name: 'packet_recv_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_recv_maker': { name: 'packet_recv_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_recv_maker_msg': { name: 'packet_recv_maker_msg'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_recv_timestamp': { name: 'packet_recv_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_recv_transaction_event_index': { name: 'packet_recv_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_recv_transaction_hash': { name: 'packet_recv_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_recv_transaction_index': { name: 'packet_recv_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_block_hash': { name: 'packet_send_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_send_event_index': { name: 'packet_send_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_height': { name: 'packet_send_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'packet_send_timestamp': { name: 'packet_send_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'packet_send_transaction_event_index': { name: 'packet_send_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'packet_send_transaction_hash': { name: 'packet_send_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'packet_send_transaction_index': { name: 'packet_send_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'source_chain_id': { name: 'source_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'source_channel_id': { name: 'source_channel_id'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'source_connection_id': { name: 'source_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'source_port_id': { name: 'source_port_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'status': { name: 'status'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'timeout_height': { name: 'timeout_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'timeout_timestamp': { name: 'timeout_timestamp'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; } }; 'write_ack_block_hash': { name: 'write_ack_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'write_ack_event_index': { name: 'write_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'write_ack_height': { name: 'write_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'write_ack_timestamp': { name: 'write_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'write_ack_transaction_event_index': { name: 'write_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'write_ack_transaction_hash': { name: 'write_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'write_ack_transaction_index': { name: 'write_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; }; + 'v1_ibc_union_packets_view_bool_exp': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; isOneOf: false; inputFields: [{ name: '_and'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: '_not'; type: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; defaultValue: null }, { name: '_or'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: 'acknowledgement'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'acknowledgement_decoded'; type: { kind: 'INPUT_OBJECT'; name: 'jsonb_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'channel_version'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'data'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'data_decoded'; type: { kind: 'INPUT_OBJECT'; name: 'jsonb_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_channel_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_connection_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'destination_port_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_maker'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker_msg'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_channel_id'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_connection_id'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'source_port_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'timeout_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'timeout_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'numeric_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_block_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_event_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_index'; type: { kind: 'INPUT_OBJECT'; name: 'Int_comparison_exp'; ofType: null; }; defaultValue: null }]; }; 'v1_ibc_union_packets_view_order_by': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_order_by'; isOneOf: false; inputFields: [{ name: 'acknowledgement'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'acknowledgement_decoded'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'channel_version'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'data'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'data_decoded'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'destination_chain_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'destination_channel_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'destination_connection_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'destination_port_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_block_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_maker'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_block_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker_msg'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_block_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'source_chain_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'source_channel_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'source_connection_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'source_port_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'timeout_height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'timeout_timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_block_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_event_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_hash'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_index'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }]; }; 'v1_ibc_union_packets_view_select_column': { name: 'v1_ibc_union_packets_view_select_column'; enumValues: 'acknowledgement' | 'acknowledgement_decoded' | 'channel_version' | 'data' | 'data_decoded' | 'destination_chain_id' | 'destination_channel_id' | 'destination_connection_id' | 'destination_port_id' | 'packet_ack_block_hash' | 'packet_ack_event_index' | 'packet_ack_height' | 'packet_ack_maker' | 'packet_ack_timestamp' | 'packet_ack_transaction_event_index' | 'packet_ack_transaction_hash' | 'packet_ack_transaction_index' | 'packet_recv_block_hash' | 'packet_recv_event_index' | 'packet_recv_height' | 'packet_recv_maker' | 'packet_recv_maker_msg' | 'packet_recv_timestamp' | 'packet_recv_transaction_event_index' | 'packet_recv_transaction_hash' | 'packet_recv_transaction_index' | 'packet_send_block_hash' | 'packet_send_event_index' | 'packet_send_height' | 'packet_send_timestamp' | 'packet_send_transaction_event_index' | 'packet_send_transaction_hash' | 'packet_send_transaction_index' | 'source_chain_id' | 'source_channel_id' | 'source_connection_id' | 'source_port_id' | 'status' | 'timeout_height' | 'timeout_timestamp' | 'write_ack_block_hash' | 'write_ack_event_index' | 'write_ack_height' | 'write_ack_timestamp' | 'write_ack_transaction_event_index' | 'write_ack_transaction_hash' | 'write_ack_transaction_index'; }; 'v1_ibc_union_packets_view_stream_cursor_input': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_stream_cursor_input'; isOneOf: false; inputFields: [{ name: 'initial_value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_stream_cursor_value_input'; ofType: null; }; }; defaultValue: null }, { name: 'ordering'; type: { kind: 'ENUM'; name: 'cursor_ordering'; ofType: null; }; defaultValue: null }]; }; - 'v1_ibc_union_packets_view_stream_cursor_value_input': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_stream_cursor_value_input'; isOneOf: false; inputFields: [{ name: 'acknowledgement'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'acknowledgement_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; }; defaultValue: null }, { name: 'channel_version'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'data'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'data_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; }; defaultValue: null }, { name: 'destination_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'destination_channel_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'destination_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'destination_port_id'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_maker'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker_msg'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_send_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_send_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'source_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'source_channel_id'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'source_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'source_port_id'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'timeout_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'timeout_timestamp'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: 'write_ack_block_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'write_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'write_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'write_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'bytea'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; }; + 'v1_ibc_union_packets_view_stream_cursor_value_input': { kind: 'INPUT_OBJECT'; name: 'v1_ibc_union_packets_view_stream_cursor_value_input'; isOneOf: false; inputFields: [{ name: 'acknowledgement'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'acknowledgement_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; }; defaultValue: null }, { name: 'channel_version'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'data'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'data_decoded'; type: { kind: 'SCALAR'; name: 'jsonb'; ofType: null; }; defaultValue: null }, { name: 'destination_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'destination_channel_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'destination_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'destination_port_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_maker_msg'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_recv_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_send_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'packet_send_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'packet_send_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'source_chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'source_channel_id'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'source_connection_id'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'source_port_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'timeout_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'timeout_timestamp'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; }; defaultValue: null }, { name: 'write_ack_block_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'write_ack_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'write_ack_height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; }; defaultValue: null }, { name: 'write_ack_timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_event_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_hash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'write_ack_transaction_index'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; }; 'v1_index_status': { kind: 'OBJECT'; name: 'v1_index_status'; fields: { 'chain': { name: 'chain'; type: { kind: 'OBJECT'; name: 'v1_chains'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'height': { name: 'height'; type: { kind: 'SCALAR'; name: 'bigint'; ofType: null; } }; 'status': { name: 'status'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'SCALAR'; name: 'timestamptz'; ofType: null; } }; 'tip_age_seconds': { name: 'tip_age_seconds'; type: { kind: 'SCALAR'; name: 'numeric'; ofType: null; } }; }; }; 'v1_index_status_bool_exp': { kind: 'INPUT_OBJECT'; name: 'v1_index_status_bool_exp'; isOneOf: false; inputFields: [{ name: '_and'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_index_status_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: '_not'; type: { kind: 'INPUT_OBJECT'; name: 'v1_index_status_bool_exp'; ofType: null; }; defaultValue: null }, { name: '_or'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'v1_index_status_bool_exp'; ofType: null; }; }; }; defaultValue: null }, { name: 'chain'; type: { kind: 'INPUT_OBJECT'; name: 'v1_chains_bool_exp'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'height'; type: { kind: 'INPUT_OBJECT'; name: 'bigint_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'String_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'timestamptz_comparison_exp'; ofType: null; }; defaultValue: null }, { name: 'tip_age_seconds'; type: { kind: 'INPUT_OBJECT'; name: 'numeric_comparison_exp'; ofType: null; }; defaultValue: null }]; }; 'v1_index_status_order_by': { kind: 'INPUT_OBJECT'; name: 'v1_index_status_order_by'; isOneOf: false; inputFields: [{ name: 'chain'; type: { kind: 'INPUT_OBJECT'; name: 'v1_chains_order_by'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'height'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'timestamp'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }, { name: 'tip_age_seconds'; type: { kind: 'ENUM'; name: 'order_by'; ofType: null; }; defaultValue: null }]; }; diff --git a/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte b/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte index bf3cadf028..bbb7a20380 100644 --- a/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte +++ b/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte @@ -1,37 +1,29 @@
@@ -44,20 +36,20 @@ function setAsset(address: string) {
- {#if sortedAssets.length} + {#if $intents.sourceAssets.length}
- {#each sortedAssets as asset} + {#each $intents.sourceAssets as asset (asset.metadata.denom)}
diff --git a/app/src/lib/components/TransferFrom/components/Cube/faces/Chains.svelte b/app/src/lib/components/TransferFrom/components/Cube/faces/Chains.svelte index 499237f8a1..0a8a105697 100644 --- a/app/src/lib/components/TransferFrom/components/Cube/faces/Chains.svelte +++ b/app/src/lib/components/TransferFrom/components/Cube/faces/Chains.svelte @@ -1,37 +1,37 @@
@@ -100,5 +100,4 @@ function toggleExpand(chainId: string) { {/each}
- \ No newline at end of file diff --git a/app/src/lib/components/TransferFrom/components/Cube/faces/Intent.svelte b/app/src/lib/components/TransferFrom/components/Cube/faces/Intent.svelte index 097364207c..97bdc872a1 100644 --- a/app/src/lib/components/TransferFrom/components/Cube/faces/Intent.svelte +++ b/app/src/lib/components/TransferFrom/components/Cube/faces/Intent.svelte @@ -4,9 +4,7 @@ import SelectedAsset from "$lib/components/TransferFrom/components/SelectedAsset import type { Readable } from "svelte/store" import type { ValidationStore, - ValidationStoreAndMethods } from "$lib/components/TransferFrom/transfer/validation.ts" -import type { ContextStore } from "$lib/components/TransferFrom/transfer/context.ts" import { Button } from "$lib/components/ui/button" import type { IntentsStore } from "$lib/components/TransferFrom/transfer/intents.ts" import type { CubeFaces } from "$lib/components/TransferFrom/components/Cube/types.ts" @@ -46,7 +44,7 @@ let { rawIntents, intents, validation } = stores minlength={1} maxlength={64} required={true} - disabled={!$intents.selectedAsset.address} + disabled={!$intents.selectedAsset?.metadata.denom} autocorrect="off" placeholder="0.00" spellcheck="false" diff --git a/app/src/lib/components/TransferFrom/components/Cube/faces/Transfer.svelte b/app/src/lib/components/TransferFrom/components/Cube/faces/Transfer.svelte index 7372cec591..1f55a2ce92 100644 --- a/app/src/lib/components/TransferFrom/components/Cube/faces/Transfer.svelte +++ b/app/src/lib/components/TransferFrom/components/Cube/faces/Transfer.svelte @@ -50,7 +50,7 @@ let transferState: Writable = writable({ kind: "PRE_TRANSFER" }) const transfer = async () => { if (!$validation.isValid) return - let parsedAmount = parseUnits($validation.transfer.amount, $validation.transfer.asset.decimals) + let parsedAmount = parseUnits($validation.transfer.amount, $validation.transfer.asset.metadata.decimals) /** --- APTOS START --- */ if ($validation.transfer.sourceChain.rpc_type === "aptos") { @@ -109,7 +109,7 @@ const transfer = async () => { receiver: $validation.transfer.receiver, amount: parsedAmount, authAccess: "wallet", - denomAddress: $validation.transfer.asset.address, + denomAddress: $validation.transfer.asset?.balance, destinationChainId: $validation.transfer.destinationChain.chain_id as ChainId } satisfies TransferAssetsParameters<"2"> @@ -201,18 +201,18 @@ const transfer = async () => { account: cosmosOfflineSigner, transport: http(`https://${rpcUrl}`), chainId: $validation.transfer.sourceChain.chain_id as CosmosChainId, - gasPrice: { amount: "0.0025", denom: $validation.transfer.asset.address } + gasPrice: { amount: "0.0025", denom: $validation.transfer.asset.metadata.denom } }) const transfer = await unionClient.transferAsset({ autoApprove: true, receiver: $validation.transfer.receiver, amount: parsedAmount, - denomAddress: $validation.transfer.asset.address, + denomAddress: $validation.transfer.asset.metadata.denom, account: cosmosOfflineSigner, // TODO: verify chain id is correct destinationChainId: $validation.transfer.destinationChain.chain_id as ChainId, - gasPrice: { amount: "0.0025", denom: $validation.transfer.asset.address } + gasPrice: { amount: "0.0025", denom: $validation.transfer.asset.metadata.denom } }) if (transfer.isErr()) throw transfer.error transferState.set({ kind: "TRANSFERRING", transferHash: transfer.value }) @@ -273,7 +273,7 @@ const transfer = async () => { const approve = await unionClient.approveTransaction({ amount: parsedAmount, receiver: $validation.transfer.receiver, - denomAddress: getAddress($validation.transfer.asset.address), + denomAddress: getAddress($validation.transfer.asset.metadata.denom), // TODO: verify chain id is correct destinationChainId: $validation.transfer.destinationChain.chain_id as ChainId }) @@ -334,7 +334,7 @@ const transfer = async () => { autoApprove: false, amount: parsedAmount, receiver: $validation.transfer.receiver, - denomAddress: getAddress($validation.transfer.asset.address), + denomAddress: getAddress($validation.transfer.asset.metadata.denom), destinationChainId: $validation.transfer.destinationChain.chain_id as ChainId }) if (transfer.isErr()) throw transfer.error @@ -387,10 +387,10 @@ const transfer = async () => { transfer_day: toIsoString(new Date(Date.now())).split("T")[0], receiver: $validation.transfer?.receiver, assets: { - [$validation.transfer?.asset.address]: { + [$validation.transfer?.asset.metadata.denom]: { info: $validation.transfer?.sourceChain?.assets?.find( - d => d.denom === $validation.transfer?.asset.address + d => d.denom === $validation.transfer?.asset.metadata.denom ) ?? null, amount: parsedAmount } @@ -643,7 +643,7 @@ let stepperSteps = derived(
ASSET: - {truncate($validation.transfer.asset.address, 6)} + {truncate($validation.transfer.asset.metadata.denom, 6)}
AMOUNT: diff --git a/app/src/lib/components/TransferFrom/components/SelectedAsset.svelte b/app/src/lib/components/TransferFrom/components/SelectedAsset.svelte index 34a27e539f..e80550369e 100644 --- a/app/src/lib/components/TransferFrom/components/SelectedAsset.svelte +++ b/app/src/lib/components/TransferFrom/components/SelectedAsset.svelte @@ -1,22 +1,22 @@
@@ -28,10 +28,13 @@ export let onSelectAsset: Props["onSelectAsset"] class="border-2 font-bold" on:click={onSelectAsset} > - {$intents.selectedAsset.symbol ? - truncate($intents.selectedAsset.symbol, 18) : - $rawIntents.asset ? truncate($rawIntents.asset, 6) : - "Select Asset"} + {#if $intents.selectedAsset} + {truncate($intents.selectedAsset.metadata.display_symbol || $intents.selectedAsset.metadata.denom, 18)} + {:else if $rawIntents.asset} + {truncate($rawIntents.asset, 6)} + {:else} + Select Asset + {/if} {#if $validation.errors.asset}

{$validation.errors.asset}

diff --git a/app/src/lib/components/TransferFrom/index.svelte b/app/src/lib/components/TransferFrom/index.svelte index a0b1f15363..1dd2668b2d 100644 --- a/app/src/lib/components/TransferFrom/index.svelte +++ b/app/src/lib/components/TransferFrom/index.svelte @@ -7,18 +7,14 @@ import Chains from "$lib/components/TransferFrom/components/Cube/faces/Chains.sv import Assets from "$lib/components/TransferFrom/components/Cube/faces/Assets.svelte" import Transfer from "$lib/components/TransferFrom/components/Cube/faces/Transfer.svelte" import Cube from "$lib/components/TransferFrom/components/Cube/index.svelte" -import type { Chain, UserAddresses } from "$lib/types.ts" -import { userBalancesQuery } from "$lib/queries/balance" +import type { Chain } from "$lib/types.ts" +import { allChainBalances } from "$lib/queries/balance" import { balanceStore, userAddress } from "$lib/components/TransferFrom/transfer/balances.ts" export let chains: Array -$: userBalancesQuery({ - chains, - userAddr: $userAddress, - connected: true -}).subscribe(x => { - balanceStore.set(x) +$: allChainBalances(chains, userAddress).subscribe(data => { + balanceStore.set(data) }) const stores = createTransferStore(chains) @@ -34,7 +30,7 @@ const stores = createTransferStore(chains)
- +
diff --git a/app/src/lib/components/TransferFrom/transfer/balances.ts b/app/src/lib/components/TransferFrom/transfer/balances.ts index 46884f5c04..135d5c674c 100644 --- a/app/src/lib/components/TransferFrom/transfer/balances.ts +++ b/app/src/lib/components/TransferFrom/transfer/balances.ts @@ -1,10 +1,11 @@ -import { derived, type Readable, writable } from "svelte/store" + import type { UserAddresses } from "$lib/types.ts" import { userAddrCosmos } from "$lib/wallet/cosmos" import { userAddrEvm } from "$lib/wallet/evm" import { userAddressAptos } from "$lib/wallet/aptos" import type { QueryObserverResult } from "@tanstack/query-core" -import type { BalanceResult } from "$lib/queries/balance" +import type {BalanceData} from "$lib/queries/balance"; +import {derived, type Readable, writable} from "svelte/store"; export let userAddress: Readable = derived( [userAddrCosmos, userAddrEvm, userAddressAptos], @@ -15,4 +16,4 @@ export let userAddress: Readable = derived( }) ) -export const balanceStore = writable, Error>>>() +export const balanceStore = writable([]) \ No newline at end of file diff --git a/app/src/lib/components/TransferFrom/transfer/context.ts b/app/src/lib/components/TransferFrom/transfer/context.ts index 00b621ad08..47c78b7a06 100644 --- a/app/src/lib/components/TransferFrom/transfer/context.ts +++ b/app/src/lib/components/TransferFrom/transfer/context.ts @@ -1,20 +1,11 @@ import { derived, type Readable } from "svelte/store" import type { Chain, UserAddresses } from "$lib/types" -import type { Address } from "$lib/wallet/types" import { balanceStore, userAddress } from "./balances.ts" -import type { BalanceResult } from "$lib/queries/balance" -import type { QueryObserverResult } from "@tanstack/query-core" - -export type BalanceRecord = { - balance: bigint - gasToken: boolean - address: Address - symbol: string -} +import type { BalanceData } from "$lib/queries/balance" export type ChainBalances = { chainId: string - balances: Array + balances: Array } export type BalancesList = Array @@ -27,8 +18,8 @@ export interface ContextStore { export function createContextStore(chains: Array): Readable { const balances = derived( - balanceStore as Readable, Error>>>, - $rawBalances => { + balanceStore, + ($rawBalances: BalanceData[][]) => { if ($rawBalances?.length === 0) { return chains.map(chain => ({ chainId: chain.chain_id, @@ -37,10 +28,9 @@ export function createContextStore(chains: Array): Readable } return chains.map((chain, chainIndex) => { - const balanceResult = $rawBalances[chainIndex] + const chainBalances = $rawBalances[chainIndex] - if (!(balanceResult?.isSuccess && balanceResult.data)) { - console.log(`No balances fetched yet for chain ${chain.chain_id}`) + if (!chainBalances || chainBalances.length === 0) { return { chainId: chain.chain_id, balances: [] @@ -49,13 +39,7 @@ export function createContextStore(chains: Array): Readable return { chainId: chain.chain_id, - balances: balanceResult.data.map((balance: BalanceResult) => ({ - ...balance, - balance: BigInt(balance.balance), - gasToken: "gasToken" in balance ? (balance.gasToken ?? false) : false, - address: balance.address as Address, - symbol: balance.symbol || balance.address - })) + balances: chainBalances } }) } @@ -66,4 +50,4 @@ export function createContextStore(chains: Array): Readable userAddress: $userAddress, balances: $balances })) -} +} \ No newline at end of file diff --git a/app/src/lib/components/TransferFrom/transfer/intents.ts b/app/src/lib/components/TransferFrom/transfer/intents.ts index 7fe44f86f4..f135e8b67d 100644 --- a/app/src/lib/components/TransferFrom/transfer/intents.ts +++ b/app/src/lib/components/TransferFrom/transfer/intents.ts @@ -1,28 +1,16 @@ import { derived, type Readable } from "svelte/store" -import type { Chain, ChainAsset } from "$lib/types" -import { useQueryClient } from "@tanstack/svelte-query" -import { getSupportedAsset } from "$lib/utilities/helpers.ts" +import type { Chain } from "$lib/types" import type { RawIntentsStore } from "$lib/components/TransferFrom/transfer/raw-intents.ts" -import type { ContextStore, BalanceRecord } from "$lib/components/TransferFrom/transfer/context.ts" +import type { ContextStore } from "$lib/components/TransferFrom/transfer/context.ts" import { showUnsupported } from "$lib/stores/user.ts" import { get } from "svelte/store" +import type { BalanceData } from "$lib/queries/balance" -export type AssetListItem = { - balance: BalanceRecord - isSupported: boolean - supportedAsset?: ChainAsset - symbol: string +export type AssetListItem = BalanceData & { sourceChain: Chain } -export interface SelectedAsset { - address: string | null - balance: bigint | null - symbol: string | null - decimals: number - gasToken: boolean - supported: ChainAsset | null -} +export type SelectedAsset = BalanceData | null export interface IntentsStore { sourceChain: Chain | null @@ -33,18 +21,10 @@ export interface IntentsStore { amount: string } -const getDisplaySymbol = ( - balance: BalanceRecord | undefined, - supportedAsset: ChainAsset | undefined -): string | undefined => - supportedAsset?.display_symbol || balance?.symbol || balance?.address || undefined - export function createIntentStore( rawIntents: RawIntentsStore, context: Readable ): Readable { - const queryClient = useQueryClient() - const sourceChain = derived([rawIntents, context], ([$intents, $context]) => { return $context.chains.find(chain => chain.chain_id === $intents.source) ?? null }) @@ -55,7 +35,6 @@ export function createIntentStore( $context.chains.find(chain => chain.chain_id === $intents.destination) ?? null ) - //Assets of selected chain const sourceAssets = derived([context, sourceChain], ([$context, $sourceChain]) => { if (!$sourceChain) return [] @@ -63,44 +42,20 @@ export function createIntentStore( $context.balances.find(chain => chain.chainId === $sourceChain.chain_id)?.balances || [] return chainBalances - .map(balance => { - const supportedAsset = getSupportedAsset($sourceChain, balance.address) - const isSupported = Boolean(supportedAsset) - - if (!(get(showUnsupported) || isSupported)) return null - - return { - balance, - isSupported, - supportedAsset, - symbol: getDisplaySymbol(balance, supportedAsset) || balance.address, - sourceChain: $sourceChain - } - }) - .filter(Boolean) as Array + .filter(balance => get(showUnsupported) || balance.metadata.metadata_level !== "none") + .map(balance => ({ + ...balance, + sourceChain: $sourceChain + })) }) - // Find the specific asset in the source chain assets - const asset = derived( + const selectedAsset = derived( [sourceAssets, rawIntents], - ([$assets, $intents]) => $assets.find(x => x.balance.address === $intents.asset)?.balance + ([$sourceAssets, $rawIntents]) => { + return $sourceAssets.find(x => x.metadata.denom === $rawIntents.asset) ?? null + } ) - //Get supported asset info (if supported) - const supportedAsset = derived([sourceChain, asset], ([$sourceChain, $asset]) => - $sourceChain && $asset ? getSupportedAsset($sourceChain, $asset.address) : undefined - ) - - //Create th selected asset with all info - const selectedAsset = derived([asset, supportedAsset], ([$asset, $supportedAsset]) => ({ - address: $asset?.address ?? "", - balance: $asset?.balance ?? 0n, - symbol: getDisplaySymbol($asset, $supportedAsset) ?? "", - decimals: $supportedAsset?.decimals ?? 0, - gasToken: $asset?.gasToken ?? false, - supported: $supportedAsset ?? null - })) - return derived( [sourceChain, destinationChain, selectedAsset, sourceAssets, rawIntents], ([$sourceChain, $destinationChain, $selectedAsset, $sourceAssets, $rawIntents]) => ({ @@ -112,4 +67,4 @@ export function createIntentStore( amount: $rawIntents.amount }) ) -} +} \ No newline at end of file diff --git a/app/src/lib/components/TransferFrom/transfer/validation.ts b/app/src/lib/components/TransferFrom/transfer/validation.ts index c753df1ddc..f7b02b425a 100644 --- a/app/src/lib/components/TransferFrom/transfer/validation.ts +++ b/app/src/lib/components/TransferFrom/transfer/validation.ts @@ -1,7 +1,7 @@ import type { Readable } from "svelte/store" import { derived } from "svelte/store" -import type { IntentsStore } from "./intents.ts" -import type { Chain, ChainAsset } from "$lib/types" +import type { IntentsStore, SelectedAsset } from "./intents.ts" +import type { Chain } from "$lib/types" import type { ContextStore } from "$lib/components/TransferFrom/transfer/context" import { isHex, parseUnits } from "viem" import { @@ -19,14 +19,7 @@ export type FieldErrors = Partial> export interface ValidTransfer { sourceChain: Chain destinationChain: Chain - asset: { - address: string - balance: bigint - symbol: string - decimals: number - gasToken: boolean - supported: ChainAsset - } + asset: SelectedAsset receiver: string amount: string sender: string @@ -81,18 +74,18 @@ export function createValidationStore( // Required fields when asset is selected if ($rawIntents.asset) { - if (!$intents.selectedAsset.address) errors.asset = "Asset not found in wallet" + if (!$intents.selectedAsset) errors.asset = "Asset not found in wallet" if (!$rawIntents.amount) errors.amount = "Amount is required" if (!$rawIntents.receiver) errors.receiver = "Receiver is required" // Amount validation - if ($rawIntents.amount) { + if ($rawIntents.amount && $intents.selectedAsset) { try { - const parsedAmount = parseUnits($rawIntents.amount, $intents.selectedAsset.decimals ?? 0) + const parsedAmount = parseUnits($rawIntents.amount, $intents.selectedAsset.metadata.decimals ?? 0) if (parsedAmount <= 0n) { errors.amount = "Amount must be greater than 0" } - if (parsedAmount > ($intents.selectedAsset.balance ?? 0n)) { + if (parsedAmount > BigInt($intents.selectedAsset.balance)) { errors.amount = "Amount exceeds balance" } } catch { @@ -131,10 +124,7 @@ export function createValidationStore( !( $intents.sourceChain && $intents.destinationChain && - $intents.selectedAsset.address && - $intents.selectedAsset.balance && - $intents.selectedAsset.symbol && - $intents.selectedAsset.supported + $intents.selectedAsset ) ) { return undefined @@ -146,20 +136,14 @@ export function createValidationStore( return { sourceChain: $intents.sourceChain, destinationChain: $intents.destinationChain, - asset: { - address: $intents.selectedAsset.address, - balance: $intents.selectedAsset.balance, - symbol: $intents.selectedAsset.symbol, - decimals: $intents.selectedAsset.decimals, - gasToken: $intents.selectedAsset.gasToken, - supported: $intents.selectedAsset.supported - }, + asset: $intents.selectedAsset, receiver: $rawIntents.receiver, amount: $rawIntents.amount, sender } as ValidTransfer } ) + return derived([transfer, errors], ([$transfer, $errors]): ValidationStore => { const isValid = $transfer !== undefined @@ -167,4 +151,4 @@ export function createValidationStore( ? { transfer: $transfer as ValidTransfer, errors: $errors, isValid: true } : { transfer: undefined, errors: $errors, isValid: false } }) -} +} \ No newline at end of file diff --git a/app/src/lib/queries/balance/index.ts b/app/src/lib/queries/balance/index.ts index e033d68b5c..b4d8a2f60b 100644 --- a/app/src/lib/queries/balance/index.ts +++ b/app/src/lib/queries/balance/index.ts @@ -1,26 +1,25 @@ -import { writable, derived, type Readable } from "svelte/store" -import { bech32ToBech32Address } from "@unionlabs/client" -import { type Address, isAddress } from "viem" -import type { Chain, ChainAsset, UserAddresses } from "$lib/types" -import { erc20ReadMulticall } from "./evm/multicall.ts" -import { getCosmosChainBalances } from "./cosmos.ts" -import { getAptosChainBalances } from "./aptos.ts" -import { createQueries } from "@tanstack/svelte-query" -import type { QueryObserverResult } from "@tanstack/query-core" +import {derived, type Readable, writable} from "svelte/store" +import {bech32ToBech32Address} from "@unionlabs/client" +import {type Address, isAddress} from "viem" +import type {Chain, ChainAsset, UserAddresses} from "$lib/types" +import {erc20ReadMulticall} from "./evm/multicall.ts" +import {getCosmosChainBalances} from "./cosmos.ts" +import {getAptosChainBalances} from "./aptos.ts" +import {createQueries} from "@tanstack/svelte-query" +import type {QueryObserverResult} from "@tanstack/query-core" export type AssetMetadata = { - balance: string denom: string display_symbol: string | null display_name: string | null - decimals: number | null + decimals: number gasToken: boolean + chain_id: string metadata_level: "graphql" | "onchain" | "none" } - export type BalanceData = { - denom: string - balance: string + balance: string; + metadata: AssetMetadata } function normalizeAddress(denom: string): string { @@ -36,7 +35,7 @@ export async function getAssetInfo(chain: Chain, denom: string): Promise isAddress(denom)).map(normalizeAddress) : chain.assets - .filter((asset): asset is ChainAsset & { denom: Address } => isAddress(asset.denom)) - .map(asset => normalizeAddress(asset.denom)) + .filter((asset): asset is ChainAsset & { denom: Address } => isAddress(asset.denom)) + .map(asset => normalizeAddress(asset.denom)) const results = await erc20ReadMulticall({ chainId: chain.chain_id, @@ -113,12 +112,16 @@ export async function getUserBalances( contractAddresses: contractAddresses as Array
}) - return results - .map((result, index) => ({ - denom: normalizeAddress(contractAddresses[index]), - balance: result.balance?.toString() ?? "0" - })) - .filter(result => BigInt(result.balance) > 0n) + const balances = await Promise.all(results + .map(async (result, index) => { + const denom = normalizeAddress(contractAddresses[index]); + const balance = result.balance?.toString() ?? "0"; + const metadata = await getAssetInfo(chain, denom); + return { balance, metadata }; + }) + ); + + return balances.filter(result => BigInt(result.balance) > 0n); } if (chain.rpc_type === "cosmos") { @@ -138,10 +141,10 @@ export async function getUserBalances( walletAddress: bech32Address }) - return balances.map(balance => ({ - denom: normalizeAddress(balance.address), - balance: balance.balance.toString() - })) + return Promise.all(balances.map(async balance => ({ + balance: balance.balance.toString(), + metadata: await getAssetInfo(chain, normalizeAddress(balance.address)) + }))) } if (chain.rpc_type === "aptos") { @@ -156,10 +159,10 @@ export async function getUserBalances( walletAddress: address }) - return balances.map(balance => ({ - denom: normalizeAddress(balance.address), - balance: balance.balance.toString() - })) + return Promise.all(balances.map(async balance => ({ + balance: balance.balance.toString(), + metadata: await getAssetInfo(chain, normalizeAddress(balance.address)) + }))) } return [] @@ -185,10 +188,10 @@ function getAddressForChain(chain: Chain, addresses: UserAddresses): string | nu export function createChainBalances( chain: Chain, addressStore: Readable -): Readable> { - const balanceStore = writable>([]) +): Readable> { + const balanceStore = writable>([]) - return derived, Array>( + return derived, Array>( addressStore, ($addresses, set) => { const address = getAddressForChain(chain, $addresses) @@ -198,14 +201,17 @@ export function createChainBalances( return } - const initialBalances: Array = chain.assets.map(asset => ({ + const initialBalances: Array = chain.assets.map(asset => ({ balance: "0", - denom: asset.denom, - display_symbol: asset.display_symbol || null, - display_name: asset.display_name || null, - decimals: asset.decimals !== undefined ? asset.decimals : null, - gasToken: asset.gas_token, - metadata_level: "none" + metadata: { + denom: asset.denom, + display_symbol: asset.display_symbol || null, + display_name: asset.display_name || null, + decimals: asset.decimals !== undefined ? asset.decimals : 0, + gasToken: asset.gas_token, + chain_id: chain.chain_id, + metadata_level: "none" + } })) balanceStore.set(initialBalances) set(initialBalances) @@ -218,23 +224,17 @@ export function createChainBalances( queryFn: async () => { try { const balances = await getUserBalances(chain, address) - const enrichedBalances = await Promise.all( - balances.map(async ({ denom, balance }) => { - const assetInfo = await getAssetInfo(chain, denom) - return { ...assetInfo, balance, denom } - }) - ) // Merge with placeholder balances to ensure all assets are represented const mergedBalances = initialBalances.map(placeholder => { - const enriched = enrichedBalances.find(b => b.denom === placeholder.denom) + const enriched = balances.find(b => b.metadata.denom === placeholder.metadata.denom) return enriched || placeholder }) // Add any new tokens discovered that weren't in the original asset list - enrichedBalances.forEach(enriched => { - if (!mergedBalances.some(b => b.denom === enriched.denom)) { - mergedBalances.push(enriched) + balances.forEach(balance => { + if (!mergedBalances.some(b => b.metadata.denom === balance.metadata.denom)) { + mergedBalances.push(balance) } }) @@ -243,11 +243,14 @@ export function createChainBalances( .map(balance => ({ ...balance, balance: balance.balance === "Loading..." ? "0" : balance.balance, - decimals: balance.decimals !== null ? balance.decimals : 18 // Default to 18 if decimals is null + metadata: { + ...balance.metadata, + decimals: balance.metadata.decimals !== null ? balance.metadata.decimals : 18 // Default to 18 if decimals is null + } })) .sort((a, b) => { - const aValue = BigInt(a.balance) * BigInt(10 ** (18 - a.decimals)) - const bValue = BigInt(b.balance) * BigInt(10 ** (18 - b.decimals)) + const aValue = BigInt(a.balance) * BigInt(10 ** (18 - (a.metadata.decimals ?? 18))) + const bValue = BigInt(b.balance) * BigInt(10 ** (18 - (b.metadata.decimals ?? 18))) return bValue > aValue ? 1 : -1 }) } catch (error) { @@ -259,7 +262,7 @@ export function createChainBalances( } ] }).subscribe(results => { - const queryResult = results[0] as QueryObserverResult, Error> + const queryResult = results[0] as QueryObserverResult, Error> if (queryResult.data) { balanceStore.set(queryResult.data) set(queryResult.data) @@ -268,7 +271,7 @@ export function createChainBalances( return balanceStore.subscribe(set) }, - [] as Array + [] as Array ) } @@ -276,4 +279,4 @@ export function allChainBalances(chains: Array, addressStore: Readable createChainBalances(chain, addressStore)) return derived(chainStores, $chainStores => $chainStores) -} +} \ No newline at end of file diff --git a/app/src/routes/balances/UserBalances.svelte b/app/src/routes/balances/UserBalances.svelte index 0a21fa42b0..19b44f2a4b 100644 --- a/app/src/routes/balances/UserBalances.svelte +++ b/app/src/routes/balances/UserBalances.svelte @@ -1,44 +1,44 @@
@@ -57,13 +57,13 @@ function formatBalance(balance: string, decimals: number | null): string { {#each chainAssets as asset}
- {asset.display_symbol ?? asset.denom} - {#if asset.display_name} + {asset.metadata.display_symbol ?? asset.metadata.denom} + {#if asset.metadata.display_name} - ({asset.display_name}) + ({asset.metadata.display_name}) {/if} - {#if asset.gasToken} + {#if asset.metadata.gasToken} Gas Token @@ -71,10 +71,10 @@ function formatBalance(balance: string, decimals: number | null): string {
- {formatBalance(asset.balance, asset.decimals)} + {formatBalance(asset.balance, asset.metadata.decimals)}
- {asset.metadata_level} + {asset.metadata.metadata_level}