SYMBOL INDEX (2051 symbols across 282 files) FILE: ot-node.js class OTNode (line 19) | class OTNode { method constructor (line 20) | constructor(config) { method start (line 32) | async start() { method checkNodeVersion (line 81) | checkNodeVersion() { method initializeLogger (line 93) | initializeLogger() { method initializeFileService (line 97) | initializeFileService() { method initializeAutoUpdaterModule (line 101) | initializeAutoUpdaterModule() { method initializeConfiguration (line 109) | initializeConfiguration(userConfig) { method initializeDependencyContainer (line 123) | async initializeDependencyContainer() { method initializeModules (line 131) | async initializeModules() { method initializeEventEmitter (line 148) | initializeEventEmitter() { method initializeRouters (line 155) | async initializeRouters() { method createProfiles (line 182) | async createProfiles() { method initializeCommandExecutor (line 254) | async initializeCommandExecutor() { method resumeCommandExecutor (line 270) | resumeCommandExecutor() { method startNetworkModule (line 283) | async startNetworkModule() { method initializeShardingTableService (line 288) | async initializeShardingTableService() { method initializeBlockchainEventsService (line 301) | initializeBlockchainEventsService() { method removeUpdateFile (line 314) | async removeUpdateFile() { method checkForUpdate (line 322) | async checkForUpdate() { method initializeParanets (line 333) | async initializeParanets() { method initializeProofing (line 416) | async initializeProofing() { method initializeClaimRewards (line 421) | async initializeClaimRewards() { method initializeSyncService (line 426) | async initializeSyncService() { method stop (line 431) | stop(code = 0) { method handleExit (line 436) | async handleExit() { FILE: scripts/copy-assertions.js function getAssertions (line 45) | async function getAssertions(implementation, repository) { function logPercentage (line 58) | function logPercentage(index, max) { FILE: scripts/set-ask.js function getGasPrice (line 19) | async function getGasPrice(gasPriceOracleLink, hubContractAddress, provi... function setAsk (line 44) | async function setAsk(rpcEndpoint, ask, walletPrivateKey, hubContractAdd... FILE: scripts/set-operator-fee.js function setOperatorFee (line 19) | async function setOperatorFee(rpcEndpoint, operatorFee, walletPrivateKey... FILE: scripts/set-stake.js function getGasPrice (line 31) | async function getGasPrice(gasPriceOracleLink, hubContractAddress, provi... function setStake (line 63) | async function setStake( FILE: scripts/utils.js function validateArguments (line 1) | function validateArguments(received, expected) { FILE: src/commands/blockchain-event-listener/blockchain-event-listener-command.js class BlockchainEventListenerCommand (line 13) | class BlockchainEventListenerCommand extends Command { method constructor (line 14) | constructor(ctx) { method execute (line 29) | async execute(command) { method fetchAndHandleBlockchainEvents (line 51) | async fetchAndHandleBlockchainEvents(blockchainId, repositoryTransacti... method isIndependentEvent (line 132) | isIndependentEvent(contractName, eventName) { method processIndependentEvents (line 137) | async processIndependentEvents(currentBlock, repositoryTransaction) { method processDependentEvents (line 145) | async processDependentEvents(currentBlock, repositoryTransaction) { method processEvent (line 200) | async processEvent(event, currentBlock, repositoryTransaction) { method handleParameterChangedEvent (line 218) | async handleParameterChangedEvent(event) { method handleNewContractEvent (line 237) | async handleNewContractEvent(event, currentBlock, repositoryTransactio... method handleContractChangedEvent (line 298) | async handleContractChangedEvent(event, currentBlock, repositoryTransa... method handleNewAssetStorageEvent (line 359) | async handleNewAssetStorageEvent(event, currentBlock, repositoryTransa... method handleAssetStorageChangedEvent (line 419) | async handleAssetStorageChangedEvent(event, currentBlock, repositoryTr... method handleKnowledgeCollectionCreatedEvent (line 479) | async handleKnowledgeCollectionCreatedEvent(event) { method handleAssetUpdatedEvent (line 492) | async handleAssetUpdatedEvent(event) { method recover (line 542) | async recover() { method default (line 551) | default(map) { FILE: src/commands/blockchain-event-listener/event-listener-command.js class EventListenerCommand (line 10) | class EventListenerCommand extends Command { method constructor (line 11) | constructor(ctx) { method calculateCommandPeriod (line 19) | calculateCommandPeriod() { method execute (line 29) | async execute() { method recover (line 60) | async recover(command) { method default (line 71) | default(map) { FILE: src/commands/cleaners/ask-cleaner-command.js class AskCleanerCommand (line 10) | class AskCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/ask-response-cleaner-command.js class AskResponseCleanerCommand (line 10) | class AskResponseCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/batch-get-cleaner-command.js class BatchGetCleanerCommand (line 10) | class BatchGetCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/blockchain-event-cleaner-command.js class BlockchainEventCleanerCommand (line 9) | class BlockchainEventCleanerCommand extends CleanerCommand { method deleteRows (line 10) | async deleteRows(nowTimestamp) { method default (line 22) | default(map) { FILE: src/commands/cleaners/cleaner-command.js class CleanerCommand (line 4) | class CleanerCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 14) | async execute() { method deleteRows (line 27) | async deleteRows(nowTimestamp) { method recover (line 36) | async recover(command) { FILE: src/commands/cleaners/commands-cleaner-command.js class CommandsCleanerCommand (line 8) | class CommandsCleanerCommand extends CleanerCommand { method deleteRows (line 9) | async deleteRows(nowTimestamp) { method default (line 21) | default(map) { FILE: src/commands/cleaners/finality-cleaner-command.js class FinalityCleanerCommand (line 10) | class FinalityCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/finality-response-cleaner-command.js class FinalityResponseCleanerCommand (line 10) | class FinalityResponseCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/get-cleaner-command.js class GetCleanerCommand (line 10) | class GetCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/get-response-cleaner-command.js class GetResponseCleanerCommand (line 10) | class GetResponseCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/operation-id-cleaner-command.js class OperationIdCleanerCommand (line 14) | class OperationIdCleanerCommand extends Command { method constructor (line 15) | constructor(ctx) { method execute (line 26) | async execute() { method recover (line 78) | async recover(command) { method default (line 88) | default(map) { FILE: src/commands/cleaners/pending-storage-cleaner-command.js class PendingStorageCleanerCommand (line 12) | class PendingStorageCleanerCommand extends Command { method constructor (line 13) | constructor(ctx) { method execute (line 23) | async execute() { method recover (line 42) | async recover(command) { method default (line 52) | default(map) { FILE: src/commands/cleaners/publish-cleaner-command.js class PublishCleanerCommand (line 10) | class PublishCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/publish-response-cleaner-command.js class PublishResponseCleanerCommand (line 10) | class PublishResponseCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/update-cleaner-command.js class UpdateCleanerCommand (line 10) | class UpdateCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/cleaners/update-response-cleaner-command.js class UpdateResponseCleanerCommand (line 10) | class UpdateResponseCleanerCommand extends CleanerCommand { method deleteRows (line 11) | async deleteRows(nowTimestamp) { method default (line 24) | default(map) { FILE: src/commands/command-executor.js class CommandExecutor (line 14) | class CommandExecutor { method constructor (line 15) | constructor(ctx) { method addDefaultCommands (line 190) | async addDefaultCommands() { method resumeCommandExecutor (line 199) | async resumeCommandExecutor() { method pauseCommandExecutor (line 212) | async pauseCommandExecutor() { method _addDefaultCommand (line 226) | async _addDefaultCommand(name) { method removePeriodicCommand (line 249) | async removePeriodicCommand(commandNames) { method add (line 266) | async add(addCommand, addDelay) { method commandExecutorShutdown (line 292) | async commandExecutorShutdown() { FILE: src/commands/command-resolver.js class CommandResolver (line 4) | class CommandResolver { method constructor (line 5) | constructor(ctx) { method resolve (line 15) | resolve(name) { FILE: src/commands/command.js class Command (line 6) | class Command { method constructor (line 7) | constructor(ctx) { method execute (line 17) | async execute() { method recover (line 26) | async recover(command) { method expired (line 36) | async expired() { method pack (line 44) | pack(data) { method unpack (line 52) | unpack(data) { method continueSequence (line 62) | continueSequence(data, sequence, opts) { method build (line 93) | build(name, data, sequence, opts) { method retryFinished (line 106) | async retryFinished(command) { method handleError (line 118) | async handleError(operationId, blockchain, errorMessage, errorName, ma... method default (line 135) | default() { method empty (line 143) | static empty() { method repeat (line 153) | static repeat() { method retry (line 163) | static retry() { FILE: src/commands/common/dial-peers-command.js class DialPeersCommand (line 9) | class DialPeersCommand extends Command { method constructor (line 10) | constructor(ctx) { method execute (line 20) | async execute() { method recover (line 41) | async recover(command) { method default (line 51) | default(map) { FILE: src/commands/common/log-public-addresses-command.js class LogPublicAddressesCommand (line 5) | class LogPublicAddressesCommand extends Command { method constructor (line 6) | constructor(ctx) { method execute (line 17) | async execute() { method recover (line 63) | async recover(command) { method default (line 73) | default(map) { FILE: src/commands/common/otnode-update-command.js class OtnodeUpdateCommand (line 5) | class OtnodeUpdateCommand extends Command { method constructor (line 6) | constructor(ctx) { method execute (line 18) | async execute() { method recover (line 55) | async recover(command) { method handleError (line 61) | async handleError(errorMessage) { method default (line 70) | default(map) { FILE: src/commands/common/send-telemetry-command.js class SendTelemetryCommand (line 11) | class SendTelemetryCommand extends Command { method constructor (line 12) | constructor(ctx) { method execute (line 27) | async execute() { method recover (line 83) | async recover(command) { method handleError (line 89) | async handleError(errorMessage) { method default (line 98) | default(map) { method getUnpublishedEvents (line 111) | async getUnpublishedEvents() { method removePublishedEvents (line 115) | async removePublishedEvents(events) { FILE: src/commands/common/send-transaction-command.js class SendTransactionCommand (line 4) | class SendTransactionCommand extends Command { method sendTransactionAndHandleResult (line 5) | async sendTransactionAndHandleResult(transactionCompletePromise, data,... method default (line 143) | default(map) { FILE: src/commands/common/sharding-table-check-command.js class ShardingTableCheckCommand (line 7) | class ShardingTableCheckCommand extends Command { method constructor (line 8) | constructor(ctx) { method execute (line 22) | async execute() { method recover (line 55) | async recover(command) { method handleError (line 61) | async handleError(errorMessage) { method default (line 70) | default(map) { FILE: src/commands/common/validate-asset-command.js class ValidateAssetCommand (line 9) | class ValidateAssetCommand extends Command { method constructor (line 10) | constructor(ctx) { method execute (line 25) | async execute(command) { method retryFinished (line 170) | async retryFinished(command) { method default (line 187) | default(map) { FILE: src/commands/paranet/paranet-sync-command.js class ParanetSyncCommand (line 21) | class ParanetSyncCommand extends Command { method constructor (line 22) | constructor(ctx) { method execute (line 36) | async execute(command) { method syncKcState (line 134) | async syncKcState( method syncKc (line 289) | async syncKc(paranetUAL, ual, paranetId, paranetNodesAccessPolicy, ope... method recover (line 341) | async recover(command) { method default (line 352) | default(map) { FILE: src/commands/paranet/start-paranet-sync-commands.js class StartParanetSyncCommands (line 9) | class StartParanetSyncCommands extends Command { method constructor (line 10) | constructor(ctx) { method execute (line 21) | async execute() { method recover (line 78) | async recover(command) { method default (line 89) | default(map) { FILE: src/commands/protocols/ask/receiver/v1.0.0/v1-0-0-handle-ask-request-command.js class HandleAskRequestCommand (line 8) | class HandleAskRequestCommand extends HandleProtocolMessageCommand { method constructor (line 9) | constructor(ctx) { method prepareMessage (line 21) | async prepareMessage(commandData) { method default (line 66) | default(map) { FILE: src/commands/protocols/ask/sender/ask-find-shard-command.js class AskFindShardCommand (line 4) | class AskFindShardCommand extends FindShardCommand { method constructor (line 5) | constructor(ctx) { method getOperationCommandSequence (line 15) | getOperationCommandSequence(nodePartOfShard, commandData) { method default (line 24) | default(map) { FILE: src/commands/protocols/ask/sender/ask-schedule-messages-command.js class AskScheduleMessagesCommand (line 4) | class AskScheduleMessagesCommand extends ProtocolScheduleMessagesCommand { method constructor (line 5) | constructor(ctx) { method getNextCommandData (line 14) | getNextCommandData(command) { method default (line 28) | default(map) { FILE: src/commands/protocols/ask/sender/network-ask-command.js class NetworkAskCommand (line 4) | class NetworkAskCommand extends NetworkProtocolCommand { method constructor (line 5) | constructor(ctx) { method default (line 18) | default(map) { FILE: src/commands/protocols/ask/sender/v1.0.0/v1-0-0-ask-request-command.js class AskRequestCommand (line 9) | class AskRequestCommand extends ProtocolRequestCommand { method constructor (line 10) | constructor(ctx) { method shouldSendMessage (line 18) | async shouldSendMessage(command) { method prepareMessage (line 33) | async prepareMessage(command) { method messageTimeout (line 44) | messageTimeout() { method handleAck (line 48) | async handleAck(command, responseData) { method default (line 67) | default(map) { FILE: src/commands/protocols/common/find-curated-paranet-nodes-command.js class FindCuratedParanetNodesCommand (line 4) | class FindCuratedParanetNodesCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 19) | async execute(command) { method findNodes (line 69) | async findNodes(blockchainId, operationId, paranetId) { method default (line 113) | default(map) { FILE: src/commands/protocols/common/find-shard-command.js class FindShardCommand (line 4) | class FindShardCommand extends Command { method constructor (line 5) | constructor(ctx) { method getOperationCommandSequence (line 15) | getOperationCommandSequence(nodePartOfShard, commandData) { method execute (line 23) | async execute(command) { method findShardNodes (line 101) | async findShardNodes(blockchainId) { method default (line 122) | default(map) { FILE: src/commands/protocols/common/handle-protocol-message-command.js class HandleProtocolMessageCommand (line 4) | class HandleProtocolMessageCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 22) | async execute(command) { method prepareMessage (line 56) | async prepareMessage() { method validateShard (line 60) | async validateShard(blockchain) { method validateAssertionId (line 70) | async validateAssertionId(blockchain, contract, tokenId, assertionId, ... method validateReceivedData (line 84) | async validateReceivedData(operationId, datasetRoot, dataset, blockcha... method handleError (line 113) | async handleError(errorMessage, command) { FILE: src/commands/protocols/common/network-protocol-command.js class NetworkProtocolCommand (line 4) | class NetworkProtocolCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 17) | async execute(command) { method getBatchSize (line 45) | getBatchSize() { method getMinAckResponses (line 49) | getMinAckResponses() { method default (line 58) | default(map) { FILE: src/commands/protocols/common/protocol-message-command.js class ProtocolMessageCommand (line 4) | class ProtocolMessageCommand extends Command { method constructor (line 5) | constructor(ctx) { method executeProtocolMessageCommand (line 10) | async executeProtocolMessageCommand(command, messageType) { method shouldSendMessage (line 20) | async shouldSendMessage() { method prepareMessage (line 24) | async prepareMessage() { method sendProtocolMessage (line 28) | async sendProtocolMessage(command, message, messageType) { method messageTimeout (line 58) | messageTimeout() { method handleAck (line 62) | async handleAck(command) { method handleBusy (line 66) | async handleBusy() { method handleNack (line 70) | async handleNack(command, responseData) { method recover (line 78) | async recover(command) { method markResponseAsFailed (line 86) | async markResponseAsFailed(command, errorMessage) { method retryFinished (line 92) | async retryFinished(command) { FILE: src/commands/protocols/common/protocol-request-command.js class ProtocolRequestCommand (line 5) | class ProtocolRequestCommand extends ProtocolMessageCommand { method execute (line 6) | async execute(command) { method handleAck (line 15) | async handleAck(command, responseData) { FILE: src/commands/protocols/common/protocol-schedule-messages-command.js class ProtocolScheduleMessagesCommand (line 4) | class ProtocolScheduleMessagesCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 18) | async execute(command) { method getNextCommandData (line 78) | getNextCommandData(command) { method default (line 91) | default(map) { FILE: src/commands/protocols/common/validate-assertion-metadata-command.js class ValidateAssertionMetadataCommand (line 4) | class ValidateAssertionMetadataCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 14) | async execute(command) { method default (line 67) | default(map) { FILE: src/commands/protocols/finality/receiver/publish-finality-save-ack-command.js class PublishFinalitySaveAckCommand (line 8) | class PublishFinalitySaveAckCommand extends Command { method constructor (line 9) | constructor(ctx) { method execute (line 22) | async execute(command) { method default (line 71) | default(map) { FILE: src/commands/protocols/finality/receiver/v1.0.0/v1-0-0-handle-finality-request-command.js class HandleFinalityRequestCommand (line 9) | class HandleFinalityRequestCommand extends HandleProtocolMessageCommand { method constructor (line 10) | constructor(ctx) { method prepareMessage (line 28) | async prepareMessage(commandData) { method execute (line 32) | async execute(command) { method default (line 92) | default(map) { FILE: src/commands/protocols/finality/sender/finality-schedule-messages-command.js class FinalityScheduleMessagesCommand (line 8) | class FinalityScheduleMessagesCommand extends ProtocolScheduleMessagesCo... method constructor (line 9) | constructor(ctx) { method getNextCommandData (line 20) | getNextCommandData(command) { method default (line 33) | default(map) { FILE: src/commands/protocols/finality/sender/find-publisher-node-command.js class FindPublisherNodeCommand (line 4) | class FindPublisherNodeCommand extends Command { method constructor (line 5) | constructor(ctx) { method execute (line 14) | async execute(command) { method default (line 35) | default(map) { FILE: src/commands/protocols/finality/sender/network-finality-command.js class NetworkFinalityCommand (line 9) | class NetworkFinalityCommand extends NetworkProtocolCommand { method constructor (line 10) | constructor(ctx) { method execute (line 18) | async execute(command) { method default (line 35) | default(map) { FILE: src/commands/protocols/finality/sender/v1.0.0/v1-0-0-finality-request-command.js class FinalityRequestCommand (line 10) | class FinalityRequestCommand extends ProtocolRequestCommand { method constructor (line 11) | constructor(ctx) { method prepareMessage (line 19) | async prepareMessage(command) { method handleAck (line 25) | async handleAck(command) { method handleNack (line 35) | async handleNack(command, responseData) { method messageTimeout (line 49) | messageTimeout() { method default (line 58) | default(map) { FILE: src/commands/protocols/get/receiver/v1.0.0/v1-0-0-handle-batch-get-request-command.js class HandleBatchGetRequestCommand (line 15) | class HandleBatchGetRequestCommand extends HandleProtocolMessageCommand { method constructor (line 16) | constructor(ctx) { method prepareMessage (line 35) | async prepareMessage(commandData) { method default (line 130) | default(map) { FILE: src/commands/protocols/get/receiver/v1.0.0/v1-0-0-handle-get-request-command.js class HandleGetRequestCommand (line 11) | class HandleGetRequestCommand extends HandleProtocolMessageCommand { method constructor (line 12) | constructor(ctx) { method prepareMessage (line 27) | async prepareMessage(commandData) { method default (line 195) | default(map) { FILE: src/commands/protocols/get/sender/batch-get-command.js class BatchGetCommand (line 20) | class BatchGetCommand extends Command { method constructor (line 21) | constructor(ctx) { method handleError (line 45) | async handleError(operationId, blockchain, errorMessage, errorType) { method execute (line 65) | async execute(command) { method validateUALs (line 424) | async validateUALs(operationId, blockchain, uals) { method findShardNodes (line 558) | async findShardNodes(operationId, blockchain, currentPeerId) { method sendMessage (line 589) | async sendMessage(node, operationId, message) { method validateBatchResponse (line 603) | async validateBatchResponse( method default (line 679) | default(map) { FILE: src/commands/protocols/get/sender/get-command.js class GetCommand (line 18) | class GetCommand extends Command { method constructor (line 19) | constructor(ctx) { method handleError (line 36) | async handleError(operationId, blockchain, errorMessage, errorType) { method execute (line 54) | async execute(command) { method _tryCacheFallback (line 463) | async _tryCacheFallback( method _filterAssertionByContentType (line 543) | _filterAssertionByContentType(assertion, contentType) { method validateUAL (line 554) | async validateUAL(operationId, blockchain, contract, knowledgeCollecti... method validateParanet (line 582) | async validateParanet( method findShardNodes (line 651) | async findShardNodes(operationId, blockchain, currentPeerId) { method sendMessage (line 682) | async sendMessage(node, operationId, message) { method validateResponse (line 696) | async validateResponse( method default (line 797) | default(map) { FILE: src/commands/protocols/publish/publish-finalization-command.js class PublishFinalizationCommand (line 13) | class PublishFinalizationCommand extends Command { method constructor (line 14) | constructor(ctx) { method execute (line 29) | async execute(command) { method validatePublishData (line 198) | async validatePublishData(merkleRoot, cachedMerkleRoot, byteSize, asse... method readWithRetries (line 216) | async readWithRetries(publishOperationId) { method default (line 250) | default(map) { FILE: src/commands/protocols/publish/receiver/v1.0.0/v1-0-0-handle-store-request-command.js class HandleStoreRequestCommand (line 10) | class HandleStoreRequestCommand extends HandleProtocolMessageCommand { method constructor (line 11) | constructor(ctx) { method prepareMessage (line 29) | async prepareMessage(commandData) { method default (line 102) | default(map) { FILE: src/commands/protocols/publish/sender/publish-replication-command.js class PublishReplicationCommand (line 16) | class PublishReplicationCommand extends Command { method constructor (line 17) | constructor(ctx) { method execute (line 32) | async execute(command) { method sendAndHandleMessage (line 206) | async sendAndHandleMessage(node, operationId, message, command) { method findShardNodes (line 272) | async findShardNodes(blockchainId) { method createSignatures (line 288) | async createSignatures(blockchain, nodePartOfShard, datasetRoot, opera... method default (line 336) | default(map) { FILE: src/commands/protocols/update/receiver/v1.0.0/v1-0-0-handle-update-request-command.js class HandleUpdateRequestCommand (line 9) | class HandleUpdateRequestCommand extends HandleProtocolMessageCommand { method constructor (line 10) | constructor(ctx) { method prepareMessage (line 24) | async prepareMessage(commandData) { method default (line 78) | default(map) { FILE: src/commands/protocols/update/sender/network-update-command.js class NetworkUpdateCommand (line 4) | class NetworkUpdateCommand extends NetworkProtocolCommand { method constructor (line 5) | constructor(ctx) { method default (line 18) | default(map) { FILE: src/commands/protocols/update/sender/update-find-shard-command.js class UpdateFindShardCommand (line 4) | class UpdateFindShardCommand extends FindShardCommand { method constructor (line 5) | constructor(ctx) { method getOperationCommandSequence (line 13) | getOperationCommandSequence(nodePartOfShard) { method default (line 29) | default(map) { FILE: src/commands/protocols/update/sender/update-schedule-messages-command.js class UpdateScheduleMessagesCommand (line 4) | class UpdateScheduleMessagesCommand extends ProtocolScheduleMessagesComm... method constructor (line 5) | constructor(ctx) { method default (line 20) | default(map) { FILE: src/commands/protocols/update/sender/update-validate-asset-command.js class UpdateValidateAssetCommand (line 4) | class UpdateValidateAssetCommand extends ValidateAssetCommand { method constructor (line 5) | constructor(ctx) { method handleError (line 11) | async handleError(operationId, blockchain, errorMessage, errorType) { method execute (line 24) | async execute(command) { method default (line 53) | default(map) { FILE: src/commands/protocols/update/sender/v1.0.0/v1-0-0-update-request-command.js class PublishRequestCommand (line 8) | class PublishRequestCommand extends ProtocolRequestCommand { method constructor (line 9) | constructor(ctx) { method prepareMessage (line 17) | async prepareMessage(command) { method messageTimeout (line 32) | messageTimeout() { method handleAck (line 36) | async handleAck(command, responseData) { method default (line 57) | default(map) { FILE: src/commands/protocols/update/update-assertion-command.js class UpdateAssertionCommand (line 10) | class UpdateAssertionCommand extends Command { method constructor (line 11) | constructor(ctx) { method execute (line 22) | async execute(command) { method validateCurrentData (line 54) | async validateCurrentData(ual) { method default (line 79) | default(map) { FILE: src/commands/protocols/update/update-validate-assertion-metadata-command.js class UpdateValidateAssertionMetadataCommand (line 4) | class UpdateValidateAssertionMetadataCommand extends ValidateAssertionMe... method constructor (line 5) | constructor(ctx) { method default (line 21) | default(map) { FILE: src/commands/query/query-command.js class QueryCommand (line 10) | class QueryCommand extends Command { method constructor (line 11) | constructor(ctx) { method execute (line 21) | async execute(command) { method validateRepositoryName (line 114) | validateRepositoryName(repository) { method default (line 139) | default(map) { FILE: src/constants/constants.js constant WS_RPC_PROVIDER_PRIORITY (line 4) | const WS_RPC_PROVIDER_PRIORITY = 2; constant HTTP_RPC_PROVIDER_PRIORITY (line 6) | const HTTP_RPC_PROVIDER_PRIORITY = 1; constant FALLBACK_PROVIDER_QUORUM (line 8) | const FALLBACK_PROVIDER_QUORUM = 1; constant PUBLISH_BATCH_SIZE (line 10) | const PUBLISH_BATCH_SIZE = 20; constant PUBLISH_MIN_NUM_OF_NODE_REPLICATIONS (line 12) | const PUBLISH_MIN_NUM_OF_NODE_REPLICATIONS = 3; constant GET_BATCH_SIZE (line 14) | const GET_BATCH_SIZE = 2; constant GET_MIN_NUM_OF_NODE_REPLICATIONS (line 16) | const GET_MIN_NUM_OF_NODE_REPLICATIONS = 1; constant FINALITY_BATCH_SIZE (line 18) | const FINALITY_BATCH_SIZE = 1; constant FINALITY_MIN_NUM_OF_NODE_REPLICATIONS (line 20) | const FINALITY_MIN_NUM_OF_NODE_REPLICATIONS = 1; constant ASK_BATCH_SIZE (line 22) | const ASK_BATCH_SIZE = 20; constant RPC_PROVIDER_STALL_TIMEOUT (line 24) | const RPC_PROVIDER_STALL_TIMEOUT = 60 * 1000; constant SIX_HOURS_IN_MS (line 26) | const SIX_HOURS_IN_MS = 6 * 60 * 60 * 1000; constant UINT256_MAX_BN (line 28) | const UINT256_MAX_BN = ethers.constants.MaxUint256; constant UINT128_MAX_BN (line 30) | const UINT128_MAX_BN = BigNumber.from(2).pow(128).sub(1); constant UINT64_MAX_BN (line 32) | const UINT64_MAX_BN = BigNumber.from(2).pow(64).sub(1); constant UINT40_MAX_BN (line 34) | const UINT40_MAX_BN = BigNumber.from(2).pow(40).sub(1); constant UINT32_MAX_BN (line 36) | const UINT32_MAX_BN = BigNumber.from(2).pow(32).sub(1); constant ONE_ETHER (line 38) | const ONE_ETHER = BigNumber.from('1000000000000000000'); constant HASH_RING_SIZE (line 40) | const HASH_RING_SIZE = ethers.constants.MaxUint256; constant STAKE_UINT256_MULTIPLIER_BN (line 42) | const STAKE_UINT256_MULTIPLIER_BN = UINT256_MAX_BN.div(500000000); constant UINT256_UINT32_DIVISOR_BN (line 44) | const UINT256_UINT32_DIVISOR_BN = UINT256_MAX_BN.div(UINT32_MAX_BN); constant ZERO_PREFIX (line 46) | const ZERO_PREFIX = '0x'; constant ZERO_BYTES32 (line 48) | const ZERO_BYTES32 = ethers.constants.HashZero; constant ZERO_ADDRESS (line 50) | const ZERO_ADDRESS = ethers.constants.AddressZero; constant SCHEMA_CONTEXT (line 52) | const SCHEMA_CONTEXT = 'http://schema.org/'; constant PRIVATE_ASSERTION_PREDICATE (line 54) | const PRIVATE_ASSERTION_PREDICATE = constant TRIPLE_ANNOTATION_LABEL_PREDICATE (line 57) | const TRIPLE_ANNOTATION_LABEL_PREDICATE = 'https://ontology.origintrail.... constant PRIVATE_RESOURCE_PREDICATE (line 59) | const PRIVATE_RESOURCE_PREDICATE = constant DKG_METADATA_PREDICATES (line 62) | const DKG_METADATA_PREDICATES = { constant PRIVATE_HASH_SUBJECT_PREFIX (line 70) | const PRIVATE_HASH_SUBJECT_PREFIX = 'https://ontology.origintrail.io/dkg... constant UAL_PREDICATE (line 72) | const UAL_PREDICATE = ''; constant COMMIT_BLOCK_DURATION_IN_BLOCKS (line 74) | const COMMIT_BLOCK_DURATION_IN_BLOCKS = 5; constant COMMITS_DELAY_BETWEEN_NODES_IN_BLOCKS (line 76) | const COMMITS_DELAY_BETWEEN_NODES_IN_BLOCKS = 5; constant TRANSACTION_POLLING_TIMEOUT_MILLIS (line 78) | const TRANSACTION_POLLING_TIMEOUT_MILLIS = 300 * 1000; constant SOLIDITY_ERROR_STRING_PREFIX (line 80) | const SOLIDITY_ERROR_STRING_PREFIX = '0x08c379a0'; constant SOLIDITY_PANIC_CODE_PREFIX (line 82) | const SOLIDITY_PANIC_CODE_PREFIX = '0x4e487b71'; constant SOLIDITY_PANIC_REASONS (line 84) | const SOLIDITY_PANIC_REASONS = { constant LIBP2P_KEY_DIRECTORY (line 96) | const LIBP2P_KEY_DIRECTORY = 'libp2p'; constant LIBP2P_KEY_FILENAME (line 98) | const LIBP2P_KEY_FILENAME = 'privateKey'; constant BLS_KEY_DIRECTORY (line 100) | const BLS_KEY_DIRECTORY = 'bls'; constant BLS_KEY_FILENAME (line 102) | const BLS_KEY_FILENAME = 'secretKey'; constant TRIPLE_STORE_CONNECT_MAX_RETRIES (line 104) | const TRIPLE_STORE_CONNECT_MAX_RETRIES = 10; constant COMMAND_PRIORITY (line 106) | const COMMAND_PRIORITY = { constant DEFAULT_COMMAND_PRIORITY (line 114) | const DEFAULT_COMMAND_PRIORITY = COMMAND_PRIORITY.MEDIUM; constant DEFAULT_BLOCKCHAIN_EVENT_SYNC_PERIOD_IN_MILLS (line 116) | const DEFAULT_BLOCKCHAIN_EVENT_SYNC_PERIOD_IN_MILLS = 15 * 24 * 60 * 60 ... constant MAX_BLOCKCHAIN_EVENT_SYNC_OF_HISTORICAL_BLOCKS_IN_MILLS (line 118) | const MAX_BLOCKCHAIN_EVENT_SYNC_OF_HISTORICAL_BLOCKS_IN_MILLS = 60 * 60 ... constant MAXIMUM_NUMBERS_OF_BLOCKS_TO_FETCH (line 120) | const MAXIMUM_NUMBERS_OF_BLOCKS_TO_FETCH = 50; constant TRANSACTION_QUEUE_CONCURRENCY (line 122) | const TRANSACTION_QUEUE_CONCURRENCY = 1; constant TRIPLE_STORE_CONNECT_RETRY_FREQUENCY (line 124) | const TRIPLE_STORE_CONNECT_RETRY_FREQUENCY = 10; constant MAX_FILE_SIZE (line 126) | const MAX_FILE_SIZE = 10000000; constant GET_STATES (line 128) | const GET_STATES = { LATEST: 'LATEST', FINALIZED: 'LATEST_FINALIZED' }; constant BYTES_IN_KILOBYTE (line 130) | const BYTES_IN_KILOBYTE = 1024; constant BYTES_IN_MEGABYTE (line 132) | const BYTES_IN_MEGABYTE = BYTES_IN_KILOBYTE * BYTES_IN_KILOBYTE; constant PUBLISH_TYPES (line 134) | const PUBLISH_TYPES = { ASSERTION: 'assertion', ASSET: 'asset', INDEX: '... constant DEFAULT_GET_STATE (line 136) | const DEFAULT_GET_STATE = GET_STATES.LATEST; constant PEER_OFFLINE_LIMIT (line 138) | const PEER_OFFLINE_LIMIT = 24 * 60 * 60 * 1000; constant CONTENT_ASSET_HASH_FUNCTION_ID (line 140) | const CONTENT_ASSET_HASH_FUNCTION_ID = 1; constant CHUNK_BYTE_SIZE (line 142) | const CHUNK_BYTE_SIZE = 32; constant PARANET_SYNC_KA_COUNT (line 144) | const PARANET_SYNC_KA_COUNT = 50; constant PARANET_SYNC_RETRIES_LIMIT (line 145) | const PARANET_SYNC_RETRIES_LIMIT = 3; constant PARANET_SYNC_RETRY_DELAY_MS (line 146) | const PARANET_SYNC_RETRY_DELAY_MS = 60 * 1000; constant PARANET_ACCESS_POLICY (line 148) | const PARANET_ACCESS_POLICY = { constant TRIPLE_STORE_REPOSITORIES (line 153) | const TRIPLE_STORE_REPOSITORIES = { constant BASE_NAMED_GRAPHS (line 159) | const BASE_NAMED_GRAPHS = { constant REQUIRED_MODULES (line 166) | const REQUIRED_MODULES = [ constant MEDIA_TYPES (line 180) | const MEDIA_TYPES = { constant XML_DATA_TYPES (line 191) | const XML_DATA_TYPES = { constant MIN_NODE_VERSION (line 199) | const MIN_NODE_VERSION = 16; constant NETWORK_API_RATE_LIMIT (line 201) | const NETWORK_API_RATE_LIMIT = { constant NETWORK_API_SPAM_DETECTION (line 206) | const NETWORK_API_SPAM_DETECTION = { constant NETWORK_API_BLACK_LIST_TIME_WINDOW_MINUTES (line 211) | const NETWORK_API_BLACK_LIST_TIME_WINDOW_MINUTES = 60; constant HIGH_TRAFFIC_OPERATIONS_NUMBER_PER_HOUR (line 213) | const HIGH_TRAFFIC_OPERATIONS_NUMBER_PER_HOUR = 16000; constant SHARDING_TABLE_CHECK_COMMAND_FREQUENCY_MILLS (line 215) | const SHARDING_TABLE_CHECK_COMMAND_FREQUENCY_MILLS = 10 * 1000; constant PARANET_SYNC_FREQUENCY_MILLS (line 217) | const PARANET_SYNC_FREQUENCY_MILLS = 1 * 60 * 1000; constant SEND_TELEMETRY_COMMAND_FREQUENCY_MINUTES (line 219) | const SEND_TELEMETRY_COMMAND_FREQUENCY_MINUTES = 15; constant PEER_RECORD_UPDATE_DELAY (line 221) | const PEER_RECORD_UPDATE_DELAY = 30 * 60 * 1000; constant DEFAULT_COMMAND_CLEANUP_TIME_MILLS (line 223) | const DEFAULT_COMMAND_CLEANUP_TIME_MILLS = 4 * 24 * 60 * 60 * 1000; constant REMOVE_SESSION_COMMAND_DELAY (line 225) | const REMOVE_SESSION_COMMAND_DELAY = 2 * 60 * 1000; constant OPERATION_IDS_COMMAND_CLEANUP_TIME_MILLS (line 227) | const OPERATION_IDS_COMMAND_CLEANUP_TIME_MILLS = 24 * 60 * 60 * 1000; constant GET_LATEST_SERVICE_AGREEMENT_FREQUENCY_MILLS (line 229) | const GET_LATEST_SERVICE_AGREEMENT_FREQUENCY_MILLS = 30 * 1000; constant DIAL_PEERS_COMMAND_FREQUENCY_MILLS (line 231) | const DIAL_PEERS_COMMAND_FREQUENCY_MILLS = 30 * 1000; constant DIAL_PEERS_CONCURRENCY (line 233) | const DIAL_PEERS_CONCURRENCY = 10; constant MIN_DIAL_FREQUENCY_MILLIS (line 235) | const MIN_DIAL_FREQUENCY_MILLIS = 60 * 60 * 1000; constant PERMANENT_COMMANDS (line 237) | const PERMANENT_COMMANDS = [ constant MAX_COMMAND_DELAY_IN_MILLS (line 259) | const MAX_COMMAND_DELAY_IN_MILLS = 14400 * 60 * 1000; constant DEFAULT_COMMAND_REPEAT_INTERVAL_IN_MILLS (line 261) | const DEFAULT_COMMAND_REPEAT_INTERVAL_IN_MILLS = 5000; constant DEFAULT_COMMAND_DELAY_IN_MILLS (line 263) | const DEFAULT_COMMAND_DELAY_IN_MILLS = 60 * 1000; constant TRANSACTION_PRIORITY (line 265) | const TRANSACTION_PRIORITY = { constant V0_PRIVATE_ASSERTION_PREDICATE (line 273) | const V0_PRIVATE_ASSERTION_PREDICATE = constant DKG_PREDICATE (line 276) | const DKG_PREDICATE = 'https://ontology.origintrail.io/dkg/1.0#'; constant HAS_NAMED_GRAPH_SUFFIX (line 277) | const HAS_NAMED_GRAPH_SUFFIX = 'hasNamedGraph'; constant HAS_KNOWLEDGE_ASSET_SUFFIX (line 278) | const HAS_KNOWLEDGE_ASSET_SUFFIX = 'hasKnowledgeAsset'; constant CONTRACT_FUNCTION_PRIORITY (line 304) | const CONTRACT_FUNCTION_PRIORITY = {}; constant COMMAND_RETRIES (line 306) | const COMMAND_RETRIES = {}; constant SIMPLE_ASSET_SYNC_PARAMETERS (line 308) | const SIMPLE_ASSET_SYNC_PARAMETERS = { constant PARANET_SYNC_PARAMETERS (line 313) | const PARANET_SYNC_PARAMETERS = { constant COMMAND_TX_GAS_INCREASE_FACTORS (line 318) | const COMMAND_TX_GAS_INCREASE_FACTORS = { constant MIGRATION_FLAG_PATH (line 324) | const MIGRATION_FLAG_PATH = '.enrichment_migration_done_dkg'; constant CONTRACT_FUNCTION_GAS_LIMIT_INCREASE_FACTORS (line 326) | const CONTRACT_FUNCTION_GAS_LIMIT_INCREASE_FACTORS = {}; constant GNOSIS_DEFAULT_GAS_PRICE (line 328) | const GNOSIS_DEFAULT_GAS_PRICE = { constant NEURO_DEFAULT_GAS_PRICE (line 333) | const NEURO_DEFAULT_GAS_PRICE = { constant CONTRACT_FUNCTION_FIXED_GAS_PRICE (line 338) | const CONTRACT_FUNCTION_FIXED_GAS_PRICE = {}; constant WEBSOCKET_PROVIDER_OPTIONS (line 340) | const WEBSOCKET_PROVIDER_OPTIONS = { constant TRIPLE_STORE_IMPLEMENTATION (line 352) | const TRIPLE_STORE_IMPLEMENTATION = { constant NETWORK_MESSAGE_TYPES (line 359) | const NETWORK_MESSAGE_TYPES = { constant PARANET_NODES_ACCESS_POLICIES (line 370) | const PARANET_NODES_ACCESS_POLICIES = ['OPEN', 'PERMISSIONED']; constant NETWORK_MESSAGE_TIMEOUT_MILLS (line 372) | const NETWORK_MESSAGE_TIMEOUT_MILLS = { constant MAX_OPEN_SESSIONS (line 393) | const MAX_OPEN_SESSIONS = 10; constant ERROR_TYPE (line 395) | const ERROR_TYPE = { constant OPERATION_ID_STATUS (line 491) | const OPERATION_ID_STATUS = { constant OPERATIONS (line 684) | const OPERATIONS = { constant SERVICE_AGREEMENT_START_TIME_DELAY_FOR_COMMITS_SECONDS (line 693) | const SERVICE_AGREEMENT_START_TIME_DELAY_FOR_COMMITS_SECONDS = { constant EXPECTED_TRANSACTION_ERRORS (line 701) | const EXPECTED_TRANSACTION_ERRORS = { constant OPERATION_ID_COMMAND_CLEANUP_TIME_MILLS (line 733) | const OPERATION_ID_COMMAND_CLEANUP_TIME_MILLS = 24 * 60 * 60 * 1000; constant OPERATION_ID_MEMORY_CLEANUP_TIME_MILLS (line 738) | const OPERATION_ID_MEMORY_CLEANUP_TIME_MILLS = 60 * 60 * 1000; constant PUBLISH_STORAGE_MEMORY_CLEANUP_COMMAND_CLEANUP_TIME_MILLS (line 744) | const PUBLISH_STORAGE_MEMORY_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 12 * 6... constant PUBLISH_STORAGE_FILE_CLEANUP_COMMAND_CLEANUP_TIME_MILLS (line 745) | const PUBLISH_STORAGE_FILE_CLEANUP_COMMAND_CLEANUP_TIME_MILLS = 12 * 60 ... constant FINALIZED_COMMAND_CLEANUP_TIME_MILLS (line 747) | const FINALIZED_COMMAND_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant FINALIZED_COMMAND_CLEANUP_TIME_DELAY (line 748) | const FINALIZED_COMMAND_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant GET_CLEANUP_TIME_MILLS (line 750) | const GET_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant GET_CLEANUP_TIME_DELAY (line 751) | const GET_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant GET_RESPONSE_CLEANUP_TIME_MILLS (line 752) | const GET_RESPONSE_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant GET_RESPONSE_CLEANUP_TIME_DELAY (line 753) | const GET_RESPONSE_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant PUBLISH_CLEANUP_TIME_MILLS (line 755) | const PUBLISH_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant PUBLISH_CLEANUP_TIME_DELAY (line 756) | const PUBLISH_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant PUBLISH_RESPONSE_CLEANUP_TIME_MILLS (line 757) | const PUBLISH_RESPONSE_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant PUBLISH_RESPONSE_CLEANUP_TIME_DELAY (line 758) | const PUBLISH_RESPONSE_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant UPDATE_CLEANUP_TIME_MILLS (line 760) | const UPDATE_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant UPDATE_CLEANUP_TIME_DELAY (line 761) | const UPDATE_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant UPDATE_RESPONSE_CLEANUP_TIME_MILLS (line 762) | const UPDATE_RESPONSE_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant UPDATE_RESPONSE_CLEANUP_TIME_DELAY (line 763) | const UPDATE_RESPONSE_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant ASK_CLEANUP_TIME_MILLS (line 765) | const ASK_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant ASK_CLEANUP_TIME_DELAY (line 766) | const ASK_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant ASK_RESPONSE_CLEANUP_TIME_MILLS (line 767) | const ASK_RESPONSE_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant ASK_RESPONSE_CLEANUP_TIME_DELAY (line 768) | const ASK_RESPONSE_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant FINALITY_CLEANUP_TIME_MILLS (line 770) | const FINALITY_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant FINALITY_CLEANUP_TIME_DELAY (line 771) | const FINALITY_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant FINALITY_RESPONSE_CLEANUP_TIME_MILLS (line 772) | const FINALITY_RESPONSE_CLEANUP_TIME_MILLS = 12 * 60 * 60 * 1000; constant FINALITY_RESPONSE_CLEANUP_TIME_DELAY (line 773) | const FINALITY_RESPONSE_CLEANUP_TIME_DELAY = 24 * 60 * 60 * 1000; constant PROCESSED_BLOCKCHAIN_EVENTS_CLEANUP_TIME_MILLS (line 775) | const PROCESSED_BLOCKCHAIN_EVENTS_CLEANUP_TIME_MILLS = 1 * 60 * 60 * 1000; constant PROCESSED_BLOCKCHAIN_EVENTS_CLEANUP_TIME_DELAY (line 776) | const PROCESSED_BLOCKCHAIN_EVENTS_CLEANUP_TIME_DELAY = 1 * 60 * 60 * 1000; constant COMMAND_STATUS (line 782) | const COMMAND_STATUS = { constant PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER (line 792) | const PENDING_STORAGE_FILES_FOR_REMOVAL_MAX_NUMBER = 100_000; constant OPERATION_ID_FILES_FOR_REMOVAL_MAX_NUMBER (line 794) | const OPERATION_ID_FILES_FOR_REMOVAL_MAX_NUMBER = 100; constant REPOSITORY_ROWS_FOR_REMOVAL_MAX_NUMBER (line 796) | const REPOSITORY_ROWS_FOR_REMOVAL_MAX_NUMBER = 50_000; constant MIGRATION_FOLDER (line 798) | const MIGRATION_FOLDER = 'migrations'; constant PUBLISHER_NODE_SIGNATURES_FOLDER (line 800) | const PUBLISHER_NODE_SIGNATURES_FOLDER = 'publisher'; constant NETWORK_SIGNATURES_FOLDER (line 802) | const NETWORK_SIGNATURES_FOLDER = 'network'; constant GENERAL_COMMAND_QUEUE_PARALLELISM (line 808) | const GENERAL_COMMAND_QUEUE_PARALLELISM = 100; constant BATCH_GET_COMMAND_QUEUE_PARALLELISM (line 810) | const BATCH_GET_COMMAND_QUEUE_PARALLELISM = 20; constant GET_LATEST_SERVICE_AGREEMENT_BATCH_SIZE (line 812) | const GET_LATEST_SERVICE_AGREEMENT_BATCH_SIZE = 50; constant GET_ASSERTION_IDS_MAX_RETRY_COUNT (line 814) | const GET_ASSERTION_IDS_MAX_RETRY_COUNT = 5; constant GET_ASSERTION_IDS_RETRY_DELAY_IN_SECONDS (line 816) | const GET_ASSERTION_IDS_RETRY_DELAY_IN_SECONDS = 2; constant GET_LATEST_SERVICE_AGREEMENT_EXCLUDE_LATEST_TOKEN_ID (line 818) | const GET_LATEST_SERVICE_AGREEMENT_EXCLUDE_LATEST_TOKEN_ID = 1; constant HTTP_API_ROUTES (line 824) | const HTTP_API_ROUTES = { constant NETWORK_PROTOCOLS (line 925) | const NETWORK_PROTOCOLS = { constant OPERATION_STATUS (line 934) | const OPERATION_STATUS = { constant AGREEMENT_STATUS (line 940) | const AGREEMENT_STATUS = { constant OPERATION_REQUEST_STATUS (line 945) | const OPERATION_REQUEST_STATUS = { constant QUERY_TYPES (line 954) | const QUERY_TYPES = { constant LOCAL_STORE_TYPES (line 963) | const LOCAL_STORE_TYPES = { constant CONTRACTS (line 972) | const CONTRACTS = { constant MONITORED_CONTRACT_EVENTS (line 984) | const MONITORED_CONTRACT_EVENTS = { constant MONITORED_CONTRACTS (line 990) | const MONITORED_CONTRACTS = Object.keys(MONITORED_CONTRACT_EVENTS); constant MONITORED_EVENTS (line 992) | const MONITORED_EVENTS = Object.values(MONITORED_CONTRACT_EVENTS).flatMap( constant CONTRACT_INDEPENDENT_EVENTS (line 996) | const CONTRACT_INDEPENDENT_EVENTS = {}; constant NODE_ENVIRONMENTS (line 998) | const NODE_ENVIRONMENTS = { constant MAXIMUM_FETCH_EVENTS_FAILED_COUNT (line 1006) | const MAXIMUM_FETCH_EVENTS_FAILED_COUNT = 1000; constant CONTRACT_EVENT_FETCH_INTERVALS (line 1008) | const CONTRACT_EVENT_FETCH_INTERVALS = { constant TRANSACTION_CONFIRMATIONS (line 1013) | const TRANSACTION_CONFIRMATIONS = 1; constant SERVICE_AGREEMENT_SOURCES (line 1015) | const SERVICE_AGREEMENT_SOURCES = { constant CACHE_DATA_TYPES (line 1022) | const CACHE_DATA_TYPES = { constant PARANET_SYNC_SOURCES (line 1027) | const PARANET_SYNC_SOURCES = { constant CACHED_FUNCTIONS (line 1039) | const CACHED_FUNCTIONS = { constant LOW_BID_SUGGESTION (line 1059) | const LOW_BID_SUGGESTION = 'low'; constant MED_BID_SUGGESTION (line 1060) | const MED_BID_SUGGESTION = 'med'; constant HIGH_BID_SUGGESTION (line 1061) | const HIGH_BID_SUGGESTION = 'high'; constant ALL_BID_SUGGESTION (line 1062) | const ALL_BID_SUGGESTION = 'all'; constant BID_SUGGESTION_RANGE_ENUM (line 1063) | const BID_SUGGESTION_RANGE_ENUM = [ constant LOW_BID_SUGGESTION_OFFSET (line 1069) | const LOW_BID_SUGGESTION_OFFSET = 9; constant MED_BID_SUGGESTION_OFFSET (line 1070) | const MED_BID_SUGGESTION_OFFSET = 11; constant HIGH_BID_SUGGESTION_OFFSET (line 1071) | const HIGH_BID_SUGGESTION_OFFSET = 14; constant LOCAL_INSERT_FOR_ASSET_SYNC_MAX_ATTEMPTS (line 1073) | const LOCAL_INSERT_FOR_ASSET_SYNC_MAX_ATTEMPTS = 5; constant LOCAL_INSERT_FOR_ASSET_SYNC_RETRY_DELAY (line 1074) | const LOCAL_INSERT_FOR_ASSET_SYNC_RETRY_DELAY = 1000; constant LOCAL_INSERT_FOR_CURATED_PARANET_MAX_ATTEMPTS (line 1076) | const LOCAL_INSERT_FOR_CURATED_PARANET_MAX_ATTEMPTS = 5; constant LOCAL_INSERT_FOR_CURATED_PARANET_RETRY_DELAY (line 1077) | const LOCAL_INSERT_FOR_CURATED_PARANET_RETRY_DELAY = 1000; constant MAX_RETRIES_READ_CACHED_PUBLISH_DATA (line 1079) | const MAX_RETRIES_READ_CACHED_PUBLISH_DATA = 5; constant RETRY_DELAY_READ_CACHED_PUBLISH_DATA (line 1080) | const RETRY_DELAY_READ_CACHED_PUBLISH_DATA = 5 * 1000; constant TRIPLE_STORE_REPOSITORY (line 1082) | const TRIPLE_STORE_REPOSITORY = { constant TRIPLES_VISIBILITY (line 1087) | const TRIPLES_VISIBILITY = { constant V6_CONTENT_STORAGE_MAP (line 1093) | const V6_CONTENT_STORAGE_MAP = { constant PROOFING_INTERVAL (line 1105) | const PROOFING_INTERVAL = 5 * 60 * 1000; constant PROOFING_MAX_ATTEMPTS (line 1106) | const PROOFING_MAX_ATTEMPTS = 120; constant REORG_PROOFING_BUFFER (line 1107) | const REORG_PROOFING_BUFFER = 60 * 1000; constant CHUNK_SIZE (line 1108) | const CHUNK_SIZE = 32; constant CLAIM_REWARDS_INTERVAL (line 1110) | const CLAIM_REWARDS_INTERVAL = 60 * 60 * 1000; constant CLAIM_REWARDS_BATCH_SIZE (line 1111) | const CLAIM_REWARDS_BATCH_SIZE = 10; constant BATCH_GET_BATCH_SIZE (line 1113) | const BATCH_GET_BATCH_SIZE = 2; constant BATCH_GET_UAL_MAX_LIMIT (line 1114) | const BATCH_GET_UAL_MAX_LIMIT = 1000; constant SYNC_INTERVAL (line 1116) | const SYNC_INTERVAL = 12 * 1000; constant SYNC_BATCH_GET_WAIT_TIME (line 1117) | const SYNC_BATCH_GET_WAIT_TIME = 1000; constant SYNC_BATCH_GET_MAX_ATTEMPTS (line 1118) | const SYNC_BATCH_GET_MAX_ATTEMPTS = 15 * 60; constant MAX_TOKEN_ID_PER_GET_PAGE (line 1120) | const MAX_TOKEN_ID_PER_GET_PAGE = 50; constant BLAZEGRAPH_HEALTH_INTERVAL (line 1122) | const BLAZEGRAPH_HEALTH_INTERVAL = 60 * 1000; constant MAX_COMMAND_LIFETIME (line 1124) | const MAX_COMMAND_LIFETIME = 15 * 60 * 1000; FILE: src/controllers/http-api/base-http-api-controller.js class BaseController (line 1) | class BaseController { method constructor (line 2) | constructor(ctx) { method returnResponse (line 7) | returnResponse(res, status, data) { FILE: src/controllers/http-api/http-api-router.js class HttpApiRouter (line 4) | class HttpApiRouter { method constructor (line 5) | constructor(ctx) { method initialize (line 31) | async initialize() { method initializeBeforeMiddlewares (line 39) | initializeBeforeMiddlewares() { method initializeVersionedListeners (line 44) | async initializeVersionedListeners() { method initializeRouters (line 80) | initializeRouters() { method initializeAfterMiddlewares (line 89) | initializeAfterMiddlewares() { FILE: src/controllers/http-api/v0/bid-suggestion-http-api-controller-v0.js class BidSuggestionController (line 5) | class BidSuggestionController extends BaseController { method constructor (line 6) | constructor(ctx) { method handleRequest (line 11) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/get-http-api-controller-v0.js class GetController (line 10) | class GetController extends BaseController { method constructor (line 11) | constructor(ctx) { method handleRequest (line 22) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/info-http-api-controller-v0.js class InfoController (line 7) | class InfoController extends BaseController { method handleRequest (line 8) | handleRequest(_, res) { FILE: src/controllers/http-api/v0/local-store-http-api-controller-v0.js class LocalStoreController (line 4) | class LocalStoreController extends BaseController { method constructor (line 5) | constructor(ctx) { method handleRequest (line 13) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/publish-http-api-controller-v0.js class PublishController (line 9) | class PublishController extends BaseController { method constructor (line 10) | constructor(ctx) { method handleRequest (line 20) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/query-http-api-controller-v0.js class QueryController (line 5) | class QueryController extends BaseController { method constructor (line 6) | constructor(ctx) { method handleRequest (line 13) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/result-http-api-controller-v0.js class ResultController (line 4) | class ResultController extends BaseController { method constructor (line 5) | constructor(ctx) { method handleRequest (line 12) | async handleRequest(req, res) { FILE: src/controllers/http-api/v0/update-http-api-controller-v0.js class UpdateController (line 9) | class UpdateController extends BaseController { method constructor (line 10) | constructor(ctx) { method handleRequest (line 18) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/ask-http-api-controller-v1.js class AskController (line 4) | class AskController extends BaseController { method constructor (line 5) | constructor(ctx) { method handleRequest (line 16) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/direct-query-http-api-controller-v1.js class DirectQueryController (line 9) | class DirectQueryController extends BaseController { method constructor (line 10) | constructor(ctx) { method handleRequest (line 21) | async handleRequest(req, res) { method validateRepositoryName (line 155) | validateRepositoryName(repository) { FILE: src/controllers/http-api/v1/finality-http-api-controller-v1.js class FinalityController (line 3) | class FinalityController extends BaseController { method constructor (line 4) | constructor(ctx) { method handleRequest (line 14) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/get-http-api-controller-v1.js class GetController (line 11) | class GetController extends BaseController { method constructor (line 12) | constructor(ctx) { method handleRequest (line 25) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/info-http-api-controller-v1.js class InfoController (line 7) | class InfoController extends BaseController { method handleRequest (line 8) | handleRequest(_, res) { FILE: src/controllers/http-api/v1/local-store-http-api-controller-v1.js class LocalStoreController (line 8) | class LocalStoreController extends BaseController { method constructor (line 9) | constructor(ctx) { method handleRequest (line 17) | async handleRequest(req, res) { method getKAUALs (line 95) | getKAUALs(dataset, UAL) { FILE: src/controllers/http-api/v1/publish-http-api-controller-v1.js class PublishController (line 11) | class PublishController extends BaseController { method constructor (line 12) | constructor(ctx) { method handleRequest (line 23) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/query-http-api-controller-v1.js class QueryController (line 5) | class QueryController extends BaseController { method constructor (line 6) | constructor(ctx) { method handleRequest (line 13) | async handleRequest(req, res) { FILE: src/controllers/http-api/v1/result-http-api-controller-v1.js class ResultController (line 8) | class ResultController extends BaseController { method constructor (line 9) | constructor(ctx) { method handleRequest (line 17) | async handleRequest(req, res) { FILE: src/controllers/rpc/ask-rpc-controller.js class AskController (line 4) | class AskController extends BaseController { method constructor (line 5) | constructor(ctx) { method v1_0_0HandleRequest (line 11) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { FILE: src/controllers/rpc/base-rpc-controller.js class BaseController (line 1) | class BaseController { method constructor (line 2) | constructor(ctx) { method returnResponse (line 7) | returnResponse(res, status, data) { method getCommandSequence (line 11) | getCommandSequence(protocol) { FILE: src/controllers/rpc/batch-get-rpc-controller.js class BatchGetRpcController (line 4) | class BatchGetRpcController extends BaseController { method constructor (line 5) | constructor(ctx) { method v1_0_0HandleRequest (line 11) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { FILE: src/controllers/rpc/finality-rpc-controller.js class FinalityController (line 4) | class FinalityController extends BaseController { method constructor (line 5) | constructor(ctx) { method v1_0_0HandleRequest (line 11) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { method getCommandSequence (line 39) | getCommandSequence(protocol) { FILE: src/controllers/rpc/get-rpc-controller.js class GetController (line 8) | class GetController extends BaseController { method constructor (line 9) | constructor(ctx) { method v1_0_0HandleRequest (line 15) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { FILE: src/controllers/rpc/publish-rpc-controller.js class PublishController (line 4) | class PublishController extends BaseController { method constructor (line 5) | constructor(ctx) { method v1_0_0HandleRequest (line 12) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { FILE: src/controllers/rpc/rpc-router.js class RpcRouter (line 1) | class RpcRouter { method constructor (line 2) | constructor(ctx) { method initialize (line 17) | initialize() { method initializeListeners (line 21) | initializeListeners() { method modifyMessage (line 38) | modifyMessage(message, blockchainImplementations) { FILE: src/controllers/rpc/update-rpc-controller.js class UpdateController (line 4) | class UpdateController extends BaseController { method constructor (line 5) | constructor(ctx) { method v1_0_0HandleRequest (line 12) | async v1_0_0HandleRequest(message, remotePeerId, protocol) { FILE: src/logger/logger.js class Logger (line 7) | class Logger { method constructor (line 12) | constructor(logLevel = 'trace', pinoInstance = null) { method initialize (line 23) | initialize(logLevel) { method child (line 61) | child(bindings) { method restart (line 68) | restart() { method startTimer (line 80) | startTimer(label) { method endTimer (line 93) | endTimer(label) { method silent (line 114) | silent(obj) { method fatal (line 122) | fatal(obj) { method error (line 130) | error(obj) { method warn (line 138) | warn(obj) { method info (line 146) | info(obj) { method debug (line 154) | debug(obj) { method emit (line 162) | emit(obj) { method trace (line 171) | trace(obj) { method api (line 179) | api(obj) { method closeLogger (line 187) | closeLogger(closingMessage) { FILE: src/migration/base-migration.js class BaseMigration (line 4) | class BaseMigration { method constructor (line 5) | constructor(migrationName, logger, config) { method migrationAlreadyExecuted (line 25) | async migrationAlreadyExecuted(migrationName = null) { method migrate (line 36) | async migrate(migrationPath = null) { method getMigrationInfo (line 55) | async getMigrationInfo(migrationName = null) { method saveMigrationInfo (line 68) | async saveMigrationInfo(migrationInfo) { method executeMigration (line 79) | async executeMigration() { FILE: src/migration/migration-executor.js class MigrationExecutor (line 7) | class MigrationExecutor { method executeTripleStoreUserConfigurationMigration (line 8) | static async executeTripleStoreUserConfigurationMigration(container, l... method executeRedisSetupMigration (line 32) | static async executeRedisSetupMigration(container, logger, config) { method exitNode (line 50) | static exitNode(code = 0) { method migrationAlreadyExecuted (line 54) | static async migrationAlreadyExecuted(migrationName, fileService) { FILE: src/migration/redis-setup-migration.js class RedisSetupMigration (line 5) | class RedisSetupMigration extends BaseMigration { method executeMigration (line 6) | async executeMigration() { method installRedis (line 34) | installRedis() { method updateRedisConfiguration (line 51) | updateRedisConfiguration() { method isRedisConfiguredCorrectly (line 79) | isRedisConfiguredCorrectly() { method isRedisInstalledAndRunning (line 112) | isRedisInstalledAndRunning() { method verifyRedisInstallation (line 125) | verifyRedisInstallation() { method run (line 151) | run(cmd, description) { method modifyRedisConf (line 163) | modifyRedisConf(pattern, replacement, description) { FILE: src/migration/triple-store-user-configuration-migration.js class TripleStoreUserConfigurationMigration (line 5) | class TripleStoreUserConfigurationMigration extends BaseMigration { method executeMigration (line 6) | async executeMigration() { FILE: src/modules/auto-updater/auto-updater-module-manager.js class AutoUpdaterModuleManager (line 3) | class AutoUpdaterModuleManager extends BaseModuleManager { method getName (line 4) | getName() { method compareVersions (line 17) | async compareVersions() { method update (line 28) | async update() { FILE: src/modules/auto-updater/implementation/ot-auto-updater.js constant REPOSITORY_URL (line 10) | const REPOSITORY_URL = 'https://github.com/OriginTrail/dkg-engine'; constant ARCHIVE_REPOSITORY_URL (line 11) | const ARCHIVE_REPOSITORY_URL = 'github.com/OriginTrail/dkg-engine/archiv... class OTAutoUpdater (line 13) | class OTAutoUpdater { method initialize (line 14) | async initialize(config, logger) { method compareVersions (line 21) | async compareVersions() { method update (line 51) | async update() { method removeOldVersions (line 84) | async removeOldVersions(currentVersion, newVersion) { method copyConfigFiles (line 107) | async copyConfigFiles(source, destination) { method readAppVersion (line 121) | async readAppVersion(appPath) { method promiseHttpsRequest (line 133) | promiseHttpsRequest(url, options) { method readRemoteVersion (line 155) | async readRemoteVersion() { method downloadUpdate (line 173) | downloadUpdate(destination) { method unzipFile (line 201) | unzipFile(destination, source) { method moveAndCleanExtractedData (line 218) | async moveAndCleanExtractedData(extractedDataPath, destinationPath) { method installDependencies (line 235) | installDependencies(destination) { FILE: src/modules/base-module-manager.js class BaseModuleManager (line 4) | class BaseModuleManager { method constructor (line 5) | constructor(ctx) { method initialize (line 12) | async initialize() { method getName (line 70) | getName() { method getImplementation (line 74) | getImplementation(name = null) { method getImplementationNames (line 82) | getImplementationNames() { method removeImplementation (line 86) | removeImplementation(name = null) { method getModuleConfiguration (line 94) | getModuleConfiguration(name = null) { FILE: src/modules/blockchain-events/blockchain-events-module-manager.js class BlockchainEventsModuleManager (line 3) | class BlockchainEventsModuleManager extends BaseModuleManager { method getContractAddress (line 4) | getContractAddress(implementationName, blockchain, contractName) { method updateContractAddress (line 13) | updateContractAddress(implementationName, blockchain, contractName, co... method getBlock (line 23) | async getBlock(implementationName, blockchain, tag) { method getPastEvents (line 29) | async getPastEvents( method getName (line 50) | getName() { FILE: src/modules/blockchain-events/implementation/blockchain-events-service.js class BlockchainEventsService (line 1) | class BlockchainEventsService { method initialize (line 2) | async initialize(config, logger) { method getContractAddress (line 7) | getContractAddress() { method updateContractAddress (line 11) | updateContractAddress() { method getBlock (line 15) | async getBlock() { method getPastEvents (line 19) | async getPastEvents() { FILE: src/modules/blockchain-events/implementation/ot-ethers/ot-ethers.js class OtEthers (line 13) | class OtEthers extends BlockchainEventsService { method initialize (line 14) | async initialize(config, logger) { method _initializeRpcProviders (line 21) | async _initializeRpcProviders() { method _getRandomProvider (line 50) | _getRandomProvider(blockchain) { method _getShuffledProviders (line 59) | _getShuffledProviders(blockchain) { method _sendWithFailover (line 72) | async _sendWithFailover(blockchain, method, params) { method _initializeContracts (line 91) | async _initializeContracts() { method getContractAddress (line 122) | getContractAddress(blockchain, contractName) { method updateContractAddress (line 126) | updateContractAddress(blockchain, contractName, contractAddress) { method getBlock (line 130) | async getBlock(blockchain, tag) { method getPastEvents (line 135) | async getPastEvents(blockchain, contractNames, eventsToFilter, lastChe... method _getMaxNumberOfHistoricalBlocksForSync (line 244) | async _getMaxNumberOfHistoricalBlocksForSync(blockchain) { method _getBlockTimeMillis (line 264) | async _getBlockTimeMillis(blockchain, blockRange = 1000) { FILE: src/modules/blockchain/blockchain-module-manager.js class BlockchainModuleManager (line 3) | class BlockchainModuleManager extends BaseModuleManager { method getName (line 4) | getName() { method callImplementationFunction (line 8) | callImplementationFunction(blockchain, functionName, args = []) { method initializeTransactionQueues (line 14) | initializeTransactionQueues(blockchain, concurrency) { method getTotalTransactionQueueLength (line 20) | getTotalTransactionQueueLength(blockchain) { method initializeContracts (line 24) | async initializeContracts(blockchain) { method initializeAssetStorageContract (line 28) | initializeAssetStorageContract(blockchain, contractAddress) { method initializeContract (line 34) | initializeContract(blockchain, contractName, contractAddress) { method getContractAddress (line 41) | getContractAddress(blockchain, contractName) { method setContractCallCache (line 45) | setContractCallCache(blockchain, contractName, functionName, value) { method getPublicKeys (line 53) | getPublicKeys(blockchain) { method getManagementKey (line 57) | getManagementKey(blockchain) { method isAssetStorageContract (line 61) | async isAssetStorageContract(blockchain, contractAddress) { method getBlockNumber (line 67) | async getBlockNumber(blockchain) { method getIdentityId (line 71) | async getIdentityId(blockchain) { method identityIdExists (line 75) | async identityIdExists(blockchain) { method createProfile (line 79) | async createProfile(blockchain, peerId) { method getGasPrice (line 83) | async getGasPrice(blockchain) { method healthCheck (line 87) | async healthCheck(blockchain) { method restartService (line 91) | async restartService(blockchain) { method getKnowledgeCollectionMerkleRootByIndex (line 95) | async getKnowledgeCollectionMerkleRootByIndex( method getKnowledgeCollectionLatestMerkleRoot (line 108) | async getKnowledgeCollectionLatestMerkleRoot( method getLatestKnowledgeCollectionId (line 120) | async getLatestKnowledgeCollectionId(blockchain, assetStorageContractA... method getAssetStorageContractAddresses (line 126) | getAssetStorageContractAddresses(blockchain) { method getKnowledgeCollectionMerkleRoots (line 130) | async getKnowledgeCollectionMerkleRoots( method getLatestMerkleRootPublisher (line 148) | async getLatestMerkleRootPublisher( method getShardingTableHead (line 159) | async getShardingTableHead(blockchain) { method getShardingTableLength (line 163) | async getShardingTableLength(blockchain) { method getShardingTablePage (line 167) | async getShardingTablePage(blockchain, startingIdentityId, nodesNum) { method getKnowledgeCollectionSize (line 174) | async getKnowledgeCollectionSize(blockchain, knowledgeCollectionId) { method getKnowledgeAssetsRange (line 180) | async getKnowledgeAssetsRange(blockchain, assetStorageContractAddress,... method getParanetKnowledgeCollectionCount (line 187) | async getParanetKnowledgeCollectionCount(blockchain, paranetId) { method getParanetKnowledgeCollectionLocatorsWithPagination (line 193) | async getParanetKnowledgeCollectionLocatorsWithPagination( method getMinimumStake (line 206) | async getMinimumStake(blockchain) { method getMaximumStake (line 210) | async getMaximumStake(blockchain) { method getMinimumRequiredSignatures (line 214) | async getMinimumRequiredSignatures(blockchain) { method getLatestBlock (line 218) | async getLatestBlock(blockchain) { method getBlockchainTimestamp (line 222) | async getBlockchainTimestamp(blockchain) { method getParanetMetadata (line 226) | async getParanetMetadata(blockchain, paranetId) { method getParanetName (line 230) | async getParanetName(blockchain, paranetId) { method getDescription (line 234) | async getDescription(blockchain, paranetId) { method paranetExists (line 238) | async paranetExists(blockchain, paranetId) { method isPermissionedNode (line 242) | async isPermissionedNode(blockchain, paranetId, identityId) { method getNodesAccessPolicy (line 249) | async getNodesAccessPolicy(blockchain, paranetId) { method getPermissionedNodes (line 253) | async getPermissionedNodes(blockchain, paranetId) { method getNodeId (line 257) | async getNodeId(blockchain, identityId) { method signMessage (line 261) | async signMessage(blockchain, messageHash) { method getStakeWeightedAverageAsk (line 265) | async getStakeWeightedAverageAsk(blockchain) { method getTimeUntilNextEpoch (line 269) | async getTimeUntilNextEpoch(blockchain) { method getEpochLength (line 273) | async getEpochLength(blockchain) { method isKnowledgeCollectionRegistered (line 277) | async isKnowledgeCollectionRegistered(blockchain, paranetId, knowledge... method getActiveProofPeriodStatus (line 284) | async getActiveProofPeriodStatus(blockchain) { method createChallenge (line 288) | async createChallenge(blockchain) { method getNodeChallenge (line 292) | async getNodeChallenge(blockchain, nodeId) { method submitProof (line 296) | async submitProof(blockchain, chunk, merkleProof) { method getNodeEpochProofPeriodScore (line 300) | async getNodeEpochProofPeriodScore(blockchain, nodeId, epoch, proofPer... method getTransaction (line 308) | async getTransaction(blockchain, txHash) { method getBlockTimestamp (line 312) | async getBlockTimestamp(blockchain, blockNumber) { method getDelegators (line 316) | async getDelegators(blockchain, identityId) { method getLastClaimedEpoch (line 320) | async getLastClaimedEpoch(blockchain, identityId, address) { method hasEverDelegated (line 327) | async hasEverDelegated(blockchain, identityId, address) { method getCurrentEpoch (line 334) | async getCurrentEpoch(blockchain) { method batchClaimDelegatorRewards (line 338) | async batchClaimDelegatorRewards(blockchain, identityId, epochs, deleg... method getAssetStorageContractsAddress (line 346) | async getAssetStorageContractsAddress(blockchain) { method getLatestAssertionId (line 351) | async getLatestAssertionId(blockchain, assetContractAddress, tokenId) { method getImplementation (line 358) | getImplementation(name = null) { FILE: src/modules/blockchain/implementation/base/base-service.js class BaseService (line 3) | class BaseService extends Web3Service { method constructor (line 4) | constructor(ctx) { method getGasPrice (line 11) | async getGasPrice() { FILE: src/modules/blockchain/implementation/eth/eth-service.js class EthService (line 3) | class EthService extends Web3Service { method constructor (line 4) | constructor(ctx) { FILE: src/modules/blockchain/implementation/gnosis/gnosis-service.js class GnosisService (line 6) | class GnosisService extends Web3Service { method constructor (line 7) | constructor(ctx) { method getGasPrice (line 21) | async getGasPrice() { method buildTransactionGasParams (line 54) | buildTransactionGasParams(gasPrice) { method healthCheck (line 73) | async healthCheck() { FILE: src/modules/blockchain/implementation/hardhat/hardhat-service.js class HardhatService (line 4) | class HardhatService extends Web3Service { method constructor (line 5) | constructor(ctx) { method getBlockchainTimestamp (line 11) | async getBlockchainTimestamp() { method providerReady (line 16) | async providerReady() { method getGasPrice (line 20) | async getGasPrice() { FILE: src/modules/blockchain/implementation/ot-parachain/ot-parachain-service.js constant NATIVE_TOKEN_DECIMALS (line 6) | const NATIVE_TOKEN_DECIMALS = 12; class OtParachainService (line 8) | class OtParachainService extends Web3Service { method constructor (line 9) | constructor(ctx) { method initialize (line 16) | async initialize(config, logger) { method checkEvmWallets (line 26) | async checkEvmWallets() { method checkEvmAccountMapping (line 52) | async checkEvmAccountMapping(walletPublicKey) { method callParachainExtrinsic (line 62) | async callParachainExtrinsic(keyring, extrinsic, method, args) { method queryParachainState (line 77) | async queryParachainState(state, method, args) { method initializeParachainProvider (line 92) | async initializeParachainProvider() { method getGasPrice (line 124) | async getGasPrice() { method handleParachainError (line 139) | async handleParachainError(error, method) { method getLatestTokenId (line 155) | async getLatestTokenId(assetContractAddress) { method restartParachainProvider (line 159) | async restartParachainProvider() { method getNativeTokenBalance (line 169) | async getNativeTokenBalance(wallet) { method getValidOperationalWallets (line 174) | getValidOperationalWallets() { FILE: src/modules/blockchain/implementation/polygon/polygon-service.js class PolygonService (line 3) | class PolygonService extends Web3Service { method constructor (line 4) | constructor(ctx) { FILE: src/modules/blockchain/implementation/web3-service-validator.js class Web3ServiceValidator (line 1) | class Web3ServiceValidator { method validateResult (line 2) | static validateResult(functionName, contractName, result, logger) { FILE: src/modules/blockchain/implementation/web3-service.js class Web3Service (line 30) | class Web3Service { method initialize (line 31) | async initialize(config, logger) { method initializeTransactionQueues (line 42) | initializeTransactionQueues(concurrency = TRANSACTION_QUEUE_CONCURRENC... method queueTransaction (line 66) | queueTransaction(contractInstance, functionName, transactionArgs, call... method removeTransactionQueue (line 82) | removeTransactionQueue(walletAddress) { method getTotalTransactionQueueLength (line 86) | getTotalTransactionQueueLength() { method selectTransactionQueue (line 94) | selectTransactionQueue() { method getValidOperationalWallets (line 117) | getValidOperationalWallets() { method getRandomOperationalWallet (line 131) | getRandomOperationalWallet() { method initializeWeb3 (line 136) | async initializeWeb3() { method initializeContracts (line 189) | async initializeContracts() { method initializeProviderDebugging (line 228) | initializeProviderDebugging() { method maskRpcUrl (line 285) | maskRpcUrl(url) { method initializeAssetStorageContract (line 292) | initializeAssetStorageContract(assetStorageAddress) { method setContractCallCache (line 302) | setContractCallCache(contractName, functionName, value) { method getContractCallCache (line 318) | getContractCallCache(contractName, functionName) { method initializeContract (line 328) | initializeContract(contractName, contractAddress) { method getContractAddress (line 339) | getContractAddress(contractName) { method providerReady (line 349) | async providerReady() { method getPublicKeys (line 353) | getPublicKeys() { method getManagementKey (line 357) | getManagementKey() { method logBalances (line 361) | async logBalances() { method getNativeTokenBalance (line 373) | async getNativeTokenBalance(wallet) { method getTokenBalance (line 378) | async getTokenBalance(publicKey) { method getBlockNumber (line 385) | async getBlockNumber() { method getIdentityId (line 390) | async getIdentityId() { method identityIdExists (line 454) | async identityIdExists() { method createProfile (line 460) | async createProfile(peerId) { method getGasPrice (line 515) | async getGasPrice() { method buildTransactionGasParams (line 525) | buildTransactionGasParams(gasPrice) { method callContractFunction (line 529) | async callContractFunction(contractInstance, functionName, args, contr... method _executeContractFunction (line 561) | async _executeContractFunction( method _decodeEstimateGasError (line 728) | _decodeEstimateGasError(contractInstance, functionName, error, args) { method _decodeWaitForTxError (line 758) | _decodeWaitForTxError(contractInstance, functionName, error, args) { method _decodeContractCallError (line 787) | _decodeContractCallError(contractInstance, functionName, error, args) { method _getFunctionSighash (line 809) | _getFunctionSighash(contractInstance, functionName, args) { method _getErrorData (line 836) | _getErrorData(error) { method _decodeInputData (line 860) | _decodeInputData(inputData, contractInterface) { method _decodeErrorData (line 868) | _decodeErrorData(evmError, contractInterface) { method _decodeResultData (line 921) | _decodeResultData(fragment, resultData, contractInterface) { method _formatArgument (line 929) | _formatArgument(value) { method isAssetStorageContract (line 956) | async isAssetStorageContract(contractAddress) { method getKnowledgeCollectionMerkleRootByIndex (line 962) | async getKnowledgeCollectionMerkleRootByIndex( method getKnowledgeCollectionLatestMerkleRoot (line 978) | async getKnowledgeCollectionLatestMerkleRoot( method getLatestKnowledgeCollectionId (line 992) | async getLatestKnowledgeCollectionId(assetStorageContractAddress) { method getAssetStorageContractAddresses (line 1006) | getAssetStorageContractAddresses() { method getKnowledgeCollectionMerkleRoots (line 1010) | async getKnowledgeCollectionMerkleRoots(assetStorageContractAddress, t... method getLatestMerkleRootPublisher (line 1028) | async getLatestMerkleRootPublisher(assetStorageContractAddress, knowle... method getKnowledgeCollectionSize (line 1041) | async getKnowledgeCollectionSize(assetStorageContractAddress, knowledg... method getKnowledgeAssetsRange (line 1054) | async getKnowledgeAssetsRange(assetStorageContractAddress, knowledgeCo... method getMinimumStake (line 1085) | async getMinimumStake() { method getMaximumStake (line 1096) | async getMaximumStake() { method getMinimumRequiredSignatures (line 1107) | async getMinimumRequiredSignatures() { method getShardingTableHead (line 1116) | async getShardingTableHead() { method getShardingTableLength (line 1120) | async getShardingTableLength() { method getShardingTablePage (line 1129) | async getShardingTablePage(startingIdentityId, nodesNum) { method getBlockchainId (line 1137) | getBlockchainId() { method healthCheck (line 1141) | async healthCheck() { method restartService (line 1152) | async restartService() { method getBlockchainTimestamp (line 1157) | async getBlockchainTimestamp() { method getLatestBlock (line 1161) | async getLatestBlock() { method getParanetKnowledgeCollectionCount (line 1167) | async getParanetKnowledgeCollectionCount(paranetId) { method getParanetKnowledgeCollectionLocatorsWithPagination (line 1175) | async getParanetKnowledgeCollectionLocatorsWithPagination(paranetId, o... method getParanetMetadata (line 1183) | async getParanetMetadata(paranetId) { method getParanetName (line 1192) | async getParanetName(paranetId) { method getDescription (line 1201) | async getDescription(paranetId) { method paranetExists (line 1210) | async paranetExists(paranetId) { method isPermissionedNode (line 1219) | async isPermissionedNode(paranetId, identityId) { method getNodesAccessPolicy (line 1226) | async getNodesAccessPolicy(paranetId) { method getPermissionedNodes (line 1232) | async getPermissionedNodes(paranetId) { method getNodeId (line 1241) | async getNodeId(identityId) { method signMessage (line 1245) | async signMessage(messageHash) { method getStakeWeightedAverageAsk (line 1250) | async getStakeWeightedAverageAsk() { method getTimeUntilNextEpoch (line 1258) | async getTimeUntilNextEpoch() { method getEpochLength (line 1262) | async getEpochLength() { method isKnowledgeCollectionRegistered (line 1266) | async isKnowledgeCollectionRegistered(paranetId, knowledgeCollectionId) { method getActiveProofPeriodStatus (line 1274) | async getActiveProofPeriodStatus() { method createChallenge (line 1282) | async createChallenge() { method getNodeChallenge (line 1305) | async getNodeChallenge(nodeId) { method submitProof (line 1311) | async submitProof(chunk, merkleProof) { method getNodeEpochProofPeriodScore (line 1331) | async getNodeEpochProofPeriodScore(nodeId, epoch, proofPeriodStartBloc... method getTransaction (line 1339) | async getTransaction(txHash) { method getBlockTimestamp (line 1343) | async getBlockTimestamp(blockNumber) { method getDelegators (line 1348) | async getDelegators(identityId) { method hasEverDelegated (line 1354) | async hasEverDelegated(identityId, address) { method getCurrentEpoch (line 1361) | async getCurrentEpoch() { method getLastClaimedEpoch (line 1365) | async getLastClaimedEpoch(identityId, address) { method batchClaimDelegatorRewards (line 1372) | async batchClaimDelegatorRewards(identityId, epochs, delegators) { method getAssetStorageContractsAddress (line 1392) | async getAssetStorageContractsAddress() { method getLatestAssertionId (line 1397) | async getLatestAssertionId(assetContractAddress, tokenId) { FILE: src/modules/http-client/http-client-module-manager.js class HttpClientModuleManager (line 3) | class HttpClientModuleManager extends BaseModuleManager { method constructor (line 4) | constructor(ctx) { method getName (line 9) | getName() { method get (line 13) | get(route, callback, options = {}) { method post (line 19) | post(route, callback, options = {}) { method use (line 25) | use(route, callback, options = {}) { method createRouterInstance (line 31) | createRouterInstance() { method sendResponse (line 37) | sendResponse(res, status, returnObject) { method listen (line 43) | async listen() { method selectMiddlewares (line 49) | selectMiddlewares(options) { method initializeBeforeMiddlewares (line 55) | initializeBeforeMiddlewares(blockchainImpelemntations) { method initializeAfterMiddlewares (line 64) | initializeAfterMiddlewares() { FILE: src/modules/http-client/implementation/express-http-client.js class ExpressHttpClient (line 13) | class ExpressHttpClient { method initialize (line 14) | async initialize(config, logger) { method get (line 20) | get(route, callback, options) { method post (line 24) | post(route, callback, options) { method use (line 28) | use(route, callback, options) { method createRouterInstance (line 32) | createRouterInstance() { method sendResponse (line 36) | sendResponse(res, status, returnObject) { method listen (line 41) | async listen() { method selectMiddlewares (line 61) | selectMiddlewares(options) { method initializeBeforeMiddlewares (line 70) | initializeBeforeMiddlewares(authService, blockchainImplementations) { method initializeAfterMiddlewares (line 78) | initializeAfterMiddlewares() { method _initializeCorsMiddleware (line 82) | _initializeCorsMiddleware() { method _initializeBaseMiddlewares (line 92) | _initializeBaseMiddlewares() { FILE: src/modules/http-client/implementation/middleware/blockchain-id-midleware.js function addBlockchainId (line 1) | function addBlockchainId(blockchain, blockchainImplementations) { function blockchainIdMiddleware (line 16) | function blockchainIdMiddleware(blockchainImplementations) { FILE: src/modules/http-client/implementation/middleware/request-validation-middleware.js function preValidateProperty (line 5) | function preValidateProperty(object, key, schema, options, ctx) { function requestValidationMiddleware (line 22) | function requestValidationMiddleware(requestSchema) { FILE: src/modules/module-config-validation.js class ModuleConfigValidation (line 3) | class ModuleConfigValidation { method constructor (line 4) | constructor(ctx) { method validateModule (line 9) | validateModule(name, config) { method validateAutoUpdater (line 19) | validateAutoUpdater() { method validateBlockchain (line 23) | validateBlockchain() { method validateHttpClient (line 27) | validateHttpClient() { method validateNetwork (line 31) | validateNetwork() { method validateRepository (line 35) | validateRepository() { method validateBlockchainEvents (line 39) | validateBlockchainEvents(config) { method validateTripleStore (line 97) | validateTripleStore(config) { method validateValidation (line 121) | validateValidation() { method validateRequiredModule (line 125) | validateRequiredModule(moduleName, moduleConfig) { method validateTelemetry (line 140) | validateTelemetry() { FILE: src/modules/network/implementation/libp2p-service.js class Libp2pService (line 45) | class Libp2pService { method initialize (line 46) | async initialize(config, logger) { method start (line 113) | async start() { method onPeerConnected (line 119) | async onPeerConnected(listener) { method savePrivateKeyInFile (line 123) | async savePrivateKeyInFile(privateKey) { method getKeyPath (line 129) | getKeyPath() { method readPrivateKeyFromFile (line 146) | async readPrivateKeyFromFile() { method fileExists (line 154) | async fileExists(filePath) { method _initializeRateLimiters (line 163) | _initializeRateLimiters() { method getMultiaddrs (line 182) | getMultiaddrs() { method getProtocols (line 186) | getProtocols(peerIdObject) { method getAddresses (line 190) | getAddresses(peerIdObject) { method getPeers (line 194) | getPeers() { method getPeerId (line 198) | getPeerId() { method handleMessage (line 202) | handleMessage(protocol, handler) { method updateSessionStream (line 243) | updateSessionStream(operationId, peerIdString, stream) { method getSessionStream (line 264) | getSessionStream(operationId, peerIdString) { method createStreamMessage (line 274) | createStreamMessage(message, operationId, messageType) { method sendMessage (line 284) | async sendMessage(protocol, peerIdString, messageType, operationId, me... method sendMessageResponse (line 407) | async sendMessageResponse(protocol, peerIdString, messageType, operati... method _sendMessageToStream (line 422) | async _sendMessageToStream(stream, message) { method _readMessageFromStream (line 445) | async _readMessageFromStream(stream, isMessageValid, peerIdString) { method readMessageSink (line 458) | async readMessageSink(source, isMessageValid, peerIdString) { method isRequestValid (line 503) | async isRequestValid(header, peerIdString) { method sessionExists (line 521) | sessionExists() { method isResponseValid (line 525) | async isResponseValid() { method healthCheck (line 529) | healthCheck() { method limitRequest (line 536) | async limitRequest(header, peerIdString) { method isBusy (line 574) | isBusy() { method getPrivateKey (line 584) | getPrivateKey() { method getName (line 588) | getName() { method findPeer (line 592) | async findPeer(peerId) { method dial (line 596) | async dial(peerId) { method getPeerInfo (line 600) | async getPeerInfo(peerId) { method removeCachedSession (line 604) | removeCachedSession(operationId, peerIdString) { FILE: src/modules/network/network-module-manager.js class NetworkModuleManager (line 3) | class NetworkModuleManager extends BaseModuleManager { method getName (line 4) | getName() { method start (line 8) | async start() { method onPeerConnected (line 14) | async onPeerConnected(listener) { method getMultiaddrs (line 20) | getMultiaddrs() { method getPeers (line 26) | getPeers() { method sendMessage (line 32) | async sendMessage(protocol, remotePeerId, messageType, operationId, me... method sendMessageResponse (line 45) | async sendMessageResponse(protocol, remotePeerId, messageType, operati... method handleMessage (line 57) | handleMessage(protocol, handler, options) { method getPeerId (line 63) | getPeerId() { method healthCheck (line 69) | async healthCheck() { method findPeer (line 75) | async findPeer(peerId) { method dial (line 81) | async dial(peerId) { method getPeerInfo (line 87) | async getPeerInfo(peerId) { method removeCachedSession (line 93) | removeCachedSession(operationId, remotePeerId) { FILE: src/modules/repository/implementation/sequelize/migrations/20211117005504-create-operation_ids.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 31) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220620100000-create-publish.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220620100005-create-publish-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 36) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220623125000-create-get.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220623125001-create-get-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 36) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624020509-create-event.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 44) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624103229-create-ability.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 25) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624103610-create-role.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 25) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624103615-create-user.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 32) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624103658-create-token.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 40) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220624113659-create-role-ability.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 35) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20220628113824-add-predefined-auth-entities.js function up (line 14) | async function up({ context: { queryInterface } }) { function down (line 71) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221025120253-create-blockchain-event.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 44) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221025212800-create-shard.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 35) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221028125900-create-blockchain.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 23) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221114115524-update-publish-add-agreement-data.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 10) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221206183634-update-shard-types.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 10) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221214110050-update-commands-types.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 16) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20221215130500-update-event-types.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 13) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230216112400-add-abilities.js function getRoleAbilities (line 3) | async function getRoleAbilities(names, queryInterface, transaction) { function removeAbilities (line 24) | async function removeAbilities(names, queryInterface, transaction) { function addAbilities (line 37) | async function addAbilities(names, queryInterface, transaction) { function up (line 50) | async function up({ context: { queryInterface } }) { function down (line 61) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230227094500-create-update.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230303131200-update-publish-remove-agreement-data.js function up (line 3) | async function up({ context: { queryInterface } }, logger) { function down (line 21) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230303131400-create-update-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 36) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230413194400-update-command-period-type.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 7) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20230502110300-add-blockchain-event-index.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 6) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20231201140100-event-add-blockchain-id.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 7) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20231221131300-update-abilities.js function getAbilityIds (line 13) | async function getAbilityIds(names, queryInterface, transaction) { function getRoleIds (line 21) | async function getRoleIds(queryInterface, transaction) { function getRoleAbilities (line 32) | async function getRoleAbilities(names, queryInterface, transaction) { function removeAbilities (line 44) | async function removeAbilities(names, queryInterface, transaction) { function addAbilities (line 60) | async function addAbilities(names, queryInterface, transaction) { function up (line 73) | async function up({ context: { queryInterface } }) { function down (line 85) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20233010122500-update-blockchain-id.js constant CHAIN_IDS (line 1) | const CHAIN_IDS = { function up (line 10) | async function up({ context: { queryInterface } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20233011121700-remove-blockchain-info.js function up (line 3) | async function up({ context: { queryInterface } }) { function down (line 10) | async function down() {} FILE: src/modules/repository/implementation/sequelize/migrations/20240126120000-shard-add-sha256blobl.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 11) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240201100000-remove-sha256Blob.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 9) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240221162000-add-service-agreement-data-source.js function up (line 3) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 9) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240923195000-create-publish-paranet.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240924205500-create-publish-paranet-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 36) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240927110000-change-paranet-synced-asset-nullable-assertions.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 13) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20240930113000-add-error-message.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 8) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241011112100-remove-knowledge-asset-id.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 5) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241014164500-paranet-synced-asset-optional-fileds.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 12) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241023170300-add-synced-data-source.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 8) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241105150000-change-data-source-col-type-in-paranet-synced-asset.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 8) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241105160000-add-indexes-to-tables.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 94) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241125151200-rename-keyword-column-to-datasetroot-in-responses.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 17) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241126114400-add-commands-priority.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 14) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241129120000-add-commands-is_blocking.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 14) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241129125800-remove-datasetroot-response-table.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 16) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241201152000-update-blockchain-events.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 39) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241202214500-update-blockchain-table.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 26) | async function down({ context: { queryInterface, Sequelize } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241203125000-create-finality.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241203125001-create-finality-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 32) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241211204400-rename-ask.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 21) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241211205400-create-finality-response.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 32) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241211205400-create-finality-status.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 35) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241211205400-create-finality.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241212122200-add-min-acks-reached-column.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 7) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241215122200-create-paranet-kc.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 110) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20241226151800-prune-commands.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 5) | async function down() { FILE: src/modules/repository/implementation/sequelize/migrations/20250401123500-truncate-commands-table.js function up (line 1) | async function up({ context: { queryInterface } }) { function down (line 5) | async function down() { FILE: src/modules/repository/implementation/sequelize/migrations/20250408164300-create-triples-inserted-count-table.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 16) | async function down() { FILE: src/modules/repository/implementation/sequelize/migrations/20250422150500-add-tx-hash-blockchain-event.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 14) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20250509142900-create-batch-get.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 28) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20250509142901-create-latest-synced-kc.js function up (line 1) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 92) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/migrations/20250509142902-create-sync-missed-kc.js function up (line 4) | async function up({ context: { queryInterface, Sequelize } }) { function down (line 128) | async function down({ context: { queryInterface } }) { FILE: src/modules/repository/implementation/sequelize/models/commands.js class commands (line 5) | class commands extends Model { method associate (line 6) | static associate(models) { FILE: src/modules/repository/implementation/sequelize/repositories/blockchain-event-repository.js class BlockchainEventRepository (line 3) | class BlockchainEventRepository { method constructor (line 4) | constructor(models) { method insertBlockchainEvents (line 9) | async insertBlockchainEvents(events, options) { method getAllUnprocessedBlockchainEvents (line 41) | async getAllUnprocessedBlockchainEvents(blockchain, eventNames, option... method markAllBlockchainEventsAsProcessed (line 57) | async markAllBlockchainEventsAsProcessed(blockchain, options) { method removeEvents (line 67) | async removeEvents(ids, options) { method removeContractEventsAfterBlock (line 76) | async removeContractEventsAfterBlock( method findAndRemoveProcessedEvents (line 103) | async findAndRemoveProcessedEvents(timestamp, limit, options) { method findProcessedEvents (line 114) | async findProcessedEvents(timestamp, limit, options) { FILE: src/modules/repository/implementation/sequelize/repositories/blockchain-missed-kc-repository.js class BlockchainMissedKcRepository (line 4) | class BlockchainMissedKcRepository { method constructor (line 5) | constructor(models) { method insertMissedKc (line 23) | async insertMissedKc(blockchain, records, error, options) { method getMissedKcForRetry (line 38) | async getMissedKcForRetry(blockchain, contractAddress, limit, options) { method incrementRetryCount (line 60) | async incrementRetryCount(blockchain, records, options) { method setSyncedToTrue (line 85) | async setSyncedToTrue(blockchain, records, options) { method getMissedKcForRetryCount (line 110) | async getMissedKcForRetryCount(blockchain, contractAddress, options) { FILE: src/modules/repository/implementation/sequelize/repositories/blockchain-repository.js class BlockchainRepository (line 1) | class BlockchainRepository { method constructor (line 2) | constructor(models) { method getLastCheckedBlock (line 7) | async getLastCheckedBlock(blockchain, options) { method updateLastCheckedBlock (line 14) | async updateLastCheckedBlock(blockchain, currentBlock, timestamp, opti... FILE: src/modules/repository/implementation/sequelize/repositories/command-repository.js class CommandRepository (line 4) | class CommandRepository { method constructor (line 5) | constructor(models) { method updateCommand (line 10) | async updateCommand(update, options) { method destroyCommand (line 14) | async destroyCommand(name, options) { method createCommand (line 23) | async createCommand(command, options) { method getCommandsWithStatus (line 27) | async getCommandsWithStatus(statusArray, excludeNameArray, options) { method getCommandWithId (line 39) | async getCommandWithId(id, options) { method removeCommands (line 48) | async removeCommands(ids, options) { method findFinalizedCommands (line 57) | async findFinalizedCommands(timestamp, limit, options) { method findAndRemoveFinalizedCommands (line 77) | async findAndRemoveFinalizedCommands(timestamp, limit, options) { method findUnfinalizedCommandsByName (line 101) | async findUnfinalizedCommandsByName(name, options) { FILE: src/modules/repository/implementation/sequelize/repositories/event-repository.js class EventRepository (line 8) | class EventRepository { method constructor (line 9) | constructor(models) { method createEventRecord (line 14) | async createEventRecord( method getUnpublishedEvents (line 38) | async getUnpublishedEvents(options) { method destroyEvents (line 83) | async destroyEvents(ids, options) { FILE: src/modules/repository/implementation/sequelize/repositories/finality-status-repository.js class FinalityStatusRepository (line 1) | class FinalityStatusRepository { method constructor (line 2) | constructor(models) { method getFinalityAcksCount (line 7) | async getFinalityAcksCount(ual, options) { method saveFinalityAck (line 14) | async saveFinalityAck(operationId, ual, peerId, options) { method getPublishOperationIdByUal (line 18) | async getPublishOperationIdByUal(ual, options) { FILE: src/modules/repository/implementation/sequelize/repositories/inserted-triples-repository.js class TriplesInsertCountRepository (line 3) | class TriplesInsertCountRepository { method constructor (line 4) | constructor(models) { method getCount (line 8) | async getCount() { method increment (line 13) | async increment(by = 1, options = {}) { FILE: src/modules/repository/implementation/sequelize/repositories/latest-synced-kc-repository.js class LatestSyncedKcRepository (line 1) | class LatestSyncedKcRepository { method constructor (line 2) | constructor(ctx) { method getKCStorageContracts (line 6) | async getKCStorageContracts(blockchainId) { method getSyncRecordForBlockchain (line 13) | getSyncRecordForBlockchain(blockchainId) { method addSyncContracts (line 19) | async addSyncContracts(blockchainId, contracts) { method updateLatestSyncedKc (line 28) | async updateLatestSyncedKc(blockchainId, contractAddress, latestSynced... FILE: src/modules/repository/implementation/sequelize/repositories/missed-paranet-asset-repository.js class MissedParanetAssetRepository (line 3) | class MissedParanetAssetRepository { method constructor (line 4) | constructor(models) { method createMissedParanetAssetRecord (line 9) | async createMissedParanetAssetRecord(missedParanetAsset, options) { method getMissedParanetAssetsRecordsWithRetryCount (line 13) | async getMissedParanetAssetsRecordsWithRetryCount( method missedParanetAssetRecordExists (line 49) | async missedParanetAssetRecordExists(ual, options) { method removeMissedParanetAssetRecordsByUAL (line 58) | async removeMissedParanetAssetRecordsByUAL(ual, options) { method getCountOfMissedAssetsOfParanet (line 67) | async getCountOfMissedAssetsOfParanet(paranetUal, options) { method getFilteredCountOfMissedAssetsOfParanet (line 80) | async getFilteredCountOfMissedAssetsOfParanet( FILE: src/modules/repository/implementation/sequelize/repositories/operation-id-repository.js class OperationIdRepository (line 3) | class OperationIdRepository { method constructor (line 4) | constructor(models) { method createOperationIdRecord (line 9) | async createOperationIdRecord(handlerData, options) { method getOperationIdRecord (line 13) | async getOperationIdRecord(operationId, options) { method updateOperationIdRecord (line 22) | async updateOperationIdRecord(data, operationId, options) { method removeOperationIdRecord (line 31) | async removeOperationIdRecord(timeToBeDeleted, statuses, options) { method updateMinAcksReached (line 41) | async updateMinAcksReached(operationId, minAcksReached, options) { FILE: src/modules/repository/implementation/sequelize/repositories/operation-repository.js class OperationRepository (line 3) | class OperationRepository { method constructor (line 4) | constructor(models) { method createOperationRecord (line 17) | async createOperationRecord(operation, operationId, status, options) { method findAndRemoveProcessedOperationRecords (line 28) | async findAndRemoveProcessedOperationRecords(operation, timestamp, lim... method removeOperationRecords (line 40) | async removeOperationRecords(operation, ids, options) { method findProcessedOperations (line 50) | async findProcessedOperations(operation, timestamp, limit, options) { method getOperationStatus (line 63) | async getOperationStatus(operation, operationId, options) { method updateOperationStatus (line 74) | async updateOperationStatus(operation, operationId, status, options) { FILE: src/modules/repository/implementation/sequelize/repositories/operation-response.js class OperationResponseRepository (line 3) | class OperationResponseRepository { method constructor (line 4) | constructor(models) { method createOperationResponseRecord (line 16) | async createOperationResponseRecord(status, operation, operationId, me... method getOperationResponsesStatuses (line 28) | async getOperationResponsesStatuses(operation, operationId, options) { method findProcessedOperationResponse (line 39) | async findProcessedOperationResponse(timestamp, limit, operation, opti... method findAndRemoveProcessedOperationResponse (line 52) | async findAndRemoveProcessedOperationResponse(operation, timestamp, li... method removeOperationResponse (line 63) | async removeOperationResponse(ids, operation, options) { FILE: src/modules/repository/implementation/sequelize/repositories/paranet-kc-repository.js class ParanetKcRepository (line 3) | class ParanetKcRepository { method constructor (line 4) | constructor(models) { method createParanetKcRecords (line 9) | async createParanetKcRecords(paranetUal, blockchainId, uals, options =... method getCount (line 16) | async getCount(paranetUal, options = {}) { method getCountSynced (line 25) | async getCountSynced(paranetUal, options = {}) { method getCountUnsynced (line 35) | async getCountUnsynced(paranetUal, options = {}) { method getSyncBatch (line 45) | async getSyncBatch(paranetUal, maxRetries, delayInMs, limit = null, op... method incrementRetries (line 75) | async incrementRetries(paranetUal, ual, errorMessage = null, options =... method markAsSynced (line 93) | async markAsSynced(paranetUal, ual, options = {}) { FILE: src/modules/repository/implementation/sequelize/repositories/paranet-repository.js class ParanetRepository (line 3) | class ParanetRepository { method constructor (line 4) | constructor(models) { method createParanetRecord (line 9) | async createParanetRecord(name, description, paranetId, blockchainId, ... method getParanet (line 25) | async getParanet(paranetId, blockchainId, options) { method addToParanetKaCount (line 35) | async addToParanetKaCount(paranetId, blockchainId, kaCount, options) { method paranetExists (line 50) | async paranetExists(paranetId, blockchainId, options) { method getParanetKnowledgeAssetsCount (line 61) | async getParanetKnowledgeAssetsCount(paranetId, blockchainId, options) { method incrementParanetKaCount (line 72) | async incrementParanetKaCount(paranetId, blockchainId, options) { method getParanetsBlockchains (line 87) | async getParanetsBlockchains(options) { FILE: src/modules/repository/implementation/sequelize/repositories/paranet-synced-asset-repository.js class ParanetSyncedAssetRepository (line 2) | class ParanetSyncedAssetRepository { method constructor (line 3) | constructor(models) { method createParanetSyncedAssetRecord (line 8) | async createParanetSyncedAssetRecord( method getParanetSyncedAssetRecordByUAL (line 34) | async getParanetSyncedAssetRecordByUAL(ual, options) { method getParanetSyncedAssetRecordsCountByDataSource (line 41) | async getParanetSyncedAssetRecordsCountByDataSource(paranetUal, dataSo... method paranetSyncedAssetRecordExists (line 51) | async paranetSyncedAssetRecordExists(ual, options) { FILE: src/modules/repository/implementation/sequelize/repositories/random-sampling-challenge-repository.js class RandomSamplingChallengeRepository (line 1) | class RandomSamplingChallengeRepository { method constructor (line 2) | constructor(models) { method createRandomSamplingChallengeRecord (line 7) | async createRandomSamplingChallengeRecord(randomSamplingChallenge, opt... method updateRandomSamplingChallengeRecord (line 11) | async updateRandomSamplingChallengeRecord(randomSamplingChallenge, opt... method setCompletedAndScoreRandomSamplingChallengeRecord (line 15) | async setCompletedAndScoreRandomSamplingChallengeRecord( method setCompletedAndFinalizedRandomSamplingChallengeRecord (line 27) | async setCompletedAndFinalizedRandomSamplingChallengeRecord( method getLatestRandomSamplingChallengeRecordForBlockchainId (line 39) | async getLatestRandomSamplingChallengeRecordForBlockchainId(blockchain... method deleteRandomSamplingChallengeRecord (line 48) | async deleteRandomSamplingChallengeRecord(id, options = {}) { method deleteRandomSamplingChallengeForBlockchainIdEpoch (line 55) | async deleteRandomSamplingChallengeForBlockchainIdEpoch(blockchainId, ... FILE: src/modules/repository/implementation/sequelize/repositories/shard-repository.js class ShardRepository (line 3) | class ShardRepository { method constructor (line 4) | constructor(models) { method createManyPeerRecords (line 9) | async createManyPeerRecords(peerRecords, options) { method removeShardingTablePeerRecords (line 17) | async removeShardingTablePeerRecords(blockchainId, options) { method createPeerRecord (line 24) | async createPeerRecord(peerId, blockchainId, ask, stake, lastSeen, sha... method getAllPeerRecords (line 41) | async getAllPeerRecords(blockchainId, filterInactive, options) { method getPeerRecordsByIds (line 64) | async getPeerRecordsByIds(blockchainId, peerIds, options) { method getPeerRecord (line 76) | async getPeerRecord(peerId, blockchainId, options) { method getPeersCount (line 86) | async getPeersCount(blockchainId, options) { method getPeersToDial (line 95) | async getPeersToDial(limit, dialFrequencyMillis, options) { method updatePeerAsk (line 112) | async updatePeerAsk(peerId, blockchainId, ask, options) { method updatePeerStake (line 125) | async updatePeerStake(peerId, blockchainId, stake, options) { method updatePeerRecordLastDialed (line 138) | async updatePeerRecordLastDialed(peerId, timestamp, options) { method updatePeerRecordLastSeenAndLastDialed (line 150) | async updatePeerRecordLastSeenAndLastDialed(peerId, timestamp, options) { method removePeerRecord (line 163) | async removePeerRecord(blockchainId, peerId, options) { method cleanShardingTable (line 173) | async cleanShardingTable(blockchainId, options) { method isNodePartOfShard (line 180) | async isNodePartOfShard(blockchainId, peerId, options) { FILE: src/modules/repository/implementation/sequelize/repositories/token-repository.js class TokenRepository (line 3) | class TokenRepository { method constructor (line 4) | constructor(models) { method saveToken (line 9) | async saveToken(tokenId, userId, tokenName, expiresAt, options) { method isTokenRevoked (line 21) | async isTokenRevoked(tokenId, options) { method getTokenAbilities (line 27) | async getTokenAbilities(tokenId, options) { FILE: src/modules/repository/implementation/sequelize/repositories/user-repository.js class UserRepository (line 1) | class UserRepository { method constructor (line 2) | constructor(models) { method getUser (line 7) | async getUser(username, options) { FILE: src/modules/repository/implementation/sequelize/sequelize-migrator.js function createMigrator (line 8) | function createMigrator(sequelize, config, logger) { FILE: src/modules/repository/implementation/sequelize/sequelize-repository.js class SequelizeRepository (line 29) | class SequelizeRepository { method initialize (line 30) | async initialize(config, logger) { method initializeSequelize (line 63) | initializeSequelize() { method setEnvParameters (line 77) | setEnvParameters() { method createDatabaseIfNotExists (line 87) | async createDatabaseIfNotExists() { method dropDatabase (line 100) | async dropDatabase() { method runMigrations (line 111) | async runMigrations() { method loadModels (line 122) | async loadModels() { method transaction (line 142) | async transaction(execFn) { method getRepository (line 149) | getRepository(repositoryName) { method query (line 153) | async query(query, options) { method destroyAllRecords (line 157) | async destroyAllRecords(table, options) { FILE: src/modules/repository/repository-module-manager.js class RepositoryModuleManager (line 3) | class RepositoryModuleManager extends BaseModuleManager { method getName (line 4) | getName() { method getRepository (line 8) | getRepository(repoName) { method transaction (line 15) | async transaction(execFn) { method dropDatabase (line 21) | async dropDatabase() { method query (line 27) | async query(query, options = {}) { method destroyAllRecords (line 33) | async destroyAllRecords(table, options = {}) { method updateCommand (line 39) | async updateCommand(update, options = {}) { method destroyCommand (line 43) | async destroyCommand(name, options = {}) { method createCommand (line 47) | async createCommand(command, options = {}) { method getCommandsWithStatus (line 51) | async getCommandsWithStatus(statusArray, excludeNameArray = [], option... method getCommandWithId (line 59) | async getCommandWithId(id, options = {}) { method removeCommands (line 63) | async removeCommands(ids, options = {}) { method findFinalizedCommands (line 67) | async findFinalizedCommands(timestamp, limit, options = {}) { method findAndRemoveFinalizedCommands (line 71) | async findAndRemoveFinalizedCommands(timestamp, limit, options = {}) { method findUnfinalizedCommandsByName (line 79) | async findUnfinalizedCommandsByName(limit, options = {}) { method createOperationIdRecord (line 83) | async createOperationIdRecord(handlerData, options = {}) { method updateOperationIdRecord (line 87) | async updateOperationIdRecord(data, operationId, options = {}) { method getOperationIdRecord (line 95) | async getOperationIdRecord(operationId, options = {}) { method removeOperationIdRecord (line 99) | async removeOperationIdRecord(timeToBeDeleted, statuses, options = {}) { method updateMinAcksReached (line 107) | async updateMinAcksReached(operationId, minAcksReached, options = {}) { method createOperationRecord (line 115) | async createOperationRecord(operation, operationId, status, options = ... method removeOperationRecords (line 124) | async removeOperationRecords(operation, ids, options = {}) { method findProcessedOperations (line 128) | async findProcessedOperations(operation, timestamp, limit, options = {... method findAndRemoveProcessedOperationRecords (line 137) | async findAndRemoveProcessedOperationRecords(operation, timestamp, lim... method getOperationStatus (line 146) | async getOperationStatus(operation, operationId, options = {}) { method updateOperationStatus (line 150) | async updateOperationStatus(operation, operationId, status, options = ... method createOperationResponseRecord (line 159) | async createOperationResponseRecord(status, operation, operationId, er... method getOperationResponsesStatuses (line 169) | async getOperationResponsesStatuses(operation, operationId, options = ... method findProcessedOperationResponse (line 177) | async findProcessedOperationResponse(timestamp, limit, operation, opti... method findAndRemoveProcessedOperationResponse (line 186) | async findAndRemoveProcessedOperationResponse(operation, timestamp, li... method removeOperationResponse (line 195) | async removeOperationResponse(ids, operation, options = {}) { method createManyPeerRecords (line 203) | async createManyPeerRecords(peers, options = {}) { method removeShardingTablePeerRecords (line 207) | async removeShardingTablePeerRecords(blockchain, options = {}) { method createPeerRecord (line 211) | async createPeerRecord(peerId, blockchain, ask, stake, lastSeen, sha25... method getPeerRecord (line 223) | async getPeerRecord(peerId, blockchain, options = {}) { method getAllPeerRecords (line 227) | async getAllPeerRecords(blockchain, filterInactive = false, options = ... method getPeerRecordsByIds (line 231) | async getPeerRecordsByIds(blockchain, peerIds, options = {}) { method getPeersCount (line 235) | async getPeersCount(blockchain, options = {}) { method getPeersToDial (line 239) | async getPeersToDial(limit, dialFrequencyMillis, options = {}) { method removePeerRecord (line 243) | async removePeerRecord(blockchain, peerId, options = {}) { method updatePeerRecordLastDialed (line 247) | async updatePeerRecordLastDialed(peerId, timestamp, options = {}) { method updatePeerRecordLastSeenAndLastDialed (line 251) | async updatePeerRecordLastSeenAndLastDialed(peerId, timestamp, options... method updatePeerAsk (line 259) | async updatePeerAsk(peerId, blockchainId, ask, options = {}) { method updatePeerStake (line 263) | async updatePeerStake(peerId, blockchainId, stake, options = {}) { method getNeighbourhood (line 267) | async getNeighbourhood(assertionId, r2, options = {}) { method cleanShardingTable (line 271) | async cleanShardingTable(blockchainId, options = {}) { method isNodePartOfShard (line 275) | async isNodePartOfShard(blockchainId, peerId, options = {}) { method destroyEvents (line 279) | async destroyEvents(ids, options = {}) { method getUser (line 283) | async getUser(username, options = {}) { method saveToken (line 287) | async saveToken(tokenId, userId, tokenName, expiresAt, options = {}) { method isTokenRevoked (line 297) | async isTokenRevoked(tokenId, options = {}) { method getTokenAbilities (line 301) | async getTokenAbilities(tokenId, options = {}) { method insertBlockchainEvents (line 305) | async insertBlockchainEvents(events, options = {}) { method getAllUnprocessedBlockchainEvents (line 309) | async getAllUnprocessedBlockchainEvents(blockchain, eventNames, option... method markAllBlockchainEventsAsProcessed (line 317) | async markAllBlockchainEventsAsProcessed(blockchain, options = {}) { method removeEvents (line 324) | async removeEvents(ids, options = {}) { method removeContractEventsAfterBlock (line 328) | async removeContractEventsAfterBlock( method findProcessedEvents (line 346) | async findProcessedEvents(timestamp, limit, options = {}) { method findAndRemoveProcessedEvents (line 354) | async findAndRemoveProcessedEvents(timestamp, limit, options = {}) { method getLastCheckedBlock (line 362) | async getLastCheckedBlock(blockchain, options = {}) { method updateLastCheckedBlock (line 366) | async updateLastCheckedBlock(blockchain, currentBlock, timestamp, opti... method addToParanetKaCount (line 375) | async addToParanetKaCount(paranetId, blockchainId, kaCount, options = ... method createParanetRecord (line 384) | async createParanetRecord(name, description, paranetId, blockchainId, ... method paranetExists (line 394) | async paranetExists(paranetId, blockchainId, options = {}) { method getParanet (line 398) | async getParanet(paranetId, blockchainId, options = {}) { method getParanetKnowledgeAssetsCount (line 402) | async getParanetKnowledgeAssetsCount(paranetId, blockchainId, options ... method getParanetsBlockchains (line 410) | async getParanetsBlockchains(options = {}) { method incrementParanetKaCount (line 414) | async incrementParanetKaCount(paranetId, blockchainId, options = {}) { method createParanetKcRecords (line 422) | async createParanetKcRecords(paranetUal, blockchainId, uals, options =... method getParanetKcCount (line 431) | async getParanetKcCount(paranetUal, options = {}) { method getParanetKcSyncedCount (line 435) | async getParanetKcSyncedCount(paranetUal, options = {}) { method getParanetKcUnsyncedCount (line 439) | async getParanetKcUnsyncedCount(paranetUal, options = {}) { method getParanetKcSyncBatch (line 443) | async getParanetKcSyncBatch(paranetUal, retriesMax, retryDelayMs, limi... method paranetKcIncrementRetries (line 453) | async paranetKcIncrementRetries(paranetUal, ual, errorMessage = null, ... method paranetKcMarkAsSynced (line 462) | async paranetKcMarkAsSynced(paranetUal, ual, options = {}) { method getFinalityAcksCount (line 466) | async getFinalityAcksCount(ual, options = {}) { method getPublishOperationIdByUal (line 470) | async getPublishOperationIdByUal(ual, options = {}) { method getLatestRandomSamplingChallengeRecordForBlockchainId (line 474) | async getLatestRandomSamplingChallengeRecordForBlockchainId(blockchain... method createRandomSamplingChallengeRecord (line 480) | async createRandomSamplingChallengeRecord(randomSamplingChallenge, opt... method updateRandomSamplingChallengeRecord (line 487) | async updateRandomSamplingChallengeRecord(randomSamplingChallenge, opt... method deleteRandomSamplingChallengeRecord (line 494) | async deleteRandomSamplingChallengeRecord(randomSamplingChallengeId, o... method setCompletedAndScoreRandomSamplingChallengeRecord (line 501) | async setCompletedAndScoreRandomSamplingChallengeRecord( method setCompletedAndFinalizedRandomSamplingChallengeRecord (line 517) | async setCompletedAndFinalizedRandomSamplingChallengeRecord( method saveFinalityAck (line 533) | async saveFinalityAck(publishOperationId, ual, peerId, options = {}) { method incrementInsertedTriples (line 542) | async incrementInsertedTriples(count) { method getKCStorageContracts (line 546) | async getKCStorageContracts(blockchainId) { method getSyncRecordForBlockchain (line 550) | async getSyncRecordForBlockchain(blockchainId) { method addSyncContracts (line 554) | async addSyncContracts(blockchainId, contracts) { method insertMissedKc (line 558) | async insertMissedKc(blockchainId, records, error, options = {}) { method getMissedKcForRetry (line 567) | async getMissedKcForRetry(blockchain, contractAddress, limit, options) { method updateLatestSyncedKc (line 576) | async updateLatestSyncedKc(blockchainId, contractAddress, latestSynced... method incrementRetryCount (line 585) | async incrementRetryCount(blockchain, records, options) { method setSyncedToTrue (line 593) | async setSyncedToTrue(blockchain, records, options) { method getMissedKcForRetryCount (line 601) | async getMissedKcForRetryCount(blockchain, contractAddress, options) { FILE: src/modules/telemetry/implementation/quest-telemetry.js class QuestTelemetry (line 3) | class QuestTelemetry { method initialize (line 4) | async initialize(config, logger) { method listenOnEvents (line 13) | listenOnEvents(eventEmitter, onEventReceived) { method sendTelemetryData (line 17) | async sendTelemetryData( FILE: src/modules/telemetry/telemetry-module-manager.js class TelemetryModuleManager (line 3) | class TelemetryModuleManager extends BaseModuleManager { method constructor (line 4) | constructor(ctx) { method getName (line 9) | getName() { method initialize (line 13) | async initialize() { method listenOnEvents (line 29) | listenOnEvents(onEventReceived) { method sendTelemetryData (line 38) | async sendTelemetryData(operationId, timestamp, blockchainId, name, va... FILE: src/modules/triple-store/implementation/ot-blazegraph/ot-blazegraph.js class OtBlazegraph (line 5) | class OtBlazegraph extends OtTripleStore { method initialize (line 6) | async initialize(config, logger) { method createRepository (line 18) | async createRepository(repository) { method initializeSparqlEndpoints (line 48) | initializeSparqlEndpoints(repository) { method getRepositoryUrl (line 56) | getRepositoryUrl(repository) { method hasUnicodeCodePoints (line 60) | hasUnicodeCodePoints(input) { method decodeUnicodeCodePoints (line 64) | decodeUnicodeCodePoints(input) { method utfConverter (line 73) | utfConverter(input) { method construct (line 77) | async construct(repository, query, timeout) { method select (line 81) | async select(repository, query, timeout) { method ask (line 86) | async ask(repository, query, timeout = 10000) { method _executeQuery (line 91) | async _executeQuery(repository, query, mediaType, timeout) { method healthCheck (line 164) | async healthCheck(repository) { method queryVoid (line 179) | async queryVoid(repository, query, timeout) { method deleteRepository (line 200) | async deleteRepository(repository) { method repositoryExists (line 219) | async repositoryExists(repository) { method getName (line 246) | getName() { FILE: src/modules/triple-store/implementation/ot-fuseki/ot-fuseki.js class OtFuseki (line 4) | class OtFuseki extends OtTripleStore { method initialize (line 5) | async initialize(config, logger) { method createRepository (line 14) | async createRepository(repository) { method initializeSparqlEndpoints (line 30) | initializeSparqlEndpoints(repository) { method healthCheck (line 36) | async healthCheck(repository) { method deleteRepository (line 48) | async deleteRepository(repository) { method repositoryExists (line 67) | async repositoryExists(repository) { method getName (line 83) | getName() { FILE: src/modules/triple-store/implementation/ot-graphdb/ot-graphdb.js class OtGraphdb (line 7) | class OtGraphdb extends OtTripleStore { method initialize (line 8) | async initialize(config, logger) { method createRepository (line 18) | async createRepository(repository) { method initializeSparqlEndpoints (line 58) | initializeSparqlEndpoints(repository) { method healthCheck (line 66) | async healthCheck(repository) { method deleteRepository (line 93) | async deleteRepository(repository) { method repositoryExists (line 115) | async repositoryExists(repository) { method getName (line 129) | getName() { method queryVoid (line 133) | async queryVoid(repository, query) { method ask (line 150) | async ask(repository, query) { method construct (line 168) | async construct(repository, query, accept = 'application/n-triples') { method select (line 184) | async select(repository, query) { method _executeQuery (line 192) | async _executeQuery(repository, query, mediaType, accept = 'applicatio... FILE: src/modules/triple-store/implementation/ot-neptune/ot-neptune.js class OtNeptune (line 4) | class OtNeptune extends OtTripleStore { method initialize (line 5) | async initialize(config, logger) { method createRepository (line 10) | async createRepository(repository) { method initializeSparqlEndpoints (line 14) | initializeSparqlEndpoints(repository) { method deleteRepository (line 22) | async deleteRepository(repository) { method healthCheck (line 26) | async healthCheck(repository) { method getName (line 38) | getName() { FILE: src/modules/triple-store/implementation/ot-triple-store.js class OtTripleStore (line 19) | class OtTripleStore { method initialize (line 20) | async initialize(config, logger) { method initializeRepositories (line 29) | initializeRepositories() { method initializeParanetRepository (line 35) | async initializeParanetRepository(repository) { method repositoryInitilized (line 49) | repositoryInitilized(repository) { method createRepository (line 53) | async createRepository() { method initializeSparqlEndpoints (line 57) | initializeSparqlEndpoints() { method deleteRepository (line 61) | async deleteRepository() { method initializeContexts (line 65) | initializeContexts() { method ensureConnections (line 91) | async ensureConnections() { method insertAssertionBatch (line 117) | async insertAssertionBatch( method deleteUniqueKnowledgeCollectionTriplesFromUnifiedGraph (line 162) | async deleteUniqueKnowledgeCollectionTriplesFromUnifiedGraph(repositor... method getKnowledgeCollectionFromUnifiedGraph (line 192) | async getKnowledgeCollectionFromUnifiedGraph(repository, namedGraph, u... method getKnowledgeCollectionPublicFromUnifiedGraph (line 208) | async getKnowledgeCollectionPublicFromUnifiedGraph(repository, namedGr... method knowledgeCollectionExistsInUnifiedGraph (line 227) | async knowledgeCollectionExistsInUnifiedGraph(repository, namedGraph, ... method deleteUniqueKnowledgeAssetTriplesFromUnifiedGraph (line 241) | async deleteUniqueKnowledgeAssetTriplesFromUnifiedGraph(repository, na... method getKnowledgeAssetFromUnifiedGraph (line 270) | async getKnowledgeAssetFromUnifiedGraph(repository, namedGraph, ual) { method getKnowledgeAssetPublicFromUnifiedGraph (line 284) | async getKnowledgeAssetPublicFromUnifiedGraph(repository, namedGraph, ... method knowledgeAssetExistsInUnifiedGraph (line 301) | async knowledgeAssetExistsInUnifiedGraph(repository, namedGraph, ual) { method createKnowledgeCollectionNamedGraphs (line 314) | async createKnowledgeCollectionNamedGraphs( method createParanetKnoledgeCollectionConnection (line 368) | async createParanetKnoledgeCollectionConnection( method insertMetadataTriples (line 408) | async insertMetadataTriples(repository, kcUAL, kaUALs, visibility, tim... method deleteKnowledgeCollectionNamedGraphs (line 441) | async deleteKnowledgeCollectionNamedGraphs(repository, namedGraphs) { method getKnowledgeCollectionNamedGraphsOld (line 449) | async getKnowledgeCollectionNamedGraphsOld(repository, ual, tokenIds, ... method getKnowledgeCollectionNamedGraphsOldInBatch (line 498) | async getKnowledgeCollectionNamedGraphsOldInBatch( method checkIfKnowledgeAssetExists (line 549) | async checkIfKnowledgeAssetExists(repository, kaUAL, timeout = 10000) { method getKnowledgeCollectionNamedGraphs (line 564) | async getKnowledgeCollectionNamedGraphs( method getMetadataInBatch (line 643) | async getMetadataInBatch(repository, uals) { method knowledgeCollectionNamedGraphsExist (line 661) | async knowledgeCollectionNamedGraphsExist(repository, ual) { method deleteKnowledgeAssetNamedGraph (line 673) | async deleteKnowledgeAssetNamedGraph(repository, ual) { method getKnowledgeAssetNamedGraph (line 681) | async getKnowledgeAssetNamedGraph(repository, ual, visibility, timeout) { method knowledgeAssetNamedGraphExists (line 753) | async knowledgeAssetNamedGraphExists(repository, name) { method insertKnowledgeCollectionMetadata (line 765) | async insertKnowledgeCollectionMetadata(repository, metadataNQuads, ti... method deleteKnowledgeCollectionMetadata (line 778) | async deleteKnowledgeCollectionMetadata(repository, uals) { method deletePublishTimestampMetadata (line 794) | async deletePublishTimestampMetadata(repository, ual) { method getKnowledgeCollectionMetadata (line 806) | async getKnowledgeCollectionMetadata(repository, ual, timeout) { method getKnowledgeAssetMetadata (line 821) | async getKnowledgeAssetMetadata(repository, ual, timeout) { method knowledgeCollectionMetadataExists (line 834) | async knowledgeCollectionMetadataExists(repository, ual) { method findAllNamedGraphsByUAL (line 847) | async findAllNamedGraphsByUAL(repository, ual) { method findAllSubjectsWithGraphNames (line 860) | async findAllSubjectsWithGraphNames(repository, ual) { method getLatestAssertionId (line 872) | async getLatestAssertionId(repository, ual) { method construct (line 889) | async construct(repository, query) { method select (line 893) | async select(repository, query) { method queryVoid (line 901) | async queryVoid(repository, query) { method ask (line 905) | async ask(repository, query) { method healthCheck (line 909) | async healthCheck() { method _executeQuery (line 913) | async _executeQuery(repository, query, mediaType) { method reinitialize (line 929) | async reinitialize() { method cleanEscapeCharacter (line 942) | cleanEscapeCharacter(query) { method getV6Assertion (line 946) | async getV6Assertion(repository, assertionId) { FILE: src/modules/triple-store/triple-store-module-manager.js class TripleStoreModuleManager (line 3) | class TripleStoreModuleManager extends BaseModuleManager { method initializeParanetRepository (line 4) | initializeParanetRepository(repository) { method repositoryInitilized (line 8) | repositoryInitilized(repository) { method getRepositoryUrl (line 12) | getRepositoryUrl(implementationName, repository) { method deleteUniqueKnowledgeCollectionTriplesFromUnifiedGraph (line 18) | async deleteUniqueKnowledgeCollectionTriplesFromUnifiedGraph( method getKnowledgeCollectionFromUnifiedGraph (line 35) | async getKnowledgeCollectionFromUnifiedGraph( method getKnowledgeCollectionPublicFromUnifiedGraph (line 49) | async getKnowledgeCollectionPublicFromUnifiedGraph( method knowledgeCollectionExistsInUnifiedGraph (line 68) | async knowledgeCollectionExistsInUnifiedGraph(implementationName, repo... method deleteUniqueKnowledgeAssetTriplesFromUnifiedGraph (line 76) | async deleteUniqueKnowledgeAssetTriplesFromUnifiedGraph( method getKnowledgeAssetFromUnifiedGraph (line 89) | async getKnowledgeAssetFromUnifiedGraph(implementationName, repository... method getKnowledgeAssetPublicFromUnifiedGraph (line 97) | async getKnowledgeAssetPublicFromUnifiedGraph(implementationName, repo... method knowledgeAssetExistsInUnifiedGraph (line 105) | async knowledgeAssetExistsInUnifiedGraph(implementationName, repositor... method createKnowledgeCollectionNamedGraphs (line 113) | async createKnowledgeCollectionNamedGraphs( method createParanetKnoledgeCollectionConnection (line 134) | async createParanetKnoledgeCollectionConnection( method insertMetadataTriples (line 155) | async insertMetadataTriples(implementationName, repository, kcUal, ual... method deleteKnowledgeCollectionNamedGraphs (line 167) | async deleteKnowledgeCollectionNamedGraphs(implementationName, reposit... method getKnowledgeCollectionNamedGraphs (line 175) | async getKnowledgeCollectionNamedGraphs( method getKnowledgeCollectionNamedGraphsInBatch (line 196) | async getKnowledgeCollectionNamedGraphsInBatch( method getKnowledgeCollectionNamedGraphsOld (line 209) | async getKnowledgeCollectionNamedGraphsOld( method checkIfKnowledgeAssetExists (line 230) | async checkIfKnowledgeAssetExists(implementationName, repository, kaUA... method getKnowledgeCollectionNamedGraphsOldInBatch (line 239) | async getKnowledgeCollectionNamedGraphsOldInBatch( method getMetadataInBatch (line 258) | async getMetadataInBatch(implementationName, repository, uals) { method knowledgeCollectionNamedGraphsExist (line 267) | async knowledgeCollectionNamedGraphsExist(implementationName, reposito... method deleteKnowledgeAssetNamedGraph (line 275) | async deleteKnowledgeAssetNamedGraph(implementationName, repository, u... method getKnowledgeAssetNamedGraph (line 284) | async getKnowledgeAssetNamedGraph(implementationName, repository, ual,... method knowledgeAssetNamedGraphExists (line 295) | async knowledgeAssetNamedGraphExists(implementationName, repository, n... method insertKnowledgeCollectionMetadata (line 304) | async insertKnowledgeCollectionMetadata( method deleteKnowledgeCollectionMetadata (line 317) | async deleteKnowledgeCollectionMetadata(implementationName, repository... method deletePublishTimestampMetadata (line 325) | async deletePublishTimestampMetadata(implementationName, repository, u... method getKnowledgeCollectionMetadata (line 334) | async getKnowledgeCollectionMetadata(implementationName, repository, u... method getKnowledgeAssetMetadata (line 344) | async getKnowledgeAssetMetadata(implementationName, repository, ual, t... method knowledgeCollectionMetadataExists (line 354) | async knowledgeCollectionMetadataExists(implementationName, repository... method getLatestAssertionId (line 362) | async getLatestAssertionId(implementationName, repository, ual) { method construct (line 371) | async construct(implementationName, repository, query, timeout) { method select (line 381) | async select(implementationName, repository, query, timeout) { method queryVoid (line 391) | async queryVoid(implementationName, repository, query) { method deleteRepository (line 397) | async deleteRepository(implementationName, repository) { method findAllNamedGraphsByUAL (line 403) | async findAllNamedGraphsByUAL(implementationName, repository, ual) { method findAllSubjectsWithGraphNames (line 412) | async findAllSubjectsWithGraphNames(implementationName, repository, ua... method ask (line 422) | async ask(implementationName, repository, query) { method insertAssertionBatch (line 428) | async insertAssertionBatch( method getName (line 449) | getName() { method getV6Assertion (line 455) | async getV6Assertion(implementationName, repository, assertionId) { FILE: src/modules/validation/implementation/merkle-validation.js class MerkleValidation (line 3) | class MerkleValidation { method initialize (line 4) | async initialize(config, logger) { method calculateRoot (line 9) | async calculateRoot(assertion) { FILE: src/modules/validation/validation-module-manager.js class ValidationModuleManager (line 3) | class ValidationModuleManager extends BaseModuleManager { method getName (line 4) | getName() { method calculateRoot (line 8) | async calculateRoot(assertion) { FILE: src/service/ask-service.js class AskService (line 11) | class AskService extends OperationService { method constructor (line 12) | constructor(ctx) { method processResponse (line 25) | async processResponse(command, responseStatus, responseData) { method getBatchSize (line 104) | getBatchSize(batchSize = null) { FILE: src/service/auth-service.js class AuthService (line 4) | class AuthService { method constructor (line 5) | constructor(ctx) { method authenticate (line 17) | async authenticate(ip, token) { method isAuthorized (line 47) | async isAuthorized(token, systemOperation) { method isPublicOperation (line 85) | isPublicOperation(operationName) { method _isTokenValid (line 103) | async _isTokenValid(token) { method _isIpWhitelisted (line 128) | _isIpWhitelisted(reqIp) { method _isTokenRevoked (line 157) | _isTokenRevoked(token) { method _logMessage (line 172) | _logMessage(message) { FILE: src/service/batch-get-service.js class BatchGetService (line 9) | class BatchGetService extends OperationService { method constructor (line 10) | constructor(ctx) { FILE: src/service/blockchain-events-service.js class BlockchainEventsService (line 1) | class BlockchainEventsService { method constructor (line 2) | constructor(ctx) { method initializeBlockchainEventsServices (line 9) | initializeBlockchainEventsServices() { method getContractAddress (line 20) | getContractAddress(blockchain, contractName) { method updateContractAddress (line 28) | updateContractAddress(blockchain, contractName, contractAddress) { method getBlock (line 37) | async getBlock(blockchain, tag = 'latest') { method getPastEvents (line 45) | async getPastEvents( FILE: src/service/claim-rewards-service.js class ClaimRewardsService (line 3) | class ClaimRewardsService { method constructor (line 4) | constructor(ctx) { method initialize (line 16) | async initialize() { method claimRewardsMechanism (line 29) | async claimRewardsMechanism(blockchainId) { method claimRewards (line 95) | async claimRewards(blockchainId) { FILE: src/service/crypto-service.js class CryptoService (line 3) | class CryptoService { method constructor (line 4) | constructor(ctx) { method toBigNumber (line 9) | toBigNumber(value) { method keccak256 (line 13) | keccak256(data) { method sha256 (line 21) | sha256(data) { method encodePacked (line 29) | encodePacked(types, values) { method keccak256EncodePacked (line 33) | keccak256EncodePacked(types, values) { method sha256EncodePacked (line 37) | sha256EncodePacked(types, values) { method convertUint8ArrayToHex (line 41) | convertUint8ArrayToHex(uint8Array) { method convertAsciiToHex (line 45) | convertAsciiToHex(string) { method convertHexToAscii (line 49) | convertHexToAscii(hexString) { method convertBytesToUint8Array (line 53) | convertBytesToUint8Array(bytesLikeData) { method convertToWei (line 57) | convertToWei(value, fromUnit = 'ether') { method convertFromWei (line 61) | convertFromWei(value, toUnit = 'ether') { method splitSignature (line 65) | splitSignature(flatSignature) { FILE: src/service/dependency-injection.js class DependencyInjection (line 3) | class DependencyInjection { method initialize (line 4) | static async initialize() { method registerValue (line 31) | static registerValue(container, valueName, value) { FILE: src/service/file-service.js class FileService (line 22) | class FileService { method constructor (line 23) | constructor(ctx) { method getFileExtension (line 28) | getFileExtension(filePath) { method writeContentsToFile (line 39) | async writeContentsToFile(directory, filename, data, log = true, flag ... method appendContentsToFile (line 49) | async appendContentsToFile(directory, filename, data, log = true) { method readDirectory (line 61) | async readDirectory(dirPath) { method stat (line 73) | async stat(filePath) { method pathExists (line 77) | async pathExists(fileOrDirPath) { method readFile (line 89) | async readFile(filePath, convertToJSON = false) { method removeFile (line 102) | async removeFile(filePath) { method removeFolder (line 117) | async removeFolder(folderPath) { method getBinariesFolderPath (line 131) | getBinariesFolderPath() { method getBinaryPath (line 135) | getBinaryPath(binary) { method makeBinaryExecutable (line 143) | async makeBinaryExecutable(binary) { method getBLSSecretKeyFolderPath (line 155) | getBLSSecretKeyFolderPath() { method getBLSSecretKeyPath (line 159) | getBLSSecretKeyPath() { method getDataFolderPath (line 163) | getDataFolderPath() { method getUpdateFilePath (line 174) | getUpdateFilePath() { method getMigrationFolderPath (line 178) | getMigrationFolderPath() { method getOperationIdCachePath (line 182) | getOperationIdCachePath() { method getOperationIdDocumentPath (line 186) | getOperationIdDocumentPath(operationId) { method getPendingStorageCachePath (line 190) | getPendingStorageCachePath() { method getPendingStorageDocumentPath (line 194) | getPendingStorageDocumentPath(operationId) { method getSignatureStorageCachePath (line 198) | getSignatureStorageCachePath() { method getSignatureStorageFolderPath (line 202) | getSignatureStorageFolderPath(folderName) { method getSignatureStorageDocumentPath (line 206) | getSignatureStorageDocumentPath(folderName, operationId) { method getParentDirectory (line 210) | getParentDirectory(filePath) { FILE: src/service/finality-service.js class FinalityService (line 12) | class FinalityService extends OperationService { method constructor (line 13) | constructor(ctx) { method processResponse (line 30) | async processResponse(operationId, blockchain, responseStatus, respons... method getBatchSize (line 71) | getBatchSize(batchSize = null) { method getMinAckResponses (line 75) | getMinAckResponses(minimumNumberOfNodeReplications = null) { FILE: src/service/get-service.js class GetService (line 12) | class GetService extends OperationService { method constructor (line 13) | constructor(ctx) { method processResponse (line 26) | async processResponse(command, responseStatus, responseData) { method getBatchSize (line 96) | getBatchSize(batchSize = null) { method getMinAckResponses (line 100) | getMinAckResponses(minimumNumberOfNodeReplications = null) { FILE: src/service/json-schema-service.js class JsonSchemaService (line 4) | class JsonSchemaService { method constructor (line 5) | constructor(ctx) { method loadSchema (line 9) | async loadSchema(version, schemaName, argumentsObject = {}) { method bidSuggestionSchema (line 24) | async bidSuggestionSchema(version) { method publishSchema (line 40) | async publishSchema(version) { method updateSchema (line 56) | async updateSchema(version) { method getSchema (line 72) | async getSchema(version) { method querySchema (line 86) | async querySchema(version) { method localStoreSchema (line 100) | async localStoreSchema(version) { method finalitySchema (line 116) | async finalitySchema(version) { method askSchema (line 131) | async askSchema(version) { FILE: src/service/messaging-service.js class MessagingService (line 3) | class MessagingService { method constructor (line 4) | constructor(ctx) { method sendProtocolMessage (line 8) | async sendProtocolMessage(node, operationId, message, messageType, tim... method handleProtocolResponse (line 22) | async handleProtocolResponse(response, operationService, blockchain, o... method handleBusyResponse (line 45) | async handleBusyResponse() { method handleAckResponse (line 49) | async handleAckResponse(operationService, blockchain, operationId, res... method handleNackResponse (line 59) | async handleNackResponse(operationService, blockchain, operationId, re... method handleUnknownResponse (line 71) | async handleUnknownResponse(operationService, blockchain, operationId) { FILE: src/service/operation-id-service.js class OperationIdService (line 4) | class OperationIdService { method constructor (line 5) | constructor(ctx) { method generateId (line 14) | generateId() { method generateOperationId (line 18) | async generateOperationId(status, blockchain, previousOperationId = nu... method getOperationIdRecord (line 28) | async getOperationIdRecord(operationId) { method operationIdInRightFormat (line 35) | operationIdInRightFormat(operationId) { method updateOperationIdStatusWithValues (line 39) | async updateOperationIdStatusWithValues( method updateOperationIdStatus (line 58) | async updateOperationIdStatus( method emitChangeEvent (line 83) | emitChangeEvent( method cacheOperationIdDataToMemory (line 107) | async cacheOperationIdDataToMemory(operationId, data) { method cacheOperationIdDataToFile (line 113) | async cacheOperationIdDataToFile(operationId, data) { method getCachedOperationIdData (line 124) | async getCachedOperationIdData(operationId) { method removeOperationIdCache (line 141) | async removeOperationIdCache(operationId) { method removeOperationIdMemoryCache (line 148) | removeOperationIdMemoryCache(operationId) { method getOperationIdMemoryCacheSizeBytes (line 153) | getOperationIdMemoryCacheSizeBytes() { method getOperationIdFileCacheSizeBytes (line 162) | async getOperationIdFileCacheSizeBytes() { method removeExpiredOperationIdMemoryCache (line 180) | async removeExpiredOperationIdMemoryCache(expiredTimeout) { method removeExpiredOperationIdFileCache (line 193) | async removeExpiredOperationIdFileCache(expiredTimeout, batchSize) { FILE: src/service/operation-service.js constant MUTEX_TTL_MS (line 8) | const MUTEX_TTL_MS = 5 * 60 * 1000; constant MUTEX_SWEEP_INTERVAL_MS (line 9) | const MUTEX_SWEEP_INTERVAL_MS = 5 * 60 * 1000; class OperationService (line 11) | class OperationService { method constructor (line 12) | constructor(ctx) { method _getOperationMutex (line 26) | _getOperationMutex(operationId) { method _markOperationTerminal (line 33) | _markOperationTerminal(operationId) { method _isOperationTerminal (line 37) | _isOperationTerminal(operationId) { method _sweepStaleMutexes (line 41) | _sweepStaleMutexes() { method getOperationName (line 51) | getOperationName() { method getNetworkProtocols (line 55) | getNetworkProtocols() { method getOperationStatus (line 59) | async getOperationStatus(operationId) { method getResponsesStatuses (line 66) | async getResponsesStatuses(responseStatus, errorMessage, operationId) { method markOperationAsCompleted (line 101) | async markOperationAsCompleted( method markOperationAsFailed (line 141) | async markOperationAsFailed(operationId, blockchain, message, errorTyp... method scheduleOperationForLeftoverNodes (line 162) | async scheduleOperationForLeftoverNodes(commandData, leftoverNodes) { method logResponsesSummary (line 171) | logResponsesSummary(completedNumber, failedNumber) { method getBatchSize (line 179) | getBatchSize() { method getMinAckResponses (line 183) | getMinAckResponses() { FILE: src/service/paranet-service.js class ParanetService (line 1) | class ParanetService { method constructor (line 2) | constructor(ctx) { method initializeParanetRecord (line 9) | async initializeParanetRecord(blockchain, paranetId) { method constructParanetId (line 28) | constructParanetId(contract, knowledgeCollectionId, knowledgeAssetId) { method constructKnowledgeAssetId (line 35) | constructKnowledgeAssetId(contract, tokenId) { method getParanetRepositoryName (line 42) | getParanetRepositoryName(paranetUAL) { method getParanetIdFromUAL (line 52) | getParanetIdFromUAL(paranetUAL) { FILE: src/service/pending-storage-service.js class PendingStorageService (line 7) | class PendingStorageService { method constructor (line 8) | constructor(ctx) { method cacheDataset (line 16) | async cacheDataset(operationId, datasetRoot, dataset, remotePeerId) { method getOperationIdByMerkleRoot (line 34) | getOperationIdByMerkleRoot(merkleRoot) { method getCachedDataset (line 38) | async getCachedDataset(operationId) { method removeExpiredFileCache (line 54) | async removeExpiredFileCache(expirationTimeMillis, maxRemovalCount) { method getCachedAssertion (line 140) | async getCachedAssertion(repository, blockchain, contract, tokenId, as... method removeCachedAssertion (line 159) | async removeCachedAssertion(repository, blockchain, contract, tokenId,... method _removeMerkleRootIndexEntry (line 190) | _removeMerkleRootIndexEntry(operationId) { method getPendingState (line 199) | async getPendingState(operationId) { FILE: src/service/proofing-service.js class ProofingService (line 13) | class ProofingService { method constructor (line 14) | constructor(ctx) { method initialize (line 27) | async initialize() { method proofingMechanism (line 40) | async proofingMechanism(blockchainId) { method runProofing (line 84) | async runProofing(blockchainId) { method prepareAndSendProof (line 229) | async prepareAndSendProof(blockchainId, identityId) { method getAndPersistNewChallenge (line 279) | async getAndPersistNewChallenge(blockchainId, identityId) { method fetchAndProcessAssertion (line 343) | async fetchAndProcessAssertion(blockchainId, ual) { method calculateAndSubmitProof (line 407) | async calculateAndSubmitProof(data, challenge, blockchainId) { method generateOperationId (line 484) | generateOperationId(blockchainId, epoch, activeProofPeriodStartBlock) { method cleanup (line 489) | cleanup() { FILE: src/service/protocol-service.js class ProtocolService (line 3) | class ProtocolService { method constructor (line 4) | constructor(ctx) { method toAwilixVersion (line 8) | toAwilixVersion(protocol) { method resolveProtocol (line 13) | resolveProtocol(protocol) { method getProtocols (line 18) | getProtocols() { method toOperation (line 22) | toOperation(protocol) { method getReceiverCommandSequence (line 34) | getReceiverCommandSequence(protocol) { method getSenderCommandSequence (line 44) | getSenderCommandSequence(protocol) { FILE: src/service/publish-service.js class PublishService (line 12) | class PublishService extends OperationService { method constructor (line 13) | constructor(ctx) { method processResponse (line 27) | async processResponse(command, responseStatus, responseData, errorMess... method getBatchSize (line 134) | getBatchSize(batchSize = null) { method getMinAckResponses (line 138) | getMinAckResponses(minimumNumberOfNodeReplications = null) { FILE: src/service/sharding-table-service.js class ShardingTableService (line 3) | class ShardingTableService { method constructor (line 4) | constructor(ctx) { method initialize (line 14) | async initialize() { method pullBlockchainShardingTable (line 24) | async pullBlockchainShardingTable(blockchainId, transaction = null) { method findShard (line 80) | async findShard(blockchainId, filterInactive = false) { method isNodePartOfShard (line 89) | async isNodePartOfShard(blockchainId, peerId) { method calculateBidSuggestion (line 94) | calculateBidSuggestion(askOffset, sorted, blockchainId, kbSize, epochs... method findEligibleNodes (line 107) | async findEligibleNodes(neighbourhood, bid, r1, r0) { method dial (line 111) | async dial(peerId) { method updatePeerRecordLastSeenAndLastDialed (line 129) | async updatePeerRecordLastSeenAndLastDialed(peerId) { method updatePeerRecordLastDialed (line 155) | async updatePeerRecordLastDialed(peerId) { method findPeerAddressAndProtocols (line 175) | async findPeerAddressAndProtocols(peerId) { FILE: src/service/signature-service.js class SignatureService (line 1) | class SignatureService { method constructor (line 2) | constructor(ctx) { method signMessage (line 11) | async signMessage(blockchain, messageHash) { method addSignatureToStorage (line 20) | async addSignatureToStorage(folderName, operationId, identityId, v, r,... method getSignaturesFromStorage (line 28) | async getSignaturesFromStorage(folderName, operationId) { FILE: src/service/sync-service.js class SyncService (line 13) | class SyncService { method constructor (line 15) | constructor(ctx) { method initialize (line 30) | async initialize() { method syncMechanism (line 82) | async syncMechanism(blockchainId) { method runSyncNewKc (line 177) | async runSyncNewKc(blockchainId, syncRecords) { method runSyncMissed (line 260) | async runSyncMissed(blockchainId, contractAddress) { method syncNewKc (line 278) | async syncNewKc(blockchainId, contractAddress, syncObject) { method syncMissedKc (line 401) | async syncMissedKc(blockchainId, contract) { method callBatchGet (line 545) | async callBatchGet(uals, blockchainId) { method cleanup (line 588) | cleanup() { FILE: src/service/triple-store-service.js class TripleStoreService (line 17) | class TripleStoreService { method constructor (line 18) | constructor(ctx) { method initializeRepositories (line 34) | initializeRepositories() { method insertKnowledgeCollection (line 45) | async insertKnowledgeCollection( method insertKnowledgeCollectionBatch (line 350) | async insertKnowledgeCollectionBatch(repository, KCs) { method deletePublishTimestampMetadata (line 409) | async deletePublishTimestampMetadata(repository, ual) { method checkIfKnowledgeCollectionExistsInUnifiedGraph (line 417) | async checkIfKnowledgeCollectionExistsInUnifiedGraph( method getAssertion (line 432) | async getAssertion( method getAssertionsInBatch (line 571) | async getAssertionsInBatch( method getV6Assertion (line 617) | async getV6Assertion(repository, assertionId) { method checkIfKnowledgeAssetExists (line 642) | async checkIfKnowledgeAssetExists(repository, kaUAL) { method getAssertionMetadata (line 652) | async getAssertionMetadata( method getAssertionMetadataBatch (line 685) | async getAssertionMetadataBatch(uals) { method getLatestAssertionId (line 706) | async getLatestAssertionId(repository, ual) { method construct (line 716) | async construct(query, repository = TRIPLE_STORE_REPOSITORY.DKG, timeo... method getKnowledgeAssetNamedGraph (line 726) | async getKnowledgeAssetNamedGraph(repository, ual, visibility, timeout) { method select (line 736) | async select(query, repository = TRIPLE_STORE_REPOSITORY.DKG, timeout ... method ask (line 746) | async ask(query, repository = TRIPLE_STORE_REPOSITORY.DKG) { method getRepositorySparqlEndpoint (line 755) | getRepositorySparqlEndpoint(repository) { FILE: src/service/ual-service.js class UALService (line 1) | class UALService { method constructor (line 2) | constructor(ctx) { method deriveUAL (line 10) | deriveUAL(blockchain, contract, knowledgeCollectionId, knowledgeAssetI... method isUAL (line 16) | isUAL(ual) { method resolveUAL (line 47) | resolveUAL(ual) { method isContract (line 128) | isContract(contract) { method calculateLocationKeyword (line 134) | async calculateLocationKeyword( method getUalWithoutChainId (line 154) | getUalWithoutChainId(ual, blockchain) { FILE: src/service/update-service.js class UpdateService (line 10) | class UpdateService extends OperationService { method constructor (line 11) | constructor(ctx) { method processResponse (line 26) | async processResponse(command, responseStatus, responseData, errorMess... FILE: src/service/util/jwt-util.js class JwtUtil (line 5) | class JwtUtil { method constructor (line 6) | constructor() { method generateJWT (line 16) | generateJWT(uuid, expiresIn = null) { method validateJWT (line 37) | validateJWT(token) { method getPayload (line 52) | getPayload(token) { method decode (line 61) | decode(token) { FILE: src/service/util/string-util.js class StringUtil (line 1) | class StringUtil { method toCamelCase (line 2) | toCamelCase(str) { method capitalize (line 6) | capitalize(str) { FILE: src/service/validation-service.js class ValidationService (line 9) | class ValidationService { method constructor (line 10) | constructor(ctx) { method validateUal (line 17) | async validateUal(blockchain, contract, tokenId) { method validateUalV6 (line 39) | async validateUalV6(blockchain, contract, tokenId) { method validateAssertion (line 61) | async validateAssertion(assertionId, blockchain, assertion) { method validateDatasetRootOnBlockchain (line 69) | async validateDatasetRootOnBlockchain( method validateDatasetOnBlockchain (line 90) | async validateDatasetOnBlockchain( method validateDatasetRoot (line 108) | async validateDatasetRoot(dataset, datasetRoot) { method validatePrivateMerkleRoot (line 118) | async validatePrivateMerkleRoot(publicAssertion, privateAssertion) { method validateGetResponse (line 131) | async validateGetResponse( FILE: test/assertions/assertions.js function createTestGraph (line 3) | function createTestGraph(id, type, values) { FILE: test/bdd/steps/blockchain.mjs constant BLOCKCHAIN_CONFIGS (line 5) | const BLOCKCHAIN_CONFIGS = [ FILE: test/bdd/steps/hooks.mjs constant PORT_RELEASE_DELAY_MS (line 12) | const PORT_RELEASE_DELAY_MS = 2500; FILE: test/bdd/steps/lib/local-blockchain.mjs class LocalBlockchain (line 25) | class LocalBlockchain { method initialize (line 26) | async initialize(port, _console = console, version = '') { method _waitForContracts (line 61) | async _waitForContracts(port, _console) { method stop (line 83) | async stop() { method getWallets (line 89) | getWallets() { method setParametersStorageParams (line 93) | async setParametersStorageParams(params) { method setR0 (line 111) | async setR0(r0) { method setR1 (line 120) | async setR1(r1) { method setFinalizationCommitsNumber (line 129) | async setFinalizationCommitsNumber(commitsNumber) { FILE: test/modules/telemetry/telemetry.js method on (line 22) | on(eventName, callback) { method emit (line 29) | emit(eventName, ...args) { function onEventReceived (line 38) | function onEventReceived() { FILE: test/unit/controllers/publish-http-api-controller-v1.test.js method status (line 11) | status(code) { method json (line 15) | json(payload) { method send (line 19) | send(payload) { FILE: test/unit/mock/blockchain-module-manager-mock.js class BlockchainModuleManagerMock (line 3) | class BlockchainModuleManagerMock { method getR2 (line 4) | getR2() { method getR1 (line 8) | getR1() { method getR0 (line 12) | getR0() { method encodePacked (line 16) | encodePacked(blockchain, types, values) { method convertBytesToUint8Array (line 20) | convertBytesToUint8Array(blockchain, bytesLikeData) { method convertToWei (line 24) | convertToWei(blockchainId, value) { method toBigNumber (line 28) | toBigNumber(blockchain, value) { method getAssertionSize (line 32) | getAssertionSize(blockchain, assertionId) { method getAssertionTriplesNumber (line 36) | getAssertionTriplesNumber(blockchain, assertionId) { method getAssertionChunksNumber (line 40) | getAssertionChunksNumber(blockchain, assertionId) { FILE: test/unit/mock/command-executor-mock.js class CommandExecutorMock (line 1) | class CommandExecutorMock { method add (line 2) | add(addCommand) {} FILE: test/unit/mock/event-emitter-mock.js class EventEmitterMock (line 1) | class EventEmitterMock {} FILE: test/unit/mock/http-client-module-manager-mock.js class HttpClientModuleManagerMock (line 3) | class HttpClientModuleManagerMock { method createRouterInstance (line 4) | createRouterInstance() { method initializeBeforeMiddlewares (line 8) | initializeBeforeMiddlewares() {} method listen (line 10) | async listen() {} method use (line 12) | use(path, callback) {} method selectMiddlewares (line 14) | selectMiddlewares(options) { method initializeAfterMiddlewares (line 18) | initializeAfterMiddlewares() {} FILE: test/unit/mock/json-schema-service-mock.js class JsonSchemaServiceMock (line 1) | class JsonSchemaServiceMock {} FILE: test/unit/mock/network-module-manager-mock.js class NetworkModuleManagerMock (line 1) | class NetworkModuleManagerMock { method getPeerId (line 2) | getPeerId() { FILE: test/unit/mock/operation-id-service-mock.js class OperationIdServiceMock (line 1) | class OperationIdServiceMock { method constructor (line 2) | constructor(ctx) { method cacheOperationIdDataToFile (line 6) | cacheOperationIdDataToFile(operationId, data) {} method cacheOperationIdDataToMemory (line 8) | cacheOperationIdDataToMemory(operationId, data) {} method updateOperationIdStatus (line 10) | async updateOperationIdStatus( FILE: test/unit/mock/repository-module-manager-mock.js class RepositoryModuleManagerMock (line 1) | class RepositoryModuleManagerMock { method getAllPeerRecords (line 14) | getAllPeerRecords() { method getAllResponseStatuses (line 109) | getAllResponseStatuses() { method getOperationResponsesStatuses (line 113) | async getOperationResponsesStatuses(operation, operationId) { method updateOperationIdRecord (line 117) | async updateOperationIdRecord(data, operationId) { method updateOperationStatus (line 125) | async updateOperationStatus(operation, operationId, status) { method createOperationResponseRecord (line 133) | async createOperationResponseRecord(status, operation, operationId, er... FILE: test/unit/mock/validation-module-manager-mock.js class ValidationModuleManagerMock (line 3) | class ValidationModuleManagerMock { method callHashFunction (line 4) | callHashFunction(data) { method getHashFunctionName (line 9) | getHashFunctionName() { method calculateRoot (line 13) | calculateRoot(assertion) { FILE: test/unit/modules/repository/repository.test.js function insertLoadTestAgreements (line 371) | async function insertLoadTestAgreements(numAgreements) { FILE: test/unit/modules/validation/validation-module-manager.test.js function testInvalidValues (line 145) | async function testInvalidValues() { function testInvalidValues (line 162) | async function testInvalidValues() { FILE: test/unit/service/operation-id-service-cache.test.js method pathExists (line 32) | async pathExists(p) { FILE: test/utilities/dkg-client-helper.mjs class DkgClientHelper (line 4) | class DkgClientHelper { method constructor (line 5) | constructor(config) { method info (line 9) | async info() { method publish (line 13) | async publish(data, userOptions = {}) { method get (line 27) | async get(ual, state, userOptions = {}) { method query (line 38) | async query(query) { FILE: test/utilities/http-api-helper.mjs constant TERMINAL_STATUSES (line 4) | const TERMINAL_STATUSES = ['COMPLETED', 'FAILED']; class HttpApiHelper (line 6) | class HttpApiHelper { method info (line 7) | async info(nodeRpcUrl) { method get (line 11) | async get(nodeRpcUrl, requestBody) { method getOperationResult (line 15) | async getOperationResult(nodeRpcUrl, operationName, operationId) { method publish (line 19) | async publish(nodeRpcUrl, requestBody) { method update (line 23) | async update(nodeRpcUrl, requestBody) { method pollOperationResult (line 37) | async pollOperationResult(nodeRpcUrl, operationName, operationId, { in... method _sendRequest (line 54) | async _sendRequest(method, url, data) { FILE: test/utilities/steps-utils.mjs constant BOOTSTRAP_LIBP2P_PRIVATE_KEY (line 10) | const BOOTSTRAP_LIBP2P_PRIVATE_KEY = constant BOOTSTRAP_NETWORK_PORT (line 15) | const BOOTSTRAP_NETWORK_PORT = 19000; constant BOOTSTRAP_RPC_PORT (line 16) | const BOOTSTRAP_RPC_PORT = 18900; constant BOOTSTRAP_PEER_MULTIADDR (line 23) | const BOOTSTRAP_PEER_MULTIADDR = `/ip4/127.0.0.1/tcp/${BOOTSTRAP_NETWORK... class StepsUtils (line 25) | class StepsUtils { method forkNode (line 26) | forkNode(nodeConfiguration) { method createNodeConfiguration (line 46) | createNodeConfiguration( FILE: test/utilities/utilities.js class Utilities (line 3) | class Utilities { method unpackRawTableToArray (line 4) | static unpackRawTableToArray(rawTable) { method unpackRawTable (line 12) | static unpackRawTable(rawTable) { method deleteTripleStoreRepositories (line 58) | static async deleteTripleStoreRepositories(config, logger) { FILE: tools/local-network-setup/generate-config-files.js function generateNodeConfig (line 54) | async function generateNodeConfig(nodeIndex) { function generateTripleStoreConfig (line 90) | function generateTripleStoreConfig(templateTripleStoreConfig, nodeIndex) { function generateBlockchainConfig (line 108) | function generateBlockchainConfig(templateBlockchainConfig, nodeIndex) { function generateHttpClientConfig (line 173) | function generateHttpClientConfig(templateHttpClientConfig, nodeIndex) { function generateNetworkConfig (line 181) | function generateNetworkConfig(templateNetworkConfig, nodeIndex) { function generateRepositoryConfig (line 193) | function generateRepositoryConfig(templateRepositoryConfig, nodeIndex) { function dropDatabase (line 203) | async function dropDatabase(name, config) { function deleteTripleStoreRepositories (line 220) | async function deleteTripleStoreRepositories(config) { function fileExists (line 234) | async function fileExists(filePath) { function removeFile (line 243) | async function removeFile(filePath) { function deleteDataFolder (line 247) | async function deleteDataFolder(config) { FILE: tools/ot-parachain-account-mapping/create-account-mapping-signature.js constant PRIVATE_ETH_KEY (line 25) | const PRIVATE_ETH_KEY = process.argv[2]; constant PUBLIC_SUBSTRATE_ADDRESS (line 26) | const PUBLIC_SUBSTRATE_ADDRESS = process.argv[3]; constant HEX_SUBSTRATE_ADDRESS (line 27) | const HEX_SUBSTRATE_ADDRESS = u8aToHex(decodeAddress(PUBLIC_SUBSTRATE_AD... function sign (line 31) | async function sign() { FILE: tools/substrate-accounts-mapping/accounts-mapping.js constant WALLETS_PATH (line 20) | const WALLETS_PATH = path.join(appRootPath.path, 'tools/substrate-accoun... constant TOKEN_ADDRESS (line 31) | const TOKEN_ADDRESS = '0xffffffff00000000000000000000000000000001'; constant HTTPS_ENDPOINT (line 32) | const HTTPS_ENDPOINT = 'https://astrosat-parachain-rpc.origin-trail.netw... constant NUMBER_OF_ACCOUNTS (line 34) | const NUMBER_OF_ACCOUNTS = 32; constant OTP_AMOUNT (line 36) | const OTP_AMOUNT = 50 * 1e12; constant OTP_CHAIN_ID (line 37) | const OTP_CHAIN_ID = '2043'; constant OTP_GENESIS_HASH (line 38) | const OTP_GENESIS_HASH = '0xe7e0962324a3b86c83404dbea483f25fb5dab4c22479... constant GAS_PRICE (line 40) | const GAS_PRICE = 20; constant GAS_LIMIT (line 41) | const GAS_LIMIT = 60000; constant TRACE_AMOUNT (line 42) | const TRACE_AMOUNT = '0.000000001'; class AccountsMapping (line 44) | class AccountsMapping { method initialize (line 45) | async initialize() { method mapAccounts (line 57) | async mapAccounts() { method generateWallets (line 154) | async generateWallets() { method generateSubstrateAccount (line 164) | async generateSubstrateAccount() { method generateEVMAccount (line 178) | async generateEVMAccount() { method mapWallet (line 183) | async mapWallet(evmPublicKey, evmPrivateKey, substratePublicKey, subst... method fundAccountsWithOtp (line 198) | async fundAccountsWithOtp(substratePublicKey) { method fundAccountsWithTrac (line 208) | async fundAccountsWithTrac(evmWallet, nonce) { method accountMapped (line 216) | async accountMapped(wallet) { method callParachainExtrinsic (line 221) | async callParachainExtrinsic(keyring, extrinsic, method, args) { method queryParachainState (line 228) | async queryParachainState(state, method, args) { method sleepForMilliseconds (line 232) | async sleepForMilliseconds(milliseconds) { method sign (line 236) | async sign(publicAccountKey, privateEthKey) { FILE: v8-data-migration/blockchain-utils.js function maskRpcUrl (line 12) | function maskRpcUrl(url) { function initializeRpc (line 25) | async function initializeRpc(rpcEndpoint) { function getStorageContractAndAddress (line 48) | async function getStorageContractAndAddress( function getContentAssetStorageContract (line 76) | async function getContentAssetStorageContract(provider, blockchainDetail... FILE: v8-data-migration/constants.js constant SCHEMA_CONTEXT (line 4) | const SCHEMA_CONTEXT = 'http://schema.org/'; constant METADATA_NAMED_GRAPH (line 5) | const METADATA_NAMED_GRAPH = 'metadata:graph'; constant PRIVATE_ASSERTION_ONTOLOGY (line 6) | const PRIVATE_ASSERTION_ONTOLOGY = constant TRIPLE_STORE_CONNECT_MAX_RETRIES (line 8) | const TRIPLE_STORE_CONNECT_MAX_RETRIES = 10; constant TRIPLE_STORE_CONNECT_RETRY_FREQUENCY (line 9) | const TRIPLE_STORE_CONNECT_RETRY_FREQUENCY = 10; constant N_QUADS (line 10) | const N_QUADS = 'application/n-quads'; constant OT_BLAZEGRAPH (line 11) | const OT_BLAZEGRAPH = 'ot-blazegraph'; constant OT_FUSEKI (line 12) | const OT_FUSEKI = 'ot-fuseki'; constant OT_GRAPHDB (line 13) | const OT_GRAPHDB = 'ot-graphdb'; constant PRIVATE_CURRENT (line 14) | const PRIVATE_CURRENT = 'privateCurrent'; constant PUBLIC_CURRENT (line 15) | const PUBLIC_CURRENT = 'publicCurrent'; constant DKG_REPOSITORY (line 16) | const DKG_REPOSITORY = 'dkg'; constant VISIBILITY (line 17) | const VISIBILITY = { constant BATCH_SIZE (line 21) | const BATCH_SIZE = 50; constant MAIN_DIR (line 23) | const MAIN_DIR = '/root'; constant DEFAULT_CONFIG_PATH (line 24) | const DEFAULT_CONFIG_PATH = `${MAIN_DIR}/ot-node/current/config/config.j... constant NODERC_CONFIG_PATH (line 25) | const NODERC_CONFIG_PATH = `${MAIN_DIR}/ot-node/.origintrail_noderc`; constant DATA_MIGRATION_DIR (line 26) | const DATA_MIGRATION_DIR = `${MAIN_DIR}/ot-node/data/data-migration`; constant LOG_DIR (line 27) | const LOG_DIR = `${MAIN_DIR}/ot-node/data/data-migration/logs`; constant ENV_PATH (line 28) | const ENV_PATH = `${MAIN_DIR}/ot-node/current/.env`; constant MIGRATION_DIR (line 29) | const MIGRATION_DIR = `${MAIN_DIR}/ot-node/data/migrations/`; constant MIGRATION_PROGRESS_FILE (line 30) | const MIGRATION_PROGRESS_FILE = 'v8DataMigration'; constant DB_URLS (line 32) | const DB_URLS = { constant BLOCKCHAINS (line 43) | const BLOCKCHAINS = { constant CONTENT_ASSET_STORAGE_CONTRACT (line 94) | const CONTENT_ASSET_STORAGE_CONTRACT = 'ContentAssetStorage'; FILE: v8-data-migration/logger.js method time (line 51) | time(label) { method timeEnd (line 54) | timeEnd(label) { FILE: v8-data-migration/sqlite-utils.js class SqliteDatabase (line 7) | class SqliteDatabase { method constructor (line 8) | constructor() { method initialize (line 12) | async initialize() { method checkIntegrity (line 30) | async checkIntegrity() { method getTableExists (line 47) | async getTableExists(blockchainName) { method getBatchOfUnprocessedTokenIds (line 59) | async getBatchOfUnprocessedTokenIds(blockchainName, batchSize) { method markRowsAsProcessed (line 85) | async markRowsAsProcessed(blockchainName, tokenIds) { method getHighestTokenId (line 100) | async getHighestTokenId(blockchainName) { method getUnprocessedCount (line 108) | async getUnprocessedCount(blockchainName) { method insertAssertion (line 120) | async insertAssertion(blockchainName, tokenId, ual, assertionId) { method close (line 136) | async close() { method _validateConnection (line 143) | _validateConnection() { method _validateBlockchainName (line 150) | _validateBlockchainName(blockchainName) { FILE: v8-data-migration/triple-store-utils.js function getTripleStoreData (line 31) | function getTripleStoreData(tripleStoreConfig) { function initializeSparqlEndpoints (line 62) | function initializeSparqlEndpoints(tripleStoreRepositories, repository, ... function initializeRepositories (line 101) | function initializeRepositories(tripleStoreRepositories, tripleStoreImpl... function initializeContexts (line 119) | function initializeContexts(tripleStoreRepositories) { function healthCheck (line 148) | async function healthCheck(tripleStoreRepositories, repository, tripleSt... function ensureConnections (line 217) | async function ensureConnections(tripleStoreRepositories, tripleStoreImp... function hasUnicodeCodePoints (line 256) | function hasUnicodeCodePoints(input) { function decodeUnicodeCodePoints (line 262) | function decodeUnicodeCodePoints(input) { function _executeQuery (line 272) | async function _executeQuery( function construct (line 314) | async function construct( function cleanEscapeCharacter (line 335) | function cleanEscapeCharacter(query) { function getAssertion (line 339) | async function getAssertion( function extractPrivateAssertionId (line 365) | function extractPrivateAssertionId(publicAssertion) { function getAssertionFromV6TripleStore (line 383) | async function getAssertionFromV6TripleStore( function processContent (line 475) | function processContent(str) { function ask (line 482) | async function ask(tripleStoreRepositories, repository, query) { function getKnowledgeCollectionNamedGraphsExist (line 509) | async function getKnowledgeCollectionNamedGraphsExist( function queryVoid (line 551) | async function queryVoid(tripleStoreRepositories, repository, query) { function hasSpecialCharactersInIRI (line 564) | function hasSpecialCharactersInIRI(assertion) { function insertAssertionsIntoV8UnifiedRepository (line 584) | async function insertAssertionsIntoV8UnifiedRepository( function knowledgeCollectionNamedGraphExists (line 654) | async function knowledgeCollectionNamedGraphExists( function knowledgeAssetMetadataExists (line 682) | async function knowledgeAssetMetadataExists(tripleStoreRepositories, rep... FILE: v8-data-migration/v8-data-migration-utils.js function initializeConfig (line 12) | function initializeConfig() { function initializeDefaultConfig (line 19) | function initializeDefaultConfig() { function ensureDirectoryExists (line 26) | function ensureDirectoryExists(dirPath) { function ensureMigrationProgressFileExists (line 40) | function ensureMigrationProgressFileExists() { function markMigrationAsSuccessfull (line 63) | function markMigrationAsSuccessfull() { function deleteFile (line 77) | function deleteFile(filePath) { FILE: v8-data-migration/v8-data-migration.js function processAndInsertNewerAssertions (line 44) | async function processAndInsertNewerAssertions( function processAndInsertAssertions (line 160) | async function processAndInsertAssertions( function getAssertionsInBatch (line 232) | async function getAssertionsInBatch( function downloadDb (line 267) | async function downloadDb(dbFilePath) { function main (line 330) | async function main() { FILE: v8-data-migration/validation.js function validateConfig (line 3) | function validateConfig(config) { function validateBlockchainName (line 12) | function validateBlockchainName(blockchainName) { function validateBlockchainDetails (line 21) | function validateBlockchainDetails(blockchainDetails) { function validateTokenId (line 37) | function validateTokenId(tokenId) { function validateUal (line 46) | function validateUal(ual) { function validateTripleStoreRepositories (line 53) | function validateTripleStoreRepositories(tripleStoreRepositories) { function validateTripleStoreImplementation (line 62) | function validateTripleStoreImplementation(tripleStoreImplementation) { function validateTripleStoreConfig (line 71) | function validateTripleStoreConfig(tripleStoreConfig) { function validateRepository (line 80) | function validateRepository(repository) { function validateQuery (line 89) | function validateQuery(query) { function validateAssertionId (line 98) | function validateAssertionId(assertionId) { function validateAssertion (line 107) | function validateAssertion(assertion) { function validateProvider (line 117) | function validateProvider(provider) { function validateStorageContractAddress (line 126) | function validateStorageContractAddress(storageContractAddress) { function validateStorageContractName (line 135) | function validateStorageContractName(storageContractName) { function validateStorageContractAbi (line 144) | function validateStorageContractAbi(storageContractAbi) { function validateBatchData (line 153) | function validateBatchData(batchData) {