@oceanprotocol/lib 3.3.0 → 3.3.1
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/.nvmrc +1 -1
- package/CHANGELOG.md +19 -16
- 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/package.json +1 -1
- package/dist/src/@types/Asset.d.ts +0 -148
- package/dist/src/@types/Compute.d.ts +0 -71
- package/dist/src/@types/Contracts.d.ts +0 -26
- package/dist/src/@types/DDO/ConsumerParameter.d.ts +0 -37
- package/dist/src/@types/DDO/Credentials.d.ts +0 -8
- package/dist/src/@types/DDO/DDO.d.ts +0 -55
- package/dist/src/@types/DDO/Event.d.ts +0 -27
- package/dist/src/@types/DDO/Metadata.d.ts +0 -141
- package/dist/src/@types/DDO/Service.d.ts +0 -100
- package/dist/src/@types/Datatoken.d.ts +0 -38
- package/dist/src/@types/Dispenser.d.ts +0 -16
- package/dist/src/@types/DownloadResponse.d.ts +0 -4
- package/dist/src/@types/File.d.ts +0 -89
- package/dist/src/@types/FileInfo.d.ts +0 -43
- package/dist/src/@types/FixedPrice.d.ts +0 -51
- package/dist/src/@types/NFT.d.ts +0 -18
- package/dist/src/@types/NFTFactory.d.ts +0 -20
- package/dist/src/@types/Provider.d.ts +0 -33
- package/dist/src/@types/ReturnTypes.d.ts +0 -3
- package/dist/src/@types/Router.d.ts +0 -59
- package/dist/src/@types/index.d.ts +0 -20
- package/dist/src/config/Config.d.ts +0 -153
- package/dist/src/config/ConfigHelper.d.ts +0 -12
- package/dist/src/config/index.d.ts +0 -2
- package/dist/src/contracts/Datatoken.d.ts +0 -278
- package/dist/src/contracts/Dispenser.d.ts +0 -73
- package/dist/src/contracts/FixedRateExchange.d.ts +0 -209
- package/dist/src/contracts/NFT.d.ts +0 -220
- package/dist/src/contracts/NFTFactory.d.ts +0 -165
- package/dist/src/contracts/Router.d.ts +0 -107
- package/dist/src/contracts/SmartContract.d.ts +0 -45
- package/dist/src/contracts/SmartContractWithAddress.d.ts +0 -17
- package/dist/src/contracts/df/DfRewards.d.ts +0 -31
- package/dist/src/contracts/df/DfStrategyV1.d.ts +0 -21
- package/dist/src/contracts/index.d.ts +0 -14
- package/dist/src/contracts/ve/VeAllocate.d.ts +0 -38
- package/dist/src/contracts/ve/VeFeeDistributor.d.ts +0 -29
- package/dist/src/contracts/ve/VeFeeEstimate.d.ts +0 -14
- package/dist/src/contracts/ve/VeOcean.d.ts +0 -68
- package/dist/src/index.d.ts +0 -5
- package/dist/src/services/Aquarius.d.ts +0 -53
- package/dist/src/services/Provider.d.ts +0 -197
- package/dist/src/services/index.d.ts +0 -2
- package/dist/src/utils/Constants.d.ts +0 -4
- package/dist/src/utils/ContractUtils.d.ts +0 -46
- package/dist/src/utils/DatatokenName.d.ts +0 -14
- package/dist/src/utils/DdoHelpers.d.ts +0 -13
- package/dist/src/utils/FetchHelper.d.ts +0 -14
- package/dist/src/utils/General.d.ts +0 -5
- package/dist/src/utils/Logger.d.ts +0 -19
- package/dist/src/utils/OrderUtils.d.ts +0 -20
- package/dist/src/utils/ProviderErrors.d.ts +0 -1
- package/dist/src/utils/SignatureUtils.d.ts +0 -12
- package/dist/src/utils/TokenUtils.d.ts +0 -70
- package/dist/src/utils/index.d.ts +0 -12
- package/dist/src/utils/minAbi.d.ts +0 -38
- package/dist/test/config.d.ts +0 -19
- package/dist/test/integration/CodeExamples.test.d.ts +0 -1
- package/dist/test/integration/ComputeExamples.test.d.ts +0 -1
- package/dist/test/integration/ComputeFlow.test.d.ts +0 -1
- package/dist/test/integration/Provider.test.d.ts +0 -1
- package/dist/test/integration/PublishEditConsume.test.d.ts +0 -1
- package/dist/test/integration/PublishFlows.test.d.ts +0 -1
- package/dist/test/integration/helpers.d.ts +0 -7
- package/dist/test/unit/DFRewards.test.d.ts +0 -1
- package/dist/test/unit/Datatoken.test.d.ts +0 -1
- package/dist/test/unit/Dispenser.test.d.ts +0 -1
- package/dist/test/unit/FixedRateExchange.test.d.ts +0 -1
- package/dist/test/unit/Nft.test.d.ts +0 -1
- package/dist/test/unit/NftFactory.test.d.ts +0 -1
- package/dist/test/unit/Router.test.d.ts +0 -1
- package/dist/test/unit/veOcean.test.d.ts +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const minAbi: ({
|
|
2
|
-
constant: boolean;
|
|
3
|
-
inputs: {
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
}[];
|
|
7
|
-
name: string;
|
|
8
|
-
outputs: {
|
|
9
|
-
name: string;
|
|
10
|
-
type: string;
|
|
11
|
-
}[];
|
|
12
|
-
payable: boolean;
|
|
13
|
-
stateMutability: string;
|
|
14
|
-
type: string;
|
|
15
|
-
anonymous?: undefined;
|
|
16
|
-
} | {
|
|
17
|
-
payable: boolean;
|
|
18
|
-
stateMutability: string;
|
|
19
|
-
type: string;
|
|
20
|
-
constant?: undefined;
|
|
21
|
-
inputs?: undefined;
|
|
22
|
-
name?: undefined;
|
|
23
|
-
outputs?: undefined;
|
|
24
|
-
anonymous?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
anonymous: boolean;
|
|
27
|
-
inputs: {
|
|
28
|
-
indexed: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
type: string;
|
|
31
|
-
}[];
|
|
32
|
-
name: string;
|
|
33
|
-
type: string;
|
|
34
|
-
constant?: undefined;
|
|
35
|
-
outputs?: undefined;
|
|
36
|
-
payable?: undefined;
|
|
37
|
-
stateMutability?: undefined;
|
|
38
|
-
})[];
|
package/dist/test/config.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { providers, Signer } from 'ethers';
|
|
2
|
-
export interface Addresses {
|
|
3
|
-
opfCommunityFeeCollectorAddress: string;
|
|
4
|
-
datatokenTemplateAddress: string;
|
|
5
|
-
nftTemplateAddress: string;
|
|
6
|
-
oceanAddress: string;
|
|
7
|
-
routerAddress: string;
|
|
8
|
-
sideStakingAddress: string;
|
|
9
|
-
fixedRateAddress: string;
|
|
10
|
-
dispenserAddress: string;
|
|
11
|
-
nftFactoryAddress: string;
|
|
12
|
-
daiAddress: string;
|
|
13
|
-
usdcAddress: string;
|
|
14
|
-
poolTemplateAddress: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const GAS_PRICE = "3000000000";
|
|
17
|
-
export declare const provider: providers.JsonRpcProvider;
|
|
18
|
-
export declare const getTestConfig: (signer: Signer) => Promise<import("../src/config").Config>;
|
|
19
|
-
export declare const getAddresses: () => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ethers, Signer } from 'ethers';
|
|
2
|
-
import { Aquarius, ProviderComputeInitialize, ConsumeMarketFee, Datatoken, Config, DDO } from '../../src';
|
|
3
|
-
export declare function createAsset(name: string, symbol: string, owner: Signer, assetUrl: any, ddo: any, providerUrl: string, nftContractAddress: string, // addresses.ERC721Factory,
|
|
4
|
-
aquariusInstance: Aquarius): Promise<any>;
|
|
5
|
-
export declare function updateAssetMetadata(owner: Signer, updatedDdo: DDO, providerUrl: string, aquariusInstance: Aquarius): Promise<ethers.providers.TransactionResponse>;
|
|
6
|
-
export declare function handleComputeOrder(order: ProviderComputeInitialize, datatokenAddress: string, payerAccount: Signer, consumerAccount: string, serviceIndex: number, datatoken: Datatoken, config: Config, consumeMarkerFee?: ConsumeMarketFee): Promise<any>;
|
|
7
|
-
export declare function orderAsset(did: string, datatokenAddress: string, consumerAccount: string, serviceId: string, serviceIndex: number, datatoken: Datatoken, providerUrl: string): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|