MCPcopy Create free account

hub / github.com/subquery/subql / functions

Functions2,116 in github.com/subquery/subql

↓ 284 callersMethodmap
(fn: (value: T) => T2)
packages/node-core/src/utils/blockHeightMap.ts:105
↓ 129 callersMethodset
(key: K, value: MetadataKeys[K], tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/metadata/metadata.ts:20
↓ 128 callersMethodinit
(historical: HistoricalMode, meta: MetadataRepo, poi?: PoiRepo)
packages/node-core/src/indexer/storeModelProvider/types.ts:20
↓ 117 callersMethodfind
(key: K, fallback?: MetadataKeys[K])
packages/node-core/src/indexer/storeModelProvider/metadata/metadata.ts:17
↓ 111 callersMethodget
(id: string, tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/model/model.ts:15
↓ 98 callersMethodlog
(message: any)
packages/node-core/src/logger.ts:57
↓ 86 callersMethoderror
(message: any, trace?: string)
packages/node-core/src/logger.ts:49
↓ 86 callersFunctionmockBlock
(height: number, hash: string, parentHash?: string)
packages/node-core/src/indexer/unfinalizedBlocks.service.spec.ts:68
↓ 70 callersMethodwarn
(message: any)
packages/node-core/src/logger.ts:62
↓ 69 callersFunctiongetLogger
(category: string)
packages/node-core/src/logger.ts:29
↓ 58 callersMethodcommit
()
packages/node-core/src/indexer/storeModelProvider/exporters/exporter.ts:56
↓ 54 callersMethodprocessUnfinalizedBlocks
(block: IBlock<B> | undefined)
packages/node-core/src/indexer/unfinalizedBlocks.service.ts:33
↓ 54 callersMethodtransaction
()
packages/node-core/src/indexer/store.service.ts:121
↓ 51 callersMethodget
(entity: string, id: string)
packages/types-core/src/store.ts:37
↓ 38 callersFunctiondelay
(sec: number)
packages/common/src/project/utils.ts:196
↓ 33 callersFunctionexitWithError
(error: Error | string, logger?: Pino.Logger, code = 1)
packages/node-core/src/process.ts:13
↓ 33 callersFunctiongetAllEntitiesRelations
(_schema: GraphQLSchema | string | null)
packages/utils/src/graphql/entities.ts:67
↓ 33 callersMethodgetByFields
(filters: FieldsExpression<T>[], options: GetOptions<T>, tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/model/model.ts:17
↓ 31 callersFunctionzodToFlags
(schema: ZodObject<Shape>)
packages/cli/src/adapters/utils.ts:103
↓ 30 callersFunctiondelay
(sec: number)
packages/node-core/src/utils/promise.ts:5
↓ 29 callersFunctionloadGqlSchema
(fileName: string)
packages/node-core/src/db/migration-service/SchemaMigration.service.test.ts:53
↓ 29 callersMethodregisterFinalizedBlock
(header: Header)
packages/node-core/src/indexer/unfinalizedBlocks.service.ts:41
↓ 28 callersFunctionbuildSchemaFromDocumentNode
(doc: DocumentNode)
packages/utils/src/graphql/schema.ts:24
↓ 28 callersFunctionhandledStringify
(obj: any, depth = 0)
packages/node-core/src/utils/string.ts:29
↓ 28 callersMethodtoJSON
()
packages/node-core/src/utils/bigint.ts:5
↓ 27 callersMethodcreate
( id: number, chainBlockHash: string | Uint8Array | null, operationHashRoot: Uint8Array | null,
packages/node-core/src/indexer/poi/PoiBlock.ts:72
↓ 26 callersFunctioncommandLogger
(command: Command)
packages/cli/src/adapters/utils.ts:204
↓ 26 callersFunctionmcpLogger
(server: McpServer['server'])
packages/cli/src/adapters/utils.ts:189
↓ 26 callersFunctionwithStructuredResponse
( p: (input: I, meta: RequestHandlerExtra<ServerRequest, ServerNotification>) => Promise<O> )
packages/cli/src/adapters/utils.ts:415
↓ 25 callersFunctiongenBlockTimestamp
(height: number)
packages/node-core/src/indexer/multiChainRewind.service.test.ts:25
↓ 25 callersFunctiongetMCPStructuredResponse
( result: z.ZodObject<T> | z.ZodArray<z.ZodObject<T>> )
packages/cli/src/adapters/utils.ts:398
↓ 24 callersMethoddebug
()
packages/node-core/src/configure/NodeConfig.ts:214
↓ 23 callersMethodadd
* Import a file or data into IPFS
packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:51
↓ 23 callersMethodforRoot
(option: DbOption = DEFAULT_DB_OPTION)
packages/node-core/src/db/db.module.ts:110
↓ 23 callersFunctionmockIblock
(n: number)
packages/node-core/src/indexer/dictionary/utils.spec.ts:7
↓ 23 callersFunctionmonitorWrite
(blockData: string | (() => string))
packages/node-core/src/process.ts:21
↓ 23 callersMethodrun
(transaction: Transaction)
packages/node-core/src/db/migration-service/migration.ts:90
↓ 22 callersMethodgetProjectSchema
()
packages/types-core/src/project/readers/reader.ts:11
↓ 20 callersFunctionmakeCLIPrompt
()
packages/cli/src/adapters/utils.ts:337
↓ 19 callersMethodcreate
(config: { parseManifest: (raw: unknown) => CommonProjectManifestV1_0_0Impl; path: string; rawMani
packages/node-core/src/configure/SubqueryProject.ts:55
↓ 19 callersMethodcreate
( endpoint: string, fetchBlocksBatches: GetFetchFunc, args: { chainTypes?: RegisteredTypes },
packages/node/src/indexer/apiPromise.connection.ts:58
↓ 19 callersMethodgetModel
(entity: string)
packages/node-core/src/indexer/storeModelProvider/types.ts:22
↓ 19 callersMethodput
(operation: OperationType, entity: string, data: Entity | string)
packages/node-core/src/indexer/StoreOperations.ts:57
↓ 18 callersMethodenqueueBlocks
(heights: (IBlock<B> | number)[], latestBufferHeight: number)
packages/node-core/src/indexer/blockDispatcher/base-block-dispatcher.ts:33
↓ 18 callersFunctionloadSubstrateProjectManifest
(file: string)
packages/common-substrate/src/project/project.spec.ts:18
↓ 18 callersMethodset
(entity: string, id: string, data: Entity)
packages/types-core/src/store.ts:52
↓ 18 callersMethodvalidate
()
packages/types-core/src/project/types.ts:129
↓ 16 callersMethodacquireGlobalRewindLock
(rewindTimestamp: Date)
packages/node-core/src/indexer/storeModelProvider/global/global.ts:15
↓ 16 callersFunctioncodegen
(projectPath: string, fileNames: string[] = [DEFAULT_MANIFEST])
packages/cli/src/controller/codegen-controller.ts:189
↓ 16 callersFunctionmakeTempDir
()
packages/common/src/project/utils.ts:53
↓ 16 callersMethodon
(evt: 'size', callback: (size: number) => void | Promise<void>)
packages/node-core/src/utils/queues/autoQueue.ts:217
↓ 15 callersFunctionformatSQT
(amount: BigNumberish, places = SQT_DECIMAL, symbol = 'SQT')
packages/cli/src/controller/network/constants.ts:162
↓ 15 callersFunctioninsertMetadata
(key: string, value: string)
packages/query/src/graphql/graphql.test.ts:38
↓ 15 callersMethodisIndexed
(entity: string, field: string)
packages/node-core/src/indexer/store.service.ts:416
↓ 15 callersFunctionresolve
(source, args, ctx, info)
packages/query/src/graphql/plugins/PgSearchPlugin.ts:21
↓ 15 callersFunctionsetup
( schemaName: string, initialSchema: GraphQLSchema, sequelize: Sequelize, config = new NodeConfig({} a
packages/node-core/src/db/migration-service/SchemaMigration.service.test.ts:26
↓ 14 callersMethodaddToConnections
(endpoint: string, primary: boolean, initFailed: boolean)
packages/node-core/src/indexer/connectionPoolState.manager.ts:35
↓ 14 callersFunctionerrorHandle
(e: any, msg: string)
packages/cli/src/utils/utils.ts:94
↓ 14 callersFunctionextractFromTs
( manifest: string, patterns: {[key: string]: RegExp | undefined} )
packages/cli/src/utils/utils.ts:190
↓ 14 callersFunctiongetSignerOrProvider
( network: SQNetworks, logger: Logger, rpcUrl?: string, allowNewWalletConnect = false )
packages/cli/src/controller/network/constants.ts:62
↓ 14 callersMethodgetStore
()
packages/node-core/src/indexer/store.service.ts:445
↓ 14 callersFunctionhashName
(schema: string, type: string, tableName: string)
packages/utils/src/query/metadata.ts:16
↓ 13 callersFunctionargv
(arg: string)
packages/query/src/yargs.ts:158
↓ 13 callersMethodbulkCreate
(data: T[], blockHeight: number, tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/model/model.ts:20
↓ 13 callersMethoddestroy
()
packages/cli/src/jsonrpc/client/ws.ts:52
↓ 13 callersMethodgetAddress
()
packages/cli/src/controller/network/walletconnect-signer.ts:53
↓ 13 callersMethodgetData
( startBlock: number, endBlock: number, limit: number, fieldSelector?: FieldSelector )
packages/node-core/src/indexer/dictionary/types.ts:15
↓ 13 callersMethodgetFilePath
(file: keyof typeof FileLocation)
packages/node-core/src/indexer/monitor.service.ts:389
↓ 13 callersMethodgetHeader
()
packages/node-core/src/indexer/types.ts:71
↓ 13 callersFunctionmainThreadOnly
()
packages/node-core/src/utils/decorators.ts:8
↓ 13 callersMethodon
(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb)
packages/node/src/indexer/x-provider/http.ts:152
↓ 13 callersMethodreleaseChainRewindLock
* Check if the height is consistent before unlocking. * @param tx * @param rewindTimestamp The timestamp to roll back to, in milliseconds. *
packages/node-core/src/indexer/storeModelProvider/global/global.ts:23
↓ 13 callersMethodremove
(entity: string, id: string)
packages/types-core/src/store.ts:56
↓ 13 callersFunctionrequireSigner
(signerOrProvider: Signer | Provider)
packages/cli/src/controller/network/constants.ts:96
↓ 12 callersFunctionloadFromJsonOrYaml
(file: string)
packages/common/src/project/load.ts:14
↓ 11 callersMethodcreate
* Creates and authenticates a new ConsumerHostClient instance.
packages/cli/src/controller/network/consumer-host/client.ts:37
↓ 11 callersMethodgetValues
()
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:72
↓ 11 callersMethodhandleError
(error: Error)
packages/node-core/src/api.service.ts:26
↓ 11 callersFunctioni
(e, t)
packages/node-core/test/sandbox/sourcemap-test-webpack.js:76
↓ 11 callersFunctionjsonToTable
(input: T[])
packages/cli/src/utils/jsonToTable.ts:4
↓ 11 callersFunctionunwrapProxyArgs
(fn: (...args: T) => R)
packages/node-core/src/indexer/worker/utils.ts:28
↓ 11 callersFunctionyargsToIConfig
(yargs: Args, nameMapping: Record<string, string> = {})
packages/node-core/src/configure/configure.module.ts:51
↓ 10 callersFunctionbuildDictionaryV1QueryEntries
( dataSources: SubstrateDatasource[], getDsProcessor: GetDsProcessor, )
packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.ts:106
↓ 10 callersMethodcat
* Returns content of the file addressed by a valid IPFS Path or CID
packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:44
↓ 10 callersMethoderror
(message: any, trace?: string)
packages/query/src/utils/logger.ts:23
↓ 10 callersFunctiongetBlockHeight
(block: number | IBlock<B>)
packages/node-core/src/indexer/dictionary/utils.ts:7
↓ 10 callersMethodgetOperationLeafCount
()
packages/node-core/src/indexer/StoreOperations.ts:89
↓ 10 callersFunctiongetTypeByScalarName
(type: N | string)
packages/utils/src/types/generalTypes.ts:16
↓ 10 callersFunctionloadDependency
(network: N, projectDir: string)
packages/cli/src/modulars/moduleLoader.ts:13
↓ 10 callersFunctionloadEnvConfig
(projectDir: string)
packages/cli/src/utils/env.ts:17
↓ 10 callersFunctionmakeDs
(handlers: SubstrateRuntimeHandler[])
packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.spec.ts:70
↓ 10 callersMethodmakeOperationMerkleTree
()
packages/node-core/src/indexer/StoreOperations.ts:77
↓ 10 callersFunctionprepareInputFragments
( type: 'event' | 'function', rawInput: string | undefined, availableFragments: Record<string, T>, abi
packages/cli/src/controller/generate-controller.ts:239
↓ 10 callersMethodput
(item: T)
packages/node-core/src/utils/queues/queue.ts:34
↓ 10 callersMethodsend
* @summary Send HTTP POST Request with Body to configured HTTP Endpoint.
packages/node/src/indexer/x-provider/http.ts:165
↓ 10 callersMethodspecChanged
(height: number, specVersion?: number)
packages/node/src/indexer/runtime/runtimeService.ts:78
↓ 10 callersMethodupdateQueriesMap
(dataSources: BlockHeightMap<DS[]>)
packages/node-core/src/indexer/dictionary/types.ts:24
↓ 10 callersFunctionvalidate
(raw: unknown)
packages/common/src/project/versioned/v1_0_0/model.spec.ts:58
↓ 10 callersFunctionzodToArgs
(schema: ZodObject<Shape>)
packages/cli/src/adapters/utils.ts:146
↓ 9 callersMethodbulkRemove
(ids: string[], blockHeight: number, tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/model/model.ts:23
next →1–100 of 2,116, ranked by callers