MCPcopy Create free account

hub / github.com/subquery/subql / functions

Functions2,116 in github.com/subquery/subql

↓ 4 callersFunctionlog
(level: 'error' | 'debug' | 'info' | 'notice')
packages/cli/src/adapters/utils.ts:190
↓ 4 callersFunctionmakeRangeQuery
(tableName: SQL, blockHeight: SQL, sql: any)
packages/query/src/graphql/plugins/historical/utils.ts:6
↓ 4 callersMethodmatchesField
* If value is an array then it will do an OR operation *
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:115
↓ 4 callersFunctionmockMetadata
(initData: DatasourceParams[] = [])
packages/node-core/src/indexer/dynamic-ds.service.spec.ts:28
↓ 4 callersMethodonApplicationShutdown
()
packages/node-core/src/indexer/poi/poi.service.ts:28
↓ 4 callersFunctionprepareAbiDirectory
(abiPath: string, rootPath: string)
packages/cli/src/controller/generate-controller.ts:64
↓ 4 callersFunctionprojectsInfo
( authToken: string, org: string, projectName: string, url: string, type: string )
packages/cli/src/controller/deploy-controller.ts:117
↓ 4 callersFunctionpromptImageVersion
( runner: string, version: string, useDefaults: boolean | undefined, authToken: string, type: 'index
packages/cli/src/controller/deploy-controller.ts:292
↓ 4 callersFunctionqueryMeta
(key: K)
packages/node-core/src/indexer/storeModelProvider/metadata/cacheMetadata.test.ts:40
↓ 4 callersMethodrebaseWithArgs
(config: NodeConfig, configFromArgs?: Partial<IConfig>)
packages/node-core/src/configure/NodeConfig.ts:121
↓ 4 callersFunctionreindex
( startHeight: number, targetBlockHeader: Header, lastProcessed: {height: number; timestamp?: number},
packages/node-core/src/utils/reindex.ts:45
↓ 4 callersFunctionrelationKey
(relation: GraphQLRelationsType)
packages/node-core/src/db/migration-service/migration-helpers.ts:107
↓ 4 callersMethodscopedDictionaryEntries
( startBlockHeight: number, queryEndBlock: number, scaledBatchSize: number )
packages/node-core/src/indexer/dictionary/types.ts:30
↓ 4 callersFunctionsetDefaultData
(id: string, height: number, data?: any, flushData = true)
packages/node-core/src/indexer/storeModelProvider/model/cacheModel.test.ts:398
↓ 4 callersMethodsetStatus
(status: MultiChainRewindStatus, rewindTimestamp?: Date)
packages/node-core/src/indexer/multiChainRewind.service.ts:230
↓ 4 callersFunctionsubgraphDsToSubqlDs
( convertFunction: DsConvertFunction, subgraphDs: SubgraphDataSource[] )
packages/cli/src/controller/migrate/manifest/migrate-manifest.controller.ts:149
↓ 4 callersFunctiont
(t)
packages/node-core/test/sandbox/sourcemap-test-webpack.js:455
↓ 4 callersMethodtakeAll
()
packages/node-core/src/utils/queues/queue.ts:62
↓ 4 callersFunctiontoJsonObject
(object: unknown)
packages/common/src/project/utils.ts:318
↓ 4 callersMethodupdateChainTypes
(chainTypes: unknown)
packages/node-core/src/api.service.ts:29
↓ 4 callersMethodupdateMetadataSyncedPoi
* Update latestSyncedPoiHeight in Metadata table immediately * @param height * @param tx * @private
packages/node-core/src/indexer/poi/poiSync.service.ts:417
↓ 4 callersFunctionuploadToIpfs
( projectPaths: string[], authToken?: string, multichainProjectPath?: string, ipfsEndpoint?: string,
packages/cli/src/controller/publish-controller.ts:31
↓ 4 callersMethodwrite
(blockData: string | (() => string))
packages/node-core/src/indexer/monitor.service.ts:38
↓ 3 callersFunctionNOT_SUPPORT
(name: string)
packages/node/src/indexer/api.service.ts:44
↓ 3 callersMethodabortFetching
()
packages/node-core/src/indexer/blockDispatcher/block-dispatcher.spec.ts:148
↓ 3 callersFunctionaddTagsToForeignKeyMap
( map: Map<string, Map<string, SmartTags>>, tableName: string, foreignKey: string, newTags: SmartTags
packages/node-core/src/db/sync-helper.ts:119
↓ 3 callersMethodappendDynamicDatasources
(items: DatasourceParams[], tx?: Transaction)
packages/node-core/src/indexer/storeModelProvider/metadata/cacheMetadata.ts:127
↓ 3 callersMethodapplyBlockRange
(_setRecords: SetData<T>)
packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts:341
↓ 3 callersMethodapplyChildDebug
(category: string)
packages/utils/src/logger/logger.ts:154
↓ 3 callersFunctionbuildAdapter
( workingDir: string, args: BuildInputs, logger: Logger )
packages/cli/src/commands/build.ts:25
↓ 3 callersMethodbuildDictionaryEntryMap
(dataSources: BlockHeightMap<DS[]>)
packages/node-core/src/indexer/dictionary/types.ts:29
↓ 3 callersFunctionbuildSequelizeOptions
(nodeConfig: NodeConfig, option: DbOption)
packages/node-core/src/db/db.module.ts:61
↓ 3 callersFunctioncheckAndIncreaseAllowance
( signer: Signer, sdk: ContractSDK, amount: BigNumber, spender: string, logger: Logger, operationN
packages/cli/src/controller/network/utils.ts:10
↓ 3 callersFunctioncheckDepth
( node: ASTNode, fragments: Record<string, FragmentDefinitionNode>, depthSoFar: number, maxDepth: numb
packages/query/src/graphql/plugins/QueryDepthLimitPlugin.ts:50
↓ 3 callersFunctioncheckSpecRange
( specVersionRange: SpecVersionRange, specVersion: number, )
packages/node/src/utils/substrate.ts:173
↓ 3 callersMethodclear
* Clear any cached data in poi sync service * - clear latestSyncedPoi * - clear syncedPoiQueue that waiting to be processed
packages/node-core/src/indexer/poi/poiSync.service.ts:183
↓ 3 callersMethodclear
(blockHeight?: number)
packages/node-core/src/indexer/storeModelProvider/model/cacheModel.ts:370
↓ 3 callersFunctioncolorizeLevel
(level: number)
packages/utils/src/logger/colors.ts:23
↓ 3 callersFunctionconnectionFilterResolveBlockHeight
( fieldValue: unknown, foreignTableAlias: SQL, foreignTableFilterTypeName: string, queryBuilder: Query
packages/query/src/graphql/plugins/historical/PgConnectionArgFilterBackwardRelationsPlugin.ts:33
↓ 3 callersFunctionconstructDatasourcesYaml
(userInput: UserInput, projectPath: string)
packages/cli/src/controller/generate-controller.ts:214
↓ 3 callersFunctionconvertApiKey
(apiKey: Apikey)
packages/cli/src/controller/network/consumer-host/schemas.ts:22
↓ 3 callersFunctionconvertHostingPlan
(plan: ApiHostingPlan)
packages/cli/src/controller/network/consumer-host/schemas.ts:100
↓ 3 callersMethodcreate
( path: string, workerFns: (keyof T)[], hostFns: H, root: string, exitMain = true, wor
packages/node-core/src/indexer/worker/worker.builder.ts:206
↓ 3 callersMethodcreate
( endpoint: string, nodeConfig: NodeConfig, project: SubqueryProject, chainId?: string, )
packages/node/src/indexer/dictionary/v2/substrateDictionaryV2.ts:51
↓ 3 callersFunctioncreateApolloServer
()
packages/query/src/graphql/limit.test.ts:36
↓ 3 callersMethodcreateBlockFork
(blockHeight: number)
packages/node-core/src/indexer/monitor.service.ts:39
↓ 3 callersFunctioncreateSendNotificationTriggerFunction
(schema: string)
packages/node-core/src/db/sync-helper.ts:175
↓ 3 callersFunctiondefaultYamlManifestPath
(projectPath: string)
packages/cli/src/utils/utils.ts:247
↓ 3 callersFunctiondeleteProject
( authToken: string, organization: string, project_name: string, url: string )
packages/cli/src/controller/project-controller.ts:63
↓ 3 callersFunctiondeployTestProject
( validator: ValidateDataType, ipfs: string, org: string, project_name: string, testAuth: string,
packages/cli/src/controller/deploy-controller.test.ts:31
↓ 3 callersMethodenqueueBlocks
(enqueuingBlocks: (IBlock<FB> | number)[], latestHeight: number)
packages/node-core/src/indexer/fetch.service.ts:324
↓ 3 callersMethodensureGenesisPoi
* Read first record from poi table (not cache), then create genesis poi * _latestSyncedPoi exist, return if genesis poi been created . * @privat
packages/node-core/src/indexer/poi/poiSync.service.ts:300
↓ 3 callersFunctionextractType
(type: GraphQLOutputType)
packages/utils/src/graphql/entities.ts:423
↓ 3 callersFunctionfetchContractDeployHeight
( address: string, chainId: number | string )
packages/cli/src/utils/etherscan.ts:65
↓ 3 callersFunctionfetchNetworks
()
packages/cli/src/controller/init-controller.ts:79
↓ 3 callersFunctionfindNodePath
(nodes: readonly SelectionNode[], path: string[])
packages/query/src/graphql/plugins/GetMetadataPlugin.ts:171
↓ 3 callersFunctionflush
(height?: number)
packages/node-core/src/indexer/storeModelProvider/model/cacheModel.spec.ts:89
↓ 3 callersMethodflush
()
packages/node-core/src/utils/queues/queue.ts:9
↓ 3 callersMethodflushAndWaitForCapacity
(forceFlush?: boolean)
packages/node-core/src/indexer/storeModelProvider/storeCache.service.ts:127
↓ 3 callersFunctionformatColumnName
(columnName: string)
packages/node-core/src/db/sequelizeUtil.ts:24
↓ 3 callersMethodfromAboveHeight
(height: number)
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:95
↓ 3 callersMethodfromBelowHeight
(height: number)
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:76
↓ 3 callersFunctiongenBlockDate
(height: number)
packages/node-core/src/indexer/store.service.test.ts:23
↓ 3 callersFunctiongenerateHashedIndexName
(modelName: string, indexOptions: IndexesOptions)
packages/node-core/src/db/sync-helper.ts:418
↓ 3 callersFunctiongenerateManifestYaml
( manifestPath: string, userInput: UserInput, existingManifestData: Document )
packages/cli/src/controller/generate-controller.ts:416
↓ 3 callersFunctiongetApiDecodeErrMsg
(errMsg: string)
packages/node/src/utils/substrate.ts:500
↓ 3 callersMethodgetBestHeight
* Gets the latest height of the chain, this should be unfinalized. * Or if the chain has instant finalization this would be the same as the finaliz
packages/node-core/src/blockchain.service.ts:54
↓ 3 callersMethodgetCache
()
packages/node-core/src/indexer/inMemoryCache.service.ts:16
↓ 3 callersMethodgetDataSources
* This gets used when indexing blocks, it needs to be async to ensure dynamicDs is updated within workers * *
packages/node-core/src/indexer/types.ts:64
↓ 3 callersFunctiongetDbSizeAndUpdateMetadata
(sequelize: Sequelize, schema: string)
packages/node-core/src/db/sync-helper.ts:355
↓ 3 callersFunctiongetDsProcessor
* This function can be overwritten to provide extra values to the sandbox * E.g Cosmos injecting the registry *
packages/node-core/src/indexer/indexer.manager.ts:79
↓ 3 callersFunctiongetExistingProjectSchema
( nodeConfig: NodeConfig, sequelize: Sequelize )
packages/node-core/src/utils/project.ts:58
↓ 3 callersMethodgetFieldValue
(endpoint: string, field: K)
packages/node-core/src/indexer/connectionPoolState.manager.ts:39
↓ 3 callersFunctiongetFkConstraint
(tableName: string, foreignKey: string)
packages/node-core/src/db/sync-helper.ts:76
↓ 3 callersFunctiongetHistoricalUnit
(mode: HistoricalMode, header: Header)
packages/node-core/src/utils/blocks.ts:57
↓ 3 callersMethodgetLastProcessedHeight
()
packages/node-core/src/indexer/project.service.ts:281
↓ 3 callersFunctiongetMultichainManifestPath
(subquery: string)
packages/common/src/project/utils.ts:149
↓ 3 callersFunctiongetNetworkFamily
(network: string)
packages/cli/src/utils/networkFamily.ts:13
↓ 3 callersFunctiongetOneBy
(field: 'id', value: string)
packages/node-core/src/indexer/storeModelProvider/model/cacheModel.test.ts:120
↓ 3 callersMethodgetPkg
()
packages/types-core/src/project/readers/reader.ts:12
↓ 3 callersMethodgetPoisByRange
(@Query(ValidationPipe) blockRange: BlockRangeDto)
packages/node-core/src/admin/admin.controller.ts:71
↓ 3 callersFunctiongetProjectNetwork
(rawManifest: unknown)
packages/common/src/project/load.ts:58
↓ 3 callersFunctiongetSchema
(_schema: GraphQLSchema | string)
packages/utils/src/graphql/entities.ts:412
↓ 3 callersMethodgetSpecFromMap
(height: number)
packages/node/src/indexer/worker/worker.service.ts:85
↓ 3 callersMethodgetStartBlockFromDataSources
()
packages/node-core/src/indexer/project.service.ts:294
↓ 3 callersMethodgetTests
()
packages/node-core/src/indexer/sandbox.ts:235
↓ 3 callersFunctiongetTsManifest
(location: string)
packages/cli/src/utils/build.ts:110
↓ 3 callersMethodindexBlock
(block: IBlock<B>, datasources: DS[], ...args: any[])
packages/node-core/src/indexer/types.ts:48
↓ 3 callersFunctionisProjectSpecV1_0_0
(projectSpec: ProjectSpecBase)
packages/cli/src/types.ts:51
↓ 3 callersFunctionisTaskFlushedError
(e: any)
packages/node-core/src/utils/queues/autoQueue.ts:16
↓ 3 callersMethodlatestIndex
()
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:46
↓ 3 callersFunctionloadMultichainManifest
(multichainManifestPath: string)
packages/cli/src/controller/add-chain-controller.ts:74
↓ 3 callersFunctionmakeDs
(handlers: SubstrateRuntimeHandler[])
packages/node-core/src/utils/project.spec.ts:32
↓ 3 callersFunctionmapToObject
(map: Map<string | number, unknown>)
packages/common/src/project/utils.ts:331
↓ 3 callersFunctionmatchMetadataTableName
(name: string)
packages/query/src/graphql/plugins/GetMetadataPlugin.ts:79
↓ 3 callersMethodmatchesFields
* Runs an AND operation over all the matchers *
packages/node-core/src/indexer/storeModelProvider/setValueModel.ts:136
↓ 3 callersMethodmerge
(config: Partial<IConfig>)
packages/node-core/src/configure/NodeConfig.ts:392
↓ 3 callersFunctionmergeNumAndBlocks
( numberBlocks: number[], batchBlocks: (IBlock<FB> | number)[] )
packages/node-core/src/indexer/dictionary/utils.ts:14
↓ 3 callersFunctionmergeNumAndBlocksToNums
( firstBlocks: (number | IBlock<FB>)[], secondBlocks: (number | IBlock<FB>)[] )
packages/node-core/src/indexer/dictionary/utils.ts:38
↓ 3 callersMethodmigratePoi
* Migrate previous poi table (with mmr etc) * @param schema * @private
packages/node-core/src/indexer/poi/poi.service.ts:79
← previousnext →301–400 of 2,116, ranked by callers