@oceanprotocol/lib 7.0.0-next.5 → 7.0.0-next.7
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/dist/lib.cjs +2 -2
- package/dist/lib.module.mjs +3 -3
- package/dist/lib.umd.js +2 -2
- package/dist/types/@types/Compute.d.ts +21 -0
- package/dist/types/@types/Provider.d.ts +39 -0
- package/dist/types/services/providers/BaseProvider.d.ts +3 -1
- package/dist/types/services/providers/HttpProvider.d.ts +3 -1
- package/dist/types/services/providers/P2pProvider.d.ts +3 -1
- package/package.json +7 -1
- package/.mocharc.json +0 -8
- package/.nvmrc +0 -1
- package/CHANGELOG.md +0 -3263
- package/Cheatsheet.md +0 -326
- package/CodeExamples.md +0 -881
- package/ComputeExamples.md +0 -941
- package/dist/lib.cjs.map +0 -1
- package/dist/lib.module.mjs.map +0 -1
- package/dist/lib.umd.js.map +0 -1
- package/docs/.nojekyll +0 -1
- package/docs/README.md +0 -195
- package/docs/classes/Aquarius.md +0 -175
- package/docs/classes/Config.md +0 -481
- package/docs/classes/ConfigHelper.md +0 -66
- package/docs/classes/Datatoken.md +0 -1123
- package/docs/classes/Dispenser.md +0 -502
- package/docs/classes/Escrow.md +0 -285
- package/docs/classes/FixedRateExchange.md +0 -1068
- package/docs/classes/Logger.md +0 -191
- package/docs/classes/Nft.md +0 -970
- package/docs/classes/NftFactory.md +0 -861
- package/docs/classes/Provider.md +0 -727
- package/docs/classes/Router.md +0 -645
- package/docs/classes/SmartContract.md +0 -193
- package/docs/classes/SmartContractWithAddress.md +0 -268
- package/docs/enums/LogLevel.md +0 -63
- package/docs/interfaces/AbiInput.md +0 -63
- package/docs/interfaces/AbiItem.md +0 -107
- package/docs/interfaces/AbiOutput.md +0 -52
- package/docs/interfaces/Arweave.md +0 -32
- package/docs/interfaces/Asset.md +0 -227
- package/docs/interfaces/AssetDatatoken.md +0 -60
- package/docs/interfaces/AssetLastEvent.md +0 -63
- package/docs/interfaces/AssetNft.md +0 -105
- package/docs/interfaces/AssetPrice.md +0 -47
- package/docs/interfaces/ComputeAlgorithm.md +0 -82
- package/docs/interfaces/ComputeAsset.md +0 -56
- package/docs/interfaces/ComputeEnvFees.md +0 -30
- package/docs/interfaces/ComputeEnvFeesStructure.md +0 -20
- package/docs/interfaces/ComputeEnvironment.md +0 -177
- package/docs/interfaces/ComputeJob.md +0 -173
- package/docs/interfaces/ComputeOutput.md +0 -118
- package/docs/interfaces/ComputeResourcesPricingInfo.md +0 -30
- package/docs/interfaces/ComputeResourcesRequest.md +0 -34
- package/docs/interfaces/ComputeResult.md +0 -52
- package/docs/interfaces/ConsumeMarketFee.md +0 -41
- package/docs/interfaces/Credential.md +0 -30
- package/docs/interfaces/Credentials.md +0 -30
- package/docs/interfaces/DDO.md +0 -137
- package/docs/interfaces/DatatokenCreateParams.md +0 -107
- package/docs/interfaces/DatatokenRoles.md +0 -30
- package/docs/interfaces/DispenserCreationParams.md +0 -63
- package/docs/interfaces/DispenserParams.md +0 -52
- package/docs/interfaces/DispenserToken.md +0 -85
- package/docs/interfaces/DownloadResponse.md +0 -30
- package/docs/interfaces/Event.md +0 -73
- package/docs/interfaces/FeesInfo.md +0 -74
- package/docs/interfaces/FileInfo.md +0 -118
- package/docs/interfaces/Files.md +0 -41
- package/docs/interfaces/FixedPriceExchange.md +0 -162
- package/docs/interfaces/FreCreationParams.md +0 -118
- package/docs/interfaces/FreOrderParams.md +0 -85
- package/docs/interfaces/GraphqlQuery.md +0 -69
- package/docs/interfaces/Ipfs.md +0 -32
- package/docs/interfaces/Metadata.md +0 -193
- package/docs/interfaces/MetadataAlgorithm.md +0 -69
- package/docs/interfaces/MetadataAndTokenURI.md +0 -107
- package/docs/interfaces/MetadataProof.md +0 -52
- package/docs/interfaces/NftCreateData.md +0 -74
- package/docs/interfaces/NftRoles.md +0 -52
- package/docs/interfaces/Operation.md +0 -145
- package/docs/interfaces/OrderParams.md +0 -52
- package/docs/interfaces/PriceAndFees.md +0 -52
- package/docs/interfaces/ProviderComputeInitialize.md +0 -41
- package/docs/interfaces/ProviderComputeInitializeResults.md +0 -43
- package/docs/interfaces/ProviderFees.md +0 -96
- package/docs/interfaces/ProviderInitialize.md +0 -52
- package/docs/interfaces/PublisherTrustedAlgorithm.md +0 -47
- package/docs/interfaces/PublishingMarketFee.md +0 -41
- package/docs/interfaces/Purgatory.md +0 -34
- package/docs/interfaces/RunningPlatform.md +0 -30
- package/docs/interfaces/SearchQuery.md +0 -67
- package/docs/interfaces/Service.md +0 -138
- package/docs/interfaces/ServiceComputeOptions.md +0 -63
- package/docs/interfaces/ServiceEndpoint.md +0 -41
- package/docs/interfaces/Smartcontract-1.md +0 -58
- package/docs/interfaces/Stats.md +0 -47
- package/docs/interfaces/Template.md +0 -30
- package/docs/interfaces/TokenOrder.md +0 -63
- package/docs/interfaces/UrlFile.md +0 -71
- package/docs/interfaces/UserCustomParameters.md +0 -7
- package/docs/interfaces/ValidateMetadata.md +0 -52
- package/docs/modules.md +0 -850
- package/typedoc.json +0 -4
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / FeesInfo
|
|
2
|
-
|
|
3
|
-
# Interface: FeesInfo
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [exchangeId](FeesInfo.md#exchangeid)
|
|
10
|
-
- [marketFee](FeesInfo.md#marketfee)
|
|
11
|
-
- [marketFeeAvailable](FeesInfo.md#marketfeeavailable)
|
|
12
|
-
- [marketFeeCollector](FeesInfo.md#marketfeecollector)
|
|
13
|
-
- [oceanFeeAvailable](FeesInfo.md#oceanfeeavailable)
|
|
14
|
-
- [opcFee](FeesInfo.md#opcfee)
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
### exchangeId
|
|
19
|
-
|
|
20
|
-
• **exchangeId**: `string`
|
|
21
|
-
|
|
22
|
-
#### Defined in
|
|
23
|
-
|
|
24
|
-
[@types/FixedPrice.ts:54](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L54)
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### marketFee
|
|
29
|
-
|
|
30
|
-
• **marketFee**: `string`
|
|
31
|
-
|
|
32
|
-
#### Defined in
|
|
33
|
-
|
|
34
|
-
[@types/FixedPrice.ts:50](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L50)
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### marketFeeAvailable
|
|
39
|
-
|
|
40
|
-
• **marketFeeAvailable**: `string`
|
|
41
|
-
|
|
42
|
-
#### Defined in
|
|
43
|
-
|
|
44
|
-
[@types/FixedPrice.ts:52](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L52)
|
|
45
|
-
|
|
46
|
-
___
|
|
47
|
-
|
|
48
|
-
### marketFeeCollector
|
|
49
|
-
|
|
50
|
-
• **marketFeeCollector**: `string`
|
|
51
|
-
|
|
52
|
-
#### Defined in
|
|
53
|
-
|
|
54
|
-
[@types/FixedPrice.ts:51](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L51)
|
|
55
|
-
|
|
56
|
-
___
|
|
57
|
-
|
|
58
|
-
### oceanFeeAvailable
|
|
59
|
-
|
|
60
|
-
• **oceanFeeAvailable**: `string`
|
|
61
|
-
|
|
62
|
-
#### Defined in
|
|
63
|
-
|
|
64
|
-
[@types/FixedPrice.ts:53](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L53)
|
|
65
|
-
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### opcFee
|
|
69
|
-
|
|
70
|
-
• **opcFee**: `string`
|
|
71
|
-
|
|
72
|
-
#### Defined in
|
|
73
|
-
|
|
74
|
-
[@types/FixedPrice.ts:49](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L49)
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / FileInfo
|
|
2
|
-
|
|
3
|
-
# Interface: FileInfo
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [checksum](FileInfo.md#checksum)
|
|
10
|
-
- [contentLength](FileInfo.md#contentlength)
|
|
11
|
-
- [contentType](FileInfo.md#contenttype)
|
|
12
|
-
- [index](FileInfo.md#index)
|
|
13
|
-
- [method](FileInfo.md#method)
|
|
14
|
-
- [type](FileInfo.md#type)
|
|
15
|
-
- [url](FileInfo.md#url)
|
|
16
|
-
- [valid](FileInfo.md#valid)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### checksum
|
|
21
|
-
|
|
22
|
-
• `Optional` **checksum**: `string`
|
|
23
|
-
|
|
24
|
-
Computed file checksum
|
|
25
|
-
|
|
26
|
-
#### Defined in
|
|
27
|
-
|
|
28
|
-
[@types/FileInfo.ts:43](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L43)
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### contentLength
|
|
33
|
-
|
|
34
|
-
• `Optional` **contentLength**: `string`
|
|
35
|
-
|
|
36
|
-
File content length.
|
|
37
|
-
|
|
38
|
-
#### Defined in
|
|
39
|
-
|
|
40
|
-
[@types/FileInfo.ts:19](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L19)
|
|
41
|
-
|
|
42
|
-
___
|
|
43
|
-
|
|
44
|
-
### contentType
|
|
45
|
-
|
|
46
|
-
• `Optional` **contentType**: `string`
|
|
47
|
-
|
|
48
|
-
File format, if applicable.
|
|
49
|
-
|
|
50
|
-
**`Example`**
|
|
51
|
-
|
|
52
|
-
```ts
|
|
53
|
-
"text/csv"
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[@types/FileInfo.ts:13](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L13)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### index
|
|
63
|
-
|
|
64
|
-
• `Optional` **index**: `number`
|
|
65
|
-
|
|
66
|
-
File index.
|
|
67
|
-
|
|
68
|
-
#### Defined in
|
|
69
|
-
|
|
70
|
-
[@types/FileInfo.ts:25](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L25)
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### method
|
|
75
|
-
|
|
76
|
-
• `Optional` **method**: `string`
|
|
77
|
-
|
|
78
|
-
HTTP method used
|
|
79
|
-
|
|
80
|
-
#### Defined in
|
|
81
|
-
|
|
82
|
-
[@types/FileInfo.ts:37](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L37)
|
|
83
|
-
|
|
84
|
-
___
|
|
85
|
-
|
|
86
|
-
### type
|
|
87
|
-
|
|
88
|
-
• **type**: `string`
|
|
89
|
-
|
|
90
|
-
File URL.
|
|
91
|
-
|
|
92
|
-
#### Defined in
|
|
93
|
-
|
|
94
|
-
[@types/FileInfo.ts:6](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L6)
|
|
95
|
-
|
|
96
|
-
___
|
|
97
|
-
|
|
98
|
-
### url
|
|
99
|
-
|
|
100
|
-
• `Optional` **url**: `string`
|
|
101
|
-
|
|
102
|
-
File URL.
|
|
103
|
-
|
|
104
|
-
#### Defined in
|
|
105
|
-
|
|
106
|
-
[@types/FileInfo.ts:31](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L31)
|
|
107
|
-
|
|
108
|
-
___
|
|
109
|
-
|
|
110
|
-
### valid
|
|
111
|
-
|
|
112
|
-
• `Optional` **valid**: `boolean`
|
|
113
|
-
|
|
114
|
-
check if file exists
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
[@types/FileInfo.ts:49](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FileInfo.ts#L49)
|
package/docs/interfaces/Files.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Files
|
|
2
|
-
|
|
3
|
-
# Interface: Files
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [datatokenAddress](Files.md#datatokenaddress)
|
|
10
|
-
- [files](Files.md#files)
|
|
11
|
-
- [nftAddress](Files.md#nftaddress)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### datatokenAddress
|
|
16
|
-
|
|
17
|
-
• **datatokenAddress**: `string`
|
|
18
|
-
|
|
19
|
-
#### Defined in
|
|
20
|
-
|
|
21
|
-
[@types/File.ts:105](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L105)
|
|
22
|
-
|
|
23
|
-
___
|
|
24
|
-
|
|
25
|
-
### files
|
|
26
|
-
|
|
27
|
-
• **files**: [`UrlFile`](UrlFile.md)[] \| [`GraphqlQuery`](GraphqlQuery.md)[] \| [`Arweave`](Arweave.md)[] \| [`Smartcontract`](Smartcontract-1.md)[] \| [`Ipfs`](Ipfs.md)[]
|
|
28
|
-
|
|
29
|
-
#### Defined in
|
|
30
|
-
|
|
31
|
-
[@types/File.ts:106](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L106)
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### nftAddress
|
|
36
|
-
|
|
37
|
-
• **nftAddress**: `string`
|
|
38
|
-
|
|
39
|
-
#### Defined in
|
|
40
|
-
|
|
41
|
-
[@types/File.ts:104](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L104)
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / FixedPriceExchange
|
|
2
|
-
|
|
3
|
-
# Interface: FixedPriceExchange
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [active](FixedPriceExchange.md#active)
|
|
10
|
-
- [allowedSwapper](FixedPriceExchange.md#allowedswapper)
|
|
11
|
-
- [baseToken](FixedPriceExchange.md#basetoken)
|
|
12
|
-
- [btBalance](FixedPriceExchange.md#btbalance)
|
|
13
|
-
- [btDecimals](FixedPriceExchange.md#btdecimals)
|
|
14
|
-
- [btSupply](FixedPriceExchange.md#btsupply)
|
|
15
|
-
- [datatoken](FixedPriceExchange.md#datatoken)
|
|
16
|
-
- [dtBalance](FixedPriceExchange.md#dtbalance)
|
|
17
|
-
- [dtDecimals](FixedPriceExchange.md#dtdecimals)
|
|
18
|
-
- [dtSupply](FixedPriceExchange.md#dtsupply)
|
|
19
|
-
- [exchangeId](FixedPriceExchange.md#exchangeid)
|
|
20
|
-
- [exchangeOwner](FixedPriceExchange.md#exchangeowner)
|
|
21
|
-
- [fixedRate](FixedPriceExchange.md#fixedrate)
|
|
22
|
-
- [withMint](FixedPriceExchange.md#withmint)
|
|
23
|
-
|
|
24
|
-
## Properties
|
|
25
|
-
|
|
26
|
-
### active
|
|
27
|
-
|
|
28
|
-
• **active**: `boolean`
|
|
29
|
-
|
|
30
|
-
#### Defined in
|
|
31
|
-
|
|
32
|
-
[@types/FixedPrice.ts:32](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L32)
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### allowedSwapper
|
|
37
|
-
|
|
38
|
-
• **allowedSwapper**: `string`
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[@types/FixedPrice.ts:44](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L44)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### baseToken
|
|
47
|
-
|
|
48
|
-
• **baseToken**: `string`
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[@types/FixedPrice.ts:35](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L35)
|
|
53
|
-
|
|
54
|
-
___
|
|
55
|
-
|
|
56
|
-
### btBalance
|
|
57
|
-
|
|
58
|
-
• **btBalance**: `string`
|
|
59
|
-
|
|
60
|
-
#### Defined in
|
|
61
|
-
|
|
62
|
-
[@types/FixedPrice.ts:40](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L40)
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### btDecimals
|
|
67
|
-
|
|
68
|
-
• **btDecimals**: `string`
|
|
69
|
-
|
|
70
|
-
#### Defined in
|
|
71
|
-
|
|
72
|
-
[@types/FixedPrice.ts:38](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L38)
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### btSupply
|
|
77
|
-
|
|
78
|
-
• **btSupply**: `string`
|
|
79
|
-
|
|
80
|
-
#### Defined in
|
|
81
|
-
|
|
82
|
-
[@types/FixedPrice.ts:42](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L42)
|
|
83
|
-
|
|
84
|
-
___
|
|
85
|
-
|
|
86
|
-
### datatoken
|
|
87
|
-
|
|
88
|
-
• **datatoken**: `string`
|
|
89
|
-
|
|
90
|
-
#### Defined in
|
|
91
|
-
|
|
92
|
-
[@types/FixedPrice.ts:34](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L34)
|
|
93
|
-
|
|
94
|
-
___
|
|
95
|
-
|
|
96
|
-
### dtBalance
|
|
97
|
-
|
|
98
|
-
• **dtBalance**: `string`
|
|
99
|
-
|
|
100
|
-
#### Defined in
|
|
101
|
-
|
|
102
|
-
[@types/FixedPrice.ts:39](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L39)
|
|
103
|
-
|
|
104
|
-
___
|
|
105
|
-
|
|
106
|
-
### dtDecimals
|
|
107
|
-
|
|
108
|
-
• **dtDecimals**: `string`
|
|
109
|
-
|
|
110
|
-
#### Defined in
|
|
111
|
-
|
|
112
|
-
[@types/FixedPrice.ts:37](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L37)
|
|
113
|
-
|
|
114
|
-
___
|
|
115
|
-
|
|
116
|
-
### dtSupply
|
|
117
|
-
|
|
118
|
-
• **dtSupply**: `string`
|
|
119
|
-
|
|
120
|
-
#### Defined in
|
|
121
|
-
|
|
122
|
-
[@types/FixedPrice.ts:41](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L41)
|
|
123
|
-
|
|
124
|
-
___
|
|
125
|
-
|
|
126
|
-
### exchangeId
|
|
127
|
-
|
|
128
|
-
• `Optional` **exchangeId**: `string`
|
|
129
|
-
|
|
130
|
-
#### Defined in
|
|
131
|
-
|
|
132
|
-
[@types/FixedPrice.ts:45](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L45)
|
|
133
|
-
|
|
134
|
-
___
|
|
135
|
-
|
|
136
|
-
### exchangeOwner
|
|
137
|
-
|
|
138
|
-
• **exchangeOwner**: `string`
|
|
139
|
-
|
|
140
|
-
#### Defined in
|
|
141
|
-
|
|
142
|
-
[@types/FixedPrice.ts:33](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L33)
|
|
143
|
-
|
|
144
|
-
___
|
|
145
|
-
|
|
146
|
-
### fixedRate
|
|
147
|
-
|
|
148
|
-
• **fixedRate**: `string`
|
|
149
|
-
|
|
150
|
-
#### Defined in
|
|
151
|
-
|
|
152
|
-
[@types/FixedPrice.ts:36](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L36)
|
|
153
|
-
|
|
154
|
-
___
|
|
155
|
-
|
|
156
|
-
### withMint
|
|
157
|
-
|
|
158
|
-
• **withMint**: `boolean`
|
|
159
|
-
|
|
160
|
-
#### Defined in
|
|
161
|
-
|
|
162
|
-
[@types/FixedPrice.ts:43](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L43)
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / FreCreationParams
|
|
2
|
-
|
|
3
|
-
# Interface: FreCreationParams
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [allowedConsumer](FreCreationParams.md#allowedconsumer)
|
|
10
|
-
- [baseTokenAddress](FreCreationParams.md#basetokenaddress)
|
|
11
|
-
- [baseTokenDecimals](FreCreationParams.md#basetokendecimals)
|
|
12
|
-
- [datatokenDecimals](FreCreationParams.md#datatokendecimals)
|
|
13
|
-
- [fixedRate](FreCreationParams.md#fixedrate)
|
|
14
|
-
- [fixedRateAddress](FreCreationParams.md#fixedrateaddress)
|
|
15
|
-
- [marketFee](FreCreationParams.md#marketfee)
|
|
16
|
-
- [marketFeeCollector](FreCreationParams.md#marketfeecollector)
|
|
17
|
-
- [owner](FreCreationParams.md#owner)
|
|
18
|
-
- [withMint](FreCreationParams.md#withmint)
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
### allowedConsumer
|
|
23
|
-
|
|
24
|
-
• `Optional` **allowedConsumer**: `string`
|
|
25
|
-
|
|
26
|
-
#### Defined in
|
|
27
|
-
|
|
28
|
-
[@types/FixedPrice.ts:11](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L11)
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### baseTokenAddress
|
|
33
|
-
|
|
34
|
-
• **baseTokenAddress**: `string`
|
|
35
|
-
|
|
36
|
-
#### Defined in
|
|
37
|
-
|
|
38
|
-
[@types/FixedPrice.ts:3](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L3)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### baseTokenDecimals
|
|
43
|
-
|
|
44
|
-
• **baseTokenDecimals**: `number`
|
|
45
|
-
|
|
46
|
-
#### Defined in
|
|
47
|
-
|
|
48
|
-
[@types/FixedPrice.ts:6](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L6)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### datatokenDecimals
|
|
53
|
-
|
|
54
|
-
• **datatokenDecimals**: `number`
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[@types/FixedPrice.ts:7](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L7)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### fixedRate
|
|
63
|
-
|
|
64
|
-
• **fixedRate**: `string`
|
|
65
|
-
|
|
66
|
-
#### Defined in
|
|
67
|
-
|
|
68
|
-
[@types/FixedPrice.ts:8](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L8)
|
|
69
|
-
|
|
70
|
-
___
|
|
71
|
-
|
|
72
|
-
### fixedRateAddress
|
|
73
|
-
|
|
74
|
-
• **fixedRateAddress**: `string`
|
|
75
|
-
|
|
76
|
-
#### Defined in
|
|
77
|
-
|
|
78
|
-
[@types/FixedPrice.ts:2](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L2)
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### marketFee
|
|
83
|
-
|
|
84
|
-
• **marketFee**: `string`
|
|
85
|
-
|
|
86
|
-
#### Defined in
|
|
87
|
-
|
|
88
|
-
[@types/FixedPrice.ts:9](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L9)
|
|
89
|
-
|
|
90
|
-
___
|
|
91
|
-
|
|
92
|
-
### marketFeeCollector
|
|
93
|
-
|
|
94
|
-
• **marketFeeCollector**: `string`
|
|
95
|
-
|
|
96
|
-
#### Defined in
|
|
97
|
-
|
|
98
|
-
[@types/FixedPrice.ts:5](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L5)
|
|
99
|
-
|
|
100
|
-
___
|
|
101
|
-
|
|
102
|
-
### owner
|
|
103
|
-
|
|
104
|
-
• **owner**: `string`
|
|
105
|
-
|
|
106
|
-
#### Defined in
|
|
107
|
-
|
|
108
|
-
[@types/FixedPrice.ts:4](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L4)
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### withMint
|
|
113
|
-
|
|
114
|
-
• `Optional` **withMint**: `boolean`
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
[@types/FixedPrice.ts:10](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L10)
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / FreOrderParams
|
|
2
|
-
|
|
3
|
-
# Interface: FreOrderParams
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [baseTokenAddress](FreOrderParams.md#basetokenaddress)
|
|
10
|
-
- [baseTokenDecimals](FreOrderParams.md#basetokendecimals)
|
|
11
|
-
- [exchangeContract](FreOrderParams.md#exchangecontract)
|
|
12
|
-
- [exchangeId](FreOrderParams.md#exchangeid)
|
|
13
|
-
- [marketFeeAddress](FreOrderParams.md#marketfeeaddress)
|
|
14
|
-
- [maxBaseTokenAmount](FreOrderParams.md#maxbasetokenamount)
|
|
15
|
-
- [swapMarketFee](FreOrderParams.md#swapmarketfee)
|
|
16
|
-
|
|
17
|
-
## Properties
|
|
18
|
-
|
|
19
|
-
### baseTokenAddress
|
|
20
|
-
|
|
21
|
-
• **baseTokenAddress**: `string`
|
|
22
|
-
|
|
23
|
-
#### Defined in
|
|
24
|
-
|
|
25
|
-
[@types/FixedPrice.ts:18](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L18)
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### baseTokenDecimals
|
|
30
|
-
|
|
31
|
-
• `Optional` **baseTokenDecimals**: `number`
|
|
32
|
-
|
|
33
|
-
#### Defined in
|
|
34
|
-
|
|
35
|
-
[@types/FixedPrice.ts:19](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L19)
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### exchangeContract
|
|
40
|
-
|
|
41
|
-
• **exchangeContract**: `string`
|
|
42
|
-
|
|
43
|
-
#### Defined in
|
|
44
|
-
|
|
45
|
-
[@types/FixedPrice.ts:15](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L15)
|
|
46
|
-
|
|
47
|
-
___
|
|
48
|
-
|
|
49
|
-
### exchangeId
|
|
50
|
-
|
|
51
|
-
• **exchangeId**: `string`
|
|
52
|
-
|
|
53
|
-
#### Defined in
|
|
54
|
-
|
|
55
|
-
[@types/FixedPrice.ts:16](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L16)
|
|
56
|
-
|
|
57
|
-
___
|
|
58
|
-
|
|
59
|
-
### marketFeeAddress
|
|
60
|
-
|
|
61
|
-
• **marketFeeAddress**: `string`
|
|
62
|
-
|
|
63
|
-
#### Defined in
|
|
64
|
-
|
|
65
|
-
[@types/FixedPrice.ts:21](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L21)
|
|
66
|
-
|
|
67
|
-
___
|
|
68
|
-
|
|
69
|
-
### maxBaseTokenAmount
|
|
70
|
-
|
|
71
|
-
• **maxBaseTokenAmount**: `string`
|
|
72
|
-
|
|
73
|
-
#### Defined in
|
|
74
|
-
|
|
75
|
-
[@types/FixedPrice.ts:17](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L17)
|
|
76
|
-
|
|
77
|
-
___
|
|
78
|
-
|
|
79
|
-
### swapMarketFee
|
|
80
|
-
|
|
81
|
-
• **swapMarketFee**: `string`
|
|
82
|
-
|
|
83
|
-
#### Defined in
|
|
84
|
-
|
|
85
|
-
[@types/FixedPrice.ts:20](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/FixedPrice.ts#L20)
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / GraphqlQuery
|
|
2
|
-
|
|
3
|
-
# Interface: GraphqlQuery
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [headers](GraphqlQuery.md#headers)
|
|
10
|
-
- [index](GraphqlQuery.md#index)
|
|
11
|
-
- [query](GraphqlQuery.md#query)
|
|
12
|
-
- [type](GraphqlQuery.md#type)
|
|
13
|
-
- [url](GraphqlQuery.md#url)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### headers
|
|
18
|
-
|
|
19
|
-
• `Optional` **headers**: `FileTypeHeaders`
|
|
20
|
-
|
|
21
|
-
Headers key value pairs associated with the asset GET request
|
|
22
|
-
|
|
23
|
-
#### Defined in
|
|
24
|
-
|
|
25
|
-
[@types/File.ts:58](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L58)
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### index
|
|
30
|
-
|
|
31
|
-
• `Optional` **index**: `number`
|
|
32
|
-
|
|
33
|
-
#### Defined in
|
|
34
|
-
|
|
35
|
-
[@types/File.ts:40](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L40)
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### query
|
|
40
|
-
|
|
41
|
-
• **query**: `string`
|
|
42
|
-
|
|
43
|
-
query
|
|
44
|
-
|
|
45
|
-
#### Defined in
|
|
46
|
-
|
|
47
|
-
[@types/File.ts:52](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L52)
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### type
|
|
52
|
-
|
|
53
|
-
• **type**: ``"graphql"``
|
|
54
|
-
|
|
55
|
-
#### Defined in
|
|
56
|
-
|
|
57
|
-
[@types/File.ts:35](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L35)
|
|
58
|
-
|
|
59
|
-
___
|
|
60
|
-
|
|
61
|
-
### url
|
|
62
|
-
|
|
63
|
-
• **url**: `string`
|
|
64
|
-
|
|
65
|
-
Endpoint URL
|
|
66
|
-
|
|
67
|
-
#### Defined in
|
|
68
|
-
|
|
69
|
-
[@types/File.ts:46](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L46)
|
package/docs/interfaces/Ipfs.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Ipfs
|
|
2
|
-
|
|
3
|
-
# Interface: Ipfs
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [hash](Ipfs.md#hash)
|
|
10
|
-
- [type](Ipfs.md#type)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### hash
|
|
15
|
-
|
|
16
|
-
• **hash**: `string`
|
|
17
|
-
|
|
18
|
-
hash
|
|
19
|
-
|
|
20
|
-
#### Defined in
|
|
21
|
-
|
|
22
|
-
[@types/File.ts:78](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L78)
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### type
|
|
27
|
-
|
|
28
|
-
• **type**: ``"ipfs"``
|
|
29
|
-
|
|
30
|
-
#### Defined in
|
|
31
|
-
|
|
32
|
-
[@types/File.ts:72](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L72)
|