@oceanprotocol/lib 3.0.0-next.1 → 3.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/CodeExamples.md +1 -1
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/README.md +192 -0
- package/docs/classes/Aquarius.md +171 -0
- package/docs/classes/Config.md +481 -0
- package/docs/classes/ConfigHelper.md +66 -0
- package/docs/classes/Datatoken.md +1123 -0
- package/docs/classes/DfRewards.md +345 -0
- package/docs/classes/DfStrategyV1.md +313 -0
- package/docs/classes/Dispenser.md +502 -0
- package/docs/classes/FixedRateExchange.md +1068 -0
- package/docs/classes/Logger.md +191 -0
- package/docs/classes/Nft.md +970 -0
- package/docs/classes/NftFactory.md +861 -0
- package/docs/classes/Provider.md +628 -0
- package/docs/classes/Router.md +645 -0
- package/docs/classes/SmartContract.md +193 -0
- package/docs/classes/SmartContractWithAddress.md +268 -0
- package/docs/classes/VeAllocate.md +372 -0
- package/docs/classes/VeFeeDistributor.md +325 -0
- package/docs/classes/VeFeeEstimate.md +281 -0
- package/docs/classes/VeOcean.md +513 -0
- package/docs/enums/LogLevel.md +63 -0
- package/docs/interfaces/AbiInput.md +63 -0
- package/docs/interfaces/AbiItem.md +107 -0
- package/docs/interfaces/AbiOutput.md +52 -0
- package/docs/interfaces/Arweave.md +32 -0
- package/docs/interfaces/Asset.md +227 -0
- package/docs/interfaces/AssetDatatoken.md +60 -0
- package/docs/interfaces/AssetLastEvent.md +63 -0
- package/docs/interfaces/AssetNft.md +105 -0
- package/docs/interfaces/AssetPrice.md +47 -0
- package/docs/interfaces/ComputeAlgorithm.md +82 -0
- package/docs/interfaces/ComputeAsset.md +56 -0
- package/docs/interfaces/ComputeEnvironment.md +173 -0
- package/docs/interfaces/ComputeJob.md +140 -0
- package/docs/interfaces/ComputeOutput.md +118 -0
- package/docs/interfaces/ComputeResult.md +52 -0
- package/docs/interfaces/ConsumeMarketFee.md +41 -0
- package/docs/interfaces/Credential.md +30 -0
- package/docs/interfaces/Credentials.md +30 -0
- package/docs/interfaces/DDO.md +137 -0
- package/docs/interfaces/DatatokenCreateParams.md +107 -0
- package/docs/interfaces/DatatokenRoles.md +30 -0
- package/docs/interfaces/DispenserCreationParams.md +63 -0
- package/docs/interfaces/DispenserParams.md +52 -0
- package/docs/interfaces/DispenserToken.md +85 -0
- package/docs/interfaces/DownloadResponse.md +30 -0
- package/docs/interfaces/Event.md +73 -0
- package/docs/interfaces/FeesInfo.md +74 -0
- package/docs/interfaces/FileInfo.md +118 -0
- package/docs/interfaces/Files.md +41 -0
- package/docs/interfaces/FixedPriceExchange.md +162 -0
- package/docs/interfaces/FreCreationParams.md +118 -0
- package/docs/interfaces/FreOrderParams.md +85 -0
- package/docs/interfaces/GraphqlQuery.md +69 -0
- package/docs/interfaces/Ipfs.md +32 -0
- package/docs/interfaces/Metadata.md +193 -0
- package/docs/interfaces/MetadataAlgorithm.md +69 -0
- package/docs/interfaces/MetadataAndTokenURI.md +107 -0
- package/docs/interfaces/MetadataProof.md +52 -0
- package/docs/interfaces/NftCreateData.md +74 -0
- package/docs/interfaces/NftRoles.md +52 -0
- package/docs/interfaces/Operation.md +145 -0
- package/docs/interfaces/OrderParams.md +52 -0
- package/docs/interfaces/PriceAndFees.md +52 -0
- package/docs/interfaces/ProviderComputeInitialize.md +41 -0
- package/docs/interfaces/ProviderComputeInitializeResults.md +30 -0
- package/docs/interfaces/ProviderFees.md +96 -0
- package/docs/interfaces/ProviderInitialize.md +52 -0
- package/docs/interfaces/PublisherTrustedAlgorithm.md +47 -0
- package/docs/interfaces/PublishingMarketFee.md +41 -0
- package/docs/interfaces/Purgatory.md +34 -0
- package/docs/interfaces/SearchQuery.md +67 -0
- package/docs/interfaces/Service.md +138 -0
- package/docs/interfaces/ServiceComputeOptions.md +63 -0
- package/docs/interfaces/ServiceEndpoint.md +41 -0
- package/docs/interfaces/Smartcontract-1.md +58 -0
- package/docs/interfaces/Stats.md +47 -0
- package/docs/interfaces/Template.md +30 -0
- package/docs/interfaces/TokenOrder.md +63 -0
- package/docs/interfaces/UrlFile.md +71 -0
- package/docs/interfaces/UserCustomParameters.md +7 -0
- package/docs/interfaces/ValidateMetadata.md +52 -0
- package/docs/modules.md +856 -0
- package/package.json +7 -8
- package/typedoc.json +4 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeAlgorithm
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeAlgorithm
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [algocustomdata](ComputeAlgorithm.md#algocustomdata)
|
|
10
|
+
- [documentId](ComputeAlgorithm.md#documentid)
|
|
11
|
+
- [meta](ComputeAlgorithm.md#meta)
|
|
12
|
+
- [serviceId](ComputeAlgorithm.md#serviceid)
|
|
13
|
+
- [transferTxId](ComputeAlgorithm.md#transfertxid)
|
|
14
|
+
- [userdata](ComputeAlgorithm.md#userdata)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### algocustomdata
|
|
19
|
+
|
|
20
|
+
• `Optional` **algocustomdata**: `Object`
|
|
21
|
+
|
|
22
|
+
#### Index signature
|
|
23
|
+
|
|
24
|
+
▪ [key: `string`]: `any`
|
|
25
|
+
|
|
26
|
+
#### Defined in
|
|
27
|
+
|
|
28
|
+
[@types/Compute.ts:74](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L74)
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### documentId
|
|
33
|
+
|
|
34
|
+
• `Optional` **documentId**: `string`
|
|
35
|
+
|
|
36
|
+
#### Defined in
|
|
37
|
+
|
|
38
|
+
[@types/Compute.ts:70](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L70)
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### meta
|
|
43
|
+
|
|
44
|
+
• `Optional` **meta**: [`MetadataAlgorithm`](MetadataAlgorithm.md)
|
|
45
|
+
|
|
46
|
+
#### Defined in
|
|
47
|
+
|
|
48
|
+
[@types/Compute.ts:72](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L72)
|
|
49
|
+
|
|
50
|
+
___
|
|
51
|
+
|
|
52
|
+
### serviceId
|
|
53
|
+
|
|
54
|
+
• `Optional` **serviceId**: `string`
|
|
55
|
+
|
|
56
|
+
#### Defined in
|
|
57
|
+
|
|
58
|
+
[@types/Compute.ts:71](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L71)
|
|
59
|
+
|
|
60
|
+
___
|
|
61
|
+
|
|
62
|
+
### transferTxId
|
|
63
|
+
|
|
64
|
+
• `Optional` **transferTxId**: `string`
|
|
65
|
+
|
|
66
|
+
#### Defined in
|
|
67
|
+
|
|
68
|
+
[@types/Compute.ts:73](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L73)
|
|
69
|
+
|
|
70
|
+
___
|
|
71
|
+
|
|
72
|
+
### userdata
|
|
73
|
+
|
|
74
|
+
• `Optional` **userdata**: `Object`
|
|
75
|
+
|
|
76
|
+
#### Index signature
|
|
77
|
+
|
|
78
|
+
▪ [key: `string`]: `any`
|
|
79
|
+
|
|
80
|
+
#### Defined in
|
|
81
|
+
|
|
82
|
+
[@types/Compute.ts:75](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L75)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeAsset
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeAsset
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [documentId](ComputeAsset.md#documentid)
|
|
10
|
+
- [serviceId](ComputeAsset.md#serviceid)
|
|
11
|
+
- [transferTxId](ComputeAsset.md#transfertxid)
|
|
12
|
+
- [userdata](ComputeAsset.md#userdata)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### documentId
|
|
17
|
+
|
|
18
|
+
• **documentId**: `string`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[@types/Compute.ts:63](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L63)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### serviceId
|
|
27
|
+
|
|
28
|
+
• **serviceId**: `string`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[@types/Compute.ts:64](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L64)
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### transferTxId
|
|
37
|
+
|
|
38
|
+
• `Optional` **transferTxId**: `string`
|
|
39
|
+
|
|
40
|
+
#### Defined in
|
|
41
|
+
|
|
42
|
+
[@types/Compute.ts:65](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L65)
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### userdata
|
|
47
|
+
|
|
48
|
+
• `Optional` **userdata**: `Object`
|
|
49
|
+
|
|
50
|
+
#### Index signature
|
|
51
|
+
|
|
52
|
+
▪ [key: `string`]: `any`
|
|
53
|
+
|
|
54
|
+
#### Defined in
|
|
55
|
+
|
|
56
|
+
[@types/Compute.ts:66](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L66)
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeEnvironment
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeEnvironment
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [consumerAddress](ComputeEnvironment.md#consumeraddress)
|
|
10
|
+
- [cpuNumber](ComputeEnvironment.md#cpunumber)
|
|
11
|
+
- [cpuType](ComputeEnvironment.md#cputype)
|
|
12
|
+
- [currentJobs](ComputeEnvironment.md#currentjobs)
|
|
13
|
+
- [desc](ComputeEnvironment.md#desc)
|
|
14
|
+
- [diskGB](ComputeEnvironment.md#diskgb)
|
|
15
|
+
- [gpuNumber](ComputeEnvironment.md#gpunumber)
|
|
16
|
+
- [gpuType](ComputeEnvironment.md#gputype)
|
|
17
|
+
- [id](ComputeEnvironment.md#id)
|
|
18
|
+
- [lastSeen](ComputeEnvironment.md#lastseen)
|
|
19
|
+
- [maxJobDuration](ComputeEnvironment.md#maxjobduration)
|
|
20
|
+
- [maxJobs](ComputeEnvironment.md#maxjobs)
|
|
21
|
+
- [priceMin](ComputeEnvironment.md#pricemin)
|
|
22
|
+
- [ramGB](ComputeEnvironment.md#ramgb)
|
|
23
|
+
- [storageExpiry](ComputeEnvironment.md#storageexpiry)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### consumerAddress
|
|
28
|
+
|
|
29
|
+
• **consumerAddress**: `string`
|
|
30
|
+
|
|
31
|
+
#### Defined in
|
|
32
|
+
|
|
33
|
+
[@types/Compute.ts:21](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L21)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### cpuNumber
|
|
38
|
+
|
|
39
|
+
• **cpuNumber**: `number`
|
|
40
|
+
|
|
41
|
+
#### Defined in
|
|
42
|
+
|
|
43
|
+
[@types/Compute.ts:11](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L11)
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### cpuType
|
|
48
|
+
|
|
49
|
+
• **cpuType**: `string`
|
|
50
|
+
|
|
51
|
+
#### Defined in
|
|
52
|
+
|
|
53
|
+
[@types/Compute.ts:12](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L12)
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### currentJobs
|
|
58
|
+
|
|
59
|
+
• **currentJobs**: `number`
|
|
60
|
+
|
|
61
|
+
#### Defined in
|
|
62
|
+
|
|
63
|
+
[@types/Compute.ts:19](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L19)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### desc
|
|
68
|
+
|
|
69
|
+
• **desc**: `string`
|
|
70
|
+
|
|
71
|
+
#### Defined in
|
|
72
|
+
|
|
73
|
+
[@types/Compute.ts:18](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L18)
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### diskGB
|
|
78
|
+
|
|
79
|
+
• **diskGB**: `number`
|
|
80
|
+
|
|
81
|
+
#### Defined in
|
|
82
|
+
|
|
83
|
+
[@types/Compute.ts:16](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L16)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### gpuNumber
|
|
88
|
+
|
|
89
|
+
• **gpuNumber**: `number`
|
|
90
|
+
|
|
91
|
+
#### Defined in
|
|
92
|
+
|
|
93
|
+
[@types/Compute.ts:13](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L13)
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### gpuType
|
|
98
|
+
|
|
99
|
+
• **gpuType**: `string`
|
|
100
|
+
|
|
101
|
+
#### Defined in
|
|
102
|
+
|
|
103
|
+
[@types/Compute.ts:14](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L14)
|
|
104
|
+
|
|
105
|
+
___
|
|
106
|
+
|
|
107
|
+
### id
|
|
108
|
+
|
|
109
|
+
• **id**: `string`
|
|
110
|
+
|
|
111
|
+
#### Defined in
|
|
112
|
+
|
|
113
|
+
[@types/Compute.ts:10](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L10)
|
|
114
|
+
|
|
115
|
+
___
|
|
116
|
+
|
|
117
|
+
### lastSeen
|
|
118
|
+
|
|
119
|
+
• **lastSeen**: `number`
|
|
120
|
+
|
|
121
|
+
#### Defined in
|
|
122
|
+
|
|
123
|
+
[@types/Compute.ts:24](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L24)
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### maxJobDuration
|
|
128
|
+
|
|
129
|
+
• **maxJobDuration**: `number`
|
|
130
|
+
|
|
131
|
+
#### Defined in
|
|
132
|
+
|
|
133
|
+
[@types/Compute.ts:23](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L23)
|
|
134
|
+
|
|
135
|
+
___
|
|
136
|
+
|
|
137
|
+
### maxJobs
|
|
138
|
+
|
|
139
|
+
• **maxJobs**: `number`
|
|
140
|
+
|
|
141
|
+
#### Defined in
|
|
142
|
+
|
|
143
|
+
[@types/Compute.ts:20](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L20)
|
|
144
|
+
|
|
145
|
+
___
|
|
146
|
+
|
|
147
|
+
### priceMin
|
|
148
|
+
|
|
149
|
+
• **priceMin**: `number`
|
|
150
|
+
|
|
151
|
+
#### Defined in
|
|
152
|
+
|
|
153
|
+
[@types/Compute.ts:17](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L17)
|
|
154
|
+
|
|
155
|
+
___
|
|
156
|
+
|
|
157
|
+
### ramGB
|
|
158
|
+
|
|
159
|
+
• **ramGB**: `number`
|
|
160
|
+
|
|
161
|
+
#### Defined in
|
|
162
|
+
|
|
163
|
+
[@types/Compute.ts:15](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L15)
|
|
164
|
+
|
|
165
|
+
___
|
|
166
|
+
|
|
167
|
+
### storageExpiry
|
|
168
|
+
|
|
169
|
+
• **storageExpiry**: `number`
|
|
170
|
+
|
|
171
|
+
#### Defined in
|
|
172
|
+
|
|
173
|
+
[@types/Compute.ts:22](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L22)
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeJob
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeJob
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [agreementId](ComputeJob.md#agreementid)
|
|
10
|
+
- [algoDID](ComputeJob.md#algodid)
|
|
11
|
+
- [dateCreated](ComputeJob.md#datecreated)
|
|
12
|
+
- [dateFinished](ComputeJob.md#datefinished)
|
|
13
|
+
- [did](ComputeJob.md#did)
|
|
14
|
+
- [expireTimestamp](ComputeJob.md#expiretimestamp)
|
|
15
|
+
- [inputDID](ComputeJob.md#inputdid)
|
|
16
|
+
- [jobId](ComputeJob.md#jobid)
|
|
17
|
+
- [owner](ComputeJob.md#owner)
|
|
18
|
+
- [results](ComputeJob.md#results)
|
|
19
|
+
- [status](ComputeJob.md#status)
|
|
20
|
+
- [statusText](ComputeJob.md#statustext)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### agreementId
|
|
25
|
+
|
|
26
|
+
• `Optional` **agreementId**: `string`
|
|
27
|
+
|
|
28
|
+
#### Defined in
|
|
29
|
+
|
|
30
|
+
[@types/Compute.ts:45](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L45)
|
|
31
|
+
|
|
32
|
+
___
|
|
33
|
+
|
|
34
|
+
### algoDID
|
|
35
|
+
|
|
36
|
+
• `Optional` **algoDID**: `string`
|
|
37
|
+
|
|
38
|
+
#### Defined in
|
|
39
|
+
|
|
40
|
+
[@types/Compute.ts:44](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L44)
|
|
41
|
+
|
|
42
|
+
___
|
|
43
|
+
|
|
44
|
+
### dateCreated
|
|
45
|
+
|
|
46
|
+
• **dateCreated**: `string`
|
|
47
|
+
|
|
48
|
+
#### Defined in
|
|
49
|
+
|
|
50
|
+
[@types/Compute.ts:38](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L38)
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
54
|
+
### dateFinished
|
|
55
|
+
|
|
56
|
+
• **dateFinished**: `string`
|
|
57
|
+
|
|
58
|
+
#### Defined in
|
|
59
|
+
|
|
60
|
+
[@types/Compute.ts:39](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L39)
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### did
|
|
65
|
+
|
|
66
|
+
• `Optional` **did**: `string`
|
|
67
|
+
|
|
68
|
+
#### Defined in
|
|
69
|
+
|
|
70
|
+
[@types/Compute.ts:36](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L36)
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### expireTimestamp
|
|
75
|
+
|
|
76
|
+
• **expireTimestamp**: `number`
|
|
77
|
+
|
|
78
|
+
#### Defined in
|
|
79
|
+
|
|
80
|
+
[@types/Compute.ts:46](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L46)
|
|
81
|
+
|
|
82
|
+
___
|
|
83
|
+
|
|
84
|
+
### inputDID
|
|
85
|
+
|
|
86
|
+
• `Optional` **inputDID**: `string`[]
|
|
87
|
+
|
|
88
|
+
#### Defined in
|
|
89
|
+
|
|
90
|
+
[@types/Compute.ts:43](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L43)
|
|
91
|
+
|
|
92
|
+
___
|
|
93
|
+
|
|
94
|
+
### jobId
|
|
95
|
+
|
|
96
|
+
• **jobId**: `string`
|
|
97
|
+
|
|
98
|
+
#### Defined in
|
|
99
|
+
|
|
100
|
+
[@types/Compute.ts:37](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L37)
|
|
101
|
+
|
|
102
|
+
___
|
|
103
|
+
|
|
104
|
+
### owner
|
|
105
|
+
|
|
106
|
+
• **owner**: `string`
|
|
107
|
+
|
|
108
|
+
#### Defined in
|
|
109
|
+
|
|
110
|
+
[@types/Compute.ts:35](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L35)
|
|
111
|
+
|
|
112
|
+
___
|
|
113
|
+
|
|
114
|
+
### results
|
|
115
|
+
|
|
116
|
+
• **results**: [`ComputeResult`](ComputeResult.md)[]
|
|
117
|
+
|
|
118
|
+
#### Defined in
|
|
119
|
+
|
|
120
|
+
[@types/Compute.ts:42](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L42)
|
|
121
|
+
|
|
122
|
+
___
|
|
123
|
+
|
|
124
|
+
### status
|
|
125
|
+
|
|
126
|
+
• **status**: `number`
|
|
127
|
+
|
|
128
|
+
#### Defined in
|
|
129
|
+
|
|
130
|
+
[@types/Compute.ts:40](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L40)
|
|
131
|
+
|
|
132
|
+
___
|
|
133
|
+
|
|
134
|
+
### statusText
|
|
135
|
+
|
|
136
|
+
• **statusText**: `string`
|
|
137
|
+
|
|
138
|
+
#### Defined in
|
|
139
|
+
|
|
140
|
+
[@types/Compute.ts:41](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L41)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeOutput
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeOutput
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [metadata](ComputeOutput.md#metadata)
|
|
10
|
+
- [metadataUri](ComputeOutput.md#metadatauri)
|
|
11
|
+
- [nodeUri](ComputeOutput.md#nodeuri)
|
|
12
|
+
- [owner](ComputeOutput.md#owner)
|
|
13
|
+
- [providerAddress](ComputeOutput.md#provideraddress)
|
|
14
|
+
- [providerUri](ComputeOutput.md#provideruri)
|
|
15
|
+
- [publishAlgorithmLog](ComputeOutput.md#publishalgorithmlog)
|
|
16
|
+
- [publishOutput](ComputeOutput.md#publishoutput)
|
|
17
|
+
- [secretStoreUri](ComputeOutput.md#secretstoreuri)
|
|
18
|
+
- [whitelist](ComputeOutput.md#whitelist)
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### metadata
|
|
23
|
+
|
|
24
|
+
• `Optional` **metadata**: [`Metadata`](Metadata.md)
|
|
25
|
+
|
|
26
|
+
#### Defined in
|
|
27
|
+
|
|
28
|
+
[@types/Compute.ts:54](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L54)
|
|
29
|
+
|
|
30
|
+
___
|
|
31
|
+
|
|
32
|
+
### metadataUri
|
|
33
|
+
|
|
34
|
+
• `Optional` **metadataUri**: `string`
|
|
35
|
+
|
|
36
|
+
#### Defined in
|
|
37
|
+
|
|
38
|
+
[@types/Compute.ts:55](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L55)
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### nodeUri
|
|
43
|
+
|
|
44
|
+
• `Optional` **nodeUri**: `string`
|
|
45
|
+
|
|
46
|
+
#### Defined in
|
|
47
|
+
|
|
48
|
+
[@types/Compute.ts:56](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L56)
|
|
49
|
+
|
|
50
|
+
___
|
|
51
|
+
|
|
52
|
+
### owner
|
|
53
|
+
|
|
54
|
+
• `Optional` **owner**: `string`
|
|
55
|
+
|
|
56
|
+
#### Defined in
|
|
57
|
+
|
|
58
|
+
[@types/Compute.ts:57](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L57)
|
|
59
|
+
|
|
60
|
+
___
|
|
61
|
+
|
|
62
|
+
### providerAddress
|
|
63
|
+
|
|
64
|
+
• `Optional` **providerAddress**: `string`
|
|
65
|
+
|
|
66
|
+
#### Defined in
|
|
67
|
+
|
|
68
|
+
[@types/Compute.ts:52](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L52)
|
|
69
|
+
|
|
70
|
+
___
|
|
71
|
+
|
|
72
|
+
### providerUri
|
|
73
|
+
|
|
74
|
+
• `Optional` **providerUri**: `string`
|
|
75
|
+
|
|
76
|
+
#### Defined in
|
|
77
|
+
|
|
78
|
+
[@types/Compute.ts:53](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L53)
|
|
79
|
+
|
|
80
|
+
___
|
|
81
|
+
|
|
82
|
+
### publishAlgorithmLog
|
|
83
|
+
|
|
84
|
+
• `Optional` **publishAlgorithmLog**: `boolean`
|
|
85
|
+
|
|
86
|
+
#### Defined in
|
|
87
|
+
|
|
88
|
+
[@types/Compute.ts:50](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L50)
|
|
89
|
+
|
|
90
|
+
___
|
|
91
|
+
|
|
92
|
+
### publishOutput
|
|
93
|
+
|
|
94
|
+
• `Optional` **publishOutput**: `boolean`
|
|
95
|
+
|
|
96
|
+
#### Defined in
|
|
97
|
+
|
|
98
|
+
[@types/Compute.ts:51](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L51)
|
|
99
|
+
|
|
100
|
+
___
|
|
101
|
+
|
|
102
|
+
### secretStoreUri
|
|
103
|
+
|
|
104
|
+
• `Optional` **secretStoreUri**: `string`
|
|
105
|
+
|
|
106
|
+
#### Defined in
|
|
107
|
+
|
|
108
|
+
[@types/Compute.ts:58](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L58)
|
|
109
|
+
|
|
110
|
+
___
|
|
111
|
+
|
|
112
|
+
### whitelist
|
|
113
|
+
|
|
114
|
+
• `Optional` **whitelist**: `string`[]
|
|
115
|
+
|
|
116
|
+
#### Defined in
|
|
117
|
+
|
|
118
|
+
[@types/Compute.ts:59](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L59)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ComputeResult
|
|
2
|
+
|
|
3
|
+
# Interface: ComputeResult
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [filename](ComputeResult.md#filename)
|
|
10
|
+
- [filesize](ComputeResult.md#filesize)
|
|
11
|
+
- [index](ComputeResult.md#index)
|
|
12
|
+
- [type](ComputeResult.md#type)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### filename
|
|
17
|
+
|
|
18
|
+
• **filename**: `string`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[@types/Compute.ts:28](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L28)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### filesize
|
|
27
|
+
|
|
28
|
+
• **filesize**: `number`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[@types/Compute.ts:29](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L29)
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### index
|
|
37
|
+
|
|
38
|
+
• `Optional` **index**: `number`
|
|
39
|
+
|
|
40
|
+
#### Defined in
|
|
41
|
+
|
|
42
|
+
[@types/Compute.ts:31](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L31)
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### type
|
|
47
|
+
|
|
48
|
+
• **type**: [`ComputeResultType`](../modules.md#computeresulttype)
|
|
49
|
+
|
|
50
|
+
#### Defined in
|
|
51
|
+
|
|
52
|
+
[@types/Compute.ts:30](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Compute.ts#L30)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ConsumeMarketFee
|
|
2
|
+
|
|
3
|
+
# Interface: ConsumeMarketFee
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [consumeMarketFeeAddress](ConsumeMarketFee.md#consumemarketfeeaddress)
|
|
10
|
+
- [consumeMarketFeeAmount](ConsumeMarketFee.md#consumemarketfeeamount)
|
|
11
|
+
- [consumeMarketFeeToken](ConsumeMarketFee.md#consumemarketfeetoken)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### consumeMarketFeeAddress
|
|
16
|
+
|
|
17
|
+
• **consumeMarketFeeAddress**: `string`
|
|
18
|
+
|
|
19
|
+
#### Defined in
|
|
20
|
+
|
|
21
|
+
[@types/Datatoken.ts:16](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Datatoken.ts#L16)
|
|
22
|
+
|
|
23
|
+
___
|
|
24
|
+
|
|
25
|
+
### consumeMarketFeeAmount
|
|
26
|
+
|
|
27
|
+
• **consumeMarketFeeAmount**: `string`
|
|
28
|
+
|
|
29
|
+
#### Defined in
|
|
30
|
+
|
|
31
|
+
[@types/Datatoken.ts:18](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Datatoken.ts#L18)
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### consumeMarketFeeToken
|
|
36
|
+
|
|
37
|
+
• **consumeMarketFeeToken**: `string`
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[@types/Datatoken.ts:17](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Datatoken.ts#L17)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Credential
|
|
2
|
+
|
|
3
|
+
# Interface: Credential
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [type](Credential.md#type)
|
|
10
|
+
- [values](Credential.md#values)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### type
|
|
15
|
+
|
|
16
|
+
• **type**: `string`
|
|
17
|
+
|
|
18
|
+
#### Defined in
|
|
19
|
+
|
|
20
|
+
[@types/DDO/Credentials.ts:2](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Credentials.ts#L2)
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### values
|
|
25
|
+
|
|
26
|
+
• **values**: `string`[]
|
|
27
|
+
|
|
28
|
+
#### Defined in
|
|
29
|
+
|
|
30
|
+
[@types/DDO/Credentials.ts:3](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Credentials.ts#L3)
|