From e2b888f0133d078f2b2825915b3ee22f36a50440 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 31 May 2021 11:04:28 +0200 Subject: [PATCH] WIP: Ocean.js --- gatsby-node.js | 12 +- ocean.js.json => lib-0.14.9.json | 8662 +++++++++++++++++++++++++----- 2 files changed, 7270 insertions(+), 1404 deletions(-) rename ocean.js.json => lib-0.14.9.json (59%) diff --git a/gatsby-node.js b/gatsby-node.js index d140f5ad..019afb40 100755 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -131,10 +131,12 @@ exports.createPages = ({ graphql, actions }) => { await createSwaggerPages(createPage) // API: ocean.js - const lastRelease = - result.data.oceanJs.repository.releases.edges.filter( - ({ node }) => !node.isPrerelease && !node.isDraft - )[0].node.releaseAssets.edges[0].node + const lastRelease = result.data.oceanJs.repository.releases.edges.filter( + ({ node }) => + !node.isPrerelease && + !node.isDraft && + node.releaseAssets.edges.length > 0 + )[0].node.releaseAssets.edges[0].node await createTypeDocPage( createPage, @@ -175,7 +177,7 @@ exports.createPages = ({ graphql, actions }) => { // const createTypeDocPage = async (createPage, name, downloadUrl) => { try { - const typedoc = require('./ocean.js.json') + const typedoc = require('./lib-0.14.9.json') // const typedoc = await fetch(downloadUrl) const typedocTemplate = path.resolve('./src/templates/Typedoc/index.jsx') const slug = `/references/${name}/` diff --git a/ocean.js.json b/lib-0.14.9.json similarity index 59% rename from ocean.js.json rename to lib-0.14.9.json index 4f6f621a..11974e1c 100644 --- a/ocean.js.json +++ b/lib-0.14.9.json @@ -1,9 +1,9 @@ { "info": { - "title": "Hello", - "description": "Hello", - "version": "vhello", - "sourceUrl": "https://github.com/oceanprotocol/ocean.js/blob/main/" + "title": "Ocean.js", + "description": "JavaScript client library for Ocean Protocol", + "version": "0.14.9", + "sourceUrl": "https://github.com/oceanprotocol/ocean.js/blob/main/" }, "id": 0, "name": "@oceanprotocol/lib", @@ -13,11 +13,2826 @@ "originalName": "", "children": [ { - "id": 305, + "id": 470, "name": "utils", "kind": 2, "kindString": "Namespace", "flags": {}, + "children": [ + { + "id": 477, + "name": "LogLevel", + "kind": 4, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 479, + "name": "Error", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 3, + "character": 7 + } + ], + "defaultValue": "0" + }, + { + "id": 481, + "name": "Log", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 5, + "character": 5 + } + ], + "defaultValue": "2" + }, + { + "id": 478, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 2, + "character": 6 + } + ], + "defaultValue": "-1" + }, + { + "id": 482, + "name": "Verbose", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 6, + "character": 9 + } + ], + "defaultValue": "3" + }, + { + "id": 480, + "name": "Warn", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 4, + "character": 6 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 479, + 481, + 478, + 482, + 480 + ] + } + ], + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 1, + "character": 20 + } + ] + }, + { + "id": 483, + "name": "Logger", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 484, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 485, + "name": "new Logger", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 486, + "name": "logLevel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 156, + "name": "LogLevel" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "id": 483, + "name": "Logger" + } + } + ] + }, + { + "id": 490, + "name": "bypass", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 16, + "character": 15 + } + ], + "signatures": [ + { + "id": 491, + "name": "bypass", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 492, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 493, + "name": "debug", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 20, + "character": 14 + } + ], + "signatures": [ + { + "id": 494, + "name": "debug", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 495, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 505, + "name": "dispatch", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 36, + "character": 18 + } + ], + "signatures": [ + { + "id": 506, + "name": "dispatch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 507, + "name": "verb", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "level", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 156, + "name": "LogLevel" + } + }, + { + "id": 509, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 502, + "name": "error", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 32, + "character": 14 + } + ], + "signatures": [ + { + "id": 503, + "name": "error", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 504, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 496, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 24, + "character": 12 + } + ], + "signatures": [ + { + "id": 497, + "name": "log", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 498, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 487, + "name": "setLevel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 12, + "character": 17 + } + ], + "signatures": [ + { + "id": 488, + "name": "setLevel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 489, + "name": "logLevel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 156, + "name": "LogLevel" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 499, + "name": "warn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 28, + "character": 13 + } + ], + "signatures": [ + { + "id": 500, + "name": "warn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 501, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 484 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 490, + 493, + 505, + 502, + 496, + 487, + 499 + ] + } + ], + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 9, + "character": 19 + } + ] + }, + { + "id": 596, + "name": "SubscribableObserver", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 597, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 598, + "name": "new SubscribableObserver", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 599, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 600, + "name": "P", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 596, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribableObserver" + } + } + ] + }, + { + "id": 601, + "name": "completed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 2, + "character": 18 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 602, + "name": "subscriptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 4, + "character": 23 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 603, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 608, + "name": "onComplete", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 6, + "character": 14 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 609, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 610, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 611, + "name": "complete", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "P" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 612, + "name": "onError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 7, + "character": 11 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 613, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 614, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 615, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 604, + "name": "onNext", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 5, + "character": 10 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 605, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 606, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 607, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "T" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 608, + 612, + 604 + ] + } + ] + } + } + ], + "name": "Set" + }, + "defaultValue": "..." + }, + { + "id": 637, + "name": "complete", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 30, + "character": 17 + } + ], + "signatures": [ + { + "id": 638, + "name": "complete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 639, + "name": "resolve", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "P" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 643, + "name": "emit", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 40, + "character": 14 + } + ], + "signatures": [ + { + "id": 644, + "name": "emit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 645, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "onNext" + }, + { + "type": "literal", + "value": "onComplete" + }, + { + "type": "literal", + "value": "onError" + } + ] + } + }, + { + "id": 646, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 640, + "name": "error", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 35, + "character": 14 + } + ], + "signatures": [ + { + "id": 641, + "name": "error", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 642, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 634, + "name": "next", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 26, + "character": 13 + } + ], + "signatures": [ + { + "id": 635, + "name": "next", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 636, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "T" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 616, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 10, + "character": 18 + } + ], + "signatures": [ + { + "id": 617, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 618, + "name": "onNext", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 619, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 620, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 621, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "T" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 622, + "name": "onComplete", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 624, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 625, + "name": "complete", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "P" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 626, + "name": "onError", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 627, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 628, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 629, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 630, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 631, + "name": "unsubscribe", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 632, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 633, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 631 + ] + } + ] + } + } + } + ] + }, + { + "id": 647, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 47, + "character": 21 + } + ], + "signatures": [ + { + "id": 648, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 597 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 601, + 602 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 637, + 643, + 640, + 634, + 616, + 647 + ] + } + ], + "sources": [ + { + "fileName": "utils/SubscribableObserver.ts", + "line": 1, + "character": 33 + } + ], + "typeParameter": [ + { + "id": 649, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 650, + "name": "P", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ] + }, + { + "id": 540, + "name": "SubscribablePromise", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 541, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 542, + "name": "new SubscribablePromise", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 543, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 544, + "name": "P", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "parameters": [ + { + "id": 545, + "name": "executor", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 546, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 547, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 548, + "name": "observer", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 596, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribableObserver" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "P" + } + ], + "name": "Promise" + } + ] + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + } + ] + }, + { + "id": 549, + "name": "observer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 4, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 596, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribableObserver" + }, + "defaultValue": "..." + }, + { + "id": 550, + "name": "promise", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 6, + "character": 17 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "P" + } + ], + "name": "Promise" + }, + { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + ] + }, + "defaultValue": "..." + }, + { + "id": 577, + "name": "catch", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 37, + "character": 14 + } + ], + "signatures": [ + { + "id": 578, + "name": "catch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 579, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 580, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 581, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 582, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + }, + { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + ] + } + } + ] + }, + { + "id": 583, + "name": "finally", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 41, + "character": 16 + } + ], + "signatures": [ + { + "id": 584, + "name": "finally", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 585, + "name": "onfinally", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 586, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 587, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "P" + } + ], + "name": "Promise" + }, + { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + ] + } + } + ] + }, + { + "id": 588, + "name": "init", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 45, + "character": 14 + } + ], + "signatures": [ + { + "id": 589, + "name": "init", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 590, + "name": "executor", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 591, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 592, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 593, + "name": "observer", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 596, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribableObserver" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "P" + } + ], + "name": "Promise" + } + ] + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 561, + "name": "next", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 28, + "character": 13 + } + ], + "signatures": [ + { + "id": 562, + "name": "next", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "onNext", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 564, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 565, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 566, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "T" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + } + ] + }, + { + "id": 551, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 20, + "character": 18 + } + ], + "signatures": [ + { + "id": 552, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 553, + "name": "onNext", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 554, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 555, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 556, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "T" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 557, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 558, + "name": "unsubscribe", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 23, + "character": 15 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 559, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 560, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 558 + ] + } + ] + } + } + } + ] + }, + { + "id": 567, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 33, + "character": 13 + } + ], + "signatures": [ + { + "id": 568, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 569, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 570, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 571, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 572, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "P" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + }, + { + "id": 573, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 574, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 575, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 576, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + }, + { + "type": "reference", + "id": 540, + "typeArguments": [ + { + "type": "reference", + "name": "T" + }, + { + "type": "reference", + "name": "P" + } + ], + "name": "SubscribablePromise" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 541 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 549, + 550 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 577, + 583, + 588, + 561, + 551, + 567 + ] + } + ], + "sources": [ + { + "fileName": "utils/SubscribablePromise.ts", + "line": 3, + "character": 32 + } + ], + "typeParameter": [ + { + "id": 594, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 595, + "name": "P", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 510, + "name": "LoggerInstance", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 43, + "character": 27 + } + ], + "type": { + "type": "reference", + "id": 483, + "name": "Logger" + }, + "defaultValue": "..." + }, + { + "id": 534, + "name": "didNoZeroX", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 25, + "character": 23 + } + ], + "signatures": [ + { + "id": 535, + "name": "didNoZeroX", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 536, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 525, + "name": "didPrefixed", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 12, + "character": 24 + } + ], + "signatures": [ + { + "id": 526, + "name": "didPrefixed", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 527, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 515, + "name": "didTransformer", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 14, + "character": 30 + } + ], + "signatures": [ + { + "id": 516, + "name": "didTransformer", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 517, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + }, + { + "id": 518, + "name": "prefixOutput", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 531, + "name": "didZeroX", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 24, + "character": 21 + } + ], + "signatures": [ + { + "id": 532, + "name": "didZeroX", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 537, + "name": "generateId", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/GeneratorHelpers.ts", + "line": 3, + "character": 26 + } + ], + "signatures": [ + { + "id": 538, + "name": "generateId", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 539, + "name": "length", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "64" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 651, + "name": "getFairGasPrice", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/GasUtils.ts", + "line": 4, + "character": 37 + } + ], + "signatures": [ + { + "id": 652, + "name": "getFairGasPrice", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 653, + "name": "web3", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "Web3" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 528, + "name": "noDidPrefixed", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 13, + "character": 26 + } + ], + "signatures": [ + { + "id": 529, + "name": "noDidPrefixed", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 530, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 522, + "name": "noZeroX", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 5, + "character": 20 + } + ], + "signatures": [ + { + "id": 523, + "name": "noZeroX", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 524, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 471, + "name": "objectPromiseAll", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/PromiseResolver.ts", + "line": 11, + "character": 29 + } + ], + "signatures": [ + { + "id": 472, + "name": "objectPromiseAll", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 473, + "name": "obj", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 474, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 475, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 476, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 519, + "name": "zeroX", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 4, + "character": 18 + } + ], + "signatures": [ + { + "id": 520, + "name": "zeroX", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 521, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 511, + "name": "zeroXTransformer", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConversionTypeHelpers.ts", + "line": 6, + "character": 32 + } + ], + "signatures": [ + { + "id": 512, + "name": "zeroXTransformer", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 513, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + }, + { + "id": 514, + "name": "zeroOutput", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 4, + "children": [ + 477 + ] + }, + { + "title": "Classes", + "kind": 128, + "children": [ + 483, + 596, + 540 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 510 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 534, + 525, + 515, + 531, + 537, + 651, + 528, + 522, + 471, + 519, + 511 + ] + } + ], "sources": [ { "fileName": "utils/index.ts", @@ -27,14 +2842,14 @@ ] }, { - "id": 342, + "id": 1, "name": "CreateProgressStep", "kind": 4, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 343, + "id": 2, "name": "CreatingDataToken", "kind": 16, "kindString": "Enumeration member", @@ -49,7 +2864,7 @@ "defaultValue": "0" }, { - "id": 344, + "id": 3, "name": "DataTokenCreated", "kind": 16, "kindString": "Enumeration member", @@ -64,7 +2879,7 @@ "defaultValue": "1" }, { - "id": 348, + "id": 7, "name": "DdoStored", "kind": 16, "kindString": "Enumeration member", @@ -79,7 +2894,7 @@ "defaultValue": "5" }, { - "id": 345, + "id": 4, "name": "EncryptingFiles", "kind": 16, "kindString": "Enumeration member", @@ -94,7 +2909,7 @@ "defaultValue": "2" }, { - "id": 346, + "id": 5, "name": "FilesEncrypted", "kind": 16, "kindString": "Enumeration member", @@ -109,7 +2924,7 @@ "defaultValue": "3" }, { - "id": 347, + "id": 6, "name": "StoringDdo", "kind": 16, "kindString": "Enumeration member", @@ -128,7 +2943,14 @@ { "title": "Enumeration members", "kind": 16, - "children": [343, 344, 348, 345, 346, 347] + "children": [ + 2, + 3, + 7, + 4, + 5, + 6 + ] } ], "sources": [ @@ -140,14 +2962,118 @@ ] }, { - "id": 1, + "id": 156, + "name": "LogLevel", + "kind": 4, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 158, + "name": "Error", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 3, + "character": 7 + } + ], + "defaultValue": "0" + }, + { + "id": 160, + "name": "Log", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 5, + "character": 5 + } + ], + "defaultValue": "2" + }, + { + "id": 157, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 2, + "character": 6 + } + ], + "defaultValue": "-1" + }, + { + "id": 161, + "name": "Verbose", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 6, + "character": 9 + } + ], + "defaultValue": "3" + }, + { + "id": 159, + "name": "Warn", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 4, + "character": 6 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 158, + 160, + 157, + 161, + 159 + ] + } + ], + "sources": [ + { + "fileName": "utils/Logger.ts", + "line": 1, + "character": 20 + } + ] + }, + { + "id": 10, "name": "OceanPlatformTechStatus", "kind": 4, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 2, + "id": 11, "name": "Loading", "kind": 16, "kindString": "Enumeration member", @@ -162,7 +3088,7 @@ "defaultValue": "\"Loading\"" }, { - "id": 4, + "id": 13, "name": "Stopped", "kind": 16, "kindString": "Enumeration member", @@ -177,7 +3103,7 @@ "defaultValue": "\"Stopped\"" }, { - "id": 3, + "id": 12, "name": "Unknown", "kind": 16, "kindString": "Enumeration member", @@ -192,7 +3118,7 @@ "defaultValue": "\"Unknown\"" }, { - "id": 5, + "id": 14, "name": "Working", "kind": 16, "kindString": "Enumeration member", @@ -211,7 +3137,12 @@ { "title": "Enumeration members", "kind": 16, - "children": [2, 4, 3, 5] + "children": [ + 11, + 13, + 12, + 14 + ] } ], "sources": [ @@ -223,14 +3154,14 @@ ] }, { - "id": 349, + "id": 8, "name": "OrderProgressStep", "kind": 4, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 350, + "id": 9, "name": "TransferDataToken", "kind": 16, "kindString": "Enumeration member", @@ -249,7 +3180,9 @@ { "title": "Enumeration members", "kind": 16, - "children": [350] + "children": [ + 9 + ] } ], "sources": [ @@ -261,7 +3194,7 @@ ] }, { - "id": 55, + "id": 65, "name": "Account", "kind": 128, "kindString": "Class", @@ -271,21 +3204,21 @@ }, "children": [ { - "id": 64, + "id": 74, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 65, + "id": 75, "name": "new Account", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 66, + "id": 76, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -297,7 +3230,7 @@ "defaultValue": "'0x0'" }, { - "id": 67, + "id": 77, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -312,14 +3245,22 @@ ], "type": { "type": "reference", - "id": 55, + "id": 65, "name": "default" + }, + "overwrites": { + "type": "reference", + "name": "Instantiable.constructor" } } - ] + ], + "overwrites": { + "type": "reference", + "name": "Instantiable.constructor" + } }, { - "id": 68, + "id": 78, "name": "password", "kind": 1024, "kindString": "Property", @@ -340,7 +3281,7 @@ } }, { - "id": 69, + "id": 79, "name": "token", "kind": 1024, "kindString": "Property", @@ -361,49 +3302,53 @@ } }, { - "id": 94, + "id": 104, "name": "config", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 44, + "line": 38, "character": 22 } ], "getSignature": [ { - "id": 95, + "id": 105, "name": "config", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } } ] }, { - "id": 98, + "id": 108, "name": "instanceConfig", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 60, + "line": 49, "character": 30 } ], "getSignature": [ { - "id": 99, + "id": 109, "name": "instanceConfig", "kind": 524288, "kindString": "Get signature", @@ -416,76 +3361,83 @@ ] }, { - "id": 96, + "id": 106, "name": "logger", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 51, + "line": 45, "character": 22 } ], "getSignature": [ { - "id": 97, + "id": 107, "name": "logger", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", + "id": 483, "name": "Logger" } } ] }, { - "id": 90, + "id": 100, "name": "ocean", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 30, + "line": 24, "character": 21 } ], "getSignature": [ { - "id": 91, + "id": 101, "name": "ocean", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", - "id": 18, + "id": 27, "name": "Ocean" } } ] }, { - "id": 92, + "id": 102, "name": "web3", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 37, + "line": 31, "character": 20 } ], "getSignature": [ { - "id": 93, + "id": 103, "name": "web3", "kind": 524288, "kindString": "Get signature", @@ -498,7 +3450,7 @@ ] }, { - "id": 88, + "id": 98, "name": "getEtherBalance", "kind": 2048, "kindString": "Method", @@ -514,7 +3466,7 @@ ], "signatures": [ { - "id": 89, + "id": 99, "name": "getEtherBalance", "kind": 4096, "kindString": "Call signature", @@ -537,7 +3489,7 @@ ] }, { - "id": 70, + "id": 80, "name": "getId", "kind": 2048, "kindString": "Method", @@ -553,7 +3505,7 @@ ], "signatures": [ { - "id": 71, + "id": 81, "name": "getId", "kind": 4096, "kindString": "Call signature", @@ -566,7 +3518,7 @@ ] }, { - "id": 83, + "id": 93, "name": "getOceanBalance", "kind": 2048, "kindString": "Method", @@ -582,7 +3534,7 @@ ], "signatures": [ { - "id": 84, + "id": 94, "name": "getOceanBalance", "kind": 4096, "kindString": "Call signature", @@ -605,7 +3557,7 @@ ] }, { - "id": 78, + "id": 88, "name": "getPassword", "kind": 2048, "kindString": "Method", @@ -621,7 +3573,7 @@ ], "signatures": [ { - "id": 79, + "id": 89, "name": "getPassword", "kind": 4096, "kindString": "Call signature", @@ -638,7 +3590,7 @@ ] }, { - "id": 80, + "id": 90, "name": "getTokenBalance", "kind": 2048, "kindString": "Method", @@ -654,7 +3606,7 @@ ], "signatures": [ { - "id": 81, + "id": 91, "name": "getTokenBalance", "kind": 4096, "kindString": "Call signature", @@ -665,7 +3617,7 @@ }, "parameters": [ { - "id": 82, + "id": 92, "name": "TokenAdress", "kind": 32768, "kindString": "Parameter", @@ -690,7 +3642,7 @@ ] }, { - "id": 85, + "id": 95, "name": "getTokenSymbol", "kind": 2048, "kindString": "Method", @@ -706,7 +3658,7 @@ ], "signatures": [ { - "id": 86, + "id": 96, "name": "getTokenSymbol", "kind": 4096, "kindString": "Call signature", @@ -717,7 +3669,7 @@ }, "parameters": [ { - "id": 87, + "id": 97, "name": "TokenAdress", "kind": 32768, "kindString": "Parameter", @@ -742,7 +3694,7 @@ ] }, { - "id": 72, + "id": 82, "name": "setId", "kind": 2048, "kindString": "Method", @@ -758,14 +3710,14 @@ ], "signatures": [ { - "id": 73, + "id": 83, "name": "setId", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 84, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -784,7 +3736,7 @@ ] }, { - "id": 100, + "id": 110, "name": "setInstanceConfig", "kind": 2048, "kindString": "Method", @@ -794,20 +3746,20 @@ "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 89, + "line": 78, "character": 29 } ], "signatures": [ { - "id": 101, + "id": 111, "name": "setInstanceConfig", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 102, + "id": 112, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -821,12 +3773,20 @@ "type": { "type": "intrinsic", "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } }, { - "id": 75, + "id": 85, "name": "setPassword", "kind": 2048, "kindString": "Method", @@ -842,7 +3802,7 @@ ], "signatures": [ { - "id": 76, + "id": 86, "name": "setPassword", "kind": 4096, "kindString": "Call signature", @@ -852,7 +3812,7 @@ }, "parameters": [ { - "id": 77, + "id": 87, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -874,7 +3834,7 @@ ] }, { - "id": 56, + "id": 66, "name": "getInstance", "kind": 2048, "kindString": "Method", @@ -885,20 +3845,20 @@ "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 65, + "line": 54, "character": 33 } ], "signatures": [ { - "id": 57, + "id": 67, "name": "getInstance", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 58, + "id": 68, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -923,12 +3883,20 @@ } ], "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.getInstance" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.getInstance" + } }, { - "id": 59, + "id": 69, "name": "setInstanceConfig", "kind": 2048, "kindString": "Method", @@ -939,20 +3907,20 @@ "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 71, + "line": 60, "character": 36 } ], "signatures": [ { - "id": 60, + "id": 70, "name": "setInstanceConfig", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 61, + "id": 71, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -971,7 +3939,7 @@ ], "parameters": [ { - "id": 62, + "id": 72, "name": "instance", "kind": 32768, "kindString": "Parameter", @@ -982,7 +3950,7 @@ } }, { - "id": 63, + "id": 73, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -996,31 +3964,62 @@ "type": { "type": "intrinsic", "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } } ], "groups": [ { "title": "Constructors", "kind": 512, - "children": [64] + "children": [ + 74 + ] }, { "title": "Properties", "kind": 1024, - "children": [68, 69] + "children": [ + 78, + 79 + ] }, { "title": "Accessors", "kind": 262144, - "children": [94, 98, 96, 90, 92] + "children": [ + 104, + 108, + 106, + 100, + 102 + ] }, { "title": "Methods", "kind": 2048, - "children": [88, 70, 83, 78, 80, 85, 72, 100, 75, 56, 59] + "children": [ + 98, + 80, + 93, + 88, + 90, + 95, + 82, + 110, + 85, + 66, + 69 + ] } ], "sources": [ @@ -1038,35 +4037,35 @@ ] }, { - "id": 103, + "id": 113, "name": "Config", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 104, + "id": 114, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 105, + "id": 115, "name": "new Config", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } } ] }, { - "id": 124, + "id": 136, "name": "authMessage", "kind": 1024, "kindString": "Property", @@ -1080,7 +4079,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 114, + "line": 127, "character": 20 } ], @@ -1090,7 +4089,7 @@ } }, { - "id": 125, + "id": 137, "name": "authTokenExpiration", "kind": 1024, "kindString": "Property", @@ -1104,7 +4103,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 120, + "line": 133, "character": 28 } ], @@ -1114,7 +4113,7 @@ } }, { - "id": 114, + "id": 124, "name": "datatokensABI", "kind": 1024, "kindString": "Property", @@ -1150,7 +4149,67 @@ } }, { - "id": 113, + "id": 131, + "name": "dispenserABI", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isOptional": true + }, + "comment": { + "shortText": "DispenserABI" + }, + "sources": [ + { + "fileName": "models/Config.ts", + "line": 99, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "AbiItem" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "AbiItem" + } + } + ] + } + }, + { + "id": 130, + "name": "dispenserAddress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isOptional": true + }, + "comment": { + "shortText": "DispenserAddress" + }, + "sources": [ + { + "fileName": "models/Config.ts", + "line": 93, + "character": 25 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 123, "name": "factoryABI", "kind": 1024, "kindString": "Property", @@ -1186,7 +4245,7 @@ } }, { - "id": 112, + "id": 122, "name": "factoryAddress", "kind": 1024, "kindString": "Property", @@ -1210,7 +4269,7 @@ } }, { - "id": 118, + "id": 128, "name": "fixedRateExchangeAddress", "kind": 1024, "kindString": "Property", @@ -1234,7 +4293,7 @@ } }, { - "id": 119, + "id": 129, "name": "fixedRateExchangeAddressABI", "kind": 1024, "kindString": "Property", @@ -1270,7 +4329,7 @@ } }, { - "id": 108, + "id": 118, "name": "metadataCacheUri", "kind": 1024, "kindString": "Property", @@ -1294,7 +4353,7 @@ } }, { - "id": 121, + "id": 133, "name": "metadataContractABI", "kind": 1024, "kindString": "Property", @@ -1308,7 +4367,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 98, + "line": 111, "character": 28 } ], @@ -1330,7 +4389,7 @@ } }, { - "id": 120, + "id": 132, "name": "metadataContractAddress", "kind": 1024, "kindString": "Property", @@ -1344,7 +4403,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 92, + "line": 105, "character": 32 } ], @@ -1354,7 +4413,7 @@ } }, { - "id": 106, + "id": 116, "name": "nodeUri", "kind": 1024, "kindString": "Property", @@ -1378,7 +4437,7 @@ } }, { - "id": 111, + "id": 121, "name": "oceanTokenAddress", "kind": 1024, "kindString": "Property", @@ -1402,7 +4461,7 @@ } }, { - "id": 126, + "id": 138, "name": "parityUri", "kind": 1024, "kindString": "Property", @@ -1413,7 +4472,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 123, + "line": 136, "character": 18 } ], @@ -1423,7 +4482,7 @@ } }, { - "id": 117, + "id": 127, "name": "poolABI", "kind": 1024, "kindString": "Property", @@ -1459,7 +4518,7 @@ } }, { - "id": 116, + "id": 126, "name": "poolFactoryABI", "kind": 1024, "kindString": "Property", @@ -1495,7 +4554,7 @@ } }, { - "id": 115, + "id": 125, "name": "poolFactoryAddress", "kind": 1024, "kindString": "Property", @@ -1519,7 +4578,7 @@ } }, { - "id": 107, + "id": 117, "name": "providerAddress", "kind": 1024, "kindString": "Property", @@ -1543,7 +4602,7 @@ } }, { - "id": 109, + "id": 119, "name": "providerUri", "kind": 1024, "kindString": "Property", @@ -1567,7 +4626,7 @@ } }, { - "id": 122, + "id": 134, "name": "startBlock", "kind": 1024, "kindString": "Property", @@ -1581,7 +4640,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 103, + "line": 116, "character": 19 } ], @@ -1591,7 +4650,7 @@ } }, { - "id": 127, + "id": 139, "name": "threshold", "kind": 1024, "kindString": "Property", @@ -1602,7 +4661,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 125, + "line": 138, "character": 18 } ], @@ -1612,7 +4671,7 @@ } }, { - "id": 123, + "id": 135, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -1626,7 +4685,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 108, + "line": 121, "character": 16 } ], @@ -1639,29 +4698,14 @@ }, { "type": "reference", - "name": "None" - }, - { - "type": "reference", - "name": "Error" - }, - { - "type": "reference", - "name": "Warn" - }, - { - "type": "reference", - "name": "Log" - }, - { - "type": "reference", - "name": "Verbose" + "id": 156, + "name": "LogLevel" } ] } }, { - "id": 110, + "id": 120, "name": "web3Provider", "kind": 1024, "kindString": "Property", @@ -1689,34 +4733,38 @@ { "title": "Constructors", "kind": 512, - "children": [104] + "children": [ + 114 + ] }, { "title": "Properties", "kind": 1024, "children": [ + 136, + 137, 124, - 125, - 114, - 113, - 112, - 118, - 119, - 108, - 121, - 120, - 106, - 111, - 126, - 117, - 116, - 115, - 107, - 109, - 122, - 127, + 131, + 130, 123, - 110 + 122, + 128, + 129, + 118, + 133, + 132, + 116, + 121, + 138, + 127, + 126, + 125, + 117, + 119, + 134, + 139, + 135, + 120 ] } ], @@ -1730,41 +4778,41 @@ "extendedBy": [ { "type": "reference", - "id": 316, + "id": 664, "name": "ConfigHelperConfig" } ] }, { - "id": 306, + "id": 654, "name": "ConfigHelper", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 307, + "id": 655, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 308, + "id": 656, "name": "new ConfigHelper", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 306, + "id": 654, "name": "ConfigHelper" } } ] }, { - "id": 309, + "id": 657, "name": "getAddressesFromEnv", "kind": 2048, "kindString": "Method", @@ -1774,20 +4822,20 @@ "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 97, + "line": 149, "character": 28 } ], "signatures": [ { - "id": 310, + "id": 658, "name": "getAddressesFromEnv", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 311, + "id": 659, "name": "network", "kind": 32768, "kindString": "Parameter", @@ -1803,7 +4851,7 @@ "typeArguments": [ { "type": "reference", - "id": 316, + "id": 664, "name": "ConfigHelperConfig" } ], @@ -1813,7 +4861,7 @@ ] }, { - "id": 312, + "id": 660, "name": "getConfig", "kind": 2048, "kindString": "Method", @@ -1823,20 +4871,20 @@ "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 144, + "line": 206, "character": 18 } ], "signatures": [ { - "id": 313, + "id": 661, "name": "getConfig", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 314, + "id": 662, "name": "network", "kind": 32768, "kindString": "Parameter", @@ -1856,7 +4904,7 @@ } }, { - "id": 315, + "id": 663, "name": "infuraProjectId", "kind": 32768, "kindString": "Parameter", @@ -1871,7 +4919,7 @@ ], "type": { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } } @@ -1882,24 +4930,29 @@ { "title": "Constructors", "kind": 512, - "children": [307] + "children": [ + 655 + ] }, { "title": "Methods", "kind": 2048, - "children": [309, 312] + "children": [ + 657, + 660 + ] } ], "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 95, + "line": 147, "character": 25 } ] }, { - "id": 361, + "id": 696, "name": "DDO", "kind": 128, "kindString": "Class", @@ -1909,7 +4962,7 @@ }, "children": [ { - "id": 368, + "id": 703, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1918,14 +4971,14 @@ }, "signatures": [ { - "id": 369, + "id": 704, "name": "new DDO", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 370, + "id": 705, "name": "ddo", "kind": 32768, "kindString": "Parameter", @@ -1935,25 +4988,25 @@ "typeArguments": [ { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } ], "name": "Partial" }, - "defaultValue": "..." + "defaultValue": "{}" } ], "type": { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } } ] }, { - "id": 371, + "id": 706, "name": "@context", "kind": 1024, "kindString": "Property", @@ -1974,7 +5027,7 @@ "defaultValue": "'https://w3id.org/did/v1'" }, { - "id": 377, + "id": 712, "name": "authentication", "kind": 1024, "kindString": "Property", @@ -1992,14 +5045,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 417, + "id": 752, "name": "Authentication" } }, - "defaultValue": "..." + "defaultValue": "[]" }, { - "id": 373, + "id": 708, "name": "created", "kind": 1024, "kindString": "Property", @@ -2019,7 +5072,7 @@ } }, { - "id": 375, + "id": 710, "name": "dataToken", "kind": 1024, "kindString": "Property", @@ -2039,7 +5092,7 @@ } }, { - "id": 383, + "id": 718, "name": "dataTokenInfo", "kind": 1024, "kindString": "Property", @@ -2060,7 +5113,7 @@ } }, { - "id": 372, + "id": 707, "name": "id", "kind": 1024, "kindString": "Property", @@ -2084,7 +5137,7 @@ "defaultValue": "null" }, { - "id": 381, + "id": 716, "name": "isInPurgatory", "kind": 1024, "kindString": "Property", @@ -2113,7 +5166,7 @@ } }, { - "id": 380, + "id": 715, "name": "price", "kind": 1024, "kindString": "Property", @@ -2129,12 +5182,12 @@ ], "type": { "type": "reference", - "id": 420, + "id": 755, "name": "BestPrice" } }, { - "id": 379, + "id": 714, "name": "proof", "kind": 1024, "kindString": "Property", @@ -2150,12 +5203,12 @@ ], "type": { "type": "reference", - "id": 478, + "id": 813, "name": "Proof" } }, { - "id": 376, + "id": 711, "name": "publicKey", "kind": 1024, "kindString": "Property", @@ -2173,14 +5226,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 483, + "id": 818, "name": "PublicKey" } }, - "defaultValue": "..." + "defaultValue": "[]" }, { - "id": 382, + "id": 717, "name": "purgatoryData", "kind": 1024, "kindString": "Property", @@ -2197,12 +5250,12 @@ ], "type": { "type": "reference", - "id": 579, + "id": 919, "name": "PurgatoryData" } }, { - "id": 378, + "id": 713, "name": "service", "kind": 1024, "kindString": "Property", @@ -2220,14 +5273,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" } }, - "defaultValue": "..." + "defaultValue": "[]" }, { - "id": 374, + "id": 709, "name": "updated", "kind": 1024, "kindString": "Property", @@ -2247,7 +5300,7 @@ } }, { - "id": 396, + "id": 731, "name": "addProof", "kind": 2048, "kindString": "Method", @@ -2263,7 +5316,7 @@ ], "signatures": [ { - "id": 397, + "id": 732, "name": "addProof", "kind": 4096, "kindString": "Call signature", @@ -2274,7 +5327,7 @@ }, "parameters": [ { - "id": 398, + "id": 733, "name": "ocean", "kind": 32768, "kindString": "Parameter", @@ -2284,12 +5337,12 @@ }, "type": { "type": "reference", - "id": 18, + "id": 27, "name": "Ocean" } }, { - "id": 399, + "id": 734, "name": "publicKey", "kind": 32768, "kindString": "Parameter", @@ -2303,7 +5356,7 @@ } }, { - "id": 400, + "id": 735, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2330,7 +5383,7 @@ ] }, { - "id": 386, + "id": 721, "name": "findServiceById", "kind": 2048, "kindString": "Method", @@ -2346,7 +5399,7 @@ ], "signatures": [ { - "id": 387, + "id": 722, "name": "findServiceById", "kind": 4096, "kindString": "Call signature", @@ -2357,21 +5410,21 @@ }, "typeParameter": [ { - "id": 388, + "id": 723, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 490, + "id": 825, "name": "ServiceType" } } ], "parameters": [ { - "id": 389, + "id": 724, "name": "index", "kind": 32768, "kindString": "Parameter", @@ -2384,7 +5437,7 @@ ], "type": { "type": "reference", - "id": 574, + "id": 914, "typeArguments": [ { "type": "reference", @@ -2397,7 +5450,7 @@ ] }, { - "id": 390, + "id": 725, "name": "findServiceByType", "kind": 2048, "kindString": "Method", @@ -2413,7 +5466,7 @@ ], "signatures": [ { - "id": 391, + "id": 726, "name": "findServiceByType", "kind": 4096, "kindString": "Call signature", @@ -2424,21 +5477,21 @@ }, "typeParameter": [ { - "id": 392, + "id": 727, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", - "id": 490, + "id": 825, "name": "ServiceType" } } ], "parameters": [ { - "id": 393, + "id": 728, "name": "serviceType", "kind": 32768, "kindString": "Parameter", @@ -2454,7 +5507,7 @@ ], "type": { "type": "reference", - "id": 574, + "id": 914, "typeArguments": [ { "type": "reference", @@ -2467,7 +5520,7 @@ ] }, { - "id": 394, + "id": 729, "name": "getChecksum", "kind": 2048, "kindString": "Method", @@ -2483,7 +5536,7 @@ ], "signatures": [ { - "id": 395, + "id": 730, "name": "getChecksum", "kind": 4096, "kindString": "Call signature", @@ -2500,7 +5553,7 @@ ] }, { - "id": 384, + "id": 719, "name": "shortId", "kind": 2048, "kindString": "Method", @@ -2516,7 +5569,7 @@ ], "signatures": [ { - "id": 385, + "id": 720, "name": "shortId", "kind": 4096, "kindString": "Call signature", @@ -2529,7 +5582,7 @@ ] }, { - "id": 365, + "id": 700, "name": "deserialize", "kind": 2048, "kindString": "Method", @@ -2546,7 +5599,7 @@ ], "signatures": [ { - "id": 366, + "id": 701, "name": "deserialize", "kind": 4096, "kindString": "Call signature", @@ -2557,7 +5610,7 @@ }, "parameters": [ { - "id": 367, + "id": 702, "name": "ddoString", "kind": 32768, "kindString": "Parameter", @@ -2570,14 +5623,14 @@ ], "type": { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } } ] }, { - "id": 362, + "id": 697, "name": "serialize", "kind": 2048, "kindString": "Method", @@ -2594,7 +5647,7 @@ ], "signatures": [ { - "id": 363, + "id": 698, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -2605,14 +5658,14 @@ }, "parameters": [ { - "id": 364, + "id": 699, "name": "ddo", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } } @@ -2629,31 +5682,41 @@ { "title": "Constructors", "kind": 512, - "children": [368] + "children": [ + 703 + ] }, { "title": "Properties", "kind": 1024, "children": [ - 371, - 377, - 373, - 375, - 383, - 372, - 381, - 380, - 379, - 376, - 382, - 378, - 374 + 706, + 712, + 708, + 710, + 718, + 707, + 716, + 715, + 714, + 711, + 717, + 713, + 709 ] }, { "title": "Methods", "kind": 2048, - "children": [396, 386, 390, 394, 384, 365, 362] + "children": [ + 731, + 721, + 725, + 729, + 719, + 700, + 697 + ] } ], "sources": [ @@ -2665,7 +5728,7 @@ ] }, { - "id": 128, + "id": 140, "name": "DID", "kind": 128, "kindString": "Class", @@ -2675,7 +5738,7 @@ }, "children": [ { - "id": 135, + "id": 147, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2684,14 +5747,14 @@ }, "signatures": [ { - "id": 136, + "id": 148, "name": "new DID", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 137, + "id": 149, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2704,14 +5767,14 @@ ], "type": { "type": "reference", - "id": 128, + "id": 140, "name": "default" } } ] }, { - "id": 138, + "id": 150, "name": "id", "kind": 1024, "kindString": "Property", @@ -2734,7 +5797,7 @@ } }, { - "id": 139, + "id": 151, "name": "getDid", "kind": 2048, "kindString": "Method", @@ -2750,7 +5813,7 @@ ], "signatures": [ { - "id": 140, + "id": 152, "name": "getDid", "kind": 4096, "kindString": "Call signature", @@ -2767,7 +5830,7 @@ ] }, { - "id": 141, + "id": 153, "name": "getId", "kind": 2048, "kindString": "Method", @@ -2783,7 +5846,7 @@ ], "signatures": [ { - "id": 142, + "id": 154, "name": "getId", "kind": 4096, "kindString": "Call signature", @@ -2800,7 +5863,7 @@ ] }, { - "id": 132, + "id": 144, "name": "generate", "kind": 2048, "kindString": "Method", @@ -2817,7 +5880,7 @@ ], "signatures": [ { - "id": 133, + "id": 145, "name": "generate", "kind": 4096, "kindString": "Call signature", @@ -2828,7 +5891,7 @@ }, "parameters": [ { - "id": 134, + "id": 146, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -2844,14 +5907,14 @@ ], "type": { "type": "reference", - "id": 128, + "id": 140, "name": "default" } } ] }, { - "id": 129, + "id": 141, "name": "parse", "kind": 2048, "kindString": "Method", @@ -2868,7 +5931,7 @@ ], "signatures": [ { - "id": 130, + "id": 142, "name": "parse", "kind": 4096, "kindString": "Call signature", @@ -2879,7 +5942,7 @@ }, "parameters": [ { - "id": 131, + "id": 143, "name": "didString", "kind": 32768, "kindString": "Parameter", @@ -2896,7 +5959,7 @@ }, { "type": "reference", - "id": 128, + "id": 140, "name": "default" } ] @@ -2905,7 +5968,7 @@ ], "type": { "type": "reference", - "id": 128, + "id": 140, "name": "default" } } @@ -2916,17 +5979,26 @@ { "title": "Constructors", "kind": 512, - "children": [135] + "children": [ + 147 + ] }, { "title": "Properties", "kind": 1024, - "children": [138] + "children": [ + 150 + ] }, { "title": "Methods", "kind": 2048, - "children": [139, 141, 132, 129] + "children": [ + 151, + 153, + 144, + 141 + ] } ], "sources": [ @@ -2938,7 +6010,7 @@ ] }, { - "id": 195, + "id": 345, "name": "DataTokens", "kind": 128, "kindString": "Class", @@ -2948,14 +6020,14 @@ }, "children": [ { - "id": 196, + "id": 346, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 197, + "id": 347, "name": "new DataTokens", "kind": 16384, "kindString": "Constructor signature", @@ -2965,7 +6037,7 @@ }, "parameters": [ { - "id": 198, + "id": 348, "name": "factoryAddress", "kind": 32768, "kindString": "Parameter", @@ -2977,7 +6049,7 @@ } }, { - "id": 199, + "id": 349, "name": "factoryABI", "kind": 32768, "kindString": "Parameter", @@ -3001,7 +6073,7 @@ } }, { - "id": 200, + "id": 350, "name": "datatokensABI", "kind": 32768, "kindString": "Parameter", @@ -3025,7 +6097,7 @@ } }, { - "id": 201, + "id": 351, "name": "web3", "kind": 32768, "kindString": "Parameter", @@ -3039,27 +6111,41 @@ } }, { - "id": 202, + "id": 352, "name": "logger", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", + "id": 483, "name": "Logger" } + }, + { + "id": 353, + "name": "startBlock", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } } ], "type": { "type": "reference", - "id": 195, + "id": 345, "name": "DataTokens" } } ] }, { - "id": 203, + "id": 354, "name": "GASLIMIT_DEFAULT", "kind": 1024, "kindString": "Property", @@ -3080,7 +6166,7 @@ "defaultValue": "1000000" }, { - "id": 206, + "id": 357, "name": "datatokensABI", "kind": 1024, "kindString": "Property", @@ -3112,7 +6198,7 @@ } }, { - "id": 205, + "id": 356, "name": "factoryABI", "kind": 1024, "kindString": "Property", @@ -3144,7 +6230,7 @@ } }, { - "id": 204, + "id": 355, "name": "factoryAddress", "kind": 1024, "kindString": "Property", @@ -3164,7 +6250,7 @@ } }, { - "id": 208, + "id": 359, "name": "logger", "kind": 1024, "kindString": "Property", @@ -3180,11 +6266,32 @@ ], "type": { "type": "reference", + "id": 483, "name": "Logger" } }, { - "id": 207, + "id": 360, + "name": "startBlock", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "datatokens/Datatokens.ts", + "line": 22, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 358, "name": "web3", "kind": 1024, "kindString": "Property", @@ -3204,7 +6311,7 @@ } }, { - "id": 265, + "id": 417, "name": "allowance", "kind": 2048, "kindString": "Method", @@ -3214,13 +6321,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 328, + "line": 331, "character": 24 } ], "signatures": [ { - "id": 266, + "id": 418, "name": "allowance", "kind": 4096, "kindString": "Call signature", @@ -3230,7 +6337,7 @@ }, "parameters": [ { - "id": 267, + "id": 419, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3242,7 +6349,7 @@ } }, { - "id": 268, + "id": 420, "name": "owner", "kind": 32768, "kindString": "Parameter", @@ -3254,7 +6361,7 @@ } }, { - "id": 269, + "id": 421, "name": "spender", "kind": 32768, "kindString": "Parameter", @@ -3282,7 +6389,7 @@ ] }, { - "id": 225, + "id": 377, "name": "approve", "kind": 2048, "kindString": "Method", @@ -3292,13 +6399,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 132, + "line": 135, "character": 22 } ], "signatures": [ { - "id": 226, + "id": 378, "name": "approve", "kind": 4096, "kindString": "Call signature", @@ -3309,7 +6416,7 @@ }, "parameters": [ { - "id": 227, + "id": 379, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3321,7 +6428,7 @@ } }, { - "id": 228, + "id": 380, "name": "spender", "kind": 32768, "kindString": "Parameter", @@ -3332,7 +6439,7 @@ } }, { - "id": 229, + "id": 381, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -3346,7 +6453,7 @@ } }, { - "id": 230, + "id": 382, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -3372,8 +6479,8 @@ ] }, { - "id": 261, - "name": "balance", + "id": 462, + "name": "approveMinter", "kind": 2048, "kindString": "Method", "flags": { @@ -3382,24 +6489,24 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 314, - "character": 22 + "line": 556, + "character": 28 } ], "signatures": [ { - "id": 262, - "name": "balance", + "id": 463, + "name": "approveMinter", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Get Address Balance for datatoken", - "returns": "balance Number of datatokens. Will be converted from wei\n" + "shortText": "Approve minter role", + "returns": "transactionId\n" }, "parameters": [ { - "id": 263, + "id": 464, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3411,7 +6518,74 @@ } }, { - "id": 264, + "id": 465, + "name": "address", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "text": "only proposad minter can call this" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "TransactionReceipt" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 413, + "name": "balance", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "datatokens/Datatokens.ts", + "line": 317, + "character": 22 + } + ], + "signatures": [ + { + "id": 414, + "name": "balance", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Get Address Balance for datatoken", + "returns": "balance Number of datatokens. Will be converted from wei\n" + }, + "parameters": [ + { + "id": 415, + "name": "dataTokenAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 416, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -3437,7 +6611,7 @@ ] }, { - "id": 218, + "id": 370, "name": "create", "kind": 2048, "kindString": "Method", @@ -3447,13 +6621,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 78, + "line": 81, "character": 21 } ], "signatures": [ { - "id": 219, + "id": 371, "name": "create", "kind": 4096, "kindString": "Call signature", @@ -3464,7 +6638,7 @@ }, "parameters": [ { - "id": 220, + "id": 372, "name": "metadataCacheUri", "kind": 32768, "kindString": "Parameter", @@ -3476,7 +6650,7 @@ } }, { - "id": 221, + "id": 373, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -3488,7 +6662,7 @@ } }, { - "id": 222, + "id": 374, "name": "cap", "kind": 32768, "kindString": "Parameter", @@ -3504,7 +6678,7 @@ } }, { - "id": 223, + "id": 375, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -3520,7 +6694,7 @@ } }, { - "id": 224, + "id": 376, "name": "symbol", "kind": 32768, "kindString": "Parameter", @@ -3550,7 +6724,7 @@ ] }, { - "id": 285, + "id": 437, "name": "fromWei", "kind": 2048, "kindString": "Method", @@ -3560,13 +6734,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 392, + "line": 395, "character": 16 } ], "signatures": [ { - "id": 286, + "id": 438, "name": "fromWei", "kind": 4096, "kindString": "Call signature", @@ -3577,7 +6751,7 @@ }, "parameters": [ { - "id": 287, + "id": 439, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -3597,7 +6771,7 @@ ] }, { - "id": 209, + "id": 361, "name": "generateDtName", "kind": 2048, "kindString": "Method", @@ -3607,13 +6781,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 47, + "line": 50, "character": 23 } ], "signatures": [ { - "id": 210, + "id": 362, "name": "generateDtName", "kind": 4096, "kindString": "Call signature", @@ -3624,7 +6798,7 @@ }, "parameters": [ { - "id": 211, + "id": 363, "name": "wordList", "kind": 32768, "kindString": "Parameter", @@ -3634,14 +6808,14 @@ "type": { "type": "reflection", "declaration": { - "id": 212, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 214, + "id": 366, "name": "adjectives", "kind": 1024, "kindString": "Property", @@ -3649,7 +6823,7 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 49, + "line": 52, "character": 14 } ], @@ -3662,7 +6836,7 @@ } }, { - "id": 213, + "id": 365, "name": "nouns", "kind": 1024, "kindString": "Property", @@ -3670,7 +6844,7 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 48, + "line": 51, "character": 9 } ], @@ -3687,7 +6861,10 @@ { "title": "Properties", "kind": 1024, - "children": [214, 213] + "children": [ + 366, + 365 + ] } ] } @@ -3697,14 +6874,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 368, "name": "name", "kind": 1024, "kindString": "Property", @@ -3712,7 +6889,7 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 50, + "line": 53, "character": 12 } ], @@ -3722,7 +6899,7 @@ } }, { - "id": 217, + "id": 369, "name": "symbol", "kind": 1024, "kindString": "Property", @@ -3730,7 +6907,7 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 50, + "line": 53, "character": 28 } ], @@ -3744,7 +6921,10 @@ { "title": "Properties", "kind": 1024, - "children": [216, 217] + "children": [ + 368, + 369 + ] } ] } @@ -3753,7 +6933,7 @@ ] }, { - "id": 270, + "id": 422, "name": "getBlob", "kind": 2048, "kindString": "Method", @@ -3763,13 +6943,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 344, + "line": 347, "character": 22 } ], "signatures": [ { - "id": 271, + "id": 423, "name": "getBlob", "kind": 4096, "kindString": "Call signature", @@ -3780,7 +6960,7 @@ }, "parameters": [ { - "id": 272, + "id": 424, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3806,7 +6986,7 @@ ] }, { - "id": 279, + "id": 431, "name": "getCap", "kind": 2048, "kindString": "Method", @@ -3816,13 +6996,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 374, + "line": 377, "character": 21 } ], "signatures": [ { - "id": 280, + "id": 432, "name": "getCap", "kind": 4096, "kindString": "Call signature", @@ -3833,7 +7013,7 @@ }, "parameters": [ { - "id": 281, + "id": 433, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3859,7 +7039,7 @@ ] }, { - "id": 273, + "id": 425, "name": "getName", "kind": 2048, "kindString": "Method", @@ -3869,13 +7049,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 354, + "line": 357, "character": 22 } ], "signatures": [ { - "id": 274, + "id": 426, "name": "getName", "kind": 4096, "kindString": "Call signature", @@ -3886,7 +7066,7 @@ }, "parameters": [ { - "id": 275, + "id": 427, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3912,7 +7092,7 @@ ] }, { - "id": 296, + "id": 448, "name": "getPreviousValidOrders", "kind": 2048, "kindString": "Method", @@ -3922,13 +7102,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 462, + "line": 465, "character": 37 } ], "signatures": [ { - "id": 297, + "id": 449, "name": "getPreviousValidOrders", "kind": 4096, "kindString": "Call signature", @@ -3939,7 +7119,7 @@ }, "parameters": [ { - "id": 298, + "id": 450, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -3951,7 +7131,7 @@ } }, { - "id": 299, + "id": 451, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -3963,7 +7143,7 @@ } }, { - "id": 300, + "id": 452, "name": "serviceId", "kind": 32768, "kindString": "Parameter", @@ -3975,7 +7155,7 @@ } }, { - "id": 301, + "id": 453, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3989,7 +7169,7 @@ } }, { - "id": 302, + "id": 454, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4017,7 +7197,7 @@ ] }, { - "id": 303, + "id": 455, "name": "getStartOrderEventSignature", "kind": 2048, "kindString": "Method", @@ -4027,13 +7207,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 493, + "line": 504, "character": 36 } ], "signatures": [ { - "id": 304, + "id": 456, "name": "getStartOrderEventSignature", "kind": 4096, "kindString": "Call signature", @@ -4046,7 +7226,7 @@ ] }, { - "id": 276, + "id": 428, "name": "getSymbol", "kind": 2048, "kindString": "Method", @@ -4056,13 +7236,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 364, + "line": 367, "character": 24 } ], "signatures": [ { - "id": 277, + "id": 429, "name": "getSymbol", "kind": 4096, "kindString": "Call signature", @@ -4073,7 +7253,7 @@ }, "parameters": [ { - "id": 278, + "id": 430, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4099,7 +7279,73 @@ ] }, { - "id": 231, + "id": 466, + "name": "isMinter", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "datatokens/Datatokens.ts", + "line": 589, + "character": 23 + } + ], + "signatures": [ + { + "id": 467, + "name": "isMinter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Check if an address has the minter role", + "returns": "string\n" + }, + "parameters": [ + { + "id": 468, + "name": "dataTokenAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "text": "\n* @param {String} address" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 469, + "name": "address", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 383, "name": "mint", "kind": 2048, "kindString": "Method", @@ -4109,13 +7355,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 168, + "line": 171, "character": 19 } ], "signatures": [ { - "id": 232, + "id": 384, "name": "mint", "kind": 4096, "kindString": "Call signature", @@ -4126,7 +7372,7 @@ }, "parameters": [ { - "id": 233, + "id": 385, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4138,7 +7384,7 @@ } }, { - "id": 234, + "id": 386, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4150,7 +7396,7 @@ } }, { - "id": 235, + "id": 387, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4164,7 +7410,7 @@ } }, { - "id": 236, + "id": 388, "name": "toAddress", "kind": 32768, "kindString": "Parameter", @@ -4194,8 +7440,8 @@ ] }, { - "id": 288, - "name": "startOrder", + "id": 457, + "name": "proposeMinter", "kind": 2048, "kindString": "Method", "flags": { @@ -4204,24 +7450,24 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 405, - "character": 25 + "line": 520, + "character": 28 } ], "signatures": [ { - "id": 289, - "name": "startOrder", + "id": 458, + "name": "proposeMinter", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Start Order", - "returns": "string\n" + "shortText": "Purpose a new minter", + "returns": "transactionId\n" }, "parameters": [ { - "id": 290, + "id": 459, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4233,7 +7479,85 @@ } }, { - "id": 291, + "id": 460, + "name": "newMinterAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "address", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "text": "only current minter can call this" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "TransactionReceipt" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 440, + "name": "startOrder", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "datatokens/Datatokens.ts", + "line": 408, + "character": 25 + } + ], + "signatures": [ + { + "id": 441, + "name": "startOrder", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Start Order", + "returns": "string\n" + }, + "parameters": [ + { + "id": 442, + "name": "dataTokenAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, "name": "consumer", "kind": 32768, "kindString": "Parameter", @@ -4247,7 +7571,7 @@ } }, { - "id": 292, + "id": 444, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4259,7 +7583,7 @@ } }, { - "id": 293, + "id": 445, "name": "serviceId", "kind": 32768, "kindString": "Parameter", @@ -4271,7 +7595,7 @@ } }, { - "id": 294, + "id": 446, "name": "mpFeeAddress", "kind": 32768, "kindString": "Parameter", @@ -4283,7 +7607,7 @@ } }, { - "id": 295, + "id": 447, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4311,7 +7635,7 @@ ] }, { - "id": 282, + "id": 434, "name": "toWei", "kind": 2048, "kindString": "Method", @@ -4321,13 +7645,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 384, + "line": 387, "character": 14 } ], "signatures": [ { - "id": 283, + "id": 435, "name": "toWei", "kind": 4096, "kindString": "Call signature", @@ -4338,7 +7662,7 @@ }, "parameters": [ { - "id": 284, + "id": 436, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4358,7 +7682,7 @@ ] }, { - "id": 237, + "id": 389, "name": "transfer", "kind": 2048, "kindString": "Method", @@ -4368,13 +7692,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 211, + "line": 214, "character": 23 } ], "signatures": [ { - "id": 238, + "id": 390, "name": "transfer", "kind": 4096, "kindString": "Call signature", @@ -4385,7 +7709,7 @@ }, "parameters": [ { - "id": 239, + "id": 391, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4397,7 +7721,7 @@ } }, { - "id": 240, + "id": 392, "name": "toAddress", "kind": 32768, "kindString": "Parameter", @@ -4409,7 +7733,7 @@ } }, { - "id": 241, + "id": 393, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4423,7 +7747,7 @@ } }, { - "id": 242, + "id": 394, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4449,7 +7773,7 @@ ] }, { - "id": 255, + "id": 407, "name": "transferFrom", "kind": 2048, "kindString": "Method", @@ -4459,13 +7783,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 280, + "line": 283, "character": 27 } ], "signatures": [ { - "id": 256, + "id": 408, "name": "transferFrom", "kind": 4096, "kindString": "Call signature", @@ -4476,7 +7800,7 @@ }, "parameters": [ { - "id": 257, + "id": 409, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4488,7 +7812,7 @@ } }, { - "id": 258, + "id": 410, "name": "fromAddress", "kind": 32768, "kindString": "Parameter", @@ -4500,7 +7824,7 @@ } }, { - "id": 259, + "id": 411, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4514,7 +7838,7 @@ } }, { - "id": 260, + "id": 412, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4540,7 +7864,7 @@ ] }, { - "id": 243, + "id": 395, "name": "transferToken", "kind": 2048, "kindString": "Method", @@ -4550,13 +7874,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 228, + "line": 231, "character": 28 } ], "signatures": [ { - "id": 244, + "id": 396, "name": "transferToken", "kind": 4096, "kindString": "Call signature", @@ -4567,7 +7891,7 @@ }, "parameters": [ { - "id": 245, + "id": 397, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4579,7 +7903,7 @@ } }, { - "id": 246, + "id": 398, "name": "toAddress", "kind": 32768, "kindString": "Parameter", @@ -4591,7 +7915,7 @@ } }, { - "id": 247, + "id": 399, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4605,7 +7929,7 @@ } }, { - "id": 248, + "id": 400, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4631,7 +7955,7 @@ ] }, { - "id": 249, + "id": 401, "name": "transferWei", "kind": 2048, "kindString": "Method", @@ -4641,13 +7965,13 @@ "sources": [ { "fileName": "datatokens/Datatokens.ts", - "line": 246, + "line": 249, "character": 26 } ], "signatures": [ { - "id": 250, + "id": 402, "name": "transferWei", "kind": 4096, "kindString": "Call signature", @@ -4658,7 +7982,7 @@ }, "parameters": [ { - "id": 251, + "id": 403, "name": "dataTokenAddress", "kind": 32768, "kindString": "Parameter", @@ -4670,7 +7994,7 @@ } }, { - "id": 252, + "id": 404, "name": "toAddress", "kind": 32768, "kindString": "Parameter", @@ -4682,7 +8006,7 @@ } }, { - "id": 253, + "id": 405, "name": "amount", "kind": 32768, "kindString": "Parameter", @@ -4696,7 +8020,7 @@ } }, { - "id": 254, + "id": 406, "name": "address", "kind": 32768, "kindString": "Parameter", @@ -4726,36 +8050,49 @@ { "title": "Constructors", "kind": 512, - "children": [196] + "children": [ + 346 + ] }, { "title": "Properties", "kind": 1024, - "children": [203, 206, 205, 204, 208, 207] + "children": [ + 354, + 357, + 356, + 355, + 359, + 360, + 358 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 265, - 225, - 261, - 218, - 285, - 209, - 270, - 279, - 273, - 296, - 303, - 276, - 231, - 288, - 282, - 237, - 255, - 243, - 249 + 417, + 377, + 462, + 413, + 370, + 437, + 361, + 422, + 431, + 425, + 448, + 455, + 428, + 466, + 383, + 457, + 440, + 434, + 389, + 407, + 395, + 401 ] } ], @@ -4768,7 +8105,7 @@ ] }, { - "id": 144, + "id": 291, "name": "MetadataCache", "kind": 128, "kindString": "Class", @@ -4778,14 +8115,14 @@ }, "children": [ { - "id": 145, + "id": 292, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 146, + "id": 293, "name": "new MetadataCache", "kind": 16384, "kindString": "Constructor signature", @@ -4795,7 +8132,7 @@ }, "parameters": [ { - "id": 147, + "id": 294, "name": "metadataCacheUri", "kind": 32768, "kindString": "Parameter", @@ -4807,7 +8144,7 @@ } }, { - "id": 148, + "id": 295, "name": "logger", "kind": 32768, "kindString": "Parameter", @@ -4817,20 +8154,21 @@ }, "type": { "type": "reference", + "id": 483, "name": "Logger" } } ], "type": { "type": "reference", - "id": 144, + "id": 291, "name": "MetadataCache" } } ] }, { - "id": 149, + "id": 296, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -4840,7 +8178,7 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 30, + "line": 45, "character": 14 } ], @@ -4850,7 +8188,7 @@ } }, { - "id": 150, + "id": 297, "name": "logger", "kind": 1024, "kindString": "Property", @@ -4860,17 +8198,18 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 31, + "line": 46, "character": 16 } ], "type": { "type": "reference", + "id": 483, "name": "Logger" } }, { - "id": 151, + "id": 298, "name": "metadataCacheUri", "kind": 1024, "kindString": "Property", @@ -4880,7 +8219,7 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 32, + "line": 47, "character": 26 } ], @@ -4890,21 +8229,23 @@ } }, { - "id": 152, + "id": 299, "name": "url", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isPrivate": true + }, "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 34, + "line": 49, "character": 17 } ], "getSignature": [ { - "id": 153, + "id": 300, "name": "url", "kind": 524288, "kindString": "Get signature", @@ -4917,7 +8258,62 @@ ] }, { - "id": 156, + "id": 313, + "name": "encryptDDO", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "metadatacache/MetadataCache.ts", + "line": 148, + "character": 25 + } + ], + "signatures": [ + { + "id": 314, + "name": "encryptDDO", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Encrypts a DDO", + "returns": "Hex encoded encrypted DDO.\n" + }, + "parameters": [ + { + "id": 315, + "name": "ddo", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "text": "bytes to be encrypted." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 303, "name": "getAccessUrl", "kind": 2048, "kindString": "Method", @@ -4927,20 +8323,20 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 53, + "line": 68, "character": 27 } ], "signatures": [ { - "id": 157, + "id": 304, "name": "getAccessUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 158, + "id": 305, "name": "accessToken", "kind": 32768, "kindString": "Parameter", @@ -4951,7 +8347,7 @@ } }, { - "id": 159, + "id": 306, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -4976,7 +8372,7 @@ ] }, { - "id": 179, + "id": 329, "name": "getOwnerAssets", "kind": 2048, "kindString": "Method", @@ -4986,20 +8382,20 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 204, + "line": 243, "character": 29 } ], "signatures": [ { - "id": 180, + "id": 330, "name": "getOwnerAssets", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 181, + "id": 331, "name": "owner", "kind": 32768, "kindString": "Parameter", @@ -5024,7 +8420,7 @@ ] }, { - "id": 187, + "id": 337, "name": "getServiceEndpoint", "kind": 2048, "kindString": "Method", @@ -5034,27 +8430,27 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 258, + "line": 299, "character": 27 } ], "signatures": [ { - "id": 188, + "id": 338, "name": "getServiceEndpoint", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 189, + "id": 339, "name": "did", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 128, + "id": 140, "name": "default" } } @@ -5067,7 +8463,7 @@ ] }, { - "id": 190, + "id": 340, "name": "getURI", "kind": 2048, "kindString": "Method", @@ -5077,13 +8473,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 262, + "line": 303, "character": 15 } ], "signatures": [ { - "id": 191, + "id": 341, "name": "getURI", "kind": 4096, "kindString": "Call signature", @@ -5096,7 +8492,7 @@ ] }, { - "id": 154, + "id": 301, "name": "getVersionInfo", "kind": 2048, "kindString": "Method", @@ -5106,13 +8502,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 49, + "line": 64, "character": 29 } ], "signatures": [ { - "id": 155, + "id": 302, "name": "getVersionInfo", "kind": 4096, "kindString": "Call signature", @@ -5131,7 +8527,7 @@ ] }, { - "id": 160, + "id": 307, "name": "queryMetadata", "kind": 2048, "kindString": "Method", @@ -5141,13 +8537,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 80, + "line": 95, "character": 28 } ], "signatures": [ { - "id": 161, + "id": 308, "name": "queryMetadata", "kind": 4096, "kindString": "Call signature", @@ -5158,7 +8554,7 @@ }, "parameters": [ { - "id": 162, + "id": 309, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -5186,7 +8582,7 @@ ] }, { - "id": 182, + "id": 332, "name": "retire", "kind": 2048, "kindString": "Method", @@ -5196,13 +8592,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 227, + "line": 268, "character": 21 } ], "signatures": [ { - "id": 183, + "id": 333, "name": "retire", "kind": 4096, "kindString": "Call signature", @@ -5213,7 +8609,7 @@ }, "parameters": [ { - "id": 184, + "id": 334, "name": "did", "kind": 32768, "kindString": "Parameter", @@ -5230,14 +8626,14 @@ }, { "type": "reference", - "id": 128, + "id": 140, "name": "default" } ] } }, { - "id": 185, + "id": 335, "name": "updated", "kind": 32768, "kindString": "Parameter", @@ -5251,7 +8647,7 @@ } }, { - "id": 186, + "id": 336, "name": "signature", "kind": 32768, "kindString": "Parameter", @@ -5279,7 +8675,7 @@ ] }, { - "id": 166, + "id": 316, "name": "retrieveDDO", "kind": 2048, "kindString": "Method", @@ -5289,13 +8685,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 133, + "line": 172, "character": 26 } ], "signatures": [ { - "id": 167, + "id": 317, "name": "retrieveDDO", "kind": 4096, "kindString": "Call signature", @@ -5306,7 +8702,7 @@ }, "parameters": [ { - "id": 168, + "id": 318, "name": "did", "kind": 32768, "kindString": "Parameter", @@ -5323,14 +8719,14 @@ }, { "type": "reference", - "id": 128, + "id": 140, "name": "default" } ] } }, { - "id": 169, + "id": 319, "name": "metadataServiceEndpoint", "kind": 32768, "kindString": "Parameter", @@ -5348,7 +8744,7 @@ "typeArguments": [ { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } ], @@ -5358,7 +8754,7 @@ ] }, { - "id": 170, + "id": 320, "name": "retrieveDDOByUrl", "kind": 2048, "kindString": "Method", @@ -5368,20 +8764,20 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 159, + "line": 198, "character": 31 } ], "signatures": [ { - "id": 171, + "id": 321, "name": "retrieveDDOByUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 172, + "id": 322, "name": "metadataServiceEndpoint", "kind": 32768, "kindString": "Parameter", @@ -5399,7 +8795,7 @@ "typeArguments": [ { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } ], @@ -5409,7 +8805,7 @@ ] }, { - "id": 163, + "id": 310, "name": "storeDDO", "kind": 2048, "kindString": "Method", @@ -5419,13 +8815,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 106, + "line": 121, "character": 23 } ], "signatures": [ { - "id": 164, + "id": 311, "name": "storeDDO", "kind": 4096, "kindString": "Call signature", @@ -5436,7 +8832,7 @@ }, "parameters": [ { - "id": 165, + "id": 312, "name": "ddo", "kind": 32768, "kindString": "Parameter", @@ -5446,7 +8842,7 @@ }, "type": { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } } @@ -5456,7 +8852,7 @@ "typeArguments": [ { "type": "reference", - "id": 361, + "id": 696, "name": "DDO" } ], @@ -5466,7 +8862,7 @@ ] }, { - "id": 173, + "id": 323, "name": "transferOwnership", "kind": 2048, "kindString": "Method", @@ -5476,13 +8872,13 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 171, + "line": 210, "character": 32 } ], "signatures": [ { - "id": 174, + "id": 324, "name": "transferOwnership", "kind": 4096, "kindString": "Call signature", @@ -5493,7 +8889,7 @@ }, "parameters": [ { - "id": 175, + "id": 325, "name": "did", "kind": 32768, "kindString": "Parameter", @@ -5510,14 +8906,14 @@ }, { "type": "reference", - "id": 128, + "id": 140, "name": "default" } ] } }, { - "id": 176, + "id": 326, "name": "newOwner", "kind": 32768, "kindString": "Parameter", @@ -5531,7 +8927,7 @@ } }, { - "id": 177, + "id": 327, "name": "updated", "kind": 32768, "kindString": "Parameter", @@ -5545,7 +8941,7 @@ } }, { - "id": 178, + "id": 328, "name": "signature", "kind": 32768, "kindString": "Parameter", @@ -5573,7 +8969,7 @@ ] }, { - "id": 192, + "id": 342, "name": "transformResult", "kind": 2048, "kindString": "Method", @@ -5583,20 +8979,20 @@ "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 266, + "line": 307, "character": 25 } ], "signatures": [ { - "id": 193, + "id": 343, "name": "transformResult", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 194, + "id": 344, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5620,47 +9016,56 @@ { "title": "Constructors", "kind": 512, - "children": [145] + "children": [ + 292 + ] }, { "title": "Properties", "kind": 1024, - "children": [149, 150, 151] + "children": [ + 296, + 297, + 298 + ] }, { "title": "Accessors", "kind": 262144, - "children": [152] + "children": [ + 299 + ] }, { "title": "Methods", "kind": 2048, "children": [ - 156, - 179, - 187, - 190, - 154, - 160, - 182, - 166, - 170, - 163, - 173, - 192 + 313, + 303, + 329, + 337, + 340, + 301, + 307, + 332, + 316, + 320, + 310, + 323, + 342 ] } ], "sources": [ { "fileName": "metadatacache/MetadataCache.ts", - "line": 29, + "line": 44, "character": 26 } ] }, { - "id": 18, + "id": 27, "name": "Ocean", "kind": 128, "kindString": "Class", @@ -5670,28 +9075,59 @@ }, "children": [ { - "id": 27, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 28, + "id": 37, "name": "new Ocean", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 18, + "id": 27, "name": "Ocean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.constructor" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.constructor" + } }, { - "id": 34, + "id": 49, + "name": "OceanDispenser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "comment": { + "shortText": "Ocean Dispenser submodule" + }, + "sources": [ + { + "fileName": "ocean/Ocean.ts", + "line": 172, + "character": 23 + } + ], + "type": { + "type": "reference", + "name": "OceanDispenser" + } + }, + { + "id": 43, "name": "accounts", "kind": 1024, "kindString": "Property", @@ -5704,7 +9140,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 117, + "line": 129, "character": 17 } ], @@ -5714,7 +9150,7 @@ } }, { - "id": 35, + "id": 44, "name": "assets", "kind": 1024, "kindString": "Property", @@ -5727,7 +9163,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 130, + "line": 142, "character": 15 } ], @@ -5737,7 +9173,7 @@ } }, { - "id": 36, + "id": 45, "name": "compute", "kind": 1024, "kindString": "Property", @@ -5750,7 +9186,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 136, + "line": 148, "character": 16 } ], @@ -5760,7 +9196,7 @@ } }, { - "id": 37, + "id": 46, "name": "datatokens", "kind": 1024, "kindString": "Property", @@ -5773,18 +9209,18 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 142, + "line": 154, "character": 19 } ], "type": { "type": "reference", - "id": 195, + "id": 345, "name": "DataTokens" } }, { - "id": 39, + "id": 48, "name": "fixedRateExchange", "kind": 1024, "kindString": "Property", @@ -5797,7 +9233,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 154, + "line": 166, "character": 26 } ], @@ -5807,7 +9243,7 @@ } }, { - "id": 32, + "id": 41, "name": "metadataCache", "kind": 1024, "kindString": "Property", @@ -5820,18 +9256,18 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 107, + "line": 119, "character": 22 } ], "type": { "type": "reference", - "id": 144, + "id": 291, "name": "MetadataCache" } }, { - "id": 29, + "id": 38, "name": "network", "kind": 1024, "kindString": "Property", @@ -5844,7 +9280,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 89, + "line": 101, "character": 16 } ], @@ -5854,7 +9290,7 @@ } }, { - "id": 33, + "id": 42, "name": "onChainMetadata", "kind": 1024, "kindString": "Property", @@ -5867,7 +9303,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 112, + "line": 124, "character": 24 } ], @@ -5877,7 +9313,7 @@ } }, { - "id": 38, + "id": 47, "name": "pool", "kind": 1024, "kindString": "Property", @@ -5890,7 +9326,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 148, + "line": 160, "character": 13 } ], @@ -5900,7 +9336,7 @@ } }, { - "id": 30, + "id": 39, "name": "provider", "kind": 1024, "kindString": "Property", @@ -5913,17 +9349,18 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 95, + "line": 107, "character": 17 } ], "type": { "type": "reference", + "id": 162, "name": "Provider" } }, { - "id": 41, + "id": 51, "name": "utils", "kind": 1024, "kindString": "Property", @@ -5936,7 +9373,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 173, + "line": 191, "character": 14 } ], @@ -5946,7 +9383,7 @@ } }, { - "id": 40, + "id": 50, "name": "versions", "kind": 1024, "kindString": "Property", @@ -5959,7 +9396,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 167, + "line": 185, "character": 17 } ], @@ -5969,7 +9406,7 @@ } }, { - "id": 31, + "id": 40, "name": "web3Provider", "kind": 1024, "kindString": "Property", @@ -5982,7 +9419,7 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 101, + "line": 113, "character": 21 } ], @@ -5992,49 +9429,53 @@ } }, { - "id": 46, + "id": 56, "name": "config", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 44, + "line": 38, "character": 22 } ], "getSignature": [ { - "id": 47, + "id": 57, "name": "config", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } } ] }, { - "id": 50, + "id": 60, "name": "instanceConfig", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 60, + "line": 49, "character": 30 } ], "getSignature": [ { - "id": 51, + "id": 61, "name": "instanceConfig", "kind": 524288, "kindString": "Get signature", @@ -6047,76 +9488,83 @@ ] }, { - "id": 48, + "id": 58, "name": "logger", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 51, + "line": 45, "character": 22 } ], "getSignature": [ { - "id": 49, + "id": 59, "name": "logger", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", + "id": 483, "name": "Logger" } } ] }, { - "id": 42, + "id": 52, "name": "ocean", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 30, + "line": 24, "character": 21 } ], "getSignature": [ { - "id": 43, + "id": 53, "name": "ocean", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "reference", - "id": 18, + "id": 27, "name": "Ocean" } } ] }, { - "id": 44, + "id": 54, "name": "web3", "kind": 262144, "kindString": "Accessor", - "flags": {}, + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 37, + "line": 31, "character": 20 } ], "getSignature": [ { - "id": 45, + "id": 55, "name": "web3", "kind": 524288, "kindString": "Get signature", @@ -6129,7 +9577,7 @@ ] }, { - "id": 52, + "id": 62, "name": "setInstanceConfig", "kind": 2048, "kindString": "Method", @@ -6139,20 +9587,20 @@ "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 89, + "line": 78, "character": 29 } ], "signatures": [ { - "id": 53, + "id": 63, "name": "setInstanceConfig", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 54, + "id": 64, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -6166,12 +9614,20 @@ "type": { "type": "intrinsic", "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } }, { - "id": 19, + "id": 28, "name": "getInstance", "kind": 2048, "kindString": "Method", @@ -6182,13 +9638,13 @@ "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 28, + "line": 29, "character": 33 } ], "signatures": [ { - "id": 20, + "id": 29, "name": "getInstance", "kind": 4096, "kindString": "Call signature", @@ -6199,7 +9655,7 @@ }, "parameters": [ { - "id": 21, + "id": 30, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -6209,7 +9665,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } } @@ -6219,17 +9675,25 @@ "typeArguments": [ { "type": "reference", - "id": 18, + "id": 27, "name": "Ocean" } ], "name": "Promise" + }, + "overwrites": { + "type": "reference", + "name": "Instantiable.getInstance" } } - ] + ], + "overwrites": { + "type": "reference", + "name": "Instantiable.getInstance" + } }, { - "id": 22, + "id": 31, "name": "setInstanceConfig", "kind": 2048, "kindString": "Method", @@ -6240,20 +9704,20 @@ "sources": [ { "fileName": "Instantiable.abstract.ts", - "line": 71, + "line": 60, "character": 36 } ], "signatures": [ { - "id": 23, + "id": 32, "name": "setInstanceConfig", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 24, + "id": 33, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6272,7 +9736,7 @@ ], "parameters": [ { - "id": 25, + "id": 34, "name": "instance", "kind": 32768, "kindString": "Parameter", @@ -6283,7 +9747,7 @@ } }, { - "id": 26, + "id": 35, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6297,37 +9761,72 @@ "type": { "type": "intrinsic", "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" } } - ] + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } } ], "groups": [ { "title": "Constructors", "kind": 512, - "children": [27] + "children": [ + 36 + ] }, { "title": "Properties", "kind": 1024, - "children": [34, 35, 36, 37, 39, 32, 29, 33, 38, 30, 41, 40, 31] + "children": [ + 49, + 43, + 44, + 45, + 46, + 48, + 41, + 38, + 42, + 47, + 39, + 51, + 50, + 40 + ] }, { "title": "Accessors", "kind": 262144, - "children": [46, 50, 48, 42, 44] + "children": [ + 56, + 60, + 58, + 52, + 54 + ] }, { "title": "Methods", "kind": 2048, - "children": [52, 19, 22] + "children": [ + 62, + 28, + 31 + ] } ], "sources": [ { "fileName": "ocean/Ocean.ts", - "line": 22, + "line": 23, "character": 18 } ], @@ -6339,7 +9838,2102 @@ ] }, { - "id": 401, + "id": 162, + "name": "Provider", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Provides an interface for provider service.\nProvider service is the technical component executed\nby the Publishers allowing to them to provide extended\ndata services." + }, + "children": [ + { + "id": 171, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 172, + "name": "new Provider", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 162, + "name": "Provider" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.constructor" + } + }, + { + "id": 174, + "name": "baseUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 30, + "character": 17 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 176, + "name": "computeAddress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 32, + "character": 23 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 173, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 29, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 177, + "name": "providerAddress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 33, + "character": 24 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 178, + "name": "providerVersion", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 34, + "character": 24 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 175, + "name": "servicesEndpoints", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 31, + "character": 26 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + }, + { + "id": 282, + "name": "config", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 38, + "character": 22 + } + ], + "getSignature": [ + { + "id": 283, + "name": "config", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "reference", + "id": 113, + "name": "Config" + } + } + ] + }, + { + "id": 286, + "name": "instanceConfig", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 49, + "character": 30 + } + ], + "getSignature": [ + { + "id": 287, + "name": "instanceConfig", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "reference", + "name": "InstantiableConfig" + } + } + ] + }, + { + "id": 284, + "name": "logger", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 45, + "character": 22 + } + ], + "getSignature": [ + { + "id": 285, + "name": "logger", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "reference", + "id": 483, + "name": "Logger" + } + } + ] + }, + { + "id": 278, + "name": "ocean", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 24, + "character": 21 + } + ], + "getSignature": [ + { + "id": 279, + "name": "ocean", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "reference", + "id": 27, + "name": "Ocean" + } + } + ] + }, + { + "id": 182, + "name": "url", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 53, + "character": 16 + } + ], + "getSignature": [ + { + "id": 183, + "name": "url", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 280, + "name": "web3", + "kind": 262144, + "kindString": "Accessor", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 31, + "character": 20 + } + ], + "getSignature": [ + { + "id": 281, + "name": "web3", + "kind": 524288, + "kindString": "Get signature", + "flags": {}, + "type": { + "type": "reference", + "name": "default" + } + } + ] + }, + { + "id": 245, + "name": "computeDelete", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 365, + "character": 28 + } + ], + "signatures": [ + { + "id": 246, + "name": "computeDelete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Instruct the provider to stop & delete all resources for a compute job" + }, + "parameters": [ + { + "id": 247, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "consumerAccount", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 249, + "name": "jobId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "ComputeJob" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "ComputeJob" + } + } + ] + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 229, + "name": "computeStart", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 264, + "character": 27 + } + ], + "signatures": [ + { + "id": 230, + "name": "computeStart", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Instruct the provider to start a compute job" + }, + "parameters": [ + { + "id": 231, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 232, + "name": "consumerAccount", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 233, + "name": "algorithm", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "ComputeAlgorithm" + } + }, + { + "id": 234, + "name": "output", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "ComputeOutput" + } + }, + { + "id": 235, + "name": "txId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "serviceIndex", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 237, + "name": "serviceType", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 238, + "name": "tokenAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 239, + "name": "additionalInputs", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ComputeInput" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "ComputeJob" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "ComputeJob" + } + } + ] + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 250, + "name": "computeStatus", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 407, + "character": 28 + } + ], + "signatures": [ + { + "id": 251, + "name": "computeStatus", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 252, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 253, + "name": "consumerAccount", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 254, + "name": "jobId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 255, + "name": "txId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 256, + "name": "sign", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "ComputeJob" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "ComputeJob" + } + } + ] + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 240, + "name": "computeStop", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 325, + "character": 26 + } + ], + "signatures": [ + { + "id": 241, + "name": "computeStop", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Instruct the provider to stop a compute job" + }, + "parameters": [ + { + "id": 242, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "consumerAccount", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 244, + "name": "jobId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "name": "ComputeJob" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "ComputeJob" + } + } + ] + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 193, + "name": "createHashSignature", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 102, + "character": 34 + } + ], + "signatures": [ + { + "id": 194, + "name": "createHashSignature", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 195, + "name": "account", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 196, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 189, + "name": "createSignature", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 93, + "character": 30 + } + ], + "signatures": [ + { + "id": 190, + "name": "createSignature", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 191, + "name": "account", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 192, + "name": "agreementId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 218, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 220, + "character": 23 + } + ], + "signatures": [ + { + "id": 219, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 220, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 221, + "name": "txId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 222, + "name": "tokenAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 223, + "name": "serviceType", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 224, + "name": "serviceIndex", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 225, + "name": "destination", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 226, + "name": "account", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + }, + { + "id": 227, + "name": "files", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 777, + "name": "File" + } + } + }, + { + "id": 228, + "name": "index", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "-1" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 197, + "name": "encrypt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 111, + "character": 22 + } + ], + "signatures": [ + { + "id": 198, + "name": "encrypt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 199, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 200, + "name": "document", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 201, + "name": "account", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 65, + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 202, + "name": "fileinfo", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 136, + "character": 23 + } + ], + "signatures": [ + { + "id": 203, + "name": "fileinfo", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Get URL details (if possible)", + "returns": "urlDetails\n" + }, + "parameters": [ + { + "id": 204, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "text": "or did" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 777, + "name": "File" + } + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 271, + "name": "getComputeDeleteEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 486, + "character": 33 + } + ], + "signatures": [ + { + "id": 272, + "name": "getComputeDeleteEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 265, + "name": "getComputeStartEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 474, + "character": 32 + } + ], + "signatures": [ + { + "id": 266, + "name": "getComputeStartEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 269, + "name": "getComputeStatusEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 482, + "character": 33 + } + ], + "signatures": [ + { + "id": 270, + "name": "getComputeStatusEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 267, + "name": "getComputeStopEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 478, + "character": 31 + } + ], + "signatures": [ + { + "id": 268, + "name": "getComputeStopEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 273, + "name": "getDownloadEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 490, + "character": 28 + } + ], + "signatures": [ + { + "id": 274, + "name": "getDownloadEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 261, + "name": "getEncryptEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 466, + "character": 27 + } + ], + "signatures": [ + { + "id": 262, + "name": "getEncryptEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 186, + "name": "getEndpointURL", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 86, + "character": 23 + } + ], + "signatures": [ + { + "id": 187, + "name": "getEndpointURL", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 188, + "name": "serviceName", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 263, + "name": "getFileinfoEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 470, + "character": 28 + } + ], + "signatures": [ + { + "id": 264, + "name": "getFileinfoEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 257, + "name": "getInitializeEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 458, + "character": 30 + } + ], + "signatures": [ + { + "id": 258, + "name": "getInitializeEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 209, + "name": "getNonce", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 173, + "character": 23 + } + ], + "signatures": [ + { + "id": 210, + "name": "getNonce", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Get nonce from provider", + "returns": "string\n" + }, + "parameters": [ + { + "id": 211, + "name": "consumerAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 259, + "name": "getNonceEndpoint", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 462, + "character": 25 + } + ], + "signatures": [ + { + "id": 260, + "name": "getNonceEndpoint", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ] + }, + { + "id": 184, + "name": "getServiceEndpoints", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 63, + "character": 34 + } + ], + "signatures": [ + { + "id": 185, + "name": "getServiceEndpoints", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the service endpoints that exist\nin provider.", + "returns": "\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "name": "ServiceEndpoint" + } + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 212, + "name": "initialize", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 188, + "character": 25 + } + ], + "signatures": [ + { + "id": 213, + "name": "initialize", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 214, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 215, + "name": "serviceIndex", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 216, + "name": "serviceType", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 217, + "name": "consumerAddress", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 205, + "name": "isFileConsumable", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 153, + "character": 31 + } + ], + "signatures": [ + { + "id": 206, + "name": "isFileConsumable", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 207, + "name": "did", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 140, + "name": "default" + } + }, + { + "id": 208, + "name": "serviceIndex", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 275, + "name": "isValidProvider", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 498, + "character": 30 + } + ], + "signatures": [ + { + "id": 276, + "name": "isValidProvider", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Check for a valid provider at URL", + "returns": "string\n" + }, + "parameters": [ + { + "id": 277, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 179, + "name": "setBaseUrl", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 47, + "character": 25 + } + ], + "signatures": [ + { + "id": 180, + "name": "setBaseUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 181, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise" + } + } + ] + }, + { + "id": 288, + "name": "setInstanceConfig", + "kind": 2048, + "kindString": "Method", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 78, + "character": 29 + } + ], + "signatures": [ + { + "id": 289, + "name": "setInstanceConfig", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 290, + "name": "config", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "InstantiableConfig" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } + }, + { + "id": 163, + "name": "getInstance", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isStatic": true + }, + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 39, + "character": 33 + } + ], + "signatures": [ + { + "id": 164, + "name": "getInstance", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the instance of Provider.", + "returns": "\n" + }, + "parameters": [ + { + "id": 165, + "name": "config", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "InstantiableConfig" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 162, + "name": "Provider" + } + ], + "name": "Promise" + }, + "overwrites": { + "type": "reference", + "name": "Instantiable.getInstance" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Instantiable.getInstance" + } + }, + { + "id": 166, + "name": "setInstanceConfig", + "kind": 2048, + "kindString": "Method", + "flags": { + "isProtected": true, + "isStatic": true + }, + "sources": [ + { + "fileName": "Instantiable.abstract.ts", + "line": 60, + "character": 36 + } + ], + "signatures": [ + { + "id": 167, + "name": "setInstanceConfig", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 168, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "T" + } + ], + "name": "Instantiable" + } + } + ], + "parameters": [ + { + "id": 169, + "name": "instance", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "T" + } + }, + { + "id": 170, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "InstantiableConfig" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Instantiable.setInstanceConfig" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 171 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 174, + 176, + 173, + 177, + 178, + 175 + ] + }, + { + "title": "Accessors", + "kind": 262144, + "children": [ + 282, + 286, + 284, + 278, + 182, + 280 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 245, + 229, + 250, + 240, + 193, + 189, + 218, + 197, + 202, + 271, + 265, + 269, + 267, + 273, + 261, + 186, + 263, + 257, + 209, + 259, + 184, + 212, + 205, + 275, + 179, + 288, + 163, + 166 + ] + } + ], + "sources": [ + { + "fileName": "provider/Provider.ts", + "line": 28, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "Instantiable" + } + ] + }, + { + "id": 736, "name": "AdditionalInformation", "kind": 256, "kindString": "Interface", @@ -6355,7 +11949,7 @@ }, "children": [ { - "id": 410, + "id": 745, "name": "categories", "kind": 1024, "kindString": "Property", @@ -6387,7 +11981,7 @@ } }, { - "id": 403, + "id": 738, "name": "copyrightHolder", "kind": 1024, "kindString": "Property", @@ -6416,7 +12010,7 @@ } }, { - "id": 402, + "id": 737, "name": "description", "kind": 1024, "kindString": "Property", @@ -6445,7 +12039,7 @@ } }, { - "id": 409, + "id": 744, "name": "inLanguage", "kind": 1024, "kindString": "Property", @@ -6474,7 +12068,7 @@ } }, { - "id": 405, + "id": 740, "name": "links", "kind": 1024, "kindString": "Property", @@ -6502,20 +12096,20 @@ "elementType": { "type": "reflection", "declaration": { - "id": 406, + "id": 741, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 407, + "id": 742, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 408, + "id": 743, "name": "name", "kind": 32768, "flags": {}, @@ -6535,7 +12129,7 @@ } }, { - "id": 413, + "id": 748, "name": "structuredMarkup", "kind": 1024, "kindString": "Property", @@ -6557,14 +12151,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 414, + "id": 749, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 416, + "id": 751, "name": "mediaType", "kind": 1024, "kindString": "Property", @@ -6582,7 +12176,7 @@ } }, { - "id": 415, + "id": 750, "name": "uri", "kind": 1024, "kindString": "Property", @@ -6604,7 +12198,10 @@ { "title": "Properties", "kind": 1024, - "children": [416, 415] + "children": [ + 751, + 750 + ] } ] } @@ -6612,7 +12209,7 @@ } }, { - "id": 411, + "id": 746, "name": "tags", "kind": 1024, "kindString": "Property", @@ -6644,7 +12241,7 @@ } }, { - "id": 412, + "id": 747, "name": "updateFrequency", "kind": 1024, "kindString": "Property", @@ -6673,7 +12270,7 @@ } }, { - "id": 404, + "id": 739, "name": "workExample", "kind": 1024, "kindString": "Property", @@ -6706,7 +12303,17 @@ { "title": "Properties", "kind": 1024, - "children": [410, 403, 402, 409, 405, 413, 411, 412, 404] + "children": [ + 745, + 738, + 737, + 744, + 740, + 748, + 746, + 747, + 739 + ] } ], "sources": [ @@ -6718,14 +12325,14 @@ ] }, { - "id": 417, + "id": 752, "name": "Authentication", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 419, + "id": 754, "name": "publicKey", "kind": 1024, "kindString": "Property", @@ -6743,7 +12350,7 @@ } }, { - "id": 418, + "id": 753, "name": "type", "kind": 1024, "kindString": "Property", @@ -6765,7 +12372,10 @@ { "title": "Properties", "kind": 1024, - "children": [419, 418] + "children": [ + 754, + 753 + ] } ], "sources": [ @@ -6777,14 +12387,14 @@ ] }, { - "id": 420, + "id": 755, "name": "BestPrice", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 422, + "id": 757, "name": "address", "kind": 1024, "kindString": "Property", @@ -6802,7 +12412,7 @@ } }, { - "id": 426, + "id": 761, "name": "datatoken", "kind": 1024, "kindString": "Property", @@ -6822,7 +12432,27 @@ } }, { - "id": 424, + "id": 762, + "name": "exchange_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "ddo/interfaces/BestPrice.ts", + "line": 9, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 759, "name": "isConsumable", "kind": 1024, "kindString": "Property", @@ -6855,7 +12485,7 @@ } }, { - "id": 425, + "id": 760, "name": "ocean", "kind": 1024, "kindString": "Property", @@ -6875,7 +12505,7 @@ } }, { - "id": 427, + "id": 763, "name": "pools", "kind": 1024, "kindString": "Property", @@ -6883,7 +12513,7 @@ "sources": [ { "fileName": "ddo/interfaces/BestPrice.ts", - "line": 8, + "line": 10, "character": 7 } ], @@ -6896,7 +12526,7 @@ } }, { - "id": 421, + "id": 756, "name": "type", "kind": 1024, "kindString": "Property", @@ -6927,7 +12557,7 @@ } }, { - "id": 423, + "id": 758, "name": "value", "kind": 1024, "kindString": "Property", @@ -6949,7 +12579,16 @@ { "title": "Properties", "kind": 1024, - "children": [422, 426, 424, 425, 427, 421, 423] + "children": [ + 757, + 761, + 762, + 759, + 760, + 763, + 756, + 758 + ] } ], "sources": [ @@ -6961,14 +12600,14 @@ ] }, { - "id": 316, + "id": 664, "name": "ConfigHelperConfig", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 338, + "id": 690, "name": "authMessage", "kind": 1024, "kindString": "Property", @@ -6982,7 +12621,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 114, + "line": 127, "character": 20 } ], @@ -6992,12 +12631,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 124, + "id": 136, "name": "Config.authMessage" } }, { - "id": 339, + "id": 691, "name": "authTokenExpiration", "kind": 1024, "kindString": "Property", @@ -7011,7 +12650,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 120, + "line": 133, "character": 28 } ], @@ -7021,12 +12660,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 137, "name": "Config.authTokenExpiration" } }, { - "id": 328, + "id": 678, "name": "datatokensABI", "kind": 1024, "kindString": "Property", @@ -7062,12 +12701,100 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 124, "name": "Config.datatokensABI" } }, { - "id": 327, + "id": 685, + "name": "dispenserABI", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isOptional": true + }, + "comment": { + "shortText": "DispenserABI" + }, + "sources": [ + { + "fileName": "models/Config.ts", + "line": 99, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "AbiItem" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "name": "AbiItem" + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 131, + "name": "Config.dispenserABI" + } + }, + { + "id": 684, + "name": "dispenserAddress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isOptional": true + }, + "comment": { + "shortText": "DispenserAddress" + }, + "sources": [ + { + "fileName": "models/Config.ts", + "line": 93, + "character": 25 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 130, + "name": "Config.dispenserAddress" + } + }, + { + "id": 668, + "name": "explorerUri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConfigHelper.ts", + "line": 20, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, "name": "factoryABI", "kind": 1024, "kindString": "Property", @@ -7103,12 +12830,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 113, + "id": 123, "name": "Config.factoryABI" } }, { - "id": 326, + "id": 676, "name": "factoryAddress", "kind": 1024, "kindString": "Property", @@ -7132,12 +12859,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 112, + "id": 122, "name": "Config.factoryAddress" } }, { - "id": 332, + "id": 682, "name": "fixedRateExchangeAddress", "kind": 1024, "kindString": "Property", @@ -7161,12 +12888,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 118, + "id": 128, "name": "Config.fixedRateExchangeAddress" } }, { - "id": 333, + "id": 683, "name": "fixedRateExchangeAddressABI", "kind": 1024, "kindString": "Property", @@ -7202,12 +12929,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 119, + "id": 129, "name": "Config.fixedRateExchangeAddressABI" } }, { - "id": 322, + "id": 672, "name": "metadataCacheUri", "kind": 1024, "kindString": "Property", @@ -7231,12 +12958,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 108, + "id": 118, "name": "Config.metadataCacheUri" } }, { - "id": 335, + "id": 687, "name": "metadataContractABI", "kind": 1024, "kindString": "Property", @@ -7250,7 +12977,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 98, + "line": 111, "character": 28 } ], @@ -7272,12 +12999,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 121, + "id": 133, "name": "Config.metadataContractABI" } }, { - "id": 334, + "id": 686, "name": "metadataContractAddress", "kind": 1024, "kindString": "Property", @@ -7291,7 +13018,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 92, + "line": 105, "character": 32 } ], @@ -7301,12 +13028,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 120, + "id": 132, "name": "Config.metadataContractAddress" } }, { - "id": 318, + "id": 666, "name": "network", "kind": 1024, "kindString": "Property", @@ -7314,7 +13041,7 @@ "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 17, + "line": 18, "character": 9 } ], @@ -7324,7 +13051,7 @@ } }, { - "id": 317, + "id": 665, "name": "networkId", "kind": 1024, "kindString": "Property", @@ -7332,7 +13059,7 @@ "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 16, + "line": 17, "character": 11 } ], @@ -7342,7 +13069,7 @@ } }, { - "id": 320, + "id": 670, "name": "nodeUri", "kind": 1024, "kindString": "Property", @@ -7366,12 +13093,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 106, + "id": 116, "name": "Config.nodeUri" } }, { - "id": 325, + "id": 675, "name": "oceanTokenAddress", "kind": 1024, "kindString": "Property", @@ -7395,12 +13122,30 @@ }, "inheritedFrom": { "type": "reference", - "id": 111, + "id": 121, "name": "Config.oceanTokenAddress" } }, { - "id": 340, + "id": 669, + "name": "oceanTokenSymbol", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConfigHelper.ts", + "line": 21, + "character": 18 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 692, "name": "parityUri", "kind": 1024, "kindString": "Property", @@ -7411,7 +13156,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 123, + "line": 136, "character": 18 } ], @@ -7421,12 +13166,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 126, + "id": 138, "name": "Config.parityUri" } }, { - "id": 331, + "id": 681, "name": "poolABI", "kind": 1024, "kindString": "Property", @@ -7462,12 +13207,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 117, + "id": 127, "name": "Config.poolABI" } }, { - "id": 330, + "id": 680, "name": "poolFactoryABI", "kind": 1024, "kindString": "Property", @@ -7503,12 +13248,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 126, "name": "Config.poolFactoryABI" } }, { - "id": 329, + "id": 679, "name": "poolFactoryAddress", "kind": 1024, "kindString": "Property", @@ -7532,12 +13277,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 115, + "id": 125, "name": "Config.poolFactoryAddress" } }, { - "id": 321, + "id": 671, "name": "providerAddress", "kind": 1024, "kindString": "Property", @@ -7561,12 +13306,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 107, + "id": 117, "name": "Config.providerAddress" } }, { - "id": 323, + "id": 673, "name": "providerUri", "kind": 1024, "kindString": "Property", @@ -7590,12 +13335,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 119, "name": "Config.providerUri" } }, { - "id": 336, + "id": 688, "name": "startBlock", "kind": 1024, "kindString": "Property", @@ -7609,7 +13354,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 103, + "line": 116, "character": 19 } ], @@ -7619,12 +13364,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 134, "name": "Config.startBlock" } }, { - "id": 319, + "id": 667, "name": "subgraphUri", "kind": 1024, "kindString": "Property", @@ -7632,7 +13377,7 @@ "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 18, + "line": 19, "character": 13 } ], @@ -7642,7 +13387,7 @@ } }, { - "id": 341, + "id": 693, "name": "threshold", "kind": 1024, "kindString": "Property", @@ -7653,7 +13398,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 125, + "line": 138, "character": 18 } ], @@ -7663,12 +13408,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 127, + "id": 139, "name": "Config.threshold" } }, { - "id": 337, + "id": 689, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -7682,7 +13427,7 @@ "sources": [ { "fileName": "models/Config.ts", - "line": 108, + "line": 121, "character": 16 } ], @@ -7695,34 +13440,19 @@ }, { "type": "reference", - "name": "None" - }, - { - "type": "reference", - "name": "Error" - }, - { - "type": "reference", - "name": "Warn" - }, - { - "type": "reference", - "name": "Log" - }, - { - "type": "reference", - "name": "Verbose" + "id": 156, + "name": "LogLevel" } ] }, "inheritedFrom": { "type": "reference", - "id": 123, + "id": 135, "name": "Config.verbose" } }, { - "id": 324, + "id": 674, "name": "web3Provider", "kind": 1024, "kindString": "Property", @@ -7746,7 +13476,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 110, + "id": 120, "name": "Config.web3Provider" } } @@ -7756,51 +13486,55 @@ "title": "Properties", "kind": 1024, "children": [ - 338, - 339, - 328, - 327, - 326, - 332, - 333, - 322, - 335, - 334, - 318, - 317, - 320, - 325, - 340, - 331, - 330, - 329, - 321, - 323, - 336, - 319, - 341, - 337, - 324 + 690, + 691, + 678, + 685, + 684, + 668, + 677, + 676, + 682, + 683, + 672, + 687, + 686, + 666, + 665, + 670, + 675, + 669, + 692, + 681, + 680, + 679, + 671, + 673, + 688, + 667, + 693, + 689, + 674 ] } ], "sources": [ { "fileName": "utils/ConfigHelper.ts", - "line": 15, + "line": 16, "character": 35 } ], "extendedTypes": [ { "type": "reference", - "id": 103, + "id": 113, "name": "Config" } ] }, { - "id": 428, + "id": 764, "name": "Curation", "kind": 256, "kindString": "Interface", @@ -7816,7 +13550,7 @@ }, "children": [ { - "id": 432, + "id": 768, "name": "isListed", "kind": 1024, "kindString": "Property", @@ -7845,7 +13579,7 @@ } }, { - "id": 430, + "id": 766, "name": "numVotes", "kind": 1024, "kindString": "Property", @@ -7872,7 +13606,7 @@ } }, { - "id": 429, + "id": 765, "name": "rating", "kind": 1024, "kindString": "Property", @@ -7899,7 +13633,7 @@ } }, { - "id": 431, + "id": 767, "name": "schema", "kind": 1024, "kindString": "Property", @@ -7932,7 +13666,12 @@ { "title": "Properties", "kind": 1024, - "children": [432, 430, 429, 431] + "children": [ + 768, + 766, + 765, + 767 + ] } ], "sources": [ @@ -7944,14 +13683,14 @@ ] }, { - "id": 433, + "id": 769, "name": "EditableMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 434, + "id": 770, "name": "description", "kind": 1024, "kindString": "Property", @@ -7971,7 +13710,7 @@ } }, { - "id": 436, + "id": 772, "name": "links", "kind": 1024, "kindString": "Property", @@ -7989,13 +13728,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 773, "name": "EditableMetadataLinks" } } }, { - "id": 435, + "id": 771, "name": "title", "kind": 1024, "kindString": "Property", @@ -8019,7 +13758,11 @@ { "title": "Properties", "kind": 1024, - "children": [434, 436, 435] + "children": [ + 770, + 772, + 771 + ] } ], "sources": [ @@ -8031,14 +13774,14 @@ ] }, { - "id": 437, + "id": 773, "name": "EditableMetadataLinks", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 438, + "id": 774, "name": "name", "kind": 1024, "kindString": "Property", @@ -8056,7 +13799,7 @@ } }, { - "id": 440, + "id": 776, "name": "type", "kind": 1024, "kindString": "Property", @@ -8074,7 +13817,7 @@ } }, { - "id": 439, + "id": 775, "name": "url", "kind": 1024, "kindString": "Property", @@ -8096,7 +13839,11 @@ { "title": "Properties", "kind": 1024, - "children": [438, 440, 439] + "children": [ + 774, + 776, + 775 + ] } ], "sources": [ @@ -8108,14 +13855,14 @@ ] }, { - "id": 441, + "id": 777, "name": "File", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 447, + "id": 782, "name": "checksum", "kind": 1024, "kindString": "Property", @@ -8128,7 +13875,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 37, + "line": 31, "character": 10 } ], @@ -8138,7 +13885,7 @@ } }, { - "id": 448, + "id": 783, "name": "checksumType", "kind": 1024, "kindString": "Property", @@ -8151,7 +13898,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 43, + "line": 37, "character": 14 } ], @@ -8161,7 +13908,7 @@ } }, { - "id": 452, + "id": 787, "name": "compression", "kind": 1024, "kindString": "Property", @@ -8180,7 +13927,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 69, + "line": 63, "character": 13 } ], @@ -8190,7 +13937,7 @@ } }, { - "id": 449, + "id": 784, "name": "contentLength", "kind": 1024, "kindString": "Property", @@ -8203,7 +13950,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 49, + "line": 43, "character": 15 } ], @@ -8213,7 +13960,7 @@ } }, { - "id": 446, + "id": 781, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -8230,7 +13977,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 31, + "line": 25, "character": 13 } ], @@ -8240,7 +13987,7 @@ } }, { - "id": 451, + "id": 786, "name": "encoding", "kind": 1024, "kindString": "Property", @@ -8259,7 +14006,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 62, + "line": 56, "character": 10 } ], @@ -8269,7 +14016,7 @@ } }, { - "id": 445, + "id": 780, "name": "index", "kind": 1024, "kindString": "Property", @@ -8282,7 +14029,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 24, + "line": 18, "character": 7 } ], @@ -8292,7 +14039,7 @@ } }, { - "id": 442, + "id": 778, "name": "name", "kind": 1024, "kindString": "Property", @@ -8315,7 +14062,7 @@ } }, { - "id": 450, + "id": 785, "name": "resourceId", "kind": 1024, "kindString": "Property", @@ -8328,7 +14075,7 @@ "sources": [ { "fileName": "ddo/interfaces/File.ts", - "line": 55, + "line": 49, "character": 12 } ], @@ -8338,7 +14085,7 @@ } }, { - "id": 443, + "id": 779, "name": "url", "kind": 1024, "kindString": "Property", @@ -8359,36 +14106,24 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 444, - "name": "valid", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Is URL accessible." - }, - "sources": [ - { - "fileName": "ddo/interfaces/File.ts", - "line": 18, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [447, 448, 452, 449, 446, 451, 445, 442, 450, 443, 444] + "children": [ + 782, + 783, + 787, + 784, + 781, + 786, + 780, + 778, + 785, + 779 + ] } ], "sources": [ @@ -8400,14 +14135,14 @@ ] }, { - "id": 453, + "id": 788, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 456, + "id": 791, "name": "additionalInformation", "kind": 1024, "kindString": "Property", @@ -8423,12 +14158,12 @@ ], "type": { "type": "reference", - "id": 401, + "id": 736, "name": "AdditionalInformation" } }, { - "id": 457, + "id": 792, "name": "curation", "kind": 1024, "kindString": "Property", @@ -8444,12 +14179,12 @@ ], "type": { "type": "reference", - "id": 428, + "id": 764, "name": "Curation" } }, { - "id": 455, + "id": 790, "name": "encryptedFiles", "kind": 1024, "kindString": "Property", @@ -8469,7 +14204,7 @@ } }, { - "id": 454, + "id": 789, "name": "main", "kind": 1024, "kindString": "Property", @@ -8483,7 +14218,7 @@ ], "type": { "type": "reference", - "id": 469, + "id": 804, "name": "MetadataMain" } } @@ -8492,7 +14227,12 @@ { "title": "Properties", "kind": 1024, - "children": [456, 457, 455, 454] + "children": [ + 791, + 792, + 790, + 789 + ] } ], "sources": [ @@ -8504,14 +14244,14 @@ ] }, { - "id": 458, + "id": 793, "name": "MetadataAlgorithm", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 464, + "id": 799, "name": "container", "kind": 1024, "kindString": "Property", @@ -8526,14 +14266,14 @@ "type": { "type": "reflection", "declaration": { - "id": 465, + "id": 800, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 801, "name": "entrypoint", "kind": 1024, "kindString": "Property", @@ -8551,7 +14291,7 @@ } }, { - "id": 467, + "id": 802, "name": "image", "kind": 1024, "kindString": "Property", @@ -8569,7 +14309,7 @@ } }, { - "id": 468, + "id": 803, "name": "tag", "kind": 1024, "kindString": "Property", @@ -8591,14 +14331,18 @@ { "title": "Properties", "kind": 1024, - "children": [466, 467, 468] + "children": [ + 801, + 802, + 803 + ] } ] } } }, { - "id": 462, + "id": 797, "name": "format", "kind": 1024, "kindString": "Property", @@ -8618,7 +14362,7 @@ } }, { - "id": 461, + "id": 796, "name": "language", "kind": 1024, "kindString": "Property", @@ -8638,7 +14382,7 @@ } }, { - "id": 460, + "id": 795, "name": "rawcode", "kind": 1024, "kindString": "Property", @@ -8658,7 +14402,7 @@ } }, { - "id": 459, + "id": 794, "name": "url", "kind": 1024, "kindString": "Property", @@ -8678,7 +14422,7 @@ } }, { - "id": 463, + "id": 798, "name": "version", "kind": 1024, "kindString": "Property", @@ -8702,7 +14446,14 @@ { "title": "Properties", "kind": 1024, - "children": [464, 462, 461, 460, 459, 463] + "children": [ + 799, + 797, + 796, + 795, + 794, + 798 + ] } ], "sources": [ @@ -8714,7 +14465,7 @@ ] }, { - "id": 469, + "id": 804, "name": "MetadataMain", "kind": 256, "kindString": "Interface", @@ -8730,7 +14481,7 @@ }, "children": [ { - "id": 477, + "id": 812, "name": "algorithm", "kind": 1024, "kindString": "Property", @@ -8749,12 +14500,12 @@ ], "type": { "type": "reference", - "id": 458, + "id": 793, "name": "MetadataAlgorithm" } }, { - "id": 474, + "id": 809, "name": "author", "kind": 1024, "kindString": "Property", @@ -8781,7 +14532,7 @@ } }, { - "id": 472, + "id": 807, "name": "dateCreated", "kind": 1024, "kindString": "Property", @@ -8808,7 +14559,7 @@ } }, { - "id": 473, + "id": 808, "name": "datePublished", "kind": 1024, "kindString": "Property", @@ -8837,7 +14588,7 @@ } }, { - "id": 476, + "id": 811, "name": "files", "kind": 1024, "kindString": "Property", @@ -8856,13 +14607,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 441, + "id": 777, "name": "File" } } }, { - "id": 475, + "id": 810, "name": "license", "kind": 1024, "kindString": "Property", @@ -8889,7 +14640,7 @@ } }, { - "id": 470, + "id": 805, "name": "name", "kind": 1024, "kindString": "Property", @@ -8916,7 +14667,7 @@ } }, { - "id": 471, + "id": 806, "name": "type", "kind": 1024, "kindString": "Property", @@ -8956,7 +14707,16 @@ { "title": "Properties", "kind": 1024, - "children": [477, 474, 472, 473, 476, 475, 470, 471] + "children": [ + 812, + 809, + 807, + 808, + 811, + 810, + 805, + 806 + ] } ], "sources": [ @@ -8968,14 +14728,14 @@ ] }, { - "id": 6, + "id": 15, "name": "OceanPlatformTech", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 9, + "id": 18, "name": "commit", "kind": 1024, "kindString": "Property", @@ -8995,7 +14755,7 @@ } }, { - "id": 7, + "id": 16, "name": "name", "kind": 1024, "kindString": "Property", @@ -9013,7 +14773,7 @@ } }, { - "id": 10, + "id": 19, "name": "status", "kind": 1024, "kindString": "Property", @@ -9027,12 +14787,12 @@ ], "type": { "type": "reference", - "id": 1, + "id": 10, "name": "OceanPlatformTechStatus" } }, { - "id": 8, + "id": 17, "name": "version", "kind": 1024, "kindString": "Property", @@ -9056,7 +14816,12 @@ { "title": "Properties", "kind": 1024, - "children": [9, 7, 10, 8] + "children": [ + 18, + 16, + 19, + 17 + ] } ], "sources": [ @@ -9068,14 +14833,14 @@ ] }, { - "id": 11, + "id": 20, "name": "OceanPlatformVersions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 12, + "id": 21, "name": "lib", "kind": 1024, "kindString": "Property", @@ -9089,12 +14854,12 @@ ], "type": { "type": "reference", - "id": 6, + "id": 15, "name": "OceanPlatformTech" } }, { - "id": 13, + "id": 22, "name": "metadataCache", "kind": 1024, "kindString": "Property", @@ -9108,12 +14873,12 @@ ], "type": { "type": "reference", - "id": 6, + "id": 15, "name": "OceanPlatformTech" } }, { - "id": 14, + "id": 23, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9127,12 +14892,12 @@ ], "type": { "type": "reference", - "id": 6, + "id": 15, "name": "OceanPlatformTech" } }, { - "id": 15, + "id": 24, "name": "status", "kind": 1024, "kindString": "Property", @@ -9147,14 +14912,14 @@ "type": { "type": "reflection", "declaration": { - "id": 16, + "id": 25, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 17, + "id": 26, "name": "ok", "kind": 1024, "kindString": "Property", @@ -9176,7 +14941,9 @@ { "title": "Properties", "kind": 1024, - "children": [17] + "children": [ + 26 + ] } ] } @@ -9187,7 +14954,12 @@ { "title": "Properties", "kind": 1024, - "children": [12, 13, 14, 15] + "children": [ + 21, + 22, + 23, + 24 + ] } ], "sources": [ @@ -9199,205 +14971,14 @@ ] }, { - "id": 351, - "name": "Order", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 353, - "name": "amount", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 32, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 356, - "name": "consumer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 35, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 358, - "name": "did", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 37, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 352, - "name": "dtAddress", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 31, - "character": 11 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 357, - "name": "payer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 36, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 359, - "name": "serviceId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 38, - "character": 11 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 360, - "name": "serviceType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 39, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 354, - "name": "timestamp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 33, - "character": 11 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 355, - "name": "transactionHash", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 34, - "character": 17 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [353, 356, 358, 352, 357, 359, 360, 354, 355] - } - ], - "sources": [ - { - "fileName": "ocean/Assets.ts", - "line": 30, - "character": 22 - } - ] - }, - { - "id": 478, + "id": 813, "name": "Proof", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 480, + "id": 815, "name": "created", "kind": 1024, "kindString": "Property", @@ -9415,7 +14996,7 @@ } }, { - "id": 481, + "id": 816, "name": "creator", "kind": 1024, "kindString": "Property", @@ -9433,7 +15014,7 @@ } }, { - "id": 482, + "id": 817, "name": "signatureValue", "kind": 1024, "kindString": "Property", @@ -9451,7 +15032,7 @@ } }, { - "id": 479, + "id": 814, "name": "type", "kind": 1024, "kindString": "Property", @@ -9473,7 +15054,12 @@ { "title": "Properties", "kind": 1024, - "children": [480, 481, 482, 479] + "children": [ + 815, + 816, + 817, + 814 + ] } ], "sources": [ @@ -9485,7 +15071,7 @@ ] }, { - "id": 483, + "id": 818, "name": "PublicKey", "kind": 256, "kindString": "Interface", @@ -9495,7 +15081,7 @@ }, "children": [ { - "id": 484, + "id": 819, "name": "id", "kind": 1024, "kindString": "Property", @@ -9522,7 +15108,7 @@ } }, { - "id": 486, + "id": 821, "name": "owner", "kind": 1024, "kindString": "Property", @@ -9549,7 +15135,7 @@ } }, { - "id": 488, + "id": 823, "name": "publicKeyBase58", "kind": 1024, "kindString": "Property", @@ -9569,7 +15155,7 @@ } }, { - "id": 489, + "id": 824, "name": "publicKeyHex", "kind": 1024, "kindString": "Property", @@ -9589,7 +15175,7 @@ } }, { - "id": 487, + "id": 822, "name": "publicKeyPem", "kind": 1024, "kindString": "Property", @@ -9609,7 +15195,7 @@ } }, { - "id": 485, + "id": 820, "name": "type", "kind": 1024, "kindString": "Property", @@ -9651,7 +15237,14 @@ { "title": "Properties", "kind": 1024, - "children": [484, 486, 488, 489, 487, 485] + "children": [ + 819, + 821, + 823, + 824, + 822, + 820 + ] } ], "sources": [ @@ -9663,14 +15256,14 @@ ] }, { - "id": 579, + "id": 919, "name": "PurgatoryData", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 580, + "id": 920, "name": "did", "kind": 1024, "kindString": "Property", @@ -9688,7 +15281,7 @@ } }, { - "id": 581, + "id": 921, "name": "reason", "kind": 1024, "kindString": "Property", @@ -9710,7 +15303,10 @@ { "title": "Properties", "kind": 1024, - "children": [580, 581] + "children": [ + 920, + 921 + ] } ], "sources": [ @@ -9722,14 +15318,14 @@ ] }, { - "id": 564, + "id": 904, "name": "ServiceAccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 566, + "id": 906, "name": "attributes", "kind": 1024, "kindString": "Property", @@ -9737,23 +15333,23 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 77, + "line": 85, "character": 12 } ], "type": { "type": "reference", - "id": 505, + "id": 840, "name": "ServiceAccessAttributes" }, "overwrites": { "type": "reference", - "id": 504, + "id": 839, "name": "ServiceCommon.attributes" } }, { - "id": 567, + "id": 907, "name": "index", "kind": 1024, "kindString": "Property", @@ -9771,12 +15367,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 502, + "id": 837, "name": "ServiceCommon.index" } }, { - "id": 568, + "id": 908, "name": "serviceEndpoint", "kind": 1024, "kindString": "Property", @@ -9796,12 +15392,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 838, "name": "ServiceCommon.serviceEndpoint" } }, { - "id": 565, + "id": 905, "name": "type", "kind": 1024, "kindString": "Property", @@ -9809,7 +15405,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 76, + "line": 84, "character": 6 } ], @@ -9819,7 +15415,7 @@ }, "overwrites": { "type": "reference", - "id": 501, + "id": 836, "name": "ServiceCommon.type" } } @@ -9828,33 +15424,38 @@ { "title": "Properties", "kind": 1024, - "children": [566, 567, 568, 565] + "children": [ + 906, + 907, + 908, + 905 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 75, + "line": 83, "character": 30 } ], "extendedTypes": [ { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" } ] }, { - "id": 505, + "id": 840, "name": "ServiceAccessAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 513, + "id": 848, "name": "additionalInformation", "kind": 1024, "kindString": "Property", @@ -9871,20 +15472,20 @@ "type": { "type": "reflection", "declaration": { - "id": 514, + "id": 849, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 515, + "id": 850, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 516, + "id": 851, "name": "key", "kind": 32768, "flags": {}, @@ -9903,12 +15504,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 496, + "id": 831, "name": "ServiceCommonAttributes.additionalInformation" } }, { - "id": 506, + "id": 841, "name": "main", "kind": 1024, "kindString": "Property", @@ -9923,14 +15524,14 @@ "type": { "type": "reflection", "declaration": { - "id": 507, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 511, + "id": 846, "name": "cost", "kind": 1024, "kindString": "Property", @@ -9948,7 +15549,7 @@ } }, { - "id": 508, + "id": 843, "name": "creator", "kind": 1024, "kindString": "Property", @@ -9966,7 +15567,7 @@ } }, { - "id": 510, + "id": 845, "name": "datePublished", "kind": 1024, "kindString": "Property", @@ -9984,7 +15585,7 @@ } }, { - "id": 509, + "id": 844, "name": "name", "kind": 1024, "kindString": "Property", @@ -10002,7 +15603,7 @@ } }, { - "id": 512, + "id": 847, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -10024,14 +15625,20 @@ { "title": "Properties", "kind": 1024, - "children": [511, 508, 510, 509, 512] + "children": [ + 846, + 843, + 845, + 844, + 847 + ] } ] } }, "overwrites": { "type": "reference", - "id": 492, + "id": 827, "name": "ServiceCommonAttributes.main" } } @@ -10040,7 +15647,10 @@ { "title": "Properties", "kind": 1024, - "children": [513, 506] + "children": [ + 848, + 841 + ] } ], "sources": [ @@ -10053,20 +15663,20 @@ "extendedTypes": [ { "type": "reference", - "id": 491, + "id": 826, "name": "ServiceCommonAttributes" } ] }, { - "id": 500, + "id": 835, "name": "ServiceCommon", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 504, + "id": 839, "name": "attributes", "kind": 1024, "kindString": "Property", @@ -10080,12 +15690,12 @@ ], "type": { "type": "reference", - "id": 491, + "id": 826, "name": "ServiceCommonAttributes" } }, { - "id": 502, + "id": 837, "name": "index", "kind": 1024, "kindString": "Property", @@ -10103,7 +15713,7 @@ } }, { - "id": 503, + "id": 838, "name": "serviceEndpoint", "kind": 1024, "kindString": "Property", @@ -10123,7 +15733,7 @@ } }, { - "id": 501, + "id": 836, "name": "type", "kind": 1024, "kindString": "Property", @@ -10137,7 +15747,7 @@ ], "type": { "type": "reference", - "id": 490, + "id": 825, "name": "ServiceType" } } @@ -10146,7 +15756,12 @@ { "title": "Properties", "kind": 1024, - "children": [504, 502, 503, 501] + "children": [ + 839, + 837, + 838, + 836 + ] } ], "sources": [ @@ -10159,30 +15774,30 @@ "extendedBy": [ { "type": "reference", - "id": 559, + "id": 899, "name": "ServiceMetadata" }, { "type": "reference", - "id": 564, + "id": 904, "name": "ServiceAccess" }, { "type": "reference", - "id": 569, + "id": 909, "name": "ServiceCompute" } ] }, { - "id": 491, + "id": 826, "name": "ServiceCommonAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 496, + "id": 831, "name": "additionalInformation", "kind": 1024, "kindString": "Property", @@ -10199,20 +15814,20 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 498, + "id": 833, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 499, + "id": 834, "name": "key", "kind": 32768, "flags": {}, @@ -10231,7 +15846,7 @@ } }, { - "id": 492, + "id": 827, "name": "main", "kind": 1024, "kindString": "Property", @@ -10246,20 +15861,20 @@ "type": { "type": "reflection", "declaration": { - "id": 493, + "id": 828, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 494, + "id": 829, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 495, + "id": 830, "name": "key", "kind": 32768, "flags": {}, @@ -10282,7 +15897,10 @@ { "title": "Properties", "kind": 1024, - "children": [496, 492] + "children": [ + 831, + 827 + ] } ], "sources": [ @@ -10295,25 +15913,25 @@ "extendedBy": [ { "type": "reference", - "id": 505, + "id": 840, "name": "ServiceAccessAttributes" }, { "type": "reference", - "id": 545, + "id": 885, "name": "ServiceComputeAttributes" } ] }, { - "id": 569, + "id": 909, "name": "ServiceCompute", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 571, + "id": 911, "name": "attributes", "kind": 1024, "kindString": "Property", @@ -10321,23 +15939,23 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 82, + "line": 90, "character": 12 } ], "type": { "type": "reference", - "id": 545, + "id": 885, "name": "ServiceComputeAttributes" }, "overwrites": { "type": "reference", - "id": 504, + "id": 839, "name": "ServiceCommon.attributes" } }, { - "id": 572, + "id": 912, "name": "index", "kind": 1024, "kindString": "Property", @@ -10355,12 +15973,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 502, + "id": 837, "name": "ServiceCommon.index" } }, { - "id": 573, + "id": 913, "name": "serviceEndpoint", "kind": 1024, "kindString": "Property", @@ -10380,12 +15998,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 838, "name": "ServiceCommon.serviceEndpoint" } }, { - "id": 570, + "id": 910, "name": "type", "kind": 1024, "kindString": "Property", @@ -10393,7 +16011,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 81, + "line": 89, "character": 6 } ], @@ -10403,7 +16021,7 @@ }, "overwrites": { "type": "reference", - "id": 501, + "id": 836, "name": "ServiceCommon.type" } } @@ -10412,33 +16030,38 @@ { "title": "Properties", "kind": 1024, - "children": [571, 572, 573, 570] + "children": [ + 911, + 912, + 913, + 910 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 80, + "line": 88, "character": 31 } ], "extendedTypes": [ { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" } ] }, { - "id": 545, + "id": 885, "name": "ServiceComputeAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 555, + "id": 895, "name": "additionalInformation", "kind": 1024, "kindString": "Property", @@ -10455,20 +16078,20 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 896, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 557, + "id": 897, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 558, + "id": 898, "name": "key", "kind": 32768, "flags": {}, @@ -10487,12 +16110,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 496, + "id": 831, "name": "ServiceCommonAttributes.additionalInformation" } }, { - "id": 546, + "id": 886, "name": "main", "kind": 1024, "kindString": "Property", @@ -10500,21 +16123,21 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 59, + "line": 67, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 547, + "id": 887, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 550, + "id": 890, "name": "cost", "kind": 1024, "kindString": "Property", @@ -10522,7 +16145,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 62, + "line": 70, "character": 8 } ], @@ -10532,7 +16155,7 @@ } }, { - "id": 548, + "id": 888, "name": "creator", "kind": 1024, "kindString": "Property", @@ -10540,7 +16163,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 60, + "line": 68, "character": 11 } ], @@ -10550,7 +16173,7 @@ } }, { - "id": 549, + "id": 889, "name": "datePublished", "kind": 1024, "kindString": "Property", @@ -10558,7 +16181,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 61, + "line": 69, "character": 17 } ], @@ -10568,7 +16191,7 @@ } }, { - "id": 553, + "id": 893, "name": "name", "kind": 1024, "kindString": "Property", @@ -10576,7 +16199,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 65, + "line": 73, "character": 8 } ], @@ -10586,7 +16209,7 @@ } }, { - "id": 554, + "id": 894, "name": "privacy", "kind": 1024, "kindString": "Property", @@ -10596,18 +16219,18 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 66, + "line": 74, "character": 11 } ], "type": { "type": "reference", - "id": 517, + "id": 856, "name": "ServiceComputePrivacy" } }, { - "id": 552, + "id": 892, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10617,18 +16240,18 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 64, + "line": 72, "character": 12 } ], "type": { "type": "reference", - "id": 521, + "id": 861, "name": "ServiceComputeProvider" } }, { - "id": 551, + "id": 891, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -10636,7 +16259,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 63, + "line": 71, "character": 11 } ], @@ -10650,14 +16273,22 @@ { "title": "Properties", "kind": 1024, - "children": [550, 548, 549, 553, 554, 552, 551] + "children": [ + 890, + 888, + 889, + 893, + 894, + 892, + 891 + ] } ] } }, "overwrites": { "type": "reference", - "id": 492, + "id": 827, "name": "ServiceCommonAttributes.main" } } @@ -10666,33 +16297,54 @@ { "title": "Properties", "kind": 1024, - "children": [555, 546] + "children": [ + 895, + 886 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 58, + "line": 66, "character": 41 } ], "extendedTypes": [ { "type": "reference", - "id": 491, + "id": 826, "name": "ServiceCommonAttributes" } ] }, { - "id": 517, + "id": 856, "name": "ServiceComputePrivacy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 519, + "id": 859, + "name": "allowAllPublishedAlgorithms", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 36, + "character": 29 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 858, "name": "allowNetworkAccess", "kind": 1024, "kindString": "Property", @@ -10700,7 +16352,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 28, + "line": 35, "character": 20 } ], @@ -10710,7 +16362,7 @@ } }, { - "id": 518, + "id": 857, "name": "allowRawAlgorithm", "kind": 1024, "kindString": "Property", @@ -10718,7 +16370,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 27, + "line": 34, "character": 19 } ], @@ -10728,23 +16380,26 @@ } }, { - "id": 520, - "name": "trustedAlgorithms", + "id": 860, + "name": "publisherTrustedAlgorithms", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 29, - "character": 19 + "line": 37, + "character": 28 } ], "type": { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "id": 852, + "name": "publisherTrustedAlgorithm" } } } @@ -10753,26 +16408,31 @@ { "title": "Properties", "kind": 1024, - "children": [519, 518, 520] + "children": [ + 859, + 858, + 857, + 860 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 26, + "line": 33, "character": 38 } ] }, { - "id": 521, + "id": 861, "name": "ServiceComputeProvider", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 523, + "id": 863, "name": "description", "kind": 1024, "kindString": "Property", @@ -10780,7 +16440,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 34, + "line": 42, "character": 13 } ], @@ -10790,7 +16450,7 @@ } }, { - "id": 524, + "id": 864, "name": "environment", "kind": 1024, "kindString": "Property", @@ -10798,21 +16458,21 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 35, + "line": 43, "character": 13 } ], "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 865, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 866, "name": "cluster", "kind": 1024, "kindString": "Property", @@ -10820,21 +16480,21 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 36, + "line": 44, "character": 11 } ], "type": { "type": "reflection", "declaration": { - "id": 527, + "id": 867, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 528, + "id": 868, "name": "type", "kind": 1024, "kindString": "Property", @@ -10842,7 +16502,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 37, + "line": 45, "character": 10 } ], @@ -10852,7 +16512,7 @@ } }, { - "id": 529, + "id": 869, "name": "url", "kind": 1024, "kindString": "Property", @@ -10860,7 +16520,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 38, + "line": 46, "character": 9 } ], @@ -10874,14 +16534,17 @@ { "title": "Properties", "kind": 1024, - "children": [528, 529] + "children": [ + 868, + 869 + ] } ] } } }, { - "id": 530, + "id": 870, "name": "supportedContainers", "kind": 1024, "kindString": "Property", @@ -10889,7 +16552,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 40, + "line": 48, "character": 23 } ], @@ -10898,14 +16561,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 531, + "id": 871, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 874, "name": "checksum", "kind": 1024, "kindString": "Property", @@ -10913,7 +16576,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 43, + "line": 51, "character": 14 } ], @@ -10923,7 +16586,7 @@ } }, { - "id": 532, + "id": 872, "name": "image", "kind": 1024, "kindString": "Property", @@ -10931,7 +16594,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 41, + "line": 49, "character": 11 } ], @@ -10941,119 +16604,11 @@ } }, { - "id": 533, + "id": 873, "name": "tag", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "ddo/interfaces/Service.ts", - "line": 42, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [534, 532, 533] - } - ] - } - } - } - }, - { - "id": 535, - "name": "supportedServers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ddo/interfaces/Service.ts", - "line": 45, - "character": 20 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 536, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 539, - "name": "cost", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ddo/interfaces/Service.ts", - "line": 48, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 540, - "name": "cpu", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ddo/interfaces/Service.ts", - "line": 49, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 543, - "name": "disk", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "ddo/interfaces/Service.ts", - "line": 52, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 541, - "name": "gpu", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "ddo/interfaces/Service.ts", @@ -11065,9 +16620,121 @@ "type": "intrinsic", "name": "string" } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 874, + 872, + 873 + ] + } + ] + } + } + } + }, + { + "id": 875, + "name": "supportedServers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 53, + "character": 20 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 876, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 879, + "name": "cost", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 56, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 544, + "id": 880, + "name": "cpu", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 57, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 883, + "name": "disk", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 60, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, + "name": "gpu", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 58, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 884, "name": "maxExecutionTime", "kind": 1024, "kindString": "Property", @@ -11075,7 +16742,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 53, + "line": 61, "character": 22 } ], @@ -11085,7 +16752,7 @@ } }, { - "id": 542, + "id": 882, "name": "memory", "kind": 1024, "kindString": "Property", @@ -11093,7 +16760,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 51, + "line": 59, "character": 12 } ], @@ -11103,7 +16770,7 @@ } }, { - "id": 537, + "id": 877, "name": "serverId", "kind": 1024, "kindString": "Property", @@ -11111,7 +16778,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 46, + "line": 54, "character": 14 } ], @@ -11121,7 +16788,7 @@ } }, { - "id": 538, + "id": 878, "name": "serverType", "kind": 1024, "kindString": "Property", @@ -11129,7 +16796,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 47, + "line": 55, "character": 16 } ], @@ -11143,7 +16810,16 @@ { "title": "Properties", "kind": 1024, - "children": [539, 540, 543, 541, 544, 542, 537, 538] + "children": [ + 879, + 880, + 883, + 881, + 884, + 882, + 877, + 878 + ] } ] } @@ -11155,14 +16831,18 @@ { "title": "Properties", "kind": 1024, - "children": [526, 530, 535] + "children": [ + 866, + 870, + 875 + ] } ] } } }, { - "id": 522, + "id": 862, "name": "type", "kind": 1024, "kindString": "Property", @@ -11170,7 +16850,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 33, + "line": 41, "character": 6 } ], @@ -11184,26 +16864,30 @@ { "title": "Properties", "kind": 1024, - "children": [523, 524, 522] + "children": [ + 863, + 864, + 862 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 32, + "line": 40, "character": 39 } ] }, { - "id": 559, + "id": 899, "name": "ServiceMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 561, + "id": 901, "name": "attributes", "kind": 1024, "kindString": "Property", @@ -11211,23 +16895,23 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 72, + "line": 80, "character": 12 } ], "type": { "type": "reference", - "id": 453, + "id": 788, "name": "Metadata" }, "overwrites": { "type": "reference", - "id": 504, + "id": 839, "name": "ServiceCommon.attributes" } }, { - "id": 562, + "id": 902, "name": "index", "kind": 1024, "kindString": "Property", @@ -11245,12 +16929,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 502, + "id": 837, "name": "ServiceCommon.index" } }, { - "id": 563, + "id": 903, "name": "serviceEndpoint", "kind": 1024, "kindString": "Property", @@ -11270,12 +16954,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 838, "name": "ServiceCommon.serviceEndpoint" } }, { - "id": 560, + "id": 900, "name": "type", "kind": 1024, "kindString": "Property", @@ -11283,7 +16967,7 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 71, + "line": 79, "character": 6 } ], @@ -11293,7 +16977,7 @@ }, "overwrites": { "type": "reference", - "id": 501, + "id": 836, "name": "ServiceCommon.type" } } @@ -11302,33 +16986,38 @@ { "title": "Properties", "kind": 1024, - "children": [561, 562, 563, 560] + "children": [ + 901, + 902, + 903, + 900 + ] } ], "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 70, + "line": 78, "character": 32 } ], "extendedTypes": [ { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" } ] }, { - "id": 576, + "id": 916, "name": "ServicePrices", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 578, + "id": 918, "name": "cost", "kind": 1024, "kindString": "Property", @@ -11346,7 +17035,7 @@ } }, { - "id": 577, + "id": 917, "name": "serviceIndex", "kind": 1024, "kindString": "Property", @@ -11368,7 +17057,10 @@ { "title": "Properties", "kind": 1024, - "children": [578, 577] + "children": [ + 918, + 917 + ] } ], "sources": [ @@ -11380,7 +17072,154 @@ ] }, { - "id": 574, + "id": 852, + "name": "publisherTrustedAlgorithm", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 855, + "name": "containerSectionChecksum", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 30, + "character": 26 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 853, + "name": "did", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 28, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 854, + "name": "filesChecksum", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 29, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 855, + 853, + 854 + ] + } + ], + "sources": [ + { + "fileName": "ddo/interfaces/Service.ts", + "line": 27, + "character": 42 + } + ] + }, + { + "id": 694, + "name": "ConfigHelperNetworkId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConfigHelper.ts", + "line": 14, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 4 + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 695, + "name": "ConfigHelperNetworkName", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "utils/ConfigHelper.ts", + "line": 8, + "character": 43 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "mainnet" + }, + { + "type": "literal", + "value": "rinkeby" + }, + { + "type": "literal", + "value": "development" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 914, "name": "Service", "kind": 4194304, "kindString": "Type alias", @@ -11388,13 +17227,13 @@ "sources": [ { "fileName": "ddo/interfaces/Service.ts", - "line": 85, + "line": 93, "character": 19 } ], "typeParameter": [ { - "id": 575, + "id": 915, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11404,7 +17243,7 @@ "types": [ { "type": "reference", - "id": 490, + "id": 825, "name": "ServiceType" }, { @@ -11431,7 +17270,7 @@ }, "trueType": { "type": "reference", - "id": 559, + "id": 899, "name": "ServiceMetadata" }, "falseType": { @@ -11446,7 +17285,7 @@ }, "trueType": { "type": "reference", - "id": 564, + "id": 904, "name": "ServiceAccess" }, "falseType": { @@ -11461,7 +17300,7 @@ }, "trueType": { "type": "reference", - "id": 569, + "id": 909, "name": "ServiceCompute" }, "falseType": { @@ -11476,12 +17315,12 @@ }, "trueType": { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" }, "falseType": { "type": "reference", - "id": 500, + "id": 835, "name": "ServiceCommon" } } @@ -11490,7 +17329,7 @@ } }, { - "id": 490, + "id": 825, "name": "ServiceType", "kind": 4194304, "kindString": "Type alias", @@ -11525,7 +17364,7 @@ } }, { - "id": 143, + "id": 155, "name": "Logger", "kind": 32, "kindString": "Variable", @@ -11541,6 +17380,7 @@ ], "type": { "type": "reference", + "id": 483, "name": "Logger" }, "defaultValue": "..." @@ -11550,67 +17390,91 @@ { "title": "Namespaces", "kind": 2, - "children": [305] + "children": [ + 470 + ] }, { "title": "Enumerations", "kind": 4, - "children": [342, 1, 349] + "children": [ + 1, + 156, + 10, + 8 + ] }, { "title": "Classes", "kind": 128, - "children": [55, 103, 306, 361, 128, 195, 144, 18] + "children": [ + 65, + 113, + 654, + 696, + 140, + 345, + 291, + 27, + 162 + ] }, { "title": "Interfaces", "kind": 256, "children": [ - 401, - 417, - 420, - 316, - 428, - 433, - 437, - 441, - 453, - 458, - 469, - 6, - 11, - 351, - 478, - 483, - 579, - 564, - 505, - 500, - 491, - 569, - 545, - 517, - 521, - 559, - 576 + 736, + 752, + 755, + 664, + 764, + 769, + 773, + 777, + 788, + 793, + 804, + 15, + 20, + 813, + 818, + 919, + 904, + 840, + 835, + 826, + 909, + 885, + 856, + 861, + 899, + 916, + 852 ] }, { "title": "Type aliases", "kind": 4194304, - "children": [574, 490] + "children": [ + 694, + 695, + 914, + 825 + ] }, { "title": "Variables", "kind": 32, - "children": [143] + "children": [ + 155 + ] } ], "sources": [ { - "fileName": "index.ts", + "fileName": "lib.ts", "line": 1, "character": 0 } ] -} +} \ No newline at end of file