diff --git a/apps/admin/src/pages/NewProposal.tsx b/apps/admin/src/pages/NewProposal.tsx index 938722af..887495a6 100644 --- a/apps/admin/src/pages/NewProposal.tsx +++ b/apps/admin/src/pages/NewProposal.tsx @@ -1,5 +1,6 @@ import { useMemo } from 'react'; import { useLocation, useNavigate } from 'react-router-dom'; +import { useQueryClient } from 'react-query'; import { FormBuilder } from '@daohaus/form-builder'; import { @@ -16,10 +17,12 @@ export function NewProposal() { const { daoChain, daoId } = useCurrentDao(); const { refetch } = useDaoData(); const { refetch: refetchProposals } = useDaoProposals(); + const queryClient = useQueryClient(); const onFormComplete = () => { - refetch?.(); + queryClient.invalidateQueries('proposals'); refetchProposals?.(); + refetch?.(); navigate(`/molochV3/${daoChain}/${daoId}/proposals`); }; diff --git a/libs/abis/src/abi/erc721.json b/libs/abis/src/abi/erc721.json new file mode 100644 index 00000000..7b0172cd --- /dev/null +++ b/libs/abis/src/abi/erc721.json @@ -0,0 +1,333 @@ +[ + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] diff --git a/libs/abis/src/lib/abis.ts b/libs/abis/src/lib/abis.ts index 7d0ce924..fc6a306b 100644 --- a/libs/abis/src/lib/abis.ts +++ b/libs/abis/src/lib/abis.ts @@ -10,6 +10,7 @@ import SHARES from '../abi/shares.json'; import SUPERFLUID_PROXY from '../abi/superFluidProxy.json'; import TRIBUTE_MINION from '../abi/tributeMinion.json'; import ERC20 from '../abi/erc20a.json'; +import ERC721 from '../abi/erc721.json'; import VAULT_SUMMONER from '../abi/vaultSummoner.json'; import GNOSIS_MODULE from '../abi/gnosisModule.json'; @@ -27,6 +28,7 @@ export const LOCAL_ABI = { SUPERFLUID_PROXY, TRIBUTE_MINION, ERC20, + ERC721, VAULT_SUMMONER, }; export type ContractABIKey = keyof typeof LOCAL_ABI; diff --git a/libs/connect-context/src/ConnectContext.tsx b/libs/connect-context/src/ConnectContext.tsx index bf0e69cf..48c3f146 100644 --- a/libs/connect-context/src/ConnectContext.tsx +++ b/libs/connect-context/src/ConnectContext.tsx @@ -111,16 +111,9 @@ export const ConnectProvider = ({ chainId: ValidNetwork | null | undefined, shouldUpdate: boolean ) => { - if ( - address && - chainId && - isConnected && - !isProfileLoading && - address !== profile?.address - ) { + if (address && chainId && isConnected && !isProfileLoading) { loadProfile({ address, - chainId, setProfile, setProfileLoading, shouldUpdate, @@ -129,11 +122,12 @@ export const ConnectProvider = ({ }); } }, - [isConnected, isProfileLoading, networks, lifeCycleFns, profile] + [isConnected, isProfileLoading, networks, lifeCycleFns] ); useEffect(() => { let shouldUpdate = true; + loadAccountProfile(address, chainId, shouldUpdate); return () => { shouldUpdate = false; diff --git a/libs/connect-context/src/utils/contextHelpers.ts b/libs/connect-context/src/utils/contextHelpers.ts index 01c643b9..c1bafe69 100644 --- a/libs/connect-context/src/utils/contextHelpers.ts +++ b/libs/connect-context/src/utils/contextHelpers.ts @@ -1,5 +1,5 @@ import { Dispatch, SetStateAction } from 'react'; -import { NetworkConfigs, ValidNetwork } from '@daohaus/keychain-utils'; +import { NetworkConfigs } from '@daohaus/keychain-utils'; import { getProfileForAddress } from '@daohaus/profile-data'; import { UserProfile, ConnectLifecycleFns } from './types'; @@ -13,7 +13,6 @@ export const truncateAddress = (addr: string) => export const loadProfile = async ({ address, - chainId, setProfile, setProfileLoading, shouldUpdate, @@ -21,7 +20,6 @@ export const loadProfile = async ({ networks, }: { address: string; - chainId: ValidNetwork; setProfile: Dispatch>; setProfileLoading: Dispatch>; shouldUpdate: boolean; @@ -30,15 +28,12 @@ export const loadProfile = async ({ }) => { try { setProfileLoading(true); - const daochain = !['0x1', '0x5'].includes(chainId) ? '0x1' : chainId; - const profile = await getProfileForAddress( + const profile = await getProfileForAddress({ address, - networks[daochain]?.rpc - ); - + rpcUri: networks['0x1']?.rpc, + }); if (profile && shouldUpdate) { - const displayName = - profile.name || profile.ens || truncateAddress(address); + const displayName = profile.ens || truncateAddress(address); setProfile({ ...profile, displayName }); } // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/libs/contract-utils/src/lib/summon-tx-utils.ts b/libs/contract-utils/src/lib/summon-tx-utils.ts index 72e809a0..a748b734 100644 --- a/libs/contract-utils/src/lib/summon-tx-utils.ts +++ b/libs/contract-utils/src/lib/summon-tx-utils.ts @@ -123,7 +123,7 @@ export const encodeTokenParams = (formValues: SummonParams) => { throw new Error('Encoding Error'); }; -const governanceConfigTX = (formValues: SummonParams) => { +export const governanceConfigTX = (formValues: SummonParams) => { const { votingPeriodInSeconds, gracePeriodInSeconds, @@ -197,7 +197,10 @@ export const shamanConfigTX = (formValues: SummonParams) => { throw new Error('Encoding Error'); }; -const metadataConfigTX = (formValues: SummonParams, posterAddress: string) => { +export const metadataConfigTX = ( + formValues: SummonParams, + posterAddress: string +) => { const { daoName } = formValues; if (!isString(daoName)) { console.log('ERROR: Form Values', formValues); @@ -221,7 +224,7 @@ const metadataConfigTX = (formValues: SummonParams, posterAddress: string) => { }; // THIS IS ONLY USED IN V3_FACTORY_ORIGINAL CONTRACT -const tokenConfigTX = (formValues: SummonParams) => { +export const tokenConfigTX = (formValues: SummonParams) => { const pauseVoteToken = !formValues.votingTransferable; const pauseNvToken = !formValues.nvTransferable; diff --git a/libs/moloch-v3-data/codegen-ens.yaml b/libs/moloch-v3-data/codegen-ens.yaml deleted file mode 100644 index 83b171ad..00000000 --- a/libs/moloch-v3-data/codegen-ens.yaml +++ /dev/null @@ -1,32 +0,0 @@ -schema: 'libs/moloch-v3-data/src/subgraph/schema-ens.graphql' -documents: 'libs/moloch-v3-data/src/subgraph/queries-ens/*.graphql' -overwrite: true -config: - skipDocumentsValidation: true - scalars: - Bytes: string - BigInt: string - BigDecimal: string - enumsAsTypes: true - avoidOptionals: false - flattenGeneratedTypes: true - preResolveTypes: true - maybeValue: T | undefined - inputMaybeValue: T | undefined | null - onlyOperationTypes: false - declarationKind: 'interface' -generates: - libs/moloch-v3-data/src/subgraph/schema-ens.generated.ts: - plugins: - - 'typescript' - libs/moloch-v3-data/src/subgraph/queries-ens/: - config: - dedupeFragments: true - nonOptionalTypename: false - skipTypename: true - preset: near-operation-file - presetConfig: - baseTypesPath: ../schema-ens.generated.ts - plugins: - - 'typescript-operations' - - 'typed-document-node' diff --git a/libs/moloch-v3-data/codegen-lens.yaml b/libs/moloch-v3-data/codegen-lens.yaml deleted file mode 100644 index d6a3873f..00000000 --- a/libs/moloch-v3-data/codegen-lens.yaml +++ /dev/null @@ -1,32 +0,0 @@ -schema: 'libs/moloch-v3-data/src/subgraph/schema-lens.graphql' -documents: 'libs/moloch-v3-data/src/subgraph/queries-lens/*.graphql' -overwrite: true -config: - skipDocumentsValidation: true - scalars: - Bytes: string - BigInt: string - BigDecimal: string - enumsAsTypes: true - avoidOptionals: false - flattenGeneratedTypes: true - preResolveTypes: true - maybeValue: T | undefined - inputMaybeValue: T | undefined | null - onlyOperationTypes: false - declarationKind: 'interface' -generates: - libs/moloch-v3-data/src/subgraph/schema-lens.generated.ts: - plugins: - - 'typescript' - libs/moloch-v3-data/src/subgraph/queries-lens/: - config: - dedupeFragments: true - nonOptionalTypename: false - skipTypename: true - preset: near-operation-file - presetConfig: - baseTypesPath: ../schema-lens.generated.ts - plugins: - - 'typescript-operations' - - 'typed-document-node' diff --git a/libs/moloch-v3-data/project.json b/libs/moloch-v3-data/project.json index b18662fc..08c0ae8c 100644 --- a/libs/moloch-v3-data/project.json +++ b/libs/moloch-v3-data/project.json @@ -49,9 +49,7 @@ "executor": "nx:run-commands", "options": { "commands": [ - "get-graphql-schema https://api.thegraph.com/subgraphs/name/hausdao/daohaus-v3-goerli > libs/moloch-v3-data/src/subgraph/schema.graphql", - "get-graphql-schema https://api.thegraph.com/subgraphs/name/ensdomains/ens > libs/moloch-v3-data/src/subgraph/schema-ens.graphql", - "get-graphql-schema https://api.lens.dev > libs/moloch-v3-data/src/subgraph/schema-lens.graphql" + "get-graphql-schema https://api.thegraph.com/subgraphs/name/hausdao/daohaus-v3-goerli > libs/moloch-v3-data/src/subgraph/schema.graphql" ] } }, @@ -59,9 +57,7 @@ "executor": "nx:run-commands", "options": { "commands": [ - "graphql-codegen --config libs/moloch-v3-data/codegen.yaml", - "graphql-codegen --config libs/moloch-v3-data/codegen-ens.yaml", - "graphql-codegen --config libs/moloch-v3-data/codegen-lens.yaml" + "graphql-codegen --config libs/moloch-v3-data/codegen.yaml" ] } } diff --git a/libs/moloch-v3-data/src/subgraph/queries-ens/account.generated.ts b/libs/moloch-v3-data/src/subgraph/queries-ens/account.generated.ts deleted file mode 100644 index 83986e03..00000000 --- a/libs/moloch-v3-data/src/subgraph/queries-ens/account.generated.ts +++ /dev/null @@ -1,13 +0,0 @@ -import * as Types from '../schema-ens.generated'; - -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type ListActiveDomainsQueryVariables = Types.Exact<{ - address: Types.Scalars['ID']; - now?: Types.Scalars['BigInt']; -}>; - - -export type ListActiveDomainsQuery = { account?: { id: string, activeDomains?: Array<{ id: string, registrationDate: string, expiryDate: string, domain?: { name?: string | undefined } | undefined }> | undefined } | undefined }; - - -export const ListActiveDomainsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listActiveDomains"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"activeDomains"},"name":{"kind":"Name","value":"registrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"expiryDate_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"registrationDate"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"domain"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"registrationDate"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/moloch-v3-data/src/subgraph/queries-ens/account.graphql b/libs/moloch-v3-data/src/subgraph/queries-ens/account.graphql deleted file mode 100644 index ae875246..00000000 --- a/libs/moloch-v3-data/src/subgraph/queries-ens/account.graphql +++ /dev/null @@ -1,18 +0,0 @@ -query listActiveDomains( - $address: ID!, - $now: BigInt! = 0 -) { - account(id: $address) { - id - activeDomains: registrations(where: { - expiryDate_gt: $now - }, orderBy: registrationDate) { - id - domain { - name - } - registrationDate - expiryDate - } - } -} \ No newline at end of file diff --git a/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.generated.ts b/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.generated.ts deleted file mode 100644 index adbae256..00000000 --- a/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.generated.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as Types from '../schema-lens.generated'; - -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type ListProfileQueryVariables = Types.Exact<{ - memberAddress: Types.Scalars['EthereumAddress']; -}>; - - -export type ListProfileQuery = { profiles: { items: Array<{ id: any, name?: string | undefined, bio?: string | undefined, followNftAddress?: any | undefined, metadata?: any | undefined, isDefault: boolean, handle: any, ownedBy: any, picture?: { __typename: 'MediaSet', original: { url: any, mimeType?: any | undefined } } | { __typename: 'NftImage', contractAddress: any, tokenId: string, uri: any, verified: boolean } | undefined, coverPicture?: { __typename: 'MediaSet', original: { url: any, mimeType?: any | undefined } } | { __typename: 'NftImage', contractAddress: any, tokenId: string, uri: any, verified: boolean } | undefined, onChainIdentity: { ens?: { name?: any | undefined } | undefined } }>, pageInfo: { prev?: any | undefined, next?: any | undefined, totalCount?: number | undefined } } }; - - -export const ListProfileDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listProfile"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberAddress"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EthereumAddress"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"profiles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"ownedBy"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"memberAddress"}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"10"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"bio"}},{"kind":"Field","name":{"kind":"Name","value":"followNftAddress"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}},{"kind":"Field","name":{"kind":"Name","value":"picture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NftImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contractAddress"}},{"kind":"Field","name":{"kind":"Name","value":"tokenId"}},{"kind":"Field","name":{"kind":"Name","value":"uri"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaSet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"original"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"handle"}},{"kind":"Field","name":{"kind":"Name","value":"coverPicture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NftImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contractAddress"}},{"kind":"Field","name":{"kind":"Name","value":"tokenId"}},{"kind":"Field","name":{"kind":"Name","value":"uri"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaSet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"original"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"ownedBy"}},{"kind":"Field","name":{"kind":"Name","value":"onChainIdentity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.graphql b/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.graphql deleted file mode 100644 index 8bf37834..00000000 --- a/libs/moloch-v3-data/src/subgraph/queries-lens/profiles.graphql +++ /dev/null @@ -1,55 +0,0 @@ -query listProfile($memberAddress: EthereumAddress!) { - profiles(request: { ownedBy: [$memberAddress], limit: 10 }) { - items { - id - name - bio - followNftAddress - metadata - isDefault - - picture { - ... on NftImage { - contractAddress - tokenId - uri - verified - } - ... on MediaSet { - original { - url - mimeType - } - } - __typename - } - handle - coverPicture { - ... on NftImage { - contractAddress - tokenId - uri - verified - } - ... on MediaSet { - original { - url - mimeType - } - } - __typename - } - ownedBy - onChainIdentity { - ens { - name - } - } - } - pageInfo { - prev - next - totalCount - } - } -} diff --git a/libs/moloch-v3-data/src/subgraph/queries/daos.generated.ts b/libs/moloch-v3-data/src/subgraph/queries/daos.generated.ts index 943cc919..9cc502e9 100644 --- a/libs/moloch-v3-data/src/subgraph/queries/daos.generated.ts +++ b/libs/moloch-v3-data/src/subgraph/queries/daos.generated.ts @@ -35,6 +35,6 @@ export type ListMembershipsQueryVariables = Types.Exact<{ export type ListMembershipsQuery = { daos: Array<{ id: string, createdAt: string, createdBy: string, txHash: string, safeAddress: string, lootPaused: boolean, sharesPaused: boolean, gracePeriod: string, votingPeriod: string, proposalOffering: string, quorumPercent: string, sponsorThreshold: string, minRetentionPercent: string, shareTokenName?: string | undefined, shareTokenSymbol?: string | undefined, sharesAddress: string, lootTokenName?: string | undefined, lootTokenSymbol?: string | undefined, lootAddress: string, totalShares: string, totalLoot: string, latestSponsoredProposalId: string, proposalCount: string, activeMemberCount: string, existingSafe: boolean, delegatedVaultManager: string, forwarder: string, referrer?: string | undefined, name?: string | undefined, profile?: Array<{ createdAt: string, createdBy: string, contentType: string, content: string }> | undefined, shamen?: Array<{ id: string, createdAt: string, shamanAddress: string, permissions: string }> | undefined, vaults: Array<{ id: string, createdAt: string, active: boolean, ragequittable: boolean, name: string, safeAddress: string }>, activeProposals?: Array<{ id: string }> | undefined, members: Array<{ id: string, createdAt: string, memberAddress: string, shares: string, loot: string, delegatingTo: string, delegateShares: string, delegateOfCount: string, votes?: Array<{ txHash: string, createdAt: string, approved: boolean, balance: string }> | undefined }> }> }; -export const ListDaosDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listDaos"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"where"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"100"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_orderBy"}}},"defaultValue":{"kind":"EnumValue","value":"id"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderDirection"}}},"defaultValue":{"kind":"EnumValue","value":"asc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"daos"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"where"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const FindDaoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"findDao"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dao"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ListMembershipsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listMemberships"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"where"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberWhere"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Member_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"100"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_orderBy"}}},"defaultValue":{"kind":"EnumValue","value":"id"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderDirection"}}},"defaultValue":{"kind":"EnumValue","value":"asc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"daos"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"where"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"memberAddress"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"loot"}},{"kind":"Field","name":{"kind":"Name","value":"delegatingTo"}},{"kind":"Field","name":{"kind":"Name","value":"delegateShares"}},{"kind":"Field","name":{"kind":"Name","value":"delegateOfCount"}},{"kind":"Field","name":{"kind":"Name","value":"votes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"approved"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export const ListDaosDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listDaos"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"where"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"100"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_orderBy"}}},"defaultValue":{"kind":"EnumValue","value":"id"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderDirection"}}},"defaultValue":{"kind":"EnumValue","value":"asc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"daos"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"where"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const FindDaoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"findDao"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dao"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ListMembershipsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listMemberships"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"where"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberWhere"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Member_filter"}}},"defaultValue":{"kind":"ObjectValue","fields":[]}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"skip"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"0"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},"defaultValue":{"kind":"IntValue","value":"100"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Dao_orderBy"}}},"defaultValue":{"kind":"EnumValue","value":"id"}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderDirection"}}},"defaultValue":{"kind":"EnumValue","value":"asc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"daos"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"where"}}},{"kind":"Argument","name":{"kind":"Name","value":"skip"},"value":{"kind":"Variable","name":{"kind":"Name","value":"skip"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderDirection"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootPaused"}},{"kind":"Field","name":{"kind":"Name","value":"sharesPaused"}},{"kind":"Field","name":{"kind":"Name","value":"gracePeriod"}},{"kind":"Field","name":{"kind":"Name","value":"votingPeriod"}},{"kind":"Field","name":{"kind":"Name","value":"proposalOffering"}},{"kind":"Field","name":{"kind":"Name","value":"quorumPercent"}},{"kind":"Field","name":{"kind":"Name","value":"sponsorThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"minRetentionPercent"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"shareTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"sharesAddress"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenName"}},{"kind":"Field","name":{"kind":"Name","value":"lootTokenSymbol"}},{"kind":"Field","name":{"kind":"Name","value":"lootAddress"}},{"kind":"Field","name":{"kind":"Name","value":"totalShares"}},{"kind":"Field","name":{"kind":"Name","value":"totalLoot"}},{"kind":"Field","name":{"kind":"Name","value":"latestSponsoredProposalId"}},{"kind":"Field","name":{"kind":"Name","value":"proposalCount"}},{"kind":"Field","name":{"kind":"Name","value":"activeMemberCount"}},{"kind":"Field","name":{"kind":"Name","value":"existingSafe"}},{"kind":"Field","name":{"kind":"Name","value":"delegatedVaultManager"}},{"kind":"Field","name":{"kind":"Name","value":"forwarder"}},{"kind":"Field","name":{"kind":"Name","value":"referrer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","alias":{"kind":"Name","value":"profile"},"name":{"kind":"Name","value":"records"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"table"},"value":{"kind":"StringValue","value":"daoProfile","block":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"}},{"kind":"Field","name":{"kind":"Name","value":"contentType"}},{"kind":"Field","name":{"kind":"Name","value":"content"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"shamen"},"name":{"kind":"Name","value":"shaman"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"shamanAddress"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vaults"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"active"},"value":{"kind":"BooleanValue","value":true}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"ragequittable"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"safeAddress"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"activeProposals"},"name":{"kind":"Name","value":"proposals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"101"}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"createdAt"}},{"kind":"Argument","name":{"kind":"Name","value":"orderDirection"},"value":{"kind":"EnumValue","value":"desc"}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cancelled"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"sponsored"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"graceEnds_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberWhere"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"memberAddress"}},{"kind":"Field","name":{"kind":"Name","value":"shares"}},{"kind":"Field","name":{"kind":"Name","value":"loot"}},{"kind":"Field","name":{"kind":"Name","value":"delegatingTo"}},{"kind":"Field","name":{"kind":"Name","value":"delegateShares"}},{"kind":"Field","name":{"kind":"Name","value":"delegateOfCount"}},{"kind":"Field","name":{"kind":"Name","value":"votes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"txHash"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"approved"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/moloch-v3-data/src/subgraph/queries/daos.graphql b/libs/moloch-v3-data/src/subgraph/queries/daos.graphql index 9ab0ffb9..4a8d1eb6 100644 --- a/libs/moloch-v3-data/src/subgraph/queries/daos.graphql +++ b/libs/moloch-v3-data/src/subgraph/queries/daos.graphql @@ -124,7 +124,10 @@ fragment daoFields on Dao { contentType content } - shamen: shaman { + shamen: shaman( + orderBy: createdAt + orderDirection: desc + ) { id createdAt shamanAddress diff --git a/libs/moloch-v3-data/src/subgraph/schema-ens.generated.ts b/libs/moloch-v3-data/src/subgraph/schema-ens.generated.ts deleted file mode 100644 index c0cc8bab..00000000 --- a/libs/moloch-v3-data/src/subgraph/schema-ens.generated.ts +++ /dev/null @@ -1,3017 +0,0 @@ -export type Maybe = T | undefined; -export type InputMaybe = T | undefined | null; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -/** All built-in and custom scalars, mapped to their actual values */ -export interface Scalars { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - BigDecimal: string; - BigInt: string; - Bytes: string; -} - -export interface AbiChanged extends ResolverEvent { - __typename?: 'AbiChanged'; - blockNumber: Scalars['Int']; - contentType: Scalars['BigInt']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface AbiChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - contentType?: InputMaybe; - contentType_gt?: InputMaybe; - contentType_gte?: InputMaybe; - contentType_in?: InputMaybe>; - contentType_lt?: InputMaybe; - contentType_lte?: InputMaybe; - contentType_not?: InputMaybe; - contentType_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AbiChanged_OrderBy = - | 'blockNumber' - | 'contentType' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Account { - __typename?: 'Account'; - domains: Array; - id: Scalars['ID']; - registrations?: Maybe>; -} - - -export interface AccountDomainsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - - -export interface AccountRegistrationsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface Account_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - domains_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registrations_?: InputMaybe; -} - -export type Account_OrderBy = - | 'domains' - | 'id' - | 'registrations'; - -export interface AddrChanged extends ResolverEvent { - __typename?: 'AddrChanged'; - addr: Account; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface AddrChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_?: InputMaybe; - addr_contains?: InputMaybe; - addr_contains_nocase?: InputMaybe; - addr_ends_with?: InputMaybe; - addr_ends_with_nocase?: InputMaybe; - addr_gt?: InputMaybe; - addr_gte?: InputMaybe; - addr_in?: InputMaybe>; - addr_lt?: InputMaybe; - addr_lte?: InputMaybe; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_contains_nocase?: InputMaybe; - addr_not_ends_with?: InputMaybe; - addr_not_ends_with_nocase?: InputMaybe; - addr_not_in?: InputMaybe>; - addr_not_starts_with?: InputMaybe; - addr_not_starts_with_nocase?: InputMaybe; - addr_starts_with?: InputMaybe; - addr_starts_with_nocase?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AddrChanged_OrderBy = - | 'addr' - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface AuthorisationChanged extends ResolverEvent { - __typename?: 'AuthorisationChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - isAuthorized: Scalars['Boolean']; - owner: Scalars['Bytes']; - resolver: Resolver; - target: Scalars['Bytes']; - transactionID: Scalars['Bytes']; -} - -export interface AuthorisationChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isAuthorized?: InputMaybe; - isAuthorized_in?: InputMaybe>; - isAuthorized_not?: InputMaybe; - isAuthorized_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_contains?: InputMaybe; - owner_in?: InputMaybe>; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - target?: InputMaybe; - target_contains?: InputMaybe; - target_in?: InputMaybe>; - target_not?: InputMaybe; - target_not_contains?: InputMaybe; - target_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AuthorisationChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'isAuthorized' - | 'owner' - | 'resolver' - | 'target' - | 'transactionID'; - -export interface BlockChangedFilter { - number_gte: Scalars['Int']; -} - -export interface Block_Height { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; -} - -export interface ContenthashChanged extends ResolverEvent { - __typename?: 'ContenthashChanged'; - blockNumber: Scalars['Int']; - hash: Scalars['Bytes']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface ContenthashChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - hash?: InputMaybe; - hash_contains?: InputMaybe; - hash_in?: InputMaybe>; - hash_not?: InputMaybe; - hash_not_contains?: InputMaybe; - hash_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type ContenthashChanged_OrderBy = - | 'blockNumber' - | 'hash' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Domain { - __typename?: 'Domain'; - createdAt: Scalars['BigInt']; - events: Array; - id: Scalars['ID']; - isMigrated: Scalars['Boolean']; - labelName?: Maybe; - labelhash?: Maybe; - name?: Maybe; - owner: Account; - parent?: Maybe; - resolvedAddress?: Maybe; - resolver?: Maybe; - subdomainCount: Scalars['Int']; - subdomains: Array; - ttl?: Maybe; -} - - -export interface DomainEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - - -export interface DomainSubdomainsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface DomainEvent { - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - transactionID: Scalars['Bytes']; -} - -export interface DomainEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type DomainEvent_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'transactionID'; - -export interface Domain_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - createdAt?: InputMaybe; - createdAt_gt?: InputMaybe; - createdAt_gte?: InputMaybe; - createdAt_in?: InputMaybe>; - createdAt_lt?: InputMaybe; - createdAt_lte?: InputMaybe; - createdAt_not?: InputMaybe; - createdAt_not_in?: InputMaybe>; - events_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isMigrated?: InputMaybe; - isMigrated_in?: InputMaybe>; - isMigrated_not?: InputMaybe; - isMigrated_not_in?: InputMaybe>; - labelName?: InputMaybe; - labelName_contains?: InputMaybe; - labelName_contains_nocase?: InputMaybe; - labelName_ends_with?: InputMaybe; - labelName_ends_with_nocase?: InputMaybe; - labelName_gt?: InputMaybe; - labelName_gte?: InputMaybe; - labelName_in?: InputMaybe>; - labelName_lt?: InputMaybe; - labelName_lte?: InputMaybe; - labelName_not?: InputMaybe; - labelName_not_contains?: InputMaybe; - labelName_not_contains_nocase?: InputMaybe; - labelName_not_ends_with?: InputMaybe; - labelName_not_ends_with_nocase?: InputMaybe; - labelName_not_in?: InputMaybe>; - labelName_not_starts_with?: InputMaybe; - labelName_not_starts_with_nocase?: InputMaybe; - labelName_starts_with?: InputMaybe; - labelName_starts_with_nocase?: InputMaybe; - labelhash?: InputMaybe; - labelhash_contains?: InputMaybe; - labelhash_in?: InputMaybe>; - labelhash_not?: InputMaybe; - labelhash_not_contains?: InputMaybe; - labelhash_not_in?: InputMaybe>; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - parent?: InputMaybe; - parent_?: InputMaybe; - parent_contains?: InputMaybe; - parent_contains_nocase?: InputMaybe; - parent_ends_with?: InputMaybe; - parent_ends_with_nocase?: InputMaybe; - parent_gt?: InputMaybe; - parent_gte?: InputMaybe; - parent_in?: InputMaybe>; - parent_lt?: InputMaybe; - parent_lte?: InputMaybe; - parent_not?: InputMaybe; - parent_not_contains?: InputMaybe; - parent_not_contains_nocase?: InputMaybe; - parent_not_ends_with?: InputMaybe; - parent_not_ends_with_nocase?: InputMaybe; - parent_not_in?: InputMaybe>; - parent_not_starts_with?: InputMaybe; - parent_not_starts_with_nocase?: InputMaybe; - parent_starts_with?: InputMaybe; - parent_starts_with_nocase?: InputMaybe; - resolvedAddress?: InputMaybe; - resolvedAddress_?: InputMaybe; - resolvedAddress_contains?: InputMaybe; - resolvedAddress_contains_nocase?: InputMaybe; - resolvedAddress_ends_with?: InputMaybe; - resolvedAddress_ends_with_nocase?: InputMaybe; - resolvedAddress_gt?: InputMaybe; - resolvedAddress_gte?: InputMaybe; - resolvedAddress_in?: InputMaybe>; - resolvedAddress_lt?: InputMaybe; - resolvedAddress_lte?: InputMaybe; - resolvedAddress_not?: InputMaybe; - resolvedAddress_not_contains?: InputMaybe; - resolvedAddress_not_contains_nocase?: InputMaybe; - resolvedAddress_not_ends_with?: InputMaybe; - resolvedAddress_not_ends_with_nocase?: InputMaybe; - resolvedAddress_not_in?: InputMaybe>; - resolvedAddress_not_starts_with?: InputMaybe; - resolvedAddress_not_starts_with_nocase?: InputMaybe; - resolvedAddress_starts_with?: InputMaybe; - resolvedAddress_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - subdomainCount?: InputMaybe; - subdomainCount_gt?: InputMaybe; - subdomainCount_gte?: InputMaybe; - subdomainCount_in?: InputMaybe>; - subdomainCount_lt?: InputMaybe; - subdomainCount_lte?: InputMaybe; - subdomainCount_not?: InputMaybe; - subdomainCount_not_in?: InputMaybe>; - subdomains_?: InputMaybe; - ttl?: InputMaybe; - ttl_gt?: InputMaybe; - ttl_gte?: InputMaybe; - ttl_in?: InputMaybe>; - ttl_lt?: InputMaybe; - ttl_lte?: InputMaybe; - ttl_not?: InputMaybe; - ttl_not_in?: InputMaybe>; -} - -export type Domain_OrderBy = - | 'createdAt' - | 'events' - | 'id' - | 'isMigrated' - | 'labelName' - | 'labelhash' - | 'name' - | 'owner' - | 'parent' - | 'resolvedAddress' - | 'resolver' - | 'subdomainCount' - | 'subdomains' - | 'ttl'; - -export interface InterfaceChanged extends ResolverEvent { - __typename?: 'InterfaceChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - implementer: Scalars['Bytes']; - interfaceID: Scalars['Bytes']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface InterfaceChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - implementer?: InputMaybe; - implementer_contains?: InputMaybe; - implementer_in?: InputMaybe>; - implementer_not?: InputMaybe; - implementer_not_contains?: InputMaybe; - implementer_not_in?: InputMaybe>; - interfaceID?: InputMaybe; - interfaceID_contains?: InputMaybe; - interfaceID_in?: InputMaybe>; - interfaceID_not?: InputMaybe; - interfaceID_not_contains?: InputMaybe; - interfaceID_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type InterfaceChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'implementer' - | 'interfaceID' - | 'resolver' - | 'transactionID'; - -export interface MulticoinAddrChanged extends ResolverEvent { - __typename?: 'MulticoinAddrChanged'; - addr: Scalars['Bytes']; - blockNumber: Scalars['Int']; - coinType: Scalars['BigInt']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface MulticoinAddrChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_contains?: InputMaybe; - addr_in?: InputMaybe>; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_in?: InputMaybe>; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - coinType?: InputMaybe; - coinType_gt?: InputMaybe; - coinType_gte?: InputMaybe; - coinType_in?: InputMaybe>; - coinType_lt?: InputMaybe; - coinType_lte?: InputMaybe; - coinType_not?: InputMaybe; - coinType_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type MulticoinAddrChanged_OrderBy = - | 'addr' - | 'blockNumber' - | 'coinType' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface NameChanged extends ResolverEvent { - __typename?: 'NameChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - name: Scalars['String']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface NameChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'name' - | 'resolver' - | 'transactionID'; - -export interface NameRegistered extends RegistrationEvent { - __typename?: 'NameRegistered'; - blockNumber: Scalars['Int']; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - registrant: Account; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameRegistered_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registrant?: InputMaybe; - registrant_?: InputMaybe; - registrant_contains?: InputMaybe; - registrant_contains_nocase?: InputMaybe; - registrant_ends_with?: InputMaybe; - registrant_ends_with_nocase?: InputMaybe; - registrant_gt?: InputMaybe; - registrant_gte?: InputMaybe; - registrant_in?: InputMaybe>; - registrant_lt?: InputMaybe; - registrant_lte?: InputMaybe; - registrant_not?: InputMaybe; - registrant_not_contains?: InputMaybe; - registrant_not_contains_nocase?: InputMaybe; - registrant_not_ends_with?: InputMaybe; - registrant_not_ends_with_nocase?: InputMaybe; - registrant_not_in?: InputMaybe>; - registrant_not_starts_with?: InputMaybe; - registrant_not_starts_with_nocase?: InputMaybe; - registrant_starts_with?: InputMaybe; - registrant_starts_with_nocase?: InputMaybe; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameRegistered_OrderBy = - | 'blockNumber' - | 'expiryDate' - | 'id' - | 'registrant' - | 'registration' - | 'transactionID'; - -export interface NameRenewed extends RegistrationEvent { - __typename?: 'NameRenewed'; - blockNumber: Scalars['Int']; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameRenewed_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameRenewed_OrderBy = - | 'blockNumber' - | 'expiryDate' - | 'id' - | 'registration' - | 'transactionID'; - -export interface NameTransferred extends RegistrationEvent { - __typename?: 'NameTransferred'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - newOwner: Account; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameTransferred_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - newOwner?: InputMaybe; - newOwner_?: InputMaybe; - newOwner_contains?: InputMaybe; - newOwner_contains_nocase?: InputMaybe; - newOwner_ends_with?: InputMaybe; - newOwner_ends_with_nocase?: InputMaybe; - newOwner_gt?: InputMaybe; - newOwner_gte?: InputMaybe; - newOwner_in?: InputMaybe>; - newOwner_lt?: InputMaybe; - newOwner_lte?: InputMaybe; - newOwner_not?: InputMaybe; - newOwner_not_contains?: InputMaybe; - newOwner_not_contains_nocase?: InputMaybe; - newOwner_not_ends_with?: InputMaybe; - newOwner_not_ends_with_nocase?: InputMaybe; - newOwner_not_in?: InputMaybe>; - newOwner_not_starts_with?: InputMaybe; - newOwner_not_starts_with_nocase?: InputMaybe; - newOwner_starts_with?: InputMaybe; - newOwner_starts_with_nocase?: InputMaybe; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameTransferred_OrderBy = - | 'blockNumber' - | 'id' - | 'newOwner' - | 'registration' - | 'transactionID'; - -export interface NewOwner extends DomainEvent { - __typename?: 'NewOwner'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - owner: Account; - parentDomain: Domain; - transactionID: Scalars['Bytes']; -} - -export interface NewOwner_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - parentDomain?: InputMaybe; - parentDomain_?: InputMaybe; - parentDomain_contains?: InputMaybe; - parentDomain_contains_nocase?: InputMaybe; - parentDomain_ends_with?: InputMaybe; - parentDomain_ends_with_nocase?: InputMaybe; - parentDomain_gt?: InputMaybe; - parentDomain_gte?: InputMaybe; - parentDomain_in?: InputMaybe>; - parentDomain_lt?: InputMaybe; - parentDomain_lte?: InputMaybe; - parentDomain_not?: InputMaybe; - parentDomain_not_contains?: InputMaybe; - parentDomain_not_contains_nocase?: InputMaybe; - parentDomain_not_ends_with?: InputMaybe; - parentDomain_not_ends_with_nocase?: InputMaybe; - parentDomain_not_in?: InputMaybe>; - parentDomain_not_starts_with?: InputMaybe; - parentDomain_not_starts_with_nocase?: InputMaybe; - parentDomain_starts_with?: InputMaybe; - parentDomain_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NewOwner_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'owner' - | 'parentDomain' - | 'transactionID'; - -export interface NewResolver extends DomainEvent { - __typename?: 'NewResolver'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface NewResolver_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NewResolver_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface NewTtl extends DomainEvent { - __typename?: 'NewTTL'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - transactionID: Scalars['Bytes']; - ttl: Scalars['BigInt']; -} - -export interface NewTtl_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; - ttl?: InputMaybe; - ttl_gt?: InputMaybe; - ttl_gte?: InputMaybe; - ttl_in?: InputMaybe>; - ttl_lt?: InputMaybe; - ttl_lte?: InputMaybe; - ttl_not?: InputMaybe; - ttl_not_in?: InputMaybe>; -} - -export type NewTtl_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'transactionID' - | 'ttl'; - -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = - | 'asc' - | 'desc'; - -export interface PubkeyChanged extends ResolverEvent { - __typename?: 'PubkeyChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; - x: Scalars['Bytes']; - y: Scalars['Bytes']; -} - -export interface PubkeyChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; - x?: InputMaybe; - x_contains?: InputMaybe; - x_in?: InputMaybe>; - x_not?: InputMaybe; - x_not_contains?: InputMaybe; - x_not_in?: InputMaybe>; - y?: InputMaybe; - y_contains?: InputMaybe; - y_in?: InputMaybe>; - y_not?: InputMaybe; - y_not_contains?: InputMaybe; - y_not_in?: InputMaybe>; -} - -export type PubkeyChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID' - | 'x' - | 'y'; - -export interface Query { - __typename?: 'Query'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - abiChanged?: Maybe; - abiChangeds: Array; - account?: Maybe; - accounts: Array; - addrChanged?: Maybe; - addrChangeds: Array; - authorisationChanged?: Maybe; - authorisationChangeds: Array; - contenthashChanged?: Maybe; - contenthashChangeds: Array; - domain?: Maybe; - domainEvent?: Maybe; - domainEvents: Array; - domains: Array; - interfaceChanged?: Maybe; - interfaceChangeds: Array; - multicoinAddrChanged?: Maybe; - multicoinAddrChangeds: Array; - nameChanged?: Maybe; - nameChangeds: Array; - nameRegistered?: Maybe; - nameRegistereds: Array; - nameRenewed?: Maybe; - nameReneweds: Array; - nameTransferred?: Maybe; - nameTransferreds: Array; - newOwner?: Maybe; - newOwners: Array; - newResolver?: Maybe; - newResolvers: Array; - newTTL?: Maybe; - newTTLs: Array; - pubkeyChanged?: Maybe; - pubkeyChangeds: Array; - registration?: Maybe; - registrationEvent?: Maybe; - registrationEvents: Array; - registrations: Array; - resolver?: Maybe; - resolverEvent?: Maybe; - resolverEvents: Array; - resolvers: Array; - textChanged?: Maybe; - textChangeds: Array; - transfer?: Maybe; - transfers: Array; -} - - -export interface Query_MetaArgs { - block?: InputMaybe; -} - - -export interface QueryAbiChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAbiChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAccountArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAccountsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAuthorisationChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAuthorisationChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryContenthashChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryContenthashChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryDomainArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryDomainEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryDomainEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryDomainsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryInterfaceChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryInterfaceChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryMulticoinAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryMulticoinAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameRegisteredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameRegisteredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameRenewedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameRenewedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameTransferredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameTransferredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewOwnerArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewOwnersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewTtlArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewTtLsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryPubkeyChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryPubkeyChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryRegistrationArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryRegistrationEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryRegistrationEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryRegistrationsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryResolverEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryResolverEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryTextChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryTextChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryTransferArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryTransfersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - -export interface Registration { - __typename?: 'Registration'; - cost?: Maybe; - domain?: Maybe; - events: Array; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - labelName?: Maybe; - registrant: Account; - registrationDate: Scalars['BigInt']; -} - - -export interface RegistrationEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface RegistrationEvent { - blockNumber: Scalars['Int']; - id: Scalars['ID']; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface RegistrationEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type RegistrationEvent_OrderBy = - | 'blockNumber' - | 'id' - | 'registration' - | 'transactionID'; - -export interface Registration_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - cost?: InputMaybe; - cost_gt?: InputMaybe; - cost_gte?: InputMaybe; - cost_in?: InputMaybe>; - cost_lt?: InputMaybe; - cost_lte?: InputMaybe; - cost_not?: InputMaybe; - cost_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - events_?: InputMaybe; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - labelName?: InputMaybe; - labelName_contains?: InputMaybe; - labelName_contains_nocase?: InputMaybe; - labelName_ends_with?: InputMaybe; - labelName_ends_with_nocase?: InputMaybe; - labelName_gt?: InputMaybe; - labelName_gte?: InputMaybe; - labelName_in?: InputMaybe>; - labelName_lt?: InputMaybe; - labelName_lte?: InputMaybe; - labelName_not?: InputMaybe; - labelName_not_contains?: InputMaybe; - labelName_not_contains_nocase?: InputMaybe; - labelName_not_ends_with?: InputMaybe; - labelName_not_ends_with_nocase?: InputMaybe; - labelName_not_in?: InputMaybe>; - labelName_not_starts_with?: InputMaybe; - labelName_not_starts_with_nocase?: InputMaybe; - labelName_starts_with?: InputMaybe; - labelName_starts_with_nocase?: InputMaybe; - registrant?: InputMaybe; - registrant_?: InputMaybe; - registrant_contains?: InputMaybe; - registrant_contains_nocase?: InputMaybe; - registrant_ends_with?: InputMaybe; - registrant_ends_with_nocase?: InputMaybe; - registrant_gt?: InputMaybe; - registrant_gte?: InputMaybe; - registrant_in?: InputMaybe>; - registrant_lt?: InputMaybe; - registrant_lte?: InputMaybe; - registrant_not?: InputMaybe; - registrant_not_contains?: InputMaybe; - registrant_not_contains_nocase?: InputMaybe; - registrant_not_ends_with?: InputMaybe; - registrant_not_ends_with_nocase?: InputMaybe; - registrant_not_in?: InputMaybe>; - registrant_not_starts_with?: InputMaybe; - registrant_not_starts_with_nocase?: InputMaybe; - registrant_starts_with?: InputMaybe; - registrant_starts_with_nocase?: InputMaybe; - registrationDate?: InputMaybe; - registrationDate_gt?: InputMaybe; - registrationDate_gte?: InputMaybe; - registrationDate_in?: InputMaybe>; - registrationDate_lt?: InputMaybe; - registrationDate_lte?: InputMaybe; - registrationDate_not?: InputMaybe; - registrationDate_not_in?: InputMaybe>; -} - -export type Registration_OrderBy = - | 'cost' - | 'domain' - | 'events' - | 'expiryDate' - | 'id' - | 'labelName' - | 'registrant' - | 'registrationDate'; - -export interface Resolver { - __typename?: 'Resolver'; - addr?: Maybe; - address: Scalars['Bytes']; - coinTypes?: Maybe>; - contentHash?: Maybe; - domain?: Maybe; - events: Array; - id: Scalars['ID']; - texts?: Maybe>; -} - - -export interface ResolverEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface ResolverEvent { - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface ResolverEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type ResolverEvent_OrderBy = - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Resolver_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_?: InputMaybe; - addr_contains?: InputMaybe; - addr_contains_nocase?: InputMaybe; - addr_ends_with?: InputMaybe; - addr_ends_with_nocase?: InputMaybe; - addr_gt?: InputMaybe; - addr_gte?: InputMaybe; - addr_in?: InputMaybe>; - addr_lt?: InputMaybe; - addr_lte?: InputMaybe; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_contains_nocase?: InputMaybe; - addr_not_ends_with?: InputMaybe; - addr_not_ends_with_nocase?: InputMaybe; - addr_not_in?: InputMaybe>; - addr_not_starts_with?: InputMaybe; - addr_not_starts_with_nocase?: InputMaybe; - addr_starts_with?: InputMaybe; - addr_starts_with_nocase?: InputMaybe; - address?: InputMaybe; - address_contains?: InputMaybe; - address_in?: InputMaybe>; - address_not?: InputMaybe; - address_not_contains?: InputMaybe; - address_not_in?: InputMaybe>; - coinTypes?: InputMaybe>; - coinTypes_contains?: InputMaybe>; - coinTypes_contains_nocase?: InputMaybe>; - coinTypes_not?: InputMaybe>; - coinTypes_not_contains?: InputMaybe>; - coinTypes_not_contains_nocase?: InputMaybe>; - contentHash?: InputMaybe; - contentHash_contains?: InputMaybe; - contentHash_in?: InputMaybe>; - contentHash_not?: InputMaybe; - contentHash_not_contains?: InputMaybe; - contentHash_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - events_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - texts?: InputMaybe>; - texts_contains?: InputMaybe>; - texts_contains_nocase?: InputMaybe>; - texts_not?: InputMaybe>; - texts_not_contains?: InputMaybe>; - texts_not_contains_nocase?: InputMaybe>; -} - -export type Resolver_OrderBy = - | 'addr' - | 'address' - | 'coinTypes' - | 'contentHash' - | 'domain' - | 'events' - | 'id' - | 'texts'; - -export interface Subscription { - __typename?: 'Subscription'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - abiChanged?: Maybe; - abiChangeds: Array; - account?: Maybe; - accounts: Array; - addrChanged?: Maybe; - addrChangeds: Array; - authorisationChanged?: Maybe; - authorisationChangeds: Array; - contenthashChanged?: Maybe; - contenthashChangeds: Array; - domain?: Maybe; - domainEvent?: Maybe; - domainEvents: Array; - domains: Array; - interfaceChanged?: Maybe; - interfaceChangeds: Array; - multicoinAddrChanged?: Maybe; - multicoinAddrChangeds: Array; - nameChanged?: Maybe; - nameChangeds: Array; - nameRegistered?: Maybe; - nameRegistereds: Array; - nameRenewed?: Maybe; - nameReneweds: Array; - nameTransferred?: Maybe; - nameTransferreds: Array; - newOwner?: Maybe; - newOwners: Array; - newResolver?: Maybe; - newResolvers: Array; - newTTL?: Maybe; - newTTLs: Array; - pubkeyChanged?: Maybe; - pubkeyChangeds: Array; - registration?: Maybe; - registrationEvent?: Maybe; - registrationEvents: Array; - registrations: Array; - resolver?: Maybe; - resolverEvent?: Maybe; - resolverEvents: Array; - resolvers: Array; - textChanged?: Maybe; - textChangeds: Array; - transfer?: Maybe; - transfers: Array; -} - - -export interface Subscription_MetaArgs { - block?: InputMaybe; -} - - -export interface SubscriptionAbiChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAbiChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAccountArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAccountsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAuthorisationChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAuthorisationChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionContenthashChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionContenthashChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionDomainArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionDomainEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionDomainEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionDomainsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionInterfaceChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionInterfaceChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionMulticoinAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionMulticoinAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameRegisteredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameRegisteredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameRenewedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameRenewedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameTransferredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameTransferredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewOwnerArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewOwnersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewTtlArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewTtLsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionPubkeyChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionPubkeyChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionRegistrationArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionRegistrationEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionRegistrationEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionRegistrationsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionResolverEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionResolverEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionTextChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionTextChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionTransferArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionTransfersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - -export interface TextChanged extends ResolverEvent { - __typename?: 'TextChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - key: Scalars['String']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface TextChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - key?: InputMaybe; - key_contains?: InputMaybe; - key_contains_nocase?: InputMaybe; - key_ends_with?: InputMaybe; - key_ends_with_nocase?: InputMaybe; - key_gt?: InputMaybe; - key_gte?: InputMaybe; - key_in?: InputMaybe>; - key_lt?: InputMaybe; - key_lte?: InputMaybe; - key_not?: InputMaybe; - key_not_contains?: InputMaybe; - key_not_contains_nocase?: InputMaybe; - key_not_ends_with?: InputMaybe; - key_not_ends_with_nocase?: InputMaybe; - key_not_in?: InputMaybe>; - key_not_starts_with?: InputMaybe; - key_not_starts_with_nocase?: InputMaybe; - key_starts_with?: InputMaybe; - key_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type TextChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'key' - | 'resolver' - | 'transactionID'; - -export interface Transfer extends DomainEvent { - __typename?: 'Transfer'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - owner: Account; - transactionID: Scalars['Bytes']; -} - -export interface Transfer_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type Transfer_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'owner' - | 'transactionID'; - -export interface _Block_ { - __typename?: '_Block_'; - /** The hash of the block */ - hash?: Maybe; - /** The block number */ - number: Scalars['Int']; - /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp?: Maybe; -} - -/** The type for the top-level _meta field */ -export interface _Meta_ { - __typename?: '_Meta_'; - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - */ - block: _Block_; - /** The deployment ID */ - deployment: Scalars['String']; - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean']; -} - -export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny'; diff --git a/libs/moloch-v3-data/src/subgraph/schema-ens.graphql b/libs/moloch-v3-data/src/subgraph/schema-ens.graphql deleted file mode 100644 index 98376616..00000000 --- a/libs/moloch-v3-data/src/subgraph/schema-ens.graphql +++ /dev/null @@ -1,3911 +0,0 @@ -""" -Marks the GraphQL type as indexable entity. Each type that should be an entity -is required to be annotated with this directive. -""" -directive @entity on OBJECT - -"""Defined a Subgraph ID for an object type""" -directive @subgraphId(id: String!) on OBJECT - -""" -creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API. -""" -directive @derivedFrom(field: String!) on FIELD_DEFINITION - -type _Block_ { - """The hash of the block""" - hash: Bytes - - """The block number""" - number: Int! - - """Integer representation of the timestamp stored in blocks for the chain""" - timestamp: Int -} - -"""The type for the top-level _meta field""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - - """ - block: _Block_! - - """The deployment ID""" - deployment: String! - - """If `true`, the subgraph encountered indexing errors at some past block""" - hasIndexingErrors: Boolean! -} - -enum _SubgraphErrorPolicy_ { - """Data will be returned even if the subgraph has indexing errors""" - allow - - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny -} - -type AbiChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - contentType: BigInt! -} - -input AbiChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - contentType: BigInt - contentType_not: BigInt - contentType_gt: BigInt - contentType_lt: BigInt - contentType_gte: BigInt - contentType_lte: BigInt - contentType_in: [BigInt!] - contentType_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AbiChanged_orderBy { - id - resolver - blockNumber - transactionID - contentType -} - -type Account { - id: ID! - domains(skip: Int = 0, first: Int = 100, orderBy: Domain_orderBy, orderDirection: OrderDirection, where: Domain_filter): [Domain!]! - registrations(skip: Int = 0, first: Int = 100, orderBy: Registration_orderBy, orderDirection: OrderDirection, where: Registration_filter): [Registration!] -} - -input Account_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domains_: Domain_filter - registrations_: Registration_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Account_orderBy { - id - domains - registrations -} - -type AddrChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - addr: Account! -} - -input AddrChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - addr: String - addr_not: String - addr_gt: String - addr_lt: String - addr_gte: String - addr_lte: String - addr_in: [String!] - addr_not_in: [String!] - addr_contains: String - addr_contains_nocase: String - addr_not_contains: String - addr_not_contains_nocase: String - addr_starts_with: String - addr_starts_with_nocase: String - addr_not_starts_with: String - addr_not_starts_with_nocase: String - addr_ends_with: String - addr_ends_with_nocase: String - addr_not_ends_with: String - addr_not_ends_with_nocase: String - addr_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AddrChanged_orderBy { - id - resolver - blockNumber - transactionID - addr -} - -type AuthorisationChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - owner: Bytes! - target: Bytes! - isAuthorized: Boolean! -} - -input AuthorisationChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: Bytes - owner_not: Bytes - owner_in: [Bytes!] - owner_not_in: [Bytes!] - owner_contains: Bytes - owner_not_contains: Bytes - target: Bytes - target_not: Bytes - target_in: [Bytes!] - target_not_in: [Bytes!] - target_contains: Bytes - target_not_contains: Bytes - isAuthorized: Boolean - isAuthorized_not: Boolean - isAuthorized_in: [Boolean!] - isAuthorized_not_in: [Boolean!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AuthorisationChanged_orderBy { - id - resolver - blockNumber - transactionID - owner - target - isAuthorized -} - -scalar BigDecimal - -scalar BigInt - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -input BlockChangedFilter { - number_gte: Int! -} - -scalar Bytes - -type ContenthashChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - hash: Bytes! -} - -input ContenthashChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - hash: Bytes - hash_not: Bytes - hash_in: [Bytes!] - hash_not_in: [Bytes!] - hash_contains: Bytes - hash_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum ContenthashChanged_orderBy { - id - resolver - blockNumber - transactionID - hash -} - -type Domain { - id: ID! - name: String - labelName: String - labelhash: Bytes - parent: Domain - subdomains(skip: Int = 0, first: Int = 100, orderBy: Domain_orderBy, orderDirection: OrderDirection, where: Domain_filter): [Domain!]! - subdomainCount: Int! - resolvedAddress: Account - owner: Account! - resolver: Resolver - ttl: BigInt - isMigrated: Boolean! - createdAt: BigInt! - events(skip: Int = 0, first: Int = 100, orderBy: DomainEvent_orderBy, orderDirection: OrderDirection, where: DomainEvent_filter): [DomainEvent!]! -} - -input Domain_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - labelName: String - labelName_not: String - labelName_gt: String - labelName_lt: String - labelName_gte: String - labelName_lte: String - labelName_in: [String!] - labelName_not_in: [String!] - labelName_contains: String - labelName_contains_nocase: String - labelName_not_contains: String - labelName_not_contains_nocase: String - labelName_starts_with: String - labelName_starts_with_nocase: String - labelName_not_starts_with: String - labelName_not_starts_with_nocase: String - labelName_ends_with: String - labelName_ends_with_nocase: String - labelName_not_ends_with: String - labelName_not_ends_with_nocase: String - labelhash: Bytes - labelhash_not: Bytes - labelhash_in: [Bytes!] - labelhash_not_in: [Bytes!] - labelhash_contains: Bytes - labelhash_not_contains: Bytes - parent: String - parent_not: String - parent_gt: String - parent_lt: String - parent_gte: String - parent_lte: String - parent_in: [String!] - parent_not_in: [String!] - parent_contains: String - parent_contains_nocase: String - parent_not_contains: String - parent_not_contains_nocase: String - parent_starts_with: String - parent_starts_with_nocase: String - parent_not_starts_with: String - parent_not_starts_with_nocase: String - parent_ends_with: String - parent_ends_with_nocase: String - parent_not_ends_with: String - parent_not_ends_with_nocase: String - parent_: Domain_filter - subdomains_: Domain_filter - subdomainCount: Int - subdomainCount_not: Int - subdomainCount_gt: Int - subdomainCount_lt: Int - subdomainCount_gte: Int - subdomainCount_lte: Int - subdomainCount_in: [Int!] - subdomainCount_not_in: [Int!] - resolvedAddress: String - resolvedAddress_not: String - resolvedAddress_gt: String - resolvedAddress_lt: String - resolvedAddress_gte: String - resolvedAddress_lte: String - resolvedAddress_in: [String!] - resolvedAddress_not_in: [String!] - resolvedAddress_contains: String - resolvedAddress_contains_nocase: String - resolvedAddress_not_contains: String - resolvedAddress_not_contains_nocase: String - resolvedAddress_starts_with: String - resolvedAddress_starts_with_nocase: String - resolvedAddress_not_starts_with: String - resolvedAddress_not_starts_with_nocase: String - resolvedAddress_ends_with: String - resolvedAddress_ends_with_nocase: String - resolvedAddress_not_ends_with: String - resolvedAddress_not_ends_with_nocase: String - resolvedAddress_: Account_filter - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - ttl: BigInt - ttl_not: BigInt - ttl_gt: BigInt - ttl_lt: BigInt - ttl_gte: BigInt - ttl_lte: BigInt - ttl_in: [BigInt!] - ttl_not_in: [BigInt!] - isMigrated: Boolean - isMigrated_not: Boolean - isMigrated_in: [Boolean!] - isMigrated_not_in: [Boolean!] - createdAt: BigInt - createdAt_not: BigInt - createdAt_gt: BigInt - createdAt_lt: BigInt - createdAt_gte: BigInt - createdAt_lte: BigInt - createdAt_in: [BigInt!] - createdAt_not_in: [BigInt!] - events_: DomainEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Domain_orderBy { - id - name - labelName - labelhash - parent - subdomains - subdomainCount - resolvedAddress - owner - resolver - ttl - isMigrated - createdAt - events -} - -interface DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! -} - -input DomainEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum DomainEvent_orderBy { - id - domain - blockNumber - transactionID -} - -type InterfaceChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - interfaceID: Bytes! - implementer: Bytes! -} - -input InterfaceChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - interfaceID: Bytes - interfaceID_not: Bytes - interfaceID_in: [Bytes!] - interfaceID_not_in: [Bytes!] - interfaceID_contains: Bytes - interfaceID_not_contains: Bytes - implementer: Bytes - implementer_not: Bytes - implementer_in: [Bytes!] - implementer_not_in: [Bytes!] - implementer_contains: Bytes - implementer_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum InterfaceChanged_orderBy { - id - resolver - blockNumber - transactionID - interfaceID - implementer -} - -type MulticoinAddrChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - coinType: BigInt! - addr: Bytes! -} - -input MulticoinAddrChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - coinType: BigInt - coinType_not: BigInt - coinType_gt: BigInt - coinType_lt: BigInt - coinType_gte: BigInt - coinType_lte: BigInt - coinType_in: [BigInt!] - coinType_not_in: [BigInt!] - addr: Bytes - addr_not: Bytes - addr_in: [Bytes!] - addr_not_in: [Bytes!] - addr_contains: Bytes - addr_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum MulticoinAddrChanged_orderBy { - id - resolver - blockNumber - transactionID - coinType - addr -} - -type NameChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - name: String! -} - -input NameChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameChanged_orderBy { - id - resolver - blockNumber - transactionID - name -} - -type NameRegistered implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - registrant: Account! - expiryDate: BigInt! -} - -input NameRegistered_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - registrant: String - registrant_not: String - registrant_gt: String - registrant_lt: String - registrant_gte: String - registrant_lte: String - registrant_in: [String!] - registrant_not_in: [String!] - registrant_contains: String - registrant_contains_nocase: String - registrant_not_contains: String - registrant_not_contains_nocase: String - registrant_starts_with: String - registrant_starts_with_nocase: String - registrant_not_starts_with: String - registrant_not_starts_with_nocase: String - registrant_ends_with: String - registrant_ends_with_nocase: String - registrant_not_ends_with: String - registrant_not_ends_with_nocase: String - registrant_: Account_filter - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameRegistered_orderBy { - id - registration - blockNumber - transactionID - registrant - expiryDate -} - -type NameRenewed implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - expiryDate: BigInt! -} - -input NameRenewed_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameRenewed_orderBy { - id - registration - blockNumber - transactionID - expiryDate -} - -type NameTransferred implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - newOwner: Account! -} - -input NameTransferred_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - newOwner: String - newOwner_not: String - newOwner_gt: String - newOwner_lt: String - newOwner_gte: String - newOwner_lte: String - newOwner_in: [String!] - newOwner_not_in: [String!] - newOwner_contains: String - newOwner_contains_nocase: String - newOwner_not_contains: String - newOwner_not_contains_nocase: String - newOwner_starts_with: String - newOwner_starts_with_nocase: String - newOwner_not_starts_with: String - newOwner_not_starts_with_nocase: String - newOwner_ends_with: String - newOwner_ends_with_nocase: String - newOwner_not_ends_with: String - newOwner_not_ends_with_nocase: String - newOwner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameTransferred_orderBy { - id - registration - blockNumber - transactionID - newOwner -} - -type NewOwner implements DomainEvent { - id: ID! - parentDomain: Domain! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - owner: Account! -} - -input NewOwner_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - parentDomain: String - parentDomain_not: String - parentDomain_gt: String - parentDomain_lt: String - parentDomain_gte: String - parentDomain_lte: String - parentDomain_in: [String!] - parentDomain_not_in: [String!] - parentDomain_contains: String - parentDomain_contains_nocase: String - parentDomain_not_contains: String - parentDomain_not_contains_nocase: String - parentDomain_starts_with: String - parentDomain_starts_with_nocase: String - parentDomain_not_starts_with: String - parentDomain_not_starts_with_nocase: String - parentDomain_ends_with: String - parentDomain_ends_with_nocase: String - parentDomain_not_ends_with: String - parentDomain_not_ends_with_nocase: String - parentDomain_: Domain_filter - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewOwner_orderBy { - id - parentDomain - domain - blockNumber - transactionID - owner -} - -type NewResolver implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - resolver: Resolver! -} - -input NewResolver_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewResolver_orderBy { - id - domain - blockNumber - transactionID - resolver -} - -type NewTTL implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - ttl: BigInt! -} - -input NewTTL_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - ttl: BigInt - ttl_not: BigInt - ttl_gt: BigInt - ttl_lt: BigInt - ttl_gte: BigInt - ttl_lte: BigInt - ttl_in: [BigInt!] - ttl_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewTTL_orderBy { - id - domain - blockNumber - transactionID - ttl -} - -"""Defines the order direction, either ascending or descending""" -enum OrderDirection { - asc - desc -} - -type PubkeyChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - x: Bytes! - y: Bytes! -} - -input PubkeyChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - x: Bytes - x_not: Bytes - x_in: [Bytes!] - x_not_in: [Bytes!] - x_contains: Bytes - x_not_contains: Bytes - y: Bytes - y_not: Bytes - y_in: [Bytes!] - y_not_in: [Bytes!] - y_contains: Bytes - y_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum PubkeyChanged_orderBy { - id - resolver - blockNumber - transactionID - x - y -} - -type Query { - domain( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Domain - domains( - skip: Int = 0 - first: Int = 100 - orderBy: Domain_orderBy - orderDirection: OrderDirection - where: Domain_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Domain!]! - transfer( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transfer - transfers( - skip: Int = 0 - first: Int = 100 - orderBy: Transfer_orderBy - orderDirection: OrderDirection - where: Transfer_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transfer!]! - newOwner( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewOwner - newOwners( - skip: Int = 0 - first: Int = 100 - orderBy: NewOwner_orderBy - orderDirection: OrderDirection - where: NewOwner_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewOwner!]! - newResolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewResolver - newResolvers( - skip: Int = 0 - first: Int = 100 - orderBy: NewResolver_orderBy - orderDirection: OrderDirection - where: NewResolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewResolver!]! - newTTL( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewTTL - newTTLs( - skip: Int = 0 - first: Int = 100 - orderBy: NewTTL_orderBy - orderDirection: OrderDirection - where: NewTTL_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewTTL!]! - account( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Account - accounts( - skip: Int = 0 - first: Int = 100 - orderBy: Account_orderBy - orderDirection: OrderDirection - where: Account_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Account!]! - registration( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Registration - registrations( - skip: Int = 0 - first: Int = 100 - orderBy: Registration_orderBy - orderDirection: OrderDirection - where: Registration_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Registration!]! - nameRegistered( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRegistered - nameRegistereds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRegistered_orderBy - orderDirection: OrderDirection - where: NameRegistered_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRegistered!]! - nameRenewed( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRenewed - nameReneweds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRenewed_orderBy - orderDirection: OrderDirection - where: NameRenewed_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRenewed!]! - nameTransferred( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameTransferred - nameTransferreds( - skip: Int = 0 - first: Int = 100 - orderBy: NameTransferred_orderBy - orderDirection: OrderDirection - where: NameTransferred_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameTransferred!]! - resolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Resolver - resolvers( - skip: Int = 0 - first: Int = 100 - orderBy: Resolver_orderBy - orderDirection: OrderDirection - where: Resolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Resolver!]! - addrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AddrChanged - addrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AddrChanged_orderBy - orderDirection: OrderDirection - where: AddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AddrChanged!]! - multicoinAddrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): MulticoinAddrChanged - multicoinAddrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: MulticoinAddrChanged_orderBy - orderDirection: OrderDirection - where: MulticoinAddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [MulticoinAddrChanged!]! - nameChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameChanged - nameChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: NameChanged_orderBy - orderDirection: OrderDirection - where: NameChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameChanged!]! - abiChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AbiChanged - abiChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AbiChanged_orderBy - orderDirection: OrderDirection - where: AbiChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AbiChanged!]! - pubkeyChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PubkeyChanged - pubkeyChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: PubkeyChanged_orderBy - orderDirection: OrderDirection - where: PubkeyChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PubkeyChanged!]! - textChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TextChanged - textChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: TextChanged_orderBy - orderDirection: OrderDirection - where: TextChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TextChanged!]! - contenthashChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ContenthashChanged - contenthashChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: ContenthashChanged_orderBy - orderDirection: OrderDirection - where: ContenthashChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ContenthashChanged!]! - interfaceChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): InterfaceChanged - interfaceChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: InterfaceChanged_orderBy - orderDirection: OrderDirection - where: InterfaceChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [InterfaceChanged!]! - authorisationChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AuthorisationChanged - authorisationChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AuthorisationChanged_orderBy - orderDirection: OrderDirection - where: AuthorisationChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AuthorisationChanged!]! - domainEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): DomainEvent - domainEvents( - skip: Int = 0 - first: Int = 100 - orderBy: DomainEvent_orderBy - orderDirection: OrderDirection - where: DomainEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [DomainEvent!]! - registrationEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): RegistrationEvent - registrationEvents( - skip: Int = 0 - first: Int = 100 - orderBy: RegistrationEvent_orderBy - orderDirection: OrderDirection - where: RegistrationEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [RegistrationEvent!]! - resolverEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ResolverEvent - resolverEvents( - skip: Int = 0 - first: Int = 100 - orderBy: ResolverEvent_orderBy - orderDirection: OrderDirection - where: ResolverEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ResolverEvent!]! - - """Access to subgraph metadata""" - _meta(block: Block_height): _Meta_ -} - -type Registration { - id: ID! - domain: Domain - registrationDate: BigInt! - expiryDate: BigInt! - cost: BigInt - registrant: Account! - labelName: String - events(skip: Int = 0, first: Int = 100, orderBy: RegistrationEvent_orderBy, orderDirection: OrderDirection, where: RegistrationEvent_filter): [RegistrationEvent!]! -} - -input Registration_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - registrationDate: BigInt - registrationDate_not: BigInt - registrationDate_gt: BigInt - registrationDate_lt: BigInt - registrationDate_gte: BigInt - registrationDate_lte: BigInt - registrationDate_in: [BigInt!] - registrationDate_not_in: [BigInt!] - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - cost: BigInt - cost_not: BigInt - cost_gt: BigInt - cost_lt: BigInt - cost_gte: BigInt - cost_lte: BigInt - cost_in: [BigInt!] - cost_not_in: [BigInt!] - registrant: String - registrant_not: String - registrant_gt: String - registrant_lt: String - registrant_gte: String - registrant_lte: String - registrant_in: [String!] - registrant_not_in: [String!] - registrant_contains: String - registrant_contains_nocase: String - registrant_not_contains: String - registrant_not_contains_nocase: String - registrant_starts_with: String - registrant_starts_with_nocase: String - registrant_not_starts_with: String - registrant_not_starts_with_nocase: String - registrant_ends_with: String - registrant_ends_with_nocase: String - registrant_not_ends_with: String - registrant_not_ends_with_nocase: String - registrant_: Account_filter - labelName: String - labelName_not: String - labelName_gt: String - labelName_lt: String - labelName_gte: String - labelName_lte: String - labelName_in: [String!] - labelName_not_in: [String!] - labelName_contains: String - labelName_contains_nocase: String - labelName_not_contains: String - labelName_not_contains_nocase: String - labelName_starts_with: String - labelName_starts_with_nocase: String - labelName_not_starts_with: String - labelName_not_starts_with_nocase: String - labelName_ends_with: String - labelName_ends_with_nocase: String - labelName_not_ends_with: String - labelName_not_ends_with_nocase: String - events_: RegistrationEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Registration_orderBy { - id - domain - registrationDate - expiryDate - cost - registrant - labelName - events -} - -interface RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! -} - -input RegistrationEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum RegistrationEvent_orderBy { - id - registration - blockNumber - transactionID -} - -type Resolver { - id: ID! - domain: Domain - address: Bytes! - addr: Account - contentHash: Bytes - texts: [String!] - coinTypes: [BigInt!] - events(skip: Int = 0, first: Int = 100, orderBy: ResolverEvent_orderBy, orderDirection: OrderDirection, where: ResolverEvent_filter): [ResolverEvent!]! -} - -input Resolver_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - address: Bytes - address_not: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - addr: String - addr_not: String - addr_gt: String - addr_lt: String - addr_gte: String - addr_lte: String - addr_in: [String!] - addr_not_in: [String!] - addr_contains: String - addr_contains_nocase: String - addr_not_contains: String - addr_not_contains_nocase: String - addr_starts_with: String - addr_starts_with_nocase: String - addr_not_starts_with: String - addr_not_starts_with_nocase: String - addr_ends_with: String - addr_ends_with_nocase: String - addr_not_ends_with: String - addr_not_ends_with_nocase: String - addr_: Account_filter - contentHash: Bytes - contentHash_not: Bytes - contentHash_in: [Bytes!] - contentHash_not_in: [Bytes!] - contentHash_contains: Bytes - contentHash_not_contains: Bytes - texts: [String!] - texts_not: [String!] - texts_contains: [String!] - texts_contains_nocase: [String!] - texts_not_contains: [String!] - texts_not_contains_nocase: [String!] - coinTypes: [BigInt!] - coinTypes_not: [BigInt!] - coinTypes_contains: [BigInt!] - coinTypes_contains_nocase: [BigInt!] - coinTypes_not_contains: [BigInt!] - coinTypes_not_contains_nocase: [BigInt!] - events_: ResolverEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Resolver_orderBy { - id - domain - address - addr - contentHash - texts - coinTypes - events -} - -interface ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! -} - -input ResolverEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum ResolverEvent_orderBy { - id - resolver - blockNumber - transactionID -} - -type Subscription { - domain( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Domain - domains( - skip: Int = 0 - first: Int = 100 - orderBy: Domain_orderBy - orderDirection: OrderDirection - where: Domain_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Domain!]! - transfer( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transfer - transfers( - skip: Int = 0 - first: Int = 100 - orderBy: Transfer_orderBy - orderDirection: OrderDirection - where: Transfer_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transfer!]! - newOwner( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewOwner - newOwners( - skip: Int = 0 - first: Int = 100 - orderBy: NewOwner_orderBy - orderDirection: OrderDirection - where: NewOwner_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewOwner!]! - newResolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewResolver - newResolvers( - skip: Int = 0 - first: Int = 100 - orderBy: NewResolver_orderBy - orderDirection: OrderDirection - where: NewResolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewResolver!]! - newTTL( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewTTL - newTTLs( - skip: Int = 0 - first: Int = 100 - orderBy: NewTTL_orderBy - orderDirection: OrderDirection - where: NewTTL_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewTTL!]! - account( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Account - accounts( - skip: Int = 0 - first: Int = 100 - orderBy: Account_orderBy - orderDirection: OrderDirection - where: Account_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Account!]! - registration( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Registration - registrations( - skip: Int = 0 - first: Int = 100 - orderBy: Registration_orderBy - orderDirection: OrderDirection - where: Registration_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Registration!]! - nameRegistered( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRegistered - nameRegistereds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRegistered_orderBy - orderDirection: OrderDirection - where: NameRegistered_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRegistered!]! - nameRenewed( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRenewed - nameReneweds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRenewed_orderBy - orderDirection: OrderDirection - where: NameRenewed_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRenewed!]! - nameTransferred( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameTransferred - nameTransferreds( - skip: Int = 0 - first: Int = 100 - orderBy: NameTransferred_orderBy - orderDirection: OrderDirection - where: NameTransferred_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameTransferred!]! - resolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Resolver - resolvers( - skip: Int = 0 - first: Int = 100 - orderBy: Resolver_orderBy - orderDirection: OrderDirection - where: Resolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Resolver!]! - addrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AddrChanged - addrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AddrChanged_orderBy - orderDirection: OrderDirection - where: AddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AddrChanged!]! - multicoinAddrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): MulticoinAddrChanged - multicoinAddrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: MulticoinAddrChanged_orderBy - orderDirection: OrderDirection - where: MulticoinAddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [MulticoinAddrChanged!]! - nameChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameChanged - nameChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: NameChanged_orderBy - orderDirection: OrderDirection - where: NameChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameChanged!]! - abiChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AbiChanged - abiChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AbiChanged_orderBy - orderDirection: OrderDirection - where: AbiChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AbiChanged!]! - pubkeyChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PubkeyChanged - pubkeyChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: PubkeyChanged_orderBy - orderDirection: OrderDirection - where: PubkeyChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PubkeyChanged!]! - textChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TextChanged - textChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: TextChanged_orderBy - orderDirection: OrderDirection - where: TextChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TextChanged!]! - contenthashChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ContenthashChanged - contenthashChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: ContenthashChanged_orderBy - orderDirection: OrderDirection - where: ContenthashChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ContenthashChanged!]! - interfaceChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): InterfaceChanged - interfaceChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: InterfaceChanged_orderBy - orderDirection: OrderDirection - where: InterfaceChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [InterfaceChanged!]! - authorisationChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AuthorisationChanged - authorisationChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AuthorisationChanged_orderBy - orderDirection: OrderDirection - where: AuthorisationChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AuthorisationChanged!]! - domainEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): DomainEvent - domainEvents( - skip: Int = 0 - first: Int = 100 - orderBy: DomainEvent_orderBy - orderDirection: OrderDirection - where: DomainEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [DomainEvent!]! - registrationEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): RegistrationEvent - registrationEvents( - skip: Int = 0 - first: Int = 100 - orderBy: RegistrationEvent_orderBy - orderDirection: OrderDirection - where: RegistrationEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [RegistrationEvent!]! - resolverEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ResolverEvent - resolverEvents( - skip: Int = 0 - first: Int = 100 - orderBy: ResolverEvent_orderBy - orderDirection: OrderDirection - where: ResolverEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ResolverEvent!]! - - """Access to subgraph metadata""" - _meta(block: Block_height): _Meta_ -} - -type TextChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - key: String! -} - -input TextChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - key: String - key_not: String - key_gt: String - key_lt: String - key_gte: String - key_lte: String - key_in: [String!] - key_not_in: [String!] - key_contains: String - key_contains_nocase: String - key_not_contains: String - key_not_contains_nocase: String - key_starts_with: String - key_starts_with_nocase: String - key_not_starts_with: String - key_not_starts_with_nocase: String - key_ends_with: String - key_ends_with_nocase: String - key_not_ends_with: String - key_not_ends_with_nocase: String - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum TextChanged_orderBy { - id - resolver - blockNumber - transactionID - key -} - -type Transfer implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - owner: Account! -} - -input Transfer_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Transfer_orderBy { - id - domain - blockNumber - transactionID - owner -} - diff --git a/libs/moloch-v3-data/src/subgraph/schema-lens.generated.ts b/libs/moloch-v3-data/src/subgraph/schema-lens.generated.ts deleted file mode 100644 index 676b0399..00000000 --- a/libs/moloch-v3-data/src/subgraph/schema-lens.generated.ts +++ /dev/null @@ -1,3870 +0,0 @@ -export type Maybe = T | undefined; -export type InputMaybe = T | undefined | null; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -/** All built-in and custom scalars, mapped to their actual values */ -export interface Scalars { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - /** Blockchain data scalar type */ - BlockchainData: any; - /** Broadcast scalar id type */ - BroadcastId: any; - /** ChainId custom scalar type */ - ChainId: any; - /** collect module data scalar type */ - CollectModuleData: any; - /** ContentEncryptionKey scalar type */ - ContentEncryptionKey: any; - /** Contract address custom scalar type */ - ContractAddress: any; - /** create handle custom scalar type */ - CreateHandle: any; - /** Cursor custom scalar type */ - Cursor: any; - /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */ - DateTime: any; - /** EncryptedValue custom scalar type */ - EncryptedValueScalar: any; - /** Ens custom scalar type */ - Ens: any; - /** Ethereum address custom scalar type */ - EthereumAddress: any; - /** follow module data scalar type */ - FollowModuleData: any; - /** handle custom scalar type */ - Handle: any; - /** handle claim id custom scalar type */ - HandleClaimIdScalar: any; - /** IfpsCid scalar type */ - IfpsCid: any; - /** Internal publication id custom scalar type */ - InternalPublicationId: any; - /** jwt custom scalar type */ - Jwt: any; - /** limit custom scalar type */ - LimitScalar: any; - /** Locale scalar type */ - Locale: any; - /** Markdown scalar type */ - Markdown: any; - /** mimetype custom scalar type */ - MimeType: any; - /** Nft ownership id type */ - NftOwnershipId: any; - /** Nonce custom scalar type */ - Nonce: any; - /** The notification id */ - NotificationId: any; - /** ProfileId custom scalar type */ - ProfileId: any; - /** ProfileInterest custom scalar type */ - ProfileInterest: any; - /** proxy action scalar id type */ - ProxyActionId: any; - /** Publication id custom scalar type */ - PublicationId: any; - /** The publication tag */ - PublicationTag: any; - /** Publication url scalar type */ - PublicationUrl: any; - /** The reaction id */ - ReactionId: any; - /** reference module data scalar type */ - ReferenceModuleData: any; - /** Query search */ - Search: any; - /** Relayer signature */ - Signature: any; - /** Sources custom scalar type */ - Sources: any; - /** timestamp date custom scalar type */ - TimestampScalar: any; - /** The NFT token id */ - TokenId: any; - /** The tx hash */ - TxHash: any; - /** The tx id */ - TxId: any; - /** UnixTimestamp custom scalar type */ - UnixTimestamp: any; - /** Url scalar type */ - Url: any; - /** Represents NULL values */ - Void: any; -} - -/** The access conditions for the publication */ -export interface AccessConditionInput { - /** AND condition */ - and?: InputMaybe; - /** Profile follow condition */ - collect?: InputMaybe; - /** EOA ownership condition */ - eoa?: InputMaybe; - /** Profile follow condition */ - follow?: InputMaybe; - /** NFT ownership condition */ - nft?: InputMaybe; - /** OR condition */ - or?: InputMaybe; - /** Profile ownership condition */ - profile?: InputMaybe; - /** ERC20 token ownership condition */ - token?: InputMaybe; -} - -/** The access conditions for the publication */ -export interface AccessConditionOutput { - __typename?: 'AccessConditionOutput'; - /** AND condition */ - and?: Maybe; - /** Profile follow condition */ - collect?: Maybe; - /** EOA ownership condition */ - eoa?: Maybe; - /** Profile follow condition */ - follow?: Maybe; - /** NFT ownership condition */ - nft?: Maybe; - /** OR condition */ - or?: Maybe; - /** Profile ownership condition */ - profile?: Maybe; - /** ERC20 token ownership condition */ - token?: Maybe; -} - -export interface AchRequest { - ethereumAddress: Scalars['EthereumAddress']; - freeTextHandle?: InputMaybe; - handle?: InputMaybe; - overrideAlreadyClaimed: Scalars['Boolean']; - overrideTradeMark: Scalars['Boolean']; - secret: Scalars['String']; -} - -/** The request object to add interests to a profile */ -export interface AddProfileInterestsRequest { - /** The profile interest to add */ - interests: Array; - /** The profileId to add interests to */ - profileId: Scalars['ProfileId']; -} - -export interface AllPublicationsTagsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - sort: TagSortCriteria; - /** The App Id */ - source?: InputMaybe; -} - -export interface AndConditionInput { - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface AndConditionOutput { - __typename?: 'AndConditionOutput'; - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface ApprovedAllowanceAmount { - __typename?: 'ApprovedAllowanceAmount'; - allowance: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - currency: Scalars['ContractAddress']; - module: Scalars['String']; -} - -export interface ApprovedModuleAllowanceAmountRequest { - collectModules?: InputMaybe>; - /** The contract addresses for the module approved currencies you want to find information on about the user */ - currencies: Array; - followModules?: InputMaybe>; - referenceModules?: InputMaybe>; - unknownCollectModules?: InputMaybe>; - unknownFollowModules?: InputMaybe>; - unknownReferenceModules?: InputMaybe>; -} - -/** The Profile */ -export interface Attribute { - __typename?: 'Attribute'; - /** The display type */ - displayType?: Maybe; - /** identifier of this attribute, we will update by this id */ - key: Scalars['String']; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType?: Maybe; - /** Value attribute */ - value: Scalars['String']; -} - -/** The auth challenge result */ -export interface AuthChallengeResult { - __typename?: 'AuthChallengeResult'; - /** The text to sign */ - text: Scalars['String']; -} - -/** The authentication result */ -export interface AuthenticationResult { - __typename?: 'AuthenticationResult'; - /** The access token */ - accessToken: Scalars['Jwt']; - /** The refresh token */ - refreshToken: Scalars['Jwt']; -} - -export interface BroadcastRequest { - id: Scalars['BroadcastId']; - signature: Scalars['Signature']; -} - -export interface BurnProfileRequest { - profileId: Scalars['ProfileId']; -} - -export interface CanCommentResponse { - __typename?: 'CanCommentResponse'; - result: Scalars['Boolean']; -} - -export interface CanDecryptResponse { - __typename?: 'CanDecryptResponse'; - reasons?: Maybe>; - result: Scalars['Boolean']; -} - -export interface CanMirrorResponse { - __typename?: 'CanMirrorResponse'; - result: Scalars['Boolean']; -} - -/** The challenge request */ -export interface ChallengeRequest { - /** The ethereum address you want to login with */ - address: Scalars['EthereumAddress']; -} - -export interface ClaimHandleRequest { - /** The follow module */ - followModule?: InputMaybe; - freeTextHandle?: InputMaybe; - id?: InputMaybe; -} - -/** The claim status */ -export type ClaimStatus = - | 'ALREADY_CLAIMED' - | 'CLAIM_FAILED' - | 'NOT_CLAIMED'; - -export interface ClaimableHandles { - __typename?: 'ClaimableHandles'; - canClaimFreeTextHandle: Scalars['Boolean']; - reservedHandles: Array; -} - -/** Condition that signifies if address or profile has collected a publication */ -export interface CollectConditionInput { - /** The publication id that has to be collected to unlock content */ - publicationId?: InputMaybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: InputMaybe; -} - -/** Condition that signifies if address or profile has collected a publication */ -export interface CollectConditionOutput { - __typename?: 'CollectConditionOutput'; - /** The publication id that has to be collected to unlock content */ - publicationId?: Maybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: Maybe; -} - -export type CollectModule = FeeCollectModuleSettings | FreeCollectModuleSettings | LimitedFeeCollectModuleSettings | LimitedTimedFeeCollectModuleSettings | RevertCollectModuleSettings | TimedFeeCollectModuleSettings | UnknownCollectModuleSettings; - -export interface CollectModuleParams { - /** The collect fee collect module */ - feeCollectModule?: InputMaybe; - /** The collect empty collect module */ - freeCollectModule?: InputMaybe; - /** The collect limited fee collect module */ - limitedFeeCollectModule?: InputMaybe; - /** The collect limited timed fee collect module */ - limitedTimedFeeCollectModule?: InputMaybe; - /** The collect revert collect module */ - revertCollectModule?: InputMaybe; - /** The collect timed fee collect module */ - timedFeeCollectModule?: InputMaybe; - /** A unknown collect module */ - unknownCollectModule?: InputMaybe; -} - -/** The collect module types */ -export type CollectModules = - | 'FeeCollectModule' - | 'FreeCollectModule' - | 'LimitedFeeCollectModule' - | 'LimitedTimedFeeCollectModule' - | 'RevertCollectModule' - | 'TimedFeeCollectModule' - | 'UnknownCollectModule'; - -export interface CollectProxyAction { - freeCollect?: InputMaybe; -} - -export interface CollectedEvent { - __typename?: 'CollectedEvent'; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -/** The social comment */ -export interface Comment { - __typename?: 'Comment'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** Who collected it, this is used for timeline results and like this for better caching for the client */ - collectedBy?: Maybe; - /** Which comment this points to if its null the pointer too deep so do another query to find it out */ - commentOn?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - dataAvailabilityProofs?: Maybe; - /** This will bring back the first comment of a comment and only be defined if using `publication` query and `commentOf` */ - firstComment?: Maybe; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is data availability post */ - isDataAvailability: Scalars['Boolean']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The top level post/mirror this comment lives on */ - mainPost: MainPostReference; - /** The metadata for the post */ - metadata: MetadataOutput; - mirrors: Array; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social comment */ -export interface CommentCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social comment */ -export interface CommentMirrorsArgs { - by?: InputMaybe; -} - - -/** The social comment */ -export interface CommentReactionArgs { - request?: InputMaybe; -} - -/** The gated publication access criteria contract types */ -export type ContractType = - | 'ERC20' - | 'ERC721' - | 'ERC1155'; - -/** The create burn eip 712 typed data */ -export interface CreateBurnEip712TypedData { - __typename?: 'CreateBurnEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateBurnEip712TypedDataTypes; - /** The values */ - value: CreateBurnEip712TypedDataValue; -} - -/** The create burn eip 712 typed data types */ -export interface CreateBurnEip712TypedDataTypes { - __typename?: 'CreateBurnEIP712TypedDataTypes'; - BurnWithSig: Array; -} - -/** The create burn eip 712 typed data value */ -export interface CreateBurnEip712TypedDataValue { - __typename?: 'CreateBurnEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - tokenId: Scalars['String']; -} - -/** The broadcast item */ -export interface CreateBurnProfileBroadcastItemResult { - __typename?: 'CreateBurnProfileBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateBurnEip712TypedData; -} - -/** The broadcast item */ -export interface CreateCollectBroadcastItemResult { - __typename?: 'CreateCollectBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateCollectEip712TypedData; -} - -/** The collect eip 712 typed data */ -export interface CreateCollectEip712TypedData { - __typename?: 'CreateCollectEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateCollectEip712TypedDataTypes; - /** The values */ - value: CreateCollectEip712TypedDataValue; -} - -/** The collect eip 712 typed data types */ -export interface CreateCollectEip712TypedDataTypes { - __typename?: 'CreateCollectEIP712TypedDataTypes'; - CollectWithSig: Array; -} - -/** The collect eip 712 typed data value */ -export interface CreateCollectEip712TypedDataValue { - __typename?: 'CreateCollectEIP712TypedDataValue'; - data: Scalars['BlockchainData']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - pubId: Scalars['PublicationId']; -} - -export interface CreateCollectRequest { - publicationId: Scalars['InternalPublicationId']; - /** The encoded data to collect with if using an unknown module */ - unknownModuleData?: InputMaybe; -} - -/** The broadcast item */ -export interface CreateCommentBroadcastItemResult { - __typename?: 'CreateCommentBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateCommentEip712TypedData; -} - -/** The create comment eip 712 typed data */ -export interface CreateCommentEip712TypedData { - __typename?: 'CreateCommentEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateCommentEip712TypedDataTypes; - /** The values */ - value: CreateCommentEip712TypedDataValue; -} - -/** The create comment eip 712 typed data types */ -export interface CreateCommentEip712TypedDataTypes { - __typename?: 'CreateCommentEIP712TypedDataTypes'; - CommentWithSig: Array; -} - -/** The create comment eip 712 typed data value */ -export interface CreateCommentEip712TypedDataValue { - __typename?: 'CreateCommentEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -/** The broadcast item */ -export interface CreateFollowBroadcastItemResult { - __typename?: 'CreateFollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateFollowEip712TypedData; -} - -/** The create follow eip 712 typed data */ -export interface CreateFollowEip712TypedData { - __typename?: 'CreateFollowEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateFollowEip712TypedDataTypes; - /** The values */ - value: CreateFollowEip712TypedDataValue; -} - -/** The create follow eip 712 typed data types */ -export interface CreateFollowEip712TypedDataTypes { - __typename?: 'CreateFollowEIP712TypedDataTypes'; - FollowWithSig: Array; -} - -/** The create follow eip 712 typed data value */ -export interface CreateFollowEip712TypedDataValue { - __typename?: 'CreateFollowEIP712TypedDataValue'; - datas: Array; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileIds: Array; -} - -/** The broadcast item */ -export interface CreateMirrorBroadcastItemResult { - __typename?: 'CreateMirrorBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateMirrorEip712TypedData; -} - -/** The mirror eip 712 typed data */ -export interface CreateMirrorEip712TypedData { - __typename?: 'CreateMirrorEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateMirrorEip712TypedDataTypes; - /** The values */ - value: CreateMirrorEip712TypedDataValue; -} - -/** The mirror eip 712 typed data types */ -export interface CreateMirrorEip712TypedDataTypes { - __typename?: 'CreateMirrorEIP712TypedDataTypes'; - MirrorWithSig: Array; -} - -/** The mirror eip 712 typed data value */ -export interface CreateMirrorEip712TypedDataValue { - __typename?: 'CreateMirrorEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -export interface CreateMirrorRequest { - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what you want to mirror on remember if this is a comment it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module info */ - referenceModule?: InputMaybe; -} - -/** The broadcast item */ -export interface CreatePostBroadcastItemResult { - __typename?: 'CreatePostBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreatePostEip712TypedData; -} - -/** The create post eip 712 typed data */ -export interface CreatePostEip712TypedData { - __typename?: 'CreatePostEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreatePostEip712TypedDataTypes; - /** The values */ - value: CreatePostEip712TypedDataValue; -} - -/** The create post eip 712 typed data types */ -export interface CreatePostEip712TypedDataTypes { - __typename?: 'CreatePostEIP712TypedDataTypes'; - PostWithSig: Array; -} - -/** The create post eip 712 typed data value */ -export interface CreatePostEip712TypedDataValue { - __typename?: 'CreatePostEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -export interface CreatePublicCommentRequest { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata uploaded somewhere passing in the url to reach it */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what your comments on remember if this is a comment you commented on it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module */ - referenceModule?: InputMaybe; -} - -export interface CreatePublicPostRequest { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata uploaded somewhere passing in the url to reach it */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** The reference module */ - referenceModule?: InputMaybe; -} - -export interface CreatePublicSetProfileMetadataUriRequest { - /** The metadata uploaded somewhere passing in the url to reach it */ - metadata: Scalars['Url']; - /** Profile id */ - profileId: Scalars['ProfileId']; -} - -export interface CreateSetDefaultProfileRequest { - /** Profile id */ - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetDispatcherBroadcastItemResult { - __typename?: 'CreateSetDispatcherBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetDispatcherEip712TypedData; -} - -/** The set dispatcher eip 712 typed data */ -export interface CreateSetDispatcherEip712TypedData { - __typename?: 'CreateSetDispatcherEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetDispatcherEip712TypedDataTypes; - /** The values */ - value: CreateSetDispatcherEip712TypedDataValue; -} - -/** The set dispatcher eip 712 typed data types */ -export interface CreateSetDispatcherEip712TypedDataTypes { - __typename?: 'CreateSetDispatcherEIP712TypedDataTypes'; - SetDispatcherWithSig: Array; -} - -/** The set dispatcher eip 712 typed data value */ -export interface CreateSetDispatcherEip712TypedDataValue { - __typename?: 'CreateSetDispatcherEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - dispatcher: Scalars['EthereumAddress']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetFollowModuleBroadcastItemResult { - __typename?: 'CreateSetFollowModuleBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetFollowModuleEip712TypedData; -} - -/** The set follow module eip 712 typed data */ -export interface CreateSetFollowModuleEip712TypedData { - __typename?: 'CreateSetFollowModuleEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetFollowModuleEip712TypedDataTypes; - /** The values */ - value: CreateSetFollowModuleEip712TypedDataValue; -} - -/** The set follow module eip 712 typed data types */ -export interface CreateSetFollowModuleEip712TypedDataTypes { - __typename?: 'CreateSetFollowModuleEIP712TypedDataTypes'; - SetFollowModuleWithSig: Array; -} - -/** The set follow module eip 712 typed data value */ -export interface CreateSetFollowModuleEip712TypedDataValue { - __typename?: 'CreateSetFollowModuleEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - followModule: Scalars['ContractAddress']; - followModuleInitData: Scalars['FollowModuleData']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -export interface CreateSetFollowModuleRequest { - /** The follow module info */ - followModule: FollowModuleParams; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetFollowNftUriBroadcastItemResult { - __typename?: 'CreateSetFollowNFTUriBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetFollowNftUriEip712TypedData; -} - -/** The set follow nft uri eip 712 typed data */ -export interface CreateSetFollowNftUriEip712TypedData { - __typename?: 'CreateSetFollowNFTUriEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetFollowNftUriEip712TypedDataTypes; - /** The values */ - value: CreateSetFollowNftUriEip712TypedDataValue; -} - -/** The set follow nft uri eip 712 typed data types */ -export interface CreateSetFollowNftUriEip712TypedDataTypes { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataTypes'; - SetFollowNFTURIWithSig: Array; -} - -/** The set follow nft uri eip 712 typed data value */ -export interface CreateSetFollowNftUriEip712TypedDataValue { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - followNFTURI: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -export interface CreateSetFollowNftUriRequest { - /** - * The follow NFT URI is the NFT metadata your followers will mint when they - * follow you. This can be updated at all times. If you do not pass in anything - * it will create a super cool changing NFT which will show the last publication - * of your profile as the NFT which looks awesome! This means people do not have - * to worry about writing this logic but still have the ability to customise it - * for their followers - */ - followNFTURI?: InputMaybe; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetProfileImageUriBroadcastItemResult { - __typename?: 'CreateSetProfileImageUriBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetProfileImageUriEip712TypedData; -} - -/** The set profile uri eip 712 typed data */ -export interface CreateSetProfileImageUriEip712TypedData { - __typename?: 'CreateSetProfileImageUriEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetProfileImageUriEip712TypedDataTypes; - /** The values */ - value: CreateSetProfileImageUriEip712TypedDataValue; -} - -/** The set profile image uri eip 712 typed data types */ -export interface CreateSetProfileImageUriEip712TypedDataTypes { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataTypes'; - SetProfileImageURIWithSig: Array; -} - -/** The set profile uri eip 712 typed data value */ -export interface CreateSetProfileImageUriEip712TypedDataValue { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - imageURI: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetProfileMetadataUriBroadcastItemResult { - __typename?: 'CreateSetProfileMetadataURIBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetProfileMetadataUrieip712TypedData; -} - -/** The set follow nft uri eip 712 typed data */ -export interface CreateSetProfileMetadataUrieip712TypedData { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetProfileMetadataUrieip712TypedDataTypes; - /** The values */ - value: CreateSetProfileMetadataUrieip712TypedDataValue; -} - -/** The set follow nft uri eip 712 typed data types */ -export interface CreateSetProfileMetadataUrieip712TypedDataTypes { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataTypes'; - SetProfileMetadataURIWithSig: Array; -} - -/** The set follow nft uri eip 712 typed data value */ -export interface CreateSetProfileMetadataUrieip712TypedDataValue { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - metadata: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateToggleFollowBroadcastItemResult { - __typename?: 'CreateToggleFollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateToggleFollowEip712TypedData; -} - -/** The create toggle follows eip 712 typed data */ -export interface CreateToggleFollowEip712TypedData { - __typename?: 'CreateToggleFollowEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateToggleFollowEip712TypedDataTypes; - /** The values */ - value: CreateToggleFollowEip712TypedDataValue; -} - -/** The create toggle follows eip 712 typed data types */ -export interface CreateToggleFollowEip712TypedDataTypes { - __typename?: 'CreateToggleFollowEIP712TypedDataTypes'; - ToggleFollowWithSig: Array; -} - -/** The create toggle follow eip 712 typed data value */ -export interface CreateToggleFollowEip712TypedDataValue { - __typename?: 'CreateToggleFollowEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - enables: Array; - nonce: Scalars['Nonce']; - profileIds: Array; -} - -export interface CreateToggleFollowRequest { - enables: Array; - profileIds: Array; -} - -/** The broadcast item */ -export interface CreateUnfollowBroadcastItemResult { - __typename?: 'CreateUnfollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateBurnEip712TypedData; -} - -export interface CurRequest { - secret: Scalars['String']; -} - -/** The custom filters types */ -export type CustomFiltersTypes = - | 'GARDENERS'; - -/** The reason why a profile cannot decrypt a publication */ -export type DecryptFailReason = - | 'COLLECT_NOT_FINALISED_ON_CHAIN' - | 'DOES_NOT_FOLLOW_PROFILE' - | 'DOES_NOT_OWN_NFT' - | 'DOES_NOT_OWN_PROFILE' - | 'FOLLOW_NOT_FINALISED_ON_CHAIN' - | 'HAS_NOT_COLLECTED_PUBLICATION' - | 'MISSING_ENCRYPTION_PARAMS' - | 'PROFILE_DOES_NOT_EXIST' - | 'UNAUTHORIZED_ADDRESS' - | 'UNAUTHORIZED_BALANCE'; - -export interface DefaultProfileRequest { - ethereumAddress: Scalars['EthereumAddress']; -} - -export interface DegreesOfSeparationReferenceModuleParams { - /** Applied to comments */ - commentsRestricted: Scalars['Boolean']; - /** Degrees of separation */ - degreesOfSeparation: Scalars['Int']; - /** Applied to mirrors */ - mirrorsRestricted: Scalars['Boolean']; -} - -export interface DegreesOfSeparationReferenceModuleSettings { - __typename?: 'DegreesOfSeparationReferenceModuleSettings'; - /** Applied to comments */ - commentsRestricted: Scalars['Boolean']; - contractAddress: Scalars['ContractAddress']; - /** Degrees of separation */ - degreesOfSeparation: Scalars['Int']; - /** Applied to mirrors */ - mirrorsRestricted: Scalars['Boolean']; - /** The reference modules enum */ - type: ReferenceModules; -} - -/** The dispatcher */ -export interface Dispatcher { - __typename?: 'Dispatcher'; - /** The dispatcher address */ - address: Scalars['EthereumAddress']; - /** If the dispatcher can use the relay */ - canUseRelay: Scalars['Boolean']; -} - -export interface DoesFollow { - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export interface DoesFollowRequest { - /** The follower infos */ - followInfos: Array; -} - -/** The does follow response */ -export interface DoesFollowResponse { - __typename?: 'DoesFollowResponse'; - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** If the user does follow */ - follows: Scalars['Boolean']; - /** Is finalised on-chain */ - isFinalisedOnChain: Scalars['Boolean']; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** The eip 712 typed data domain */ -export interface Eip712TypedDataDomain { - __typename?: 'EIP712TypedDataDomain'; - /** The chainId */ - chainId: Scalars['ChainId']; - /** The name of the typed data domain */ - name: Scalars['String']; - /** The verifying contract */ - verifyingContract: Scalars['ContractAddress']; - /** The version */ - version: Scalars['String']; -} - -/** The eip 712 typed data field */ -export interface Eip712TypedDataField { - __typename?: 'EIP712TypedDataField'; - /** The name of the typed data field */ - name: Scalars['String']; - /** The type of the typed data field */ - type: Scalars['String']; -} - -export interface ElectedMirror { - __typename?: 'ElectedMirror'; - mirrorId: Scalars['InternalPublicationId']; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -export interface EnabledModule { - __typename?: 'EnabledModule'; - contractAddress: Scalars['ContractAddress']; - inputParams: Array; - moduleName: Scalars['String']; - redeemParams: Array; - returnDataParms: Array; -} - -/** The enabled modules */ -export interface EnabledModules { - __typename?: 'EnabledModules'; - collectModules: Array; - followModules: Array; - referenceModules: Array; -} - -/** The encrypted fields */ -export interface EncryptedFieldsOutput { - __typename?: 'EncryptedFieldsOutput'; - /** The encrypted animation_url field */ - animation_url?: Maybe; - /** The encrypted content field */ - content?: Maybe; - /** The encrypted external_url field */ - external_url?: Maybe; - /** The encrypted image field */ - image?: Maybe; - /** The encrypted media field */ - media?: Maybe>; -} - -/** The Encrypted Media url and metadata */ -export interface EncryptedMedia { - __typename?: 'EncryptedMedia'; - /** The encrypted alt tags for accessibility */ - altTag?: Maybe; - /** The encrypted cover for any video or audio you attached */ - cover?: Maybe; - /** Height - will always be null on the public API */ - height?: Maybe; - /** The image/audio/video mime type for the publication */ - mimeType?: Maybe; - /** Size - will always be null on the public API */ - size?: Maybe; - /** The encrypted value for the URL */ - url: Scalars['Url']; - /** Width - will always be null on the public API */ - width?: Maybe; -} - -/** The encrypted media set */ -export interface EncryptedMediaSet { - __typename?: 'EncryptedMediaSet'; - /** - * Medium media - will always be null on the public API - * @deprecated should not be used will always be null - */ - medium?: Maybe; - /** Original media */ - original: EncryptedMedia; - /** - * Small media - will always be null on the public API - * @deprecated should not be used will always be null - */ - small?: Maybe; -} - -/** The metadata encryption params */ -export interface EncryptionParamsOutput { - __typename?: 'EncryptionParamsOutput'; - /** The access conditions */ - accessCondition: AccessConditionOutput; - /** The encrypted fields */ - encryptedFields: EncryptedFieldsOutput; - /** The encryption provider */ - encryptionProvider: EncryptionProvider; - /** The provider-specific encryption params */ - providerSpecificParams: ProviderSpecificParamsOutput; -} - -/** The gated publication encryption provider */ -export type EncryptionProvider = - | 'LIT_PROTOCOL'; - -export interface EnsOnChainIdentity { - __typename?: 'EnsOnChainIdentity'; - /** The default ens mapped to this address */ - name?: Maybe; -} - -export interface EoaOwnershipInput { - /** The address that will have access to the content */ - address: Scalars['EthereumAddress']; -} - -export interface EoaOwnershipOutput { - __typename?: 'EoaOwnershipOutput'; - /** The address that will have access to the content */ - address: Scalars['EthereumAddress']; -} - -/** The erc20 type */ -export interface Erc20 { - __typename?: 'Erc20'; - /** The erc20 address */ - address: Scalars['ContractAddress']; - /** Decimal places for the token */ - decimals: Scalars['Int']; - /** Name of the symbol */ - name: Scalars['String']; - /** Symbol for the token */ - symbol: Scalars['String']; -} - -export interface Erc20Amount { - __typename?: 'Erc20Amount'; - /** The erc20 token info */ - asset: Erc20; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface Erc20OwnershipInput { - /** The amount of tokens required to access the content */ - amount: Scalars['String']; - /** The amount of tokens required to access the content */ - chainID: Scalars['ChainId']; - /** The operator to use when comparing the amount of tokens */ - condition: ScalarOperator; - /** The ERC20 token's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The amount of decimals of the ERC20 contract */ - decimals: Scalars['Float']; -} - -export interface Erc20OwnershipOutput { - __typename?: 'Erc20OwnershipOutput'; - /** The amount of tokens required to access the content */ - amount: Scalars['String']; - /** The amount of tokens required to access the content */ - chainID: Scalars['ChainId']; - /** The operator to use when comparing the amount of tokens */ - condition: ScalarOperator; - /** The ERC20 token's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The amount of decimals of the ERC20 contract */ - decimals: Scalars['Float']; -} - -/** The paginated publication result */ -export interface ExploreProfileResult { - __typename?: 'ExploreProfileResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface ExploreProfilesRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - sortCriteria: ProfileSortCriteria; - timestamp?: InputMaybe; -} - -export interface ExplorePublicationRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - /** If you wish to exclude any results for profile ids */ - excludeProfileIds?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** If you want the randomizer off (default on) */ - noRandomize?: InputMaybe; - /** The publication types you want to query */ - publicationTypes?: InputMaybe>; - sortCriteria: PublicationSortCriteria; - /** The App Id */ - sources?: InputMaybe>; - timestamp?: InputMaybe; -} - -/** The paginated publication result */ -export interface ExplorePublicationResult { - __typename?: 'ExplorePublicationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface FeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface FeeCollectModuleSettings { - __typename?: 'FeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface FeeFollowModuleParams { - /** The follow module amount info */ - amount: ModuleFeeAmountParams; - /** The follow module recipient address */ - recipient: Scalars['EthereumAddress']; -} - -export interface FeeFollowModuleRedeemParams { - /** The expected amount to pay */ - amount: ModuleFeeAmountParams; -} - -export interface FeeFollowModuleSettings { - __typename?: 'FeeFollowModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The follow modules enum */ - type: FollowModules; -} - -/** The feed event item filter types */ -export type FeedEventItemType = - | 'COLLECT_COMMENT' - | 'COLLECT_POST' - | 'COMMENT' - | 'MIRROR' - | 'POST' - | 'REACTION_COMMENT' - | 'REACTION_POST'; - -export interface FeedHighlightsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface FeedItem { - __typename?: 'FeedItem'; - /** Sorted by most recent first. Resolves defaultProfile and if null omits the wallet collect event from the list. */ - collects: Array; - /** Sorted by most recent first. Up to page size - 1 comments. */ - comments?: Maybe>; - /** The elected mirror will be the first Mirror publication within the page results set */ - electedMirror?: Maybe; - /** Sorted by most recent first. Up to page size - 1 mirrors */ - mirrors: Array; - /** Sorted by most recent first. Up to page size - 1 reactions */ - reactions: Array; - root: FeedItemRoot; -} - -export type FeedItemRoot = Comment | Post; - -export interface FeedRequest { - cursor?: InputMaybe; - /** Filter your feed to whatever you wish */ - feedEventItemTypes?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface Follow { - followModule?: InputMaybe; - profile: Scalars['ProfileId']; -} - -export interface FollowConditionInput { - /** The profile id of the gated profile */ - profileId: Scalars['ProfileId']; -} - -export interface FollowConditionOutput { - __typename?: 'FollowConditionOutput'; - /** The profile id of the gated profile */ - profileId: Scalars['ProfileId']; -} - -export type FollowModule = FeeFollowModuleSettings | ProfileFollowModuleSettings | RevertFollowModuleSettings | UnknownFollowModuleSettings; - -export interface FollowModuleParams { - /** The follower fee follower module */ - feeFollowModule?: InputMaybe; - /** The empty follow module */ - freeFollowModule?: InputMaybe; - /** The profile follow module */ - profileFollowModule?: InputMaybe; - /** The revert follow module */ - revertFollowModule?: InputMaybe; - /** A unknown follow module */ - unknownFollowModule?: InputMaybe; -} - -export interface FollowModuleRedeemParams { - /** The follower fee follower module */ - feeFollowModule?: InputMaybe; - /** The profile follower module */ - profileFollowModule?: InputMaybe; - /** A unknown follow module */ - unknownFollowModule?: InputMaybe; -} - -/** The follow module types */ -export type FollowModules = - | 'FeeFollowModule' - | 'ProfileFollowModule' - | 'RevertFollowModule' - | 'UnknownFollowModule'; - -export interface FollowOnlyReferenceModuleSettings { - __typename?: 'FollowOnlyReferenceModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The reference modules enum */ - type: ReferenceModules; -} - -export interface FollowProxyAction { - freeFollow?: InputMaybe; -} - -export interface FollowRequest { - follow: Array; -} - -export interface FollowRevenueResult { - __typename?: 'FollowRevenueResult'; - revenues: Array; -} - -export interface Follower { - __typename?: 'Follower'; - totalAmountOfTimesFollowed: Scalars['Int']; - wallet: Wallet; -} - -export interface FollowerNftOwnedTokenIds { - __typename?: 'FollowerNftOwnedTokenIds'; - followerNftAddress: Scalars['ContractAddress']; - tokensIds: Array; -} - -export interface FollowerNftOwnedTokenIdsRequest { - address: Scalars['EthereumAddress']; - profileId: Scalars['ProfileId']; -} - -export interface FollowersRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - profileId: Scalars['ProfileId']; -} - -export interface Following { - __typename?: 'Following'; - profile: Profile; - totalAmountOfTimesFollowing: Scalars['Int']; -} - -export interface FollowingRequest { - address: Scalars['EthereumAddress']; - cursor?: InputMaybe; - limit?: InputMaybe; -} - -export interface FraudReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingFraudSubreason; -} - -export interface FreeCollectModuleParams { - /** Follower only */ - followerOnly: Scalars['Boolean']; -} - -export interface FreeCollectModuleSettings { - __typename?: 'FreeCollectModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface FreeCollectProxyAction { - publicationId: Scalars['InternalPublicationId']; -} - -export interface FreeFollowProxyAction { - profileId: Scalars['ProfileId']; -} - -/** The access conditions for the publication */ -export interface GatedPublicationParamsInput { - /** AND condition */ - and?: InputMaybe; - /** Profile follow condition */ - collect?: InputMaybe; - /** The LIT Protocol encrypted symmetric key */ - encryptedSymmetricKey: Scalars['ContentEncryptionKey']; - /** EOA ownership condition */ - eoa?: InputMaybe; - /** Profile follow condition */ - follow?: InputMaybe; - /** NFT ownership condition */ - nft?: InputMaybe; - /** OR condition */ - or?: InputMaybe; - /** Profile ownership condition */ - profile?: InputMaybe; - /** ERC20 token ownership condition */ - token?: InputMaybe; -} - -export interface GenerateModuleCurrencyApproval { - __typename?: 'GenerateModuleCurrencyApproval'; - data: Scalars['BlockchainData']; - from: Scalars['EthereumAddress']; - to: Scalars['ContractAddress']; -} - -export interface GenerateModuleCurrencyApprovalDataRequest { - collectModule?: InputMaybe; - currency: Scalars['ContractAddress']; - followModule?: InputMaybe; - referenceModule?: InputMaybe; - unknownCollectModule?: InputMaybe; - unknownFollowModule?: InputMaybe; - unknownReferenceModule?: InputMaybe; - /** Floating point number as string (e.g. 42.009837). The server will move its decimal places for you */ - value: Scalars['String']; -} - -export interface GetPublicationMetadataStatusRequest { - publicationId?: InputMaybe; - txHash?: InputMaybe; - txId?: InputMaybe; -} - -export interface GlobalProtocolStats { - __typename?: 'GlobalProtocolStats'; - totalBurntProfiles: Scalars['Int']; - totalCollects: Scalars['Int']; - totalComments: Scalars['Int']; - totalFollows: Scalars['Int']; - totalMirrors: Scalars['Int']; - totalPosts: Scalars['Int']; - totalProfiles: Scalars['Int']; - totalRevenue: Array; -} - -export interface GlobalProtocolStatsRequest { - /** Unix time from timestamp - if not supplied it will go from 0 timestamp */ - fromTimestamp?: InputMaybe; - /** The App Id */ - sources?: InputMaybe>; - /** Unix time to timestamp - if not supplied it go to the present timestamp */ - toTimestamp?: InputMaybe; -} - -export interface HasTxHashBeenIndexedRequest { - /** Tx hash.. if your using the broadcaster you should use txId due to gas price upgrades */ - txHash?: InputMaybe; - /** Tx id.. if your using the broadcaster you should always use this field */ - txId?: InputMaybe; -} - -export interface HelRequest { - handle: Scalars['Handle']; - remove: Scalars['Boolean']; - secret: Scalars['String']; -} - -export interface HidePublicationRequest { - /** Publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -export interface IllegalReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingIllegalSubreason; -} - -export interface InternalPublicationsFilterRequest { - cursor?: InputMaybe; - /** must be DD/MM/YYYY */ - fromDate: Scalars['String']; - limit?: InputMaybe; - /** The shared secret */ - secret: Scalars['String']; - /** The App Id */ - source: Scalars['Sources']; - /** must be DD/MM/YYYY */ - toDate: Scalars['String']; -} - -export interface LimitedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** The collect module limit */ - collectLimit: Scalars['String']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface LimitedFeeCollectModuleSettings { - __typename?: 'LimitedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The collect module limit */ - collectLimit: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface LimitedTimedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** The collect module limit */ - collectLimit: Scalars['String']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface LimitedTimedFeeCollectModuleSettings { - __typename?: 'LimitedTimedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The collect module limit */ - collectLimit: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - /** The collect module end timestamp */ - endTimestamp: Scalars['DateTime']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface Log { - __typename?: 'Log'; - address: Scalars['ContractAddress']; - blockHash: Scalars['String']; - blockNumber: Scalars['Int']; - data: Scalars['String']; - logIndex: Scalars['Int']; - removed: Scalars['Boolean']; - topics: Array; - transactionHash: Scalars['TxHash']; - transactionIndex: Scalars['Int']; -} - -export type MainPostReference = Mirror | Post; - -/** The Media url */ -export interface Media { - __typename?: 'Media'; - /** The alt tags for accessibility */ - altTag?: Maybe; - /** The cover for any video or audio you attached */ - cover?: Maybe; - /** Height - will always be null on the public API */ - height?: Maybe; - /** The image/audio/video mime type for the publication */ - mimeType?: Maybe; - /** Size - will always be null on the public API */ - size?: Maybe; - /** The token image nft */ - url: Scalars['Url']; - /** Width - will always be null on the public API */ - width?: Maybe; -} - -/** Media object output */ -export interface MediaOutput { - __typename?: 'MediaOutput'; - /** The alt tags for accessibility */ - altTag?: Maybe; - /** The cover for any video or audio you attached */ - cover?: Maybe; - item: Scalars['Url']; - source?: Maybe; - /** This is the mime type of media */ - type?: Maybe; -} - -/** The Media Set */ -export interface MediaSet { - __typename?: 'MediaSet'; - /** - * Medium media - will always be null on the public API - * @deprecated should not be used will always be null - */ - medium?: Maybe; - /** Original media */ - original: Media; - /** - * Small media - will always be null on the public API - * @deprecated should not be used will always be null - */ - small?: Maybe; -} - -export type MentionPublication = Comment | Post; - -/** The metadata attribute input */ -export interface MetadataAttributeInput { - /** The display type */ - displayType?: InputMaybe; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType: Scalars['String']; - /** The value */ - value: Scalars['String']; -} - -/** The metadata attribute output */ -export interface MetadataAttributeOutput { - __typename?: 'MetadataAttributeOutput'; - /** The display type */ - displayType?: Maybe; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType?: Maybe; - /** The value */ - value?: Maybe; -} - -/** The metadata output */ -export interface MetadataOutput { - __typename?: 'MetadataOutput'; - /** The main focus of the publication */ - animatedUrl?: Maybe; - /** The attributes */ - attributes: Array; - /** This is the metadata content for the publication, should be markdown */ - content?: Maybe; - /** The content warning for the publication */ - contentWarning?: Maybe; - /** The image cover for video/music publications */ - cover?: Maybe; - /** This is the metadata description */ - description?: Maybe; - /** The publication's encryption params in case it's encrypted */ - encryptionParams?: Maybe; - /** This is the image attached to the metadata and the property used to show the NFT! */ - image?: Maybe; - /** The locale of the publication, */ - locale?: Maybe; - /** The main focus of the publication */ - mainContentFocus: PublicationMainFocus; - /** The images/audios/videos for the publication */ - media: Array; - /** The metadata name */ - name?: Maybe; - /** The tags for the publication */ - tags: Array; -} - -/** The social mirror */ -export interface Mirror { - __typename?: 'Mirror'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - dataAvailabilityProofs?: Maybe; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is data availability post */ - isDataAvailability: Scalars['Boolean']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The metadata for the post */ - metadata: MetadataOutput; - /** The mirror publication */ - mirrorOf: MirrorablePublication; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social mirror */ -export interface MirrorCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorReactionArgs { - request?: InputMaybe; -} - -export interface MirrorEvent { - __typename?: 'MirrorEvent'; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -export type MirrorablePublication = Comment | Post; - -export interface ModuleFeeAmount { - __typename?: 'ModuleFeeAmount'; - /** The erc20 token info */ - asset: Erc20; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface ModuleFeeAmountParams { - /** The currency address */ - currency: Scalars['ContractAddress']; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface ModuleInfo { - __typename?: 'ModuleInfo'; - name: Scalars['String']; - type: Scalars['String']; -} - -export interface Mutation { - __typename?: 'Mutation'; - ach?: Maybe; - /** Adds profile interests to the given profile */ - addProfileInterests?: Maybe; - addReaction?: Maybe; - authenticate: AuthenticationResult; - broadcast: RelayResult; - claim: RelayResult; - createAttachMediaData: PublicMediaResults; - createBurnProfileTypedData: CreateBurnProfileBroadcastItemResult; - createCollectTypedData: CreateCollectBroadcastItemResult; - createCommentTypedData: CreateCommentBroadcastItemResult; - createCommentViaDispatcher: RelayResult; - createFollowTypedData: CreateFollowBroadcastItemResult; - createMirrorTypedData: CreateMirrorBroadcastItemResult; - createMirrorViaDispatcher: RelayResult; - createPostTypedData: CreatePostBroadcastItemResult; - createPostViaDispatcher: RelayResult; - createSetDefaultProfileTypedData: SetDefaultProfileBroadcastItemResult; - createSetDispatcherTypedData: CreateSetDispatcherBroadcastItemResult; - createSetFollowModuleTypedData: CreateSetFollowModuleBroadcastItemResult; - createSetFollowNFTUriTypedData: CreateSetFollowNftUriBroadcastItemResult; - createSetProfileImageURITypedData: CreateSetProfileImageUriBroadcastItemResult; - createSetProfileImageURIViaDispatcher: RelayResult; - createSetProfileMetadataTypedData: CreateSetProfileMetadataUriBroadcastItemResult; - createSetProfileMetadataViaDispatcher: RelayResult; - createToggleFollowTypedData: CreateToggleFollowBroadcastItemResult; - createUnfollowTypedData: CreateUnfollowBroadcastItemResult; - hel?: Maybe; - hidePublication?: Maybe; - proxyAction: Scalars['ProxyActionId']; - refresh: AuthenticationResult; - /** Removes profile interests from the given profile */ - removeProfileInterests?: Maybe; - removeReaction?: Maybe; - reportPublication?: Maybe; -} - - -export interface MutationAchArgs { - request: AchRequest; -} - - -export interface MutationAddProfileInterestsArgs { - request: AddProfileInterestsRequest; -} - - -export interface MutationAddReactionArgs { - request: ReactionRequest; -} - - -export interface MutationAuthenticateArgs { - request: SignedAuthChallenge; -} - - -export interface MutationBroadcastArgs { - request: BroadcastRequest; -} - - -export interface MutationClaimArgs { - request: ClaimHandleRequest; -} - - -export interface MutationCreateAttachMediaDataArgs { - request: PublicMediaRequest; -} - - -export interface MutationCreateBurnProfileTypedDataArgs { - options?: InputMaybe; - request: BurnProfileRequest; -} - - -export interface MutationCreateCollectTypedDataArgs { - options?: InputMaybe; - request: CreateCollectRequest; -} - - -export interface MutationCreateCommentTypedDataArgs { - options?: InputMaybe; - request: CreatePublicCommentRequest; -} - - -export interface MutationCreateCommentViaDispatcherArgs { - request: CreatePublicCommentRequest; -} - - -export interface MutationCreateFollowTypedDataArgs { - options?: InputMaybe; - request: FollowRequest; -} - - -export interface MutationCreateMirrorTypedDataArgs { - options?: InputMaybe; - request: CreateMirrorRequest; -} - - -export interface MutationCreateMirrorViaDispatcherArgs { - request: CreateMirrorRequest; -} - - -export interface MutationCreatePostTypedDataArgs { - options?: InputMaybe; - request: CreatePublicPostRequest; -} - - -export interface MutationCreatePostViaDispatcherArgs { - request: CreatePublicPostRequest; -} - - -export interface MutationCreateSetDefaultProfileTypedDataArgs { - options?: InputMaybe; - request: CreateSetDefaultProfileRequest; -} - - -export interface MutationCreateSetDispatcherTypedDataArgs { - options?: InputMaybe; - request: SetDispatcherRequest; -} - - -export interface MutationCreateSetFollowModuleTypedDataArgs { - options?: InputMaybe; - request: CreateSetFollowModuleRequest; -} - - -export interface MutationCreateSetFollowNftUriTypedDataArgs { - options?: InputMaybe; - request: CreateSetFollowNftUriRequest; -} - - -export interface MutationCreateSetProfileImageUriTypedDataArgs { - options?: InputMaybe; - request: UpdateProfileImageRequest; -} - - -export interface MutationCreateSetProfileImageUriViaDispatcherArgs { - request: UpdateProfileImageRequest; -} - - -export interface MutationCreateSetProfileMetadataTypedDataArgs { - options?: InputMaybe; - request: CreatePublicSetProfileMetadataUriRequest; -} - - -export interface MutationCreateSetProfileMetadataViaDispatcherArgs { - request: CreatePublicSetProfileMetadataUriRequest; -} - - -export interface MutationCreateToggleFollowTypedDataArgs { - options?: InputMaybe; - request: CreateToggleFollowRequest; -} - - -export interface MutationCreateUnfollowTypedDataArgs { - options?: InputMaybe; - request: UnfollowRequest; -} - - -export interface MutationHelArgs { - request: HelRequest; -} - - -export interface MutationHidePublicationArgs { - request: HidePublicationRequest; -} - - -export interface MutationProxyActionArgs { - request: ProxyActionRequest; -} - - -export interface MutationRefreshArgs { - request: RefreshRequest; -} - - -export interface MutationRemoveProfileInterestsArgs { - request: RemoveProfileInterestsRequest; -} - - -export interface MutationRemoveReactionArgs { - request: ReactionRequest; -} - - -export interface MutationReportPublicationArgs { - request: ReportPublicationRequest; -} - -export interface MutualFollowersProfilesQueryRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** The profile id your viewing */ - viewingProfileId: Scalars['ProfileId']; - /** The profile id you want the result to come back as your viewing from */ - yourProfileId: Scalars['ProfileId']; -} - -/** The nft type */ -export interface Nft { - __typename?: 'NFT'; - /** aka "1" */ - chainId: Scalars['ChainId']; - /** aka "CryptoKitties" */ - collectionName: Scalars['String']; - /** aka "https://api.criptokitt..." */ - contentURI: Scalars['String']; - /** aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e */ - contractAddress: Scalars['ContractAddress']; - /** aka us CryptoKitties */ - contractName: Scalars['String']; - /** aka "Hey cutie! I m Beard Coffee. .... */ - description: Scalars['String']; - /** aka "ERC721" */ - ercType: Scalars['String']; - /** aka "Beard Coffee" */ - name: Scalars['String']; - /** aka "{ uri:"https://ipfs....", metaType:"image/png" }" */ - originalContent: NftContent; - /** aka { address: 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e, amount:"2" } */ - owners: Array; - /** aka RARI */ - symbol: Scalars['String']; - /** aka "13" */ - tokenId: Scalars['String']; -} - -/** The NFT content uri */ -export interface NftContent { - __typename?: 'NFTContent'; - /** The animated url */ - animatedUrl?: Maybe; - /** The meta type content */ - metaType: Scalars['String']; - /** The token uri nft */ - uri: Scalars['String']; -} - -export interface NftData { - /** Id of the nft ownership challenge */ - id: Scalars['NftOwnershipId']; - /** The signature */ - signature: Scalars['Signature']; -} - -export interface NfTsRequest { - /** Chain Ids */ - chainIds: Array; - /** Filter by contract address */ - contractAddress?: InputMaybe; - cursor?: InputMaybe; - limit?: InputMaybe; - /** Filter by owner address */ - ownerAddress: Scalars['EthereumAddress']; -} - -/** Paginated nft results */ -export interface NfTsResult { - __typename?: 'NFTsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface NewCollectNotification { - __typename?: 'NewCollectNotification'; - collectedPublication: Publication; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - wallet: Wallet; -} - -export interface NewCommentNotification { - __typename?: 'NewCommentNotification'; - comment: Comment; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; -} - -export interface NewFollowerNotification { - __typename?: 'NewFollowerNotification'; - createdAt: Scalars['DateTime']; - isFollowedByMe: Scalars['Boolean']; - notificationId: Scalars['NotificationId']; - wallet: Wallet; -} - -export interface NewMentionNotification { - __typename?: 'NewMentionNotification'; - createdAt: Scalars['DateTime']; - mentionPublication: MentionPublication; - notificationId: Scalars['NotificationId']; -} - -export interface NewMirrorNotification { - __typename?: 'NewMirrorNotification'; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; - publication: MirrorablePublication; -} - -export interface NewReactionNotification { - __typename?: 'NewReactionNotification'; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; - publication: Publication; - reaction: ReactionTypes; -} - -/** The NFT image */ -export interface NftImage { - __typename?: 'NftImage'; - /** The token image nft */ - chainId: Scalars['Int']; - /** The contract address */ - contractAddress: Scalars['ContractAddress']; - /** The token id of the nft */ - tokenId: Scalars['String']; - /** The token image nft */ - uri: Scalars['Url']; - /** If the NFT is verified */ - verified: Scalars['Boolean']; -} - -export interface NftOwnershipChallenge { - /** Chain Id */ - chainId: Scalars['ChainId']; - /** ContractAddress for nft */ - contractAddress: Scalars['ContractAddress']; - /** Token id for NFT */ - tokenId: Scalars['String']; -} - -export interface NftOwnershipChallengeRequest { - /** The wallet address which owns the NFT */ - ethereumAddress: Scalars['EthereumAddress']; - nfts: Array; -} - -/** NFT ownership challenge result */ -export interface NftOwnershipChallengeResult { - __typename?: 'NftOwnershipChallengeResult'; - /** Id of the nft ownership challenge */ - id: Scalars['NftOwnershipId']; - text: Scalars['String']; - /** Timeout of the validation */ - timeout: Scalars['TimestampScalar']; -} - -export interface NftOwnershipInput { - /** The NFT chain id */ - chainID: Scalars['ChainId']; - /** The NFT collection's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The unlocker contract type */ - contractType: ContractType; - /** The optional token ID(s) to check for ownership */ - tokenIds?: InputMaybe>; -} - -export interface NftOwnershipOutput { - __typename?: 'NftOwnershipOutput'; - /** The NFT chain id */ - chainID: Scalars['ChainId']; - /** The NFT collection's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The unlocker contract type */ - contractType: ContractType; - /** The optional token ID(s) to check for ownership */ - tokenIds?: Maybe>; -} - -export type Notification = NewCollectNotification | NewCommentNotification | NewFollowerNotification | NewMentionNotification | NewMirrorNotification | NewReactionNotification; - -export interface NotificationRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - notificationTypes?: InputMaybe>; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -/** The notification filter types */ -export type NotificationTypes = - | 'COLLECTED_COMMENT' - | 'COLLECTED_POST' - | 'COMMENTED_COMMENT' - | 'COMMENTED_POST' - | 'FOLLOWED' - | 'MENTION_COMMENT' - | 'MENTION_POST' - | 'MIRRORED_COMMENT' - | 'MIRRORED_POST' - | 'REACTION_COMMENT' - | 'REACTION_POST'; - -export interface OnChainIdentity { - __typename?: 'OnChainIdentity'; - /** The ens information */ - ens?: Maybe; - /** The POH status */ - proofOfHumanity: Scalars['Boolean']; - /** The sybil dot org information */ - sybilDotOrg: SybilDotOrgIdentity; - /** The worldcoin identity */ - worldcoin: WorldcoinIdentity; -} - -export interface OrConditionInput { - /** The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface OrConditionOutput { - __typename?: 'OrConditionOutput'; - /** The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -/** The nft type */ -export interface Owner { - __typename?: 'Owner'; - /** aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e */ - address: Scalars['EthereumAddress']; - /** number of tokens owner */ - amount: Scalars['Float']; -} - -/** The paginated wallet result */ -export interface PaginatedAllPublicationsTagsResult { - __typename?: 'PaginatedAllPublicationsTagsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated feed result */ -export interface PaginatedFeedResult { - __typename?: 'PaginatedFeedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated followers result */ -export interface PaginatedFollowersResult { - __typename?: 'PaginatedFollowersResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PaginatedFollowingResult { - __typename?: 'PaginatedFollowingResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated notification result */ -export interface PaginatedNotificationResult { - __typename?: 'PaginatedNotificationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated wallet result */ -export interface PaginatedProfilePublicationsForSaleResult { - __typename?: 'PaginatedProfilePublicationsForSaleResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated profile result */ -export interface PaginatedProfileResult { - __typename?: 'PaginatedProfileResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated publication result */ -export interface PaginatedPublicationResult { - __typename?: 'PaginatedPublicationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated result info */ -export interface PaginatedResultInfo { - __typename?: 'PaginatedResultInfo'; - /** Cursor to query next results */ - next?: Maybe; - /** Cursor to query the actual results */ - prev?: Maybe; - /** - * The total number of entities the pagination iterates over. If null it means it - * can not work it out due to dynamic or aggregated query e.g. For a query that - * requests all nfts with more than 10 likes, this field gives the total amount - * of nfts with more than 10 likes, not the total amount of nfts - */ - totalCount?: Maybe; -} - -/** The paginated timeline result */ -export interface PaginatedTimelineResult { - __typename?: 'PaginatedTimelineResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated wallet result */ -export interface PaginatedWhoCollectedResult { - __typename?: 'PaginatedWhoCollectedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PaginatedWhoReactedResult { - __typename?: 'PaginatedWhoReactedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PendingApprovalFollowsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; -} - -/** The paginated follow result */ -export interface PendingApproveFollowsResult { - __typename?: 'PendingApproveFollowsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The social post */ -export interface Post { - __typename?: 'Post'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** - * Who collected it, this is used for timeline results and like this for better caching for the client - * @deprecated use `feed` query, timeline query will be killed on the 15th November. This includes this field. - */ - collectedBy?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - dataAvailabilityProofs?: Maybe; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is data availability post */ - isDataAvailability: Scalars['Boolean']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The metadata for the post */ - metadata: MetadataOutput; - mirrors: Array; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social post */ -export interface PostCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social post */ -export interface PostMirrorsArgs { - by?: InputMaybe; -} - - -/** The social post */ -export interface PostReactionArgs { - request?: InputMaybe; -} - -/** The Profile */ -export interface Profile { - __typename?: 'Profile'; - /** Optionals param to add extra attributes on the metadata */ - attributes?: Maybe>; - /** Bio of the profile */ - bio?: Maybe; - /** The cover picture for the profile */ - coverPicture?: Maybe; - /** The dispatcher */ - dispatcher?: Maybe; - /** The follow module */ - followModule?: Maybe; - /** Follow nft address */ - followNftAddress?: Maybe; - /** The profile handle */ - handle: Scalars['Handle']; - /** The profile id */ - id: Scalars['ProfileId']; - /** The profile interests */ - interests?: Maybe>; - /** Is the profile default */ - isDefault: Scalars['Boolean']; - isFollowedByMe: Scalars['Boolean']; - isFollowing: Scalars['Boolean']; - /** Metadata url */ - metadata?: Maybe; - /** Name of the profile */ - name?: Maybe; - /** The on chain identity */ - onChainIdentity: OnChainIdentity; - /** Who owns the profile */ - ownedBy: Scalars['EthereumAddress']; - /** The picture for the profile */ - picture?: Maybe; - /** Profile stats */ - stats: ProfileStats; -} - - -/** The Profile */ -export interface ProfileIsFollowedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The Profile */ -export interface ProfileIsFollowingArgs { - who?: InputMaybe; -} - -export interface ProfileFollowModuleBeenRedeemedRequest { - followProfileId: Scalars['ProfileId']; - redeemingProfileId: Scalars['ProfileId']; -} - -export interface ProfileFollowModuleRedeemParams { - /** The profile id to use to follow this profile */ - profileId: Scalars['ProfileId']; -} - -export interface ProfileFollowModuleSettings { - __typename?: 'ProfileFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The follow module enum */ - type: FollowModules; -} - -export interface ProfileFollowRevenueQueryRequest { - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export type ProfileMedia = MediaSet | NftImage; - -export interface ProfileOnChainIdentityRequest { - profileIds: Array; -} - -/** Condition that signifies if address has access to profile */ -export interface ProfileOwnershipInput { - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** Condition that signifies if address has access to profile */ -export interface ProfileOwnershipOutput { - __typename?: 'ProfileOwnershipOutput'; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export interface ProfilePublicationRevenueQueryRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; - /** The revenue types */ - types?: InputMaybe>; -} - -/** The paginated revenue result */ -export interface ProfilePublicationRevenueResult { - __typename?: 'ProfilePublicationRevenueResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface ProfilePublicationsForSaleRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface ProfileQueryRequest { - cursor?: InputMaybe; - /** The handles for the profile */ - handles?: InputMaybe>; - limit?: InputMaybe; - /** The ethereum addresses */ - ownedBy?: InputMaybe>; - /** The profile ids */ - profileIds?: InputMaybe>; - /** The mirrored publication id */ - whoMirroredPublicationId?: InputMaybe; -} - -/** Profile search results */ -export interface ProfileSearchResult { - __typename?: 'ProfileSearchResult'; - items: Array; - pageInfo: PaginatedResultInfo; - type: SearchRequestTypes; -} - -/** profile sort criteria */ -export type ProfileSortCriteria = - | 'CREATED_ON' - | 'LATEST_CREATED' - | 'MOST_COLLECTS' - | 'MOST_COMMENTS' - | 'MOST_FOLLOWERS' - | 'MOST_MIRRORS' - | 'MOST_POSTS' - | 'MOST_PUBLICATION'; - -/** The Profile Stats */ -export interface ProfileStats { - __typename?: 'ProfileStats'; - commentsTotal: Scalars['Int']; - id: Scalars['ProfileId']; - mirrorsTotal: Scalars['Int']; - postsTotal: Scalars['Int']; - publicationsTotal: Scalars['Int']; - /** Total collects count */ - totalCollects: Scalars['Int']; - /** Total comment count */ - totalComments: Scalars['Int']; - /** Total follower count */ - totalFollowers: Scalars['Int']; - /** Total following count (remember the wallet follows not profile so will be same for every profile they own) */ - totalFollowing: Scalars['Int']; - /** Total mirror count */ - totalMirrors: Scalars['Int']; - /** Total post count */ - totalPosts: Scalars['Int']; - /** Total publication count */ - totalPublications: Scalars['Int']; -} - - -/** The Profile Stats */ -export interface ProfileStatsCommentsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsMirrorsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsPostsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsPublicationsTotalArgs { - forSources: Array; -} - -/** The provider-specific encryption params */ -export interface ProviderSpecificParamsOutput { - __typename?: 'ProviderSpecificParamsOutput'; - /** The encryption key */ - encryptionKey: Scalars['ContentEncryptionKey']; -} - -export interface ProxyActionError { - __typename?: 'ProxyActionError'; - lastKnownTxId?: Maybe; - reason: Scalars['String']; -} - -export interface ProxyActionQueued { - __typename?: 'ProxyActionQueued'; - queuedAt: Scalars['DateTime']; -} - -export interface ProxyActionRequest { - collect?: InputMaybe; - follow?: InputMaybe; -} - -export interface ProxyActionStatusResult { - __typename?: 'ProxyActionStatusResult'; - status: ProxyActionStatusTypes; - txHash: Scalars['TxHash']; - txId: Scalars['TxId']; -} - -export type ProxyActionStatusResultUnion = ProxyActionError | ProxyActionQueued | ProxyActionStatusResult; - -/** The proxy action status */ -export type ProxyActionStatusTypes = - | 'COMPLETE' - | 'MINTING' - | 'TRANSFERRING'; - -export interface PublicMediaRequest { - /** The alt tags for accessibility */ - altTag?: InputMaybe; - /** The cover for any video or audio you attached */ - cover?: InputMaybe; - /** Pre calculated cid of the file to push */ - itemCid: Scalars['IfpsCid']; - /** This is the mime type of media */ - type?: InputMaybe; -} - -/** The response to upload the attached file */ -export interface PublicMediaResults { - __typename?: 'PublicMediaResults'; - /** ipfs uri to add on the metadata */ - media: MediaOutput; - /** Signed url to push the file */ - signedUrl: Scalars['String']; -} - -export type Publication = Comment | Mirror | Post; - -/** The publication content warning */ -export type PublicationContentWarning = - | 'NSFW' - | 'SENSITIVE' - | 'SPOILER'; - -export type PublicationForSale = Comment | Post; - -/** The publication main focus */ -export type PublicationMainFocus = - | 'ARTICLE' - | 'AUDIO' - | 'EMBED' - | 'IMAGE' - | 'LINK' - | 'TEXT_ONLY' - | 'VIDEO'; - -/** The source of the media */ -export type PublicationMediaSource = - | 'LENS'; - -/** Publication metadata content waring filters */ -export interface PublicationMetadataContentWarningFilter { - /** By default all content warnings will be hidden you can include them in your query by adding them to this array. */ - includeOneOf?: InputMaybe>; -} - -/** The publication metadata display types */ -export type PublicationMetadataDisplayTypes = - | 'date' - | 'number' - | 'string'; - -/** Publication metadata filters */ -export interface PublicationMetadataFilters { - contentWarning?: InputMaybe; - /** - * IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US - * or IT aka en-US or it-IT. You can just filter on language if you wish. - */ - locale?: InputMaybe; - mainContentFocus?: InputMaybe>; - tags?: InputMaybe; -} - -/** The metadata attribute input */ -export interface PublicationMetadataMediaInput { - /** The alt tags for accessibility */ - altTag?: InputMaybe; - /** The cover for any video or audio you attached */ - cover?: InputMaybe; - item: Scalars['Url']; - source?: InputMaybe; - /** This is the mime type of media */ - type?: InputMaybe; -} - -export interface PublicationMetadataStatus { - __typename?: 'PublicationMetadataStatus'; - /** If metadata validation failed it will put a reason why here */ - reason?: Maybe; - status: PublicationMetadataStatusType; -} - -/** publication metadata status type */ -export type PublicationMetadataStatusType = - | 'METADATA_VALIDATION_FAILED' - | 'NOT_FOUND' - | 'PENDING' - | 'SUCCESS'; - -/** Publication metadata tag filter */ -export interface PublicationMetadataTagsFilter { - /** Needs to only match all */ - all?: InputMaybe>; - /** Needs to only match one of */ - oneOf?: InputMaybe>; -} - -export interface PublicationMetadataV1Input { - /** - * A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - * and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - * Animation_url also supports HTML pages, allowing you to build rich - * experiences and interactive NFTs using JavaScript canvas, - * WebGL, and more. Scripts and relative paths within the HTML page are now - * supported. However, access to browser extensions is not supported. - */ - animation_url?: InputMaybe; - /** This is the appId the content belongs to */ - appId?: InputMaybe; - /** These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. */ - attributes: Array; - /** The content of a publication. If this is blank `media` must be defined or its out of spec */ - content?: InputMaybe; - /** A human-readable description of the item. */ - description?: InputMaybe; - /** - * This is the URL that will appear below the asset's image on OpenSea and others etc - * and will allow users to leave OpenSea and view the item on the site. - */ - external_url?: InputMaybe; - /** legacy to support OpenSea will store any NFT image here. */ - image?: InputMaybe; - /** - * This is the mime type of the image. This is used if your uploading more - * advanced cover images as sometimes ipfs does not emit the content header so - * this solves that - */ - imageMimeType?: InputMaybe; - /** This is lens supported attached media items to the publication */ - media?: InputMaybe>; - /** - * The metadata id can be anything but if your uploading to ipfs you will want it - * to be random.. using uuid could be an option! - */ - metadata_id: Scalars['String']; - /** Name of the item. */ - name: Scalars['String']; - /** Signed metadata to validate the owner */ - signatureContext?: InputMaybe; - /** The metadata version. (1.0.0 | 2.0.0) */ - version: Scalars['String']; -} - -export interface PublicationMetadataV2Input { - /** - * A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - * and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - * Animation_url also supports HTML pages, allowing you to build rich - * experiences and interactive NFTs using JavaScript canvas, - * WebGL, and more. Scripts and relative paths within the HTML page are now - * supported. However, access to browser extensions is not supported. - */ - animation_url?: InputMaybe; - /** This is the appId the content belongs to */ - appId?: InputMaybe; - /** These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. */ - attributes: Array; - /** The content of a publication. If this is blank `media` must be defined or its out of spec */ - content?: InputMaybe; - /** Ability to add a content warning */ - contentWarning?: InputMaybe; - /** A human-readable description of the item. */ - description?: InputMaybe; - /** - * This is the URL that will appear below the asset's image on OpenSea and others etc - * and will allow users to leave OpenSea and view the item on the site. - */ - external_url?: InputMaybe; - /** legacy to support OpenSea will store any NFT image here. */ - image?: InputMaybe; - /** - * This is the mime type of the image. This is used if your uploading more - * advanced cover images as sometimes ipfs does not emit the content header so - * this solves that - */ - imageMimeType?: InputMaybe; - /** IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US or IT aka en-US or it-IT */ - locale: Scalars['Locale']; - /** Main content focus that for this publication */ - mainContentFocus: PublicationMainFocus; - /** This is lens supported attached media items to the publication */ - media?: InputMaybe>; - /** - * The metadata id can be anything but if your uploading to ipfs you will want it - * to be random.. using uuid could be an option! - */ - metadata_id: Scalars['String']; - /** Name of the item. */ - name: Scalars['String']; - /** Signed metadata to validate the owner */ - signatureContext?: InputMaybe; - /** Ability to tag your publication */ - tags?: InputMaybe>; - /** The metadata version. (1.0.0 | 2.0.0) */ - version: Scalars['String']; -} - -export interface PublicationQueryRequest { - /** The publication id */ - publicationId?: InputMaybe; - /** The tx hash */ - txHash?: InputMaybe; -} - -/** Publication reporting fraud subreason */ -export type PublicationReportingFraudSubreason = - | 'IMPERSONATION' - | 'SCAM'; - -/** Publication reporting illegal subreason */ -export type PublicationReportingIllegalSubreason = - | 'ANIMAL_ABUSE' - | 'DIRECT_THREAT' - | 'HUMAN_ABUSE' - | 'THREAT_INDIVIDUAL' - | 'VIOLENCE'; - -/** Publication reporting reason */ -export type PublicationReportingReason = - | 'FRAUD' - | 'ILLEGAL' - | 'SENSITIVE' - | 'SPAM'; - -/** Publication reporting sensitive subreason */ -export type PublicationReportingSensitiveSubreason = - | 'NSFW' - | 'OFFENSIVE'; - -/** Publication reporting spam subreason */ -export type PublicationReportingSpamSubreason = - | 'FAKE_ENGAGEMENT' - | 'MANIPULATION_ALGO' - | 'MISLEADING' - | 'MISUSE_HASHTAGS' - | 'REPETITIVE' - | 'SOMETHING_ELSE' - | 'UNRELATED'; - -/** The social comment */ -export interface PublicationRevenue { - __typename?: 'PublicationRevenue'; - publication: Publication; - revenue: RevenueAggregate; -} - -export interface PublicationRevenueQueryRequest { - /** The publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -/** Publication search results */ -export interface PublicationSearchResult { - __typename?: 'PublicationSearchResult'; - items: Array; - pageInfo: PaginatedResultInfo; - type: SearchRequestTypes; -} - -export type PublicationSearchResultItem = Comment | Post; - -export interface PublicationSignatureContextInput { - signature: Scalars['String']; -} - -/** Publication sort criteria */ -export type PublicationSortCriteria = - | 'CURATED_PROFILES' - | 'LATEST' - | 'TOP_COLLECTED' - | 'TOP_COMMENTED' - | 'TOP_MIRRORED'; - -/** The publication stats */ -export interface PublicationStats { - __typename?: 'PublicationStats'; - commentsTotal: Scalars['Int']; - /** The publication id */ - id: Scalars['InternalPublicationId']; - /** The total amount of collects */ - totalAmountOfCollects: Scalars['Int']; - /** The total amount of comments */ - totalAmountOfComments: Scalars['Int']; - /** The total amount of mirrors */ - totalAmountOfMirrors: Scalars['Int']; - /** The total amount of upvotes */ - totalDownvotes: Scalars['Int']; - /** The total amount of downvotes */ - totalUpvotes: Scalars['Int']; -} - - -/** The publication stats */ -export interface PublicationStatsCommentsTotalArgs { - forSources: Array; -} - -/** The publication types */ -export type PublicationTypes = - | 'COMMENT' - | 'MIRROR' - | 'POST'; - -export interface PublicationValidateMetadataResult { - __typename?: 'PublicationValidateMetadataResult'; - /** If `valid` is false it will put a reason why here */ - reason?: Maybe; - valid: Scalars['Boolean']; -} - -export interface PublicationsQueryRequest { - /** The ethereum address */ - collectedBy?: InputMaybe; - /** The publication id you wish to get comments for */ - commentsOf?: InputMaybe; - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** Profile id */ - profileId?: InputMaybe; - /** Profile ids */ - profileIds?: InputMaybe>; - /** The publication id */ - publicationIds?: InputMaybe>; - /** The publication types you want to query */ - publicationTypes?: InputMaybe>; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface Query { - __typename?: 'Query'; - allPublicationsTags: PaginatedAllPublicationsTagsResult; - approvedModuleAllowanceAmount: Array; - challenge: AuthChallengeResult; - claimableHandles: ClaimableHandles; - claimableStatus: ClaimStatus; - cur: Array; - defaultProfile?: Maybe; - doesFollow: Array; - enabledModuleCurrencies: Array; - enabledModules: EnabledModules; - exploreProfiles: ExploreProfileResult; - explorePublications: ExplorePublicationResult; - feed: PaginatedFeedResult; - feedHighlights: PaginatedTimelineResult; - followerNftOwnedTokenIds?: Maybe; - followers: PaginatedFollowersResult; - following: PaginatedFollowingResult; - generateModuleCurrencyApprovalData: GenerateModuleCurrencyApproval; - globalProtocolStats: GlobalProtocolStats; - hasTxHashBeenIndexed: TransactionResult; - internalPublicationFilter: PaginatedPublicationResult; - mutualFollowersProfiles: PaginatedProfileResult; - nftOwnershipChallenge: NftOwnershipChallengeResult; - nfts: NfTsResult; - notifications: PaginatedNotificationResult; - pendingApprovalFollows: PendingApproveFollowsResult; - ping: Scalars['String']; - profile?: Maybe; - profileFollowModuleBeenRedeemed: Scalars['Boolean']; - profileFollowRevenue: FollowRevenueResult; - /** Get the list of profile interests */ - profileInterests: Array; - profileOnChainIdentity: Array; - profilePublicationRevenue: ProfilePublicationRevenueResult; - profilePublicationsForSale: PaginatedProfilePublicationsForSaleResult; - profiles: PaginatedProfileResult; - proxyActionStatus: ProxyActionStatusResultUnion; - publication?: Maybe; - publicationMetadataStatus: PublicationMetadataStatus; - publicationRevenue?: Maybe; - publications: PaginatedPublicationResult; - recommendedProfiles: Array; - rel?: Maybe; - search: SearchResult; - /** @deprecated You should be using feed, this will not be supported after 15th November 2021, please migrate. */ - timeline: PaginatedTimelineResult; - txIdToTxHash: Scalars['TxHash']; - unknownEnabledModules: EnabledModules; - userSigNonces: UserSigNonces; - validatePublicationMetadata: PublicationValidateMetadataResult; - verify: Scalars['Boolean']; - whoCollectedPublication: PaginatedWhoCollectedResult; - whoReactedPublication: PaginatedWhoReactedResult; -} - - -export interface QueryAllPublicationsTagsArgs { - request: AllPublicationsTagsRequest; -} - - -export interface QueryApprovedModuleAllowanceAmountArgs { - request: ApprovedModuleAllowanceAmountRequest; -} - - -export interface QueryChallengeArgs { - request: ChallengeRequest; -} - - -export interface QueryCurArgs { - request: CurRequest; -} - - -export interface QueryDefaultProfileArgs { - request: DefaultProfileRequest; -} - - -export interface QueryDoesFollowArgs { - request: DoesFollowRequest; -} - - -export interface QueryExploreProfilesArgs { - request: ExploreProfilesRequest; -} - - -export interface QueryExplorePublicationsArgs { - request: ExplorePublicationRequest; -} - - -export interface QueryFeedArgs { - request: FeedRequest; -} - - -export interface QueryFeedHighlightsArgs { - request: FeedHighlightsRequest; -} - - -export interface QueryFollowerNftOwnedTokenIdsArgs { - request: FollowerNftOwnedTokenIdsRequest; -} - - -export interface QueryFollowersArgs { - request: FollowersRequest; -} - - -export interface QueryFollowingArgs { - request: FollowingRequest; -} - - -export interface QueryGenerateModuleCurrencyApprovalDataArgs { - request: GenerateModuleCurrencyApprovalDataRequest; -} - - -export interface QueryGlobalProtocolStatsArgs { - request?: InputMaybe; -} - - -export interface QueryHasTxHashBeenIndexedArgs { - request: HasTxHashBeenIndexedRequest; -} - - -export interface QueryInternalPublicationFilterArgs { - request: InternalPublicationsFilterRequest; -} - - -export interface QueryMutualFollowersProfilesArgs { - request: MutualFollowersProfilesQueryRequest; -} - - -export interface QueryNftOwnershipChallengeArgs { - request: NftOwnershipChallengeRequest; -} - - -export interface QueryNftsArgs { - request: NfTsRequest; -} - - -export interface QueryNotificationsArgs { - request: NotificationRequest; -} - - -export interface QueryPendingApprovalFollowsArgs { - request: PendingApprovalFollowsRequest; -} - - -export interface QueryProfileArgs { - request: SingleProfileQueryRequest; -} - - -export interface QueryProfileFollowModuleBeenRedeemedArgs { - request: ProfileFollowModuleBeenRedeemedRequest; -} - - -export interface QueryProfileFollowRevenueArgs { - request: ProfileFollowRevenueQueryRequest; -} - - -export interface QueryProfileOnChainIdentityArgs { - request: ProfileOnChainIdentityRequest; -} - - -export interface QueryProfilePublicationRevenueArgs { - request: ProfilePublicationRevenueQueryRequest; -} - - -export interface QueryProfilePublicationsForSaleArgs { - request: ProfilePublicationsForSaleRequest; -} - - -export interface QueryProfilesArgs { - request: ProfileQueryRequest; -} - - -export interface QueryProxyActionStatusArgs { - proxyActionId: Scalars['ProxyActionId']; -} - - -export interface QueryPublicationArgs { - request: PublicationQueryRequest; -} - - -export interface QueryPublicationMetadataStatusArgs { - request: GetPublicationMetadataStatusRequest; -} - - -export interface QueryPublicationRevenueArgs { - request: PublicationRevenueQueryRequest; -} - - -export interface QueryPublicationsArgs { - request: PublicationsQueryRequest; -} - - -export interface QueryRecommendedProfilesArgs { - options?: InputMaybe; -} - - -export interface QueryRelArgs { - request: RelRequest; -} - - -export interface QuerySearchArgs { - request: SearchQueryRequest; -} - - -export interface QueryTimelineArgs { - request: TimelineRequest; -} - - -export interface QueryTxIdToTxHashArgs { - txId: Scalars['TxId']; -} - - -export interface QueryValidatePublicationMetadataArgs { - request: ValidatePublicationMetadataRequest; -} - - -export interface QueryVerifyArgs { - request: VerifyRequest; -} - - -export interface QueryWhoCollectedPublicationArgs { - request: WhoCollectedPublicationRequest; -} - - -export interface QueryWhoReactedPublicationArgs { - request: WhoReactedPublicationRequest; -} - -export interface ReactionEvent { - __typename?: 'ReactionEvent'; - profile: Profile; - reaction: ReactionTypes; - timestamp: Scalars['DateTime']; -} - -export interface ReactionFieldResolverRequest { - /** Profile id */ - profileId?: InputMaybe; -} - -export interface ReactionRequest { - /** Profile id to perform the action */ - profileId: Scalars['ProfileId']; - /** The internal publication id */ - publicationId: Scalars['InternalPublicationId']; - /** The reaction */ - reaction: ReactionTypes; -} - -/** Reaction types */ -export type ReactionTypes = - | 'DOWNVOTE' - | 'UPVOTE'; - -export interface RecommendedProfileOptions { - /** If you wish to turn ML off */ - disableML?: InputMaybe; - /** If you wish to shuffle the results */ - shuffle?: InputMaybe; -} - -export type ReferenceModule = DegreesOfSeparationReferenceModuleSettings | FollowOnlyReferenceModuleSettings | UnknownReferenceModuleSettings; - -export interface ReferenceModuleParams { - /** The degrees of seperation reference module */ - degreesOfSeparationReferenceModule?: InputMaybe; - /** The follower only reference module */ - followerOnlyReferenceModule?: InputMaybe; - /** A unknown reference module */ - unknownReferenceModule?: InputMaybe; -} - -/** The reference module types */ -export type ReferenceModules = - | 'DegreesOfSeparationReferenceModule' - | 'FollowerOnlyReferenceModule' - | 'UnknownReferenceModule'; - -/** The refresh request */ -export interface RefreshRequest { - /** The refresh token */ - refreshToken: Scalars['Jwt']; -} - -export interface RelRequest { - ethereumAddress: Scalars['EthereumAddress']; - secret: Scalars['String']; -} - -export interface RelayError { - __typename?: 'RelayError'; - reason: RelayErrorReasons; -} - -/** Relay error reason */ -export type RelayErrorReasons = - | 'EXPIRED' - | 'HANDLE_TAKEN' - | 'NOT_ALLOWED' - | 'REJECTED' - | 'WRONG_WALLET_SIGNED'; - -export type RelayResult = RelayError | RelayerResult; - -/** The relayer result */ -export interface RelayerResult { - __typename?: 'RelayerResult'; - /** The tx hash - you should use the `txId` as your identifier as gas prices can be upgraded meaning txHash will change */ - txHash: Scalars['TxHash']; - /** The tx id */ - txId: Scalars['TxId']; -} - -/** The request object to remove interests from a profile */ -export interface RemoveProfileInterestsRequest { - /** The profile interest to add */ - interests: Array; - /** The profileId to add interests to */ - profileId: Scalars['ProfileId']; -} - -export interface ReportPublicationRequest { - additionalComments?: InputMaybe; - publicationId: Scalars['InternalPublicationId']; - reason: ReportingReasonInputParams; -} - -export interface ReportingReasonInputParams { - fraudReason?: InputMaybe; - illegalReason?: InputMaybe; - sensitiveReason?: InputMaybe; - spamReason?: InputMaybe; -} - -export interface ReservedClaimableHandle { - __typename?: 'ReservedClaimableHandle'; - expiry: Scalars['DateTime']; - handle: Scalars['Handle']; - id: Scalars['HandleClaimIdScalar']; - source: Scalars['String']; -} - -export interface RevenueAggregate { - __typename?: 'RevenueAggregate'; - total: Erc20Amount; -} - -export interface RevertCollectModuleSettings { - __typename?: 'RevertCollectModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface RevertFollowModuleSettings { - __typename?: 'RevertFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The follow module enum */ - type: FollowModules; -} - -/** The gated publication access criteria scalar operators */ -export type ScalarOperator = - | 'EQUAL' - | 'GREATER_THAN' - | 'GREATER_THAN_OR_EQUAL' - | 'LESS_THAN' - | 'LESS_THAN_OR_EQUAL' - | 'NOT_EQUAL'; - -export interface SearchQueryRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - /** The search term */ - query: Scalars['Search']; - /** The App Id */ - sources?: InputMaybe>; - type: SearchRequestTypes; -} - -/** Search request types */ -export type SearchRequestTypes = - | 'PROFILE' - | 'PUBLICATION'; - -export type SearchResult = ProfileSearchResult | PublicationSearchResult; - -export interface SensitiveReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingSensitiveSubreason; -} - -/** The broadcast item */ -export interface SetDefaultProfileBroadcastItemResult { - __typename?: 'SetDefaultProfileBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: SetDefaultProfileEip712TypedData; -} - -/** The default profile eip 712 typed data */ -export interface SetDefaultProfileEip712TypedData { - __typename?: 'SetDefaultProfileEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: SetDefaultProfileEip712TypedDataTypes; - /** The values */ - value: SetDefaultProfileEip712TypedDataValue; -} - -/** The default profile eip 712 typed data types */ -export interface SetDefaultProfileEip712TypedDataTypes { - __typename?: 'SetDefaultProfileEIP712TypedDataTypes'; - SetDefaultProfileWithSig: Array; -} - -/** The default profile eip 712 typed data value */ -export interface SetDefaultProfileEip712TypedDataValue { - __typename?: 'SetDefaultProfileEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - wallet: Scalars['EthereumAddress']; -} - -export interface SetDispatcherRequest { - /** - * The dispatcher address - they can post, comment, mirror, set follow module, - * change your profile picture on your behalf, if left as none it will use the - * built in dispatcher address. - */ - dispatcher?: InputMaybe; - /** If you want to enable or disable it */ - enable?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** The signed auth challenge */ -export interface SignedAuthChallenge { - /** The ethereum address you signed the signature with */ - address: Scalars['EthereumAddress']; - /** The signature */ - signature: Scalars['Signature']; -} - -export interface SingleProfileQueryRequest { - /** The handle for the profile */ - handle?: InputMaybe; - /** The profile id */ - profileId?: InputMaybe; -} - -export interface SpamReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingSpamSubreason; -} - -export interface SybilDotOrgIdentity { - __typename?: 'SybilDotOrgIdentity'; - source: SybilDotOrgIdentitySource; - /** The sybil dot org status */ - verified: Scalars['Boolean']; -} - -export interface SybilDotOrgIdentitySource { - __typename?: 'SybilDotOrgIdentitySource'; - twitter: SybilDotOrgTwitterIdentity; -} - -export interface SybilDotOrgTwitterIdentity { - __typename?: 'SybilDotOrgTwitterIdentity'; - handle?: Maybe; -} - -/** The social comment */ -export interface TagResult { - __typename?: 'TagResult'; - /** The tag */ - tag: Scalars['PublicationTag']; - /** The total amount of publication tagged */ - total: Scalars['Int']; -} - -/** The publications tags sort criteria */ -export type TagSortCriteria = - | 'ALPHABETICAL' - | 'MOST_POPULAR'; - -export interface TimedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface TimedFeeCollectModuleSettings { - __typename?: 'TimedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** The collect module end timestamp */ - endTimestamp: Scalars['DateTime']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface TimelineRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; - /** The timeline types you wish to include, if nothing passed in will bring back all */ - timelineTypes?: InputMaybe>; -} - -/** Timeline types */ -export type TimelineType = - | 'COLLECT_COMMENT' - | 'COLLECT_POST' - | 'COMMENT' - | 'MIRROR' - | 'POST'; - -export interface TransactionError { - __typename?: 'TransactionError'; - reason: TransactionErrorReasons; - txReceipt?: Maybe; -} - -/** Transaction error reason */ -export type TransactionErrorReasons = - | 'REVERTED'; - -export interface TransactionIndexedResult { - __typename?: 'TransactionIndexedResult'; - indexed: Scalars['Boolean']; - /** - * Publications can be indexed but the ipfs link for example not findable for x - * time. This allows you to work that out for publications. If its not a - * publication tx then it always be null. - */ - metadataStatus?: Maybe; - txHash: Scalars['TxHash']; - txReceipt?: Maybe; -} - -export interface TransactionReceipt { - __typename?: 'TransactionReceipt'; - blockHash: Scalars['String']; - blockNumber: Scalars['Int']; - byzantium: Scalars['Boolean']; - confirmations: Scalars['Int']; - contractAddress?: Maybe; - cumulativeGasUsed: Scalars['String']; - effectiveGasPrice: Scalars['String']; - from: Scalars['EthereumAddress']; - gasUsed: Scalars['String']; - logs: Array; - logsBloom: Scalars['String']; - root?: Maybe; - status?: Maybe; - to?: Maybe; - transactionHash: Scalars['TxHash']; - transactionIndex: Scalars['Int']; - type: Scalars['Int']; -} - -export type TransactionResult = TransactionError | TransactionIndexedResult; - -export interface TypedDataOptions { - /** If you wish to override the nonce for the sig if you want to do some clever stuff in the client */ - overrideSigNonce: Scalars['Nonce']; -} - -export interface UnfollowRequest { - profile: Scalars['ProfileId']; -} - -export interface UnknownCollectModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownCollectModuleSettings { - __typename?: 'UnknownCollectModuleSettings'; - /** The data used to setup the module which you can decode with your known ABI */ - collectModuleReturnData: Scalars['CollectModuleData']; - contractAddress: Scalars['ContractAddress']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface UnknownFollowModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownFollowModuleRedeemParams { - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownFollowModuleSettings { - __typename?: 'UnknownFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The data used to setup the module which you can decode with your known ABI */ - followModuleReturnData: Scalars['FollowModuleData']; - /** The follow modules enum */ - type: FollowModules; -} - -export interface UnknownReferenceModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownReferenceModuleSettings { - __typename?: 'UnknownReferenceModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The data used to setup the module which you can decode with your known ABI */ - referenceModuleReturnData: Scalars['ReferenceModuleData']; - /** The reference modules enum */ - type: ReferenceModules; -} - -export interface UpdateProfileImageRequest { - /** The nft data */ - nftData?: InputMaybe; - profileId: Scalars['ProfileId']; - /** The url to the image if offline */ - url?: InputMaybe; -} - -export interface UserSigNonces { - __typename?: 'UserSigNonces'; - lensHubOnChainSigNonce: Scalars['Nonce']; - peripheryOnChainSigNonce: Scalars['Nonce']; -} - -export interface ValidatePublicationMetadataRequest { - metadatav1?: InputMaybe; - metadatav2?: InputMaybe; -} - -/** The access request */ -export interface VerifyRequest { - /** The access token */ - accessToken: Scalars['Jwt']; -} - -export interface Wallet { - __typename?: 'Wallet'; - address: Scalars['EthereumAddress']; - /** - * The default profile for the wallet for now it is just their first profile, - * this will be the default profile they picked soon enough - */ - defaultProfile?: Maybe; -} - -export interface WhoCollectedPublicationRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** Internal publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -export interface WhoReactedPublicationRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** Internal publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -/** The Profile */ -export interface WhoReactedResult { - __typename?: 'WhoReactedResult'; - profile: Profile; - /** The reaction */ - reaction: ReactionTypes; - /** The reaction */ - reactionAt: Scalars['DateTime']; - /** The reaction id */ - reactionId: Scalars['ReactionId']; -} - -export interface WorldcoinIdentity { - __typename?: 'WorldcoinIdentity'; - /** If the profile has verified as a user */ - isHuman: Scalars['Boolean']; -} diff --git a/libs/moloch-v3-data/src/subgraph/schema-lens.graphql b/libs/moloch-v3-data/src/subgraph/schema-lens.graphql deleted file mode 100644 index 6531d1d7..00000000 --- a/libs/moloch-v3-data/src/subgraph/schema-lens.graphql +++ /dev/null @@ -1,3730 +0,0 @@ -"""Exposes a URL that specifies the behaviour of this scalar.""" -directive @specifiedBy( - """The URL that specifies the behaviour of this scalar.""" - url: String! -) on SCALAR - -"""The access conditions for the publication""" -input AccessConditionInput { - """NFT ownership condition""" - nft: NftOwnershipInput - - """ERC20 token ownership condition""" - token: Erc20OwnershipInput - - """EOA ownership condition""" - eoa: EoaOwnershipInput - - """Profile ownership condition""" - profile: ProfileOwnershipInput - - """Profile follow condition""" - follow: FollowConditionInput - - """Profile follow condition""" - collect: CollectConditionInput - - """AND condition""" - and: AndConditionInput - - """OR condition""" - or: OrConditionInput -} - -"""The access conditions for the publication""" -type AccessConditionOutput { - """NFT ownership condition""" - nft: NftOwnershipOutput - - """ERC20 token ownership condition""" - token: Erc20OwnershipOutput - - """EOA ownership condition""" - eoa: EoaOwnershipOutput - - """Profile ownership condition""" - profile: ProfileOwnershipOutput - - """Profile follow condition""" - follow: FollowConditionOutput - - """Profile follow condition""" - collect: CollectConditionOutput - - """AND condition""" - and: AndConditionOutput - - """OR condition""" - or: OrConditionOutput -} - -input AchRequest { - secret: String! - ethereumAddress: EthereumAddress! - handle: CreateHandle - freeTextHandle: Boolean - overrideTradeMark: Boolean! - overrideAlreadyClaimed: Boolean! -} - -"""The request object to add interests to a profile""" -input AddProfileInterestsRequest { - """The profile interest to add""" - interests: [ProfileInterest!]! - - """The profileId to add interests to""" - profileId: ProfileId! -} - -input AllPublicationsTagsRequest { - limit: LimitScalar - cursor: Cursor - sort: TagSortCriteria! - - """The App Id""" - source: Sources -} - -input AndConditionInput { - """ - The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionInput!]! -} - -type AndConditionOutput { - """ - The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionOutput!]! -} - -type ApprovedAllowanceAmount { - currency: ContractAddress! - module: String! - contractAddress: ContractAddress! - allowance: String! -} - -input ApprovedModuleAllowanceAmountRequest { - """ - The contract addresses for the module approved currencies you want to find information on about the user - """ - currencies: [ContractAddress!]! - collectModules: [CollectModules!] = [] - unknownCollectModules: [ContractAddress!] = [] - followModules: [FollowModules!] = [] - unknownFollowModules: [ContractAddress!] = [] - referenceModules: [ReferenceModules!] = [] - unknownReferenceModules: [ContractAddress!] = [] -} - -"""The Profile""" -type Attribute { - """The display type""" - displayType: String - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String - - """identifier of this attribute, we will update by this id """ - key: String! - - """Value attribute""" - value: String! -} - -"""The auth challenge result""" -type AuthChallengeResult { - """The text to sign""" - text: String! -} - -"""The authentication result""" -type AuthenticationResult { - """The access token""" - accessToken: Jwt! - - """The refresh token""" - refreshToken: Jwt! -} - -"""Blockchain data scalar type""" -scalar BlockchainData - -"""Broadcast scalar id type""" -scalar BroadcastId - -input BroadcastRequest { - id: BroadcastId! - signature: Signature! -} - -input BurnProfileRequest { - profileId: ProfileId! -} - -type CanCommentResponse { - result: Boolean! -} - -type CanDecryptResponse { - result: Boolean! - reasons: [DecryptFailReason!] -} - -type CanMirrorResponse { - result: Boolean! -} - -"""ChainId custom scalar type""" -scalar ChainId - -"""The challenge request""" -input ChallengeRequest { - """The ethereum address you want to login with""" - address: EthereumAddress! -} - -type ClaimableHandles { - reservedHandles: [ReservedClaimableHandle!]! - canClaimFreeTextHandle: Boolean! -} - -input ClaimHandleRequest { - id: HandleClaimIdScalar - freeTextHandle: CreateHandle - - """The follow module""" - followModule: FollowModuleParams -} - -"""The claim status""" -enum ClaimStatus { - ALREADY_CLAIMED - CLAIM_FAILED - NOT_CLAIMED -} - -""" -Condition that signifies if address or profile has collected a publication -""" -input CollectConditionInput { - """The publication id that has to be collected to unlock content""" - publicationId: InternalPublicationId - - """True if the content will be unlocked for this specific publication""" - thisPublication: Boolean -} - -""" -Condition that signifies if address or profile has collected a publication -""" -type CollectConditionOutput { - """The publication id that has to be collected to unlock content""" - publicationId: InternalPublicationId - - """True if the content will be unlocked for this specific publication""" - thisPublication: Boolean -} - -type CollectedEvent { - profile: Profile! - timestamp: DateTime! -} - -union CollectModule = FreeCollectModuleSettings | FeeCollectModuleSettings | LimitedFeeCollectModuleSettings | LimitedTimedFeeCollectModuleSettings | RevertCollectModuleSettings | TimedFeeCollectModuleSettings | UnknownCollectModuleSettings - -"""collect module data scalar type""" -scalar CollectModuleData - -input CollectModuleParams { - """The collect empty collect module""" - freeCollectModule: FreeCollectModuleParams - - """The collect revert collect module""" - revertCollectModule: Boolean - - """The collect fee collect module""" - feeCollectModule: FeeCollectModuleParams - - """The collect limited fee collect module""" - limitedFeeCollectModule: LimitedFeeCollectModuleParams - - """The collect limited timed fee collect module""" - limitedTimedFeeCollectModule: LimitedTimedFeeCollectModuleParams - - """The collect timed fee collect module""" - timedFeeCollectModule: TimedFeeCollectModuleParams - - """A unknown collect module""" - unknownCollectModule: UnknownCollectModuleParams -} - -"""The collect module types""" -enum CollectModules { - LimitedFeeCollectModule - FeeCollectModule - LimitedTimedFeeCollectModule - TimedFeeCollectModule - RevertCollectModule - FreeCollectModule - UnknownCollectModule -} - -input CollectProxyAction { - freeCollect: FreeCollectProxyAction -} - -"""The social comment""" -type Comment { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """Indicates if the publication is data availability post""" - isDataAvailability: Boolean! - - """The top level post/mirror this comment lives on""" - mainPost: MainPostReference! - - """ - Which comment this points to if its null the pointer too deep so do another query to find it out - """ - commentOn: Publication - - """ - This will bring back the first comment of a comment and only be defined if using `publication` query and `commentOf` - """ - firstComment: Comment - - """ - Who collected it, this is used for timeline results and like this for better caching for the client - """ - collectedBy: Wallet - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! - dataAvailabilityProofs: String - mirrors(by: ProfileId): [InternalPublicationId!]! -} - -"""ContentEncryptionKey scalar type""" -scalar ContentEncryptionKey - -"""Contract address custom scalar type""" -scalar ContractAddress - -"""The gated publication access criteria contract types""" -enum ContractType { - ERC721 - ERC1155 - ERC20 -} - -"""The create burn eip 712 typed data""" -type CreateBurnEIP712TypedData { - """The types""" - types: CreateBurnEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateBurnEIP712TypedDataValue! -} - -"""The create burn eip 712 typed data types""" -type CreateBurnEIP712TypedDataTypes { - BurnWithSig: [EIP712TypedDataField!]! -} - -"""The create burn eip 712 typed data value""" -type CreateBurnEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - tokenId: String! -} - -"""The broadcast item""" -type CreateBurnProfileBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateBurnEIP712TypedData! -} - -"""The broadcast item""" -type CreateCollectBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateCollectEIP712TypedData! -} - -"""The collect eip 712 typed data""" -type CreateCollectEIP712TypedData { - """The types""" - types: CreateCollectEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateCollectEIP712TypedDataValue! -} - -"""The collect eip 712 typed data types""" -type CreateCollectEIP712TypedDataTypes { - CollectWithSig: [EIP712TypedDataField!]! -} - -"""The collect eip 712 typed data value""" -type CreateCollectEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - pubId: PublicationId! - data: BlockchainData! -} - -input CreateCollectRequest { - publicationId: InternalPublicationId! - - """The encoded data to collect with if using an unknown module""" - unknownModuleData: BlockchainData -} - -"""The broadcast item""" -type CreateCommentBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateCommentEIP712TypedData! -} - -"""The create comment eip 712 typed data""" -type CreateCommentEIP712TypedData { - """The types""" - types: CreateCommentEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateCommentEIP712TypedDataValue! -} - -"""The create comment eip 712 typed data types""" -type CreateCommentEIP712TypedDataTypes { - CommentWithSig: [EIP712TypedDataField!]! -} - -"""The create comment eip 712 typed data value""" -type CreateCommentEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - contentURI: PublicationUrl! - profileIdPointed: ProfileId! - pubIdPointed: PublicationId! - collectModule: ContractAddress! - collectModuleInitData: CollectModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! - referenceModuleData: ReferenceModuleData! -} - -"""The broadcast item""" -type CreateFollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateFollowEIP712TypedData! -} - -"""The create follow eip 712 typed data""" -type CreateFollowEIP712TypedData { - """The types""" - types: CreateFollowEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateFollowEIP712TypedDataValue! -} - -"""The create follow eip 712 typed data types""" -type CreateFollowEIP712TypedDataTypes { - FollowWithSig: [EIP712TypedDataField!]! -} - -"""The create follow eip 712 typed data value""" -type CreateFollowEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileIds: [ProfileId!]! - datas: [BlockchainData!]! -} - -"""create handle custom scalar type""" -scalar CreateHandle - -"""The broadcast item""" -type CreateMirrorBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateMirrorEIP712TypedData! -} - -"""The mirror eip 712 typed data""" -type CreateMirrorEIP712TypedData { - """The types""" - types: CreateMirrorEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateMirrorEIP712TypedDataValue! -} - -"""The mirror eip 712 typed data types""" -type CreateMirrorEIP712TypedDataTypes { - MirrorWithSig: [EIP712TypedDataField!]! -} - -"""The mirror eip 712 typed data value""" -type CreateMirrorEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - profileIdPointed: ProfileId! - pubIdPointed: PublicationId! - referenceModuleData: ReferenceModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! -} - -input CreateMirrorRequest { - """Profile id""" - profileId: ProfileId! - - """ - Publication id of what you want to mirror on remember if this is a comment it will be that as the id - """ - publicationId: InternalPublicationId! - - """The reference module info""" - referenceModule: ReferenceModuleParams -} - -"""The broadcast item""" -type CreatePostBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreatePostEIP712TypedData! -} - -"""The create post eip 712 typed data""" -type CreatePostEIP712TypedData { - """The types""" - types: CreatePostEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreatePostEIP712TypedDataValue! -} - -"""The create post eip 712 typed data types""" -type CreatePostEIP712TypedDataTypes { - PostWithSig: [EIP712TypedDataField!]! -} - -"""The create post eip 712 typed data value""" -type CreatePostEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - contentURI: PublicationUrl! - collectModule: ContractAddress! - collectModuleInitData: CollectModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! -} - -input CreatePublicCommentRequest { - """Profile id""" - profileId: ProfileId! - - """ - Publication id of what your comments on remember if this is a comment you commented on it will be that as the id - """ - publicationId: InternalPublicationId! - - """The metadata uploaded somewhere passing in the url to reach it""" - contentURI: Url! - - """The collect module""" - collectModule: CollectModuleParams! - - """The reference module""" - referenceModule: ReferenceModuleParams - - """The criteria to access the publication data""" - gated: GatedPublicationParamsInput -} - -input CreatePublicPostRequest { - """Profile id""" - profileId: ProfileId! - - """The metadata uploaded somewhere passing in the url to reach it""" - contentURI: Url! - - """The collect module""" - collectModule: CollectModuleParams! - - """The reference module""" - referenceModule: ReferenceModuleParams - - """The criteria to access the publication data""" - gated: GatedPublicationParamsInput -} - -input CreatePublicSetProfileMetadataURIRequest { - """Profile id""" - profileId: ProfileId! - - """The metadata uploaded somewhere passing in the url to reach it""" - metadata: Url! -} - -input CreateSetDefaultProfileRequest { - """Profile id""" - profileId: ProfileId! -} - -"""The broadcast item""" -type CreateSetDispatcherBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetDispatcherEIP712TypedData! -} - -"""The set dispatcher eip 712 typed data""" -type CreateSetDispatcherEIP712TypedData { - """The types""" - types: CreateSetDispatcherEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetDispatcherEIP712TypedDataValue! -} - -"""The set dispatcher eip 712 typed data types""" -type CreateSetDispatcherEIP712TypedDataTypes { - SetDispatcherWithSig: [EIP712TypedDataField!]! -} - -"""The set dispatcher eip 712 typed data value""" -type CreateSetDispatcherEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - dispatcher: EthereumAddress! -} - -"""The broadcast item""" -type CreateSetFollowModuleBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetFollowModuleEIP712TypedData! -} - -"""The set follow module eip 712 typed data""" -type CreateSetFollowModuleEIP712TypedData { - """The types""" - types: CreateSetFollowModuleEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetFollowModuleEIP712TypedDataValue! -} - -"""The set follow module eip 712 typed data types""" -type CreateSetFollowModuleEIP712TypedDataTypes { - SetFollowModuleWithSig: [EIP712TypedDataField!]! -} - -"""The set follow module eip 712 typed data value""" -type CreateSetFollowModuleEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - followModule: ContractAddress! - followModuleInitData: FollowModuleData! -} - -input CreateSetFollowModuleRequest { - profileId: ProfileId! - - """The follow module info""" - followModule: FollowModuleParams! -} - -"""The broadcast item""" -type CreateSetFollowNFTUriBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetFollowNFTUriEIP712TypedData! -} - -"""The set follow nft uri eip 712 typed data""" -type CreateSetFollowNFTUriEIP712TypedData { - """The types""" - types: CreateSetFollowNFTUriEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetFollowNFTUriEIP712TypedDataValue! -} - -"""The set follow nft uri eip 712 typed data types""" -type CreateSetFollowNFTUriEIP712TypedDataTypes { - SetFollowNFTURIWithSig: [EIP712TypedDataField!]! -} - -"""The set follow nft uri eip 712 typed data value""" -type CreateSetFollowNFTUriEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - followNFTURI: Url! -} - -input CreateSetFollowNFTUriRequest { - profileId: ProfileId! - - """ - The follow NFT URI is the NFT metadata your followers will mint when they - follow you. This can be updated at all times. If you do not pass in anything - it will create a super cool changing NFT which will show the last publication - of your profile as the NFT which looks awesome! This means people do not have - to worry about writing this logic but still have the ability to customise it - for their followers - """ - followNFTURI: Url -} - -"""The broadcast item""" -type CreateSetProfileImageUriBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetProfileImageUriEIP712TypedData! -} - -"""The set profile uri eip 712 typed data""" -type CreateSetProfileImageUriEIP712TypedData { - """The types""" - types: CreateSetProfileImageUriEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetProfileImageUriEIP712TypedDataValue! -} - -"""The set profile image uri eip 712 typed data types""" -type CreateSetProfileImageUriEIP712TypedDataTypes { - SetProfileImageURIWithSig: [EIP712TypedDataField!]! -} - -"""The set profile uri eip 712 typed data value""" -type CreateSetProfileImageUriEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - imageURI: Url! -} - -"""The broadcast item""" -type CreateSetProfileMetadataURIBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetProfileMetadataURIEIP712TypedData! -} - -"""The set follow nft uri eip 712 typed data""" -type CreateSetProfileMetadataURIEIP712TypedData { - """The types""" - types: CreateSetProfileMetadataURIEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetProfileMetadataURIEIP712TypedDataValue! -} - -"""The set follow nft uri eip 712 typed data types""" -type CreateSetProfileMetadataURIEIP712TypedDataTypes { - SetProfileMetadataURIWithSig: [EIP712TypedDataField!]! -} - -"""The set follow nft uri eip 712 typed data value""" -type CreateSetProfileMetadataURIEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - metadata: Url! -} - -"""The broadcast item""" -type CreateToggleFollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateToggleFollowEIP712TypedData! -} - -"""The create toggle follows eip 712 typed data""" -type CreateToggleFollowEIP712TypedData { - """The types""" - types: CreateToggleFollowEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateToggleFollowEIP712TypedDataValue! -} - -"""The create toggle follows eip 712 typed data types""" -type CreateToggleFollowEIP712TypedDataTypes { - ToggleFollowWithSig: [EIP712TypedDataField!]! -} - -"""The create toggle follow eip 712 typed data value""" -type CreateToggleFollowEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileIds: [ProfileId!]! - enables: [Boolean!]! -} - -input CreateToggleFollowRequest { - profileIds: [ProfileId!]! - enables: [Boolean!]! -} - -"""The broadcast item""" -type CreateUnfollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateBurnEIP712TypedData! -} - -input CurRequest { - secret: String! -} - -"""Cursor custom scalar type""" -scalar Cursor - -"""The custom filters types""" -enum CustomFiltersTypes { - GARDENERS -} - -""" -The javascript `Date` as string. Type represents date and time as the ISO Date string. -""" -scalar DateTime - -"""The reason why a profile cannot decrypt a publication""" -enum DecryptFailReason { - UNAUTHORIZED_ADDRESS - DOES_NOT_OWN_NFT - DOES_NOT_OWN_PROFILE - DOES_NOT_FOLLOW_PROFILE - HAS_NOT_COLLECTED_PUBLICATION - UNAUTHORIZED_BALANCE - PROFILE_DOES_NOT_EXIST - MISSING_ENCRYPTION_PARAMS - FOLLOW_NOT_FINALISED_ON_CHAIN - COLLECT_NOT_FINALISED_ON_CHAIN -} - -input DefaultProfileRequest { - ethereumAddress: EthereumAddress! -} - -input DegreesOfSeparationReferenceModuleParams { - """Applied to comments""" - commentsRestricted: Boolean! - - """Applied to mirrors""" - mirrorsRestricted: Boolean! - - """Degrees of separation""" - degreesOfSeparation: Int! -} - -type DegreesOfSeparationReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! - - """Applied to comments""" - commentsRestricted: Boolean! - - """Applied to mirrors""" - mirrorsRestricted: Boolean! - - """Degrees of separation""" - degreesOfSeparation: Int! -} - -"""The dispatcher""" -type Dispatcher { - """The dispatcher address""" - address: EthereumAddress! - - """If the dispatcher can use the relay""" - canUseRelay: Boolean! -} - -input DoesFollow { - """The follower address remember wallets follow profiles""" - followerAddress: EthereumAddress! - - """The profile id""" - profileId: ProfileId! -} - -input DoesFollowRequest { - """The follower infos""" - followInfos: [DoesFollow!]! -} - -"""The does follow response""" -type DoesFollowResponse { - """The follower address remember wallets follow profiles""" - followerAddress: EthereumAddress! - - """The profile id""" - profileId: ProfileId! - - """If the user does follow""" - follows: Boolean! - - """Is finalised on-chain""" - isFinalisedOnChain: Boolean! -} - -"""The eip 712 typed data domain""" -type EIP712TypedDataDomain { - """The name of the typed data domain""" - name: String! - - """The chainId""" - chainId: ChainId! - - """The version""" - version: String! - - """The verifying contract""" - verifyingContract: ContractAddress! -} - -"""The eip 712 typed data field""" -type EIP712TypedDataField { - """The name of the typed data field""" - name: String! - - """The type of the typed data field""" - type: String! -} - -type ElectedMirror { - mirrorId: InternalPublicationId! - profile: Profile! - timestamp: DateTime! -} - -type EnabledModule { - moduleName: String! - contractAddress: ContractAddress! - inputParams: [ModuleInfo!]! - redeemParams: [ModuleInfo!]! - returnDataParms: [ModuleInfo!]! -} - -"""The enabled modules""" -type EnabledModules { - collectModules: [EnabledModule!]! - followModules: [EnabledModule!]! - referenceModules: [EnabledModule!]! -} - -"""The encrypted fields""" -type EncryptedFieldsOutput { - """The encrypted content field""" - content: EncryptedValueScalar - - """The encrypted image field""" - image: EncryptedValueScalar - - """The encrypted media field""" - media: [EncryptedMediaSet!] - - """The encrypted animation_url field""" - animation_url: EncryptedValueScalar - - """The encrypted external_url field""" - external_url: EncryptedValueScalar -} - -"""The Encrypted Media url and metadata""" -type EncryptedMedia { - """The encrypted value for the URL""" - url: Url! - - """Width - will always be null on the public API""" - width: Int - - """Height - will always be null on the public API""" - height: Int - - """Size - will always be null on the public API""" - size: Int - - """The image/audio/video mime type for the publication""" - mimeType: MimeType - - """The encrypted alt tags for accessibility""" - altTag: EncryptedValueScalar - - """The encrypted cover for any video or audio you attached""" - cover: EncryptedValueScalar -} - -"""The encrypted media set""" -type EncryptedMediaSet { - """Original media""" - original: EncryptedMedia! - - """Small media - will always be null on the public API""" - small: EncryptedMedia @deprecated(reason: "should not be used will always be null") - - """Medium media - will always be null on the public API""" - medium: EncryptedMedia @deprecated(reason: "should not be used will always be null") -} - -"""EncryptedValue custom scalar type""" -scalar EncryptedValueScalar - -"""The metadata encryption params""" -type EncryptionParamsOutput { - """The provider-specific encryption params""" - providerSpecificParams: ProviderSpecificParamsOutput! - - """The encryption provider""" - encryptionProvider: EncryptionProvider! - - """The access conditions""" - accessCondition: AccessConditionOutput! - - """The encrypted fields""" - encryptedFields: EncryptedFieldsOutput! -} - -"""The gated publication encryption provider""" -enum EncryptionProvider { - LIT_PROTOCOL -} - -"""Ens custom scalar type""" -scalar Ens - -type EnsOnChainIdentity { - """The default ens mapped to this address""" - name: Ens -} - -input EoaOwnershipInput { - """The address that will have access to the content""" - address: EthereumAddress! -} - -type EoaOwnershipOutput { - """The address that will have access to the content""" - address: EthereumAddress! -} - -"""The erc20 type""" -type Erc20 { - """Name of the symbol""" - name: String! - - """Symbol for the token""" - symbol: String! - - """Decimal places for the token""" - decimals: Int! - - """The erc20 address""" - address: ContractAddress! -} - -type Erc20Amount { - """The erc20 token info""" - asset: Erc20! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -input Erc20OwnershipInput { - """The ERC20 token's ethereum address""" - contractAddress: ContractAddress! - - """The amount of tokens required to access the content""" - chainID: ChainId! - - """The amount of tokens required to access the content""" - amount: String! - - """The amount of decimals of the ERC20 contract""" - decimals: Float! - - """The operator to use when comparing the amount of tokens""" - condition: ScalarOperator! -} - -type Erc20OwnershipOutput { - """The ERC20 token's ethereum address""" - contractAddress: ContractAddress! - - """The amount of tokens required to access the content""" - chainID: ChainId! - - """The amount of tokens required to access the content""" - amount: String! - - """The amount of decimals of the ERC20 contract""" - decimals: Float! - - """The operator to use when comparing the amount of tokens""" - condition: ScalarOperator! -} - -"""Ethereum address custom scalar type""" -scalar EthereumAddress - -"""The paginated publication result""" -type ExploreProfileResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -input ExploreProfilesRequest { - limit: LimitScalar - cursor: Cursor - timestamp: TimestampScalar - sortCriteria: ProfileSortCriteria! - customFilters: [CustomFiltersTypes!] = [] -} - -input ExplorePublicationRequest { - limit: LimitScalar - cursor: Cursor - timestamp: TimestampScalar - sortCriteria: PublicationSortCriteria! - - """The App Id""" - sources: [Sources!] = [] - - """The publication types you want to query""" - publicationTypes: [PublicationTypes!] - - """If you want the randomizer off (default on)""" - noRandomize: Boolean - - """If you wish to exclude any results for profile ids""" - excludeProfileIds: [ProfileId!] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The paginated publication result""" -type ExplorePublicationResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -input FeeCollectModuleParams { - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type FeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -"""The feed event item filter types""" -enum FeedEventItemType { - POST - COMMENT - MIRROR - COLLECT_POST - COLLECT_COMMENT - REACTION_POST - REACTION_COMMENT -} - -input FeedHighlightsRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -type FeedItem { - root: FeedItemRoot! - - """ - The elected mirror will be the first Mirror publication within the page results set - """ - electedMirror: ElectedMirror - - """Sorted by most recent first. Up to page size - 1 mirrors""" - mirrors: [MirrorEvent!]! - - """ - Sorted by most recent first. Resolves defaultProfile and if null omits the wallet collect event from the list. - """ - collects: [CollectedEvent!]! - - """Sorted by most recent first. Up to page size - 1 reactions""" - reactions: [ReactionEvent!]! - - """Sorted by most recent first. Up to page size - 1 comments.""" - comments: [Comment!] -} - -union FeedItemRoot = Post | Comment - -input FeedRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """Filter your feed to whatever you wish""" - feedEventItemTypes: [FeedEventItemType!] = [POST, COMMENT, MIRROR, COLLECT_POST, COLLECT_COMMENT, REACTION_POST, REACTION_COMMENT] - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -input FeeFollowModuleParams { - """The follow module amount info""" - amount: ModuleFeeAmountParams! - - """The follow module recipient address""" - recipient: EthereumAddress! -} - -input FeeFollowModuleRedeemParams { - """The expected amount to pay""" - amount: ModuleFeeAmountParams! -} - -type FeeFollowModuleSettings { - """The follow modules enum""" - type: FollowModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! -} - -input Follow { - profile: ProfileId! - followModule: FollowModuleRedeemParams -} - -input FollowConditionInput { - """The profile id of the gated profile""" - profileId: ProfileId! -} - -type FollowConditionOutput { - """The profile id of the gated profile""" - profileId: ProfileId! -} - -type Follower { - wallet: Wallet! - totalAmountOfTimesFollowed: Int! -} - -type FollowerNftOwnedTokenIds { - followerNftAddress: ContractAddress! - tokensIds: [String!]! -} - -input FollowerNftOwnedTokenIdsRequest { - address: EthereumAddress! - profileId: ProfileId! -} - -input FollowersRequest { - limit: LimitScalar - cursor: Cursor - profileId: ProfileId! -} - -type Following { - profile: Profile! - totalAmountOfTimesFollowing: Int! -} - -input FollowingRequest { - limit: LimitScalar - cursor: Cursor - address: EthereumAddress! -} - -union FollowModule = FeeFollowModuleSettings | ProfileFollowModuleSettings | RevertFollowModuleSettings | UnknownFollowModuleSettings - -"""follow module data scalar type""" -scalar FollowModuleData - -input FollowModuleParams { - """The follower fee follower module""" - feeFollowModule: FeeFollowModuleParams - - """The profile follow module""" - profileFollowModule: Boolean - - """The revert follow module""" - revertFollowModule: Boolean - - """The empty follow module""" - freeFollowModule: Boolean - - """A unknown follow module""" - unknownFollowModule: UnknownFollowModuleParams -} - -input FollowModuleRedeemParams { - """The follower fee follower module""" - feeFollowModule: FeeFollowModuleRedeemParams - - """The profile follower module""" - profileFollowModule: ProfileFollowModuleRedeemParams - - """A unknown follow module""" - unknownFollowModule: UnknownFollowModuleRedeemParams -} - -"""The follow module types""" -enum FollowModules { - FeeFollowModule - RevertFollowModule - ProfileFollowModule - UnknownFollowModule -} - -type FollowOnlyReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! -} - -input FollowProxyAction { - freeFollow: FreeFollowProxyAction -} - -input FollowRequest { - follow: [Follow!]! -} - -type FollowRevenueResult { - revenues: [RevenueAggregate!]! -} - -input FraudReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingFraudSubreason! -} - -input FreeCollectModuleParams { - """Follower only""" - followerOnly: Boolean! -} - -type FreeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """Follower only""" - followerOnly: Boolean! -} - -input FreeCollectProxyAction { - publicationId: InternalPublicationId! -} - -input FreeFollowProxyAction { - profileId: ProfileId! -} - -"""The access conditions for the publication""" -input GatedPublicationParamsInput { - """NFT ownership condition""" - nft: NftOwnershipInput - - """ERC20 token ownership condition""" - token: Erc20OwnershipInput - - """EOA ownership condition""" - eoa: EoaOwnershipInput - - """Profile ownership condition""" - profile: ProfileOwnershipInput - - """Profile follow condition""" - follow: FollowConditionInput - - """Profile follow condition""" - collect: CollectConditionInput - - """AND condition""" - and: AndConditionInput - - """OR condition""" - or: OrConditionInput - - """The LIT Protocol encrypted symmetric key""" - encryptedSymmetricKey: ContentEncryptionKey! -} - -type GenerateModuleCurrencyApproval { - to: ContractAddress! - from: EthereumAddress! - data: BlockchainData! -} - -input GenerateModuleCurrencyApprovalDataRequest { - currency: ContractAddress! - - """ - Floating point number as string (e.g. 42.009837). The server will move its decimal places for you - """ - value: String! - collectModule: CollectModules - unknownCollectModule: ContractAddress - followModule: FollowModules - unknownFollowModule: ContractAddress - referenceModule: ReferenceModules - unknownReferenceModule: ContractAddress -} - -input GetPublicationMetadataStatusRequest { - publicationId: InternalPublicationId - txHash: TxHash - txId: TxId -} - -type GlobalProtocolStats { - totalProfiles: Int! - totalBurntProfiles: Int! - totalPosts: Int! - totalMirrors: Int! - totalComments: Int! - totalCollects: Int! - totalFollows: Int! - totalRevenue: [Erc20Amount!]! -} - -input GlobalProtocolStatsRequest { - """Unix time from timestamp - if not supplied it will go from 0 timestamp""" - fromTimestamp: UnixTimestamp - - """ - Unix time to timestamp - if not supplied it go to the present timestamp - """ - toTimestamp: UnixTimestamp - - """The App Id""" - sources: [Sources!] -} - -"""handle custom scalar type""" -scalar Handle - -"""handle claim id custom scalar type""" -scalar HandleClaimIdScalar - -input HasTxHashBeenIndexedRequest { - """ - Tx hash.. if your using the broadcaster you should use txId due to gas price upgrades - """ - txHash: TxHash - - """Tx id.. if your using the broadcaster you should always use this field""" - txId: TxId -} - -input HelRequest { - secret: String! - handle: Handle! - remove: Boolean! -} - -input HidePublicationRequest { - """Publication id""" - publicationId: InternalPublicationId! -} - -"""IfpsCid scalar type""" -scalar IfpsCid - -input IllegalReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingIllegalSubreason! -} - -"""Internal publication id custom scalar type""" -scalar InternalPublicationId - -input InternalPublicationsFilterRequest { - limit: LimitScalar - cursor: Cursor - - """must be DD/MM/YYYY""" - fromDate: String! - - """must be DD/MM/YYYY""" - toDate: String! - - """The App Id""" - source: Sources! - - """The shared secret""" - secret: String! -} - -"""jwt custom scalar type""" -scalar Jwt - -input LimitedFeeCollectModuleParams { - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type LimitedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -input LimitedTimedFeeCollectModuleParams { - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type LimitedTimedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! - - """The collect module end timestamp""" - endTimestamp: DateTime! -} - -"""limit custom scalar type""" -scalar LimitScalar - -"""Locale scalar type""" -scalar Locale - -type Log { - blockNumber: Int! - blockHash: String! - transactionIndex: Int! - removed: Boolean! - address: ContractAddress! - data: String! - topics: [String!]! - transactionHash: TxHash! - logIndex: Int! -} - -union MainPostReference = Post | Mirror - -"""Markdown scalar type""" -scalar Markdown - -"""The Media url""" -type Media { - """The token image nft""" - url: Url! - - """Width - will always be null on the public API""" - width: Int - - """Height - will always be null on the public API""" - height: Int - - """Size - will always be null on the public API""" - size: Int - - """The image/audio/video mime type for the publication""" - mimeType: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url -} - -"""Media object output""" -type MediaOutput { - item: Url! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url - source: PublicationMediaSource -} - -"""The Media Set""" -type MediaSet { - """Original media""" - original: Media! - - """Small media - will always be null on the public API""" - small: Media @deprecated(reason: "should not be used will always be null") - - """Medium media - will always be null on the public API""" - medium: Media @deprecated(reason: "should not be used will always be null") -} - -union MentionPublication = Post | Comment - -"""The metadata attribute input""" -input MetadataAttributeInput { - """The display type""" - displayType: PublicationMetadataDisplayTypes - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String! - - """The value""" - value: String! -} - -"""The metadata attribute output""" -type MetadataAttributeOutput { - """The display type""" - displayType: PublicationMetadataDisplayTypes - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String - - """The value""" - value: String -} - -"""The metadata output""" -type MetadataOutput { - """The metadata name""" - name: String - - """This is the metadata description""" - description: Markdown - - """This is the metadata content for the publication, should be markdown""" - content: Markdown - - """ - This is the image attached to the metadata and the property used to show the NFT! - """ - image: Url - - """The image cover for video/music publications""" - cover: MediaSet - - """The images/audios/videos for the publication""" - media: [MediaSet!]! - - """The attributes""" - attributes: [MetadataAttributeOutput!]! - - """The locale of the publication, """ - locale: Locale - - """The tags for the publication""" - tags: [String!]! - - """The content warning for the publication""" - contentWarning: PublicationContentWarning - - """The main focus of the publication""" - mainContentFocus: PublicationMainFocus! - - """The main focus of the publication""" - animatedUrl: Url - - """The publication's encryption params in case it's encrypted""" - encryptionParams: EncryptionParamsOutput -} - -"""mimetype custom scalar type""" -scalar MimeType - -"""The social mirror""" -type Mirror { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """Indicates if the publication is data availability post""" - isDataAvailability: Boolean! - - """The mirror publication""" - mirrorOf: MirrorablePublication! - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! - dataAvailabilityProofs: String -} - -union MirrorablePublication = Post | Comment - -type MirrorEvent { - profile: Profile! - timestamp: DateTime! -} - -type ModuleFeeAmount { - """The erc20 token info""" - asset: Erc20! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -input ModuleFeeAmountParams { - """The currency address""" - currency: ContractAddress! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -type ModuleInfo { - name: String! - type: String! -} - -type Mutation { - authenticate(request: SignedAuthChallenge!): AuthenticationResult! - refresh(request: RefreshRequest!): AuthenticationResult! - broadcast(request: BroadcastRequest!): RelayResult! - createSetDispatcherTypedData(options: TypedDataOptions, request: SetDispatcherRequest!): CreateSetDispatcherBroadcastItemResult! - createFollowTypedData(options: TypedDataOptions, request: FollowRequest!): CreateFollowBroadcastItemResult! - createUnfollowTypedData(options: TypedDataOptions, request: UnfollowRequest!): CreateUnfollowBroadcastItemResult! - createSetFollowModuleTypedData(options: TypedDataOptions, request: CreateSetFollowModuleRequest!): CreateSetFollowModuleBroadcastItemResult! - createSetFollowNFTUriTypedData(options: TypedDataOptions, request: CreateSetFollowNFTUriRequest!): CreateSetFollowNFTUriBroadcastItemResult! - createToggleFollowTypedData(options: TypedDataOptions, request: CreateToggleFollowRequest!): CreateToggleFollowBroadcastItemResult! - createCollectTypedData(options: TypedDataOptions, request: CreateCollectRequest!): CreateCollectBroadcastItemResult! - createSetDefaultProfileTypedData(options: TypedDataOptions, request: CreateSetDefaultProfileRequest!): SetDefaultProfileBroadcastItemResult! - createSetProfileImageURITypedData(options: TypedDataOptions, request: UpdateProfileImageRequest!): CreateSetProfileImageUriBroadcastItemResult! - createSetProfileImageURIViaDispatcher(request: UpdateProfileImageRequest!): RelayResult! - createBurnProfileTypedData(options: TypedDataOptions, request: BurnProfileRequest!): CreateBurnProfileBroadcastItemResult! - createPostTypedData(options: TypedDataOptions, request: CreatePublicPostRequest!): CreatePostBroadcastItemResult! - createPostViaDispatcher(request: CreatePublicPostRequest!): RelayResult! - createCommentTypedData(options: TypedDataOptions, request: CreatePublicCommentRequest!): CreateCommentBroadcastItemResult! - createCommentViaDispatcher(request: CreatePublicCommentRequest!): RelayResult! - createMirrorTypedData(options: TypedDataOptions, request: CreateMirrorRequest!): CreateMirrorBroadcastItemResult! - hidePublication(request: HidePublicationRequest!): Void - createMirrorViaDispatcher(request: CreateMirrorRequest!): RelayResult! - createAttachMediaData(request: PublicMediaRequest!): PublicMediaResults! - claim(request: ClaimHandleRequest!): RelayResult! - - """Adds profile interests to the given profile""" - addProfileInterests(request: AddProfileInterestsRequest!): Void - - """Removes profile interests from the given profile""" - removeProfileInterests(request: RemoveProfileInterestsRequest!): Void - createSetProfileMetadataTypedData(options: TypedDataOptions, request: CreatePublicSetProfileMetadataURIRequest!): CreateSetProfileMetadataURIBroadcastItemResult! - createSetProfileMetadataViaDispatcher(request: CreatePublicSetProfileMetadataURIRequest!): RelayResult! - proxyAction(request: ProxyActionRequest!): ProxyActionId! - addReaction(request: ReactionRequest!): Void - removeReaction(request: ReactionRequest!): Void - reportPublication(request: ReportPublicationRequest!): Void - ach(request: AchRequest!): Void - hel(request: HelRequest!): Void -} - -input MutualFollowersProfilesQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id your viewing""" - viewingProfileId: ProfileId! - - """The profile id you want the result to come back as your viewing from""" - yourProfileId: ProfileId! -} - -type NewCollectNotification { - notificationId: NotificationId! - createdAt: DateTime! - wallet: Wallet! - collectedPublication: Publication! -} - -type NewCommentNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - comment: Comment! -} - -type NewFollowerNotification { - notificationId: NotificationId! - createdAt: DateTime! - wallet: Wallet! - isFollowedByMe: Boolean! -} - -type NewMentionNotification { - notificationId: NotificationId! - createdAt: DateTime! - mentionPublication: MentionPublication! -} - -type NewMirrorNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - publication: MirrorablePublication! -} - -type NewReactionNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - reaction: ReactionTypes! - publication: Publication! -} - -"""The nft type""" -type NFT { - """aka us CryptoKitties""" - contractName: String! - - """aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e """ - contractAddress: ContractAddress! - - """aka RARI""" - symbol: String! - - """aka "13" """ - tokenId: String! - - """ - aka { address: 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e, amount:"2" } - """ - owners: [Owner!]! - - """aka "Beard Coffee" """ - name: String! - - """aka "Hey cutie! I m Beard Coffee. .... """ - description: String! - - """aka "https://api.criptokitt..." """ - contentURI: String! - - """aka "{ uri:"https://ipfs....", metaType:"image/png" }" """ - originalContent: NFTContent! - - """aka "1" """ - chainId: ChainId! - - """aka "CryptoKitties" """ - collectionName: String! - - """aka "ERC721" """ - ercType: String! -} - -"""The NFT content uri""" -type NFTContent { - """The token uri nft""" - uri: String! - - """The meta type content""" - metaType: String! - - """The animated url""" - animatedUrl: String -} - -input NFTData { - """Id of the nft ownership challenge""" - id: NftOwnershipId! - - """The signature""" - signature: Signature! -} - -"""The NFT image""" -type NftImage { - """The contract address""" - contractAddress: ContractAddress! - - """The token id of the nft""" - tokenId: String! - - """The token image nft""" - uri: Url! - - """The token image nft""" - chainId: Int! - - """If the NFT is verified""" - verified: Boolean! -} - -input NftOwnershipChallenge { - """ContractAddress for nft""" - contractAddress: ContractAddress! - - """Token id for NFT""" - tokenId: String! - - """Chain Id""" - chainId: ChainId! -} - -input NftOwnershipChallengeRequest { - """The wallet address which owns the NFT""" - ethereumAddress: EthereumAddress! - nfts: [NftOwnershipChallenge!]! -} - -"""NFT ownership challenge result""" -type NftOwnershipChallengeResult { - """Id of the nft ownership challenge""" - id: NftOwnershipId! - text: String! - - """Timeout of the validation""" - timeout: TimestampScalar! -} - -"""Nft ownership id type""" -scalar NftOwnershipId - -input NftOwnershipInput { - """The NFT collection's ethereum address""" - contractAddress: ContractAddress! - - """The NFT chain id""" - chainID: ChainId! - - """The unlocker contract type""" - contractType: ContractType! - - """The optional token ID(s) to check for ownership""" - tokenIds: [TokenId!] = [] -} - -type NftOwnershipOutput { - """The NFT collection's ethereum address""" - contractAddress: ContractAddress! - - """The NFT chain id""" - chainID: ChainId! - - """The unlocker contract type""" - contractType: ContractType! - - """The optional token ID(s) to check for ownership""" - tokenIds: [TokenId!] -} - -input NFTsRequest { - limit: LimitScalar - cursor: Cursor - - """Filter by owner address""" - ownerAddress: EthereumAddress! - - """Filter by contract address""" - contractAddress: ContractAddress - - """Chain Ids""" - chainIds: [ChainId!]! -} - -"""Paginated nft results""" -type NFTsResult { - items: [NFT!]! - pageInfo: PaginatedResultInfo! -} - -"""Nonce custom scalar type""" -scalar Nonce - -union Notification = NewFollowerNotification | NewCollectNotification | NewCommentNotification | NewMirrorNotification | NewMentionNotification | NewReactionNotification - -"""The notification id""" -scalar NotificationId - -input NotificationRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The profile id""" - notificationTypes: [NotificationTypes!] = [MIRRORED_POST, MIRRORED_COMMENT, MENTION_POST, MENTION_COMMENT, COMMENTED_COMMENT, COMMENTED_POST, COLLECTED_POST, COLLECTED_COMMENT, FOLLOWED, REACTION_POST, REACTION_COMMENT] - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The notification filter types""" -enum NotificationTypes { - MIRRORED_POST - MIRRORED_COMMENT - MENTION_POST - MENTION_COMMENT - COMMENTED_COMMENT - COMMENTED_POST - COLLECTED_POST - COLLECTED_COMMENT - FOLLOWED - REACTION_POST - REACTION_COMMENT -} - -type OnChainIdentity { - """The POH status""" - proofOfHumanity: Boolean! - - """The ens information""" - ens: EnsOnChainIdentity - - """The sybil dot org information""" - sybilDotOrg: SybilDotOrgIdentity! - - """The worldcoin identity""" - worldcoin: WorldcoinIdentity! -} - -input OrConditionInput { - """ - The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionInput!]! -} - -type OrConditionOutput { - """ - The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionOutput!]! -} - -"""The nft type""" -type Owner { - """number of tokens owner""" - amount: Float! - - """aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e """ - address: EthereumAddress! -} - -"""The paginated wallet result""" -type PaginatedAllPublicationsTagsResult { - items: [TagResult!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated feed result""" -type PaginatedFeedResult { - items: [FeedItem!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated followers result""" -type PaginatedFollowersResult { - items: [Follower!]! - pageInfo: PaginatedResultInfo! -} - -type PaginatedFollowingResult { - items: [Following!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated notification result""" -type PaginatedNotificationResult { - items: [Notification!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated wallet result""" -type PaginatedProfilePublicationsForSaleResult { - items: [PublicationForSale!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated profile result""" -type PaginatedProfileResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated publication result""" -type PaginatedPublicationResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated result info""" -type PaginatedResultInfo { - """Cursor to query the actual results""" - prev: Cursor - - """Cursor to query next results""" - next: Cursor - - """ - The total number of entities the pagination iterates over. If null it means it - can not work it out due to dynamic or aggregated query e.g. For a query that - requests all nfts with more than 10 likes, this field gives the total amount - of nfts with more than 10 likes, not the total amount of nfts - """ - totalCount: Int -} - -"""The paginated timeline result""" -type PaginatedTimelineResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated wallet result""" -type PaginatedWhoCollectedResult { - items: [Wallet!]! - pageInfo: PaginatedResultInfo! -} - -type PaginatedWhoReactedResult { - items: [WhoReactedResult!]! - pageInfo: PaginatedResultInfo! -} - -input PendingApprovalFollowsRequest { - limit: LimitScalar - cursor: Cursor -} - -"""The paginated follow result""" -type PendingApproveFollowsResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -"""The social post""" -type Post { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """Indicates if the publication is data availability post""" - isDataAvailability: Boolean! - - """ - Who collected it, this is used for timeline results and like this for better caching for the client - """ - collectedBy: Wallet @deprecated(reason: "use `feed` query, timeline query will be killed on the 15th November. This includes this field.") - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! - dataAvailabilityProofs: String - mirrors(by: ProfileId): [InternalPublicationId!]! -} - -"""The Profile""" -type Profile { - """The profile id""" - id: ProfileId! - - """Name of the profile""" - name: String - - """Bio of the profile""" - bio: String - - """Follow nft address""" - followNftAddress: ContractAddress - - """Metadata url""" - metadata: Url - - """The profile handle""" - handle: Handle! - - """The picture for the profile""" - picture: ProfileMedia - - """The cover picture for the profile""" - coverPicture: ProfileMedia - - """Who owns the profile""" - ownedBy: EthereumAddress! - - """The dispatcher""" - dispatcher: Dispatcher - - """Profile stats""" - stats: ProfileStats! - - """The follow module""" - followModule: FollowModule - - """Is the profile default""" - isDefault: Boolean! - - """Optionals param to add extra attributes on the metadata""" - attributes: [Attribute!] - - """The on chain identity""" - onChainIdentity: OnChainIdentity! - - """The profile interests""" - interests: [ProfileInterest!] - isFollowedByMe(isFinalisedOnChain: Boolean): Boolean! - isFollowing(who: ProfileId): Boolean! -} - -input ProfileFollowModuleBeenRedeemedRequest { - followProfileId: ProfileId! - redeemingProfileId: ProfileId! -} - -input ProfileFollowModuleRedeemParams { - """The profile id to use to follow this profile""" - profileId: ProfileId! -} - -type ProfileFollowModuleSettings { - """The follow module enum""" - type: FollowModules! - contractAddress: ContractAddress! -} - -input ProfileFollowRevenueQueryRequest { - """The profile id""" - profileId: ProfileId! -} - -"""ProfileId custom scalar type""" -scalar ProfileId - -"""ProfileInterest custom scalar type""" -scalar ProfileInterest - -union ProfileMedia = NftImage | MediaSet - -input ProfileOnChainIdentityRequest { - profileIds: [ProfileId!]! -} - -"""Condition that signifies if address has access to profile""" -input ProfileOwnershipInput { - """The profile id""" - profileId: ProfileId! -} - -"""Condition that signifies if address has access to profile""" -type ProfileOwnershipOutput { - """The profile id""" - profileId: ProfileId! -} - -input ProfilePublicationRevenueQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - - """The revenue types""" - types: [PublicationTypes!] = [COMMENT, MIRROR, POST] - metadata: PublicationMetadataFilters -} - -"""The paginated revenue result""" -type ProfilePublicationRevenueResult { - items: [PublicationRevenue!]! - pageInfo: PaginatedResultInfo! -} - -input ProfilePublicationsForSaleRequest { - limit: LimitScalar - cursor: Cursor - - """Profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -input ProfileQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile ids""" - profileIds: [ProfileId!] - - """The ethereum addresses""" - ownedBy: [EthereumAddress!] - - """The handles for the profile""" - handles: [Handle!] - - """The mirrored publication id""" - whoMirroredPublicationId: InternalPublicationId -} - -"""Profile search results""" -type ProfileSearchResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! - type: SearchRequestTypes! -} - -"""profile sort criteria""" -enum ProfileSortCriteria { - CREATED_ON - MOST_FOLLOWERS - LATEST_CREATED - MOST_POSTS - MOST_COMMENTS - MOST_MIRRORS - MOST_PUBLICATION - MOST_COLLECTS -} - -"""The Profile Stats""" -type ProfileStats { - id: ProfileId! - - """Total follower count""" - totalFollowers: Int! - - """ - Total following count (remember the wallet follows not profile so will be same for every profile they own) - """ - totalFollowing: Int! - - """Total post count""" - totalPosts: Int! - - """Total comment count""" - totalComments: Int! - - """Total mirror count""" - totalMirrors: Int! - - """Total publication count""" - totalPublications: Int! - - """Total collects count""" - totalCollects: Int! - commentsTotal(forSources: [Sources!]!): Int! - postsTotal(forSources: [Sources!]!): Int! - mirrorsTotal(forSources: [Sources!]!): Int! - publicationsTotal(forSources: [Sources!]!): Int! -} - -"""The provider-specific encryption params""" -type ProviderSpecificParamsOutput { - """The encryption key""" - encryptionKey: ContentEncryptionKey! -} - -type ProxyActionError { - reason: String! - lastKnownTxId: TxId -} - -"""proxy action scalar id type""" -scalar ProxyActionId - -type ProxyActionQueued { - queuedAt: DateTime! -} - -input ProxyActionRequest { - follow: FollowProxyAction - collect: CollectProxyAction -} - -type ProxyActionStatusResult { - txHash: TxHash! - txId: TxId! - status: ProxyActionStatusTypes! -} - -union ProxyActionStatusResultUnion = ProxyActionStatusResult | ProxyActionError | ProxyActionQueued - -"""The proxy action status""" -enum ProxyActionStatusTypes { - MINTING - TRANSFERRING - COMPLETE -} - -union Publication = Post | Comment | Mirror - -"""The publication content warning""" -enum PublicationContentWarning { - NSFW - SENSITIVE - SPOILER -} - -union PublicationForSale = Post | Comment - -"""Publication id custom scalar type""" -scalar PublicationId - -"""The publication main focus""" -enum PublicationMainFocus { - VIDEO - IMAGE - ARTICLE - TEXT_ONLY - AUDIO - LINK - EMBED -} - -"""The source of the media""" -enum PublicationMediaSource { - LENS -} - -"""Publication metadata content waring filters""" -input PublicationMetadataContentWarningFilter { - """ - By default all content warnings will be hidden you can include them in your query by adding them to this array. - """ - includeOneOf: [PublicationContentWarning!] -} - -"""The publication metadata display types""" -enum PublicationMetadataDisplayTypes { - number - string - date -} - -"""Publication metadata filters""" -input PublicationMetadataFilters { - """ - IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US - or IT aka en-US or it-IT. You can just filter on language if you wish. - """ - locale: Locale - contentWarning: PublicationMetadataContentWarningFilter - mainContentFocus: [PublicationMainFocus!] = [ARTICLE, AUDIO, VIDEO, EMBED, IMAGE, LINK, TEXT_ONLY] - tags: PublicationMetadataTagsFilter -} - -"""The metadata attribute input""" -input PublicationMetadataMediaInput { - item: Url! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url - source: PublicationMediaSource = LENS -} - -type PublicationMetadataStatus { - status: PublicationMetadataStatusType! - - """If metadata validation failed it will put a reason why here""" - reason: String -} - -"""publication metadata status type""" -enum PublicationMetadataStatusType { - NOT_FOUND - PENDING - METADATA_VALIDATION_FAILED - SUCCESS -} - -"""Publication metadata tag filter""" -input PublicationMetadataTagsFilter { - """Needs to only match one of""" - oneOf: [String!] - - """Needs to only match all""" - all: [String!] -} - -input PublicationMetadataV1Input { - """The metadata version. (1.0.0 | 2.0.0)""" - version: String! - - """ - The metadata id can be anything but if your uploading to ipfs you will want it - to be random.. using uuid could be an option! - """ - metadata_id: String! - - """ This is the appId the content belongs to""" - appId: Sources - - """A human-readable description of the item.""" - description: Markdown - - """ - The content of a publication. If this is blank `media` must be defined or its out of spec - """ - content: Markdown - - """ - This is the URL that will appear below the asset's image on OpenSea and others etc - and will allow users to leave OpenSea and view the item on the site. - """ - external_url: Url - - """Signed metadata to validate the owner""" - signatureContext: PublicationSignatureContextInput - - """Name of the item.""" - name: String! - - """ These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. - """ - attributes: [MetadataAttributeInput!]! - - """legacy to support OpenSea will store any NFT image here.""" - image: Url - - """ - This is the mime type of the image. This is used if your uploading more - advanced cover images as sometimes ipfs does not emit the content header so - this solves that - """ - imageMimeType: MimeType - - """ This is lens supported attached media items to the publication""" - media: [PublicationMetadataMediaInput!] - - """ - A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - Animation_url also supports HTML pages, allowing you to build rich - experiences and interactive NFTs using JavaScript canvas, - WebGL, and more. Scripts and relative paths within the HTML page are now - supported. However, access to browser extensions is not supported. - """ - animation_url: Url -} - -input PublicationMetadataV2Input { - """The metadata version. (1.0.0 | 2.0.0)""" - version: String! - - """ - The metadata id can be anything but if your uploading to ipfs you will want it - to be random.. using uuid could be an option! - """ - metadata_id: String! - - """ This is the appId the content belongs to""" - appId: Sources - - """A human-readable description of the item.""" - description: Markdown - - """ - The content of a publication. If this is blank `media` must be defined or its out of spec - """ - content: Markdown - - """ - This is the URL that will appear below the asset's image on OpenSea and others etc - and will allow users to leave OpenSea and view the item on the site. - """ - external_url: Url - - """Signed metadata to validate the owner""" - signatureContext: PublicationSignatureContextInput - - """Name of the item.""" - name: String! - - """ These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. - """ - attributes: [MetadataAttributeInput!]! - - """legacy to support OpenSea will store any NFT image here.""" - image: Url - - """ - This is the mime type of the image. This is used if your uploading more - advanced cover images as sometimes ipfs does not emit the content header so - this solves that - """ - imageMimeType: MimeType - - """ This is lens supported attached media items to the publication""" - media: [PublicationMetadataMediaInput!] - - """ - A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - Animation_url also supports HTML pages, allowing you to build rich - experiences and interactive NFTs using JavaScript canvas, - WebGL, and more. Scripts and relative paths within the HTML page are now - supported. However, access to browser extensions is not supported. - """ - animation_url: Url - - """ - IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US or IT aka en-US or it-IT - """ - locale: Locale! - - """Ability to tag your publication""" - tags: [String!] - - """Ability to add a content warning""" - contentWarning: PublicationContentWarning - - """Main content focus that for this publication""" - mainContentFocus: PublicationMainFocus! -} - -input PublicationQueryRequest { - """The publication id""" - publicationId: InternalPublicationId - - """The tx hash""" - txHash: TxHash -} - -"""Publication reporting fraud subreason""" -enum PublicationReportingFraudSubreason { - SCAM - IMPERSONATION -} - -"""Publication reporting illegal subreason""" -enum PublicationReportingIllegalSubreason { - ANIMAL_ABUSE - HUMAN_ABUSE - VIOLENCE - THREAT_INDIVIDUAL - DIRECT_THREAT -} - -"""Publication reporting reason""" -enum PublicationReportingReason { - SENSITIVE - ILLEGAL - FRAUD - SPAM -} - -"""Publication reporting sensitive subreason""" -enum PublicationReportingSensitiveSubreason { - NSFW - OFFENSIVE -} - -"""Publication reporting spam subreason""" -enum PublicationReportingSpamSubreason { - MISLEADING - MISUSE_HASHTAGS - UNRELATED - REPETITIVE - FAKE_ENGAGEMENT - MANIPULATION_ALGO - SOMETHING_ELSE -} - -"""The social comment""" -type PublicationRevenue { - publication: Publication! - revenue: RevenueAggregate! -} - -input PublicationRevenueQueryRequest { - """The publication id""" - publicationId: InternalPublicationId! -} - -"""Publication search results""" -type PublicationSearchResult { - items: [PublicationSearchResultItem!]! - pageInfo: PaginatedResultInfo! - type: SearchRequestTypes! -} - -union PublicationSearchResultItem = Post | Comment - -input PublicationSignatureContextInput { - signature: String! -} - -"""Publication sort criteria""" -enum PublicationSortCriteria { - TOP_COMMENTED - TOP_COLLECTED - TOP_MIRRORED - CURATED_PROFILES - LATEST -} - -input PublicationsQueryRequest { - limit: LimitScalar - cursor: Cursor - - """Profile id""" - profileId: ProfileId - - """Profile ids""" - profileIds: [ProfileId!] - - """The publication types you want to query""" - publicationTypes: [PublicationTypes!] - - """The publication id you wish to get comments for""" - commentsOf: InternalPublicationId - - """The App Id""" - sources: [Sources!] = [] - - """The ethereum address""" - collectedBy: EthereumAddress - - """The publication id""" - publicationIds: [InternalPublicationId!] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The publication stats""" -type PublicationStats { - """The publication id""" - id: InternalPublicationId! - - """The total amount of mirrors""" - totalAmountOfMirrors: Int! - - """The total amount of collects""" - totalAmountOfCollects: Int! - - """The total amount of comments""" - totalAmountOfComments: Int! - - """The total amount of downvotes""" - totalUpvotes: Int! - - """The total amount of upvotes""" - totalDownvotes: Int! - commentsTotal(forSources: [Sources!]!): Int! -} - -"""The publication tag""" -scalar PublicationTag - -"""The publication types""" -enum PublicationTypes { - POST - COMMENT - MIRROR -} - -"""Publication url scalar type""" -scalar PublicationUrl - -type PublicationValidateMetadataResult { - valid: Boolean! - - """If `valid` is false it will put a reason why here""" - reason: String -} - -input PublicMediaRequest { - """Pre calculated cid of the file to push""" - itemCid: IfpsCid! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url -} - -"""The response to upload the attached file""" -type PublicMediaResults { - """Signed url to push the file""" - signedUrl: String! - - """ipfs uri to add on the metadata""" - media: MediaOutput! -} - -type Query { - challenge(request: ChallengeRequest!): AuthChallengeResult! - verify(request: VerifyRequest!): Boolean! - txIdToTxHash(txId: TxId!): TxHash! - explorePublications(request: ExplorePublicationRequest!): ExplorePublicationResult! - exploreProfiles(request: ExploreProfilesRequest!): ExploreProfileResult! - feed(request: FeedRequest!): PaginatedFeedResult! - feedHighlights(request: FeedHighlightsRequest!): PaginatedTimelineResult! - timeline(request: TimelineRequest!): PaginatedTimelineResult! @deprecated(reason: "You should be using feed, this will not be supported after 15th November 2021, please migrate.") - pendingApprovalFollows(request: PendingApprovalFollowsRequest!): PendingApproveFollowsResult! - doesFollow(request: DoesFollowRequest!): [DoesFollowResponse!]! - following(request: FollowingRequest!): PaginatedFollowingResult! - followers(request: FollowersRequest!): PaginatedFollowersResult! - followerNftOwnedTokenIds(request: FollowerNftOwnedTokenIdsRequest!): FollowerNftOwnedTokenIds - mutualFollowersProfiles(request: MutualFollowersProfilesQueryRequest!): PaginatedProfileResult! - ping: String! - hasTxHashBeenIndexed(request: HasTxHashBeenIndexedRequest!): TransactionResult! - enabledModuleCurrencies: [Erc20!]! - approvedModuleAllowanceAmount(request: ApprovedModuleAllowanceAmountRequest!): [ApprovedAllowanceAmount!]! - generateModuleCurrencyApprovalData(request: GenerateModuleCurrencyApprovalDataRequest!): GenerateModuleCurrencyApproval! - profileFollowModuleBeenRedeemed(request: ProfileFollowModuleBeenRedeemedRequest!): Boolean! - enabledModules: EnabledModules! - unknownEnabledModules: EnabledModules! - nfts(request: NFTsRequest!): NFTsResult! - nftOwnershipChallenge(request: NftOwnershipChallengeRequest!): NftOwnershipChallengeResult! - notifications(request: NotificationRequest!): PaginatedNotificationResult! - profiles(request: ProfileQueryRequest!): PaginatedProfileResult! - profile(request: SingleProfileQueryRequest!): Profile - recommendedProfiles(options: RecommendedProfileOptions): [Profile!]! - defaultProfile(request: DefaultProfileRequest!): Profile - globalProtocolStats(request: GlobalProtocolStatsRequest): GlobalProtocolStats! - publications(request: PublicationsQueryRequest!): PaginatedPublicationResult! - publication(request: PublicationQueryRequest!): Publication - whoCollectedPublication(request: WhoCollectedPublicationRequest!): PaginatedWhoCollectedResult! - profilePublicationsForSale(request: ProfilePublicationsForSaleRequest!): PaginatedProfilePublicationsForSaleResult! - allPublicationsTags(request: AllPublicationsTagsRequest!): PaginatedAllPublicationsTagsResult! - search(request: SearchQueryRequest!): SearchResult! - userSigNonces: UserSigNonces! - claimableHandles: ClaimableHandles! - claimableStatus: ClaimStatus! - internalPublicationFilter(request: InternalPublicationsFilterRequest!): PaginatedPublicationResult! - profileOnChainIdentity(request: ProfileOnChainIdentityRequest!): [OnChainIdentity!]! - - """Get the list of profile interests""" - profileInterests: [ProfileInterest!]! - proxyActionStatus(proxyActionId: ProxyActionId!): ProxyActionStatusResultUnion! - validatePublicationMetadata(request: ValidatePublicationMetadataRequest!): PublicationValidateMetadataResult! - publicationMetadataStatus(request: GetPublicationMetadataStatusRequest!): PublicationMetadataStatus! - whoReactedPublication(request: WhoReactedPublicationRequest!): PaginatedWhoReactedResult! - profilePublicationRevenue(request: ProfilePublicationRevenueQueryRequest!): ProfilePublicationRevenueResult! - publicationRevenue(request: PublicationRevenueQueryRequest!): PublicationRevenue - profileFollowRevenue(request: ProfileFollowRevenueQueryRequest!): FollowRevenueResult! - rel(request: RelRequest!): Void - cur(request: CurRequest!): [String!]! -} - -type ReactionEvent { - profile: Profile! - reaction: ReactionTypes! - timestamp: DateTime! -} - -input ReactionFieldResolverRequest { - """Profile id""" - profileId: ProfileId -} - -"""The reaction id""" -scalar ReactionId - -input ReactionRequest { - """Profile id to perform the action""" - profileId: ProfileId! - - """The reaction""" - reaction: ReactionTypes! - - """The internal publication id""" - publicationId: InternalPublicationId! -} - -"""Reaction types""" -enum ReactionTypes { - UPVOTE - DOWNVOTE -} - -input RecommendedProfileOptions { - """If you wish to turn ML off""" - disableML: Boolean = false - - """If you wish to shuffle the results""" - shuffle: Boolean = false -} - -union ReferenceModule = FollowOnlyReferenceModuleSettings | UnknownReferenceModuleSettings | DegreesOfSeparationReferenceModuleSettings - -"""reference module data scalar type""" -scalar ReferenceModuleData - -input ReferenceModuleParams { - """The follower only reference module""" - followerOnlyReferenceModule: Boolean - - """A unknown reference module""" - unknownReferenceModule: UnknownReferenceModuleParams - - """The degrees of seperation reference module""" - degreesOfSeparationReferenceModule: DegreesOfSeparationReferenceModuleParams -} - -"""The reference module types""" -enum ReferenceModules { - FollowerOnlyReferenceModule - DegreesOfSeparationReferenceModule - UnknownReferenceModule -} - -"""The refresh request""" -input RefreshRequest { - """The refresh token""" - refreshToken: Jwt! -} - -"""The relayer result""" -type RelayerResult { - """ - The tx hash - you should use the `txId` as your identifier as gas prices can be upgraded meaning txHash will change - """ - txHash: TxHash! - - """The tx id""" - txId: TxId! -} - -type RelayError { - reason: RelayErrorReasons! -} - -"""Relay error reason""" -enum RelayErrorReasons { - REJECTED - HANDLE_TAKEN - EXPIRED - WRONG_WALLET_SIGNED - NOT_ALLOWED -} - -union RelayResult = RelayerResult | RelayError - -input RelRequest { - secret: String! - ethereumAddress: EthereumAddress! -} - -"""The request object to remove interests from a profile""" -input RemoveProfileInterestsRequest { - """The profile interest to add""" - interests: [ProfileInterest!]! - - """The profileId to add interests to""" - profileId: ProfileId! -} - -input ReportingReasonInputParams { - sensitiveReason: SensitiveReasonInputParams - illegalReason: IllegalReasonInputParams - fraudReason: FraudReasonInputParams - spamReason: SpamReasonInputParams -} - -input ReportPublicationRequest { - publicationId: InternalPublicationId! - reason: ReportingReasonInputParams! - additionalComments: String -} - -type ReservedClaimableHandle { - id: HandleClaimIdScalar! - handle: Handle! - source: String! - expiry: DateTime! -} - -type RevenueAggregate { - total: Erc20Amount! -} - -type RevertCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! -} - -type RevertFollowModuleSettings { - """The follow module enum""" - type: FollowModules! - contractAddress: ContractAddress! -} - -"""The gated publication access criteria scalar operators""" -enum ScalarOperator { - EQUAL - NOT_EQUAL - GREATER_THAN - GREATER_THAN_OR_EQUAL - LESS_THAN - LESS_THAN_OR_EQUAL -} - -"""Query search""" -scalar Search - -input SearchQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The search term""" - query: Search! - type: SearchRequestTypes! - customFilters: [CustomFiltersTypes!] = [] - - """The App Id""" - sources: [Sources!] = [] -} - -"""Search request types""" -enum SearchRequestTypes { - PUBLICATION - PROFILE -} - -union SearchResult = PublicationSearchResult | ProfileSearchResult - -input SensitiveReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingSensitiveSubreason! -} - -"""The broadcast item""" -type SetDefaultProfileBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: SetDefaultProfileEIP712TypedData! -} - -"""The default profile eip 712 typed data""" -type SetDefaultProfileEIP712TypedData { - """The types""" - types: SetDefaultProfileEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: SetDefaultProfileEIP712TypedDataValue! -} - -"""The default profile eip 712 typed data types""" -type SetDefaultProfileEIP712TypedDataTypes { - SetDefaultProfileWithSig: [EIP712TypedDataField!]! -} - -"""The default profile eip 712 typed data value""" -type SetDefaultProfileEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - wallet: EthereumAddress! - profileId: ProfileId! -} - -input SetDispatcherRequest { - """The profile id""" - profileId: ProfileId! - - """ - The dispatcher address - they can post, comment, mirror, set follow module, - change your profile picture on your behalf, if left as none it will use the - built in dispatcher address. - """ - dispatcher: EthereumAddress - - """If you want to enable or disable it""" - enable: Boolean -} - -"""Relayer signature""" -scalar Signature - -"""The signed auth challenge""" -input SignedAuthChallenge { - """The ethereum address you signed the signature with""" - address: EthereumAddress! - - """The signature""" - signature: Signature! -} - -input SingleProfileQueryRequest { - """The profile id""" - profileId: ProfileId - - """The handle for the profile""" - handle: Handle -} - -"""Sources custom scalar type""" -scalar Sources - -input SpamReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingSpamSubreason! -} - -type SybilDotOrgIdentity { - """The sybil dot org status""" - verified: Boolean! - source: SybilDotOrgIdentitySource! -} - -type SybilDotOrgIdentitySource { - twitter: SybilDotOrgTwitterIdentity! -} - -type SybilDotOrgTwitterIdentity { - handle: String -} - -"""The social comment""" -type TagResult { - """The tag""" - tag: PublicationTag! - - """The total amount of publication tagged""" - total: Int! -} - -"""The publications tags sort criteria""" -enum TagSortCriteria { - MOST_POPULAR - ALPHABETICAL -} - -input TimedFeeCollectModuleParams { - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type TimedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! - - """The collect module end timestamp""" - endTimestamp: DateTime! -} - -input TimelineRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - - """ - The timeline types you wish to include, if nothing passed in will bring back all - """ - timelineTypes: [TimelineType!] = [COLLECT_COMMENT, COLLECT_POST, COMMENT, POST, MIRROR] - metadata: PublicationMetadataFilters -} - -"""Timeline types""" -enum TimelineType { - POST - COMMENT - MIRROR - COLLECT_POST - COLLECT_COMMENT -} - -"""timestamp date custom scalar type""" -scalar TimestampScalar - -"""The NFT token id""" -scalar TokenId - -type TransactionError { - reason: TransactionErrorReasons! - txReceipt: TransactionReceipt -} - -"""Transaction error reason""" -enum TransactionErrorReasons { - REVERTED -} - -type TransactionIndexedResult { - indexed: Boolean! - txHash: TxHash! - txReceipt: TransactionReceipt - - """ - Publications can be indexed but the ipfs link for example not findable for x - time. This allows you to work that out for publications. If its not a - publication tx then it always be null. - """ - metadataStatus: PublicationMetadataStatus -} - -type TransactionReceipt { - to: EthereumAddress - from: EthereumAddress! - contractAddress: ContractAddress - transactionIndex: Int! - root: String - gasUsed: String! - logsBloom: String! - blockHash: String! - transactionHash: TxHash! - logs: [Log!]! - blockNumber: Int! - confirmations: Int! - cumulativeGasUsed: String! - effectiveGasPrice: String! - byzantium: Boolean! - type: Int! - status: Int -} - -union TransactionResult = TransactionIndexedResult | TransactionError - -"""The tx hash""" -scalar TxHash - -"""The tx id""" -scalar TxId - -input TypedDataOptions { - """ - If you wish to override the nonce for the sig if you want to do some clever stuff in the client - """ - overrideSigNonce: Nonce! -} - -input UnfollowRequest { - profile: ProfileId! -} - -"""UnixTimestamp custom scalar type""" -scalar UnixTimestamp - -input UnknownCollectModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - collectModuleReturnData: CollectModuleData! -} - -input UnknownFollowModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -input UnknownFollowModuleRedeemParams { - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownFollowModuleSettings { - """The follow modules enum""" - type: FollowModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - followModuleReturnData: FollowModuleData! -} - -input UnknownReferenceModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - referenceModuleReturnData: ReferenceModuleData! -} - -input UpdateProfileImageRequest { - profileId: ProfileId! - - """The url to the image if offline""" - url: Url - - """The nft data""" - nftData: NFTData -} - -"""Url scalar type""" -scalar Url - -type UserSigNonces { - lensHubOnChainSigNonce: Nonce! - peripheryOnChainSigNonce: Nonce! -} - -input ValidatePublicationMetadataRequest { - metadatav1: PublicationMetadataV1Input - metadatav2: PublicationMetadataV2Input -} - -"""The access request""" -input VerifyRequest { - """The access token""" - accessToken: Jwt! -} - -"""Represents NULL values""" -scalar Void - -type Wallet { - address: EthereumAddress! - - """ - The default profile for the wallet for now it is just their first profile, - this will be the default profile they picked soon enough - """ - defaultProfile: Profile -} - -input WhoCollectedPublicationRequest { - limit: LimitScalar - cursor: Cursor - - """Internal publication id""" - publicationId: InternalPublicationId! -} - -input WhoReactedPublicationRequest { - limit: LimitScalar - cursor: Cursor - - """Internal publication id""" - publicationId: InternalPublicationId! -} - -"""The Profile""" -type WhoReactedResult { - """The reaction id""" - reactionId: ReactionId! - - """The reaction""" - reaction: ReactionTypes! - - """The reaction""" - reactionAt: DateTime! - profile: Profile! -} - -type WorldcoinIdentity { - """If the profile has verified as a user""" - isHuman: Boolean! -} - diff --git a/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx b/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx index 50ec9ea7..2885b215 100644 --- a/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useDaoProposals.tsx @@ -42,6 +42,7 @@ const fetchProposals = async ({ paging: pageParam || paging, graphApiKeys, }); + return res; } catch (error) { throw new Error( @@ -106,7 +107,7 @@ export const useDaoProposals = (props?: DaoProposalsProps) => { ); const { data, error, ...rest } = useInfiniteQuery( - [{ daoId, daoChain, filter, ordering, paging }], + ['proposals', { daoId, daoChain, filter, ordering, paging }], ({ pageParam }) => fetchProposals({ daoId, diff --git a/libs/moloch-v3-hooks/src/hooks/useProfile.tsx b/libs/moloch-v3-hooks/src/hooks/useProfile.tsx index 46190e58..bcab02ee 100644 --- a/libs/moloch-v3-hooks/src/hooks/useProfile.tsx +++ b/libs/moloch-v3-hooks/src/hooks/useProfile.tsx @@ -4,36 +4,29 @@ import { useQuery } from 'react-query'; const fetchProfile = async ({ address, - ensNetwork, - rpcs, + mainnetRpc, }: { address: string; - ensNetwork: string; - rpcs: Record; + mainnetRpc?: string; }) => { - const rpcUri = rpcs[ensNetwork]; - - if (!rpcUri) { - throw new Error('Invalid RPC URI'); - } - - const profile = await getProfileForAddress(address, rpcUri); + const profile = await getProfileForAddress({ + address, + rpcUri: mainnetRpc, + }); return profile; }; export const useProfile = ({ address, - ensNetwork = '0x1', - rpcs = HAUS_RPC, + mainnetRpc = HAUS_RPC['0x1'], }: { address: string; - ensNetwork?: string; - rpcs?: Record; + mainnetRpc?: string; }) => { const { data, error, ...rest } = useQuery( [`globalProfile-${address}`], - () => fetchProfile({ address, ensNetwork, rpcs }), + () => fetchProfile({ address, mainnetRpc }), { enabled: !!address } ); diff --git a/libs/moloch-v3-macro-ui/src/components/DaoOverview/index.ts b/libs/moloch-v3-macro-ui/src/components/DaoOverview/index.ts index 411b24e4..964ab3dc 100644 --- a/libs/moloch-v3-macro-ui/src/components/DaoOverview/index.ts +++ b/libs/moloch-v3-macro-ui/src/components/DaoOverview/index.ts @@ -1 +1,2 @@ export * from './DaoOverview'; +export * from './DaoProfile'; diff --git a/libs/moloch-v3-macro-ui/src/components/MemberProfileCard/MemberProfile.tsx b/libs/moloch-v3-macro-ui/src/components/MemberProfileCard/MemberProfile.tsx index 451a908b..65e5dfc0 100644 --- a/libs/moloch-v3-macro-ui/src/components/MemberProfileCard/MemberProfile.tsx +++ b/libs/moloch-v3-macro-ui/src/components/MemberProfileCard/MemberProfile.tsx @@ -1,14 +1,7 @@ import styled from 'styled-components'; import { ValidNetwork } from '@daohaus/keychain-utils'; import { MolochV3Dao, MolochV3Member } from '@daohaus/moloch-v3-data'; -import { - H5, - ParLg, - DataXs, - AddressDisplay, - DataIndicator, - ParMd, -} from '@daohaus/ui'; +import { H5, DataXs, AddressDisplay, DataIndicator, ParMd } from '@daohaus/ui'; import { AccountProfile, formatLongDateFromSeconds, @@ -67,19 +60,14 @@ export const MemberProfile = ({ - {profile?.name &&
{profile?.name || ''}
} - {profile?.emoji && ( - - {profile?.emoji || ''} - - )} + {profile?.ens &&
{profile?.ens || ''}
}
{membership && ( => { +export const getProfileForAddress = async ({ + address, + rpcUri, +}: { + address: string; + rpcUri?: string; +}): Promise => { const reverseEnsRecord = rpcUri && (await getENSReverseResolver({ address, rpcUri })); - const ensDomain = reverseEnsRecord - ? reverseEnsRecord - : await getENSDomain({ - address, - }); - const lensProfile = await getLensProfile({ - memberAddress: address, - } as ListProfileQueryVariables); - return transformProfile({ address, lensProfile, ensDomain }); + return transformProfile({ + address, + ensDomain: reverseEnsRecord, + }); }; const getENSReverseResolver = async ({ @@ -52,9 +40,13 @@ const getENSReverseResolver = async ({ }); if (ensName) { + const ensText = await client.getEnsAvatar({ + name: normalize(ensName), + }); return { domain: { name: ensName, + avatar: ensText, }, }; } @@ -62,38 +54,3 @@ const getENSReverseResolver = async ({ console.error('Unable to fetch ENS reverse record', error); } }; - -const getENSDomain = async ({ - address, - now = (new Date().getTime() / 1000).toFixed(0), -}: ListActiveDomainsQueryVariables): Promise => { - const endpoint = 'https://api.thegraph.com/subgraphs/name/ensdomains/ens'; - - const res = await graphFetchList< - ListActiveDomainsQuery, - ListActiveDomainsQueryVariables - >(ListActiveDomainsDocument, endpoint, { - address: address.toLowerCase(), - now, - }); - - return res.account?.activeDomains?.[0]; -}; - -const getLensProfile = async ({ - memberAddress, -}: { - memberAddress: ListProfileQueryVariables; -}): Promise => { - const url = 'https://api.lens.dev'; - - const res = await graphFetchList( - ListProfileDocument, - url, - { - memberAddress, - } - ); - - return res.profiles.items[0]; -}; diff --git a/libs/profile-data/src/subgraph/queries-ens/account.generated.ts b/libs/profile-data/src/subgraph/queries-ens/account.generated.ts deleted file mode 100644 index 83986e03..00000000 --- a/libs/profile-data/src/subgraph/queries-ens/account.generated.ts +++ /dev/null @@ -1,13 +0,0 @@ -import * as Types from '../schema-ens.generated'; - -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type ListActiveDomainsQueryVariables = Types.Exact<{ - address: Types.Scalars['ID']; - now?: Types.Scalars['BigInt']; -}>; - - -export type ListActiveDomainsQuery = { account?: { id: string, activeDomains?: Array<{ id: string, registrationDate: string, expiryDate: string, domain?: { name?: string | undefined } | undefined }> | undefined } | undefined }; - - -export const ListActiveDomainsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listActiveDomains"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"now"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigInt"}}},"defaultValue":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"account"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"activeDomains"},"name":{"kind":"Name","value":"registrations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"expiryDate_gt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"now"}}}]}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"EnumValue","value":"registrationDate"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"domain"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"registrationDate"}},{"kind":"Field","name":{"kind":"Name","value":"expiryDate"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/profile-data/src/subgraph/queries-ens/account.graphql b/libs/profile-data/src/subgraph/queries-ens/account.graphql deleted file mode 100644 index ae875246..00000000 --- a/libs/profile-data/src/subgraph/queries-ens/account.graphql +++ /dev/null @@ -1,18 +0,0 @@ -query listActiveDomains( - $address: ID!, - $now: BigInt! = 0 -) { - account(id: $address) { - id - activeDomains: registrations(where: { - expiryDate_gt: $now - }, orderBy: registrationDate) { - id - domain { - name - } - registrationDate - expiryDate - } - } -} \ No newline at end of file diff --git a/libs/profile-data/src/subgraph/queries-lens/profiles.generated.ts b/libs/profile-data/src/subgraph/queries-lens/profiles.generated.ts deleted file mode 100644 index adbae256..00000000 --- a/libs/profile-data/src/subgraph/queries-lens/profiles.generated.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as Types from '../schema-lens.generated'; - -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type ListProfileQueryVariables = Types.Exact<{ - memberAddress: Types.Scalars['EthereumAddress']; -}>; - - -export type ListProfileQuery = { profiles: { items: Array<{ id: any, name?: string | undefined, bio?: string | undefined, followNftAddress?: any | undefined, metadata?: any | undefined, isDefault: boolean, handle: any, ownedBy: any, picture?: { __typename: 'MediaSet', original: { url: any, mimeType?: any | undefined } } | { __typename: 'NftImage', contractAddress: any, tokenId: string, uri: any, verified: boolean } | undefined, coverPicture?: { __typename: 'MediaSet', original: { url: any, mimeType?: any | undefined } } | { __typename: 'NftImage', contractAddress: any, tokenId: string, uri: any, verified: boolean } | undefined, onChainIdentity: { ens?: { name?: any | undefined } | undefined } }>, pageInfo: { prev?: any | undefined, next?: any | undefined, totalCount?: number | undefined } } }; - - -export const ListProfileDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listProfile"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberAddress"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EthereumAddress"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"profiles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"request"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"ownedBy"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"memberAddress"}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"10"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"bio"}},{"kind":"Field","name":{"kind":"Name","value":"followNftAddress"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}},{"kind":"Field","name":{"kind":"Name","value":"picture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NftImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contractAddress"}},{"kind":"Field","name":{"kind":"Name","value":"tokenId"}},{"kind":"Field","name":{"kind":"Name","value":"uri"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaSet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"original"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"handle"}},{"kind":"Field","name":{"kind":"Name","value":"coverPicture"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NftImage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contractAddress"}},{"kind":"Field","name":{"kind":"Name","value":"tokenId"}},{"kind":"Field","name":{"kind":"Name","value":"uri"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MediaSet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"original"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"ownedBy"}},{"kind":"Field","name":{"kind":"Name","value":"onChainIdentity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"prev"}},{"kind":"Field","name":{"kind":"Name","value":"next"}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/profile-data/src/subgraph/queries-lens/profiles.graphql b/libs/profile-data/src/subgraph/queries-lens/profiles.graphql deleted file mode 100644 index 8bf37834..00000000 --- a/libs/profile-data/src/subgraph/queries-lens/profiles.graphql +++ /dev/null @@ -1,55 +0,0 @@ -query listProfile($memberAddress: EthereumAddress!) { - profiles(request: { ownedBy: [$memberAddress], limit: 10 }) { - items { - id - name - bio - followNftAddress - metadata - isDefault - - picture { - ... on NftImage { - contractAddress - tokenId - uri - verified - } - ... on MediaSet { - original { - url - mimeType - } - } - __typename - } - handle - coverPicture { - ... on NftImage { - contractAddress - tokenId - uri - verified - } - ... on MediaSet { - original { - url - mimeType - } - } - __typename - } - ownedBy - onChainIdentity { - ens { - name - } - } - } - pageInfo { - prev - next - totalCount - } - } -} diff --git a/libs/profile-data/src/subgraph/schema-ens.generated.ts b/libs/profile-data/src/subgraph/schema-ens.generated.ts deleted file mode 100644 index c0cc8bab..00000000 --- a/libs/profile-data/src/subgraph/schema-ens.generated.ts +++ /dev/null @@ -1,3017 +0,0 @@ -export type Maybe = T | undefined; -export type InputMaybe = T | undefined | null; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -/** All built-in and custom scalars, mapped to their actual values */ -export interface Scalars { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - BigDecimal: string; - BigInt: string; - Bytes: string; -} - -export interface AbiChanged extends ResolverEvent { - __typename?: 'AbiChanged'; - blockNumber: Scalars['Int']; - contentType: Scalars['BigInt']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface AbiChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - contentType?: InputMaybe; - contentType_gt?: InputMaybe; - contentType_gte?: InputMaybe; - contentType_in?: InputMaybe>; - contentType_lt?: InputMaybe; - contentType_lte?: InputMaybe; - contentType_not?: InputMaybe; - contentType_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AbiChanged_OrderBy = - | 'blockNumber' - | 'contentType' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Account { - __typename?: 'Account'; - domains: Array; - id: Scalars['ID']; - registrations?: Maybe>; -} - - -export interface AccountDomainsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - - -export interface AccountRegistrationsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface Account_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - domains_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registrations_?: InputMaybe; -} - -export type Account_OrderBy = - | 'domains' - | 'id' - | 'registrations'; - -export interface AddrChanged extends ResolverEvent { - __typename?: 'AddrChanged'; - addr: Account; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface AddrChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_?: InputMaybe; - addr_contains?: InputMaybe; - addr_contains_nocase?: InputMaybe; - addr_ends_with?: InputMaybe; - addr_ends_with_nocase?: InputMaybe; - addr_gt?: InputMaybe; - addr_gte?: InputMaybe; - addr_in?: InputMaybe>; - addr_lt?: InputMaybe; - addr_lte?: InputMaybe; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_contains_nocase?: InputMaybe; - addr_not_ends_with?: InputMaybe; - addr_not_ends_with_nocase?: InputMaybe; - addr_not_in?: InputMaybe>; - addr_not_starts_with?: InputMaybe; - addr_not_starts_with_nocase?: InputMaybe; - addr_starts_with?: InputMaybe; - addr_starts_with_nocase?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AddrChanged_OrderBy = - | 'addr' - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface AuthorisationChanged extends ResolverEvent { - __typename?: 'AuthorisationChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - isAuthorized: Scalars['Boolean']; - owner: Scalars['Bytes']; - resolver: Resolver; - target: Scalars['Bytes']; - transactionID: Scalars['Bytes']; -} - -export interface AuthorisationChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isAuthorized?: InputMaybe; - isAuthorized_in?: InputMaybe>; - isAuthorized_not?: InputMaybe; - isAuthorized_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_contains?: InputMaybe; - owner_in?: InputMaybe>; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - target?: InputMaybe; - target_contains?: InputMaybe; - target_in?: InputMaybe>; - target_not?: InputMaybe; - target_not_contains?: InputMaybe; - target_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type AuthorisationChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'isAuthorized' - | 'owner' - | 'resolver' - | 'target' - | 'transactionID'; - -export interface BlockChangedFilter { - number_gte: Scalars['Int']; -} - -export interface Block_Height { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; -} - -export interface ContenthashChanged extends ResolverEvent { - __typename?: 'ContenthashChanged'; - blockNumber: Scalars['Int']; - hash: Scalars['Bytes']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface ContenthashChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - hash?: InputMaybe; - hash_contains?: InputMaybe; - hash_in?: InputMaybe>; - hash_not?: InputMaybe; - hash_not_contains?: InputMaybe; - hash_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type ContenthashChanged_OrderBy = - | 'blockNumber' - | 'hash' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Domain { - __typename?: 'Domain'; - createdAt: Scalars['BigInt']; - events: Array; - id: Scalars['ID']; - isMigrated: Scalars['Boolean']; - labelName?: Maybe; - labelhash?: Maybe; - name?: Maybe; - owner: Account; - parent?: Maybe; - resolvedAddress?: Maybe; - resolver?: Maybe; - subdomainCount: Scalars['Int']; - subdomains: Array; - ttl?: Maybe; -} - - -export interface DomainEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - - -export interface DomainSubdomainsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface DomainEvent { - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - transactionID: Scalars['Bytes']; -} - -export interface DomainEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type DomainEvent_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'transactionID'; - -export interface Domain_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - createdAt?: InputMaybe; - createdAt_gt?: InputMaybe; - createdAt_gte?: InputMaybe; - createdAt_in?: InputMaybe>; - createdAt_lt?: InputMaybe; - createdAt_lte?: InputMaybe; - createdAt_not?: InputMaybe; - createdAt_not_in?: InputMaybe>; - events_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isMigrated?: InputMaybe; - isMigrated_in?: InputMaybe>; - isMigrated_not?: InputMaybe; - isMigrated_not_in?: InputMaybe>; - labelName?: InputMaybe; - labelName_contains?: InputMaybe; - labelName_contains_nocase?: InputMaybe; - labelName_ends_with?: InputMaybe; - labelName_ends_with_nocase?: InputMaybe; - labelName_gt?: InputMaybe; - labelName_gte?: InputMaybe; - labelName_in?: InputMaybe>; - labelName_lt?: InputMaybe; - labelName_lte?: InputMaybe; - labelName_not?: InputMaybe; - labelName_not_contains?: InputMaybe; - labelName_not_contains_nocase?: InputMaybe; - labelName_not_ends_with?: InputMaybe; - labelName_not_ends_with_nocase?: InputMaybe; - labelName_not_in?: InputMaybe>; - labelName_not_starts_with?: InputMaybe; - labelName_not_starts_with_nocase?: InputMaybe; - labelName_starts_with?: InputMaybe; - labelName_starts_with_nocase?: InputMaybe; - labelhash?: InputMaybe; - labelhash_contains?: InputMaybe; - labelhash_in?: InputMaybe>; - labelhash_not?: InputMaybe; - labelhash_not_contains?: InputMaybe; - labelhash_not_in?: InputMaybe>; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - parent?: InputMaybe; - parent_?: InputMaybe; - parent_contains?: InputMaybe; - parent_contains_nocase?: InputMaybe; - parent_ends_with?: InputMaybe; - parent_ends_with_nocase?: InputMaybe; - parent_gt?: InputMaybe; - parent_gte?: InputMaybe; - parent_in?: InputMaybe>; - parent_lt?: InputMaybe; - parent_lte?: InputMaybe; - parent_not?: InputMaybe; - parent_not_contains?: InputMaybe; - parent_not_contains_nocase?: InputMaybe; - parent_not_ends_with?: InputMaybe; - parent_not_ends_with_nocase?: InputMaybe; - parent_not_in?: InputMaybe>; - parent_not_starts_with?: InputMaybe; - parent_not_starts_with_nocase?: InputMaybe; - parent_starts_with?: InputMaybe; - parent_starts_with_nocase?: InputMaybe; - resolvedAddress?: InputMaybe; - resolvedAddress_?: InputMaybe; - resolvedAddress_contains?: InputMaybe; - resolvedAddress_contains_nocase?: InputMaybe; - resolvedAddress_ends_with?: InputMaybe; - resolvedAddress_ends_with_nocase?: InputMaybe; - resolvedAddress_gt?: InputMaybe; - resolvedAddress_gte?: InputMaybe; - resolvedAddress_in?: InputMaybe>; - resolvedAddress_lt?: InputMaybe; - resolvedAddress_lte?: InputMaybe; - resolvedAddress_not?: InputMaybe; - resolvedAddress_not_contains?: InputMaybe; - resolvedAddress_not_contains_nocase?: InputMaybe; - resolvedAddress_not_ends_with?: InputMaybe; - resolvedAddress_not_ends_with_nocase?: InputMaybe; - resolvedAddress_not_in?: InputMaybe>; - resolvedAddress_not_starts_with?: InputMaybe; - resolvedAddress_not_starts_with_nocase?: InputMaybe; - resolvedAddress_starts_with?: InputMaybe; - resolvedAddress_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - subdomainCount?: InputMaybe; - subdomainCount_gt?: InputMaybe; - subdomainCount_gte?: InputMaybe; - subdomainCount_in?: InputMaybe>; - subdomainCount_lt?: InputMaybe; - subdomainCount_lte?: InputMaybe; - subdomainCount_not?: InputMaybe; - subdomainCount_not_in?: InputMaybe>; - subdomains_?: InputMaybe; - ttl?: InputMaybe; - ttl_gt?: InputMaybe; - ttl_gte?: InputMaybe; - ttl_in?: InputMaybe>; - ttl_lt?: InputMaybe; - ttl_lte?: InputMaybe; - ttl_not?: InputMaybe; - ttl_not_in?: InputMaybe>; -} - -export type Domain_OrderBy = - | 'createdAt' - | 'events' - | 'id' - | 'isMigrated' - | 'labelName' - | 'labelhash' - | 'name' - | 'owner' - | 'parent' - | 'resolvedAddress' - | 'resolver' - | 'subdomainCount' - | 'subdomains' - | 'ttl'; - -export interface InterfaceChanged extends ResolverEvent { - __typename?: 'InterfaceChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - implementer: Scalars['Bytes']; - interfaceID: Scalars['Bytes']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface InterfaceChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - implementer?: InputMaybe; - implementer_contains?: InputMaybe; - implementer_in?: InputMaybe>; - implementer_not?: InputMaybe; - implementer_not_contains?: InputMaybe; - implementer_not_in?: InputMaybe>; - interfaceID?: InputMaybe; - interfaceID_contains?: InputMaybe; - interfaceID_in?: InputMaybe>; - interfaceID_not?: InputMaybe; - interfaceID_not_contains?: InputMaybe; - interfaceID_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type InterfaceChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'implementer' - | 'interfaceID' - | 'resolver' - | 'transactionID'; - -export interface MulticoinAddrChanged extends ResolverEvent { - __typename?: 'MulticoinAddrChanged'; - addr: Scalars['Bytes']; - blockNumber: Scalars['Int']; - coinType: Scalars['BigInt']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface MulticoinAddrChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_contains?: InputMaybe; - addr_in?: InputMaybe>; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_in?: InputMaybe>; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - coinType?: InputMaybe; - coinType_gt?: InputMaybe; - coinType_gte?: InputMaybe; - coinType_in?: InputMaybe>; - coinType_lt?: InputMaybe; - coinType_lte?: InputMaybe; - coinType_not?: InputMaybe; - coinType_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type MulticoinAddrChanged_OrderBy = - | 'addr' - | 'blockNumber' - | 'coinType' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface NameChanged extends ResolverEvent { - __typename?: 'NameChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - name: Scalars['String']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface NameChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'name' - | 'resolver' - | 'transactionID'; - -export interface NameRegistered extends RegistrationEvent { - __typename?: 'NameRegistered'; - blockNumber: Scalars['Int']; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - registrant: Account; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameRegistered_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registrant?: InputMaybe; - registrant_?: InputMaybe; - registrant_contains?: InputMaybe; - registrant_contains_nocase?: InputMaybe; - registrant_ends_with?: InputMaybe; - registrant_ends_with_nocase?: InputMaybe; - registrant_gt?: InputMaybe; - registrant_gte?: InputMaybe; - registrant_in?: InputMaybe>; - registrant_lt?: InputMaybe; - registrant_lte?: InputMaybe; - registrant_not?: InputMaybe; - registrant_not_contains?: InputMaybe; - registrant_not_contains_nocase?: InputMaybe; - registrant_not_ends_with?: InputMaybe; - registrant_not_ends_with_nocase?: InputMaybe; - registrant_not_in?: InputMaybe>; - registrant_not_starts_with?: InputMaybe; - registrant_not_starts_with_nocase?: InputMaybe; - registrant_starts_with?: InputMaybe; - registrant_starts_with_nocase?: InputMaybe; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameRegistered_OrderBy = - | 'blockNumber' - | 'expiryDate' - | 'id' - | 'registrant' - | 'registration' - | 'transactionID'; - -export interface NameRenewed extends RegistrationEvent { - __typename?: 'NameRenewed'; - blockNumber: Scalars['Int']; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameRenewed_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameRenewed_OrderBy = - | 'blockNumber' - | 'expiryDate' - | 'id' - | 'registration' - | 'transactionID'; - -export interface NameTransferred extends RegistrationEvent { - __typename?: 'NameTransferred'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - newOwner: Account; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface NameTransferred_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - newOwner?: InputMaybe; - newOwner_?: InputMaybe; - newOwner_contains?: InputMaybe; - newOwner_contains_nocase?: InputMaybe; - newOwner_ends_with?: InputMaybe; - newOwner_ends_with_nocase?: InputMaybe; - newOwner_gt?: InputMaybe; - newOwner_gte?: InputMaybe; - newOwner_in?: InputMaybe>; - newOwner_lt?: InputMaybe; - newOwner_lte?: InputMaybe; - newOwner_not?: InputMaybe; - newOwner_not_contains?: InputMaybe; - newOwner_not_contains_nocase?: InputMaybe; - newOwner_not_ends_with?: InputMaybe; - newOwner_not_ends_with_nocase?: InputMaybe; - newOwner_not_in?: InputMaybe>; - newOwner_not_starts_with?: InputMaybe; - newOwner_not_starts_with_nocase?: InputMaybe; - newOwner_starts_with?: InputMaybe; - newOwner_starts_with_nocase?: InputMaybe; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NameTransferred_OrderBy = - | 'blockNumber' - | 'id' - | 'newOwner' - | 'registration' - | 'transactionID'; - -export interface NewOwner extends DomainEvent { - __typename?: 'NewOwner'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - owner: Account; - parentDomain: Domain; - transactionID: Scalars['Bytes']; -} - -export interface NewOwner_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - parentDomain?: InputMaybe; - parentDomain_?: InputMaybe; - parentDomain_contains?: InputMaybe; - parentDomain_contains_nocase?: InputMaybe; - parentDomain_ends_with?: InputMaybe; - parentDomain_ends_with_nocase?: InputMaybe; - parentDomain_gt?: InputMaybe; - parentDomain_gte?: InputMaybe; - parentDomain_in?: InputMaybe>; - parentDomain_lt?: InputMaybe; - parentDomain_lte?: InputMaybe; - parentDomain_not?: InputMaybe; - parentDomain_not_contains?: InputMaybe; - parentDomain_not_contains_nocase?: InputMaybe; - parentDomain_not_ends_with?: InputMaybe; - parentDomain_not_ends_with_nocase?: InputMaybe; - parentDomain_not_in?: InputMaybe>; - parentDomain_not_starts_with?: InputMaybe; - parentDomain_not_starts_with_nocase?: InputMaybe; - parentDomain_starts_with?: InputMaybe; - parentDomain_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NewOwner_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'owner' - | 'parentDomain' - | 'transactionID'; - -export interface NewResolver extends DomainEvent { - __typename?: 'NewResolver'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface NewResolver_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type NewResolver_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface NewTtl extends DomainEvent { - __typename?: 'NewTTL'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - transactionID: Scalars['Bytes']; - ttl: Scalars['BigInt']; -} - -export interface NewTtl_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; - ttl?: InputMaybe; - ttl_gt?: InputMaybe; - ttl_gte?: InputMaybe; - ttl_in?: InputMaybe>; - ttl_lt?: InputMaybe; - ttl_lte?: InputMaybe; - ttl_not?: InputMaybe; - ttl_not_in?: InputMaybe>; -} - -export type NewTtl_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'transactionID' - | 'ttl'; - -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = - | 'asc' - | 'desc'; - -export interface PubkeyChanged extends ResolverEvent { - __typename?: 'PubkeyChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; - x: Scalars['Bytes']; - y: Scalars['Bytes']; -} - -export interface PubkeyChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; - x?: InputMaybe; - x_contains?: InputMaybe; - x_in?: InputMaybe>; - x_not?: InputMaybe; - x_not_contains?: InputMaybe; - x_not_in?: InputMaybe>; - y?: InputMaybe; - y_contains?: InputMaybe; - y_in?: InputMaybe>; - y_not?: InputMaybe; - y_not_contains?: InputMaybe; - y_not_in?: InputMaybe>; -} - -export type PubkeyChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID' - | 'x' - | 'y'; - -export interface Query { - __typename?: 'Query'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - abiChanged?: Maybe; - abiChangeds: Array; - account?: Maybe; - accounts: Array; - addrChanged?: Maybe; - addrChangeds: Array; - authorisationChanged?: Maybe; - authorisationChangeds: Array; - contenthashChanged?: Maybe; - contenthashChangeds: Array; - domain?: Maybe; - domainEvent?: Maybe; - domainEvents: Array; - domains: Array; - interfaceChanged?: Maybe; - interfaceChangeds: Array; - multicoinAddrChanged?: Maybe; - multicoinAddrChangeds: Array; - nameChanged?: Maybe; - nameChangeds: Array; - nameRegistered?: Maybe; - nameRegistereds: Array; - nameRenewed?: Maybe; - nameReneweds: Array; - nameTransferred?: Maybe; - nameTransferreds: Array; - newOwner?: Maybe; - newOwners: Array; - newResolver?: Maybe; - newResolvers: Array; - newTTL?: Maybe; - newTTLs: Array; - pubkeyChanged?: Maybe; - pubkeyChangeds: Array; - registration?: Maybe; - registrationEvent?: Maybe; - registrationEvents: Array; - registrations: Array; - resolver?: Maybe; - resolverEvent?: Maybe; - resolverEvents: Array; - resolvers: Array; - textChanged?: Maybe; - textChangeds: Array; - transfer?: Maybe; - transfers: Array; -} - - -export interface Query_MetaArgs { - block?: InputMaybe; -} - - -export interface QueryAbiChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAbiChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAccountArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAccountsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryAuthorisationChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryAuthorisationChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryContenthashChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryContenthashChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryDomainArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryDomainEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryDomainEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryDomainsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryInterfaceChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryInterfaceChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryMulticoinAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryMulticoinAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameRegisteredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameRegisteredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameRenewedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameRenewedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNameTransferredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNameTransferredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewOwnerArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewOwnersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryNewTtlArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryNewTtLsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryPubkeyChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryPubkeyChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryRegistrationArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryRegistrationEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryRegistrationEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryRegistrationsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryResolverEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryResolverEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryTextChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryTextChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface QueryTransferArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface QueryTransfersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - -export interface Registration { - __typename?: 'Registration'; - cost?: Maybe; - domain?: Maybe; - events: Array; - expiryDate: Scalars['BigInt']; - id: Scalars['ID']; - labelName?: Maybe; - registrant: Account; - registrationDate: Scalars['BigInt']; -} - - -export interface RegistrationEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface RegistrationEvent { - blockNumber: Scalars['Int']; - id: Scalars['ID']; - registration: Registration; - transactionID: Scalars['Bytes']; -} - -export interface RegistrationEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - registration?: InputMaybe; - registration_?: InputMaybe; - registration_contains?: InputMaybe; - registration_contains_nocase?: InputMaybe; - registration_ends_with?: InputMaybe; - registration_ends_with_nocase?: InputMaybe; - registration_gt?: InputMaybe; - registration_gte?: InputMaybe; - registration_in?: InputMaybe>; - registration_lt?: InputMaybe; - registration_lte?: InputMaybe; - registration_not?: InputMaybe; - registration_not_contains?: InputMaybe; - registration_not_contains_nocase?: InputMaybe; - registration_not_ends_with?: InputMaybe; - registration_not_ends_with_nocase?: InputMaybe; - registration_not_in?: InputMaybe>; - registration_not_starts_with?: InputMaybe; - registration_not_starts_with_nocase?: InputMaybe; - registration_starts_with?: InputMaybe; - registration_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type RegistrationEvent_OrderBy = - | 'blockNumber' - | 'id' - | 'registration' - | 'transactionID'; - -export interface Registration_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - cost?: InputMaybe; - cost_gt?: InputMaybe; - cost_gte?: InputMaybe; - cost_in?: InputMaybe>; - cost_lt?: InputMaybe; - cost_lte?: InputMaybe; - cost_not?: InputMaybe; - cost_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - events_?: InputMaybe; - expiryDate?: InputMaybe; - expiryDate_gt?: InputMaybe; - expiryDate_gte?: InputMaybe; - expiryDate_in?: InputMaybe>; - expiryDate_lt?: InputMaybe; - expiryDate_lte?: InputMaybe; - expiryDate_not?: InputMaybe; - expiryDate_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - labelName?: InputMaybe; - labelName_contains?: InputMaybe; - labelName_contains_nocase?: InputMaybe; - labelName_ends_with?: InputMaybe; - labelName_ends_with_nocase?: InputMaybe; - labelName_gt?: InputMaybe; - labelName_gte?: InputMaybe; - labelName_in?: InputMaybe>; - labelName_lt?: InputMaybe; - labelName_lte?: InputMaybe; - labelName_not?: InputMaybe; - labelName_not_contains?: InputMaybe; - labelName_not_contains_nocase?: InputMaybe; - labelName_not_ends_with?: InputMaybe; - labelName_not_ends_with_nocase?: InputMaybe; - labelName_not_in?: InputMaybe>; - labelName_not_starts_with?: InputMaybe; - labelName_not_starts_with_nocase?: InputMaybe; - labelName_starts_with?: InputMaybe; - labelName_starts_with_nocase?: InputMaybe; - registrant?: InputMaybe; - registrant_?: InputMaybe; - registrant_contains?: InputMaybe; - registrant_contains_nocase?: InputMaybe; - registrant_ends_with?: InputMaybe; - registrant_ends_with_nocase?: InputMaybe; - registrant_gt?: InputMaybe; - registrant_gte?: InputMaybe; - registrant_in?: InputMaybe>; - registrant_lt?: InputMaybe; - registrant_lte?: InputMaybe; - registrant_not?: InputMaybe; - registrant_not_contains?: InputMaybe; - registrant_not_contains_nocase?: InputMaybe; - registrant_not_ends_with?: InputMaybe; - registrant_not_ends_with_nocase?: InputMaybe; - registrant_not_in?: InputMaybe>; - registrant_not_starts_with?: InputMaybe; - registrant_not_starts_with_nocase?: InputMaybe; - registrant_starts_with?: InputMaybe; - registrant_starts_with_nocase?: InputMaybe; - registrationDate?: InputMaybe; - registrationDate_gt?: InputMaybe; - registrationDate_gte?: InputMaybe; - registrationDate_in?: InputMaybe>; - registrationDate_lt?: InputMaybe; - registrationDate_lte?: InputMaybe; - registrationDate_not?: InputMaybe; - registrationDate_not_in?: InputMaybe>; -} - -export type Registration_OrderBy = - | 'cost' - | 'domain' - | 'events' - | 'expiryDate' - | 'id' - | 'labelName' - | 'registrant' - | 'registrationDate'; - -export interface Resolver { - __typename?: 'Resolver'; - addr?: Maybe; - address: Scalars['Bytes']; - coinTypes?: Maybe>; - contentHash?: Maybe; - domain?: Maybe; - events: Array; - id: Scalars['ID']; - texts?: Maybe>; -} - - -export interface ResolverEventsArgs { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -} - -export interface ResolverEvent { - blockNumber: Scalars['Int']; - id: Scalars['ID']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface ResolverEvent_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type ResolverEvent_OrderBy = - | 'blockNumber' - | 'id' - | 'resolver' - | 'transactionID'; - -export interface Resolver_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - addr?: InputMaybe; - addr_?: InputMaybe; - addr_contains?: InputMaybe; - addr_contains_nocase?: InputMaybe; - addr_ends_with?: InputMaybe; - addr_ends_with_nocase?: InputMaybe; - addr_gt?: InputMaybe; - addr_gte?: InputMaybe; - addr_in?: InputMaybe>; - addr_lt?: InputMaybe; - addr_lte?: InputMaybe; - addr_not?: InputMaybe; - addr_not_contains?: InputMaybe; - addr_not_contains_nocase?: InputMaybe; - addr_not_ends_with?: InputMaybe; - addr_not_ends_with_nocase?: InputMaybe; - addr_not_in?: InputMaybe>; - addr_not_starts_with?: InputMaybe; - addr_not_starts_with_nocase?: InputMaybe; - addr_starts_with?: InputMaybe; - addr_starts_with_nocase?: InputMaybe; - address?: InputMaybe; - address_contains?: InputMaybe; - address_in?: InputMaybe>; - address_not?: InputMaybe; - address_not_contains?: InputMaybe; - address_not_in?: InputMaybe>; - coinTypes?: InputMaybe>; - coinTypes_contains?: InputMaybe>; - coinTypes_contains_nocase?: InputMaybe>; - coinTypes_not?: InputMaybe>; - coinTypes_not_contains?: InputMaybe>; - coinTypes_not_contains_nocase?: InputMaybe>; - contentHash?: InputMaybe; - contentHash_contains?: InputMaybe; - contentHash_in?: InputMaybe>; - contentHash_not?: InputMaybe; - contentHash_not_contains?: InputMaybe; - contentHash_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - events_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - texts?: InputMaybe>; - texts_contains?: InputMaybe>; - texts_contains_nocase?: InputMaybe>; - texts_not?: InputMaybe>; - texts_not_contains?: InputMaybe>; - texts_not_contains_nocase?: InputMaybe>; -} - -export type Resolver_OrderBy = - | 'addr' - | 'address' - | 'coinTypes' - | 'contentHash' - | 'domain' - | 'events' - | 'id' - | 'texts'; - -export interface Subscription { - __typename?: 'Subscription'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - abiChanged?: Maybe; - abiChangeds: Array; - account?: Maybe; - accounts: Array; - addrChanged?: Maybe; - addrChangeds: Array; - authorisationChanged?: Maybe; - authorisationChangeds: Array; - contenthashChanged?: Maybe; - contenthashChangeds: Array; - domain?: Maybe; - domainEvent?: Maybe; - domainEvents: Array; - domains: Array; - interfaceChanged?: Maybe; - interfaceChangeds: Array; - multicoinAddrChanged?: Maybe; - multicoinAddrChangeds: Array; - nameChanged?: Maybe; - nameChangeds: Array; - nameRegistered?: Maybe; - nameRegistereds: Array; - nameRenewed?: Maybe; - nameReneweds: Array; - nameTransferred?: Maybe; - nameTransferreds: Array; - newOwner?: Maybe; - newOwners: Array; - newResolver?: Maybe; - newResolvers: Array; - newTTL?: Maybe; - newTTLs: Array; - pubkeyChanged?: Maybe; - pubkeyChangeds: Array; - registration?: Maybe; - registrationEvent?: Maybe; - registrationEvents: Array; - registrations: Array; - resolver?: Maybe; - resolverEvent?: Maybe; - resolverEvents: Array; - resolvers: Array; - textChanged?: Maybe; - textChangeds: Array; - transfer?: Maybe; - transfers: Array; -} - - -export interface Subscription_MetaArgs { - block?: InputMaybe; -} - - -export interface SubscriptionAbiChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAbiChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAccountArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAccountsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionAuthorisationChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionAuthorisationChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionContenthashChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionContenthashChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionDomainArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionDomainEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionDomainEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionDomainsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionInterfaceChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionInterfaceChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionMulticoinAddrChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionMulticoinAddrChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameRegisteredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameRegisteredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameRenewedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameRenewedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNameTransferredArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNameTransferredsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewOwnerArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewOwnersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionNewTtlArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionNewTtLsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionPubkeyChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionPubkeyChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionRegistrationArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionRegistrationEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionRegistrationEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionRegistrationsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionResolverArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionResolverEventArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionResolverEventsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionResolversArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionTextChangedArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionTextChangedsArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - - -export interface SubscriptionTransferArgs { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; -} - - -export interface SubscriptionTransfersArgs { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; -} - -export interface TextChanged extends ResolverEvent { - __typename?: 'TextChanged'; - blockNumber: Scalars['Int']; - id: Scalars['ID']; - key: Scalars['String']; - resolver: Resolver; - transactionID: Scalars['Bytes']; -} - -export interface TextChanged_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - key?: InputMaybe; - key_contains?: InputMaybe; - key_contains_nocase?: InputMaybe; - key_ends_with?: InputMaybe; - key_ends_with_nocase?: InputMaybe; - key_gt?: InputMaybe; - key_gte?: InputMaybe; - key_in?: InputMaybe>; - key_lt?: InputMaybe; - key_lte?: InputMaybe; - key_not?: InputMaybe; - key_not_contains?: InputMaybe; - key_not_contains_nocase?: InputMaybe; - key_not_ends_with?: InputMaybe; - key_not_ends_with_nocase?: InputMaybe; - key_not_in?: InputMaybe>; - key_not_starts_with?: InputMaybe; - key_not_starts_with_nocase?: InputMaybe; - key_starts_with?: InputMaybe; - key_starts_with_nocase?: InputMaybe; - resolver?: InputMaybe; - resolver_?: InputMaybe; - resolver_contains?: InputMaybe; - resolver_contains_nocase?: InputMaybe; - resolver_ends_with?: InputMaybe; - resolver_ends_with_nocase?: InputMaybe; - resolver_gt?: InputMaybe; - resolver_gte?: InputMaybe; - resolver_in?: InputMaybe>; - resolver_lt?: InputMaybe; - resolver_lte?: InputMaybe; - resolver_not?: InputMaybe; - resolver_not_contains?: InputMaybe; - resolver_not_contains_nocase?: InputMaybe; - resolver_not_ends_with?: InputMaybe; - resolver_not_ends_with_nocase?: InputMaybe; - resolver_not_in?: InputMaybe>; - resolver_not_starts_with?: InputMaybe; - resolver_not_starts_with_nocase?: InputMaybe; - resolver_starts_with?: InputMaybe; - resolver_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type TextChanged_OrderBy = - | 'blockNumber' - | 'id' - | 'key' - | 'resolver' - | 'transactionID'; - -export interface Transfer extends DomainEvent { - __typename?: 'Transfer'; - blockNumber: Scalars['Int']; - domain: Domain; - id: Scalars['ID']; - owner: Account; - transactionID: Scalars['Bytes']; -} - -export interface Transfer_Filter { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_lt?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_not_in?: InputMaybe>; - domain?: InputMaybe; - domain_?: InputMaybe; - domain_contains?: InputMaybe; - domain_contains_nocase?: InputMaybe; - domain_ends_with?: InputMaybe; - domain_ends_with_nocase?: InputMaybe; - domain_gt?: InputMaybe; - domain_gte?: InputMaybe; - domain_in?: InputMaybe>; - domain_lt?: InputMaybe; - domain_lte?: InputMaybe; - domain_not?: InputMaybe; - domain_not_contains?: InputMaybe; - domain_not_contains_nocase?: InputMaybe; - domain_not_ends_with?: InputMaybe; - domain_not_ends_with_nocase?: InputMaybe; - domain_not_in?: InputMaybe>; - domain_not_starts_with?: InputMaybe; - domain_not_starts_with_nocase?: InputMaybe; - domain_starts_with?: InputMaybe; - domain_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - owner?: InputMaybe; - owner_?: InputMaybe; - owner_contains?: InputMaybe; - owner_contains_nocase?: InputMaybe; - owner_ends_with?: InputMaybe; - owner_ends_with_nocase?: InputMaybe; - owner_gt?: InputMaybe; - owner_gte?: InputMaybe; - owner_in?: InputMaybe>; - owner_lt?: InputMaybe; - owner_lte?: InputMaybe; - owner_not?: InputMaybe; - owner_not_contains?: InputMaybe; - owner_not_contains_nocase?: InputMaybe; - owner_not_ends_with?: InputMaybe; - owner_not_ends_with_nocase?: InputMaybe; - owner_not_in?: InputMaybe>; - owner_not_starts_with?: InputMaybe; - owner_not_starts_with_nocase?: InputMaybe; - owner_starts_with?: InputMaybe; - owner_starts_with_nocase?: InputMaybe; - transactionID?: InputMaybe; - transactionID_contains?: InputMaybe; - transactionID_in?: InputMaybe>; - transactionID_not?: InputMaybe; - transactionID_not_contains?: InputMaybe; - transactionID_not_in?: InputMaybe>; -} - -export type Transfer_OrderBy = - | 'blockNumber' - | 'domain' - | 'id' - | 'owner' - | 'transactionID'; - -export interface _Block_ { - __typename?: '_Block_'; - /** The hash of the block */ - hash?: Maybe; - /** The block number */ - number: Scalars['Int']; - /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp?: Maybe; -} - -/** The type for the top-level _meta field */ -export interface _Meta_ { - __typename?: '_Meta_'; - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - */ - block: _Block_; - /** The deployment ID */ - deployment: Scalars['String']; - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean']; -} - -export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny'; diff --git a/libs/profile-data/src/subgraph/schema-ens.graphql b/libs/profile-data/src/subgraph/schema-ens.graphql deleted file mode 100644 index 98376616..00000000 --- a/libs/profile-data/src/subgraph/schema-ens.graphql +++ /dev/null @@ -1,3911 +0,0 @@ -""" -Marks the GraphQL type as indexable entity. Each type that should be an entity -is required to be annotated with this directive. -""" -directive @entity on OBJECT - -"""Defined a Subgraph ID for an object type""" -directive @subgraphId(id: String!) on OBJECT - -""" -creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API. -""" -directive @derivedFrom(field: String!) on FIELD_DEFINITION - -type _Block_ { - """The hash of the block""" - hash: Bytes - - """The block number""" - number: Int! - - """Integer representation of the timestamp stored in blocks for the chain""" - timestamp: Int -} - -"""The type for the top-level _meta field""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - - """ - block: _Block_! - - """The deployment ID""" - deployment: String! - - """If `true`, the subgraph encountered indexing errors at some past block""" - hasIndexingErrors: Boolean! -} - -enum _SubgraphErrorPolicy_ { - """Data will be returned even if the subgraph has indexing errors""" - allow - - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny -} - -type AbiChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - contentType: BigInt! -} - -input AbiChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - contentType: BigInt - contentType_not: BigInt - contentType_gt: BigInt - contentType_lt: BigInt - contentType_gte: BigInt - contentType_lte: BigInt - contentType_in: [BigInt!] - contentType_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AbiChanged_orderBy { - id - resolver - blockNumber - transactionID - contentType -} - -type Account { - id: ID! - domains(skip: Int = 0, first: Int = 100, orderBy: Domain_orderBy, orderDirection: OrderDirection, where: Domain_filter): [Domain!]! - registrations(skip: Int = 0, first: Int = 100, orderBy: Registration_orderBy, orderDirection: OrderDirection, where: Registration_filter): [Registration!] -} - -input Account_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domains_: Domain_filter - registrations_: Registration_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Account_orderBy { - id - domains - registrations -} - -type AddrChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - addr: Account! -} - -input AddrChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - addr: String - addr_not: String - addr_gt: String - addr_lt: String - addr_gte: String - addr_lte: String - addr_in: [String!] - addr_not_in: [String!] - addr_contains: String - addr_contains_nocase: String - addr_not_contains: String - addr_not_contains_nocase: String - addr_starts_with: String - addr_starts_with_nocase: String - addr_not_starts_with: String - addr_not_starts_with_nocase: String - addr_ends_with: String - addr_ends_with_nocase: String - addr_not_ends_with: String - addr_not_ends_with_nocase: String - addr_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AddrChanged_orderBy { - id - resolver - blockNumber - transactionID - addr -} - -type AuthorisationChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - owner: Bytes! - target: Bytes! - isAuthorized: Boolean! -} - -input AuthorisationChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: Bytes - owner_not: Bytes - owner_in: [Bytes!] - owner_not_in: [Bytes!] - owner_contains: Bytes - owner_not_contains: Bytes - target: Bytes - target_not: Bytes - target_in: [Bytes!] - target_not_in: [Bytes!] - target_contains: Bytes - target_not_contains: Bytes - isAuthorized: Boolean - isAuthorized_not: Boolean - isAuthorized_in: [Boolean!] - isAuthorized_not_in: [Boolean!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum AuthorisationChanged_orderBy { - id - resolver - blockNumber - transactionID - owner - target - isAuthorized -} - -scalar BigDecimal - -scalar BigInt - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -input BlockChangedFilter { - number_gte: Int! -} - -scalar Bytes - -type ContenthashChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - hash: Bytes! -} - -input ContenthashChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - hash: Bytes - hash_not: Bytes - hash_in: [Bytes!] - hash_not_in: [Bytes!] - hash_contains: Bytes - hash_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum ContenthashChanged_orderBy { - id - resolver - blockNumber - transactionID - hash -} - -type Domain { - id: ID! - name: String - labelName: String - labelhash: Bytes - parent: Domain - subdomains(skip: Int = 0, first: Int = 100, orderBy: Domain_orderBy, orderDirection: OrderDirection, where: Domain_filter): [Domain!]! - subdomainCount: Int! - resolvedAddress: Account - owner: Account! - resolver: Resolver - ttl: BigInt - isMigrated: Boolean! - createdAt: BigInt! - events(skip: Int = 0, first: Int = 100, orderBy: DomainEvent_orderBy, orderDirection: OrderDirection, where: DomainEvent_filter): [DomainEvent!]! -} - -input Domain_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - labelName: String - labelName_not: String - labelName_gt: String - labelName_lt: String - labelName_gte: String - labelName_lte: String - labelName_in: [String!] - labelName_not_in: [String!] - labelName_contains: String - labelName_contains_nocase: String - labelName_not_contains: String - labelName_not_contains_nocase: String - labelName_starts_with: String - labelName_starts_with_nocase: String - labelName_not_starts_with: String - labelName_not_starts_with_nocase: String - labelName_ends_with: String - labelName_ends_with_nocase: String - labelName_not_ends_with: String - labelName_not_ends_with_nocase: String - labelhash: Bytes - labelhash_not: Bytes - labelhash_in: [Bytes!] - labelhash_not_in: [Bytes!] - labelhash_contains: Bytes - labelhash_not_contains: Bytes - parent: String - parent_not: String - parent_gt: String - parent_lt: String - parent_gte: String - parent_lte: String - parent_in: [String!] - parent_not_in: [String!] - parent_contains: String - parent_contains_nocase: String - parent_not_contains: String - parent_not_contains_nocase: String - parent_starts_with: String - parent_starts_with_nocase: String - parent_not_starts_with: String - parent_not_starts_with_nocase: String - parent_ends_with: String - parent_ends_with_nocase: String - parent_not_ends_with: String - parent_not_ends_with_nocase: String - parent_: Domain_filter - subdomains_: Domain_filter - subdomainCount: Int - subdomainCount_not: Int - subdomainCount_gt: Int - subdomainCount_lt: Int - subdomainCount_gte: Int - subdomainCount_lte: Int - subdomainCount_in: [Int!] - subdomainCount_not_in: [Int!] - resolvedAddress: String - resolvedAddress_not: String - resolvedAddress_gt: String - resolvedAddress_lt: String - resolvedAddress_gte: String - resolvedAddress_lte: String - resolvedAddress_in: [String!] - resolvedAddress_not_in: [String!] - resolvedAddress_contains: String - resolvedAddress_contains_nocase: String - resolvedAddress_not_contains: String - resolvedAddress_not_contains_nocase: String - resolvedAddress_starts_with: String - resolvedAddress_starts_with_nocase: String - resolvedAddress_not_starts_with: String - resolvedAddress_not_starts_with_nocase: String - resolvedAddress_ends_with: String - resolvedAddress_ends_with_nocase: String - resolvedAddress_not_ends_with: String - resolvedAddress_not_ends_with_nocase: String - resolvedAddress_: Account_filter - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - ttl: BigInt - ttl_not: BigInt - ttl_gt: BigInt - ttl_lt: BigInt - ttl_gte: BigInt - ttl_lte: BigInt - ttl_in: [BigInt!] - ttl_not_in: [BigInt!] - isMigrated: Boolean - isMigrated_not: Boolean - isMigrated_in: [Boolean!] - isMigrated_not_in: [Boolean!] - createdAt: BigInt - createdAt_not: BigInt - createdAt_gt: BigInt - createdAt_lt: BigInt - createdAt_gte: BigInt - createdAt_lte: BigInt - createdAt_in: [BigInt!] - createdAt_not_in: [BigInt!] - events_: DomainEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Domain_orderBy { - id - name - labelName - labelhash - parent - subdomains - subdomainCount - resolvedAddress - owner - resolver - ttl - isMigrated - createdAt - events -} - -interface DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! -} - -input DomainEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum DomainEvent_orderBy { - id - domain - blockNumber - transactionID -} - -type InterfaceChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - interfaceID: Bytes! - implementer: Bytes! -} - -input InterfaceChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - interfaceID: Bytes - interfaceID_not: Bytes - interfaceID_in: [Bytes!] - interfaceID_not_in: [Bytes!] - interfaceID_contains: Bytes - interfaceID_not_contains: Bytes - implementer: Bytes - implementer_not: Bytes - implementer_in: [Bytes!] - implementer_not_in: [Bytes!] - implementer_contains: Bytes - implementer_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum InterfaceChanged_orderBy { - id - resolver - blockNumber - transactionID - interfaceID - implementer -} - -type MulticoinAddrChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - coinType: BigInt! - addr: Bytes! -} - -input MulticoinAddrChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - coinType: BigInt - coinType_not: BigInt - coinType_gt: BigInt - coinType_lt: BigInt - coinType_gte: BigInt - coinType_lte: BigInt - coinType_in: [BigInt!] - coinType_not_in: [BigInt!] - addr: Bytes - addr_not: Bytes - addr_in: [Bytes!] - addr_not_in: [Bytes!] - addr_contains: Bytes - addr_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum MulticoinAddrChanged_orderBy { - id - resolver - blockNumber - transactionID - coinType - addr -} - -type NameChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - name: String! -} - -input NameChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameChanged_orderBy { - id - resolver - blockNumber - transactionID - name -} - -type NameRegistered implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - registrant: Account! - expiryDate: BigInt! -} - -input NameRegistered_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - registrant: String - registrant_not: String - registrant_gt: String - registrant_lt: String - registrant_gte: String - registrant_lte: String - registrant_in: [String!] - registrant_not_in: [String!] - registrant_contains: String - registrant_contains_nocase: String - registrant_not_contains: String - registrant_not_contains_nocase: String - registrant_starts_with: String - registrant_starts_with_nocase: String - registrant_not_starts_with: String - registrant_not_starts_with_nocase: String - registrant_ends_with: String - registrant_ends_with_nocase: String - registrant_not_ends_with: String - registrant_not_ends_with_nocase: String - registrant_: Account_filter - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameRegistered_orderBy { - id - registration - blockNumber - transactionID - registrant - expiryDate -} - -type NameRenewed implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - expiryDate: BigInt! -} - -input NameRenewed_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameRenewed_orderBy { - id - registration - blockNumber - transactionID - expiryDate -} - -type NameTransferred implements RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! - newOwner: Account! -} - -input NameTransferred_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - newOwner: String - newOwner_not: String - newOwner_gt: String - newOwner_lt: String - newOwner_gte: String - newOwner_lte: String - newOwner_in: [String!] - newOwner_not_in: [String!] - newOwner_contains: String - newOwner_contains_nocase: String - newOwner_not_contains: String - newOwner_not_contains_nocase: String - newOwner_starts_with: String - newOwner_starts_with_nocase: String - newOwner_not_starts_with: String - newOwner_not_starts_with_nocase: String - newOwner_ends_with: String - newOwner_ends_with_nocase: String - newOwner_not_ends_with: String - newOwner_not_ends_with_nocase: String - newOwner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NameTransferred_orderBy { - id - registration - blockNumber - transactionID - newOwner -} - -type NewOwner implements DomainEvent { - id: ID! - parentDomain: Domain! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - owner: Account! -} - -input NewOwner_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - parentDomain: String - parentDomain_not: String - parentDomain_gt: String - parentDomain_lt: String - parentDomain_gte: String - parentDomain_lte: String - parentDomain_in: [String!] - parentDomain_not_in: [String!] - parentDomain_contains: String - parentDomain_contains_nocase: String - parentDomain_not_contains: String - parentDomain_not_contains_nocase: String - parentDomain_starts_with: String - parentDomain_starts_with_nocase: String - parentDomain_not_starts_with: String - parentDomain_not_starts_with_nocase: String - parentDomain_ends_with: String - parentDomain_ends_with_nocase: String - parentDomain_not_ends_with: String - parentDomain_not_ends_with_nocase: String - parentDomain_: Domain_filter - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewOwner_orderBy { - id - parentDomain - domain - blockNumber - transactionID - owner -} - -type NewResolver implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - resolver: Resolver! -} - -input NewResolver_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewResolver_orderBy { - id - domain - blockNumber - transactionID - resolver -} - -type NewTTL implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - ttl: BigInt! -} - -input NewTTL_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - ttl: BigInt - ttl_not: BigInt - ttl_gt: BigInt - ttl_lt: BigInt - ttl_gte: BigInt - ttl_lte: BigInt - ttl_in: [BigInt!] - ttl_not_in: [BigInt!] - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum NewTTL_orderBy { - id - domain - blockNumber - transactionID - ttl -} - -"""Defines the order direction, either ascending or descending""" -enum OrderDirection { - asc - desc -} - -type PubkeyChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - x: Bytes! - y: Bytes! -} - -input PubkeyChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - x: Bytes - x_not: Bytes - x_in: [Bytes!] - x_not_in: [Bytes!] - x_contains: Bytes - x_not_contains: Bytes - y: Bytes - y_not: Bytes - y_in: [Bytes!] - y_not_in: [Bytes!] - y_contains: Bytes - y_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum PubkeyChanged_orderBy { - id - resolver - blockNumber - transactionID - x - y -} - -type Query { - domain( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Domain - domains( - skip: Int = 0 - first: Int = 100 - orderBy: Domain_orderBy - orderDirection: OrderDirection - where: Domain_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Domain!]! - transfer( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transfer - transfers( - skip: Int = 0 - first: Int = 100 - orderBy: Transfer_orderBy - orderDirection: OrderDirection - where: Transfer_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transfer!]! - newOwner( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewOwner - newOwners( - skip: Int = 0 - first: Int = 100 - orderBy: NewOwner_orderBy - orderDirection: OrderDirection - where: NewOwner_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewOwner!]! - newResolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewResolver - newResolvers( - skip: Int = 0 - first: Int = 100 - orderBy: NewResolver_orderBy - orderDirection: OrderDirection - where: NewResolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewResolver!]! - newTTL( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewTTL - newTTLs( - skip: Int = 0 - first: Int = 100 - orderBy: NewTTL_orderBy - orderDirection: OrderDirection - where: NewTTL_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewTTL!]! - account( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Account - accounts( - skip: Int = 0 - first: Int = 100 - orderBy: Account_orderBy - orderDirection: OrderDirection - where: Account_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Account!]! - registration( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Registration - registrations( - skip: Int = 0 - first: Int = 100 - orderBy: Registration_orderBy - orderDirection: OrderDirection - where: Registration_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Registration!]! - nameRegistered( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRegistered - nameRegistereds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRegistered_orderBy - orderDirection: OrderDirection - where: NameRegistered_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRegistered!]! - nameRenewed( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRenewed - nameReneweds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRenewed_orderBy - orderDirection: OrderDirection - where: NameRenewed_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRenewed!]! - nameTransferred( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameTransferred - nameTransferreds( - skip: Int = 0 - first: Int = 100 - orderBy: NameTransferred_orderBy - orderDirection: OrderDirection - where: NameTransferred_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameTransferred!]! - resolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Resolver - resolvers( - skip: Int = 0 - first: Int = 100 - orderBy: Resolver_orderBy - orderDirection: OrderDirection - where: Resolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Resolver!]! - addrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AddrChanged - addrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AddrChanged_orderBy - orderDirection: OrderDirection - where: AddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AddrChanged!]! - multicoinAddrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): MulticoinAddrChanged - multicoinAddrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: MulticoinAddrChanged_orderBy - orderDirection: OrderDirection - where: MulticoinAddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [MulticoinAddrChanged!]! - nameChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameChanged - nameChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: NameChanged_orderBy - orderDirection: OrderDirection - where: NameChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameChanged!]! - abiChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AbiChanged - abiChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AbiChanged_orderBy - orderDirection: OrderDirection - where: AbiChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AbiChanged!]! - pubkeyChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PubkeyChanged - pubkeyChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: PubkeyChanged_orderBy - orderDirection: OrderDirection - where: PubkeyChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PubkeyChanged!]! - textChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TextChanged - textChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: TextChanged_orderBy - orderDirection: OrderDirection - where: TextChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TextChanged!]! - contenthashChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ContenthashChanged - contenthashChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: ContenthashChanged_orderBy - orderDirection: OrderDirection - where: ContenthashChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ContenthashChanged!]! - interfaceChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): InterfaceChanged - interfaceChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: InterfaceChanged_orderBy - orderDirection: OrderDirection - where: InterfaceChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [InterfaceChanged!]! - authorisationChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AuthorisationChanged - authorisationChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AuthorisationChanged_orderBy - orderDirection: OrderDirection - where: AuthorisationChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AuthorisationChanged!]! - domainEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): DomainEvent - domainEvents( - skip: Int = 0 - first: Int = 100 - orderBy: DomainEvent_orderBy - orderDirection: OrderDirection - where: DomainEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [DomainEvent!]! - registrationEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): RegistrationEvent - registrationEvents( - skip: Int = 0 - first: Int = 100 - orderBy: RegistrationEvent_orderBy - orderDirection: OrderDirection - where: RegistrationEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [RegistrationEvent!]! - resolverEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ResolverEvent - resolverEvents( - skip: Int = 0 - first: Int = 100 - orderBy: ResolverEvent_orderBy - orderDirection: OrderDirection - where: ResolverEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ResolverEvent!]! - - """Access to subgraph metadata""" - _meta(block: Block_height): _Meta_ -} - -type Registration { - id: ID! - domain: Domain - registrationDate: BigInt! - expiryDate: BigInt! - cost: BigInt - registrant: Account! - labelName: String - events(skip: Int = 0, first: Int = 100, orderBy: RegistrationEvent_orderBy, orderDirection: OrderDirection, where: RegistrationEvent_filter): [RegistrationEvent!]! -} - -input Registration_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - registrationDate: BigInt - registrationDate_not: BigInt - registrationDate_gt: BigInt - registrationDate_lt: BigInt - registrationDate_gte: BigInt - registrationDate_lte: BigInt - registrationDate_in: [BigInt!] - registrationDate_not_in: [BigInt!] - expiryDate: BigInt - expiryDate_not: BigInt - expiryDate_gt: BigInt - expiryDate_lt: BigInt - expiryDate_gte: BigInt - expiryDate_lte: BigInt - expiryDate_in: [BigInt!] - expiryDate_not_in: [BigInt!] - cost: BigInt - cost_not: BigInt - cost_gt: BigInt - cost_lt: BigInt - cost_gte: BigInt - cost_lte: BigInt - cost_in: [BigInt!] - cost_not_in: [BigInt!] - registrant: String - registrant_not: String - registrant_gt: String - registrant_lt: String - registrant_gte: String - registrant_lte: String - registrant_in: [String!] - registrant_not_in: [String!] - registrant_contains: String - registrant_contains_nocase: String - registrant_not_contains: String - registrant_not_contains_nocase: String - registrant_starts_with: String - registrant_starts_with_nocase: String - registrant_not_starts_with: String - registrant_not_starts_with_nocase: String - registrant_ends_with: String - registrant_ends_with_nocase: String - registrant_not_ends_with: String - registrant_not_ends_with_nocase: String - registrant_: Account_filter - labelName: String - labelName_not: String - labelName_gt: String - labelName_lt: String - labelName_gte: String - labelName_lte: String - labelName_in: [String!] - labelName_not_in: [String!] - labelName_contains: String - labelName_contains_nocase: String - labelName_not_contains: String - labelName_not_contains_nocase: String - labelName_starts_with: String - labelName_starts_with_nocase: String - labelName_not_starts_with: String - labelName_not_starts_with_nocase: String - labelName_ends_with: String - labelName_ends_with_nocase: String - labelName_not_ends_with: String - labelName_not_ends_with_nocase: String - events_: RegistrationEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Registration_orderBy { - id - domain - registrationDate - expiryDate - cost - registrant - labelName - events -} - -interface RegistrationEvent { - id: ID! - registration: Registration! - blockNumber: Int! - transactionID: Bytes! -} - -input RegistrationEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - registration: String - registration_not: String - registration_gt: String - registration_lt: String - registration_gte: String - registration_lte: String - registration_in: [String!] - registration_not_in: [String!] - registration_contains: String - registration_contains_nocase: String - registration_not_contains: String - registration_not_contains_nocase: String - registration_starts_with: String - registration_starts_with_nocase: String - registration_not_starts_with: String - registration_not_starts_with_nocase: String - registration_ends_with: String - registration_ends_with_nocase: String - registration_not_ends_with: String - registration_not_ends_with_nocase: String - registration_: Registration_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum RegistrationEvent_orderBy { - id - registration - blockNumber - transactionID -} - -type Resolver { - id: ID! - domain: Domain - address: Bytes! - addr: Account - contentHash: Bytes - texts: [String!] - coinTypes: [BigInt!] - events(skip: Int = 0, first: Int = 100, orderBy: ResolverEvent_orderBy, orderDirection: OrderDirection, where: ResolverEvent_filter): [ResolverEvent!]! -} - -input Resolver_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - address: Bytes - address_not: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - addr: String - addr_not: String - addr_gt: String - addr_lt: String - addr_gte: String - addr_lte: String - addr_in: [String!] - addr_not_in: [String!] - addr_contains: String - addr_contains_nocase: String - addr_not_contains: String - addr_not_contains_nocase: String - addr_starts_with: String - addr_starts_with_nocase: String - addr_not_starts_with: String - addr_not_starts_with_nocase: String - addr_ends_with: String - addr_ends_with_nocase: String - addr_not_ends_with: String - addr_not_ends_with_nocase: String - addr_: Account_filter - contentHash: Bytes - contentHash_not: Bytes - contentHash_in: [Bytes!] - contentHash_not_in: [Bytes!] - contentHash_contains: Bytes - contentHash_not_contains: Bytes - texts: [String!] - texts_not: [String!] - texts_contains: [String!] - texts_contains_nocase: [String!] - texts_not_contains: [String!] - texts_not_contains_nocase: [String!] - coinTypes: [BigInt!] - coinTypes_not: [BigInt!] - coinTypes_contains: [BigInt!] - coinTypes_contains_nocase: [BigInt!] - coinTypes_not_contains: [BigInt!] - coinTypes_not_contains_nocase: [BigInt!] - events_: ResolverEvent_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Resolver_orderBy { - id - domain - address - addr - contentHash - texts - coinTypes - events -} - -interface ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! -} - -input ResolverEvent_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum ResolverEvent_orderBy { - id - resolver - blockNumber - transactionID -} - -type Subscription { - domain( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Domain - domains( - skip: Int = 0 - first: Int = 100 - orderBy: Domain_orderBy - orderDirection: OrderDirection - where: Domain_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Domain!]! - transfer( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transfer - transfers( - skip: Int = 0 - first: Int = 100 - orderBy: Transfer_orderBy - orderDirection: OrderDirection - where: Transfer_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transfer!]! - newOwner( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewOwner - newOwners( - skip: Int = 0 - first: Int = 100 - orderBy: NewOwner_orderBy - orderDirection: OrderDirection - where: NewOwner_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewOwner!]! - newResolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewResolver - newResolvers( - skip: Int = 0 - first: Int = 100 - orderBy: NewResolver_orderBy - orderDirection: OrderDirection - where: NewResolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewResolver!]! - newTTL( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NewTTL - newTTLs( - skip: Int = 0 - first: Int = 100 - orderBy: NewTTL_orderBy - orderDirection: OrderDirection - where: NewTTL_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NewTTL!]! - account( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Account - accounts( - skip: Int = 0 - first: Int = 100 - orderBy: Account_orderBy - orderDirection: OrderDirection - where: Account_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Account!]! - registration( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Registration - registrations( - skip: Int = 0 - first: Int = 100 - orderBy: Registration_orderBy - orderDirection: OrderDirection - where: Registration_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Registration!]! - nameRegistered( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRegistered - nameRegistereds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRegistered_orderBy - orderDirection: OrderDirection - where: NameRegistered_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRegistered!]! - nameRenewed( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameRenewed - nameReneweds( - skip: Int = 0 - first: Int = 100 - orderBy: NameRenewed_orderBy - orderDirection: OrderDirection - where: NameRenewed_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameRenewed!]! - nameTransferred( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameTransferred - nameTransferreds( - skip: Int = 0 - first: Int = 100 - orderBy: NameTransferred_orderBy - orderDirection: OrderDirection - where: NameTransferred_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameTransferred!]! - resolver( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Resolver - resolvers( - skip: Int = 0 - first: Int = 100 - orderBy: Resolver_orderBy - orderDirection: OrderDirection - where: Resolver_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Resolver!]! - addrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AddrChanged - addrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AddrChanged_orderBy - orderDirection: OrderDirection - where: AddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AddrChanged!]! - multicoinAddrChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): MulticoinAddrChanged - multicoinAddrChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: MulticoinAddrChanged_orderBy - orderDirection: OrderDirection - where: MulticoinAddrChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [MulticoinAddrChanged!]! - nameChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): NameChanged - nameChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: NameChanged_orderBy - orderDirection: OrderDirection - where: NameChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [NameChanged!]! - abiChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AbiChanged - abiChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AbiChanged_orderBy - orderDirection: OrderDirection - where: AbiChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AbiChanged!]! - pubkeyChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PubkeyChanged - pubkeyChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: PubkeyChanged_orderBy - orderDirection: OrderDirection - where: PubkeyChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PubkeyChanged!]! - textChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): TextChanged - textChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: TextChanged_orderBy - orderDirection: OrderDirection - where: TextChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [TextChanged!]! - contenthashChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ContenthashChanged - contenthashChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: ContenthashChanged_orderBy - orderDirection: OrderDirection - where: ContenthashChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ContenthashChanged!]! - interfaceChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): InterfaceChanged - interfaceChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: InterfaceChanged_orderBy - orderDirection: OrderDirection - where: InterfaceChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [InterfaceChanged!]! - authorisationChanged( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): AuthorisationChanged - authorisationChangeds( - skip: Int = 0 - first: Int = 100 - orderBy: AuthorisationChanged_orderBy - orderDirection: OrderDirection - where: AuthorisationChanged_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [AuthorisationChanged!]! - domainEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): DomainEvent - domainEvents( - skip: Int = 0 - first: Int = 100 - orderBy: DomainEvent_orderBy - orderDirection: OrderDirection - where: DomainEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [DomainEvent!]! - registrationEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): RegistrationEvent - registrationEvents( - skip: Int = 0 - first: Int = 100 - orderBy: RegistrationEvent_orderBy - orderDirection: OrderDirection - where: RegistrationEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [RegistrationEvent!]! - resolverEvent( - id: ID! - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ResolverEvent - resolverEvents( - skip: Int = 0 - first: Int = 100 - orderBy: ResolverEvent_orderBy - orderDirection: OrderDirection - where: ResolverEvent_filter - - """ - The block at which the query should be executed. Can either be a `{ hash: - Bytes }` value containing a block hash, a `{ number: Int }` containing the - block number, or a `{ number_gte: Int }` containing the minimum block - number. In the case of `number_gte`, the query will be executed on the - latest block only if the subgraph has progressed to or past the minimum - block number. Defaults to the latest block when omitted. - """ - block: Block_height - - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ResolverEvent!]! - - """Access to subgraph metadata""" - _meta(block: Block_height): _Meta_ -} - -type TextChanged implements ResolverEvent { - id: ID! - resolver: Resolver! - blockNumber: Int! - transactionID: Bytes! - key: String! -} - -input TextChanged_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - resolver: String - resolver_not: String - resolver_gt: String - resolver_lt: String - resolver_gte: String - resolver_lte: String - resolver_in: [String!] - resolver_not_in: [String!] - resolver_contains: String - resolver_contains_nocase: String - resolver_not_contains: String - resolver_not_contains_nocase: String - resolver_starts_with: String - resolver_starts_with_nocase: String - resolver_not_starts_with: String - resolver_not_starts_with_nocase: String - resolver_ends_with: String - resolver_ends_with_nocase: String - resolver_not_ends_with: String - resolver_not_ends_with_nocase: String - resolver_: Resolver_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - key: String - key_not: String - key_gt: String - key_lt: String - key_gte: String - key_lte: String - key_in: [String!] - key_not_in: [String!] - key_contains: String - key_contains_nocase: String - key_not_contains: String - key_not_contains_nocase: String - key_starts_with: String - key_starts_with_nocase: String - key_not_starts_with: String - key_not_starts_with_nocase: String - key_ends_with: String - key_ends_with_nocase: String - key_not_ends_with: String - key_not_ends_with_nocase: String - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum TextChanged_orderBy { - id - resolver - blockNumber - transactionID - key -} - -type Transfer implements DomainEvent { - id: ID! - domain: Domain! - blockNumber: Int! - transactionID: Bytes! - owner: Account! -} - -input Transfer_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - domain: String - domain_not: String - domain_gt: String - domain_lt: String - domain_gte: String - domain_lte: String - domain_in: [String!] - domain_not_in: [String!] - domain_contains: String - domain_contains_nocase: String - domain_not_contains: String - domain_not_contains_nocase: String - domain_starts_with: String - domain_starts_with_nocase: String - domain_not_starts_with: String - domain_not_starts_with_nocase: String - domain_ends_with: String - domain_ends_with_nocase: String - domain_not_ends_with: String - domain_not_ends_with_nocase: String - domain_: Domain_filter - blockNumber: Int - blockNumber_not: Int - blockNumber_gt: Int - blockNumber_lt: Int - blockNumber_gte: Int - blockNumber_lte: Int - blockNumber_in: [Int!] - blockNumber_not_in: [Int!] - transactionID: Bytes - transactionID_not: Bytes - transactionID_in: [Bytes!] - transactionID_not_in: [Bytes!] - transactionID_contains: Bytes - transactionID_not_contains: Bytes - owner: String - owner_not: String - owner_gt: String - owner_lt: String - owner_gte: String - owner_lte: String - owner_in: [String!] - owner_not_in: [String!] - owner_contains: String - owner_contains_nocase: String - owner_not_contains: String - owner_not_contains_nocase: String - owner_starts_with: String - owner_starts_with_nocase: String - owner_not_starts_with: String - owner_not_starts_with_nocase: String - owner_ends_with: String - owner_ends_with_nocase: String - owner_not_ends_with: String - owner_not_ends_with_nocase: String - owner_: Account_filter - - """Filter for the block changed event.""" - _change_block: BlockChangedFilter -} - -enum Transfer_orderBy { - id - domain - blockNumber - transactionID - owner -} - diff --git a/libs/profile-data/src/subgraph/schema-lens.generated.ts b/libs/profile-data/src/subgraph/schema-lens.generated.ts deleted file mode 100644 index c3219b68..00000000 --- a/libs/profile-data/src/subgraph/schema-lens.generated.ts +++ /dev/null @@ -1,3839 +0,0 @@ -export type Maybe = T | undefined; -export type InputMaybe = T | undefined | null; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -/** All built-in and custom scalars, mapped to their actual values */ -export interface Scalars { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - /** Blockchain data scalar type */ - BlockchainData: any; - /** Broadcast scalar id type */ - BroadcastId: any; - /** ChainId custom scalar type */ - ChainId: any; - /** collect module data scalar type */ - CollectModuleData: any; - /** ContentEncryptionKey scalar type */ - ContentEncryptionKey: any; - /** Contract address custom scalar type */ - ContractAddress: any; - /** create handle custom scalar type */ - CreateHandle: any; - /** Cursor custom scalar type */ - Cursor: any; - /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */ - DateTime: any; - /** EncryptedValue custom scalar type */ - EncryptedValueScalar: any; - /** Ens custom scalar type */ - Ens: any; - /** Ethereum address custom scalar type */ - EthereumAddress: any; - /** follow module data scalar type */ - FollowModuleData: any; - /** handle custom scalar type */ - Handle: any; - /** handle claim id custom scalar type */ - HandleClaimIdScalar: any; - /** IfpsCid scalar type */ - IfpsCid: any; - /** Internal publication id custom scalar type */ - InternalPublicationId: any; - /** jwt custom scalar type */ - Jwt: any; - /** limit custom scalar type */ - LimitScalar: any; - /** Locale scalar type */ - Locale: any; - /** Markdown scalar type */ - Markdown: any; - /** mimetype custom scalar type */ - MimeType: any; - /** Nft ownership id type */ - NftOwnershipId: any; - /** Nonce custom scalar type */ - Nonce: any; - /** The notification id */ - NotificationId: any; - /** ProfileId custom scalar type */ - ProfileId: any; - /** ProfileInterest custom scalar type */ - ProfileInterest: any; - /** proxy action scalar id type */ - ProxyActionId: any; - /** Publication id custom scalar type */ - PublicationId: any; - /** The publication tag */ - PublicationTag: any; - /** Publication url scalar type */ - PublicationUrl: any; - /** The reaction id */ - ReactionId: any; - /** reference module data scalar type */ - ReferenceModuleData: any; - /** Query search */ - Search: any; - /** Relayer signature */ - Signature: any; - /** Sources custom scalar type */ - Sources: any; - /** timestamp date custom scalar type */ - TimestampScalar: any; - /** The NFT token id */ - TokenId: any; - /** The tx hash */ - TxHash: any; - /** The tx id */ - TxId: any; - /** UnixTimestamp custom scalar type */ - UnixTimestamp: any; - /** Url scalar type */ - Url: any; - /** Represents NULL values */ - Void: any; -} - -/** The access conditions for the publication */ -export interface AccessConditionInput { - /** AND condition */ - and?: InputMaybe; - /** Profile follow condition */ - collect?: InputMaybe; - /** EOA ownership condition */ - eoa?: InputMaybe; - /** Profile follow condition */ - follow?: InputMaybe; - /** NFT ownership condition */ - nft?: InputMaybe; - /** OR condition */ - or?: InputMaybe; - /** Profile ownership condition */ - profile?: InputMaybe; - /** ERC20 token ownership condition */ - token?: InputMaybe; -} - -/** The access conditions for the publication */ -export interface AccessConditionOutput { - __typename?: 'AccessConditionOutput'; - /** AND condition */ - and?: Maybe; - /** Profile follow condition */ - collect?: Maybe; - /** EOA ownership condition */ - eoa?: Maybe; - /** Profile follow condition */ - follow?: Maybe; - /** NFT ownership condition */ - nft?: Maybe; - /** OR condition */ - or?: Maybe; - /** Profile ownership condition */ - profile?: Maybe; - /** ERC20 token ownership condition */ - token?: Maybe; -} - -export interface AchRequest { - ethereumAddress: Scalars['EthereumAddress']; - freeTextHandle?: InputMaybe; - handle?: InputMaybe; - overrideAlreadyClaimed: Scalars['Boolean']; - overrideTradeMark: Scalars['Boolean']; - secret: Scalars['String']; -} - -/** The request object to add interests to a profile */ -export interface AddProfileInterestsRequest { - /** The profile interest to add */ - interests: Array; - /** The profileId to add interests to */ - profileId: Scalars['ProfileId']; -} - -export interface AllPublicationsTagsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - sort: TagSortCriteria; - /** The App Id */ - source?: InputMaybe; -} - -export interface AndConditionInput { - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface AndConditionOutput { - __typename?: 'AndConditionOutput'; - /** The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface ApprovedAllowanceAmount { - __typename?: 'ApprovedAllowanceAmount'; - allowance: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - currency: Scalars['ContractAddress']; - module: Scalars['String']; -} - -export interface ApprovedModuleAllowanceAmountRequest { - collectModules?: InputMaybe>; - /** The contract addresses for the module approved currencies you want to find information on about the user */ - currencies: Array; - followModules?: InputMaybe>; - referenceModules?: InputMaybe>; - unknownCollectModules?: InputMaybe>; - unknownFollowModules?: InputMaybe>; - unknownReferenceModules?: InputMaybe>; -} - -/** The Profile */ -export interface Attribute { - __typename?: 'Attribute'; - /** The display type */ - displayType?: Maybe; - /** identifier of this attribute, we will update by this id */ - key: Scalars['String']; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType?: Maybe; - /** Value attribute */ - value: Scalars['String']; -} - -/** The auth challenge result */ -export interface AuthChallengeResult { - __typename?: 'AuthChallengeResult'; - /** The text to sign */ - text: Scalars['String']; -} - -/** The authentication result */ -export interface AuthenticationResult { - __typename?: 'AuthenticationResult'; - /** The access token */ - accessToken: Scalars['Jwt']; - /** The refresh token */ - refreshToken: Scalars['Jwt']; -} - -export interface BroadcastRequest { - id: Scalars['BroadcastId']; - signature: Scalars['Signature']; -} - -export interface BurnProfileRequest { - profileId: Scalars['ProfileId']; -} - -export interface CanCommentResponse { - __typename?: 'CanCommentResponse'; - result: Scalars['Boolean']; -} - -export interface CanDecryptResponse { - __typename?: 'CanDecryptResponse'; - reasons?: Maybe; - result: Scalars['Boolean']; -} - -export interface CanMirrorResponse { - __typename?: 'CanMirrorResponse'; - result: Scalars['Boolean']; -} - -/** The challenge request */ -export interface ChallengeRequest { - /** The ethereum address you want to login with */ - address: Scalars['EthereumAddress']; -} - -export interface ClaimHandleRequest { - /** The follow module */ - followModule?: InputMaybe; - freeTextHandle?: InputMaybe; - id?: InputMaybe; -} - -/** The claim status */ -export type ClaimStatus = - | 'ALREADY_CLAIMED' - | 'CLAIM_FAILED' - | 'NOT_CLAIMED'; - -export interface ClaimableHandles { - __typename?: 'ClaimableHandles'; - canClaimFreeTextHandle: Scalars['Boolean']; - reservedHandles: Array; -} - -/** Condition that signifies if address or profile has collected a publication */ -export interface CollectConditionInput { - /** The publication id that has to be collected to unlock content */ - publicationId?: InputMaybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: InputMaybe; -} - -/** Condition that signifies if address or profile has collected a publication */ -export interface CollectConditionOutput { - __typename?: 'CollectConditionOutput'; - /** The publication id that has to be collected to unlock content */ - publicationId?: Maybe; - /** True if the content will be unlocked for this specific publication */ - thisPublication?: Maybe; -} - -export type CollectModule = FeeCollectModuleSettings | FreeCollectModuleSettings | LimitedFeeCollectModuleSettings | LimitedTimedFeeCollectModuleSettings | RevertCollectModuleSettings | TimedFeeCollectModuleSettings | UnknownCollectModuleSettings; - -export interface CollectModuleParams { - /** The collect fee collect module */ - feeCollectModule?: InputMaybe; - /** The collect empty collect module */ - freeCollectModule?: InputMaybe; - /** The collect limited fee collect module */ - limitedFeeCollectModule?: InputMaybe; - /** The collect limited timed fee collect module */ - limitedTimedFeeCollectModule?: InputMaybe; - /** The collect revert collect module */ - revertCollectModule?: InputMaybe; - /** The collect timed fee collect module */ - timedFeeCollectModule?: InputMaybe; - /** A unknown collect module */ - unknownCollectModule?: InputMaybe; -} - -/** The collect module types */ -export type CollectModules = - | 'FeeCollectModule' - | 'FreeCollectModule' - | 'LimitedFeeCollectModule' - | 'LimitedTimedFeeCollectModule' - | 'RevertCollectModule' - | 'TimedFeeCollectModule' - | 'UnknownCollectModule'; - -export interface CollectProxyAction { - freeCollect?: InputMaybe; -} - -export interface CollectedEvent { - __typename?: 'CollectedEvent'; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -/** The social comment */ -export interface Comment { - __typename?: 'Comment'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** Who collected it, this is used for timeline results and like this for better caching for the client */ - collectedBy?: Maybe; - /** Which comment this points to if its null the pointer too deep so do another query to find it out */ - commentOn?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - /** This will bring back the first comment of a comment and only be defined if using `publication` query and `commentOf` */ - firstComment?: Maybe; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The top level post/mirror this comment lives on */ - mainPost: MainPostReference; - /** The metadata for the post */ - metadata: MetadataOutput; - mirrors: Array; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social comment */ -export interface CommentCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social comment */ -export interface CommentHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social comment */ -export interface CommentMirrorsArgs { - by?: InputMaybe; -} - - -/** The social comment */ -export interface CommentReactionArgs { - request?: InputMaybe; -} - -/** The gated publication access criteria contract types */ -export type ContractType = - | 'ERC20' - | 'ERC721' - | 'ERC1155'; - -/** The create burn eip 712 typed data */ -export interface CreateBurnEip712TypedData { - __typename?: 'CreateBurnEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateBurnEip712TypedDataTypes; - /** The values */ - value: CreateBurnEip712TypedDataValue; -} - -/** The create burn eip 712 typed data types */ -export interface CreateBurnEip712TypedDataTypes { - __typename?: 'CreateBurnEIP712TypedDataTypes'; - BurnWithSig: Array; -} - -/** The create burn eip 712 typed data value */ -export interface CreateBurnEip712TypedDataValue { - __typename?: 'CreateBurnEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - tokenId: Scalars['String']; -} - -/** The broadcast item */ -export interface CreateBurnProfileBroadcastItemResult { - __typename?: 'CreateBurnProfileBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateBurnEip712TypedData; -} - -/** The broadcast item */ -export interface CreateCollectBroadcastItemResult { - __typename?: 'CreateCollectBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateCollectEip712TypedData; -} - -/** The collect eip 712 typed data */ -export interface CreateCollectEip712TypedData { - __typename?: 'CreateCollectEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateCollectEip712TypedDataTypes; - /** The values */ - value: CreateCollectEip712TypedDataValue; -} - -/** The collect eip 712 typed data types */ -export interface CreateCollectEip712TypedDataTypes { - __typename?: 'CreateCollectEIP712TypedDataTypes'; - CollectWithSig: Array; -} - -/** The collect eip 712 typed data value */ -export interface CreateCollectEip712TypedDataValue { - __typename?: 'CreateCollectEIP712TypedDataValue'; - data: Scalars['BlockchainData']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - pubId: Scalars['PublicationId']; -} - -export interface CreateCollectRequest { - publicationId: Scalars['InternalPublicationId']; - /** The encoded data to collect with if using an unknown module */ - unknownModuleData?: InputMaybe; -} - -/** The broadcast item */ -export interface CreateCommentBroadcastItemResult { - __typename?: 'CreateCommentBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateCommentEip712TypedData; -} - -/** The create comment eip 712 typed data */ -export interface CreateCommentEip712TypedData { - __typename?: 'CreateCommentEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateCommentEip712TypedDataTypes; - /** The values */ - value: CreateCommentEip712TypedDataValue; -} - -/** The create comment eip 712 typed data types */ -export interface CreateCommentEip712TypedDataTypes { - __typename?: 'CreateCommentEIP712TypedDataTypes'; - CommentWithSig: Array; -} - -/** The create comment eip 712 typed data value */ -export interface CreateCommentEip712TypedDataValue { - __typename?: 'CreateCommentEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -/** The broadcast item */ -export interface CreateFollowBroadcastItemResult { - __typename?: 'CreateFollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateFollowEip712TypedData; -} - -/** The create follow eip 712 typed data */ -export interface CreateFollowEip712TypedData { - __typename?: 'CreateFollowEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateFollowEip712TypedDataTypes; - /** The values */ - value: CreateFollowEip712TypedDataValue; -} - -/** The create follow eip 712 typed data types */ -export interface CreateFollowEip712TypedDataTypes { - __typename?: 'CreateFollowEIP712TypedDataTypes'; - FollowWithSig: Array; -} - -/** The create follow eip 712 typed data value */ -export interface CreateFollowEip712TypedDataValue { - __typename?: 'CreateFollowEIP712TypedDataValue'; - datas: Array; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileIds: Array; -} - -/** The broadcast item */ -export interface CreateMirrorBroadcastItemResult { - __typename?: 'CreateMirrorBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateMirrorEip712TypedData; -} - -/** The mirror eip 712 typed data */ -export interface CreateMirrorEip712TypedData { - __typename?: 'CreateMirrorEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateMirrorEip712TypedDataTypes; - /** The values */ - value: CreateMirrorEip712TypedDataValue; -} - -/** The mirror eip 712 typed data types */ -export interface CreateMirrorEip712TypedDataTypes { - __typename?: 'CreateMirrorEIP712TypedDataTypes'; - MirrorWithSig: Array; -} - -/** The mirror eip 712 typed data value */ -export interface CreateMirrorEip712TypedDataValue { - __typename?: 'CreateMirrorEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - profileIdPointed: Scalars['ProfileId']; - pubIdPointed: Scalars['PublicationId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleData: Scalars['ReferenceModuleData']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -export interface CreateMirrorRequest { - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what you want to mirror on remember if this is a comment it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module info */ - referenceModule?: InputMaybe; -} - -/** The broadcast item */ -export interface CreatePostBroadcastItemResult { - __typename?: 'CreatePostBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreatePostEip712TypedData; -} - -/** The create post eip 712 typed data */ -export interface CreatePostEip712TypedData { - __typename?: 'CreatePostEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreatePostEip712TypedDataTypes; - /** The values */ - value: CreatePostEip712TypedDataValue; -} - -/** The create post eip 712 typed data types */ -export interface CreatePostEip712TypedDataTypes { - __typename?: 'CreatePostEIP712TypedDataTypes'; - PostWithSig: Array; -} - -/** The create post eip 712 typed data value */ -export interface CreatePostEip712TypedDataValue { - __typename?: 'CreatePostEIP712TypedDataValue'; - collectModule: Scalars['ContractAddress']; - collectModuleInitData: Scalars['CollectModuleData']; - contentURI: Scalars['PublicationUrl']; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - referenceModule: Scalars['ContractAddress']; - referenceModuleInitData: Scalars['ReferenceModuleData']; -} - -export interface CreatePublicCommentRequest { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata uploaded somewhere passing in the url to reach it */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** Publication id of what your comments on remember if this is a comment you commented on it will be that as the id */ - publicationId: Scalars['InternalPublicationId']; - /** The reference module */ - referenceModule?: InputMaybe; -} - -export interface CreatePublicPostRequest { - /** The collect module */ - collectModule: CollectModuleParams; - /** The metadata uploaded somewhere passing in the url to reach it */ - contentURI: Scalars['Url']; - /** The criteria to access the publication data */ - gated?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** The reference module */ - referenceModule?: InputMaybe; -} - -export interface CreatePublicSetProfileMetadataUriRequest { - /** The metadata uploaded somewhere passing in the url to reach it */ - metadata: Scalars['Url']; - /** Profile id */ - profileId: Scalars['ProfileId']; -} - -export interface CreateSetDefaultProfileRequest { - /** Profile id */ - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetDispatcherBroadcastItemResult { - __typename?: 'CreateSetDispatcherBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetDispatcherEip712TypedData; -} - -/** The set dispatcher eip 712 typed data */ -export interface CreateSetDispatcherEip712TypedData { - __typename?: 'CreateSetDispatcherEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetDispatcherEip712TypedDataTypes; - /** The values */ - value: CreateSetDispatcherEip712TypedDataValue; -} - -/** The set dispatcher eip 712 typed data types */ -export interface CreateSetDispatcherEip712TypedDataTypes { - __typename?: 'CreateSetDispatcherEIP712TypedDataTypes'; - SetDispatcherWithSig: Array; -} - -/** The set dispatcher eip 712 typed data value */ -export interface CreateSetDispatcherEip712TypedDataValue { - __typename?: 'CreateSetDispatcherEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - dispatcher: Scalars['EthereumAddress']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetFollowModuleBroadcastItemResult { - __typename?: 'CreateSetFollowModuleBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetFollowModuleEip712TypedData; -} - -/** The set follow module eip 712 typed data */ -export interface CreateSetFollowModuleEip712TypedData { - __typename?: 'CreateSetFollowModuleEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetFollowModuleEip712TypedDataTypes; - /** The values */ - value: CreateSetFollowModuleEip712TypedDataValue; -} - -/** The set follow module eip 712 typed data types */ -export interface CreateSetFollowModuleEip712TypedDataTypes { - __typename?: 'CreateSetFollowModuleEIP712TypedDataTypes'; - SetFollowModuleWithSig: Array; -} - -/** The set follow module eip 712 typed data value */ -export interface CreateSetFollowModuleEip712TypedDataValue { - __typename?: 'CreateSetFollowModuleEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - followModule: Scalars['ContractAddress']; - followModuleInitData: Scalars['FollowModuleData']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -export interface CreateSetFollowModuleRequest { - /** The follow module info */ - followModule: FollowModuleParams; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetFollowNftUriBroadcastItemResult { - __typename?: 'CreateSetFollowNFTUriBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetFollowNftUriEip712TypedData; -} - -/** The set follow nft uri eip 712 typed data */ -export interface CreateSetFollowNftUriEip712TypedData { - __typename?: 'CreateSetFollowNFTUriEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetFollowNftUriEip712TypedDataTypes; - /** The values */ - value: CreateSetFollowNftUriEip712TypedDataValue; -} - -/** The set follow nft uri eip 712 typed data types */ -export interface CreateSetFollowNftUriEip712TypedDataTypes { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataTypes'; - SetFollowNFTURIWithSig: Array; -} - -/** The set follow nft uri eip 712 typed data value */ -export interface CreateSetFollowNftUriEip712TypedDataValue { - __typename?: 'CreateSetFollowNFTUriEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - followNFTURI: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -export interface CreateSetFollowNftUriRequest { - /** - * The follow NFT URI is the NFT metadata your followers will mint when they - * follow you. This can be updated at all times. If you do not pass in anything - * it will create a super cool changing NFT which will show the last publication - * of your profile as the NFT which looks awesome! This means people do not have - * to worry about writing this logic but still have the ability to customise it - * for their followers - */ - followNFTURI?: InputMaybe; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetProfileImageUriBroadcastItemResult { - __typename?: 'CreateSetProfileImageUriBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetProfileImageUriEip712TypedData; -} - -/** The set profile uri eip 712 typed data */ -export interface CreateSetProfileImageUriEip712TypedData { - __typename?: 'CreateSetProfileImageUriEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetProfileImageUriEip712TypedDataTypes; - /** The values */ - value: CreateSetProfileImageUriEip712TypedDataValue; -} - -/** The set profile image uri eip 712 typed data types */ -export interface CreateSetProfileImageUriEip712TypedDataTypes { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataTypes'; - SetProfileImageURIWithSig: Array; -} - -/** The set profile uri eip 712 typed data value */ -export interface CreateSetProfileImageUriEip712TypedDataValue { - __typename?: 'CreateSetProfileImageUriEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - imageURI: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateSetProfileMetadataUriBroadcastItemResult { - __typename?: 'CreateSetProfileMetadataURIBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateSetProfileMetadataUrieip712TypedData; -} - -/** The set follow nft uri eip 712 typed data */ -export interface CreateSetProfileMetadataUrieip712TypedData { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateSetProfileMetadataUrieip712TypedDataTypes; - /** The values */ - value: CreateSetProfileMetadataUrieip712TypedDataValue; -} - -/** The set follow nft uri eip 712 typed data types */ -export interface CreateSetProfileMetadataUrieip712TypedDataTypes { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataTypes'; - SetProfileMetadataURIWithSig: Array; -} - -/** The set follow nft uri eip 712 typed data value */ -export interface CreateSetProfileMetadataUrieip712TypedDataValue { - __typename?: 'CreateSetProfileMetadataURIEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - metadata: Scalars['Url']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; -} - -/** The broadcast item */ -export interface CreateToggleFollowBroadcastItemResult { - __typename?: 'CreateToggleFollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateToggleFollowEip712TypedData; -} - -/** The create toggle follows eip 712 typed data */ -export interface CreateToggleFollowEip712TypedData { - __typename?: 'CreateToggleFollowEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: CreateToggleFollowEip712TypedDataTypes; - /** The values */ - value: CreateToggleFollowEip712TypedDataValue; -} - -/** The create toggle follows eip 712 typed data types */ -export interface CreateToggleFollowEip712TypedDataTypes { - __typename?: 'CreateToggleFollowEIP712TypedDataTypes'; - ToggleFollowWithSig: Array; -} - -/** The create toggle follow eip 712 typed data value */ -export interface CreateToggleFollowEip712TypedDataValue { - __typename?: 'CreateToggleFollowEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - enables: Array; - nonce: Scalars['Nonce']; - profileIds: Array; -} - -export interface CreateToggleFollowRequest { - enables: Array; - profileIds: Array; -} - -/** The broadcast item */ -export interface CreateUnfollowBroadcastItemResult { - __typename?: 'CreateUnfollowBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: CreateBurnEip712TypedData; -} - -/** The custom filters types */ -export type CustomFiltersTypes = - | 'GARDENERS'; - -/** The reason why a profile cannot decrypt a publication */ -export type DecryptFailReason = - | 'COLLECT_NOT_FINALISED_ON_CHAIN' - | 'DOES_NOT_FOLLOW_PROFILE' - | 'DOES_NOT_OWN_NFT' - | 'DOES_NOT_OWN_PROFILE' - | 'FOLLOW_NOT_FINALISED_ON_CHAIN' - | 'HAS_NOT_COLLECTED_PUBLICATION' - | 'MISSING_ENCRYPTION_PARAMS' - | 'PROFILE_DOES_NOT_EXIST' - | 'UNAUTHORIZED_ADDRESS' - | 'UNAUTHORIZED_BALANCE'; - -export interface DefaultProfileRequest { - ethereumAddress: Scalars['EthereumAddress']; -} - -export interface DegreesOfSeparationReferenceModuleParams { - /** Applied to comments */ - commentsRestricted: Scalars['Boolean']; - /** Degrees of separation */ - degreesOfSeparation: Scalars['Int']; - /** Applied to mirrors */ - mirrorsRestricted: Scalars['Boolean']; -} - -export interface DegreesOfSeparationReferenceModuleSettings { - __typename?: 'DegreesOfSeparationReferenceModuleSettings'; - /** Applied to comments */ - commentsRestricted: Scalars['Boolean']; - contractAddress: Scalars['ContractAddress']; - /** Degrees of separation */ - degreesOfSeparation: Scalars['Int']; - /** Applied to mirrors */ - mirrorsRestricted: Scalars['Boolean']; - /** The reference modules enum */ - type: ReferenceModules; -} - -/** The dispatcher */ -export interface Dispatcher { - __typename?: 'Dispatcher'; - /** The dispatcher address */ - address: Scalars['EthereumAddress']; - /** If the dispatcher can use the relay */ - canUseRelay: Scalars['Boolean']; -} - -export interface DoesFollow { - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export interface DoesFollowRequest { - /** The follower infos */ - followInfos: Array; -} - -/** The does follow response */ -export interface DoesFollowResponse { - __typename?: 'DoesFollowResponse'; - /** The follower address remember wallets follow profiles */ - followerAddress: Scalars['EthereumAddress']; - /** If the user does follow */ - follows: Scalars['Boolean']; - /** Is finalised on-chain */ - isFinalisedOnChain: Scalars['Boolean']; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** The eip 712 typed data domain */ -export interface Eip712TypedDataDomain { - __typename?: 'EIP712TypedDataDomain'; - /** The chainId */ - chainId: Scalars['ChainId']; - /** The name of the typed data domain */ - name: Scalars['String']; - /** The verifying contract */ - verifyingContract: Scalars['ContractAddress']; - /** The version */ - version: Scalars['String']; -} - -/** The eip 712 typed data field */ -export interface Eip712TypedDataField { - __typename?: 'EIP712TypedDataField'; - /** The name of the typed data field */ - name: Scalars['String']; - /** The type of the typed data field */ - type: Scalars['String']; -} - -export interface ElectedMirror { - __typename?: 'ElectedMirror'; - mirrorId: Scalars['InternalPublicationId']; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -export interface EnabledModule { - __typename?: 'EnabledModule'; - contractAddress: Scalars['ContractAddress']; - inputParams: Array; - moduleName: Scalars['String']; - redeemParams: Array; - returnDataParms: Array; -} - -/** The enabled modules */ -export interface EnabledModules { - __typename?: 'EnabledModules'; - collectModules: Array; - followModules: Array; - referenceModules: Array; -} - -/** The encrypted fields */ -export interface EncryptedFieldsOutput { - __typename?: 'EncryptedFieldsOutput'; - /** The encrypted animation_url field */ - animation_url?: Maybe; - /** The encrypted content field */ - content?: Maybe; - /** The encrypted external_url field */ - external_url?: Maybe; - /** The encrypted image field */ - image?: Maybe; - /** The encrypted media field */ - media?: Maybe>; -} - -/** The Encrypted Media url and metadata */ -export interface EncryptedMedia { - __typename?: 'EncryptedMedia'; - /** The encrypted alt tags for accessibility */ - altTag?: Maybe; - /** The encrypted cover for any video or audio you attached */ - cover?: Maybe; - /** Height - will always be null on the public API */ - height?: Maybe; - /** The image/audio/video mime type for the publication */ - mimeType?: Maybe; - /** Size - will always be null on the public API */ - size?: Maybe; - /** The encrypted value for the URL */ - url: Scalars['Url']; - /** Width - will always be null on the public API */ - width?: Maybe; -} - -/** The encrypted media set */ -export interface EncryptedMediaSet { - __typename?: 'EncryptedMediaSet'; - /** - * Medium media - will always be null on the public API - * @deprecated should not be used will always be null - */ - medium?: Maybe; - /** Original media */ - original: EncryptedMedia; - /** - * Small media - will always be null on the public API - * @deprecated should not be used will always be null - */ - small?: Maybe; -} - -/** The metadata encryption params */ -export interface EncryptionParamsOutput { - __typename?: 'EncryptionParamsOutput'; - /** The access conditions */ - accessCondition: AccessConditionOutput; - /** The encrypted fields */ - encryptedFields: EncryptedFieldsOutput; - /** The encryption provider */ - encryptionProvider: EncryptionProvider; - /** The provider-specific encryption params */ - providerSpecificParams: ProviderSpecificParamsOutput; -} - -/** The gated publication encryption provider */ -export type EncryptionProvider = - | 'LIT_PROTOCOL'; - -export interface EnsOnChainIdentity { - __typename?: 'EnsOnChainIdentity'; - /** The default ens mapped to this address */ - name?: Maybe; -} - -export interface EoaOwnershipInput { - /** The address that will have access to the content */ - address: Scalars['EthereumAddress']; -} - -export interface EoaOwnershipOutput { - __typename?: 'EoaOwnershipOutput'; - /** The address that will have access to the content */ - address: Scalars['EthereumAddress']; -} - -/** The erc20 type */ -export interface Erc20 { - __typename?: 'Erc20'; - /** The erc20 address */ - address: Scalars['ContractAddress']; - /** Decimal places for the token */ - decimals: Scalars['Int']; - /** Name of the symbol */ - name: Scalars['String']; - /** Symbol for the token */ - symbol: Scalars['String']; -} - -export interface Erc20Amount { - __typename?: 'Erc20Amount'; - /** The erc20 token info */ - asset: Erc20; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface Erc20OwnershipInput { - /** The amount of tokens required to access the content */ - amount: Scalars['String']; - /** The amount of tokens required to access the content */ - chainID: Scalars['ChainId']; - /** The operator to use when comparing the amount of tokens */ - condition: ScalarOperator; - /** The ERC20 token's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The amount of decimals of the ERC20 contract */ - decimals: Scalars['Float']; -} - -export interface Erc20OwnershipOutput { - __typename?: 'Erc20OwnershipOutput'; - /** The amount of tokens required to access the content */ - amount: Scalars['String']; - /** The amount of tokens required to access the content */ - chainID: Scalars['ChainId']; - /** The operator to use when comparing the amount of tokens */ - condition: ScalarOperator; - /** The ERC20 token's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The amount of decimals of the ERC20 contract */ - decimals: Scalars['Float']; -} - -/** The paginated publication result */ -export interface ExploreProfileResult { - __typename?: 'ExploreProfileResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface ExploreProfilesRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - sortCriteria: ProfileSortCriteria; - timestamp?: InputMaybe; -} - -export interface ExplorePublicationRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - /** If you wish to exclude any results for profile ids */ - excludeProfileIds?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** If you want the randomizer off (default on) */ - noRandomize?: InputMaybe; - /** The publication types you want to query */ - publicationTypes?: InputMaybe>; - sortCriteria: PublicationSortCriteria; - /** The App Id */ - sources?: InputMaybe>; - timestamp?: InputMaybe; -} - -/** The paginated publication result */ -export interface ExplorePublicationResult { - __typename?: 'ExplorePublicationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface FeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface FeeCollectModuleSettings { - __typename?: 'FeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface FeeFollowModuleParams { - /** The follow module amount info */ - amount: ModuleFeeAmountParams; - /** The follow module recipient address */ - recipient: Scalars['EthereumAddress']; -} - -export interface FeeFollowModuleRedeemParams { - /** The expected amount to pay */ - amount: ModuleFeeAmountParams; -} - -export interface FeeFollowModuleSettings { - __typename?: 'FeeFollowModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The follow modules enum */ - type: FollowModules; -} - -/** The feed event item filter types */ -export type FeedEventItemType = - | 'COLLECT_COMMENT' - | 'COLLECT_POST' - | 'COMMENT' - | 'MIRROR' - | 'POST' - | 'REACTION_COMMENT' - | 'REACTION_POST'; - -export interface FeedHighlightsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface FeedItem { - __typename?: 'FeedItem'; - /** Sorted by most recent first. Resolves defaultProfile and if null omits the wallet collect event from the list. */ - collects: Array; - /** Sorted by most recent first. Up to page size - 1 comments. */ - comments?: Maybe>; - /** The elected mirror will be the first Mirror publication within the page results set */ - electedMirror?: Maybe; - /** Sorted by most recent first. Up to page size - 1 mirrors */ - mirrors: Array; - /** Sorted by most recent first. Up to page size - 1 reactions */ - reactions: Array; - root: FeedItemRoot; -} - -export type FeedItemRoot = Comment | Post; - -export interface FeedRequest { - cursor?: InputMaybe; - /** Filter your feed to whatever you wish */ - feedEventItemTypes?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface Follow { - followModule?: InputMaybe; - profile: Scalars['ProfileId']; -} - -export interface FollowConditionInput { - /** The profile id of the gated profile */ - profileId: Scalars['ProfileId']; -} - -export interface FollowConditionOutput { - __typename?: 'FollowConditionOutput'; - /** The profile id of the gated profile */ - profileId: Scalars['ProfileId']; -} - -export type FollowModule = FeeFollowModuleSettings | ProfileFollowModuleSettings | RevertFollowModuleSettings | UnknownFollowModuleSettings; - -export interface FollowModuleParams { - /** The follower fee follower module */ - feeFollowModule?: InputMaybe; - /** The empty follow module */ - freeFollowModule?: InputMaybe; - /** The profile follow module */ - profileFollowModule?: InputMaybe; - /** The revert follow module */ - revertFollowModule?: InputMaybe; - /** A unknown follow module */ - unknownFollowModule?: InputMaybe; -} - -export interface FollowModuleRedeemParams { - /** The follower fee follower module */ - feeFollowModule?: InputMaybe; - /** The profile follower module */ - profileFollowModule?: InputMaybe; - /** A unknown follow module */ - unknownFollowModule?: InputMaybe; -} - -/** The follow module types */ -export type FollowModules = - | 'FeeFollowModule' - | 'ProfileFollowModule' - | 'RevertFollowModule' - | 'UnknownFollowModule'; - -export interface FollowOnlyReferenceModuleSettings { - __typename?: 'FollowOnlyReferenceModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The reference modules enum */ - type: ReferenceModules; -} - -export interface FollowProxyAction { - freeFollow?: InputMaybe; -} - -export interface FollowRequest { - follow: Array; -} - -export interface FollowRevenueResult { - __typename?: 'FollowRevenueResult'; - revenues: Array; -} - -export interface Follower { - __typename?: 'Follower'; - totalAmountOfTimesFollowed: Scalars['Int']; - wallet: Wallet; -} - -export interface FollowerNftOwnedTokenIds { - __typename?: 'FollowerNftOwnedTokenIds'; - followerNftAddress: Scalars['ContractAddress']; - tokensIds: Array; -} - -export interface FollowerNftOwnedTokenIdsRequest { - address: Scalars['EthereumAddress']; - profileId: Scalars['ProfileId']; -} - -export interface FollowersRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - profileId: Scalars['ProfileId']; -} - -export interface Following { - __typename?: 'Following'; - profile: Profile; - totalAmountOfTimesFollowing: Scalars['Int']; -} - -export interface FollowingRequest { - address: Scalars['EthereumAddress']; - cursor?: InputMaybe; - limit?: InputMaybe; -} - -export interface FraudReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingFraudSubreason; -} - -export interface FreeCollectModuleParams { - /** Follower only */ - followerOnly: Scalars['Boolean']; -} - -export interface FreeCollectModuleSettings { - __typename?: 'FreeCollectModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface FreeCollectProxyAction { - publicationId: Scalars['InternalPublicationId']; -} - -export interface FreeFollowProxyAction { - profileId: Scalars['ProfileId']; -} - -/** The access conditions for the publication */ -export interface GatedPublicationParamsInput { - /** AND condition */ - and?: InputMaybe; - /** Profile follow condition */ - collect?: InputMaybe; - /** The LIT Protocol encrypted symmetric key */ - encryptedSymmetricKey: Scalars['ContentEncryptionKey']; - /** EOA ownership condition */ - eoa?: InputMaybe; - /** Profile follow condition */ - follow?: InputMaybe; - /** NFT ownership condition */ - nft?: InputMaybe; - /** OR condition */ - or?: InputMaybe; - /** Profile ownership condition */ - profile?: InputMaybe; - /** ERC20 token ownership condition */ - token?: InputMaybe; -} - -export interface GenerateModuleCurrencyApproval { - __typename?: 'GenerateModuleCurrencyApproval'; - data: Scalars['BlockchainData']; - from: Scalars['EthereumAddress']; - to: Scalars['ContractAddress']; -} - -export interface GenerateModuleCurrencyApprovalDataRequest { - collectModule?: InputMaybe; - currency: Scalars['ContractAddress']; - followModule?: InputMaybe; - referenceModule?: InputMaybe; - unknownCollectModule?: InputMaybe; - unknownFollowModule?: InputMaybe; - unknownReferenceModule?: InputMaybe; - /** Floating point number as string (e.g. 42.009837). The server will move its decimal places for you */ - value: Scalars['String']; -} - -export interface GetPublicationMetadataStatusRequest { - publicationId?: InputMaybe; - txHash?: InputMaybe; - txId?: InputMaybe; -} - -export interface GlobalProtocolStats { - __typename?: 'GlobalProtocolStats'; - totalBurntProfiles: Scalars['Int']; - totalCollects: Scalars['Int']; - totalComments: Scalars['Int']; - totalFollows: Scalars['Int']; - totalMirrors: Scalars['Int']; - totalPosts: Scalars['Int']; - totalProfiles: Scalars['Int']; - totalRevenue: Array; -} - -export interface GlobalProtocolStatsRequest { - /** Unix time from timestamp - if not supplied it will go from 0 timestamp */ - fromTimestamp?: InputMaybe; - /** The App Id */ - sources?: InputMaybe>; - /** Unix time to timestamp - if not supplied it go to the present timestamp */ - toTimestamp?: InputMaybe; -} - -export interface HasTxHashBeenIndexedRequest { - /** Tx hash.. if your using the broadcaster you should use txId due to gas price upgrades */ - txHash?: InputMaybe; - /** Tx id.. if your using the broadcaster you should always use this field */ - txId?: InputMaybe; -} - -export interface HidePublicationRequest { - /** Publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -export interface IllegalReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingIllegalSubreason; -} - -export interface InternalPublicationsFilterRequest { - cursor?: InputMaybe; - /** must be DD/MM/YYYY */ - fromDate: Scalars['String']; - limit?: InputMaybe; - /** The shared secret */ - secret: Scalars['String']; - /** The App Id */ - source: Scalars['Sources']; - /** must be DD/MM/YYYY */ - toDate: Scalars['String']; -} - -export interface LimitedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** The collect module limit */ - collectLimit: Scalars['String']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface LimitedFeeCollectModuleSettings { - __typename?: 'LimitedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The collect module limit */ - collectLimit: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface LimitedTimedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** The collect module limit */ - collectLimit: Scalars['String']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface LimitedTimedFeeCollectModuleSettings { - __typename?: 'LimitedTimedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - /** The collect module limit */ - collectLimit: Scalars['String']; - contractAddress: Scalars['ContractAddress']; - /** The collect module end timestamp */ - endTimestamp: Scalars['DateTime']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface Log { - __typename?: 'Log'; - address: Scalars['ContractAddress']; - blockHash: Scalars['String']; - blockNumber: Scalars['Int']; - data: Scalars['String']; - logIndex: Scalars['Int']; - removed: Scalars['Boolean']; - topics: Array; - transactionHash: Scalars['TxHash']; - transactionIndex: Scalars['Int']; -} - -export type MainPostReference = Mirror | Post; - -/** The Media url */ -export interface Media { - __typename?: 'Media'; - /** The alt tags for accessibility */ - altTag?: Maybe; - /** The cover for any video or audio you attached */ - cover?: Maybe; - /** Height - will always be null on the public API */ - height?: Maybe; - /** The image/audio/video mime type for the publication */ - mimeType?: Maybe; - /** Size - will always be null on the public API */ - size?: Maybe; - /** The token image nft */ - url: Scalars['Url']; - /** Width - will always be null on the public API */ - width?: Maybe; -} - -/** Media object output */ -export interface MediaOutput { - __typename?: 'MediaOutput'; - /** The alt tags for accessibility */ - altTag?: Maybe; - /** The cover for any video or audio you attached */ - cover?: Maybe; - item: Scalars['Url']; - source?: Maybe; - /** This is the mime type of media */ - type?: Maybe; -} - -/** The Media Set */ -export interface MediaSet { - __typename?: 'MediaSet'; - /** - * Medium media - will always be null on the public API - * @deprecated should not be used will always be null - */ - medium?: Maybe; - /** Original media */ - original: Media; - /** - * Small media - will always be null on the public API - * @deprecated should not be used will always be null - */ - small?: Maybe; -} - -export type MentionPublication = Comment | Post; - -/** The metadata attribute input */ -export interface MetadataAttributeInput { - /** The display type */ - displayType?: InputMaybe; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType: Scalars['String']; - /** The value */ - value: Scalars['String']; -} - -/** The metadata attribute output */ -export interface MetadataAttributeOutput { - __typename?: 'MetadataAttributeOutput'; - /** The display type */ - displayType?: Maybe; - /** The trait type - can be anything its the name it will render so include spaces */ - traitType?: Maybe; - /** The value */ - value?: Maybe; -} - -/** The metadata output */ -export interface MetadataOutput { - __typename?: 'MetadataOutput'; - /** The main focus of the publication */ - animatedUrl?: Maybe; - /** The attributes */ - attributes: Array; - /** This is the metadata content for the publication, should be markdown */ - content?: Maybe; - /** The content warning for the publication */ - contentWarning?: Maybe; - /** The image cover for video/music publications */ - cover?: Maybe; - /** This is the metadata description */ - description?: Maybe; - /** The publication's encryption params in case it's encrypted */ - encryptionParams?: Maybe; - /** This is the image attached to the metadata and the property used to show the NFT! */ - image?: Maybe; - /** The locale of the publication, */ - locale?: Maybe; - /** The main focus of the publication */ - mainContentFocus: PublicationMainFocus; - /** The images/audios/videos for the publication */ - media: Array; - /** The metadata name */ - name?: Maybe; - /** The tags for the publication */ - tags: Array; -} - -/** The social mirror */ -export interface Mirror { - __typename?: 'Mirror'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The metadata for the post */ - metadata: MetadataOutput; - /** The mirror publication */ - mirrorOf: MirrorablePublication; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social mirror */ -export interface MirrorCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social mirror */ -export interface MirrorReactionArgs { - request?: InputMaybe; -} - -export interface MirrorEvent { - __typename?: 'MirrorEvent'; - profile: Profile; - timestamp: Scalars['DateTime']; -} - -export type MirrorablePublication = Comment | Post; - -export interface ModuleFeeAmount { - __typename?: 'ModuleFeeAmount'; - /** The erc20 token info */ - asset: Erc20; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface ModuleFeeAmountParams { - /** The currency address */ - currency: Scalars['ContractAddress']; - /** - * Floating point number as string (e.g. 42.009837). It could have the entire - * precision of the Asset or be truncated to the last significant decimal. - */ - value: Scalars['String']; -} - -export interface ModuleInfo { - __typename?: 'ModuleInfo'; - name: Scalars['String']; - type: Scalars['String']; -} - -export interface Mutation { - __typename?: 'Mutation'; - ach?: Maybe; - /** Adds profile interests to the given profile */ - addProfileInterests?: Maybe; - addReaction?: Maybe; - authenticate: AuthenticationResult; - broadcast: RelayResult; - claim: RelayResult; - createAttachMediaData: PublicMediaResults; - createBurnProfileTypedData: CreateBurnProfileBroadcastItemResult; - createCollectTypedData: CreateCollectBroadcastItemResult; - createCommentTypedData: CreateCommentBroadcastItemResult; - createCommentViaDispatcher: RelayResult; - createFollowTypedData: CreateFollowBroadcastItemResult; - createMirrorTypedData: CreateMirrorBroadcastItemResult; - createMirrorViaDispatcher: RelayResult; - createPostTypedData: CreatePostBroadcastItemResult; - createPostViaDispatcher: RelayResult; - createSetDefaultProfileTypedData: SetDefaultProfileBroadcastItemResult; - createSetDispatcherTypedData: CreateSetDispatcherBroadcastItemResult; - createSetFollowModuleTypedData: CreateSetFollowModuleBroadcastItemResult; - createSetFollowNFTUriTypedData: CreateSetFollowNftUriBroadcastItemResult; - createSetProfileImageURITypedData: CreateSetProfileImageUriBroadcastItemResult; - createSetProfileImageURIViaDispatcher: RelayResult; - createSetProfileMetadataTypedData: CreateSetProfileMetadataUriBroadcastItemResult; - createSetProfileMetadataViaDispatcher: RelayResult; - createToggleFollowTypedData: CreateToggleFollowBroadcastItemResult; - createUnfollowTypedData: CreateUnfollowBroadcastItemResult; - hidePublication?: Maybe; - proxyAction: Scalars['ProxyActionId']; - refresh: AuthenticationResult; - /** Removes profile interests from the given profile */ - removeProfileInterests?: Maybe; - removeReaction?: Maybe; - reportPublication?: Maybe; -} - - -export interface MutationAchArgs { - request: AchRequest; -} - - -export interface MutationAddProfileInterestsArgs { - request: AddProfileInterestsRequest; -} - - -export interface MutationAddReactionArgs { - request: ReactionRequest; -} - - -export interface MutationAuthenticateArgs { - request: SignedAuthChallenge; -} - - -export interface MutationBroadcastArgs { - request: BroadcastRequest; -} - - -export interface MutationClaimArgs { - request: ClaimHandleRequest; -} - - -export interface MutationCreateAttachMediaDataArgs { - request: PublicMediaRequest; -} - - -export interface MutationCreateBurnProfileTypedDataArgs { - options?: InputMaybe; - request: BurnProfileRequest; -} - - -export interface MutationCreateCollectTypedDataArgs { - options?: InputMaybe; - request: CreateCollectRequest; -} - - -export interface MutationCreateCommentTypedDataArgs { - options?: InputMaybe; - request: CreatePublicCommentRequest; -} - - -export interface MutationCreateCommentViaDispatcherArgs { - request: CreatePublicCommentRequest; -} - - -export interface MutationCreateFollowTypedDataArgs { - options?: InputMaybe; - request: FollowRequest; -} - - -export interface MutationCreateMirrorTypedDataArgs { - options?: InputMaybe; - request: CreateMirrorRequest; -} - - -export interface MutationCreateMirrorViaDispatcherArgs { - request: CreateMirrorRequest; -} - - -export interface MutationCreatePostTypedDataArgs { - options?: InputMaybe; - request: CreatePublicPostRequest; -} - - -export interface MutationCreatePostViaDispatcherArgs { - request: CreatePublicPostRequest; -} - - -export interface MutationCreateSetDefaultProfileTypedDataArgs { - options?: InputMaybe; - request: CreateSetDefaultProfileRequest; -} - - -export interface MutationCreateSetDispatcherTypedDataArgs { - options?: InputMaybe; - request: SetDispatcherRequest; -} - - -export interface MutationCreateSetFollowModuleTypedDataArgs { - options?: InputMaybe; - request: CreateSetFollowModuleRequest; -} - - -export interface MutationCreateSetFollowNftUriTypedDataArgs { - options?: InputMaybe; - request: CreateSetFollowNftUriRequest; -} - - -export interface MutationCreateSetProfileImageUriTypedDataArgs { - options?: InputMaybe; - request: UpdateProfileImageRequest; -} - - -export interface MutationCreateSetProfileImageUriViaDispatcherArgs { - request: UpdateProfileImageRequest; -} - - -export interface MutationCreateSetProfileMetadataTypedDataArgs { - options?: InputMaybe; - request: CreatePublicSetProfileMetadataUriRequest; -} - - -export interface MutationCreateSetProfileMetadataViaDispatcherArgs { - request: CreatePublicSetProfileMetadataUriRequest; -} - - -export interface MutationCreateToggleFollowTypedDataArgs { - options?: InputMaybe; - request: CreateToggleFollowRequest; -} - - -export interface MutationCreateUnfollowTypedDataArgs { - options?: InputMaybe; - request: UnfollowRequest; -} - - -export interface MutationHidePublicationArgs { - request: HidePublicationRequest; -} - - -export interface MutationProxyActionArgs { - request: ProxyActionRequest; -} - - -export interface MutationRefreshArgs { - request: RefreshRequest; -} - - -export interface MutationRemoveProfileInterestsArgs { - request: RemoveProfileInterestsRequest; -} - - -export interface MutationRemoveReactionArgs { - request: ReactionRequest; -} - - -export interface MutationReportPublicationArgs { - request: ReportPublicationRequest; -} - -export interface MutualFollowersProfilesQueryRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** The profile id your viewing */ - viewingProfileId: Scalars['ProfileId']; - /** The profile id you want the result to come back as your viewing from */ - yourProfileId: Scalars['ProfileId']; -} - -/** The nft type */ -export interface Nft { - __typename?: 'NFT'; - /** aka "1" */ - chainId: Scalars['ChainId']; - /** aka "CryptoKitties" */ - collectionName: Scalars['String']; - /** aka "https://api.criptokitt..." */ - contentURI: Scalars['String']; - /** aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e */ - contractAddress: Scalars['ContractAddress']; - /** aka us CryptoKitties */ - contractName: Scalars['String']; - /** aka "Hey cutie! I m Beard Coffee. .... */ - description: Scalars['String']; - /** aka "ERC721" */ - ercType: Scalars['String']; - /** aka "Beard Coffee" */ - name: Scalars['String']; - /** aka "{ uri:"https://ipfs....", metaType:"image/png" }" */ - originalContent: NftContent; - /** aka { address: 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e, amount:"2" } */ - owners: Array; - /** aka RARI */ - symbol: Scalars['String']; - /** aka "13" */ - tokenId: Scalars['String']; -} - -/** The NFT content uri */ -export interface NftContent { - __typename?: 'NFTContent'; - /** The animated url */ - animatedUrl?: Maybe; - /** The meta type content */ - metaType: Scalars['String']; - /** The token uri nft */ - uri: Scalars['String']; -} - -export interface NftData { - /** Id of the nft ownership challenge */ - id: Scalars['NftOwnershipId']; - /** The signature */ - signature: Scalars['Signature']; -} - -export interface NfTsRequest { - /** Chain Ids */ - chainIds: Array; - /** Filter by contract address */ - contractAddress?: InputMaybe; - cursor?: InputMaybe; - limit?: InputMaybe; - /** Filter by owner address */ - ownerAddress: Scalars['EthereumAddress']; -} - -/** Paginated nft results */ -export interface NfTsResult { - __typename?: 'NFTsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface NewCollectNotification { - __typename?: 'NewCollectNotification'; - collectedPublication: Publication; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - wallet: Wallet; -} - -export interface NewCommentNotification { - __typename?: 'NewCommentNotification'; - comment: Comment; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; -} - -export interface NewFollowerNotification { - __typename?: 'NewFollowerNotification'; - createdAt: Scalars['DateTime']; - isFollowedByMe: Scalars['Boolean']; - notificationId: Scalars['NotificationId']; - wallet: Wallet; -} - -export interface NewMentionNotification { - __typename?: 'NewMentionNotification'; - createdAt: Scalars['DateTime']; - mentionPublication: MentionPublication; - notificationId: Scalars['NotificationId']; -} - -export interface NewMirrorNotification { - __typename?: 'NewMirrorNotification'; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; - publication: MirrorablePublication; -} - -export interface NewReactionNotification { - __typename?: 'NewReactionNotification'; - createdAt: Scalars['DateTime']; - notificationId: Scalars['NotificationId']; - /** The profile */ - profile: Profile; - publication: Publication; - reaction: ReactionTypes; -} - -/** The NFT image */ -export interface NftImage { - __typename?: 'NftImage'; - /** The token image nft */ - chainId: Scalars['Int']; - /** The contract address */ - contractAddress: Scalars['ContractAddress']; - /** The token id of the nft */ - tokenId: Scalars['String']; - /** The token image nft */ - uri: Scalars['Url']; - /** If the NFT is verified */ - verified: Scalars['Boolean']; -} - -export interface NftOwnershipChallenge { - /** Chain Id */ - chainId: Scalars['ChainId']; - /** ContractAddress for nft */ - contractAddress: Scalars['ContractAddress']; - /** Token id for NFT */ - tokenId: Scalars['String']; -} - -export interface NftOwnershipChallengeRequest { - /** The wallet address which owns the NFT */ - ethereumAddress: Scalars['EthereumAddress']; - nfts: Array; -} - -/** NFT ownership challenge result */ -export interface NftOwnershipChallengeResult { - __typename?: 'NftOwnershipChallengeResult'; - /** Id of the nft ownership challenge */ - id: Scalars['NftOwnershipId']; - text: Scalars['String']; - /** Timeout of the validation */ - timeout: Scalars['TimestampScalar']; -} - -export interface NftOwnershipInput { - /** The NFT chain id */ - chainID: Scalars['ChainId']; - /** The NFT collection's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The unlocker contract type */ - contractType: ContractType; - /** The optional token ID(s) to check for ownership */ - tokenIds?: InputMaybe; -} - -export interface NftOwnershipOutput { - __typename?: 'NftOwnershipOutput'; - /** The NFT chain id */ - chainID: Scalars['ChainId']; - /** The NFT collection's ethereum address */ - contractAddress: Scalars['ContractAddress']; - /** The unlocker contract type */ - contractType: ContractType; - /** The optional token ID(s) to check for ownership */ - tokenIds?: Maybe; -} - -export type Notification = NewCollectNotification | NewCommentNotification | NewFollowerNotification | NewMentionNotification | NewMirrorNotification | NewReactionNotification; - -export interface NotificationRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - notificationTypes?: InputMaybe>; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -/** The notification filter types */ -export type NotificationTypes = - | 'COLLECTED_COMMENT' - | 'COLLECTED_POST' - | 'COMMENTED_COMMENT' - | 'COMMENTED_POST' - | 'FOLLOWED' - | 'MENTION_COMMENT' - | 'MENTION_POST' - | 'MIRRORED_COMMENT' - | 'MIRRORED_POST' - | 'REACTION_COMMENT' - | 'REACTION_POST'; - -export interface OnChainIdentity { - __typename?: 'OnChainIdentity'; - /** The ens information */ - ens?: Maybe; - /** The POH status */ - proofOfHumanity: Scalars['Boolean']; - /** The sybil dot org information */ - sybilDotOrg: SybilDotOrgIdentity; - /** The worldcoin identity */ - worldcoin: WorldcoinIdentity; -} - -export interface OrConditionInput { - /** The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -export interface OrConditionOutput { - __typename?: 'OrConditionOutput'; - /** The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. */ - criteria: Array; -} - -/** The nft type */ -export interface Owner { - __typename?: 'Owner'; - /** aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e */ - address: Scalars['EthereumAddress']; - /** number of tokens owner */ - amount: Scalars['Float']; -} - -/** The paginated wallet result */ -export interface PaginatedAllPublicationsTagsResult { - __typename?: 'PaginatedAllPublicationsTagsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated feed result */ -export interface PaginatedFeedResult { - __typename?: 'PaginatedFeedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated followers result */ -export interface PaginatedFollowersResult { - __typename?: 'PaginatedFollowersResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PaginatedFollowingResult { - __typename?: 'PaginatedFollowingResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated notification result */ -export interface PaginatedNotificationResult { - __typename?: 'PaginatedNotificationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated wallet result */ -export interface PaginatedProfilePublicationsForSaleResult { - __typename?: 'PaginatedProfilePublicationsForSaleResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated profile result */ -export interface PaginatedProfileResult { - __typename?: 'PaginatedProfileResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated publication result */ -export interface PaginatedPublicationResult { - __typename?: 'PaginatedPublicationResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated result info */ -export interface PaginatedResultInfo { - __typename?: 'PaginatedResultInfo'; - /** Cursor to query next results */ - next?: Maybe; - /** Cursor to query the actual results */ - prev?: Maybe; - /** - * The total number of entities the pagination iterates over. If null it means it - * can not work it out due to dynamic or aggregated query e.g. For a query that - * requests all nfts with more than 10 likes, this field gives the total amount - * of nfts with more than 10 likes, not the total amount of nfts - */ - totalCount?: Maybe; -} - -/** The paginated timeline result */ -export interface PaginatedTimelineResult { - __typename?: 'PaginatedTimelineResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The paginated wallet result */ -export interface PaginatedWhoCollectedResult { - __typename?: 'PaginatedWhoCollectedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PaginatedWhoReactedResult { - __typename?: 'PaginatedWhoReactedResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface PendingApprovalFollowsRequest { - cursor?: InputMaybe; - limit?: InputMaybe; -} - -/** The paginated follow result */ -export interface PendingApproveFollowsResult { - __typename?: 'PendingApproveFollowsResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -/** The social post */ -export interface Post { - __typename?: 'Post'; - /** ID of the source */ - appId?: Maybe; - canComment: CanCommentResponse; - canDecrypt: CanDecryptResponse; - canMirror: CanMirrorResponse; - /** The collect module */ - collectModule: CollectModule; - /** The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed */ - collectNftAddress?: Maybe; - /** - * Who collected it, this is used for timeline results and like this for better caching for the client - * @deprecated use `feed` query, timeline query will be killed on the 15th November. This includes this field. - */ - collectedBy?: Maybe; - /** The date the post was created on */ - createdAt: Scalars['DateTime']; - hasCollectedByMe: Scalars['Boolean']; - /** If the publication has been hidden if it has then the content and media is not available */ - hidden: Scalars['Boolean']; - /** The internal publication id */ - id: Scalars['InternalPublicationId']; - /** Indicates if the publication is gated behind some access criteria */ - isGated: Scalars['Boolean']; - /** The metadata for the post */ - metadata: MetadataOutput; - mirrors: Array; - /** The on chain content uri could be `ipfs://` or `https` */ - onChainContentURI: Scalars['String']; - /** The profile ref */ - profile: Profile; - reaction?: Maybe; - /** The reference module */ - referenceModule?: Maybe; - /** The publication stats */ - stats: PublicationStats; -} - - -/** The social post */ -export interface PostCanCommentArgs { - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostCanDecryptArgs { - address?: InputMaybe; - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostCanMirrorArgs { - profileId?: InputMaybe; -} - - -/** The social post */ -export interface PostHasCollectedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The social post */ -export interface PostMirrorsArgs { - by?: InputMaybe; -} - - -/** The social post */ -export interface PostReactionArgs { - request?: InputMaybe; -} - -/** The Profile */ -export interface Profile { - __typename?: 'Profile'; - /** Optionals param to add extra attributes on the metadata */ - attributes?: Maybe>; - /** Bio of the profile */ - bio?: Maybe; - /** The cover picture for the profile */ - coverPicture?: Maybe; - /** The dispatcher */ - dispatcher?: Maybe; - /** The follow module */ - followModule?: Maybe; - /** Follow nft address */ - followNftAddress?: Maybe; - /** The profile handle */ - handle: Scalars['Handle']; - /** The profile id */ - id: Scalars['ProfileId']; - /** The profile interests */ - interests?: Maybe>; - /** Is the profile default */ - isDefault: Scalars['Boolean']; - isFollowedByMe: Scalars['Boolean']; - isFollowing: Scalars['Boolean']; - /** Metadata url */ - metadata?: Maybe; - /** Name of the profile */ - name?: Maybe; - /** The on chain identity */ - onChainIdentity: OnChainIdentity; - /** Who owns the profile */ - ownedBy: Scalars['EthereumAddress']; - /** The picture for the profile */ - picture?: Maybe; - /** Profile stats */ - stats: ProfileStats; -} - - -/** The Profile */ -export interface ProfileIsFollowedByMeArgs { - isFinalisedOnChain?: InputMaybe; -} - - -/** The Profile */ -export interface ProfileIsFollowingArgs { - who?: InputMaybe; -} - -export interface ProfileFollowModuleBeenRedeemedRequest { - followProfileId: Scalars['ProfileId']; - redeemingProfileId: Scalars['ProfileId']; -} - -export interface ProfileFollowModuleRedeemParams { - /** The profile id to use to follow this profile */ - profileId: Scalars['ProfileId']; -} - -export interface ProfileFollowModuleSettings { - __typename?: 'ProfileFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The follow module enum */ - type: FollowModules; -} - -export interface ProfileFollowRevenueQueryRequest { - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export type ProfileMedia = MediaSet | NftImage; - -export interface ProfileOnChainIdentityRequest { - profileIds: Array; -} - -/** Condition that signifies if address has access to profile */ -export interface ProfileOwnershipInput { - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** Condition that signifies if address has access to profile */ -export interface ProfileOwnershipOutput { - __typename?: 'ProfileOwnershipOutput'; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -export interface ProfilePublicationRevenueQueryRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; - /** The revenue types */ - types?: InputMaybe>; -} - -/** The paginated revenue result */ -export interface ProfilePublicationRevenueResult { - __typename?: 'ProfilePublicationRevenueResult'; - items: Array; - pageInfo: PaginatedResultInfo; -} - -export interface ProfilePublicationsForSaleRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** Profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface ProfileQueryRequest { - cursor?: InputMaybe; - /** The handles for the profile */ - handles?: InputMaybe>; - limit?: InputMaybe; - /** The ethereum addresses */ - ownedBy?: InputMaybe>; - /** The profile ids */ - profileIds?: InputMaybe>; - /** The mirrored publication id */ - whoMirroredPublicationId?: InputMaybe; -} - -/** Profile search results */ -export interface ProfileSearchResult { - __typename?: 'ProfileSearchResult'; - items: Array; - pageInfo: PaginatedResultInfo; - type: SearchRequestTypes; -} - -/** profile sort criteria */ -export type ProfileSortCriteria = - | 'CREATED_ON' - | 'LATEST_CREATED' - | 'MOST_COLLECTS' - | 'MOST_COMMENTS' - | 'MOST_FOLLOWERS' - | 'MOST_MIRRORS' - | 'MOST_POSTS' - | 'MOST_PUBLICATION'; - -/** The Profile Stats */ -export interface ProfileStats { - __typename?: 'ProfileStats'; - commentsTotal: Scalars['Int']; - id: Scalars['ProfileId']; - mirrorsTotal: Scalars['Int']; - postsTotal: Scalars['Int']; - publicationsTotal: Scalars['Int']; - /** Total collects count */ - totalCollects: Scalars['Int']; - /** Total comment count */ - totalComments: Scalars['Int']; - /** Total follower count */ - totalFollowers: Scalars['Int']; - /** Total following count (remember the wallet follows not profile so will be same for every profile they own) */ - totalFollowing: Scalars['Int']; - /** Total mirror count */ - totalMirrors: Scalars['Int']; - /** Total post count */ - totalPosts: Scalars['Int']; - /** Total publication count */ - totalPublications: Scalars['Int']; -} - - -/** The Profile Stats */ -export interface ProfileStatsCommentsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsMirrorsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsPostsTotalArgs { - forSources: Array; -} - - -/** The Profile Stats */ -export interface ProfileStatsPublicationsTotalArgs { - forSources: Array; -} - -/** The provider-specific encryption params */ -export interface ProviderSpecificParamsOutput { - __typename?: 'ProviderSpecificParamsOutput'; - /** The encryption key */ - encryptionKey: Scalars['ContentEncryptionKey']; -} - -export interface ProxyActionError { - __typename?: 'ProxyActionError'; - lastKnownTxId?: Maybe; - reason: Scalars['String']; -} - -export interface ProxyActionQueued { - __typename?: 'ProxyActionQueued'; - queuedAt: Scalars['DateTime']; -} - -export interface ProxyActionRequest { - collect?: InputMaybe; - follow?: InputMaybe; -} - -export interface ProxyActionStatusResult { - __typename?: 'ProxyActionStatusResult'; - status: ProxyActionStatusTypes; - txHash: Scalars['TxHash']; - txId: Scalars['TxId']; -} - -export type ProxyActionStatusResultUnion = ProxyActionError | ProxyActionQueued | ProxyActionStatusResult; - -/** The proxy action status */ -export type ProxyActionStatusTypes = - | 'COMPLETE' - | 'MINTING' - | 'TRANSFERRING'; - -export interface PublicMediaRequest { - /** The alt tags for accessibility */ - altTag?: InputMaybe; - /** The cover for any video or audio you attached */ - cover?: InputMaybe; - /** Pre calculated cid of the file to push */ - itemCid: Scalars['IfpsCid']; - /** This is the mime type of media */ - type?: InputMaybe; -} - -/** The response to upload the attached file */ -export interface PublicMediaResults { - __typename?: 'PublicMediaResults'; - /** ipfs uri to add on the metadata */ - media: MediaOutput; - /** Signed url to push the file */ - signedUrl: Scalars['String']; -} - -export type Publication = Comment | Mirror | Post; - -/** The publication content warning */ -export type PublicationContentWarning = - | 'NSFW' - | 'SENSITIVE' - | 'SPOILER'; - -export type PublicationForSale = Comment | Post; - -/** The publication main focus */ -export type PublicationMainFocus = - | 'ARTICLE' - | 'AUDIO' - | 'EMBED' - | 'IMAGE' - | 'LINK' - | 'TEXT_ONLY' - | 'VIDEO'; - -/** The source of the media */ -export type PublicationMediaSource = - | 'LENS'; - -/** Publication metadata content waring filters */ -export interface PublicationMetadataContentWarningFilter { - /** By default all content warnings will be hidden you can include them in your query by adding them to this array. */ - includeOneOf?: InputMaybe>; -} - -/** The publication metadata display types */ -export type PublicationMetadataDisplayTypes = - | 'date' - | 'number' - | 'string'; - -/** Publication metadata filters */ -export interface PublicationMetadataFilters { - contentWarning?: InputMaybe; - /** - * IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US - * or IT aka en-US or it-IT. You can just filter on language if you wish. - */ - locale?: InputMaybe; - mainContentFocus?: InputMaybe>; - tags?: InputMaybe; -} - -/** The metadata attribute input */ -export interface PublicationMetadataMediaInput { - /** The alt tags for accessibility */ - altTag?: InputMaybe; - /** The cover for any video or audio you attached */ - cover?: InputMaybe; - item: Scalars['Url']; - source?: InputMaybe; - /** This is the mime type of media */ - type?: InputMaybe; -} - -export interface PublicationMetadataStatus { - __typename?: 'PublicationMetadataStatus'; - /** If metadata validation failed it will put a reason why here */ - reason?: Maybe; - status: PublicationMetadataStatusType; -} - -/** publication metadata status type */ -export type PublicationMetadataStatusType = - | 'METADATA_VALIDATION_FAILED' - | 'NOT_FOUND' - | 'PENDING' - | 'SUCCESS'; - -/** Publication metadata tag filter */ -export interface PublicationMetadataTagsFilter { - /** Needs to only match all */ - all?: InputMaybe>; - /** Needs to only match one of */ - oneOf?: InputMaybe>; -} - -export interface PublicationMetadataV1Input { - /** - * A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - * and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - * Animation_url also supports HTML pages, allowing you to build rich - * experiences and interactive NFTs using JavaScript canvas, - * WebGL, and more. Scripts and relative paths within the HTML page are now - * supported. However, access to browser extensions is not supported. - */ - animation_url?: InputMaybe; - /** This is the appId the content belongs to */ - appId?: InputMaybe; - /** These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. */ - attributes: Array; - /** The content of a publication. If this is blank `media` must be defined or its out of spec */ - content?: InputMaybe; - /** A human-readable description of the item. */ - description?: InputMaybe; - /** - * This is the URL that will appear below the asset's image on OpenSea and others etc - * and will allow users to leave OpenSea and view the item on the site. - */ - external_url?: InputMaybe; - /** legacy to support OpenSea will store any NFT image here. */ - image?: InputMaybe; - /** - * This is the mime type of the image. This is used if your uploading more - * advanced cover images as sometimes ipfs does not emit the content header so - * this solves that - */ - imageMimeType?: InputMaybe; - /** This is lens supported attached media items to the publication */ - media?: InputMaybe>; - /** - * The metadata id can be anything but if your uploading to ipfs you will want it - * to be random.. using uuid could be an option! - */ - metadata_id: Scalars['String']; - /** Name of the item. */ - name: Scalars['String']; - /** Signed metadata to validate the owner */ - signatureContext?: InputMaybe; - /** The metadata version. (1.0.0 | 2.0.0) */ - version: Scalars['String']; -} - -export interface PublicationMetadataV2Input { - /** - * A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - * and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - * Animation_url also supports HTML pages, allowing you to build rich - * experiences and interactive NFTs using JavaScript canvas, - * WebGL, and more. Scripts and relative paths within the HTML page are now - * supported. However, access to browser extensions is not supported. - */ - animation_url?: InputMaybe; - /** This is the appId the content belongs to */ - appId?: InputMaybe; - /** These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. */ - attributes: Array; - /** The content of a publication. If this is blank `media` must be defined or its out of spec */ - content?: InputMaybe; - /** Ability to add a content warning */ - contentWarning?: InputMaybe; - /** A human-readable description of the item. */ - description?: InputMaybe; - /** - * This is the URL that will appear below the asset's image on OpenSea and others etc - * and will allow users to leave OpenSea and view the item on the site. - */ - external_url?: InputMaybe; - /** legacy to support OpenSea will store any NFT image here. */ - image?: InputMaybe; - /** - * This is the mime type of the image. This is used if your uploading more - * advanced cover images as sometimes ipfs does not emit the content header so - * this solves that - */ - imageMimeType?: InputMaybe; - /** IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US or IT aka en-US or it-IT */ - locale: Scalars['Locale']; - /** Main content focus that for this publication */ - mainContentFocus: PublicationMainFocus; - /** This is lens supported attached media items to the publication */ - media?: InputMaybe>; - /** - * The metadata id can be anything but if your uploading to ipfs you will want it - * to be random.. using uuid could be an option! - */ - metadata_id: Scalars['String']; - /** Name of the item. */ - name: Scalars['String']; - /** Signed metadata to validate the owner */ - signatureContext?: InputMaybe; - /** Ability to tag your publication */ - tags?: InputMaybe>; - /** The metadata version. (1.0.0 | 2.0.0) */ - version: Scalars['String']; -} - -export interface PublicationQueryRequest { - /** The publication id */ - publicationId?: InputMaybe; - /** The tx hash */ - txHash?: InputMaybe; -} - -/** Publication reporting fraud subreason */ -export type PublicationReportingFraudSubreason = - | 'IMPERSONATION' - | 'SCAM'; - -/** Publication reporting illegal subreason */ -export type PublicationReportingIllegalSubreason = - | 'ANIMAL_ABUSE' - | 'DIRECT_THREAT' - | 'HUMAN_ABUSE' - | 'THREAT_INDIVIDUAL' - | 'VIOLENCE'; - -/** Publication reporting reason */ -export type PublicationReportingReason = - | 'FRAUD' - | 'ILLEGAL' - | 'SENSITIVE' - | 'SPAM'; - -/** Publication reporting sensitive subreason */ -export type PublicationReportingSensitiveSubreason = - | 'NSFW' - | 'OFFENSIVE'; - -/** Publication reporting spam subreason */ -export type PublicationReportingSpamSubreason = - | 'FAKE_ENGAGEMENT' - | 'MANIPULATION_ALGO' - | 'MISLEADING' - | 'MISUSE_HASHTAGS' - | 'REPETITIVE' - | 'SOMETHING_ELSE' - | 'UNRELATED'; - -/** The social comment */ -export interface PublicationRevenue { - __typename?: 'PublicationRevenue'; - publication: Publication; - revenue: RevenueAggregate; -} - -export interface PublicationRevenueQueryRequest { - /** The publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -/** Publication search results */ -export interface PublicationSearchResult { - __typename?: 'PublicationSearchResult'; - items: Array; - pageInfo: PaginatedResultInfo; - type: SearchRequestTypes; -} - -export type PublicationSearchResultItem = Comment | Post; - -export interface PublicationSignatureContextInput { - signature: Scalars['String']; -} - -/** Publication sort criteria */ -export type PublicationSortCriteria = - | 'CURATED_PROFILES' - | 'LATEST' - | 'TOP_COLLECTED' - | 'TOP_COMMENTED' - | 'TOP_MIRRORED'; - -/** The publication stats */ -export interface PublicationStats { - __typename?: 'PublicationStats'; - commentsTotal: Scalars['Int']; - /** The publication id */ - id: Scalars['InternalPublicationId']; - /** The total amount of collects */ - totalAmountOfCollects: Scalars['Int']; - /** The total amount of comments */ - totalAmountOfComments: Scalars['Int']; - /** The total amount of mirrors */ - totalAmountOfMirrors: Scalars['Int']; - /** The total amount of upvotes */ - totalDownvotes: Scalars['Int']; - /** The total amount of downvotes */ - totalUpvotes: Scalars['Int']; -} - - -/** The publication stats */ -export interface PublicationStatsCommentsTotalArgs { - forSources: Array; -} - -/** The publication types */ -export type PublicationTypes = - | 'COMMENT' - | 'MIRROR' - | 'POST'; - -export interface PublicationValidateMetadataResult { - __typename?: 'PublicationValidateMetadataResult'; - /** If `valid` is false it will put a reason why here */ - reason?: Maybe; - valid: Scalars['Boolean']; -} - -export interface PublicationsQueryRequest { - /** The ethereum address */ - collectedBy?: InputMaybe; - /** The publication id you wish to get comments for */ - commentsOf?: InputMaybe; - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - metadata?: InputMaybe; - /** Profile id */ - profileId?: InputMaybe; - /** Profile ids */ - profileIds?: InputMaybe>; - /** The publication id */ - publicationIds?: InputMaybe>; - /** The publication types you want to query */ - publicationTypes?: InputMaybe>; - /** The App Id */ - sources?: InputMaybe>; -} - -export interface Query { - __typename?: 'Query'; - allPublicationsTags: PaginatedAllPublicationsTagsResult; - approvedModuleAllowanceAmount: Array; - challenge: AuthChallengeResult; - claimableHandles: ClaimableHandles; - claimableStatus: ClaimStatus; - defaultProfile?: Maybe; - doesFollow: Array; - enabledModuleCurrencies: Array; - enabledModules: EnabledModules; - exploreProfiles: ExploreProfileResult; - explorePublications: ExplorePublicationResult; - feed: PaginatedFeedResult; - feedHighlights: PaginatedTimelineResult; - followerNftOwnedTokenIds?: Maybe; - followers: PaginatedFollowersResult; - following: PaginatedFollowingResult; - generateModuleCurrencyApprovalData: GenerateModuleCurrencyApproval; - globalProtocolStats: GlobalProtocolStats; - hasTxHashBeenIndexed: TransactionResult; - internalPublicationFilter: PaginatedPublicationResult; - mutualFollowersProfiles: PaginatedProfileResult; - nftOwnershipChallenge: NftOwnershipChallengeResult; - nfts: NfTsResult; - notifications: PaginatedNotificationResult; - pendingApprovalFollows: PendingApproveFollowsResult; - ping: Scalars['String']; - profile?: Maybe; - profileFollowModuleBeenRedeemed: Scalars['Boolean']; - profileFollowRevenue: FollowRevenueResult; - /** Get the list of profile interests */ - profileInterests: Array; - profileOnChainIdentity: Array; - profilePublicationRevenue: ProfilePublicationRevenueResult; - profilePublicationsForSale: PaginatedProfilePublicationsForSaleResult; - profiles: PaginatedProfileResult; - proxyActionStatus: ProxyActionStatusResultUnion; - publication?: Maybe; - publicationMetadataStatus: PublicationMetadataStatus; - publicationRevenue?: Maybe; - publications: PaginatedPublicationResult; - recommendedProfiles: Array; - rel?: Maybe; - search: SearchResult; - /** @deprecated You should be using feed, this will not be supported after 15th November 2021, please migrate. */ - timeline: PaginatedTimelineResult; - txIdToTxHash: Scalars['TxHash']; - unknownEnabledModules: EnabledModules; - userSigNonces: UserSigNonces; - validatePublicationMetadata: PublicationValidateMetadataResult; - verify: Scalars['Boolean']; - whoCollectedPublication: PaginatedWhoCollectedResult; - whoReactedPublication: PaginatedWhoReactedResult; -} - - -export interface QueryAllPublicationsTagsArgs { - request: AllPublicationsTagsRequest; -} - - -export interface QueryApprovedModuleAllowanceAmountArgs { - request: ApprovedModuleAllowanceAmountRequest; -} - - -export interface QueryChallengeArgs { - request: ChallengeRequest; -} - - -export interface QueryDefaultProfileArgs { - request: DefaultProfileRequest; -} - - -export interface QueryDoesFollowArgs { - request: DoesFollowRequest; -} - - -export interface QueryExploreProfilesArgs { - request: ExploreProfilesRequest; -} - - -export interface QueryExplorePublicationsArgs { - request: ExplorePublicationRequest; -} - - -export interface QueryFeedArgs { - request: FeedRequest; -} - - -export interface QueryFeedHighlightsArgs { - request: FeedHighlightsRequest; -} - - -export interface QueryFollowerNftOwnedTokenIdsArgs { - request: FollowerNftOwnedTokenIdsRequest; -} - - -export interface QueryFollowersArgs { - request: FollowersRequest; -} - - -export interface QueryFollowingArgs { - request: FollowingRequest; -} - - -export interface QueryGenerateModuleCurrencyApprovalDataArgs { - request: GenerateModuleCurrencyApprovalDataRequest; -} - - -export interface QueryGlobalProtocolStatsArgs { - request?: InputMaybe; -} - - -export interface QueryHasTxHashBeenIndexedArgs { - request: HasTxHashBeenIndexedRequest; -} - - -export interface QueryInternalPublicationFilterArgs { - request: InternalPublicationsFilterRequest; -} - - -export interface QueryMutualFollowersProfilesArgs { - request: MutualFollowersProfilesQueryRequest; -} - - -export interface QueryNftOwnershipChallengeArgs { - request: NftOwnershipChallengeRequest; -} - - -export interface QueryNftsArgs { - request: NfTsRequest; -} - - -export interface QueryNotificationsArgs { - request: NotificationRequest; -} - - -export interface QueryPendingApprovalFollowsArgs { - request: PendingApprovalFollowsRequest; -} - - -export interface QueryProfileArgs { - request: SingleProfileQueryRequest; -} - - -export interface QueryProfileFollowModuleBeenRedeemedArgs { - request: ProfileFollowModuleBeenRedeemedRequest; -} - - -export interface QueryProfileFollowRevenueArgs { - request: ProfileFollowRevenueQueryRequest; -} - - -export interface QueryProfileOnChainIdentityArgs { - request: ProfileOnChainIdentityRequest; -} - - -export interface QueryProfilePublicationRevenueArgs { - request: ProfilePublicationRevenueQueryRequest; -} - - -export interface QueryProfilePublicationsForSaleArgs { - request: ProfilePublicationsForSaleRequest; -} - - -export interface QueryProfilesArgs { - request: ProfileQueryRequest; -} - - -export interface QueryProxyActionStatusArgs { - proxyActionId: Scalars['ProxyActionId']; -} - - -export interface QueryPublicationArgs { - request: PublicationQueryRequest; -} - - -export interface QueryPublicationMetadataStatusArgs { - request: GetPublicationMetadataStatusRequest; -} - - -export interface QueryPublicationRevenueArgs { - request: PublicationRevenueQueryRequest; -} - - -export interface QueryPublicationsArgs { - request: PublicationsQueryRequest; -} - - -export interface QueryRecommendedProfilesArgs { - options?: InputMaybe; -} - - -export interface QueryRelArgs { - request: RelRequest; -} - - -export interface QuerySearchArgs { - request: SearchQueryRequest; -} - - -export interface QueryTimelineArgs { - request: TimelineRequest; -} - - -export interface QueryTxIdToTxHashArgs { - txId: Scalars['TxId']; -} - - -export interface QueryValidatePublicationMetadataArgs { - request: ValidatePublicationMetadataRequest; -} - - -export interface QueryVerifyArgs { - request: VerifyRequest; -} - - -export interface QueryWhoCollectedPublicationArgs { - request: WhoCollectedPublicationRequest; -} - - -export interface QueryWhoReactedPublicationArgs { - request: WhoReactedPublicationRequest; -} - -export interface ReactionEvent { - __typename?: 'ReactionEvent'; - profile: Profile; - reaction: ReactionTypes; - timestamp: Scalars['DateTime']; -} - -export interface ReactionFieldResolverRequest { - /** Profile id */ - profileId?: InputMaybe; -} - -export interface ReactionRequest { - /** Profile id to perform the action */ - profileId: Scalars['ProfileId']; - /** The internal publication id */ - publicationId: Scalars['InternalPublicationId']; - /** The reaction */ - reaction: ReactionTypes; -} - -/** Reaction types */ -export type ReactionTypes = - | 'DOWNVOTE' - | 'UPVOTE'; - -export interface RecommendedProfileOptions { - /** If you wish to turn ML off */ - disableML?: InputMaybe; - /** If you wish to shuffle the results */ - shuffle?: InputMaybe; -} - -export type ReferenceModule = DegreesOfSeparationReferenceModuleSettings | FollowOnlyReferenceModuleSettings | UnknownReferenceModuleSettings; - -export interface ReferenceModuleParams { - /** The degrees of seperation reference module */ - degreesOfSeparationReferenceModule?: InputMaybe; - /** The follower only reference module */ - followerOnlyReferenceModule?: InputMaybe; - /** A unknown reference module */ - unknownReferenceModule?: InputMaybe; -} - -/** The reference module types */ -export type ReferenceModules = - | 'DegreesOfSeparationReferenceModule' - | 'FollowerOnlyReferenceModule' - | 'UnknownReferenceModule'; - -/** The refresh request */ -export interface RefreshRequest { - /** The refresh token */ - refreshToken: Scalars['Jwt']; -} - -export interface RelRequest { - ethereumAddress: Scalars['EthereumAddress']; - secret: Scalars['String']; -} - -export interface RelayError { - __typename?: 'RelayError'; - reason: RelayErrorReasons; -} - -/** Relay error reason */ -export type RelayErrorReasons = - | 'EXPIRED' - | 'HANDLE_TAKEN' - | 'NOT_ALLOWED' - | 'REJECTED' - | 'WRONG_WALLET_SIGNED'; - -export type RelayResult = RelayError | RelayerResult; - -/** The relayer result */ -export interface RelayerResult { - __typename?: 'RelayerResult'; - /** The tx hash - you should use the `txId` as your identifier as gas prices can be upgraded meaning txHash will change */ - txHash: Scalars['TxHash']; - /** The tx id */ - txId: Scalars['TxId']; -} - -/** The request object to remove interests from a profile */ -export interface RemoveProfileInterestsRequest { - /** The profile interest to add */ - interests: Array; - /** The profileId to add interests to */ - profileId: Scalars['ProfileId']; -} - -export interface ReportPublicationRequest { - additionalComments?: InputMaybe; - publicationId: Scalars['InternalPublicationId']; - reason: ReportingReasonInputParams; -} - -export interface ReportingReasonInputParams { - fraudReason?: InputMaybe; - illegalReason?: InputMaybe; - sensitiveReason?: InputMaybe; - spamReason?: InputMaybe; -} - -export interface ReservedClaimableHandle { - __typename?: 'ReservedClaimableHandle'; - expiry: Scalars['DateTime']; - handle: Scalars['Handle']; - id: Scalars['HandleClaimIdScalar']; - source: Scalars['String']; -} - -export interface RevenueAggregate { - __typename?: 'RevenueAggregate'; - total: Erc20Amount; -} - -export interface RevertCollectModuleSettings { - __typename?: 'RevertCollectModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface RevertFollowModuleSettings { - __typename?: 'RevertFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The follow module enum */ - type: FollowModules; -} - -/** The gated publication access criteria scalar operators */ -export type ScalarOperator = - | 'EQUAL' - | 'GREATER_THAN' - | 'GREATER_THAN_OR_EQUAL' - | 'LESS_THAN' - | 'LESS_THAN_OR_EQUAL' - | 'NOT_EQUAL'; - -export interface SearchQueryRequest { - cursor?: InputMaybe; - customFilters?: InputMaybe>; - limit?: InputMaybe; - /** The search term */ - query: Scalars['Search']; - /** The App Id */ - sources?: InputMaybe>; - type: SearchRequestTypes; -} - -/** Search request types */ -export type SearchRequestTypes = - | 'PROFILE' - | 'PUBLICATION'; - -export type SearchResult = ProfileSearchResult | PublicationSearchResult; - -export interface SensitiveReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingSensitiveSubreason; -} - -/** The broadcast item */ -export interface SetDefaultProfileBroadcastItemResult { - __typename?: 'SetDefaultProfileBroadcastItemResult'; - /** The date the broadcast item expiries */ - expiresAt: Scalars['DateTime']; - /** This broadcast item ID */ - id: Scalars['BroadcastId']; - /** The typed data */ - typedData: SetDefaultProfileEip712TypedData; -} - -/** The default profile eip 712 typed data */ -export interface SetDefaultProfileEip712TypedData { - __typename?: 'SetDefaultProfileEIP712TypedData'; - /** The typed data domain */ - domain: Eip712TypedDataDomain; - /** The types */ - types: SetDefaultProfileEip712TypedDataTypes; - /** The values */ - value: SetDefaultProfileEip712TypedDataValue; -} - -/** The default profile eip 712 typed data types */ -export interface SetDefaultProfileEip712TypedDataTypes { - __typename?: 'SetDefaultProfileEIP712TypedDataTypes'; - SetDefaultProfileWithSig: Array; -} - -/** The default profile eip 712 typed data value */ -export interface SetDefaultProfileEip712TypedDataValue { - __typename?: 'SetDefaultProfileEIP712TypedDataValue'; - deadline: Scalars['UnixTimestamp']; - nonce: Scalars['Nonce']; - profileId: Scalars['ProfileId']; - wallet: Scalars['EthereumAddress']; -} - -export interface SetDispatcherRequest { - /** - * The dispatcher address - they can post, comment, mirror, set follow module, - * change your profile picture on your behalf, if left as none it will use the - * built in dispatcher address. - */ - dispatcher?: InputMaybe; - /** If you want to enable or disable it */ - enable?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; -} - -/** The signed auth challenge */ -export interface SignedAuthChallenge { - /** The ethereum address you signed the signature with */ - address: Scalars['EthereumAddress']; - /** The signature */ - signature: Scalars['Signature']; -} - -export interface SingleProfileQueryRequest { - /** The handle for the profile */ - handle?: InputMaybe; - /** The profile id */ - profileId?: InputMaybe; -} - -export interface SpamReasonInputParams { - reason: PublicationReportingReason; - subreason: PublicationReportingSpamSubreason; -} - -export interface SybilDotOrgIdentity { - __typename?: 'SybilDotOrgIdentity'; - source: SybilDotOrgIdentitySource; - /** The sybil dot org status */ - verified: Scalars['Boolean']; -} - -export interface SybilDotOrgIdentitySource { - __typename?: 'SybilDotOrgIdentitySource'; - twitter: SybilDotOrgTwitterIdentity; -} - -export interface SybilDotOrgTwitterIdentity { - __typename?: 'SybilDotOrgTwitterIdentity'; - handle?: Maybe; -} - -/** The social comment */ -export interface TagResult { - __typename?: 'TagResult'; - /** The tag */ - tag: Scalars['PublicationTag']; - /** The total amount of publication tagged */ - total: Scalars['Int']; -} - -/** The publications tags sort criteria */ -export type TagSortCriteria = - | 'ALPHABETICAL' - | 'MOST_POPULAR'; - -export interface TimedFeeCollectModuleParams { - /** The collect module amount info */ - amount: ModuleFeeAmountParams; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; -} - -export interface TimedFeeCollectModuleSettings { - __typename?: 'TimedFeeCollectModuleSettings'; - /** The collect module amount info */ - amount: ModuleFeeAmount; - contractAddress: Scalars['ContractAddress']; - /** The collect module end timestamp */ - endTimestamp: Scalars['DateTime']; - /** Follower only */ - followerOnly: Scalars['Boolean']; - /** The collect module recipient address */ - recipient: Scalars['EthereumAddress']; - /** The collect module referral fee */ - referralFee: Scalars['Float']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface TimelineRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - metadata?: InputMaybe; - /** The profile id */ - profileId: Scalars['ProfileId']; - /** The App Id */ - sources?: InputMaybe>; - /** The timeline types you wish to include, if nothing passed in will bring back all */ - timelineTypes?: InputMaybe>; -} - -/** Timeline types */ -export type TimelineType = - | 'COLLECT_COMMENT' - | 'COLLECT_POST' - | 'COMMENT' - | 'MIRROR' - | 'POST'; - -export interface TransactionError { - __typename?: 'TransactionError'; - reason: TransactionErrorReasons; - txReceipt?: Maybe; -} - -/** Transaction error reason */ -export type TransactionErrorReasons = - | 'REVERTED'; - -export interface TransactionIndexedResult { - __typename?: 'TransactionIndexedResult'; - indexed: Scalars['Boolean']; - /** - * Publications can be indexed but the ipfs link for example not findable for x - * time. This allows you to work that out for publications. If its not a - * publication tx then it always be null. - */ - metadataStatus?: Maybe; - txHash: Scalars['TxHash']; - txReceipt?: Maybe; -} - -export interface TransactionReceipt { - __typename?: 'TransactionReceipt'; - blockHash: Scalars['String']; - blockNumber: Scalars['Int']; - byzantium: Scalars['Boolean']; - confirmations: Scalars['Int']; - contractAddress?: Maybe; - cumulativeGasUsed: Scalars['String']; - effectiveGasPrice: Scalars['String']; - from: Scalars['EthereumAddress']; - gasUsed: Scalars['String']; - logs: Array; - logsBloom: Scalars['String']; - root?: Maybe; - status?: Maybe; - to?: Maybe; - transactionHash: Scalars['TxHash']; - transactionIndex: Scalars['Int']; - type: Scalars['Int']; -} - -export type TransactionResult = TransactionError | TransactionIndexedResult; - -export interface TypedDataOptions { - /** If you wish to override the nonce for the sig if you want to do some clever stuff in the client */ - overrideSigNonce: Scalars['Nonce']; -} - -export interface UnfollowRequest { - profile: Scalars['ProfileId']; -} - -export interface UnknownCollectModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownCollectModuleSettings { - __typename?: 'UnknownCollectModuleSettings'; - /** The data used to setup the module which you can decode with your known ABI */ - collectModuleReturnData: Scalars['CollectModuleData']; - contractAddress: Scalars['ContractAddress']; - /** The collect modules enum */ - type: CollectModules; -} - -export interface UnknownFollowModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownFollowModuleRedeemParams { - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownFollowModuleSettings { - __typename?: 'UnknownFollowModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The data used to setup the module which you can decode with your known ABI */ - followModuleReturnData: Scalars['FollowModuleData']; - /** The follow modules enum */ - type: FollowModules; -} - -export interface UnknownReferenceModuleParams { - contractAddress: Scalars['ContractAddress']; - /** The encoded data to submit with the module */ - data: Scalars['BlockchainData']; -} - -export interface UnknownReferenceModuleSettings { - __typename?: 'UnknownReferenceModuleSettings'; - contractAddress: Scalars['ContractAddress']; - /** The data used to setup the module which you can decode with your known ABI */ - referenceModuleReturnData: Scalars['ReferenceModuleData']; - /** The reference modules enum */ - type: ReferenceModules; -} - -export interface UpdateProfileImageRequest { - /** The nft data */ - nftData?: InputMaybe; - profileId: Scalars['ProfileId']; - /** The url to the image if offline */ - url?: InputMaybe; -} - -export interface UserSigNonces { - __typename?: 'UserSigNonces'; - lensHubOnChainSigNonce: Scalars['Nonce']; - peripheryOnChainSigNonce: Scalars['Nonce']; -} - -export interface ValidatePublicationMetadataRequest { - metadatav1?: InputMaybe; - metadatav2?: InputMaybe; -} - -/** The access request */ -export interface VerifyRequest { - /** The access token */ - accessToken: Scalars['Jwt']; -} - -export interface Wallet { - __typename?: 'Wallet'; - address: Scalars['EthereumAddress']; - /** - * The default profile for the wallet for now it is just their first profile, - * this will be the default profile they picked soon enough - */ - defaultProfile?: Maybe; -} - -export interface WhoCollectedPublicationRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** Internal publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -export interface WhoReactedPublicationRequest { - cursor?: InputMaybe; - limit?: InputMaybe; - /** Internal publication id */ - publicationId: Scalars['InternalPublicationId']; -} - -/** The Profile */ -export interface WhoReactedResult { - __typename?: 'WhoReactedResult'; - profile: Profile; - /** The reaction */ - reaction: ReactionTypes; - /** The reaction */ - reactionAt: Scalars['DateTime']; - /** The reaction id */ - reactionId: Scalars['ReactionId']; -} - -export interface WorldcoinIdentity { - __typename?: 'WorldcoinIdentity'; - /** If the profile has verified as a user */ - isHuman: Scalars['Boolean']; -} diff --git a/libs/profile-data/src/subgraph/schema-lens.graphql b/libs/profile-data/src/subgraph/schema-lens.graphql deleted file mode 100644 index 60e862c3..00000000 --- a/libs/profile-data/src/subgraph/schema-lens.graphql +++ /dev/null @@ -1,3706 +0,0 @@ -"""Exposes a URL that specifies the behaviour of this scalar.""" -directive @specifiedBy( - """The URL that specifies the behaviour of this scalar.""" - url: String! -) on SCALAR - -"""The access conditions for the publication""" -input AccessConditionInput { - """NFT ownership condition""" - nft: NftOwnershipInput - - """ERC20 token ownership condition""" - token: Erc20OwnershipInput - - """EOA ownership condition""" - eoa: EoaOwnershipInput - - """Profile ownership condition""" - profile: ProfileOwnershipInput - - """Profile follow condition""" - follow: FollowConditionInput - - """Profile follow condition""" - collect: CollectConditionInput - - """AND condition""" - and: AndConditionInput - - """OR condition""" - or: OrConditionInput -} - -"""The access conditions for the publication""" -type AccessConditionOutput { - """NFT ownership condition""" - nft: NftOwnershipOutput - - """ERC20 token ownership condition""" - token: Erc20OwnershipOutput - - """EOA ownership condition""" - eoa: EoaOwnershipOutput - - """Profile ownership condition""" - profile: ProfileOwnershipOutput - - """Profile follow condition""" - follow: FollowConditionOutput - - """Profile follow condition""" - collect: CollectConditionOutput - - """AND condition""" - and: AndConditionOutput - - """OR condition""" - or: OrConditionOutput -} - -input AchRequest { - secret: String! - ethereumAddress: EthereumAddress! - handle: CreateHandle - freeTextHandle: Boolean - overrideTradeMark: Boolean! - overrideAlreadyClaimed: Boolean! -} - -"""The request object to add interests to a profile""" -input AddProfileInterestsRequest { - """The profile interest to add""" - interests: [ProfileInterest!]! - - """The profileId to add interests to""" - profileId: ProfileId! -} - -input AllPublicationsTagsRequest { - limit: LimitScalar - cursor: Cursor - sort: TagSortCriteria! - - """The App Id""" - source: Sources -} - -input AndConditionInput { - """ - The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionInput!]! -} - -type AndConditionOutput { - """ - The list of conditions to apply AND to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionOutput!]! -} - -type ApprovedAllowanceAmount { - currency: ContractAddress! - module: String! - contractAddress: ContractAddress! - allowance: String! -} - -input ApprovedModuleAllowanceAmountRequest { - """ - The contract addresses for the module approved currencies you want to find information on about the user - """ - currencies: [ContractAddress!]! - collectModules: [CollectModules!] = [] - unknownCollectModules: [ContractAddress!] = [] - followModules: [FollowModules!] = [] - unknownFollowModules: [ContractAddress!] = [] - referenceModules: [ReferenceModules!] = [] - unknownReferenceModules: [ContractAddress!] = [] -} - -"""The Profile""" -type Attribute { - """The display type""" - displayType: String - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String - - """identifier of this attribute, we will update by this id """ - key: String! - - """Value attribute""" - value: String! -} - -"""The auth challenge result""" -type AuthChallengeResult { - """The text to sign""" - text: String! -} - -"""The authentication result""" -type AuthenticationResult { - """The access token""" - accessToken: Jwt! - - """The refresh token""" - refreshToken: Jwt! -} - -"""Blockchain data scalar type""" -scalar BlockchainData - -"""Broadcast scalar id type""" -scalar BroadcastId - -input BroadcastRequest { - id: BroadcastId! - signature: Signature! -} - -input BurnProfileRequest { - profileId: ProfileId! -} - -type CanCommentResponse { - result: Boolean! -} - -type CanDecryptResponse { - result: Boolean! - reasons: DecryptFailReason -} - -type CanMirrorResponse { - result: Boolean! -} - -"""ChainId custom scalar type""" -scalar ChainId - -"""The challenge request""" -input ChallengeRequest { - """The ethereum address you want to login with""" - address: EthereumAddress! -} - -type ClaimableHandles { - reservedHandles: [ReservedClaimableHandle!]! - canClaimFreeTextHandle: Boolean! -} - -input ClaimHandleRequest { - id: HandleClaimIdScalar - freeTextHandle: CreateHandle - - """The follow module""" - followModule: FollowModuleParams -} - -"""The claim status""" -enum ClaimStatus { - ALREADY_CLAIMED - CLAIM_FAILED - NOT_CLAIMED -} - -""" -Condition that signifies if address or profile has collected a publication -""" -input CollectConditionInput { - """The publication id that has to be collected to unlock content""" - publicationId: ProfileId - - """True if the content will be unlocked for this specific publication""" - thisPublication: Boolean -} - -""" -Condition that signifies if address or profile has collected a publication -""" -type CollectConditionOutput { - """The publication id that has to be collected to unlock content""" - publicationId: ProfileId - - """True if the content will be unlocked for this specific publication""" - thisPublication: Boolean -} - -type CollectedEvent { - profile: Profile! - timestamp: DateTime! -} - -union CollectModule = FreeCollectModuleSettings | FeeCollectModuleSettings | LimitedFeeCollectModuleSettings | LimitedTimedFeeCollectModuleSettings | RevertCollectModuleSettings | TimedFeeCollectModuleSettings | UnknownCollectModuleSettings - -"""collect module data scalar type""" -scalar CollectModuleData - -input CollectModuleParams { - """The collect empty collect module""" - freeCollectModule: FreeCollectModuleParams - - """The collect revert collect module""" - revertCollectModule: Boolean - - """The collect fee collect module""" - feeCollectModule: FeeCollectModuleParams - - """The collect limited fee collect module""" - limitedFeeCollectModule: LimitedFeeCollectModuleParams - - """The collect limited timed fee collect module""" - limitedTimedFeeCollectModule: LimitedTimedFeeCollectModuleParams - - """The collect timed fee collect module""" - timedFeeCollectModule: TimedFeeCollectModuleParams - - """A unknown collect module""" - unknownCollectModule: UnknownCollectModuleParams -} - -"""The collect module types""" -enum CollectModules { - LimitedFeeCollectModule - FeeCollectModule - LimitedTimedFeeCollectModule - TimedFeeCollectModule - RevertCollectModule - FreeCollectModule - UnknownCollectModule -} - -input CollectProxyAction { - freeCollect: FreeCollectProxyAction -} - -"""The social comment""" -type Comment { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """The top level post/mirror this comment lives on""" - mainPost: MainPostReference! - - """ - Which comment this points to if its null the pointer too deep so do another query to find it out - """ - commentOn: Publication - - """ - This will bring back the first comment of a comment and only be defined if using `publication` query and `commentOf` - """ - firstComment: Comment - - """ - Who collected it, this is used for timeline results and like this for better caching for the client - """ - collectedBy: Wallet - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! - mirrors(by: ProfileId): [InternalPublicationId!]! -} - -"""ContentEncryptionKey scalar type""" -scalar ContentEncryptionKey - -"""Contract address custom scalar type""" -scalar ContractAddress - -"""The gated publication access criteria contract types""" -enum ContractType { - ERC721 - ERC1155 - ERC20 -} - -"""The create burn eip 712 typed data""" -type CreateBurnEIP712TypedData { - """The types""" - types: CreateBurnEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateBurnEIP712TypedDataValue! -} - -"""The create burn eip 712 typed data types""" -type CreateBurnEIP712TypedDataTypes { - BurnWithSig: [EIP712TypedDataField!]! -} - -"""The create burn eip 712 typed data value""" -type CreateBurnEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - tokenId: String! -} - -"""The broadcast item""" -type CreateBurnProfileBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateBurnEIP712TypedData! -} - -"""The broadcast item""" -type CreateCollectBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateCollectEIP712TypedData! -} - -"""The collect eip 712 typed data""" -type CreateCollectEIP712TypedData { - """The types""" - types: CreateCollectEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateCollectEIP712TypedDataValue! -} - -"""The collect eip 712 typed data types""" -type CreateCollectEIP712TypedDataTypes { - CollectWithSig: [EIP712TypedDataField!]! -} - -"""The collect eip 712 typed data value""" -type CreateCollectEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - pubId: PublicationId! - data: BlockchainData! -} - -input CreateCollectRequest { - publicationId: InternalPublicationId! - - """The encoded data to collect with if using an unknown module""" - unknownModuleData: BlockchainData -} - -"""The broadcast item""" -type CreateCommentBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateCommentEIP712TypedData! -} - -"""The create comment eip 712 typed data""" -type CreateCommentEIP712TypedData { - """The types""" - types: CreateCommentEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateCommentEIP712TypedDataValue! -} - -"""The create comment eip 712 typed data types""" -type CreateCommentEIP712TypedDataTypes { - CommentWithSig: [EIP712TypedDataField!]! -} - -"""The create comment eip 712 typed data value""" -type CreateCommentEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - contentURI: PublicationUrl! - profileIdPointed: ProfileId! - pubIdPointed: PublicationId! - collectModule: ContractAddress! - collectModuleInitData: CollectModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! - referenceModuleData: ReferenceModuleData! -} - -"""The broadcast item""" -type CreateFollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateFollowEIP712TypedData! -} - -"""The create follow eip 712 typed data""" -type CreateFollowEIP712TypedData { - """The types""" - types: CreateFollowEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateFollowEIP712TypedDataValue! -} - -"""The create follow eip 712 typed data types""" -type CreateFollowEIP712TypedDataTypes { - FollowWithSig: [EIP712TypedDataField!]! -} - -"""The create follow eip 712 typed data value""" -type CreateFollowEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileIds: [ProfileId!]! - datas: [BlockchainData!]! -} - -"""create handle custom scalar type""" -scalar CreateHandle - -"""The broadcast item""" -type CreateMirrorBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateMirrorEIP712TypedData! -} - -"""The mirror eip 712 typed data""" -type CreateMirrorEIP712TypedData { - """The types""" - types: CreateMirrorEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateMirrorEIP712TypedDataValue! -} - -"""The mirror eip 712 typed data types""" -type CreateMirrorEIP712TypedDataTypes { - MirrorWithSig: [EIP712TypedDataField!]! -} - -"""The mirror eip 712 typed data value""" -type CreateMirrorEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - profileIdPointed: ProfileId! - pubIdPointed: PublicationId! - referenceModuleData: ReferenceModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! -} - -input CreateMirrorRequest { - """Profile id""" - profileId: ProfileId! - - """ - Publication id of what you want to mirror on remember if this is a comment it will be that as the id - """ - publicationId: InternalPublicationId! - - """The reference module info""" - referenceModule: ReferenceModuleParams -} - -"""The broadcast item""" -type CreatePostBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreatePostEIP712TypedData! -} - -"""The create post eip 712 typed data""" -type CreatePostEIP712TypedData { - """The types""" - types: CreatePostEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreatePostEIP712TypedDataValue! -} - -"""The create post eip 712 typed data types""" -type CreatePostEIP712TypedDataTypes { - PostWithSig: [EIP712TypedDataField!]! -} - -"""The create post eip 712 typed data value""" -type CreatePostEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - contentURI: PublicationUrl! - collectModule: ContractAddress! - collectModuleInitData: CollectModuleData! - referenceModule: ContractAddress! - referenceModuleInitData: ReferenceModuleData! -} - -input CreatePublicCommentRequest { - """Profile id""" - profileId: ProfileId! - - """ - Publication id of what your comments on remember if this is a comment you commented on it will be that as the id - """ - publicationId: InternalPublicationId! - - """The metadata uploaded somewhere passing in the url to reach it""" - contentURI: Url! - - """The collect module""" - collectModule: CollectModuleParams! - - """The reference module""" - referenceModule: ReferenceModuleParams - - """The criteria to access the publication data""" - gated: GatedPublicationParamsInput -} - -input CreatePublicPostRequest { - """Profile id""" - profileId: ProfileId! - - """The metadata uploaded somewhere passing in the url to reach it""" - contentURI: Url! - - """The collect module""" - collectModule: CollectModuleParams! - - """The reference module""" - referenceModule: ReferenceModuleParams - - """The criteria to access the publication data""" - gated: GatedPublicationParamsInput -} - -input CreatePublicSetProfileMetadataURIRequest { - """Profile id""" - profileId: ProfileId! - - """The metadata uploaded somewhere passing in the url to reach it""" - metadata: Url! -} - -input CreateSetDefaultProfileRequest { - """Profile id""" - profileId: ProfileId! -} - -"""The broadcast item""" -type CreateSetDispatcherBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetDispatcherEIP712TypedData! -} - -"""The set dispatcher eip 712 typed data""" -type CreateSetDispatcherEIP712TypedData { - """The types""" - types: CreateSetDispatcherEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetDispatcherEIP712TypedDataValue! -} - -"""The set dispatcher eip 712 typed data types""" -type CreateSetDispatcherEIP712TypedDataTypes { - SetDispatcherWithSig: [EIP712TypedDataField!]! -} - -"""The set dispatcher eip 712 typed data value""" -type CreateSetDispatcherEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - dispatcher: EthereumAddress! -} - -"""The broadcast item""" -type CreateSetFollowModuleBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetFollowModuleEIP712TypedData! -} - -"""The set follow module eip 712 typed data""" -type CreateSetFollowModuleEIP712TypedData { - """The types""" - types: CreateSetFollowModuleEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetFollowModuleEIP712TypedDataValue! -} - -"""The set follow module eip 712 typed data types""" -type CreateSetFollowModuleEIP712TypedDataTypes { - SetFollowModuleWithSig: [EIP712TypedDataField!]! -} - -"""The set follow module eip 712 typed data value""" -type CreateSetFollowModuleEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - followModule: ContractAddress! - followModuleInitData: FollowModuleData! -} - -input CreateSetFollowModuleRequest { - profileId: ProfileId! - - """The follow module info""" - followModule: FollowModuleParams! -} - -"""The broadcast item""" -type CreateSetFollowNFTUriBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetFollowNFTUriEIP712TypedData! -} - -"""The set follow nft uri eip 712 typed data""" -type CreateSetFollowNFTUriEIP712TypedData { - """The types""" - types: CreateSetFollowNFTUriEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetFollowNFTUriEIP712TypedDataValue! -} - -"""The set follow nft uri eip 712 typed data types""" -type CreateSetFollowNFTUriEIP712TypedDataTypes { - SetFollowNFTURIWithSig: [EIP712TypedDataField!]! -} - -"""The set follow nft uri eip 712 typed data value""" -type CreateSetFollowNFTUriEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - followNFTURI: Url! -} - -input CreateSetFollowNFTUriRequest { - profileId: ProfileId! - - """ - The follow NFT URI is the NFT metadata your followers will mint when they - follow you. This can be updated at all times. If you do not pass in anything - it will create a super cool changing NFT which will show the last publication - of your profile as the NFT which looks awesome! This means people do not have - to worry about writing this logic but still have the ability to customise it - for their followers - """ - followNFTURI: Url -} - -"""The broadcast item""" -type CreateSetProfileImageUriBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetProfileImageUriEIP712TypedData! -} - -"""The set profile uri eip 712 typed data""" -type CreateSetProfileImageUriEIP712TypedData { - """The types""" - types: CreateSetProfileImageUriEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetProfileImageUriEIP712TypedDataValue! -} - -"""The set profile image uri eip 712 typed data types""" -type CreateSetProfileImageUriEIP712TypedDataTypes { - SetProfileImageURIWithSig: [EIP712TypedDataField!]! -} - -"""The set profile uri eip 712 typed data value""" -type CreateSetProfileImageUriEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - imageURI: Url! -} - -"""The broadcast item""" -type CreateSetProfileMetadataURIBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateSetProfileMetadataURIEIP712TypedData! -} - -"""The set follow nft uri eip 712 typed data""" -type CreateSetProfileMetadataURIEIP712TypedData { - """The types""" - types: CreateSetProfileMetadataURIEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateSetProfileMetadataURIEIP712TypedDataValue! -} - -"""The set follow nft uri eip 712 typed data types""" -type CreateSetProfileMetadataURIEIP712TypedDataTypes { - SetProfileMetadataURIWithSig: [EIP712TypedDataField!]! -} - -"""The set follow nft uri eip 712 typed data value""" -type CreateSetProfileMetadataURIEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileId: ProfileId! - metadata: Url! -} - -"""The broadcast item""" -type CreateToggleFollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateToggleFollowEIP712TypedData! -} - -"""The create toggle follows eip 712 typed data""" -type CreateToggleFollowEIP712TypedData { - """The types""" - types: CreateToggleFollowEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: CreateToggleFollowEIP712TypedDataValue! -} - -"""The create toggle follows eip 712 typed data types""" -type CreateToggleFollowEIP712TypedDataTypes { - ToggleFollowWithSig: [EIP712TypedDataField!]! -} - -"""The create toggle follow eip 712 typed data value""" -type CreateToggleFollowEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - profileIds: [ProfileId!]! - enables: [Boolean!]! -} - -input CreateToggleFollowRequest { - profileIds: [ProfileId!]! - enables: [Boolean!]! -} - -"""The broadcast item""" -type CreateUnfollowBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: CreateBurnEIP712TypedData! -} - -"""Cursor custom scalar type""" -scalar Cursor - -"""The custom filters types""" -enum CustomFiltersTypes { - GARDENERS -} - -""" -The javascript `Date` as string. Type represents date and time as the ISO Date string. -""" -scalar DateTime - -"""The reason why a profile cannot decrypt a publication""" -enum DecryptFailReason { - UNAUTHORIZED_ADDRESS - DOES_NOT_OWN_NFT - DOES_NOT_OWN_PROFILE - DOES_NOT_FOLLOW_PROFILE - HAS_NOT_COLLECTED_PUBLICATION - UNAUTHORIZED_BALANCE - PROFILE_DOES_NOT_EXIST - MISSING_ENCRYPTION_PARAMS - FOLLOW_NOT_FINALISED_ON_CHAIN - COLLECT_NOT_FINALISED_ON_CHAIN -} - -input DefaultProfileRequest { - ethereumAddress: EthereumAddress! -} - -input DegreesOfSeparationReferenceModuleParams { - """Applied to comments""" - commentsRestricted: Boolean! - - """Applied to mirrors""" - mirrorsRestricted: Boolean! - - """Degrees of separation""" - degreesOfSeparation: Int! -} - -type DegreesOfSeparationReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! - - """Applied to comments""" - commentsRestricted: Boolean! - - """Applied to mirrors""" - mirrorsRestricted: Boolean! - - """Degrees of separation""" - degreesOfSeparation: Int! -} - -"""The dispatcher""" -type Dispatcher { - """The dispatcher address""" - address: EthereumAddress! - - """If the dispatcher can use the relay""" - canUseRelay: Boolean! -} - -input DoesFollow { - """The follower address remember wallets follow profiles""" - followerAddress: EthereumAddress! - - """The profile id""" - profileId: ProfileId! -} - -input DoesFollowRequest { - """The follower infos""" - followInfos: [DoesFollow!]! -} - -"""The does follow response""" -type DoesFollowResponse { - """The follower address remember wallets follow profiles""" - followerAddress: EthereumAddress! - - """The profile id""" - profileId: ProfileId! - - """If the user does follow""" - follows: Boolean! - - """Is finalised on-chain""" - isFinalisedOnChain: Boolean! -} - -"""The eip 712 typed data domain""" -type EIP712TypedDataDomain { - """The name of the typed data domain""" - name: String! - - """The chainId""" - chainId: ChainId! - - """The version""" - version: String! - - """The verifying contract""" - verifyingContract: ContractAddress! -} - -"""The eip 712 typed data field""" -type EIP712TypedDataField { - """The name of the typed data field""" - name: String! - - """The type of the typed data field""" - type: String! -} - -type ElectedMirror { - mirrorId: InternalPublicationId! - profile: Profile! - timestamp: DateTime! -} - -type EnabledModule { - moduleName: String! - contractAddress: ContractAddress! - inputParams: [ModuleInfo!]! - redeemParams: [ModuleInfo!]! - returnDataParms: [ModuleInfo!]! -} - -"""The enabled modules""" -type EnabledModules { - collectModules: [EnabledModule!]! - followModules: [EnabledModule!]! - referenceModules: [EnabledModule!]! -} - -"""The encrypted fields""" -type EncryptedFieldsOutput { - """The encrypted content field""" - content: EncryptedValueScalar - - """The encrypted image field""" - image: EncryptedValueScalar - - """The encrypted media field""" - media: [EncryptedMediaSet!] - - """The encrypted animation_url field""" - animation_url: EncryptedValueScalar - - """The encrypted external_url field""" - external_url: EncryptedValueScalar -} - -"""The Encrypted Media url and metadata""" -type EncryptedMedia { - """The encrypted value for the URL""" - url: Url! - - """Width - will always be null on the public API""" - width: Int - - """Height - will always be null on the public API""" - height: Int - - """Size - will always be null on the public API""" - size: Int - - """The image/audio/video mime type for the publication""" - mimeType: MimeType - - """The encrypted alt tags for accessibility""" - altTag: EncryptedValueScalar - - """The encrypted cover for any video or audio you attached""" - cover: EncryptedValueScalar -} - -"""The encrypted media set""" -type EncryptedMediaSet { - """Original media""" - original: EncryptedMedia! - - """Small media - will always be null on the public API""" - small: EncryptedMedia @deprecated(reason: "should not be used will always be null") - - """Medium media - will always be null on the public API""" - medium: EncryptedMedia @deprecated(reason: "should not be used will always be null") -} - -"""EncryptedValue custom scalar type""" -scalar EncryptedValueScalar - -"""The metadata encryption params""" -type EncryptionParamsOutput { - """The provider-specific encryption params""" - providerSpecificParams: ProviderSpecificParamsOutput! - - """The encryption provider""" - encryptionProvider: EncryptionProvider! - - """The access conditions""" - accessCondition: AccessConditionOutput! - - """The encrypted fields""" - encryptedFields: EncryptedFieldsOutput! -} - -"""The gated publication encryption provider""" -enum EncryptionProvider { - LIT_PROTOCOL -} - -"""Ens custom scalar type""" -scalar Ens - -type EnsOnChainIdentity { - """The default ens mapped to this address""" - name: Ens -} - -input EoaOwnershipInput { - """The address that will have access to the content""" - address: EthereumAddress! -} - -type EoaOwnershipOutput { - """The address that will have access to the content""" - address: EthereumAddress! -} - -"""The erc20 type""" -type Erc20 { - """Name of the symbol""" - name: String! - - """Symbol for the token""" - symbol: String! - - """Decimal places for the token""" - decimals: Int! - - """The erc20 address""" - address: ContractAddress! -} - -type Erc20Amount { - """The erc20 token info""" - asset: Erc20! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -input Erc20OwnershipInput { - """The ERC20 token's ethereum address""" - contractAddress: ContractAddress! - - """The amount of tokens required to access the content""" - chainID: ChainId! - - """The amount of tokens required to access the content""" - amount: String! - - """The amount of decimals of the ERC20 contract""" - decimals: Float! - - """The operator to use when comparing the amount of tokens""" - condition: ScalarOperator! -} - -type Erc20OwnershipOutput { - """The ERC20 token's ethereum address""" - contractAddress: ContractAddress! - - """The amount of tokens required to access the content""" - chainID: ChainId! - - """The amount of tokens required to access the content""" - amount: String! - - """The amount of decimals of the ERC20 contract""" - decimals: Float! - - """The operator to use when comparing the amount of tokens""" - condition: ScalarOperator! -} - -"""Ethereum address custom scalar type""" -scalar EthereumAddress - -"""The paginated publication result""" -type ExploreProfileResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -input ExploreProfilesRequest { - limit: LimitScalar - cursor: Cursor - timestamp: TimestampScalar - sortCriteria: ProfileSortCriteria! - customFilters: [CustomFiltersTypes!] = [] -} - -input ExplorePublicationRequest { - limit: LimitScalar - cursor: Cursor - timestamp: TimestampScalar - sortCriteria: PublicationSortCriteria! - - """The App Id""" - sources: [Sources!] = [] - - """The publication types you want to query""" - publicationTypes: [PublicationTypes!] - - """If you want the randomizer off (default on)""" - noRandomize: Boolean - - """If you wish to exclude any results for profile ids""" - excludeProfileIds: [ProfileId!] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The paginated publication result""" -type ExplorePublicationResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -input FeeCollectModuleParams { - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type FeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -"""The feed event item filter types""" -enum FeedEventItemType { - POST - COMMENT - MIRROR - COLLECT_POST - COLLECT_COMMENT - REACTION_POST - REACTION_COMMENT -} - -input FeedHighlightsRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -type FeedItem { - root: FeedItemRoot! - - """ - The elected mirror will be the first Mirror publication within the page results set - """ - electedMirror: ElectedMirror - - """Sorted by most recent first. Up to page size - 1 mirrors""" - mirrors: [MirrorEvent!]! - - """ - Sorted by most recent first. Resolves defaultProfile and if null omits the wallet collect event from the list. - """ - collects: [CollectedEvent!]! - - """Sorted by most recent first. Up to page size - 1 reactions""" - reactions: [ReactionEvent!]! - - """Sorted by most recent first. Up to page size - 1 comments.""" - comments: [Comment!] -} - -union FeedItemRoot = Post | Comment - -input FeedRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """Filter your feed to whatever you wish""" - feedEventItemTypes: [FeedEventItemType!] = [POST, COMMENT, MIRROR, COLLECT_POST, COLLECT_COMMENT, REACTION_POST, REACTION_COMMENT] - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -input FeeFollowModuleParams { - """The follow module amount info""" - amount: ModuleFeeAmountParams! - - """The follow module recipient address""" - recipient: EthereumAddress! -} - -input FeeFollowModuleRedeemParams { - """The expected amount to pay""" - amount: ModuleFeeAmountParams! -} - -type FeeFollowModuleSettings { - """The follow modules enum""" - type: FollowModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! -} - -input Follow { - profile: ProfileId! - followModule: FollowModuleRedeemParams -} - -input FollowConditionInput { - """The profile id of the gated profile""" - profileId: ProfileId! -} - -type FollowConditionOutput { - """The profile id of the gated profile""" - profileId: ProfileId! -} - -type Follower { - wallet: Wallet! - totalAmountOfTimesFollowed: Int! -} - -type FollowerNftOwnedTokenIds { - followerNftAddress: ContractAddress! - tokensIds: [String!]! -} - -input FollowerNftOwnedTokenIdsRequest { - address: EthereumAddress! - profileId: ProfileId! -} - -input FollowersRequest { - limit: LimitScalar - cursor: Cursor - profileId: ProfileId! -} - -type Following { - profile: Profile! - totalAmountOfTimesFollowing: Int! -} - -input FollowingRequest { - limit: LimitScalar - cursor: Cursor - address: EthereumAddress! -} - -union FollowModule = FeeFollowModuleSettings | ProfileFollowModuleSettings | RevertFollowModuleSettings | UnknownFollowModuleSettings - -"""follow module data scalar type""" -scalar FollowModuleData - -input FollowModuleParams { - """The follower fee follower module""" - feeFollowModule: FeeFollowModuleParams - - """The profile follow module""" - profileFollowModule: Boolean - - """The revert follow module""" - revertFollowModule: Boolean - - """The empty follow module""" - freeFollowModule: Boolean - - """A unknown follow module""" - unknownFollowModule: UnknownFollowModuleParams -} - -input FollowModuleRedeemParams { - """The follower fee follower module""" - feeFollowModule: FeeFollowModuleRedeemParams - - """The profile follower module""" - profileFollowModule: ProfileFollowModuleRedeemParams - - """A unknown follow module""" - unknownFollowModule: UnknownFollowModuleRedeemParams -} - -"""The follow module types""" -enum FollowModules { - FeeFollowModule - RevertFollowModule - ProfileFollowModule - UnknownFollowModule -} - -type FollowOnlyReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! -} - -input FollowProxyAction { - freeFollow: FreeFollowProxyAction -} - -input FollowRequest { - follow: [Follow!]! -} - -type FollowRevenueResult { - revenues: [RevenueAggregate!]! -} - -input FraudReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingFraudSubreason! -} - -input FreeCollectModuleParams { - """Follower only""" - followerOnly: Boolean! -} - -type FreeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """Follower only""" - followerOnly: Boolean! -} - -input FreeCollectProxyAction { - publicationId: InternalPublicationId! -} - -input FreeFollowProxyAction { - profileId: ProfileId! -} - -"""The access conditions for the publication""" -input GatedPublicationParamsInput { - """NFT ownership condition""" - nft: NftOwnershipInput - - """ERC20 token ownership condition""" - token: Erc20OwnershipInput - - """EOA ownership condition""" - eoa: EoaOwnershipInput - - """Profile ownership condition""" - profile: ProfileOwnershipInput - - """Profile follow condition""" - follow: FollowConditionInput - - """Profile follow condition""" - collect: CollectConditionInput - - """AND condition""" - and: AndConditionInput - - """OR condition""" - or: OrConditionInput - - """The LIT Protocol encrypted symmetric key""" - encryptedSymmetricKey: ContentEncryptionKey! -} - -type GenerateModuleCurrencyApproval { - to: ContractAddress! - from: EthereumAddress! - data: BlockchainData! -} - -input GenerateModuleCurrencyApprovalDataRequest { - currency: ContractAddress! - - """ - Floating point number as string (e.g. 42.009837). The server will move its decimal places for you - """ - value: String! - collectModule: CollectModules - unknownCollectModule: ContractAddress - followModule: FollowModules - unknownFollowModule: ContractAddress - referenceModule: ReferenceModules - unknownReferenceModule: ContractAddress -} - -input GetPublicationMetadataStatusRequest { - publicationId: InternalPublicationId - txHash: TxHash - txId: TxId -} - -type GlobalProtocolStats { - totalProfiles: Int! - totalBurntProfiles: Int! - totalPosts: Int! - totalMirrors: Int! - totalComments: Int! - totalCollects: Int! - totalFollows: Int! - totalRevenue: [Erc20Amount!]! -} - -input GlobalProtocolStatsRequest { - """Unix time from timestamp - if not supplied it will go from 0 timestamp""" - fromTimestamp: UnixTimestamp - - """ - Unix time to timestamp - if not supplied it go to the present timestamp - """ - toTimestamp: UnixTimestamp - - """The App Id""" - sources: [Sources!] -} - -"""handle custom scalar type""" -scalar Handle - -"""handle claim id custom scalar type""" -scalar HandleClaimIdScalar - -input HasTxHashBeenIndexedRequest { - """ - Tx hash.. if your using the broadcaster you should use txId due to gas price upgrades - """ - txHash: TxHash - - """Tx id.. if your using the broadcaster you should always use this field""" - txId: TxId -} - -input HidePublicationRequest { - """Publication id""" - publicationId: InternalPublicationId! -} - -"""IfpsCid scalar type""" -scalar IfpsCid - -input IllegalReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingIllegalSubreason! -} - -"""Internal publication id custom scalar type""" -scalar InternalPublicationId - -input InternalPublicationsFilterRequest { - limit: LimitScalar - cursor: Cursor - - """must be DD/MM/YYYY""" - fromDate: String! - - """must be DD/MM/YYYY""" - toDate: String! - - """The App Id""" - source: Sources! - - """The shared secret""" - secret: String! -} - -"""jwt custom scalar type""" -scalar Jwt - -input LimitedFeeCollectModuleParams { - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type LimitedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -input LimitedTimedFeeCollectModuleParams { - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type LimitedTimedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module limit""" - collectLimit: String! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! - - """The collect module end timestamp""" - endTimestamp: DateTime! -} - -"""limit custom scalar type""" -scalar LimitScalar - -"""Locale scalar type""" -scalar Locale - -type Log { - blockNumber: Int! - blockHash: String! - transactionIndex: Int! - removed: Boolean! - address: ContractAddress! - data: String! - topics: [String!]! - transactionHash: TxHash! - logIndex: Int! -} - -union MainPostReference = Post | Mirror - -"""Markdown scalar type""" -scalar Markdown - -"""The Media url""" -type Media { - """The token image nft""" - url: Url! - - """Width - will always be null on the public API""" - width: Int - - """Height - will always be null on the public API""" - height: Int - - """Size - will always be null on the public API""" - size: Int - - """The image/audio/video mime type for the publication""" - mimeType: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url -} - -"""Media object output""" -type MediaOutput { - item: Url! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url - source: PublicationMediaSource -} - -"""The Media Set""" -type MediaSet { - """Original media""" - original: Media! - - """Small media - will always be null on the public API""" - small: Media @deprecated(reason: "should not be used will always be null") - - """Medium media - will always be null on the public API""" - medium: Media @deprecated(reason: "should not be used will always be null") -} - -union MentionPublication = Post | Comment - -"""The metadata attribute input""" -input MetadataAttributeInput { - """The display type""" - displayType: PublicationMetadataDisplayTypes - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String! - - """The value""" - value: String! -} - -"""The metadata attribute output""" -type MetadataAttributeOutput { - """The display type""" - displayType: PublicationMetadataDisplayTypes - - """ - The trait type - can be anything its the name it will render so include spaces - """ - traitType: String - - """The value""" - value: String -} - -"""The metadata output""" -type MetadataOutput { - """The metadata name""" - name: String - - """This is the metadata description""" - description: Markdown - - """This is the metadata content for the publication, should be markdown""" - content: Markdown - - """ - This is the image attached to the metadata and the property used to show the NFT! - """ - image: Url - - """The image cover for video/music publications""" - cover: MediaSet - - """The images/audios/videos for the publication""" - media: [MediaSet!]! - - """The attributes""" - attributes: [MetadataAttributeOutput!]! - - """The locale of the publication, """ - locale: Locale - - """The tags for the publication""" - tags: [String!]! - - """The content warning for the publication""" - contentWarning: PublicationContentWarning - - """The main focus of the publication""" - mainContentFocus: PublicationMainFocus! - - """The main focus of the publication""" - animatedUrl: Url - - """The publication's encryption params in case it's encrypted""" - encryptionParams: EncryptionParamsOutput -} - -"""mimetype custom scalar type""" -scalar MimeType - -"""The social mirror""" -type Mirror { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """The mirror publication""" - mirrorOf: MirrorablePublication! - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! -} - -union MirrorablePublication = Post | Comment - -type MirrorEvent { - profile: Profile! - timestamp: DateTime! -} - -type ModuleFeeAmount { - """The erc20 token info""" - asset: Erc20! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -input ModuleFeeAmountParams { - """The currency address""" - currency: ContractAddress! - - """ - Floating point number as string (e.g. 42.009837). It could have the entire - precision of the Asset or be truncated to the last significant decimal. - """ - value: String! -} - -type ModuleInfo { - name: String! - type: String! -} - -type Mutation { - authenticate(request: SignedAuthChallenge!): AuthenticationResult! - refresh(request: RefreshRequest!): AuthenticationResult! - broadcast(request: BroadcastRequest!): RelayResult! - createSetDispatcherTypedData(options: TypedDataOptions, request: SetDispatcherRequest!): CreateSetDispatcherBroadcastItemResult! - createFollowTypedData(options: TypedDataOptions, request: FollowRequest!): CreateFollowBroadcastItemResult! - createUnfollowTypedData(options: TypedDataOptions, request: UnfollowRequest!): CreateUnfollowBroadcastItemResult! - createSetFollowModuleTypedData(options: TypedDataOptions, request: CreateSetFollowModuleRequest!): CreateSetFollowModuleBroadcastItemResult! - createSetFollowNFTUriTypedData(options: TypedDataOptions, request: CreateSetFollowNFTUriRequest!): CreateSetFollowNFTUriBroadcastItemResult! - createToggleFollowTypedData(options: TypedDataOptions, request: CreateToggleFollowRequest!): CreateToggleFollowBroadcastItemResult! - createCollectTypedData(options: TypedDataOptions, request: CreateCollectRequest!): CreateCollectBroadcastItemResult! - createSetDefaultProfileTypedData(options: TypedDataOptions, request: CreateSetDefaultProfileRequest!): SetDefaultProfileBroadcastItemResult! - createSetProfileImageURITypedData(options: TypedDataOptions, request: UpdateProfileImageRequest!): CreateSetProfileImageUriBroadcastItemResult! - createSetProfileImageURIViaDispatcher(request: UpdateProfileImageRequest!): RelayResult! - createBurnProfileTypedData(options: TypedDataOptions, request: BurnProfileRequest!): CreateBurnProfileBroadcastItemResult! - createPostTypedData(options: TypedDataOptions, request: CreatePublicPostRequest!): CreatePostBroadcastItemResult! - createPostViaDispatcher(request: CreatePublicPostRequest!): RelayResult! - createCommentTypedData(options: TypedDataOptions, request: CreatePublicCommentRequest!): CreateCommentBroadcastItemResult! - createCommentViaDispatcher(request: CreatePublicCommentRequest!): RelayResult! - createMirrorTypedData(options: TypedDataOptions, request: CreateMirrorRequest!): CreateMirrorBroadcastItemResult! - hidePublication(request: HidePublicationRequest!): Void - createMirrorViaDispatcher(request: CreateMirrorRequest!): RelayResult! - createAttachMediaData(request: PublicMediaRequest!): PublicMediaResults! - claim(request: ClaimHandleRequest!): RelayResult! - - """Adds profile interests to the given profile""" - addProfileInterests(request: AddProfileInterestsRequest!): Void - - """Removes profile interests from the given profile""" - removeProfileInterests(request: RemoveProfileInterestsRequest!): Void - createSetProfileMetadataTypedData(options: TypedDataOptions, request: CreatePublicSetProfileMetadataURIRequest!): CreateSetProfileMetadataURIBroadcastItemResult! - createSetProfileMetadataViaDispatcher(request: CreatePublicSetProfileMetadataURIRequest!): RelayResult! - proxyAction(request: ProxyActionRequest!): ProxyActionId! - addReaction(request: ReactionRequest!): Void - removeReaction(request: ReactionRequest!): Void - reportPublication(request: ReportPublicationRequest!): Void - ach(request: AchRequest!): Void -} - -input MutualFollowersProfilesQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id your viewing""" - viewingProfileId: ProfileId! - - """The profile id you want the result to come back as your viewing from""" - yourProfileId: ProfileId! -} - -type NewCollectNotification { - notificationId: NotificationId! - createdAt: DateTime! - wallet: Wallet! - collectedPublication: Publication! -} - -type NewCommentNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - comment: Comment! -} - -type NewFollowerNotification { - notificationId: NotificationId! - createdAt: DateTime! - wallet: Wallet! - isFollowedByMe: Boolean! -} - -type NewMentionNotification { - notificationId: NotificationId! - createdAt: DateTime! - mentionPublication: MentionPublication! -} - -type NewMirrorNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - publication: MirrorablePublication! -} - -type NewReactionNotification { - notificationId: NotificationId! - createdAt: DateTime! - - """The profile""" - profile: Profile! - reaction: ReactionTypes! - publication: Publication! -} - -"""The nft type""" -type NFT { - """aka us CryptoKitties""" - contractName: String! - - """aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e """ - contractAddress: ContractAddress! - - """aka RARI""" - symbol: String! - - """aka "13" """ - tokenId: String! - - """ - aka { address: 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e, amount:"2" } - """ - owners: [Owner!]! - - """aka "Beard Coffee" """ - name: String! - - """aka "Hey cutie! I m Beard Coffee. .... """ - description: String! - - """aka "https://api.criptokitt..." """ - contentURI: String! - - """aka "{ uri:"https://ipfs....", metaType:"image/png" }" """ - originalContent: NFTContent! - - """aka "1" """ - chainId: ChainId! - - """aka "CryptoKitties" """ - collectionName: String! - - """aka "ERC721" """ - ercType: String! -} - -"""The NFT content uri""" -type NFTContent { - """The token uri nft""" - uri: String! - - """The meta type content""" - metaType: String! - - """The animated url""" - animatedUrl: String -} - -input NFTData { - """Id of the nft ownership challenge""" - id: NftOwnershipId! - - """The signature""" - signature: Signature! -} - -"""The NFT image""" -type NftImage { - """The contract address""" - contractAddress: ContractAddress! - - """The token id of the nft""" - tokenId: String! - - """The token image nft""" - uri: Url! - - """The token image nft""" - chainId: Int! - - """If the NFT is verified""" - verified: Boolean! -} - -input NftOwnershipChallenge { - """ContractAddress for nft""" - contractAddress: ContractAddress! - - """Token id for NFT""" - tokenId: String! - - """Chain Id""" - chainId: ChainId! -} - -input NftOwnershipChallengeRequest { - """The wallet address which owns the NFT""" - ethereumAddress: EthereumAddress! - nfts: [NftOwnershipChallenge!]! -} - -"""NFT ownership challenge result""" -type NftOwnershipChallengeResult { - """Id of the nft ownership challenge""" - id: NftOwnershipId! - text: String! - - """Timeout of the validation""" - timeout: TimestampScalar! -} - -"""Nft ownership id type""" -scalar NftOwnershipId - -input NftOwnershipInput { - """The NFT collection's ethereum address""" - contractAddress: ContractAddress! - - """The NFT chain id""" - chainID: ChainId! - - """The unlocker contract type""" - contractType: ContractType! - - """The optional token ID(s) to check for ownership""" - tokenIds: TokenId -} - -type NftOwnershipOutput { - """The NFT collection's ethereum address""" - contractAddress: ContractAddress! - - """The NFT chain id""" - chainID: ChainId! - - """The unlocker contract type""" - contractType: ContractType! - - """The optional token ID(s) to check for ownership""" - tokenIds: TokenId -} - -input NFTsRequest { - limit: LimitScalar - cursor: Cursor - - """Filter by owner address""" - ownerAddress: EthereumAddress! - - """Filter by contract address""" - contractAddress: ContractAddress - - """Chain Ids""" - chainIds: [ChainId!]! -} - -"""Paginated nft results""" -type NFTsResult { - items: [NFT!]! - pageInfo: PaginatedResultInfo! -} - -"""Nonce custom scalar type""" -scalar Nonce - -union Notification = NewFollowerNotification | NewCollectNotification | NewCommentNotification | NewMirrorNotification | NewMentionNotification | NewReactionNotification - -"""The notification id""" -scalar NotificationId - -input NotificationRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The profile id""" - notificationTypes: [NotificationTypes!] = [MIRRORED_POST, MIRRORED_COMMENT, MENTION_POST, MENTION_COMMENT, COMMENTED_COMMENT, COMMENTED_POST, COLLECTED_POST, COLLECTED_COMMENT, FOLLOWED, REACTION_POST, REACTION_COMMENT] - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The notification filter types""" -enum NotificationTypes { - MIRRORED_POST - MIRRORED_COMMENT - MENTION_POST - MENTION_COMMENT - COMMENTED_COMMENT - COMMENTED_POST - COLLECTED_POST - COLLECTED_COMMENT - FOLLOWED - REACTION_POST - REACTION_COMMENT -} - -type OnChainIdentity { - """The POH status""" - proofOfHumanity: Boolean! - - """The ens information""" - ens: EnsOnChainIdentity - - """The sybil dot org information""" - sybilDotOrg: SybilDotOrgIdentity! - - """The worldcoin identity""" - worldcoin: WorldcoinIdentity! -} - -input OrConditionInput { - """ - The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionInput!]! -} - -type OrConditionOutput { - """ - The list of conditions to apply OR to. You can only use nested boolean conditions at the root level. - """ - criteria: [AccessConditionOutput!]! -} - -"""The nft type""" -type Owner { - """number of tokens owner""" - amount: Float! - - """aka 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e """ - address: EthereumAddress! -} - -"""The paginated wallet result""" -type PaginatedAllPublicationsTagsResult { - items: [TagResult!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated feed result""" -type PaginatedFeedResult { - items: [FeedItem!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated followers result""" -type PaginatedFollowersResult { - items: [Follower!]! - pageInfo: PaginatedResultInfo! -} - -type PaginatedFollowingResult { - items: [Following!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated notification result""" -type PaginatedNotificationResult { - items: [Notification!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated wallet result""" -type PaginatedProfilePublicationsForSaleResult { - items: [PublicationForSale!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated profile result""" -type PaginatedProfileResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated publication result""" -type PaginatedPublicationResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated result info""" -type PaginatedResultInfo { - """Cursor to query the actual results""" - prev: Cursor - - """Cursor to query next results""" - next: Cursor - - """ - The total number of entities the pagination iterates over. If null it means it - can not work it out due to dynamic or aggregated query e.g. For a query that - requests all nfts with more than 10 likes, this field gives the total amount - of nfts with more than 10 likes, not the total amount of nfts - """ - totalCount: Int -} - -"""The paginated timeline result""" -type PaginatedTimelineResult { - items: [Publication!]! - pageInfo: PaginatedResultInfo! -} - -"""The paginated wallet result""" -type PaginatedWhoCollectedResult { - items: [Wallet!]! - pageInfo: PaginatedResultInfo! -} - -type PaginatedWhoReactedResult { - items: [WhoReactedResult!]! - pageInfo: PaginatedResultInfo! -} - -input PendingApprovalFollowsRequest { - limit: LimitScalar - cursor: Cursor -} - -"""The paginated follow result""" -type PendingApproveFollowsResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! -} - -"""The social post""" -type Post { - """The internal publication id""" - id: InternalPublicationId! - - """The profile ref""" - profile: Profile! - - """The publication stats""" - stats: PublicationStats! - - """The metadata for the post""" - metadata: MetadataOutput! - - """The on chain content uri could be `ipfs://` or `https`""" - onChainContentURI: String! - - """The date the post was created on""" - createdAt: DateTime! - - """The collect module""" - collectModule: CollectModule! - - """The reference module""" - referenceModule: ReferenceModule - - """ID of the source""" - appId: Sources - - """ - If the publication has been hidden if it has then the content and media is not available - """ - hidden: Boolean! - - """ - The contract address for the collect nft.. if its null it means nobody collected yet as it lazy deployed - """ - collectNftAddress: ContractAddress - - """Indicates if the publication is gated behind some access criteria""" - isGated: Boolean! - - """ - Who collected it, this is used for timeline results and like this for better caching for the client - """ - collectedBy: Wallet @deprecated(reason: "use `feed` query, timeline query will be killed on the 15th November. This includes this field.") - reaction(request: ReactionFieldResolverRequest): ReactionTypes - hasCollectedByMe(isFinalisedOnChain: Boolean): Boolean! - canComment(profileId: ProfileId): CanCommentResponse! - canMirror(profileId: ProfileId): CanMirrorResponse! - canDecrypt(profileId: ProfileId, address: EthereumAddress): CanDecryptResponse! - mirrors(by: ProfileId): [InternalPublicationId!]! -} - -"""The Profile""" -type Profile { - """The profile id""" - id: ProfileId! - - """Name of the profile""" - name: String - - """Bio of the profile""" - bio: String - - """Follow nft address""" - followNftAddress: ContractAddress - - """Metadata url""" - metadata: Url - - """The profile handle""" - handle: Handle! - - """The picture for the profile""" - picture: ProfileMedia - - """The cover picture for the profile""" - coverPicture: ProfileMedia - - """Who owns the profile""" - ownedBy: EthereumAddress! - - """The dispatcher""" - dispatcher: Dispatcher - - """Profile stats""" - stats: ProfileStats! - - """The follow module""" - followModule: FollowModule - - """Is the profile default""" - isDefault: Boolean! - - """Optionals param to add extra attributes on the metadata""" - attributes: [Attribute!] - - """The on chain identity""" - onChainIdentity: OnChainIdentity! - - """The profile interests""" - interests: [ProfileInterest!] - isFollowedByMe(isFinalisedOnChain: Boolean): Boolean! - isFollowing(who: ProfileId): Boolean! -} - -input ProfileFollowModuleBeenRedeemedRequest { - followProfileId: ProfileId! - redeemingProfileId: ProfileId! -} - -input ProfileFollowModuleRedeemParams { - """The profile id to use to follow this profile""" - profileId: ProfileId! -} - -type ProfileFollowModuleSettings { - """The follow module enum""" - type: FollowModules! - contractAddress: ContractAddress! -} - -input ProfileFollowRevenueQueryRequest { - """The profile id""" - profileId: ProfileId! -} - -"""ProfileId custom scalar type""" -scalar ProfileId - -"""ProfileInterest custom scalar type""" -scalar ProfileInterest - -union ProfileMedia = NftImage | MediaSet - -input ProfileOnChainIdentityRequest { - profileIds: [ProfileId!]! -} - -"""Condition that signifies if address has access to profile""" -input ProfileOwnershipInput { - """The profile id""" - profileId: ProfileId! -} - -"""Condition that signifies if address has access to profile""" -type ProfileOwnershipOutput { - """The profile id""" - profileId: ProfileId! -} - -input ProfilePublicationRevenueQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - - """The revenue types""" - types: [PublicationTypes!] = [COMMENT, MIRROR, POST] - metadata: PublicationMetadataFilters -} - -"""The paginated revenue result""" -type ProfilePublicationRevenueResult { - items: [PublicationRevenue!]! - pageInfo: PaginatedResultInfo! -} - -input ProfilePublicationsForSaleRequest { - limit: LimitScalar - cursor: Cursor - - """Profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - metadata: PublicationMetadataFilters -} - -input ProfileQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The profile ids""" - profileIds: [ProfileId!] - - """The ethereum addresses""" - ownedBy: [EthereumAddress!] - - """The handles for the profile""" - handles: [Handle!] - - """The mirrored publication id""" - whoMirroredPublicationId: InternalPublicationId -} - -"""Profile search results""" -type ProfileSearchResult { - items: [Profile!]! - pageInfo: PaginatedResultInfo! - type: SearchRequestTypes! -} - -"""profile sort criteria""" -enum ProfileSortCriteria { - CREATED_ON - MOST_FOLLOWERS - LATEST_CREATED - MOST_POSTS - MOST_COMMENTS - MOST_MIRRORS - MOST_PUBLICATION - MOST_COLLECTS -} - -"""The Profile Stats""" -type ProfileStats { - id: ProfileId! - - """Total follower count""" - totalFollowers: Int! - - """ - Total following count (remember the wallet follows not profile so will be same for every profile they own) - """ - totalFollowing: Int! - - """Total post count""" - totalPosts: Int! - - """Total comment count""" - totalComments: Int! - - """Total mirror count""" - totalMirrors: Int! - - """Total publication count""" - totalPublications: Int! - - """Total collects count""" - totalCollects: Int! - commentsTotal(forSources: [Sources!]!): Int! - postsTotal(forSources: [Sources!]!): Int! - mirrorsTotal(forSources: [Sources!]!): Int! - publicationsTotal(forSources: [Sources!]!): Int! -} - -"""The provider-specific encryption params""" -type ProviderSpecificParamsOutput { - """The encryption key""" - encryptionKey: ContentEncryptionKey! -} - -type ProxyActionError { - reason: String! - lastKnownTxId: TxId -} - -"""proxy action scalar id type""" -scalar ProxyActionId - -type ProxyActionQueued { - queuedAt: DateTime! -} - -input ProxyActionRequest { - follow: FollowProxyAction - collect: CollectProxyAction -} - -type ProxyActionStatusResult { - txHash: TxHash! - txId: TxId! - status: ProxyActionStatusTypes! -} - -union ProxyActionStatusResultUnion = ProxyActionStatusResult | ProxyActionError | ProxyActionQueued - -"""The proxy action status""" -enum ProxyActionStatusTypes { - MINTING - TRANSFERRING - COMPLETE -} - -union Publication = Post | Comment | Mirror - -"""The publication content warning""" -enum PublicationContentWarning { - NSFW - SENSITIVE - SPOILER -} - -union PublicationForSale = Post | Comment - -"""Publication id custom scalar type""" -scalar PublicationId - -"""The publication main focus""" -enum PublicationMainFocus { - VIDEO - IMAGE - ARTICLE - TEXT_ONLY - AUDIO - LINK - EMBED -} - -"""The source of the media""" -enum PublicationMediaSource { - LENS -} - -"""Publication metadata content waring filters""" -input PublicationMetadataContentWarningFilter { - """ - By default all content warnings will be hidden you can include them in your query by adding them to this array. - """ - includeOneOf: [PublicationContentWarning!] -} - -"""The publication metadata display types""" -enum PublicationMetadataDisplayTypes { - number - string - date -} - -"""Publication metadata filters""" -input PublicationMetadataFilters { - """ - IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US - or IT aka en-US or it-IT. You can just filter on language if you wish. - """ - locale: Locale - contentWarning: PublicationMetadataContentWarningFilter - mainContentFocus: [PublicationMainFocus!] = [ARTICLE, AUDIO, VIDEO, EMBED, IMAGE, LINK, TEXT_ONLY] - tags: PublicationMetadataTagsFilter -} - -"""The metadata attribute input""" -input PublicationMetadataMediaInput { - item: Url! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url - source: PublicationMediaSource = LENS -} - -type PublicationMetadataStatus { - status: PublicationMetadataStatusType! - - """If metadata validation failed it will put a reason why here""" - reason: String -} - -"""publication metadata status type""" -enum PublicationMetadataStatusType { - NOT_FOUND - PENDING - METADATA_VALIDATION_FAILED - SUCCESS -} - -"""Publication metadata tag filter""" -input PublicationMetadataTagsFilter { - """Needs to only match one of""" - oneOf: [String!] - - """Needs to only match all""" - all: [String!] -} - -input PublicationMetadataV1Input { - """The metadata version. (1.0.0 | 2.0.0)""" - version: String! - - """ - The metadata id can be anything but if your uploading to ipfs you will want it - to be random.. using uuid could be an option! - """ - metadata_id: String! - - """ This is the appId the content belongs to""" - appId: Sources - - """A human-readable description of the item.""" - description: Markdown - - """ - The content of a publication. If this is blank `media` must be defined or its out of spec - """ - content: Markdown - - """ - This is the URL that will appear below the asset's image on OpenSea and others etc - and will allow users to leave OpenSea and view the item on the site. - """ - external_url: Url - - """Signed metadata to validate the owner""" - signatureContext: PublicationSignatureContextInput - - """Name of the item.""" - name: String! - - """ These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. - """ - attributes: [MetadataAttributeInput!]! - - """legacy to support OpenSea will store any NFT image here.""" - image: Url - - """ - This is the mime type of the image. This is used if your uploading more - advanced cover images as sometimes ipfs does not emit the content header so - this solves that - """ - imageMimeType: MimeType - - """ This is lens supported attached media items to the publication""" - media: [PublicationMetadataMediaInput!] - - """ - A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - Animation_url also supports HTML pages, allowing you to build rich - experiences and interactive NFTs using JavaScript canvas, - WebGL, and more. Scripts and relative paths within the HTML page are now - supported. However, access to browser extensions is not supported. - """ - animation_url: Url -} - -input PublicationMetadataV2Input { - """The metadata version. (1.0.0 | 2.0.0)""" - version: String! - - """ - The metadata id can be anything but if your uploading to ipfs you will want it - to be random.. using uuid could be an option! - """ - metadata_id: String! - - """ This is the appId the content belongs to""" - appId: Sources - - """A human-readable description of the item.""" - description: Markdown - - """ - The content of a publication. If this is blank `media` must be defined or its out of spec - """ - content: Markdown - - """ - This is the URL that will appear below the asset's image on OpenSea and others etc - and will allow users to leave OpenSea and view the item on the site. - """ - external_url: Url - - """Signed metadata to validate the owner""" - signatureContext: PublicationSignatureContextInput - - """Name of the item.""" - name: String! - - """ These are the attributes for the item, which will show up on the OpenSea and others NFT trading websites on the item. - """ - attributes: [MetadataAttributeInput!]! - - """legacy to support OpenSea will store any NFT image here.""" - image: Url - - """ - This is the mime type of the image. This is used if your uploading more - advanced cover images as sometimes ipfs does not emit the content header so - this solves that - """ - imageMimeType: MimeType - - """ This is lens supported attached media items to the publication""" - media: [PublicationMetadataMediaInput!] - - """ - A URL to a multi-media attachment for the item. The file extensions GLTF, GLB, WEBM, MP4, M4V, OGV, - and OGG are supported, along with the audio-only extensions MP3, WAV, and OGA. - Animation_url also supports HTML pages, allowing you to build rich - experiences and interactive NFTs using JavaScript canvas, - WebGL, and more. Scripts and relative paths within the HTML page are now - supported. However, access to browser extensions is not supported. - """ - animation_url: Url - - """ - IOS 639-1 language code aka en or it and ISO 3166-1 alpha-2 region code aka US or IT aka en-US or it-IT - """ - locale: Locale! - - """Ability to tag your publication""" - tags: [String!] - - """Ability to add a content warning""" - contentWarning: PublicationContentWarning - - """Main content focus that for this publication""" - mainContentFocus: PublicationMainFocus! -} - -input PublicationQueryRequest { - """The publication id""" - publicationId: InternalPublicationId - - """The tx hash""" - txHash: TxHash -} - -"""Publication reporting fraud subreason""" -enum PublicationReportingFraudSubreason { - SCAM - IMPERSONATION -} - -"""Publication reporting illegal subreason""" -enum PublicationReportingIllegalSubreason { - ANIMAL_ABUSE - HUMAN_ABUSE - VIOLENCE - THREAT_INDIVIDUAL - DIRECT_THREAT -} - -"""Publication reporting reason""" -enum PublicationReportingReason { - SENSITIVE - ILLEGAL - FRAUD - SPAM -} - -"""Publication reporting sensitive subreason""" -enum PublicationReportingSensitiveSubreason { - NSFW - OFFENSIVE -} - -"""Publication reporting spam subreason""" -enum PublicationReportingSpamSubreason { - MISLEADING - MISUSE_HASHTAGS - UNRELATED - REPETITIVE - FAKE_ENGAGEMENT - MANIPULATION_ALGO - SOMETHING_ELSE -} - -"""The social comment""" -type PublicationRevenue { - publication: Publication! - revenue: RevenueAggregate! -} - -input PublicationRevenueQueryRequest { - """The publication id""" - publicationId: InternalPublicationId! -} - -"""Publication search results""" -type PublicationSearchResult { - items: [PublicationSearchResultItem!]! - pageInfo: PaginatedResultInfo! - type: SearchRequestTypes! -} - -union PublicationSearchResultItem = Post | Comment - -input PublicationSignatureContextInput { - signature: String! -} - -"""Publication sort criteria""" -enum PublicationSortCriteria { - TOP_COMMENTED - TOP_COLLECTED - TOP_MIRRORED - CURATED_PROFILES - LATEST -} - -input PublicationsQueryRequest { - limit: LimitScalar - cursor: Cursor - - """Profile id""" - profileId: ProfileId - - """Profile ids""" - profileIds: [ProfileId!] - - """The publication types you want to query""" - publicationTypes: [PublicationTypes!] - - """The publication id you wish to get comments for""" - commentsOf: InternalPublicationId - - """The App Id""" - sources: [Sources!] = [] - - """The ethereum address""" - collectedBy: EthereumAddress - - """The publication id""" - publicationIds: [InternalPublicationId!] - metadata: PublicationMetadataFilters - customFilters: [CustomFiltersTypes!] = [] -} - -"""The publication stats""" -type PublicationStats { - """The publication id""" - id: InternalPublicationId! - - """The total amount of mirrors""" - totalAmountOfMirrors: Int! - - """The total amount of collects""" - totalAmountOfCollects: Int! - - """The total amount of comments""" - totalAmountOfComments: Int! - - """The total amount of downvotes""" - totalUpvotes: Int! - - """The total amount of upvotes""" - totalDownvotes: Int! - commentsTotal(forSources: [Sources!]!): Int! -} - -"""The publication tag""" -scalar PublicationTag - -"""The publication types""" -enum PublicationTypes { - POST - COMMENT - MIRROR -} - -"""Publication url scalar type""" -scalar PublicationUrl - -type PublicationValidateMetadataResult { - valid: Boolean! - - """If `valid` is false it will put a reason why here""" - reason: String -} - -input PublicMediaRequest { - """Pre calculated cid of the file to push""" - itemCid: IfpsCid! - - """This is the mime type of media""" - type: MimeType - - """The alt tags for accessibility""" - altTag: String - - """The cover for any video or audio you attached""" - cover: Url -} - -"""The response to upload the attached file""" -type PublicMediaResults { - """Signed url to push the file""" - signedUrl: String! - - """ipfs uri to add on the metadata""" - media: MediaOutput! -} - -type Query { - challenge(request: ChallengeRequest!): AuthChallengeResult! - verify(request: VerifyRequest!): Boolean! - txIdToTxHash(txId: TxId!): TxHash! - explorePublications(request: ExplorePublicationRequest!): ExplorePublicationResult! - exploreProfiles(request: ExploreProfilesRequest!): ExploreProfileResult! - feed(request: FeedRequest!): PaginatedFeedResult! - feedHighlights(request: FeedHighlightsRequest!): PaginatedTimelineResult! - timeline(request: TimelineRequest!): PaginatedTimelineResult! @deprecated(reason: "You should be using feed, this will not be supported after 15th November 2021, please migrate.") - pendingApprovalFollows(request: PendingApprovalFollowsRequest!): PendingApproveFollowsResult! - doesFollow(request: DoesFollowRequest!): [DoesFollowResponse!]! - following(request: FollowingRequest!): PaginatedFollowingResult! - followers(request: FollowersRequest!): PaginatedFollowersResult! - followerNftOwnedTokenIds(request: FollowerNftOwnedTokenIdsRequest!): FollowerNftOwnedTokenIds - mutualFollowersProfiles(request: MutualFollowersProfilesQueryRequest!): PaginatedProfileResult! - ping: String! - hasTxHashBeenIndexed(request: HasTxHashBeenIndexedRequest!): TransactionResult! - enabledModuleCurrencies: [Erc20!]! - approvedModuleAllowanceAmount(request: ApprovedModuleAllowanceAmountRequest!): [ApprovedAllowanceAmount!]! - generateModuleCurrencyApprovalData(request: GenerateModuleCurrencyApprovalDataRequest!): GenerateModuleCurrencyApproval! - profileFollowModuleBeenRedeemed(request: ProfileFollowModuleBeenRedeemedRequest!): Boolean! - enabledModules: EnabledModules! - unknownEnabledModules: EnabledModules! - nfts(request: NFTsRequest!): NFTsResult! - nftOwnershipChallenge(request: NftOwnershipChallengeRequest!): NftOwnershipChallengeResult! - notifications(request: NotificationRequest!): PaginatedNotificationResult! - profiles(request: ProfileQueryRequest!): PaginatedProfileResult! - profile(request: SingleProfileQueryRequest!): Profile - recommendedProfiles(options: RecommendedProfileOptions): [Profile!]! - defaultProfile(request: DefaultProfileRequest!): Profile - globalProtocolStats(request: GlobalProtocolStatsRequest): GlobalProtocolStats! - publications(request: PublicationsQueryRequest!): PaginatedPublicationResult! - publication(request: PublicationQueryRequest!): Publication - whoCollectedPublication(request: WhoCollectedPublicationRequest!): PaginatedWhoCollectedResult! - profilePublicationsForSale(request: ProfilePublicationsForSaleRequest!): PaginatedProfilePublicationsForSaleResult! - allPublicationsTags(request: AllPublicationsTagsRequest!): PaginatedAllPublicationsTagsResult! - search(request: SearchQueryRequest!): SearchResult! - userSigNonces: UserSigNonces! - claimableHandles: ClaimableHandles! - claimableStatus: ClaimStatus! - internalPublicationFilter(request: InternalPublicationsFilterRequest!): PaginatedPublicationResult! - profileOnChainIdentity(request: ProfileOnChainIdentityRequest!): [OnChainIdentity!]! - - """Get the list of profile interests""" - profileInterests: [ProfileInterest!]! - proxyActionStatus(proxyActionId: ProxyActionId!): ProxyActionStatusResultUnion! - validatePublicationMetadata(request: ValidatePublicationMetadataRequest!): PublicationValidateMetadataResult! - publicationMetadataStatus(request: GetPublicationMetadataStatusRequest!): PublicationMetadataStatus! - whoReactedPublication(request: WhoReactedPublicationRequest!): PaginatedWhoReactedResult! - profilePublicationRevenue(request: ProfilePublicationRevenueQueryRequest!): ProfilePublicationRevenueResult! - publicationRevenue(request: PublicationRevenueQueryRequest!): PublicationRevenue - profileFollowRevenue(request: ProfileFollowRevenueQueryRequest!): FollowRevenueResult! - rel(request: RelRequest!): Void -} - -type ReactionEvent { - profile: Profile! - reaction: ReactionTypes! - timestamp: DateTime! -} - -input ReactionFieldResolverRequest { - """Profile id""" - profileId: ProfileId -} - -"""The reaction id""" -scalar ReactionId - -input ReactionRequest { - """Profile id to perform the action""" - profileId: ProfileId! - - """The reaction""" - reaction: ReactionTypes! - - """The internal publication id""" - publicationId: InternalPublicationId! -} - -"""Reaction types""" -enum ReactionTypes { - UPVOTE - DOWNVOTE -} - -input RecommendedProfileOptions { - """If you wish to turn ML off""" - disableML: Boolean = false - - """If you wish to shuffle the results""" - shuffle: Boolean = false -} - -union ReferenceModule = FollowOnlyReferenceModuleSettings | UnknownReferenceModuleSettings | DegreesOfSeparationReferenceModuleSettings - -"""reference module data scalar type""" -scalar ReferenceModuleData - -input ReferenceModuleParams { - """The follower only reference module""" - followerOnlyReferenceModule: Boolean - - """A unknown reference module""" - unknownReferenceModule: UnknownReferenceModuleParams - - """The degrees of seperation reference module""" - degreesOfSeparationReferenceModule: DegreesOfSeparationReferenceModuleParams -} - -"""The reference module types""" -enum ReferenceModules { - FollowerOnlyReferenceModule - DegreesOfSeparationReferenceModule - UnknownReferenceModule -} - -"""The refresh request""" -input RefreshRequest { - """The refresh token""" - refreshToken: Jwt! -} - -"""The relayer result""" -type RelayerResult { - """ - The tx hash - you should use the `txId` as your identifier as gas prices can be upgraded meaning txHash will change - """ - txHash: TxHash! - - """The tx id""" - txId: TxId! -} - -type RelayError { - reason: RelayErrorReasons! -} - -"""Relay error reason""" -enum RelayErrorReasons { - REJECTED - HANDLE_TAKEN - EXPIRED - WRONG_WALLET_SIGNED - NOT_ALLOWED -} - -union RelayResult = RelayerResult | RelayError - -input RelRequest { - secret: String! - ethereumAddress: EthereumAddress! -} - -"""The request object to remove interests from a profile""" -input RemoveProfileInterestsRequest { - """The profile interest to add""" - interests: [ProfileInterest!]! - - """The profileId to add interests to""" - profileId: ProfileId! -} - -input ReportingReasonInputParams { - sensitiveReason: SensitiveReasonInputParams - illegalReason: IllegalReasonInputParams - fraudReason: FraudReasonInputParams - spamReason: SpamReasonInputParams -} - -input ReportPublicationRequest { - publicationId: InternalPublicationId! - reason: ReportingReasonInputParams! - additionalComments: String -} - -type ReservedClaimableHandle { - id: HandleClaimIdScalar! - handle: Handle! - source: String! - expiry: DateTime! -} - -type RevenueAggregate { - total: Erc20Amount! -} - -type RevertCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! -} - -type RevertFollowModuleSettings { - """The follow module enum""" - type: FollowModules! - contractAddress: ContractAddress! -} - -"""The gated publication access criteria scalar operators""" -enum ScalarOperator { - EQUAL - NOT_EQUAL - GREATER_THAN - GREATER_THAN_OR_EQUAL - LESS_THAN - LESS_THAN_OR_EQUAL -} - -"""Query search""" -scalar Search - -input SearchQueryRequest { - limit: LimitScalar - cursor: Cursor - - """The search term""" - query: Search! - type: SearchRequestTypes! - customFilters: [CustomFiltersTypes!] = [] - - """The App Id""" - sources: [Sources!] = [] -} - -"""Search request types""" -enum SearchRequestTypes { - PUBLICATION - PROFILE -} - -union SearchResult = PublicationSearchResult | ProfileSearchResult - -input SensitiveReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingSensitiveSubreason! -} - -"""The broadcast item""" -type SetDefaultProfileBroadcastItemResult { - """This broadcast item ID""" - id: BroadcastId! - - """The date the broadcast item expiries""" - expiresAt: DateTime! - - """The typed data""" - typedData: SetDefaultProfileEIP712TypedData! -} - -"""The default profile eip 712 typed data""" -type SetDefaultProfileEIP712TypedData { - """The types""" - types: SetDefaultProfileEIP712TypedDataTypes! - - """The typed data domain""" - domain: EIP712TypedDataDomain! - - """The values""" - value: SetDefaultProfileEIP712TypedDataValue! -} - -"""The default profile eip 712 typed data types""" -type SetDefaultProfileEIP712TypedDataTypes { - SetDefaultProfileWithSig: [EIP712TypedDataField!]! -} - -"""The default profile eip 712 typed data value""" -type SetDefaultProfileEIP712TypedDataValue { - nonce: Nonce! - deadline: UnixTimestamp! - wallet: EthereumAddress! - profileId: ProfileId! -} - -input SetDispatcherRequest { - """The profile id""" - profileId: ProfileId! - - """ - The dispatcher address - they can post, comment, mirror, set follow module, - change your profile picture on your behalf, if left as none it will use the - built in dispatcher address. - """ - dispatcher: EthereumAddress - - """If you want to enable or disable it""" - enable: Boolean -} - -"""Relayer signature""" -scalar Signature - -"""The signed auth challenge""" -input SignedAuthChallenge { - """The ethereum address you signed the signature with""" - address: EthereumAddress! - - """The signature""" - signature: Signature! -} - -input SingleProfileQueryRequest { - """The profile id""" - profileId: ProfileId - - """The handle for the profile""" - handle: Handle -} - -"""Sources custom scalar type""" -scalar Sources - -input SpamReasonInputParams { - reason: PublicationReportingReason! - subreason: PublicationReportingSpamSubreason! -} - -type SybilDotOrgIdentity { - """The sybil dot org status""" - verified: Boolean! - source: SybilDotOrgIdentitySource! -} - -type SybilDotOrgIdentitySource { - twitter: SybilDotOrgTwitterIdentity! -} - -type SybilDotOrgTwitterIdentity { - handle: String -} - -"""The social comment""" -type TagResult { - """The tag""" - tag: PublicationTag! - - """The total amount of publication tagged""" - total: Int! -} - -"""The publications tags sort criteria""" -enum TagSortCriteria { - MOST_POPULAR - ALPHABETICAL -} - -input TimedFeeCollectModuleParams { - """The collect module amount info""" - amount: ModuleFeeAmountParams! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! -} - -type TimedFeeCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """The collect module amount info""" - amount: ModuleFeeAmount! - - """The collect module recipient address""" - recipient: EthereumAddress! - - """The collect module referral fee""" - referralFee: Float! - - """Follower only""" - followerOnly: Boolean! - - """The collect module end timestamp""" - endTimestamp: DateTime! -} - -input TimelineRequest { - limit: LimitScalar - cursor: Cursor - - """The profile id""" - profileId: ProfileId! - - """The App Id""" - sources: [Sources!] = [] - - """ - The timeline types you wish to include, if nothing passed in will bring back all - """ - timelineTypes: [TimelineType!] = [COLLECT_COMMENT, COLLECT_POST, COMMENT, POST, MIRROR] - metadata: PublicationMetadataFilters -} - -"""Timeline types""" -enum TimelineType { - POST - COMMENT - MIRROR - COLLECT_POST - COLLECT_COMMENT -} - -"""timestamp date custom scalar type""" -scalar TimestampScalar - -"""The NFT token id""" -scalar TokenId - -type TransactionError { - reason: TransactionErrorReasons! - txReceipt: TransactionReceipt -} - -"""Transaction error reason""" -enum TransactionErrorReasons { - REVERTED -} - -type TransactionIndexedResult { - indexed: Boolean! - txHash: TxHash! - txReceipt: TransactionReceipt - - """ - Publications can be indexed but the ipfs link for example not findable for x - time. This allows you to work that out for publications. If its not a - publication tx then it always be null. - """ - metadataStatus: PublicationMetadataStatus -} - -type TransactionReceipt { - to: EthereumAddress - from: EthereumAddress! - contractAddress: ContractAddress - transactionIndex: Int! - root: String - gasUsed: String! - logsBloom: String! - blockHash: String! - transactionHash: TxHash! - logs: [Log!]! - blockNumber: Int! - confirmations: Int! - cumulativeGasUsed: String! - effectiveGasPrice: String! - byzantium: Boolean! - type: Int! - status: Int -} - -union TransactionResult = TransactionIndexedResult | TransactionError - -"""The tx hash""" -scalar TxHash - -"""The tx id""" -scalar TxId - -input TypedDataOptions { - """ - If you wish to override the nonce for the sig if you want to do some clever stuff in the client - """ - overrideSigNonce: Nonce! -} - -input UnfollowRequest { - profile: ProfileId! -} - -"""UnixTimestamp custom scalar type""" -scalar UnixTimestamp - -input UnknownCollectModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownCollectModuleSettings { - """The collect modules enum""" - type: CollectModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - collectModuleReturnData: CollectModuleData! -} - -input UnknownFollowModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -input UnknownFollowModuleRedeemParams { - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownFollowModuleSettings { - """The follow modules enum""" - type: FollowModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - followModuleReturnData: FollowModuleData! -} - -input UnknownReferenceModuleParams { - contractAddress: ContractAddress! - - """The encoded data to submit with the module""" - data: BlockchainData! -} - -type UnknownReferenceModuleSettings { - """The reference modules enum""" - type: ReferenceModules! - contractAddress: ContractAddress! - - """ - The data used to setup the module which you can decode with your known ABI - """ - referenceModuleReturnData: ReferenceModuleData! -} - -input UpdateProfileImageRequest { - profileId: ProfileId! - - """The url to the image if offline""" - url: Url - - """The nft data""" - nftData: NFTData -} - -"""Url scalar type""" -scalar Url - -type UserSigNonces { - lensHubOnChainSigNonce: Nonce! - peripheryOnChainSigNonce: Nonce! -} - -input ValidatePublicationMetadataRequest { - metadatav1: PublicationMetadataV1Input - metadatav2: PublicationMetadataV2Input -} - -"""The access request""" -input VerifyRequest { - """The access token""" - accessToken: Jwt! -} - -"""Represents NULL values""" -scalar Void - -type Wallet { - address: EthereumAddress! - - """ - The default profile for the wallet for now it is just their first profile, - this will be the default profile they picked soon enough - """ - defaultProfile: Profile -} - -input WhoCollectedPublicationRequest { - limit: LimitScalar - cursor: Cursor - - """Internal publication id""" - publicationId: InternalPublicationId! -} - -input WhoReactedPublicationRequest { - limit: LimitScalar - cursor: Cursor - - """Internal publication id""" - publicationId: InternalPublicationId! -} - -"""The Profile""" -type WhoReactedResult { - """The reaction id""" - reactionId: ReactionId! - - """The reaction""" - reaction: ReactionTypes! - - """The reaction""" - reactionAt: DateTime! - profile: Profile! -} - -type WorldcoinIdentity { - """If the profile has verified as a user""" - isHuman: Boolean! -} - diff --git a/libs/profile-data/src/types/ens.types.ts b/libs/profile-data/src/types/ens.types.ts index fb9503a1..08f9b0a8 100644 --- a/libs/profile-data/src/types/ens.types.ts +++ b/libs/profile-data/src/types/ens.types.ts @@ -1,10 +1,14 @@ +import { GetEnsAvatarReturnType } from 'viem/ens'; + export type ENSDomain = + | string | { id?: string; registrationDate?: string; expiryDate?: string; domain?: { name?: string; + avatar?: GetEnsAvatarReturnType; }; } | undefined; diff --git a/libs/profile-data/src/types/index.ts b/libs/profile-data/src/types/index.ts index f440e10e..89493002 100644 --- a/libs/profile-data/src/types/index.ts +++ b/libs/profile-data/src/types/index.ts @@ -1,4 +1 @@ export * from './ens.types'; -export * from './lens.types'; -export * from '../subgraph/queries-ens/account.generated'; -export * from '../subgraph/queries-lens/profiles.generated'; diff --git a/libs/profile-data/src/types/lens.types.ts b/libs/profile-data/src/types/lens.types.ts deleted file mode 100644 index 05a9ecb2..00000000 --- a/libs/profile-data/src/types/lens.types.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ListProfileQuery } from '../subgraph/queries-lens/profiles.generated'; - -export type LensProfile = ListProfileQuery['profiles']['items'][number]; diff --git a/libs/profile-data/src/utils/transformers.ts b/libs/profile-data/src/utils/transformers.ts index 07cd840e..b8fd93f3 100644 --- a/libs/profile-data/src/utils/transformers.ts +++ b/libs/profile-data/src/utils/transformers.ts @@ -1,23 +1,37 @@ -import { AccountProfile } from '@daohaus/utils'; -import { LensProfile, ENSDomain } from '../types'; +import { AccountProfile, isString } from '@daohaus/utils'; +import { ENSDomain } from '../types'; +import { GetEnsAvatarReturnType } from 'viem/ens'; export const transformProfile = ({ address, - lensProfile, ensDomain, }: { address: string; - lensProfile?: LensProfile; ensDomain?: ENSDomain; }): AccountProfile => { return { address, - name: lensProfile?.name, - ens: ensDomain?.domain?.name || lensProfile?.onChainIdentity?.ens?.name, - // TODO: lens profile images have been unreliable - image: '', - description: lensProfile?.bio, - lensHandle: lensProfile?.handle, - lensId: lensProfile?.id, + ens: isString(ensDomain) ? ensDomain : ensDomain?.domain?.name, + avatar: isString(ensDomain) + ? ensDomain + : formatImageUrl(ensDomain?.domain?.avatar), }; }; + +const formatImageUrl = ( + imageUri?: GetEnsAvatarReturnType +): string | undefined => { + if (!imageUri) return; + if ( + imageUri.toLowerCase().startsWith('http') || + imageUri.toLowerCase().startsWith('data') + ) { + return imageUri; + } + + if (imageUri.toLowerCase().startsWith('ipfs')) { + return `https://daohaus.mypinata.cloud/ipfs/${imageUri.match( + /Qm[a-zA-Z0-9/.]+/ + )}`; + } +}; diff --git a/libs/ui/src/components/molecules/ProfileAvatar/ProfileAvatar.types.ts b/libs/ui/src/components/molecules/ProfileAvatar/ProfileAvatar.types.ts index 4faacdce..9f43374b 100644 --- a/libs/ui/src/components/molecules/ProfileAvatar/ProfileAvatar.types.ts +++ b/libs/ui/src/components/molecules/ProfileAvatar/ProfileAvatar.types.ts @@ -2,5 +2,5 @@ import { Avatar } from '../../atoms'; export type ProfileAvatarProps = Parameters[0] & { address?: string; - image?: string; + image?: string | null; }; diff --git a/libs/ui/src/components/molecules/ProfileButton/ProfileButton.tsx b/libs/ui/src/components/molecules/ProfileButton/ProfileButton.tsx index 81dcdce2..8f97672d 100644 --- a/libs/ui/src/components/molecules/ProfileButton/ProfileButton.tsx +++ b/libs/ui/src/components/molecules/ProfileButton/ProfileButton.tsx @@ -41,24 +41,20 @@ export const ProfileButton = React.forwardRef< {!avatarOnly ? ( ) : ( )} {!avatarOnly && (
- {profile.name && profile.name} - {!profile.name && profile.ens && profile.ens} - {!profile.name && - !profile.ens && - profile.address && - truncateAddress(profile.address)} + {profile.ens && profile.ens} + {!profile.ens && profile.address && truncateAddress(profile.address)} {children}
)} diff --git a/libs/utils/src/types/query.ts b/libs/utils/src/types/query.ts index 540bd8b9..41c30846 100644 --- a/libs/utils/src/types/query.ts +++ b/libs/utils/src/types/query.ts @@ -44,11 +44,6 @@ export type DaoTokenBalances = { export type AccountProfile = { address: string; ens?: string; - image?: string; - name?: string; - description?: string; - emoji?: string; - lensHandle?: string; - lensId?: string; + avatar?: string | null; daos?: MolochV3MembershipQuery['daos']; }; diff --git a/yarn.lock b/yarn.lock index 0a27de07..0c458083 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,6 +12,11 @@ resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.0.tgz#223572538f6bea336750039bb43a4016dcc8182d" integrity sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ== +"@adraffy/ens-normalize@1.9.4": + version "1.9.4" + resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.4.tgz#aae21cb858bbb0411949d5b7b3051f4209043f62" + integrity sha512-UK0bHA7hh9cR39V+4gl2/NnBBjoXIxkuWAPCaY4X7fbH4L/azIi7ilWOCjMUYfpJgraLUAqkRi2BqrjME8Rynw== + "@ampproject/remapping@^2.2.0": version "2.2.1" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" @@ -3399,6 +3404,13 @@ dependencies: "@noble/hashes" "1.3.1" +"@noble/curves@1.2.0", "@noble/curves@~1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" + integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== + dependencies: + "@noble/hashes" "1.3.2" + "@noble/curves@~1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932" @@ -3416,6 +3428,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== +"@noble/hashes@1.3.2", "@noble/hashes@~1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" + integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -4444,6 +4461,11 @@ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== +"@scure/base@~1.1.2": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.3.tgz#8584115565228290a6c6c4961973e0903bb3df2f" + integrity sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q== + "@scure/bip32@1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87" @@ -4453,6 +4475,15 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip32@1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.2.tgz#90e78c027d5e30f0b22c1f8d50ff12f3fb7559f8" + integrity sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA== + dependencies: + "@noble/curves" "~1.2.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.2" + "@scure/bip39@1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b" @@ -4461,6 +4492,14 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip39@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" + integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== + dependencies: + "@noble/hashes" "~1.3.0" + "@scure/base" "~1.1.0" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -5689,6 +5728,13 @@ "@testing-library/dom" "^8.5.0" "@types/react-dom" "^18.0.0" +"@tokenbound/sdk@^0.3.7": + version "0.3.7" + resolved "https://registry.yarnpkg.com/@tokenbound/sdk/-/sdk-0.3.7.tgz#65f581e809f4d08f8e2c0d3e12dc89bb217f3551" + integrity sha512-nBP0cfNzNrqCRUTuNNOUaqPEca2tTpDip9NSi5sngCycpvI83C2DQEY810+x4tvTInlLBWwu+9M8FRgogmiRSA== + dependencies: + viem "^1.10.14" + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" @@ -7430,6 +7476,11 @@ abitype@0.9.3: resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.3.tgz#294d25288ee683d72baf4e1fed757034e3c8c277" integrity sha512-dz4qCQLurx97FQhnb/EIYTk/ldQ+oafEDUqC0VVIeQS1Q48/YWt/9YNfMmp9SLFqN41ktxny3c8aYxHjmFIB/w== +abitype@0.9.8: + version "0.9.8" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" + integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== + accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" @@ -20425,6 +20476,21 @@ viem@^1.0.0, viem@^1.3.0: isomorphic-ws "5.0.0" ws "8.12.0" +viem@^1.10.14: + version "1.12.2" + resolved "https://registry.yarnpkg.com/viem/-/viem-1.12.2.tgz#f698f5a57567ec81472aacc6801cf6eae9d41ce3" + integrity sha512-aCaUCyg72ES+jK4s6tVYOMnOt4if71RwzgiUAUpAuaCgvHFfh9DCnwuEfwkxEZLE2vafOsirgJ3fcn7nsDVQoQ== + dependencies: + "@adraffy/ens-normalize" "1.9.4" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@scure/bip32" "1.3.2" + "@scure/bip39" "1.2.1" + "@types/ws" "^8.5.5" + abitype "0.9.8" + isomorphic-ws "5.0.0" + ws "8.13.0" + vm-browserify@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"