mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
21927 lines
455 KiB
JSON
21927 lines
455 KiB
JSON
{
|
|
"info": {
|
|
"description": "JavaScript client library for Ocean Protocol.",
|
|
"title": "Squid-js API reference",
|
|
"version": "0.2.7",
|
|
"sourceUrl": "https://github.com/oceanprotocol/squid-js/tree/develop/src/"
|
|
},
|
|
"id": 0,
|
|
"name": "@oceanprotocol/squid",
|
|
"kind": 0,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 13,
|
|
"name": "\"ConfigProvider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ConfigProvider.ts",
|
|
"children": [
|
|
{
|
|
"id": 14,
|
|
"name": "ConfigProvider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Stores the configuration of the library."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 20,
|
|
"name": "config",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Library config.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Config}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ConfigProvider.ts",
|
|
"line": 26,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 15,
|
|
"name": "getConfig",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 16,
|
|
"name": "getConfig",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"returns": "Library config.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ConfigProvider.ts",
|
|
"line": 11,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 17,
|
|
"name": "setConfig",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 18,
|
|
"name": "setConfig",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {},
|
|
"parameters": [
|
|
{
|
|
"id": 19,
|
|
"name": "config",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ConfigProvider.ts",
|
|
"line": 18,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
20
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
15,
|
|
17
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ConfigProvider.ts",
|
|
"line": 6,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
14
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ConfigProvider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 225,
|
|
"name": "\"aquarius/Aquarius\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/aquarius/Aquarius.ts",
|
|
"children": [
|
|
{
|
|
"id": 226,
|
|
"name": "Aquarius",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Provides a interface with Aquarius.\nAquarius provides an off-chain database store for metadata about data assets."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 228,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 229,
|
|
"name": "new Aquarius",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 230,
|
|
"name": "config",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Aquarius",
|
|
"id": 226
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 16,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 227,
|
|
"name": "url",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 16,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 231,
|
|
"name": "getAccessUrl",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 232,
|
|
"name": "getAccessUrl",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 233,
|
|
"name": "accessToken",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 234,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 22,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 247,
|
|
"name": "getServiceEndpoint",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 248,
|
|
"name": "getServiceEndpoint",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 249,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 159,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 235,
|
|
"name": "queryMetadata",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 236,
|
|
"name": "queryMetadata",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Search over the DDOs using a query.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 237,
|
|
"name": "query",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Query to filter the DDOs."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SearchQuery",
|
|
"id": 219
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 49,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 238,
|
|
"name": "queryMetadataByText",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 239,
|
|
"name": "queryMetadataByText",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Search over the DDOs using a query.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 240,
|
|
"name": "query",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Query to filter the DDOs."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SearchQuery",
|
|
"id": 219
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 77,
|
|
"character": 36
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 244,
|
|
"name": "retrieveDDO",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 245,
|
|
"name": "retrieveDDO",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Retrieves a DDO by DID.",
|
|
"returns": "DDO of the asset.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 246,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "DID of the asset."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 137,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 241,
|
|
"name": "storeDDO",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 242,
|
|
"name": "storeDDO",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Stores a DDO in Aquarius.",
|
|
"returns": "Final DDO.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 243,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "DDO to be stored."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 110,
|
|
"character": 25
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
228
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
227
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
231,
|
|
247,
|
|
235,
|
|
238,
|
|
244,
|
|
241
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 15,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 250,
|
|
"name": "apiPath",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 9,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "stringLiteral",
|
|
"value": "/api/v1/aquarius/assets/ddo"
|
|
},
|
|
"defaultValue": "\"/api/v1/aquarius/assets/ddo\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
226
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
250
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/Aquarius.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 251,
|
|
"name": "\"aquarius/AquariusProvider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/aquarius/AquariusProvider.ts",
|
|
"children": [
|
|
{
|
|
"id": 252,
|
|
"name": "AquariusProvider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Provides the Aquarius instance."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 258,
|
|
"name": "aquarius",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Aquarius instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Aquarius}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/AquariusProvider.ts",
|
|
"line": 32,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Aquarius",
|
|
"id": 226
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 256,
|
|
"name": "getAquarius",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 257,
|
|
"name": "getAquarius",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns Acuarius instance. It creates a new one if it's not defined.",
|
|
"returns": "Aquarius instance.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Aquarius",
|
|
"id": 226
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/AquariusProvider.ts",
|
|
"line": 21,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 253,
|
|
"name": "setAquarius",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 254,
|
|
"name": "setAquarius",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Set an Aquarius instance."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 255,
|
|
"name": "aquarius",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "New Aquarius instance.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Aquarius",
|
|
"id": 226
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/AquariusProvider.ts",
|
|
"line": 13,
|
|
"character": 29
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
258
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
256,
|
|
253
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/AquariusProvider.ts",
|
|
"line": 7,
|
|
"character": 37
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
252
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/AquariusProvider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 212,
|
|
"name": "\"aquarius/query/Query\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/aquarius/query/Query.ts",
|
|
"children": [
|
|
{
|
|
"id": 213,
|
|
"name": "Query",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 214,
|
|
"name": "value",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Query.ts",
|
|
"line": 2,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "1"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
214
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Query.ts",
|
|
"line": 1,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
213
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Query.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 218,
|
|
"name": "\"aquarius/query/SearchQuery\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/aquarius/query/SearchQuery.ts",
|
|
"children": [
|
|
{
|
|
"id": 219,
|
|
"name": "SearchQuery",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 220,
|
|
"name": "offset",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 5,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "100"
|
|
},
|
|
{
|
|
"id": 221,
|
|
"name": "page",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 6,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0"
|
|
},
|
|
{
|
|
"id": 222,
|
|
"name": "query",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 7,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Query",
|
|
"id": 213
|
|
},
|
|
"defaultValue": " {\n value: 1,\n } as Query"
|
|
},
|
|
{
|
|
"id": 223,
|
|
"name": "sort",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 10,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Sort",
|
|
"id": 216
|
|
},
|
|
"defaultValue": " {\n value: 1,\n } as Sort"
|
|
},
|
|
{
|
|
"id": 224,
|
|
"name": "text",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 13,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Office\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
220,
|
|
221,
|
|
222,
|
|
223,
|
|
224
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 4,
|
|
"character": 32
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
219
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/SearchQuery.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 215,
|
|
"name": "\"aquarius/query/Sort\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/aquarius/query/Sort.ts",
|
|
"children": [
|
|
{
|
|
"id": 216,
|
|
"name": "Sort",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 217,
|
|
"name": "value",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Sort.ts",
|
|
"line": 2,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "1"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
217
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Sort.ts",
|
|
"line": 1,
|
|
"character": 25
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
216
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "aquarius/query/Sort.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 259,
|
|
"name": "\"brizo/Brizo\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/brizo/Brizo.ts",
|
|
"children": [
|
|
{
|
|
"id": 260,
|
|
"name": "Brizo",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Provides a interface with Brizo.\nBrizo is the technical component executed by the Publishers allowing to them to provide extended data services."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 262,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 263,
|
|
"name": "new Brizo",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 264,
|
|
"name": "config",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Brizo",
|
|
"id": 260
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 11,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 261,
|
|
"name": "url",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 11,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 269,
|
|
"name": "getComputeEndpoint",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 270,
|
|
"name": "getComputeEndpoint",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 271,
|
|
"name": "pubKey",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 272,
|
|
"name": "serviceId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 273,
|
|
"name": "algo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 274,
|
|
"name": "container",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 25,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 267,
|
|
"name": "getConsumeEndpoint",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 268,
|
|
"name": "getConsumeEndpoint",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 21,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 265,
|
|
"name": "getPurchaseEndpoint",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 266,
|
|
"name": "getPurchaseEndpoint",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 17,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 275,
|
|
"name": "initializeServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 276,
|
|
"name": "initializeServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 277,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 278,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 279,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 280,
|
|
"name": "signature",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 281,
|
|
"name": "consumerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 30,
|
|
"character": 43
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
262
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
261
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
269,
|
|
267,
|
|
265,
|
|
275
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 10,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 282,
|
|
"name": "apiPath",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 4,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "stringLiteral",
|
|
"value": "/api/v1/brizo/services"
|
|
},
|
|
"defaultValue": "\"/api/v1/brizo/services\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
260
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
282
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/Brizo.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 283,
|
|
"name": "\"brizo/BrizoProvider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/brizo/BrizoProvider.ts",
|
|
"children": [
|
|
{
|
|
"id": 284,
|
|
"name": "BrizoProvider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Provides the Brizo instance."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 290,
|
|
"name": "brizo",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Brizo instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Brizo}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/BrizoProvider.ts",
|
|
"line": 32,
|
|
"character": 24
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Brizo",
|
|
"id": 260
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 288,
|
|
"name": "getBrizo",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 289,
|
|
"name": "getBrizo",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns Acuarius instance. It creates a new one if it's not defined.",
|
|
"returns": "brizo instance.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Brizo",
|
|
"id": 260
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/BrizoProvider.ts",
|
|
"line": 21,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 285,
|
|
"name": "setBrizo",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 286,
|
|
"name": "setBrizo",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Set an Brizo instance."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 287,
|
|
"name": "brizo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "New Brizo instance.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Brizo",
|
|
"id": 260
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/BrizoProvider.ts",
|
|
"line": 13,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
290
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
288,
|
|
285
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/BrizoProvider.ts",
|
|
"line": 7,
|
|
"character": 34
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
284
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "brizo/BrizoProvider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 71,
|
|
"name": "\"ddo/AdditionalInformation\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/AdditionalInformation.ts",
|
|
"children": [
|
|
{
|
|
"id": 72,
|
|
"name": "AdditionalInformation",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Additional Information of Assets Metadata.",
|
|
"tags": [
|
|
{
|
|
"tag": "see",
|
|
"text": "https://github.com/oceanprotocol/OEPs/tree/master/8#additional-information\n"
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 75,
|
|
"name": "checksum",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Checksum of attributes to be able to compare if there are changes in\nthe asset that you are purchasing.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/AdditionalInformation.ts",
|
|
"line": 38,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 74,
|
|
"name": "structuredMarkup",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "A link to machine-readable structured markup (such as ttl/json-ld/rdf)\ndescribing the dataset.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{StructuredMarkup[]}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/AdditionalInformation.ts",
|
|
"line": 22,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "StructuredMarkup",
|
|
"id": 68
|
|
}
|
|
},
|
|
"defaultValue": " [\n {\n uri: \"http://skos.um.es/unescothes/C01194/jsonld\",\n mediaType: \"application/ld+json\",\n } as StructuredMarkup,\n {\n uri: \"http://skos.um.es/unescothes/C01194/turtle\",\n mediaType: \"text/turtle\",\n } as StructuredMarkup,\n ]"
|
|
},
|
|
{
|
|
"id": 73,
|
|
"name": "updateFrecuency",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "An indication of update latency - i.e. How often are updates expected (seldom,\nannually, quarterly, etc.), or is the resource static that is never expected\nto get updated.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"yearly\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/AdditionalInformation.ts",
|
|
"line": 15,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"yearly\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
75,
|
|
74,
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/AdditionalInformation.ts",
|
|
"line": 7,
|
|
"character": 42
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
72
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/AdditionalInformation.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"name": "\"ddo/Authentication\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Authentication.ts",
|
|
"children": [
|
|
{
|
|
"id": 22,
|
|
"name": "Authentication",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 24,
|
|
"name": "publicKey",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Authentication.ts",
|
|
"line": 3,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"did:op:123456789abcdefghi#keys-1\""
|
|
},
|
|
{
|
|
"id": 23,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Authentication.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"RsaSignatureAuthentication2018\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
24,
|
|
23
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Authentication.ts",
|
|
"line": 1,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
22
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Authentication.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 51,
|
|
"name": "\"ddo/Condition\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Condition.ts",
|
|
"children": [
|
|
{
|
|
"id": 52,
|
|
"name": "Condition",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 57,
|
|
"name": "conditionKey",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 10,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x12122434\""
|
|
},
|
|
{
|
|
"id": 54,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 7,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"AccessCondition\""
|
|
},
|
|
{
|
|
"id": 60,
|
|
"name": "dependencies",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 13,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Dependency",
|
|
"id": 33
|
|
}
|
|
},
|
|
"defaultValue": " []"
|
|
},
|
|
{
|
|
"id": 59,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 12,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 55,
|
|
"name": "functionName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 8,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"lockPayment\""
|
|
},
|
|
{
|
|
"id": 61,
|
|
"name": "isTerminalCondition",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 14,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
},
|
|
{
|
|
"id": 53,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 6,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 58,
|
|
"name": "parameters",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 11,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Parameter",
|
|
"id": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 56,
|
|
"name": "timeout",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 9,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
57,
|
|
54,
|
|
60,
|
|
59,
|
|
55,
|
|
61,
|
|
53,
|
|
58,
|
|
56
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 5,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
52
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Condition.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 62,
|
|
"name": "\"ddo/Contract\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Contract.ts",
|
|
"children": [
|
|
{
|
|
"id": 63,
|
|
"name": "Contract",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 64,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Contract.ts",
|
|
"line": 4,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 66,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Contract.ts",
|
|
"line": 6,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 65,
|
|
"name": "fulfillmentOperator",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Contract.ts",
|
|
"line": 5,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
64,
|
|
66,
|
|
65
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Contract.ts",
|
|
"line": 3,
|
|
"character": 29
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
63
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Contract.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 76,
|
|
"name": "\"ddo/Curation\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Curation.ts",
|
|
"children": [
|
|
{
|
|
"id": 77,
|
|
"name": "Curation",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Curation attributes of Assets Metadata.",
|
|
"tags": [
|
|
{
|
|
"tag": "see",
|
|
"text": "https://github.com/oceanprotocol/OEPs/tree/master/8#curation-attributes\n"
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 79,
|
|
"name": "numVotes",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Number of votes. 0 is the default value.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{number}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "123\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Curation.ts",
|
|
"line": 18,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "123"
|
|
},
|
|
{
|
|
"id": 78,
|
|
"name": "rating",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Decimal value between 0 and 1. 0 is the default value.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{number}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "0.93\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Curation.ts",
|
|
"line": 11,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0.93"
|
|
},
|
|
{
|
|
"id": 80,
|
|
"name": "schema",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Schema applied to calculate the rating.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{number}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"Binary Votting\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Curation.ts",
|
|
"line": 25,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Binary Votting\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
79,
|
|
78,
|
|
80
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Curation.ts",
|
|
"line": 5,
|
|
"character": 29
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
77
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Curation.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 122,
|
|
"name": "\"ddo/DDO\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/DDO.ts",
|
|
"children": [
|
|
{
|
|
"id": 123,
|
|
"name": "DDO",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "DID Descriptor Object.\nContains all the data related to an asset."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 135,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 136,
|
|
"name": "new DDO",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 137,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 138,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 141,
|
|
"name": "authentication",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 44,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Authentication",
|
|
"id": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 139,
|
|
"name": "id",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 42,
|
|
"character": 10
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 140,
|
|
"name": "publicKey",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 43,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "PublicKey",
|
|
"id": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 142,
|
|
"name": "service",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 45,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
141,
|
|
139,
|
|
140,
|
|
142
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 41,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 39,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 130,
|
|
"name": "@context",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 31,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"https://w3id.org/future-method/v1\""
|
|
},
|
|
{
|
|
"id": 133,
|
|
"name": "authentication",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 38,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Authentication",
|
|
"id": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 131,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "DID, descentralized ID.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 36,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 132,
|
|
"name": "publicKey",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 37,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "PublicKey",
|
|
"id": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 134,
|
|
"name": "service",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 39,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 143,
|
|
"name": "findServiceById",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 144,
|
|
"name": "findServiceById",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Finds a service of a DDO by ID.",
|
|
"returns": "Service.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 145,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 58,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 146,
|
|
"name": "findServiceByType",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 147,
|
|
"name": "findServiceByType",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Finds a service of a DDO by type.",
|
|
"returns": "Service.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 148,
|
|
"name": "serviceType",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service type."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 73,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 127,
|
|
"name": "deserialize",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 128,
|
|
"name": "deserialize",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Deserializes the DDO object.",
|
|
"returns": "DDO deserialized.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 129,
|
|
"name": "ddoString",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 25,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 124,
|
|
"name": "serialize",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 125,
|
|
"name": "serialize",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Serializes the DDO object.",
|
|
"returns": "DDO serialized.\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 126,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 16,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
135
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
130,
|
|
133,
|
|
131,
|
|
132,
|
|
134
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
143,
|
|
146,
|
|
127,
|
|
124
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 9,
|
|
"character": 24
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
123
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/DDO.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 32,
|
|
"name": "\"ddo/Dependency\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Dependency.ts",
|
|
"children": [
|
|
{
|
|
"id": 33,
|
|
"name": "Dependency",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 34,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Dependency.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"lockPayment\""
|
|
},
|
|
{
|
|
"id": 35,
|
|
"name": "timeout",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Dependency.ts",
|
|
"line": 3,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
34,
|
|
35
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Dependency.ts",
|
|
"line": 1,
|
|
"character": 31
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
33
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Dependency.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 41,
|
|
"name": "\"ddo/Event\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Event.ts",
|
|
"children": [
|
|
{
|
|
"id": 42,
|
|
"name": "Event",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 44,
|
|
"name": "actorType",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Event.ts",
|
|
"line": 5,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 45,
|
|
"name": "handler",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Event.ts",
|
|
"line": 6,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "EventHandler",
|
|
"id": 37
|
|
}
|
|
},
|
|
{
|
|
"id": 43,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Event.ts",
|
|
"line": 4,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
44,
|
|
45,
|
|
43
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Event.ts",
|
|
"line": 3,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
42
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Event.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 36,
|
|
"name": "\"ddo/EventHandler\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/EventHandler.ts",
|
|
"children": [
|
|
{
|
|
"id": 37,
|
|
"name": "EventHandler",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 39,
|
|
"name": "functionName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/EventHandler.ts",
|
|
"line": 3,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"fulfillAgreement\""
|
|
},
|
|
{
|
|
"id": 38,
|
|
"name": "moduleName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/EventHandler.ts",
|
|
"line": 2,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"serviceAgreement\""
|
|
},
|
|
{
|
|
"id": 40,
|
|
"name": "version",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/EventHandler.ts",
|
|
"line": 4,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0.1\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
39,
|
|
38,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/EventHandler.ts",
|
|
"line": 1,
|
|
"character": 33
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
37
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/EventHandler.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 100,
|
|
"name": "\"ddo/MetaData\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/MetaData.ts",
|
|
"children": [
|
|
{
|
|
"id": 101,
|
|
"name": "MetaData",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 105,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 106,
|
|
"name": "new MetaData",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 107,
|
|
"name": "metaData",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaData",
|
|
"id": 101
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaData",
|
|
"id": 101
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 58,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 102,
|
|
"name": "additionalInformation",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 56,
|
|
"character": 32
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AdditionalInformation",
|
|
"id": 72
|
|
}
|
|
},
|
|
{
|
|
"id": 103,
|
|
"name": "base",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 57,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaDataBase",
|
|
"id": 82
|
|
}
|
|
},
|
|
{
|
|
"id": 104,
|
|
"name": "curation",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 58,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Curation",
|
|
"id": 77
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
105
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
102,
|
|
103,
|
|
104
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 54,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 110,
|
|
"name": "additionalInformation",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 40,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AdditionalInformation",
|
|
"id": 72
|
|
},
|
|
"defaultValue": " {\n updateFrecuency: \"yearly\",\n structuredMarkup: [\n {\n uri: \"http://skos.um.es/unescothes/C01194/jsonld\",\n mediaType: \"application/ld+json\",\n } as StructuredMarkup,\n {\n uri: \"http://skos.um.es/unescothes/C01194/turtle\",\n mediaType: \"text/turtle\",\n } as StructuredMarkup,\n ],\n} as AdditionalInformation"
|
|
},
|
|
{
|
|
"id": 108,
|
|
"name": "base",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 6,
|
|
"character": 10
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaDataBase",
|
|
"id": 82
|
|
},
|
|
"defaultValue": " {\n name: \"UK Weather information 2011\",\n type: \"dataset\",\n description: \"Weather information of UK including temperature and humidity\",\n size: \"3.1gb\",\n dateCreated: \"2012-02-01T10:55:11+00:00\",\n author: \"Met Office\",\n license: \"CC-BY\",\n copyrightHolder: \"Met Office\",\n encoding: \"UTF-8\",\n compression: \"zip\",\n contentType: \"text/csv\",\n // tslint:disable-next-line\n workExample: \"stationId,latitude,longitude,datetime,temperature,humidity423432fsd,51.509865,-0.118092,2011-01-01T10:55:11+00:00,7.2,68\",\n contentUrls: [\n \"https://testocnfiles.blob.core.windows.net/testfiles/testzkp.zip\",\n \"https://testocnfiles.blob.core.windows.net/testfiles/testzkp.zip\",\n ],\n links: [\n {sample1: \"http://data.ceda.ac.uk/badc/ukcp09/data/gridded-land-obs/gridded-land-obs-daily/\"},\n {sample2: \"http://data.ceda.ac.uk/badc/ukcp09/data/gridded-land-obs/gridded-land-obs-averages-25km/\"},\n {fieldsDescription: \"http://data.ceda.ac.uk/badc/ukcp09/\"},\n ],\n inLanguage: \"en\",\n tags: \"weather, uk, 2011, temperature, humidity\",\n price: 10,\n} as MetaDataBase"
|
|
},
|
|
{
|
|
"id": 109,
|
|
"name": "curation",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 34,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Curation",
|
|
"id": 77
|
|
},
|
|
"defaultValue": " {\n rating: 0.93,\n numVotes: 123,\n schema: \"Binary Votting\",\n} as Curation"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
101
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
110,
|
|
108,
|
|
109
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaData.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 81,
|
|
"name": "\"ddo/MetaDataBase\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/MetaDataBase.ts",
|
|
"children": [
|
|
{
|
|
"id": 82,
|
|
"name": "MetaDataBase",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Base attributes of Assets Metadata.",
|
|
"tags": [
|
|
{
|
|
"tag": "see",
|
|
"text": "https://github.com/oceanprotocol/OEPs/tree/master/8#base-attributes\n"
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 88,
|
|
"name": "author",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Name of the entity generating this data (e.g. Tfl, Disney Corp, etc.).",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"Met Office\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 49,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Met Office\""
|
|
},
|
|
{
|
|
"id": 92,
|
|
"name": "compression",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "File compression (e.g. no, gzip, bzip2, etc).",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"zip\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 78,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"zip\""
|
|
},
|
|
{
|
|
"id": 93,
|
|
"name": "contentType",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "File format, if applicable.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"text/csv\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 85,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"text/csv\""
|
|
},
|
|
{
|
|
"id": 95,
|
|
"name": "contentUrls",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "List of content URLs resolving the Asset files.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string | string[]}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"https://testocnfiles.blob.core.windows.net/testfiles/testzkp.zip\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 100,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": " [\n \"https://testocnfiles.blob.core.windows.net/testfiles/testzkp.zip\",\n \"https://testocnfiles.blob.core.windows.net/testfiles/testzkp.zip\",\n ]"
|
|
},
|
|
{
|
|
"id": 90,
|
|
"name": "copyrightHolder",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The party holding the legal copyright. Empty by default.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"Met Office\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 64,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Met Office\""
|
|
},
|
|
{
|
|
"id": 86,
|
|
"name": "dateCreated",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The date on which the asset was created or was added.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"2012-10-10T17:00:000Z\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 35,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"2012-10-10T17:00:000Z\""
|
|
},
|
|
{
|
|
"id": 85,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Details of what the resource is. For a dataset, this attribute\nexplains what the data represents and what it can be used for.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"Weather information of UK including temperature and humidity\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 28,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Weather information of UK including temperature and humidity\""
|
|
},
|
|
{
|
|
"id": 91,
|
|
"name": "encoding",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "File encoding.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"UTF-8\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 71,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"UTF-8\""
|
|
},
|
|
{
|
|
"id": 97,
|
|
"name": "inLanguage",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "The language of the content. Please use one of the language\ncodes from the {@link https://tools.ietf.org/html/bcp47 IETF BCP 47 standard}.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{String}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"en\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 131,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"en\""
|
|
},
|
|
{
|
|
"id": 89,
|
|
"name": "license",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Short name referencing the license of the asset (e.g. Public Domain, CC-0, CC-BY, No License Specified, etc. ).\nIf it's not specified, the following value will be added: \"No License Specified\".",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"CC-BY\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 57,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"CC-BY\""
|
|
},
|
|
{
|
|
"id": 96,
|
|
"name": "links",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Mapping of links for data samples, or links to find out more information.\nLinks may be to either a URL or another Asset. We expect marketplaces to\nconverge on agreements of typical formats for linked data: The Ocean Protocol\nitself does not mandate any specific formats as these requirements are likely\nto be domain-specific.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{any[]}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 113,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"defaultValue": " [\n {\n sample1: \"http://data.ceda.ac.uk/badc/ukcp09/data/gridded-land-obs/gridded-land-obs-daily/\",\n },\n {\n sample2: \"http://data.ceda.ac.uk/badc/ukcp09/data/gridded-land-obs/gridded-land-obs-averages-25km/\",\n },\n {\n fieldsDescription: \"http://data.ceda.ac.uk/badc/ukcp09/\",\n },\n ]"
|
|
},
|
|
{
|
|
"id": 83,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Descriptive name of the Asset.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"UK Weather information 2011\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 12,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"UK Weather information 2011\""
|
|
},
|
|
{
|
|
"id": 99,
|
|
"name": "price",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Price of the asset.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{String}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "10\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 146,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "10"
|
|
},
|
|
{
|
|
"id": 87,
|
|
"name": "size",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Size of the asset (e.g. 18MB). In the absence of a unit (MB, kB etc.), kB will be assumed.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"3.1gb\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 42,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"3.1gb\""
|
|
},
|
|
{
|
|
"id": 98,
|
|
"name": "tags",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Keywords or tags used to describe this content. Multiple entries in a keyword\nlist are typically delimited by commas. Empty by default.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{String}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"weather, uk, 2011, temperature, humidity\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 139,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"weather, uk, 2011, temperature, humidity\""
|
|
},
|
|
{
|
|
"id": 84,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Type of the Asset. Helps to filter by the type of asset,\ninitially (\"dataset\", \"algorithm\", \"container\", \"workflow\", \"other\").",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"dataset\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 20,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "dataset"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "algorithm"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "container"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "workflow"
|
|
},
|
|
{
|
|
"type": "stringLiteral",
|
|
"value": "other"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "\"dataset\""
|
|
},
|
|
{
|
|
"id": 94,
|
|
"name": "workExample",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Example of the concept of this asset. This example is part\nof the metadata, not an external link.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}"
|
|
},
|
|
{
|
|
"tag": "example",
|
|
"text": "\"423432fsd,51.509865,-0.118092,2011-01-01T10:55:11+00:00,7.2,68\"\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 93,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"423432fsd,51.509865,-0.118092,2011-01-01T10:55:11+00:00,7.2,68\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
88,
|
|
92,
|
|
93,
|
|
95,
|
|
90,
|
|
86,
|
|
85,
|
|
91,
|
|
97,
|
|
89,
|
|
96,
|
|
83,
|
|
99,
|
|
87,
|
|
98,
|
|
84,
|
|
94
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 5,
|
|
"character": 33
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
82
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/MetaDataBase.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 46,
|
|
"name": "\"ddo/Parameter\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Parameter.ts",
|
|
"children": [
|
|
{
|
|
"id": 47,
|
|
"name": "Parameter",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 48,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Parameter.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 49,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Parameter.ts",
|
|
"line": 3,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 50,
|
|
"name": "value",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Parameter.ts",
|
|
"line": 4,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
48,
|
|
49,
|
|
50
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Parameter.ts",
|
|
"line": 1,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
47
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Parameter.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 25,
|
|
"name": "\"ddo/PublicKey\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/PublicKey.ts",
|
|
"children": [
|
|
{
|
|
"id": 26,
|
|
"name": "PublicKey",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 27,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 2,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"did:op:123456789abcdefghi#keys-1\""
|
|
},
|
|
{
|
|
"id": 29,
|
|
"name": "owner",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 4,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"did:op:123456789abcdefghi\""
|
|
},
|
|
{
|
|
"id": 31,
|
|
"name": "publicKeyBase58",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 6,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV\""
|
|
},
|
|
{
|
|
"id": 30,
|
|
"name": "publicKeyPem",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 5,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n\""
|
|
},
|
|
{
|
|
"id": 28,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 3,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Ed25519VerificationKey2018\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
27,
|
|
29,
|
|
31,
|
|
30,
|
|
28
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 1,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
26
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/PublicKey.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 111,
|
|
"name": "\"ddo/Service\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/Service.ts",
|
|
"children": [
|
|
{
|
|
"id": 112,
|
|
"name": "Service",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 121,
|
|
"name": "conditions",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 14,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Condition",
|
|
"id": 52
|
|
}
|
|
},
|
|
"defaultValue": " []"
|
|
},
|
|
{
|
|
"id": 118,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 11,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"My public social inbox\""
|
|
},
|
|
{
|
|
"id": 119,
|
|
"name": "metadata",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 12,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaData",
|
|
"id": 101
|
|
},
|
|
"defaultValue": " {} as MetaData"
|
|
},
|
|
{
|
|
"id": 117,
|
|
"name": "purchaseEndpoint",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 10,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 120,
|
|
"name": "serviceAgreementContract",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 13,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
}
|
|
},
|
|
{
|
|
"id": 114,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 7,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 116,
|
|
"name": "serviceEndpoint",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 9,
|
|
"character": 26
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"https://openid.example.com/\""
|
|
},
|
|
{
|
|
"id": 115,
|
|
"name": "templateId",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 8,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 113,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 6,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"OpenIdConnectVersion1.0Service\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
121,
|
|
118,
|
|
119,
|
|
117,
|
|
120,
|
|
114,
|
|
116,
|
|
115,
|
|
113
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 5,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
112
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/Service.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 67,
|
|
"name": "\"ddo/StructuredMarkup\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ddo/StructuredMarkup.ts",
|
|
"children": [
|
|
{
|
|
"id": 68,
|
|
"name": "StructuredMarkup",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 70,
|
|
"name": "mediaType",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/StructuredMarkup.ts",
|
|
"line": 3,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"application/ld+json\""
|
|
},
|
|
{
|
|
"id": 69,
|
|
"name": "uri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/StructuredMarkup.ts",
|
|
"line": 2,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"http://skos.um.es/unescothes/C01194/jsonld\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
70,
|
|
69
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/StructuredMarkup.ts",
|
|
"line": 1,
|
|
"character": 37
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
68
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ddo/StructuredMarkup.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1059,
|
|
"name": "\"examples/BuyAsset\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/BuyAsset.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/BuyAsset.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1060,
|
|
"name": "\"examples/ExecuteAgreement\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/ExecuteAgreement.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/ExecuteAgreement.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1061,
|
|
"name": "\"examples/GetAccounts\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/GetAccounts.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/GetAccounts.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1062,
|
|
"name": "\"examples/GetBalance\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/GetBalance.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/GetBalance.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1063,
|
|
"name": "\"examples/GetHDWalletAccounts\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/GetHDWalletAccounts.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/GetHDWalletAccounts.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1064,
|
|
"name": "\"examples/GrantAccess\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/GrantAccess.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/GrantAccess.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1065,
|
|
"name": "\"examples/InitializeAgreement\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/InitializeAgreement.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/InitializeAgreement.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1066,
|
|
"name": "\"examples/Listener\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/Listener.ts",
|
|
"children": [
|
|
{
|
|
"id": 1067,
|
|
"name": "event",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/Listener.ts",
|
|
"line": 10,
|
|
"character": 11
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 792
|
|
},
|
|
"defaultValue": " EventListener.subscribe(\"OceanToken\", \"Transfer\", {})"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
1067
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/Listener.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1068,
|
|
"name": "\"examples/RegisterAsset\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/RegisterAsset.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/RegisterAsset.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1069,
|
|
"name": "\"examples/RegisterServiceAgreementTemplates\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/RegisterServiceAgreementTemplates.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/RegisterServiceAgreementTemplates.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1070,
|
|
"name": "\"examples/Search\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/Search.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/Search.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1071,
|
|
"name": "\"examples/SignAgreement\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/SignAgreement.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/SignAgreement.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1058,
|
|
"name": "\"examples/config\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/config.ts",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/config.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1057,
|
|
"name": "\"examples/config/config\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isExternal": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/examples/config/config.json",
|
|
"sources": [
|
|
{
|
|
"fileName": "examples/config/config.json",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 303,
|
|
"name": "\"keeper/ContractHandler\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/ContractHandler.ts",
|
|
"children": [
|
|
{
|
|
"id": 304,
|
|
"name": "ContractHandler",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 315,
|
|
"name": "contracts",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 27,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Map",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": " new Map<string, Contract>()"
|
|
},
|
|
{
|
|
"id": 305,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 306,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 307,
|
|
"name": "what",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 9,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 312,
|
|
"name": "has",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 313,
|
|
"name": "has",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 314,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 23,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 316,
|
|
"name": "load",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 317,
|
|
"name": "load",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 318,
|
|
"name": "what",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 319,
|
|
"name": "where",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 29,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 308,
|
|
"name": "set",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 309,
|
|
"name": "set",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 310,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 311,
|
|
"name": "contractInstance",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 19,
|
|
"character": 24
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
315
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
305,
|
|
312,
|
|
316,
|
|
308
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 7,
|
|
"character": 36
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
304
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractHandler.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 903,
|
|
"name": "\"keeper/ContractReflector\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/ContractReflector.ts",
|
|
"children": [
|
|
{
|
|
"id": 904,
|
|
"name": "ContractReflector",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 905,
|
|
"name": "reflectContractMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 906,
|
|
"name": "reflectContractMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 907,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 908,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "MethodReflection",
|
|
"id": 587
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractReflector.ts",
|
|
"line": 6,
|
|
"character": 45
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
905
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractReflector.ts",
|
|
"line": 4,
|
|
"character": 38
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
904
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/ContractReflector.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 791,
|
|
"name": "\"keeper/Event\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/Event.ts",
|
|
"children": [
|
|
{
|
|
"id": 792,
|
|
"name": "Event",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 796,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 800,
|
|
"name": "new Event",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 801,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 802,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 803,
|
|
"name": "filter",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 792
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 10,
|
|
"character": 34
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 797,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 12,
|
|
"character": 36
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 798,
|
|
"name": "eventName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 13,
|
|
"character": 33
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 799,
|
|
"name": "filter",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 14,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 795,
|
|
"name": "interval",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 10,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "200"
|
|
},
|
|
{
|
|
"id": 794,
|
|
"name": "lastBlock",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 9,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0"
|
|
},
|
|
{
|
|
"id": 793,
|
|
"name": "poller",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 8,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 812,
|
|
"name": "handler",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 813,
|
|
"name": "handler",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 814,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 40,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 806,
|
|
"name": "listen",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 807,
|
|
"name": "listen",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 808,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 23,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 809,
|
|
"name": "listenOnce",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 810,
|
|
"name": "listenOnce",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 811,
|
|
"name": "callback",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 31,
|
|
"character": 21
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 804,
|
|
"name": "stopListen",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 805,
|
|
"name": "stopListen",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 18,
|
|
"character": 21
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
796
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
797,
|
|
798,
|
|
799,
|
|
795,
|
|
794,
|
|
793
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
812,
|
|
806,
|
|
809,
|
|
804
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 6,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
792
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Event.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 778,
|
|
"name": "\"keeper/EventListener\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/EventListener.ts",
|
|
"children": [
|
|
{
|
|
"id": 779,
|
|
"name": "EventListener",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 790,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 28,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 792
|
|
}
|
|
},
|
|
"defaultValue": " []"
|
|
},
|
|
{
|
|
"id": 788,
|
|
"name": "count",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 789,
|
|
"name": "count",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 24,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 780,
|
|
"name": "subscribe",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 781,
|
|
"name": "subscribe",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 782,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 783,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 784,
|
|
"name": "filter",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 792
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 5,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 785,
|
|
"name": "unsubscribe",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 786,
|
|
"name": "unsubscribe",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 787,
|
|
"name": "event",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 15,
|
|
"character": 29
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
790
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
788,
|
|
780,
|
|
785
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 3,
|
|
"character": 34
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
779
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/EventListener.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 693,
|
|
"name": "\"keeper/Keeper\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/Keeper.ts",
|
|
"children": [
|
|
{
|
|
"id": 694,
|
|
"name": "Keeper",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Interface with Ocean Keeper contracts.\nOcean Keeper implementation where we put the following modules together:\n- TCRs: users create challenges and resolve them through voting to maintain registries.\n- Ocean Tokens: the intrinsic tokens circulated inside Ocean network, which is used in the voting of TCRs.\n- Marketplace: the core marketplace where people can transact with each other with Ocean tokens."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 702,
|
|
"name": "accessConditions",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Access conditions smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{AccessConditions}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 74,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AccessConditions",
|
|
"id": 403
|
|
}
|
|
},
|
|
{
|
|
"id": 700,
|
|
"name": "auth",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Ocean Auth smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{OceanAuth}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 62,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanAuth",
|
|
"id": 356
|
|
}
|
|
},
|
|
{
|
|
"id": 704,
|
|
"name": "didRegistry",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "DID registry smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{DIDRegistry}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 86,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DIDRegistry",
|
|
"id": 485
|
|
}
|
|
},
|
|
{
|
|
"id": 699,
|
|
"name": "market",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Ocean Market smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{OceanMarket}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 56,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanMarket",
|
|
"id": 530
|
|
}
|
|
},
|
|
{
|
|
"id": 703,
|
|
"name": "paymentConditions",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Payment conditions smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{PaymentConditions}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 80,
|
|
"character": 28
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "PaymentConditions",
|
|
"id": 441
|
|
}
|
|
},
|
|
{
|
|
"id": 701,
|
|
"name": "serviceAgreement",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Service agreement smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{ServiceAgreement}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 68,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 594
|
|
}
|
|
},
|
|
{
|
|
"id": 698,
|
|
"name": "token",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Ocean Token smart contract instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{OceanToken}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 50,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanToken",
|
|
"id": 654
|
|
}
|
|
},
|
|
{
|
|
"id": 697,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Keeper instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Keeper}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 44,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Keeper",
|
|
"id": 694
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 705,
|
|
"name": "getNetworkName",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 706,
|
|
"name": "getNetworkName",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the network by name.",
|
|
"returns": "Network name.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 92,
|
|
"character": 31
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 695,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 696,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns Keeper instance.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Keeper",
|
|
"id": 694
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 24,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
702,
|
|
700,
|
|
704,
|
|
699,
|
|
703,
|
|
701,
|
|
698,
|
|
697
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
705,
|
|
695
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 18,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
694
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Keeper.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 298,
|
|
"name": "\"keeper/Web3Provider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/Web3Provider.ts",
|
|
"children": [
|
|
{
|
|
"id": 299,
|
|
"name": "Web3Provider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 302,
|
|
"name": "web3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Web3 instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Web3}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Web3Provider.ts",
|
|
"line": 23,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Web3"
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 300,
|
|
"name": "getWeb3",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 301,
|
|
"name": "getWeb3",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns Web3 instance.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Web3"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Web3Provider.ts",
|
|
"line": 10,
|
|
"character": 25
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
302
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
300
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Web3Provider.ts",
|
|
"line": 4,
|
|
"character": 33
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
299
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/Web3Provider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 355,
|
|
"name": "\"keeper/contracts/Auth\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/Auth.ts",
|
|
"children": [
|
|
{
|
|
"id": 356,
|
|
"name": "OceanAuth",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 375,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 376,
|
|
"name": "new OceanAuth",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 377,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanAuth",
|
|
"id": 356
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 374,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 397,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 398,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 399,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 400,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 401,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 369,
|
|
"name": "deliverAccessToken",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 370,
|
|
"name": "deliverAccessToken",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 371,
|
|
"name": "orderId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 372,
|
|
"name": "accessToken",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 373,
|
|
"name": "publisherAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 30,
|
|
"character": 35
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 382,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 383,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 362,
|
|
"name": "getEncryptedAccessToken",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 363,
|
|
"name": "getEncryptedAccessToken",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 364,
|
|
"name": "orderId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 365,
|
|
"name": "consumerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 22,
|
|
"character": 40
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 378,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 379,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 380,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 381,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 387,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 388,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 389,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 359,
|
|
"name": "getOrderStatus",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 360,
|
|
"name": "getOrderStatus",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 361,
|
|
"name": "orderId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "AccessStatus",
|
|
"id": 292
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 13,
|
|
"character": 31
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 384,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 385,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 386,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 366,
|
|
"name": "getTempPubKey",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 367,
|
|
"name": "getTempPubKey",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 368,
|
|
"name": "orderId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 26,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 390,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 391,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 392,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 393,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 394,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 395,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 396,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 357,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 358,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanAuth",
|
|
"id": 356
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 7,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
375
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
374
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
397,
|
|
369,
|
|
382,
|
|
362,
|
|
378,
|
|
387,
|
|
359,
|
|
384,
|
|
366,
|
|
390,
|
|
392,
|
|
357
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 5,
|
|
"character": 30
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
356
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Auth.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 320,
|
|
"name": "\"keeper/contracts/ContractBase\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/ContractBase.ts",
|
|
"children": [
|
|
{
|
|
"id": 321,
|
|
"name": "ContractBase",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isAbstract": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 325,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 326,
|
|
"name": "new ContractBase",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 327,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 323,
|
|
"name": "contract",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 11,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Contract",
|
|
"id": 63
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 324,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 24
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 322,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 347,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 348,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 349,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 350,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 351,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 332,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 333,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 328,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 329,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 330,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 331,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 337,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 338,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 339,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 334,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 335,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 336,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 340,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 341,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 352,
|
|
"name": "searchMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 353,
|
|
"name": "searchMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 354,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 86,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 342,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 343,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 344,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 345,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 346,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
325
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
323,
|
|
324,
|
|
322
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
347,
|
|
332,
|
|
328,
|
|
337,
|
|
334,
|
|
340,
|
|
352,
|
|
342
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 7,
|
|
"character": 42
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanAuth",
|
|
"id": 356
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "AccessConditions",
|
|
"id": 403
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "PaymentConditions",
|
|
"id": 441
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "DIDRegistry",
|
|
"id": 485
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanMarket",
|
|
"id": 530
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 594
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanToken",
|
|
"id": 654
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "GenericContract",
|
|
"id": 746
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
321
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 484,
|
|
"name": "\"keeper/contracts/DIDRegistry\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/DIDRegistry.ts",
|
|
"children": [
|
|
{
|
|
"id": 485,
|
|
"name": "DIDRegistry",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 502,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 503,
|
|
"name": "new DIDRegistry",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 504,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DIDRegistry",
|
|
"id": 485
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 501,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 524,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 525,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 526,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 527,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 528,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 509,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 510,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 505,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 506,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 507,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 508,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 514,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 515,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 516,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 495,
|
|
"name": "getOwner",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 496,
|
|
"name": "getOwner",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 497,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 22,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 511,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 512,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 513,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 498,
|
|
"name": "getUpdateAt",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 499,
|
|
"name": "getUpdateAt",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 500,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 29,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 517,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 518,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 488,
|
|
"name": "registerAttribute",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 489,
|
|
"name": "registerAttribute",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 490,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 491,
|
|
"name": "type",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ValueType",
|
|
"id": 479
|
|
}
|
|
},
|
|
{
|
|
"id": 492,
|
|
"name": "key",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 493,
|
|
"name": "value",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 494,
|
|
"name": "ownerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 14,
|
|
"character": 34
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 519,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 520,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 521,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 522,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 523,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 486,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 487,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DIDRegistry",
|
|
"id": 485
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 8,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
502
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
501
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
524,
|
|
509,
|
|
505,
|
|
514,
|
|
495,
|
|
511,
|
|
498,
|
|
517,
|
|
488,
|
|
519,
|
|
486
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 6,
|
|
"character": 32
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
485
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/DIDRegistry.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 745,
|
|
"name": "\"keeper/contracts/GenericContract\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/GenericContract.ts",
|
|
"children": [
|
|
{
|
|
"id": 746,
|
|
"name": "GenericContract",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 750,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 751,
|
|
"name": "new GenericContract",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 752,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "GenericContract",
|
|
"id": 746
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/GenericContract.ts",
|
|
"line": 9,
|
|
"character": 5
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 753,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 773,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 774,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 775,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 776,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 777,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 758,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 759,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 754,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 755,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 756,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 757,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 763,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 764,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 765,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 760,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 761,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 762,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 766,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 767,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 768,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 769,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 770,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 771,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 772,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 747,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 748,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 749,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/GenericContract.ts",
|
|
"line": 5,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
750
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
753
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
773,
|
|
758,
|
|
754,
|
|
763,
|
|
760,
|
|
766,
|
|
768,
|
|
747
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/GenericContract.ts",
|
|
"line": 3,
|
|
"character": 36
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
746
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/GenericContract.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 529,
|
|
"name": "\"keeper/contracts/Market\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/Market.ts",
|
|
"children": [
|
|
{
|
|
"id": 530,
|
|
"name": "OceanMarket",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 555,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 556,
|
|
"name": "new OceanMarket",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 557,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanMarket",
|
|
"id": 530
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 554,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 577,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 578,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 579,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 580,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 581,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 546,
|
|
"name": "generateId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 547,
|
|
"name": "generateId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 548,
|
|
"name": "input",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 31,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 562,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 563,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 539,
|
|
"name": "getAssetPrice",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 540,
|
|
"name": "getAssetPrice",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 541,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 22,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 558,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 559,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 560,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 561,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 567,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 568,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 569,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 564,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 565,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 566,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 570,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 571,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 533,
|
|
"name": "isAssetActive",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 534,
|
|
"name": "isAssetActive",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 535,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 14,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 549,
|
|
"name": "register",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 550,
|
|
"name": "register",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 551,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 552,
|
|
"name": "price",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 553,
|
|
"name": "publisherAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 35,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 542,
|
|
"name": "requestTokens",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 543,
|
|
"name": "requestTokens",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 544,
|
|
"name": "amount",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 545,
|
|
"name": "receiverAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 27,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 572,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 573,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 574,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 575,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 576,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 536,
|
|
"name": "verifyOrderPayment",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 537,
|
|
"name": "verifyOrderPayment",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 538,
|
|
"name": "orderId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 18,
|
|
"character": 35
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 531,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 532,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanMarket",
|
|
"id": 530
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 7,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
555
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
554
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
577,
|
|
546,
|
|
562,
|
|
539,
|
|
558,
|
|
567,
|
|
564,
|
|
570,
|
|
533,
|
|
549,
|
|
542,
|
|
572,
|
|
536,
|
|
531
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 5,
|
|
"character": 32
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
530
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Market.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 593,
|
|
"name": "\"keeper/contracts/ServiceAgreement\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/ServiceAgreement.ts",
|
|
"children": [
|
|
{
|
|
"id": 594,
|
|
"name": "ServiceAgreement",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 626,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 627,
|
|
"name": "new ServiceAgreement",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 628,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 594
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 625,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 648,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 649,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 650,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 651,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 652,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 615,
|
|
"name": "executeAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 616,
|
|
"name": "executeAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 617,
|
|
"name": "serviceAgreementTemplateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 618,
|
|
"name": "serviceAgreementSignatureHash",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 619,
|
|
"name": "consumerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 620,
|
|
"name": "valueHashes",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 621,
|
|
"name": "timeoutValues",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 622,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 623,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
},
|
|
{
|
|
"id": 624,
|
|
"name": "publisherAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 46,
|
|
"character": 33
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 633,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 634,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 612,
|
|
"name": "getAgreementStatus",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 613,
|
|
"name": "getAgreementStatus",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 614,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 41,
|
|
"character": 35
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 629,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 630,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 631,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 632,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 638,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 639,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 640,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 635,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 636,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 637,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 609,
|
|
"name": "getTemplateOwner",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 610,
|
|
"name": "getTemplateOwner",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 611,
|
|
"name": "templateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 36,
|
|
"character": 33
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 606,
|
|
"name": "getTemplateStatus",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 607,
|
|
"name": "getTemplateStatus",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 608,
|
|
"name": "templateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 31,
|
|
"character": 34
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 641,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 642,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 643,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 644,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 645,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 646,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 647,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 597,
|
|
"name": "setupAgreementTemplate",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 598,
|
|
"name": "setupAgreementTemplate",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 599,
|
|
"name": "templateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 600,
|
|
"name": "methodReflections",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "MethodReflection",
|
|
"id": 587
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 601,
|
|
"name": "dependencyMatrix",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 602,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 603,
|
|
"name": "fulfillmentIndices",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 604,
|
|
"name": "fulfillmentOperator",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 605,
|
|
"name": "ownerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 14,
|
|
"character": 39
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 595,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 596,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 594
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 8,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
626
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
625
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
648,
|
|
615,
|
|
633,
|
|
612,
|
|
629,
|
|
638,
|
|
635,
|
|
609,
|
|
606,
|
|
641,
|
|
643,
|
|
597,
|
|
595
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 6,
|
|
"character": 37
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
594
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ServiceAgreement.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 653,
|
|
"name": "\"keeper/contracts/Token\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/Token.ts",
|
|
"children": [
|
|
{
|
|
"id": 654,
|
|
"name": "OceanToken",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 666,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 667,
|
|
"name": "new OceanToken",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 668,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanToken",
|
|
"id": 654
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 665,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 657,
|
|
"name": "approve",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 658,
|
|
"name": "approve",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 659,
|
|
"name": "marketAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 660,
|
|
"name": "price",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 661,
|
|
"name": "buyerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Token.ts",
|
|
"line": 13,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 662,
|
|
"name": "balanceOf",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 663,
|
|
"name": "balanceOf",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 664,
|
|
"name": "address",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Token.ts",
|
|
"line": 17,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 688,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 689,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 690,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 691,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 692,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 673,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 674,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 669,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 670,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 671,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 672,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 678,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 679,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 680,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 675,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 676,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 677,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 681,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 682,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 683,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 684,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 685,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 686,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 687,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 655,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 656,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanToken",
|
|
"id": 654
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Token.ts",
|
|
"line": 7,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
666
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
665
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
657,
|
|
662,
|
|
688,
|
|
673,
|
|
669,
|
|
678,
|
|
675,
|
|
681,
|
|
683,
|
|
655
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Token.ts",
|
|
"line": 5,
|
|
"character": 31
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
654
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/Token.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 402,
|
|
"name": "\"keeper/contracts/conditions/AccessConditions\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/conditions/AccessConditions.ts",
|
|
"children": [
|
|
{
|
|
"id": 403,
|
|
"name": "AccessConditions",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 413,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 414,
|
|
"name": "new AccessConditions",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 415,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "AccessConditions",
|
|
"id": 403
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 412,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 435,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 436,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 437,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 438,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 439,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 420,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 421,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 416,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 417,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 418,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 419,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 425,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 426,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 427,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 422,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 423,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 424,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 406,
|
|
"name": "grantAccess",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 407,
|
|
"name": "grantAccess",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 408,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 409,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 410,
|
|
"name": "documentKeyId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 411,
|
|
"name": "publisherAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/AccessConditions.ts",
|
|
"line": 14,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 428,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 429,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 430,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 431,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 432,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 433,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 434,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 404,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 405,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "AccessConditions",
|
|
"id": 403
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/AccessConditions.ts",
|
|
"line": 6,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
413
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
412
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
435,
|
|
420,
|
|
416,
|
|
425,
|
|
422,
|
|
406,
|
|
428,
|
|
430,
|
|
404
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/AccessConditions.ts",
|
|
"line": 4,
|
|
"character": 37
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
403
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/AccessConditions.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 440,
|
|
"name": "\"keeper/contracts/conditions/PaymentConditions\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/keeper/contracts/conditions/PaymentConditions.ts",
|
|
"children": [
|
|
{
|
|
"id": 441,
|
|
"name": "PaymentConditions",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 451,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 452,
|
|
"name": "new PaymentConditions",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 453,
|
|
"name": "contractName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "PaymentConditions",
|
|
"id": 441
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 12,
|
|
"character": 32
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.__constructor",
|
|
"id": 325
|
|
}
|
|
},
|
|
{
|
|
"id": 450,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 9,
|
|
"character": 29
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"defaultValue": " null",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.instance",
|
|
"id": 322
|
|
}
|
|
},
|
|
{
|
|
"id": 473,
|
|
"name": "call",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 474,
|
|
"name": "call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 475,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 476,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 477,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 72,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.call",
|
|
"id": 347
|
|
}
|
|
},
|
|
{
|
|
"id": 458,
|
|
"name": "getAddress",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 459,
|
|
"name": "getAddress",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 25,
|
|
"character": 21
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getAddress",
|
|
"id": 332
|
|
}
|
|
},
|
|
{
|
|
"id": 454,
|
|
"name": "getEventData",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 455,
|
|
"name": "getEventData",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 456,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 457,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 18,
|
|
"character": 29
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getEventData",
|
|
"id": 328
|
|
}
|
|
},
|
|
{
|
|
"id": 463,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 464,
|
|
"name": "getInputsOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 465,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 34,
|
|
"character": 28
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getInputsOfMethod",
|
|
"id": 337
|
|
}
|
|
},
|
|
{
|
|
"id": 460,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 461,
|
|
"name": "getSignatureOfMethod",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 462,
|
|
"name": "methodName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 29,
|
|
"character": 31
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.getSignatureOfMethod",
|
|
"id": 334
|
|
}
|
|
},
|
|
{
|
|
"id": 466,
|
|
"name": "init",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 467,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 39,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.init",
|
|
"id": 340
|
|
}
|
|
},
|
|
{
|
|
"id": 444,
|
|
"name": "lockPayment",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 445,
|
|
"name": "lockPayment",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 446,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 447,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 448,
|
|
"name": "price",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 449,
|
|
"name": "consumerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/PaymentConditions.ts",
|
|
"line": 12,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 468,
|
|
"name": "send",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 469,
|
|
"name": "send",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 470,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 471,
|
|
"name": "from",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 472,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Receipt"
|
|
}
|
|
]
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/ContractBase.ts",
|
|
"line": 43,
|
|
"character": 24
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "ContractBase.send",
|
|
"id": 342
|
|
}
|
|
},
|
|
{
|
|
"id": 442,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 443,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "PaymentConditions",
|
|
"id": 441
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/PaymentConditions.ts",
|
|
"line": 6,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
451
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
450
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
473,
|
|
458,
|
|
454,
|
|
463,
|
|
460,
|
|
466,
|
|
444,
|
|
468,
|
|
442
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/PaymentConditions.ts",
|
|
"line": 4,
|
|
"character": 38
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ContractBase",
|
|
"id": 321
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
441
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "keeper/contracts/conditions/PaymentConditions.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 291,
|
|
"name": "\"models/AccessStatus\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/AccessStatus.ts",
|
|
"children": [
|
|
{
|
|
"id": 292,
|
|
"name": "AccessStatus",
|
|
"kind": 4,
|
|
"kindString": "Enumeration",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 294,
|
|
"name": "Committed",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 3,
|
|
"character": 13
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 295,
|
|
"name": "Delivered",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 4,
|
|
"character": 13
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 293,
|
|
"name": "Requested",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 2,
|
|
"character": 13
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 297,
|
|
"name": "Revoked",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 6,
|
|
"character": 11
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 296,
|
|
"name": "Verified",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 5,
|
|
"character": 12
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration members",
|
|
"kind": 16,
|
|
"children": [
|
|
294,
|
|
295,
|
|
293,
|
|
297,
|
|
296
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 1,
|
|
"character": 17
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumerations",
|
|
"kind": 4,
|
|
"children": [
|
|
292
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/AccessStatus.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 707,
|
|
"name": "\"models/Balance\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/Balance.ts",
|
|
"children": [
|
|
{
|
|
"id": 708,
|
|
"name": "Balance",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 709,
|
|
"name": "eth",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Balance.ts",
|
|
"line": 2,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 710,
|
|
"name": "ocn",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Balance.ts",
|
|
"line": 3,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
709,
|
|
710
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Balance.ts",
|
|
"line": 1,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
708
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Balance.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "\"models/Config\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/Config.ts",
|
|
"children": [
|
|
{
|
|
"id": 2,
|
|
"name": "Config",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 10,
|
|
"name": "address",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 24,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "aquariusUri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 4,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "brizoUri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 8,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "nodeUri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 12,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "parityUri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 20,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "password",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 22,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "secretStoreUri",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 18,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "threshold",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 26,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "verbose",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 29,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "web3Provider",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true,
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 14,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
10,
|
|
3,
|
|
4,
|
|
5,
|
|
8,
|
|
9,
|
|
7,
|
|
11,
|
|
12,
|
|
6
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 1,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/Config.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 582,
|
|
"name": "\"models/InputType\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/InputType.ts",
|
|
"children": [
|
|
{
|
|
"id": 583,
|
|
"name": "InputType",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 584,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/InputType.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 585,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/InputType.ts",
|
|
"line": 3,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
584,
|
|
585
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/InputType.ts",
|
|
"line": 1,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
583
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/InputType.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 586,
|
|
"name": "\"models/MethodReflection\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/MethodReflection.ts",
|
|
"children": [
|
|
{
|
|
"id": 587,
|
|
"name": "MethodReflection",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 590,
|
|
"name": "address",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 6,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 588,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 4,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 592,
|
|
"name": "inputs",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 8,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "InputType",
|
|
"id": 583
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 589,
|
|
"name": "methodName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 5,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 591,
|
|
"name": "signature",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 7,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
590,
|
|
588,
|
|
592,
|
|
589,
|
|
591
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 3,
|
|
"character": 37
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
587
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/MethodReflection.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 823,
|
|
"name": "\"models/ValuePair\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/ValuePair.ts",
|
|
"children": [
|
|
{
|
|
"id": 824,
|
|
"name": "ValuePair",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 825,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValuePair.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 826,
|
|
"name": "value",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValuePair.ts",
|
|
"line": 3,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
825,
|
|
826
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValuePair.ts",
|
|
"line": 1,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
824
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValuePair.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 478,
|
|
"name": "\"models/ValueType\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/models/ValueType.ts",
|
|
"children": [
|
|
{
|
|
"id": 479,
|
|
"name": "ValueType",
|
|
"kind": 4,
|
|
"kindString": "Enumeration",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 483,
|
|
"name": "DDO",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 5,
|
|
"character": 7
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 480,
|
|
"name": "DID",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 2,
|
|
"character": 7
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 481,
|
|
"name": "DIDRef",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 3,
|
|
"character": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 482,
|
|
"name": "URL",
|
|
"kind": 16,
|
|
"kindString": "Enumeration member",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 4,
|
|
"character": 7
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration members",
|
|
"kind": 16,
|
|
"children": [
|
|
483,
|
|
480,
|
|
481,
|
|
482
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 1,
|
|
"character": 14
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumerations",
|
|
"kind": 4,
|
|
"children": [
|
|
479
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "models/ValueType.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 722,
|
|
"name": "\"ocean/Account\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/Account.ts",
|
|
"children": [
|
|
{
|
|
"id": 723,
|
|
"name": "Account",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Account information."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 737,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 738,
|
|
"name": "new Account",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 739,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 25
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
},
|
|
{
|
|
"id": 724,
|
|
"name": "balance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 12,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Balance",
|
|
"id": 708
|
|
}
|
|
},
|
|
{
|
|
"id": 736,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x00\"",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.id",
|
|
"id": 713
|
|
}
|
|
},
|
|
{
|
|
"id": 729,
|
|
"name": "getBalance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 730,
|
|
"name": "getBalance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Balances of Ether and Ocean Token.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Balance",
|
|
"id": 708
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 42,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 727,
|
|
"name": "getEtherBalance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 728,
|
|
"name": "getEtherBalance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Balance of Ether.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 26,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 740,
|
|
"name": "getId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 741,
|
|
"name": "getId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 11,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
},
|
|
{
|
|
"id": 725,
|
|
"name": "getOceanBalance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 726,
|
|
"name": "getOceanBalance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Balance of Ocean Token.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 18,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 734,
|
|
"name": "getPublicKey",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 735,
|
|
"name": "getPublicKey",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the account public key.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 70,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 731,
|
|
"name": "requestTokens",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 732,
|
|
"name": "requestTokens",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Request Ocean Tokens.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 733,
|
|
"name": "amount",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Tokens to be requested."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 59,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 742,
|
|
"name": "setId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 743,
|
|
"name": "setId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 744,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 15,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
737
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
724,
|
|
736
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
729,
|
|
727,
|
|
740,
|
|
725,
|
|
734,
|
|
731,
|
|
742
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 11,
|
|
"character": 28
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanBase",
|
|
"id": 712
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
723
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Account.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 153,
|
|
"name": "\"ocean/DID\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/DID.ts",
|
|
"children": [
|
|
{
|
|
"id": 154,
|
|
"name": "DID",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Decentralized ID."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 161,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 162,
|
|
"name": "new DID",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 163,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 43,
|
|
"character": 22
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 160,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "ID.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{string}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 43,
|
|
"character": 14
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 164,
|
|
"name": "getDid",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 165,
|
|
"name": "getDid",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the DID.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 53,
|
|
"character": 17
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 166,
|
|
"name": "getId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 167,
|
|
"name": "getId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the ID.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 61,
|
|
"character": 16
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 158,
|
|
"name": "generate",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 159,
|
|
"name": "generate",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns a new DID.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 35,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 155,
|
|
"name": "parse",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 156,
|
|
"name": "parse",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Parses a DID from a string.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 157,
|
|
"name": "didString",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "DID in string."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 15,
|
|
"character": 23
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
161
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
160
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
164,
|
|
166,
|
|
158,
|
|
155
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 8,
|
|
"character": 24
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 168,
|
|
"name": "prefix",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 3,
|
|
"character": 12
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "stringLiteral",
|
|
"value": "did:op:"
|
|
},
|
|
"defaultValue": "\"did:op:\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
154
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
168
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/DID.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 149,
|
|
"name": "\"ocean/IdGenerator\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/IdGenerator.ts",
|
|
"children": [
|
|
{
|
|
"id": 150,
|
|
"name": "IdGenerator",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 151,
|
|
"name": "generateId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 152,
|
|
"name": "generateId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/IdGenerator.ts",
|
|
"line": 4,
|
|
"character": 28
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
151
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/IdGenerator.ts",
|
|
"line": 3,
|
|
"character": 32
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
150
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/IdGenerator.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 991,
|
|
"name": "\"ocean/Ocean\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/Ocean.ts",
|
|
"children": [
|
|
{
|
|
"id": 992,
|
|
"name": "Ocean",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Main interface for Ocean Protocol."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 998,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 999,
|
|
"name": "new Ocean",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Ocean",
|
|
"id": 992
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 62,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 997,
|
|
"name": "keeper",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Keeper instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Keeper}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 62,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Keeper",
|
|
"id": 694
|
|
}
|
|
},
|
|
{
|
|
"id": 996,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Ocean instance.",
|
|
"tags": [
|
|
{
|
|
"tag": "type",
|
|
"text": "{Ocean}\n"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 56,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Ocean",
|
|
"id": 992
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 1033,
|
|
"name": "executeServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1034,
|
|
"name": "executeServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Executes a service agreement.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1035,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1036,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service definition ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1037,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service agreement ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1038,
|
|
"name": "serviceAgreementSignature",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service agreement signature."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1039,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Consumer account."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
},
|
|
{
|
|
"id": 1040,
|
|
"name": "publisher",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Publisher account."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 828
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 339,
|
|
"character": 40
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1000,
|
|
"name": "getAccounts",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1001,
|
|
"name": "getAccounts",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the list of accounts.",
|
|
"returns": "\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 71,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1022,
|
|
"name": "initializeServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1023,
|
|
"name": "initializeServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {
|
|
"isPrivate": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Creates a new service agreement."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1024,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1025,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service definition ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1026,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service agreement ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1027,
|
|
"name": "serviceAgreementSignature",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service agreement signature."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1028,
|
|
"name": "cb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Callback executen when the access is granted."
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 1029,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 1030,
|
|
"name": "__call",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 1031,
|
|
"name": "files",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 287,
|
|
"character": 11
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 1032,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Consumer account.\n"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 282,
|
|
"character": 43
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1017,
|
|
"name": "purchaseAssetService",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1018,
|
|
"name": "purchaseAssetService",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Signs a service agreement by DID.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1019,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1020,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service definition ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1021,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Consumer account."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 222,
|
|
"character": 37
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1008,
|
|
"name": "registerAsset",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1009,
|
|
"name": "registerAsset",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Registers a new DDO.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1010,
|
|
"name": "metadata",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "DDO metadata."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaData",
|
|
"id": 101
|
|
}
|
|
},
|
|
{
|
|
"id": 1011,
|
|
"name": "publisher",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Publicher account."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 106,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1005,
|
|
"name": "resolveAssetDID",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1006,
|
|
"name": "resolveAssetDID",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns a DDO by DID.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1007,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 95,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1002,
|
|
"name": "resolveDID",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"decorators": [
|
|
{
|
|
"name": "deprecated",
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "deprecated"
|
|
},
|
|
"arguments": {
|
|
"alternative": "'resolveAssetDID'"
|
|
}
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 1003,
|
|
"name": "resolveDID",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns a DDO by DID.",
|
|
"returns": "\n",
|
|
"tags": [
|
|
{
|
|
"tag": "deprecated",
|
|
"text": "Replace by {@link #resolveAssetDID}"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1004,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 86,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1041,
|
|
"name": "searchAssets",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1042,
|
|
"name": "searchAssets",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Search over the assets using a query.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1043,
|
|
"name": "query",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Query to filter the assets."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SearchQuery",
|
|
"id": 219
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 368,
|
|
"character": 29
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1044,
|
|
"name": "searchAssetsByText",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 1045,
|
|
"name": "searchAssetsByText",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Search over the assets using a keyword.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1046,
|
|
"name": "text",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Text to filter the assets."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 378,
|
|
"character": 35
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1012,
|
|
"name": "signServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"decorators": [
|
|
{
|
|
"name": "deprecated",
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "deprecated"
|
|
},
|
|
"arguments": {
|
|
"alternative": "'purchaseAssetService'"
|
|
}
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 1013,
|
|
"name": "signServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Signs a service agreement by DID.",
|
|
"returns": "\n\n",
|
|
"tags": [
|
|
{
|
|
"tag": "deprecated",
|
|
"text": "Replace by {@link #purchaseAssetService}"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 1014,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Decentralized ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1015,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Service definition ID."
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 1016,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Consumer account."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 207,
|
|
"character": 37
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 993,
|
|
"name": "getInstance",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 994,
|
|
"name": "getInstance",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Returns the instance of Ocean.",
|
|
"returns": "\n"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 995,
|
|
"name": "config",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"text": "Ocean instance configuration."
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Config",
|
|
"id": 2
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Ocean",
|
|
"id": 992
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 42,
|
|
"character": 35
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
998
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
997,
|
|
996
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
1033,
|
|
1000,
|
|
1022,
|
|
1017,
|
|
1008,
|
|
1005,
|
|
1002,
|
|
1041,
|
|
1044,
|
|
1012,
|
|
993
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 35,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
992
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/Ocean.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 711,
|
|
"name": "\"ocean/OceanBase\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/OceanBase.ts",
|
|
"children": [
|
|
{
|
|
"id": 712,
|
|
"name": "OceanBase",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isAbstract": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 714,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 715,
|
|
"name": "new OceanBase",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 716,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "OceanBase",
|
|
"id": 712
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 713,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x00\""
|
|
},
|
|
{
|
|
"id": 717,
|
|
"name": "getId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 718,
|
|
"name": "getId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 11,
|
|
"character": 16
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 719,
|
|
"name": "setId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 720,
|
|
"name": "setId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 721,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 15,
|
|
"character": 16
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
714
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
713
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
717,
|
|
719
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 1,
|
|
"character": 39
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 828
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreementTemplate",
|
|
"id": 951
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
712
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 913,
|
|
"name": "\"ocean/ServiceAgreements/Condition\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Condition.ts",
|
|
"children": [
|
|
{
|
|
"id": 914,
|
|
"name": "Condition",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 916,
|
|
"name": "condtionKey",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 7,
|
|
"character": 22
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 917,
|
|
"name": "dependencies",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 8,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 918,
|
|
"name": "dependencyTimeoutFlags",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 9,
|
|
"character": 33
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 921,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 12,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 919,
|
|
"name": "isTerminalCondition",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 10,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 915,
|
|
"name": "methodReflection",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 6,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MethodReflection",
|
|
"id": 587
|
|
}
|
|
},
|
|
{
|
|
"id": 922,
|
|
"name": "parameters",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 13,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Parameter",
|
|
"id": 910
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 920,
|
|
"name": "timeout",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 11,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
916,
|
|
917,
|
|
918,
|
|
921,
|
|
919,
|
|
915,
|
|
922,
|
|
920
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 5,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
914
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Condition.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 928,
|
|
"name": "\"ocean/ServiceAgreements/Event\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Event.ts",
|
|
"children": [
|
|
{
|
|
"id": 929,
|
|
"name": "Event",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 931,
|
|
"name": "actorType",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Event.ts",
|
|
"line": 5,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"publisher\""
|
|
},
|
|
{
|
|
"id": 932,
|
|
"name": "handler",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Event.ts",
|
|
"line": 6,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "EventHandler",
|
|
"id": 924
|
|
}
|
|
},
|
|
{
|
|
"id": 930,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Event.ts",
|
|
"line": 4,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"PaymentLocked\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
931,
|
|
932,
|
|
930
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Event.ts",
|
|
"line": 3,
|
|
"character": 26
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
929
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Event.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 923,
|
|
"name": "\"ocean/ServiceAgreements/EventHandler\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/EventHandler.ts",
|
|
"children": [
|
|
{
|
|
"id": 924,
|
|
"name": "EventHandler",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 926,
|
|
"name": "functionName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/EventHandler.ts",
|
|
"line": 3,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"grantAccess\""
|
|
},
|
|
{
|
|
"id": 925,
|
|
"name": "moduleName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/EventHandler.ts",
|
|
"line": 2,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"accessControl\""
|
|
},
|
|
{
|
|
"id": 927,
|
|
"name": "version",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/EventHandler.ts",
|
|
"line": 4,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0.1\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
926,
|
|
925,
|
|
927
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/EventHandler.ts",
|
|
"line": 1,
|
|
"character": 33
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
924
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/EventHandler.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 933,
|
|
"name": "\"ocean/ServiceAgreements/Method\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Method.ts",
|
|
"children": [
|
|
{
|
|
"id": 934,
|
|
"name": "Method",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 936,
|
|
"name": "contractName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 6,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 941,
|
|
"name": "dependencies",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 11,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 942,
|
|
"name": "dependencyTimeoutFlags",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 12,
|
|
"character": 33
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 940,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 10,
|
|
"character": 17
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Event",
|
|
"id": 929
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 943,
|
|
"name": "isTerminalCondition",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 13,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 937,
|
|
"name": "methodName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 7,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 935,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 5,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 939,
|
|
"name": "parameters",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 9,
|
|
"character": 21
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Parameter",
|
|
"id": 910
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 938,
|
|
"name": "timeout",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 8,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
936,
|
|
941,
|
|
942,
|
|
940,
|
|
943,
|
|
937,
|
|
935,
|
|
939,
|
|
938
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 4,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
934
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Method.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 909,
|
|
"name": "\"ocean/ServiceAgreements/Parameter\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Parameter.ts",
|
|
"children": [
|
|
{
|
|
"id": 910,
|
|
"name": "Parameter",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 911,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Parameter.ts",
|
|
"line": 2,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 912,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Parameter.ts",
|
|
"line": 3,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
911,
|
|
912
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Parameter.ts",
|
|
"line": 1,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
910
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Parameter.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 827,
|
|
"name": "\"ocean/ServiceAgreements/ServiceAgreement\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"children": [
|
|
{
|
|
"id": 828,
|
|
"name": "ServiceAgreement",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 882,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 883,
|
|
"name": "new ServiceAgreement",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 884,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 828
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 214,
|
|
"character": 5
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
},
|
|
{
|
|
"id": 897,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x00\"",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.id",
|
|
"id": 713
|
|
}
|
|
},
|
|
{
|
|
"id": 898,
|
|
"name": "getId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 899,
|
|
"name": "getId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 11,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
},
|
|
{
|
|
"id": 895,
|
|
"name": "getStatus",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 896,
|
|
"name": "getStatus",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 241,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 890,
|
|
"name": "grantAccess",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 891,
|
|
"name": "grantAccess",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 892,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 893,
|
|
"name": "documentId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 894,
|
|
"name": "publisher",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 232,
|
|
"character": 28
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 885,
|
|
"name": "payAsset",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 886,
|
|
"name": "payAsset",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 887,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 888,
|
|
"name": "price",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 889,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 220,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 900,
|
|
"name": "setId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 901,
|
|
"name": "setId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 902,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 15,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
},
|
|
{
|
|
"id": 844,
|
|
"name": "createSAHashSignature",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 845,
|
|
"name": "createSAHashSignature",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 846,
|
|
"name": "service",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
},
|
|
{
|
|
"id": 847,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 848,
|
|
"name": "valueHashes",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 849,
|
|
"name": "timeoutValues",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 850,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 64,
|
|
"character": 46
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 862,
|
|
"name": "createValueHashes",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 863,
|
|
"name": "createValueHashes",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 864,
|
|
"name": "parameterValuePairs",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "ValuePair",
|
|
"id": 824
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 145,
|
|
"character": 36
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 851,
|
|
"name": "executeAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 852,
|
|
"name": "executeAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 853,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
},
|
|
{
|
|
"id": 854,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
},
|
|
{
|
|
"id": 855,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 856,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 857,
|
|
"name": "valueHashes",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 858,
|
|
"name": "timeoutValues",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 859,
|
|
"name": "serviceAgreementHashSignature",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 860,
|
|
"name": "consumerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 861,
|
|
"name": "publisher",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 828
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 101,
|
|
"character": 41
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 835,
|
|
"name": "executeServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 836,
|
|
"name": "executeServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 837,
|
|
"name": "did",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DID",
|
|
"id": 154
|
|
}
|
|
},
|
|
{
|
|
"id": 838,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
},
|
|
{
|
|
"id": 839,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 840,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 841,
|
|
"name": "serviceAgreementHashSignature",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 842,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
},
|
|
{
|
|
"id": 843,
|
|
"name": "publisher",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ServiceAgreement",
|
|
"id": 828
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 39,
|
|
"character": 47
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 875,
|
|
"name": "getTimeoutValuesFromService",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 876,
|
|
"name": "getTimeoutValuesFromService",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 877,
|
|
"name": "service",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 188,
|
|
"character": 46
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 878,
|
|
"name": "getValuesFromService",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 879,
|
|
"name": "getValuesFromService",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 880,
|
|
"name": "service",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Service",
|
|
"id": 112
|
|
}
|
|
},
|
|
{
|
|
"id": 881,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "ValuePair",
|
|
"id": 824
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 196,
|
|
"character": 39
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 868,
|
|
"name": "hashServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 869,
|
|
"name": "hashServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 870,
|
|
"name": "serviceAgreementTemplateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 871,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 872,
|
|
"name": "conditionKeys",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 873,
|
|
"name": "valueHashes",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 874,
|
|
"name": "timeouts",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 172,
|
|
"character": 39
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 865,
|
|
"name": "hashValuePairArray",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 866,
|
|
"name": "hashValuePairArray",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 867,
|
|
"name": "valuePairs",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "ValuePair",
|
|
"id": 824
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 156,
|
|
"character": 37
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 829,
|
|
"name": "signServiceAgreement",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 830,
|
|
"name": "signServiceAgreement",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 831,
|
|
"name": "ddo",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DDO",
|
|
"id": 123
|
|
}
|
|
},
|
|
{
|
|
"id": 832,
|
|
"name": "serviceDefinitionId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 833,
|
|
"name": "serviceAgreementId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 834,
|
|
"name": "consumer",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 15,
|
|
"character": 44
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
882
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
897
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
898,
|
|
895,
|
|
890,
|
|
885,
|
|
900,
|
|
844,
|
|
862,
|
|
851,
|
|
835,
|
|
875,
|
|
878,
|
|
868,
|
|
865,
|
|
829
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 13,
|
|
"character": 37
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanBase",
|
|
"id": 712
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
828
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreement.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 950,
|
|
"name": "\"ocean/ServiceAgreements/ServiceAgreementTemplate\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"children": [
|
|
{
|
|
"id": 951,
|
|
"name": "ServiceAgreementTemplate",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 956,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 958,
|
|
"name": "new ServiceAgreementTemplate",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 959,
|
|
"name": "template",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "TemplateBase",
|
|
"id": 945
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ServiceAgreementTemplate",
|
|
"id": 951
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 28,
|
|
"character": 5
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "OceanBase.__constructor",
|
|
"id": 714
|
|
}
|
|
},
|
|
{
|
|
"id": 979,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isProtected": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 3,
|
|
"character": 16
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x00\"",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.id",
|
|
"id": 713
|
|
}
|
|
},
|
|
{
|
|
"id": 957,
|
|
"name": "template",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true,
|
|
"isConstructorProperty": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 30,
|
|
"character": 39
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "TemplateBase",
|
|
"id": 945
|
|
}
|
|
},
|
|
{
|
|
"id": 971,
|
|
"name": "blendConditions",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 972,
|
|
"name": "blendConditions",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Condition",
|
|
"id": 914
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 155,
|
|
"character": 33
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 973,
|
|
"name": "compressDependencies",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 974,
|
|
"name": "compressDependencies",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 975,
|
|
"name": "dependencies",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 976,
|
|
"name": "dependencyTimeoutFlags",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 180,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 967,
|
|
"name": "getConditions",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 968,
|
|
"name": "getConditions",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 969,
|
|
"name": "metadata",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MetaData",
|
|
"id": 101
|
|
}
|
|
},
|
|
{
|
|
"id": 970,
|
|
"name": "assetId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "DDOCondition"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 104,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 980,
|
|
"name": "getId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 981,
|
|
"name": "getId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 11,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.getId",
|
|
"id": 717
|
|
}
|
|
},
|
|
{
|
|
"id": 977,
|
|
"name": "getMethodReflections",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 978,
|
|
"name": "getMethodReflections",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "MethodReflection",
|
|
"id": 587
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 215,
|
|
"character": 38
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 965,
|
|
"name": "getOwner",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 966,
|
|
"name": "getOwner",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Account",
|
|
"id": 723
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 98,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 963,
|
|
"name": "getStatus",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 964,
|
|
"name": "getStatus",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "gets the status of a service agreement template"
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 93,
|
|
"character": 26
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 960,
|
|
"name": "register",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 961,
|
|
"name": "register",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 962,
|
|
"name": "templateOwnerAddress",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 34,
|
|
"character": 25
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 982,
|
|
"name": "setId",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 983,
|
|
"name": "setId",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 984,
|
|
"name": "id",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/OceanBase.ts",
|
|
"line": 15,
|
|
"character": 16
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "OceanBase.setId",
|
|
"id": 719
|
|
}
|
|
},
|
|
{
|
|
"id": 952,
|
|
"name": "generateConditionsKey",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 953,
|
|
"name": "generateConditionsKey",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 954,
|
|
"name": "serviceAgreementTemplateId",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 955,
|
|
"name": "methodReflection",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "MethodReflection",
|
|
"id": 587
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 20,
|
|
"character": 40
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"kind": 512,
|
|
"children": [
|
|
956
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
979,
|
|
957
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
971,
|
|
973,
|
|
967,
|
|
980,
|
|
977,
|
|
965,
|
|
963,
|
|
960,
|
|
982,
|
|
952
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 18,
|
|
"character": 45
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "OceanBase",
|
|
"id": 712
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
951
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/ServiceAgreementTemplate.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 985,
|
|
"name": "\"ocean/ServiceAgreements/Templates/Access\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Templates/Access.ts",
|
|
"children": [
|
|
{
|
|
"id": 986,
|
|
"name": "Access",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 989,
|
|
"name": "Methods",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/Access.ts",
|
|
"line": 11,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Method",
|
|
"id": 934
|
|
}
|
|
},
|
|
"defaultValue": " [\n {\n name: \"lockPayment\",\n contractName: \"PaymentConditions\",\n methodName: \"lockPayment\",\n timeout: 0,\n parameters: [\n {\n name: \"assetId\",\n type: \"bytes32\",\n } as Parameter, {\n name: \"price\",\n type: \"uint256\",\n } as Parameter,\n ],\n events: [\n {\n name: \"PaymentLocked\",\n actorType: \"publisher\",\n handler: {\n moduleName: \"accessControl\",\n functionName: \"grantAccess\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n ],\n dependencies: [],\n dependencyTimeoutFlags: [],\n isTerminalCondition: false,\n } as Method, {\n name: \"grantAccess\",\n contractName: \"AccessConditions\",\n methodName: \"grantAccess\",\n timeout: 0,\n parameters: [\n {\n name: \"assetId\",\n type: \"bytes32\",\n } as Parameter,\n {\n name: \"documentKeyId\",\n type: \"bytes32\",\n } as Parameter,\n ],\n events: [\n {\n name: \"AccessGranted\",\n actorType: \"publisher\",\n handler: {\n moduleName: \"payment\",\n functionName: \"releasePayment\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n {\n name: \"AccessGranted\",\n actorType: \"consumer\",\n handler: {\n moduleName: \"accessControl\",\n functionName: \"consumeAsset\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n {\n name: \"AccessTimeout\",\n actorType: \"consumer\",\n handler: {\n moduleName: \"payment\",\n functionName: \"refundPayment\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n ],\n dependencies: [\"lockPayment\"],\n dependencyTimeoutFlags: [0],\n isTerminalCondition: false,\n } as Method, {\n name: \"releasePayment\",\n contractName: \"PaymentConditions\",\n methodName: \"releasePayment\",\n timeout: 0,\n parameters: [\n {\n name: \"assetId\",\n type: \"bytes32\",\n } as Parameter, {\n name: \"price\",\n type: \"uint256\",\n } as Parameter,\n ],\n events: [\n {\n name: \"PaymentReleased\",\n actorType: \"consumer\",\n handler: {\n moduleName: \"serviceAgreement\",\n functionName: \"fulfillAgreement\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n ],\n dependencies: [\"grantAccess\"],\n dependencyTimeoutFlags: [0],\n isTerminalCondition: true,\n } as Method, {\n name: \"refundPayment\",\n contractName: \"PaymentConditions\",\n methodName: \"refundPayment\",\n timeout: 10 * 60,\n parameters: [\n {\n name: \"assetId\",\n type: \"bytes32\",\n } as Parameter, {\n name: \"price\",\n type: \"uint256\",\n } as Parameter,\n ],\n events: [\n {\n name: \"PaymentRefund\",\n actorType: \"publisher\",\n handler: {\n moduleName: \"serviceAgreement\",\n functionName: \"terminateAgreement\",\n version: \"0.1\",\n } as EventHandler,\n } as Event,\n ],\n dependencies: [\"lockPayment\", \"grantAccess\"],\n dependencyTimeoutFlags: [0, 1],\n isTerminalCondition: true,\n } as Method,\n ]",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.Methods",
|
|
"id": 946
|
|
}
|
|
},
|
|
{
|
|
"id": 990,
|
|
"name": "fulfillmentOperator",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 6,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "1",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.fulfillmentOperator",
|
|
"id": 948
|
|
}
|
|
},
|
|
{
|
|
"id": 988,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/Access.ts",
|
|
"line": 10,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d\"",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.id",
|
|
"id": 949
|
|
}
|
|
},
|
|
{
|
|
"id": 987,
|
|
"name": "templateName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/Access.ts",
|
|
"line": 9,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"Access\"",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.templateName",
|
|
"id": 947
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
989,
|
|
990,
|
|
988,
|
|
987
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/Access.ts",
|
|
"line": 7,
|
|
"character": 27
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "TemplateBase",
|
|
"id": 945
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
986
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/Access.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1047,
|
|
"name": "\"ocean/ServiceAgreements/Templates/FitchainCompute\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"children": [
|
|
{
|
|
"id": 1048,
|
|
"name": "FitchainCompute",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 1051,
|
|
"name": "Methods",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"line": 8,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Method",
|
|
"id": 934
|
|
}
|
|
},
|
|
"defaultValue": " [\n {\n name: \"lockPayment\",\n contractName: \"PaymentConditions\",\n methodName: \"lockPayment\",\n timeout: 0,\n dependencies: [],\n dependencyTimeoutFlags: [],\n isTerminalCondition: false,\n } as Method,\n {\n name: \"grantAccess\",\n contractName: \"AccessConditions\",\n methodName: \"grantAccess\",\n timeout: 10,\n dependencies: [\"lockPayment\"],\n dependencyTimeoutFlags: [0],\n isTerminalCondition: false,\n } as Method,\n {\n name: \"releasePayment\",\n contractName: \"PaymentConditions\",\n methodName: \"releasePayment\",\n timeout: 10,\n dependencies: [\"grantAccess\"],\n dependencyTimeoutFlags: [0],\n isTerminalCondition: true,\n } as Method,\n {\n name: \"refundPayment\",\n contractName: \"PaymentConditions\",\n methodName: \"refundPayment\",\n timeout: 10,\n dependencies: [\"lockPayment\", \"grantAccess\"],\n dependencyTimeoutFlags: [0, 1],\n isTerminalCondition: true,\n } as Method,\n ]",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.Methods",
|
|
"id": 946
|
|
}
|
|
},
|
|
{
|
|
"id": 1052,
|
|
"name": "fulfillmentOperator",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 6,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "1",
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.fulfillmentOperator",
|
|
"id": 948
|
|
}
|
|
},
|
|
{
|
|
"id": 1050,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"line": 7,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6\"",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.id",
|
|
"id": 949
|
|
}
|
|
},
|
|
{
|
|
"id": 1049,
|
|
"name": "templateName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"line": 6,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"FitchainCompute\"",
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "TemplateBase.templateName",
|
|
"id": 947
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
1051,
|
|
1052,
|
|
1050,
|
|
1049
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"line": 4,
|
|
"character": 36
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "TemplateBase",
|
|
"id": 945
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
1048
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/FitchainCompute.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 944,
|
|
"name": "\"ocean/ServiceAgreements/Templates/TemplateBase\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"children": [
|
|
{
|
|
"id": 945,
|
|
"name": "TemplateBase",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true,
|
|
"isAbstract": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 946,
|
|
"name": "Methods",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 4,
|
|
"character": 18
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"name": "Method",
|
|
"id": 934
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 948,
|
|
"name": "fulfillmentOperator",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 6,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "1"
|
|
},
|
|
{
|
|
"id": 949,
|
|
"name": "id",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 7,
|
|
"character": 13
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"0x00000000000000000000000000000000000000000000000000000000000000\""
|
|
},
|
|
{
|
|
"id": 947,
|
|
"name": "templateName",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 5,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
946,
|
|
948,
|
|
949,
|
|
947
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 3,
|
|
"character": 42
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Access",
|
|
"id": 986
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "FitchainCompute",
|
|
"id": 1048
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
945
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "ocean/ServiceAgreements/Templates/TemplateBase.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 815,
|
|
"name": "\"secretstore/SecretStoreProvider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/secretstore/SecretStoreProvider.ts",
|
|
"children": [
|
|
{
|
|
"id": 816,
|
|
"name": "SecretStoreProvider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 822,
|
|
"name": "secretStore",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "secretstore/SecretStoreProvider.ts",
|
|
"line": 20,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SecretStore"
|
|
}
|
|
},
|
|
{
|
|
"id": 820,
|
|
"name": "getSecretStore",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 821,
|
|
"name": "getSecretStore",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SecretStore"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "secretstore/SecretStoreProvider.ts",
|
|
"line": 11,
|
|
"character": 32
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 817,
|
|
"name": "setSecretStore",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 818,
|
|
"name": "setSecretStore",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 819,
|
|
"name": "secretStore",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SecretStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "secretstore/SecretStoreProvider.ts",
|
|
"line": 6,
|
|
"character": 32
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
822
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
820,
|
|
817
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "secretstore/SecretStoreProvider.ts",
|
|
"line": 4,
|
|
"character": 40
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
816
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "secretstore/SecretStoreProvider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1053,
|
|
"name": "\"squid\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/squid.ts",
|
|
"children": [
|
|
{
|
|
"id": 1054,
|
|
"name": "Templates",
|
|
"kind": 2097152,
|
|
"kindString": "Object literal",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 1055,
|
|
"name": "Access",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "squid.ts",
|
|
"line": 15,
|
|
"character": 25
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Access",
|
|
"id": 986
|
|
}
|
|
},
|
|
{
|
|
"id": 1056,
|
|
"name": "FitchainCompute",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "squid.ts",
|
|
"line": 15,
|
|
"character": 42
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "FitchainCompute",
|
|
"id": 1048
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
1055,
|
|
1056
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "squid.ts",
|
|
"line": 15,
|
|
"character": 15
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "object"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Object literals",
|
|
"kind": 2097152,
|
|
"children": [
|
|
1054
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "squid.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 169,
|
|
"name": "\"utils/Logger\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/utils/Logger.ts",
|
|
"children": [
|
|
{
|
|
"id": 170,
|
|
"name": "Logger",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 174,
|
|
"name": "debug",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 175,
|
|
"name": "debug",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 176,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 6,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 183,
|
|
"name": "dispatch",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 184,
|
|
"name": "dispatch",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 185,
|
|
"name": "verb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 186,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 18,
|
|
"character": 27
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 180,
|
|
"name": "error",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 181,
|
|
"name": "error",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 182,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 14,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 171,
|
|
"name": "log",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 172,
|
|
"name": "log",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 173,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 2,
|
|
"character": 21
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 177,
|
|
"name": "warn",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 178,
|
|
"name": "warn",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 179,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 10,
|
|
"character": 22
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
174,
|
|
183,
|
|
180,
|
|
171,
|
|
177
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 1,
|
|
"character": 27
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
170
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/Logger.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 187,
|
|
"name": "\"utils/WebServiceConnector\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/utils/WebServiceConnector.ts",
|
|
"children": [
|
|
{
|
|
"id": 188,
|
|
"name": "WebServiceConnector",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"comment": {
|
|
"shortText": "Provides a common interface to web services."
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 200,
|
|
"name": "fetch",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 201,
|
|
"name": "fetch",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 202,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 203,
|
|
"name": "opts",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "RequestInit"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Response"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 37,
|
|
"character": 23
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 193,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 194,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 195,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Response"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 18,
|
|
"character": 20
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 189,
|
|
"name": "post",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 190,
|
|
"name": "post",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 191,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 192,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "BodyInit"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Response"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 8,
|
|
"character": 21
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 196,
|
|
"name": "put",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 197,
|
|
"name": "put",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 198,
|
|
"name": "url",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 199,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "BodyInit"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Promise",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "Response"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 27,
|
|
"character": 20
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
200,
|
|
193,
|
|
189,
|
|
196
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 6,
|
|
"character": 40
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
188
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnector.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 204,
|
|
"name": "\"utils/WebServiceConnectorProvider\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "/home/pedro/projects/ocean/squid-js/src/utils/WebServiceConnectorProvider.ts",
|
|
"children": [
|
|
{
|
|
"id": 205,
|
|
"name": "WebServiceConnectorProvider",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 211,
|
|
"name": "instance",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnectorProvider.ts",
|
|
"line": 18,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "WebServiceConnector",
|
|
"id": 188
|
|
},
|
|
"defaultValue": " null"
|
|
},
|
|
{
|
|
"id": 209,
|
|
"name": "getConnector",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 210,
|
|
"name": "getConnector",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "WebServiceConnector",
|
|
"id": 188
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnectorProvider.ts",
|
|
"line": 10,
|
|
"character": 30
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 206,
|
|
"name": "setConnector",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true,
|
|
"isStatic": true,
|
|
"isExported": true
|
|
},
|
|
"signatures": [
|
|
{
|
|
"id": 207,
|
|
"name": "setConnector",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 208,
|
|
"name": "connector",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "WebServiceConnector",
|
|
"id": 188
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnectorProvider.ts",
|
|
"line": 5,
|
|
"character": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"kind": 1024,
|
|
"children": [
|
|
211
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"kind": 2048,
|
|
"children": [
|
|
209,
|
|
206
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnectorProvider.ts",
|
|
"line": 3,
|
|
"character": 48
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Classes",
|
|
"kind": 128,
|
|
"children": [
|
|
205
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "utils/WebServiceConnectorProvider.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "External modules",
|
|
"kind": 1,
|
|
"children": [
|
|
13,
|
|
225,
|
|
251,
|
|
212,
|
|
218,
|
|
215,
|
|
259,
|
|
283,
|
|
71,
|
|
21,
|
|
51,
|
|
62,
|
|
76,
|
|
122,
|
|
32,
|
|
41,
|
|
36,
|
|
100,
|
|
81,
|
|
46,
|
|
25,
|
|
111,
|
|
67,
|
|
1059,
|
|
1060,
|
|
1061,
|
|
1062,
|
|
1063,
|
|
1064,
|
|
1065,
|
|
1066,
|
|
1068,
|
|
1069,
|
|
1070,
|
|
1071,
|
|
1058,
|
|
1057,
|
|
303,
|
|
903,
|
|
791,
|
|
778,
|
|
693,
|
|
298,
|
|
355,
|
|
320,
|
|
484,
|
|
745,
|
|
529,
|
|
593,
|
|
653,
|
|
402,
|
|
440,
|
|
291,
|
|
707,
|
|
1,
|
|
582,
|
|
586,
|
|
823,
|
|
478,
|
|
722,
|
|
153,
|
|
149,
|
|
991,
|
|
711,
|
|
913,
|
|
928,
|
|
923,
|
|
933,
|
|
909,
|
|
827,
|
|
950,
|
|
985,
|
|
1047,
|
|
944,
|
|
815,
|
|
1053,
|
|
169,
|
|
187,
|
|
204
|
|
]
|
|
}
|
|
]
|
|
} |