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 declare 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 declare enum VaultProtocolInput { Enzyme = "enzyme", EulerV2 = "euler_v2", Mellow = "mellow", Morpho = "morpho" } export declare 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 declare const Profile_IdentityFragmentFragmentDoc: DocumentNode; export declare const Avatar_IdentityQueryDocument: DocumentNode; export declare const Name_IdentityQueryDocument: DocumentNode; export declare const Profile_IdentityQueryDocument: DocumentNode;