/* eslint-disable */ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; } String: { input: string; output: string; } Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } Any: { input: any; output: any; } /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format. */ DateTimeISO: { input: any; output: any; } File: { input: any; output: any; } /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSON: { input: any; output: any; } /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSONObject: { input: any; output: any; } /** Custom scalar that handles both integers and floats */ Number: { input: any; output: any; } /** Represents NULL values */ Void: { input: any; output: any; } }; export type Apy = { __typename?: 'Apy'; base: Scalars['Float']['output']; rewards: Array; total: Scalars['Float']['output']; }; export type Chain = { __typename?: 'Chain'; icon: Scalars['String']['output']; id: Scalars['Int']['output']; name: Scalars['String']['output']; nativeToken?: Maybe; wrappedNativeToken?: Maybe; }; export type Identity = { __typename?: 'Identity'; aggregate: IdentityResolverOutput; base: IdentityResolverOutput; ens: IdentityResolverOutput; farcaster: IdentityResolverOutput; lens: IdentityResolverOutput; nns: IdentityResolverOutput; uni: IdentityResolverOutput; world: IdentityResolverOutput; }; export enum IdentityResolverInput { Base = 'base', Ens = 'ens', Farcaster = 'farcaster', Lens = 'lens', Nns = 'nns', Uni = 'uni', World = 'world' } export type IdentityResolverOutput = { __typename?: 'IdentityResolverOutput'; avatar?: Maybe; bio?: Maybe; discord?: Maybe; github?: Maybe; name?: Maybe; telegram?: Maybe; website?: Maybe; x?: Maybe; }; export type ItemsInput = { address: Scalars['Any']['input']; chainId: Scalars['Number']['input']; }; export type Protocol = { __typename?: 'Protocol'; icon: Scalars['String']['output']; name: Scalars['String']['output']; }; export type Query = { __typename?: 'Query'; chain: Chain; chains: Array; identities: Array; identity: Identity; token?: Maybe; tokens: Array>; vault?: Maybe; vaults: Array>; }; export type QueryChainArgs = { id: Scalars['Int']['input']; }; export type QueryIdentitiesArgs = { addresses: Array; resolverOrder?: InputMaybe>; }; export type QueryIdentityArgs = { address: Scalars['String']['input']; resolverOrder?: InputMaybe>; }; export type QueryTokenArgs = { address: Scalars['Any']['input']; chainId: Scalars['Number']['input']; }; export type QueryTokensArgs = { items: Array; }; export type QueryVaultArgs = { address: Scalars['String']['input']; chainId: Scalars['Int']['input']; protocol: VaultProtocolInput; }; export type QueryVaultsArgs = { vaultItems: Array; }; export type RewardApy = { __typename?: 'RewardApy'; apy: Scalars['Float']['output']; token?: Maybe; }; export type Token = { __typename?: 'Token'; address: Scalars['String']['output']; chain: Chain; decimals: Scalars['Number']['output']; icon?: Maybe; name: Scalars['String']['output']; priceUsd?: Maybe; symbol: Scalars['String']['output']; }; export type Vault = { __typename?: 'Vault'; address: Scalars['String']['output']; chain: Chain; description?: Maybe; name: Scalars['String']['output']; protocol: Protocol; supplyApy: Apy; totalSupplied: Scalars['Float']['output']; totalSuppliedUsd?: Maybe; type: VaultType; underlyingAsset?: Maybe; url: Scalars['String']['output']; }; export type VaultItemsInput = { address: Scalars['String']['input']; chainId: Scalars['Int']['input']; protocol: VaultProtocolInput; }; export enum VaultProtocolInput { Enzyme = 'enzyme', EulerV2 = 'euler_v2', Mellow = 'mellow', Morpho = 'morpho' } export enum VaultType { Lending = 'lending', Staking = 'staking' } export type Avatar_IdentityQueryQueryVariables = Exact<{ address: Scalars['String']['input']; resolverOrder?: InputMaybe | IdentityResolverInput>; }>; export type Avatar_IdentityQueryQuery = { __typename?: 'Query', identity: { __typename?: 'Identity', aggregate: { __typename?: 'IdentityResolverOutput', avatar?: string | null } } }; export type Name_IdentityQueryQueryVariables = Exact<{ address: Scalars['String']['input']; resolverOrder?: InputMaybe | IdentityResolverInput>; }>; export type Name_IdentityQueryQuery = { __typename?: 'Query', identity: { __typename?: 'Identity', aggregate: { __typename?: 'IdentityResolverOutput', name?: string | null } } }; export type Profile_IdentityFragmentFragment = { __typename?: 'Identity', aggregate: { __typename?: 'IdentityResolverOutput', name?: string | null, avatar?: string | null, bio?: string | null, website?: string | null, x?: string | null, github?: string | null, discord?: string | null, telegram?: string | null }, ens: { __typename?: 'IdentityResolverOutput', name?: string | null }, farcaster: { __typename?: 'IdentityResolverOutput', name?: string | null }, nns: { __typename?: 'IdentityResolverOutput', name?: string | null }, base: { __typename?: 'IdentityResolverOutput', name?: string | null }, uni: { __typename?: 'IdentityResolverOutput', name?: string | null }, lens: { __typename?: 'IdentityResolverOutput', name?: string | null }, world: { __typename?: 'IdentityResolverOutput', name?: string | null } } & { ' $fragmentName'?: 'Profile_IdentityFragmentFragment' }; export type Profile_IdentityQueryQueryVariables = Exact<{ address: Scalars['String']['input']; resolverOrder?: InputMaybe | IdentityResolverInput>; }>; export type Profile_IdentityQueryQuery = { __typename?: 'Query', identity: ( { __typename?: 'Identity' } & { ' $fragmentRefs'?: { 'Profile_IdentityFragmentFragment': Profile_IdentityFragmentFragment } } ) }; export const Profile_IdentityFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Profile_IdentityFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Identity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"bio"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"discord"}},{"kind":"Field","name":{"kind":"Name","value":"telegram"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"farcaster"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"base"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"uni"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"world"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; export const Avatar_IdentityQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Avatar_IdentityQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IdentityResolverInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"identity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"address"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}},{"kind":"Argument","name":{"kind":"Name","value":"resolverOrder"},"value":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}}]}}]}}]}}]} as unknown as DocumentNode; export const Name_IdentityQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Name_IdentityQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IdentityResolverInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"identity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"address"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}},{"kind":"Argument","name":{"kind":"Name","value":"resolverOrder"},"value":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; export const Profile_IdentityQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Profile_IdentityQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IdentityResolverInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"identity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"address"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}},{"kind":"Argument","name":{"kind":"Name","value":"resolverOrder"},"value":{"kind":"Variable","name":{"kind":"Name","value":"resolverOrder"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Profile_IdentityFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Profile_IdentityFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Identity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"aggregate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"bio"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"discord"}},{"kind":"Field","name":{"kind":"Name","value":"telegram"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"farcaster"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"base"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"uni"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"world"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode;