@oceanprotocol/lib 3.0.4 → 3.1.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/CHANGELOG.md +18 -0
- 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/dist/src/@types/Asset.d.ts +148 -148
- package/dist/src/@types/Compute.d.ts +71 -71
- package/dist/src/@types/Contracts.d.ts +26 -26
- package/dist/src/@types/DDO/ConsumerParameter.d.ts +37 -37
- package/dist/src/@types/DDO/Credentials.d.ts +8 -8
- package/dist/src/@types/DDO/DDO.d.ts +55 -55
- package/dist/src/@types/DDO/Event.d.ts +27 -27
- package/dist/src/@types/DDO/Metadata.d.ts +141 -141
- package/dist/src/@types/DDO/Service.d.ts +100 -100
- package/dist/src/@types/Datatoken.d.ts +38 -38
- package/dist/src/@types/Dispenser.d.ts +16 -16
- package/dist/src/@types/DownloadResponse.d.ts +4 -4
- package/dist/src/@types/File.d.ts +89 -89
- package/dist/src/@types/FileInfo.d.ts +43 -43
- package/dist/src/@types/FixedPrice.d.ts +51 -51
- package/dist/src/@types/NFT.d.ts +18 -18
- package/dist/src/@types/NFTFactory.d.ts +20 -20
- package/dist/src/@types/Provider.d.ts +33 -33
- package/dist/src/@types/ReturnTypes.d.ts +3 -3
- package/dist/src/@types/Router.d.ts +59 -59
- package/dist/src/@types/index.d.ts +20 -20
- package/dist/src/config/Config.d.ts +153 -153
- package/dist/src/config/ConfigHelper.d.ts +12 -12
- package/dist/src/config/index.d.ts +2 -2
- package/dist/src/contracts/Datatoken.d.ts +278 -260
- package/dist/src/contracts/Dispenser.d.ts +73 -73
- package/dist/src/contracts/FixedRateExchange.d.ts +209 -209
- package/dist/src/contracts/NFT.d.ts +220 -220
- package/dist/src/contracts/NFTFactory.d.ts +165 -165
- package/dist/src/contracts/Router.d.ts +107 -107
- package/dist/src/contracts/SmartContract.d.ts +45 -45
- package/dist/src/contracts/SmartContractWithAddress.d.ts +17 -17
- package/dist/src/contracts/df/DfRewards.d.ts +31 -31
- package/dist/src/contracts/df/DfStrategyV1.d.ts +21 -21
- package/dist/src/contracts/index.d.ts +14 -14
- package/dist/src/contracts/ve/VeAllocate.d.ts +38 -38
- package/dist/src/contracts/ve/VeFeeDistributor.d.ts +29 -29
- package/dist/src/contracts/ve/VeFeeEstimate.d.ts +14 -14
- package/dist/src/contracts/ve/VeOcean.d.ts +68 -68
- package/dist/src/index.d.ts +5 -5
- package/dist/src/services/Aquarius.d.ts +53 -53
- package/dist/src/services/Provider.d.ts +197 -197
- package/dist/src/services/index.d.ts +2 -2
- package/dist/src/utils/Constants.d.ts +4 -4
- package/dist/src/utils/ContractUtils.d.ts +46 -46
- package/dist/src/utils/DatatokenName.d.ts +14 -14
- package/dist/src/utils/DdoHelpers.d.ts +13 -13
- package/dist/src/utils/FetchHelper.d.ts +14 -14
- package/dist/src/utils/General.d.ts +5 -5
- package/dist/src/utils/Logger.d.ts +19 -19
- package/dist/src/utils/OrderUtils.d.ts +20 -0
- package/dist/src/utils/ProviderErrors.d.ts +1 -1
- package/dist/src/utils/SignatureUtils.d.ts +12 -12
- package/dist/src/utils/TokenUtils.d.ts +70 -70
- package/dist/src/utils/index.d.ts +12 -11
- package/dist/src/utils/minAbi.d.ts +38 -38
- package/dist/test/config.d.ts +19 -19
- package/dist/test/integration/CodeExamples.test.d.ts +1 -1
- package/dist/test/integration/ComputeExamples.test.d.ts +1 -1
- package/dist/test/integration/ComputeFlow.test.d.ts +1 -1
- package/dist/test/integration/Provider.test.d.ts +1 -1
- package/dist/test/integration/PublishEditConsume.test.d.ts +1 -1
- package/dist/test/integration/PublishFlows.test.d.ts +1 -1
- package/dist/test/integration/helpers.d.ts +7 -7
- package/dist/test/unit/DFRewards.test.d.ts +1 -1
- package/dist/test/unit/Datatoken.test.d.ts +1 -1
- package/dist/test/unit/Dispenser.test.d.ts +1 -1
- package/dist/test/unit/FixedRateExchange.test.d.ts +1 -1
- package/dist/test/unit/Nft.test.d.ts +1 -1
- package/dist/test/unit/NftFactory.test.d.ts +1 -1
- package/dist/test/unit/Router.test.d.ts +1 -1
- package/dist/test/unit/veOcean.test.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
export interface Operation {
|
|
2
|
-
/**
|
|
3
|
-
* used for FixedRate or Dispenser
|
|
4
|
-
* @type {string}
|
|
5
|
-
*/
|
|
6
|
-
exchangeIds: string;
|
|
7
|
-
/**
|
|
8
|
-
* pool Address
|
|
9
|
-
* @type {string}
|
|
10
|
-
*/
|
|
11
|
-
source: string;
|
|
12
|
-
/**
|
|
13
|
-
* operation:
|
|
14
|
-
* 0 - swapExactAmountIn
|
|
15
|
-
* 1 - swapExactAmountOut
|
|
16
|
-
* 2 - FixedRateExchange
|
|
17
|
-
* 3 - Dispenser
|
|
18
|
-
* @type {number}
|
|
19
|
-
*/
|
|
20
|
-
operation: number;
|
|
21
|
-
/**
|
|
22
|
-
* token in address
|
|
23
|
-
* @type {string}
|
|
24
|
-
*/
|
|
25
|
-
tokenIn: string;
|
|
26
|
-
/**
|
|
27
|
-
* when swapExactAmountIn is EXACT amount IN
|
|
28
|
-
* expressed in Wei
|
|
29
|
-
* @type {string | number}
|
|
30
|
-
*/
|
|
31
|
-
amountsIn: string | number;
|
|
32
|
-
/**
|
|
33
|
-
* token out address
|
|
34
|
-
* @type {string}
|
|
35
|
-
*/
|
|
36
|
-
tokenOut: string;
|
|
37
|
-
/**
|
|
38
|
-
* when swapExactAmountIn is MIN amount OUT
|
|
39
|
-
* expressed in Wei
|
|
40
|
-
* @type {string | number}
|
|
41
|
-
*/
|
|
42
|
-
amountsOut: string | number;
|
|
43
|
-
/**
|
|
44
|
-
* max price (only for pools)
|
|
45
|
-
* expressed in Wei
|
|
46
|
-
* @type {string | number}
|
|
47
|
-
*/
|
|
48
|
-
maxPrice: string | number;
|
|
49
|
-
/**
|
|
50
|
-
* swap fee amount
|
|
51
|
-
* @type {string}
|
|
52
|
-
*/
|
|
53
|
-
swapMarketFee: string;
|
|
54
|
-
/**
|
|
55
|
-
* market fee address to receive fees
|
|
56
|
-
* @type {string}
|
|
57
|
-
*/
|
|
58
|
-
marketFeeAddress: string;
|
|
59
|
-
}
|
|
1
|
+
export interface Operation {
|
|
2
|
+
/**
|
|
3
|
+
* used for FixedRate or Dispenser
|
|
4
|
+
* @type {string}
|
|
5
|
+
*/
|
|
6
|
+
exchangeIds: string;
|
|
7
|
+
/**
|
|
8
|
+
* pool Address
|
|
9
|
+
* @type {string}
|
|
10
|
+
*/
|
|
11
|
+
source: string;
|
|
12
|
+
/**
|
|
13
|
+
* operation:
|
|
14
|
+
* 0 - swapExactAmountIn
|
|
15
|
+
* 1 - swapExactAmountOut
|
|
16
|
+
* 2 - FixedRateExchange
|
|
17
|
+
* 3 - Dispenser
|
|
18
|
+
* @type {number}
|
|
19
|
+
*/
|
|
20
|
+
operation: number;
|
|
21
|
+
/**
|
|
22
|
+
* token in address
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
tokenIn: string;
|
|
26
|
+
/**
|
|
27
|
+
* when swapExactAmountIn is EXACT amount IN
|
|
28
|
+
* expressed in Wei
|
|
29
|
+
* @type {string | number}
|
|
30
|
+
*/
|
|
31
|
+
amountsIn: string | number;
|
|
32
|
+
/**
|
|
33
|
+
* token out address
|
|
34
|
+
* @type {string}
|
|
35
|
+
*/
|
|
36
|
+
tokenOut: string;
|
|
37
|
+
/**
|
|
38
|
+
* when swapExactAmountIn is MIN amount OUT
|
|
39
|
+
* expressed in Wei
|
|
40
|
+
* @type {string | number}
|
|
41
|
+
*/
|
|
42
|
+
amountsOut: string | number;
|
|
43
|
+
/**
|
|
44
|
+
* max price (only for pools)
|
|
45
|
+
* expressed in Wei
|
|
46
|
+
* @type {string | number}
|
|
47
|
+
*/
|
|
48
|
+
maxPrice: string | number;
|
|
49
|
+
/**
|
|
50
|
+
* swap fee amount
|
|
51
|
+
* @type {string}
|
|
52
|
+
*/
|
|
53
|
+
swapMarketFee: string;
|
|
54
|
+
/**
|
|
55
|
+
* market fee address to receive fees
|
|
56
|
+
* @type {string}
|
|
57
|
+
*/
|
|
58
|
+
marketFeeAddress: string;
|
|
59
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './DDO/Credentials';
|
|
2
|
-
export * from './DDO/DDO';
|
|
3
|
-
export * from './DDO/Event';
|
|
4
|
-
export * from './DDO/Metadata';
|
|
5
|
-
export * from './DDO/ConsumerParameter';
|
|
6
|
-
export * from './DDO/Service';
|
|
7
|
-
export * from './Asset';
|
|
8
|
-
export * from './Contracts';
|
|
9
|
-
export * from './File';
|
|
10
|
-
export * from './FileInfo';
|
|
11
|
-
export * from './Compute';
|
|
12
|
-
export * from './Datatoken';
|
|
13
|
-
export * from './Dispenser';
|
|
14
|
-
export * from './DownloadResponse';
|
|
15
|
-
export * from './FixedPrice';
|
|
16
|
-
export * from './NFT';
|
|
17
|
-
export * from './NFTFactory';
|
|
18
|
-
export * from './Provider';
|
|
19
|
-
export * from './Router';
|
|
20
|
-
export * from './ReturnTypes';
|
|
1
|
+
export * from './DDO/Credentials';
|
|
2
|
+
export * from './DDO/DDO';
|
|
3
|
+
export * from './DDO/Event';
|
|
4
|
+
export * from './DDO/Metadata';
|
|
5
|
+
export * from './DDO/ConsumerParameter';
|
|
6
|
+
export * from './DDO/Service';
|
|
7
|
+
export * from './Asset';
|
|
8
|
+
export * from './Contracts';
|
|
9
|
+
export * from './File';
|
|
10
|
+
export * from './FileInfo';
|
|
11
|
+
export * from './Compute';
|
|
12
|
+
export * from './Datatoken';
|
|
13
|
+
export * from './Dispenser';
|
|
14
|
+
export * from './DownloadResponse';
|
|
15
|
+
export * from './FixedPrice';
|
|
16
|
+
export * from './NFT';
|
|
17
|
+
export * from './NFTFactory';
|
|
18
|
+
export * from './Provider';
|
|
19
|
+
export * from './Router';
|
|
20
|
+
export * from './ReturnTypes';
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
import { AbiItem } from '../@types';
|
|
2
|
-
import { LogLevel } from '../utils';
|
|
3
|
-
export declare class Config {
|
|
4
|
-
/**
|
|
5
|
-
* Ethereum node URL.
|
|
6
|
-
* @type {string}
|
|
7
|
-
*/
|
|
8
|
-
nodeUri?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Address of Provider.
|
|
11
|
-
* @type {string}
|
|
12
|
-
*/
|
|
13
|
-
providerAddress?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Metadata Store URL.
|
|
16
|
-
* @type {string}
|
|
17
|
-
*/
|
|
18
|
-
metadataCacheUri?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Provider URL.
|
|
21
|
-
* @type {string}
|
|
22
|
-
*/
|
|
23
|
-
providerUri?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Web3 Provider.
|
|
26
|
-
* @type {any}
|
|
27
|
-
*/
|
|
28
|
-
web3Provider?: any;
|
|
29
|
-
/**
|
|
30
|
-
* Ocean Token address
|
|
31
|
-
* @type {string}
|
|
32
|
-
*/
|
|
33
|
-
oceanTokenAddress?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Factory address
|
|
36
|
-
* @type {string}
|
|
37
|
-
*/
|
|
38
|
-
nftFactoryAddress?: string;
|
|
39
|
-
/**
|
|
40
|
-
* datatokens ABI
|
|
41
|
-
* @type {string}
|
|
42
|
-
*/
|
|
43
|
-
datatokensABI?: AbiItem | AbiItem[];
|
|
44
|
-
/**
|
|
45
|
-
* FixedRateExchangeAddress
|
|
46
|
-
* @type {string}
|
|
47
|
-
*/
|
|
48
|
-
fixedRateExchangeAddress?: string;
|
|
49
|
-
/**
|
|
50
|
-
* FixedRateExchangeAddressABI
|
|
51
|
-
* @type {any}
|
|
52
|
-
*/
|
|
53
|
-
fixedRateExchangeAddressABI?: AbiItem | AbiItem[];
|
|
54
|
-
/**
|
|
55
|
-
* DispenserAddress
|
|
56
|
-
* @type {string}
|
|
57
|
-
*/
|
|
58
|
-
dispenserAddress?: string;
|
|
59
|
-
/**
|
|
60
|
-
* DispenserABI
|
|
61
|
-
* @type {any}
|
|
62
|
-
*/
|
|
63
|
-
dispenserABI?: AbiItem | AbiItem[];
|
|
64
|
-
/**
|
|
65
|
-
* OPFCommunityFeeCollector
|
|
66
|
-
* @type {string}
|
|
67
|
-
*/
|
|
68
|
-
opfCommunityFeeCollector?: string;
|
|
69
|
-
/**
|
|
70
|
-
* SideStaking address
|
|
71
|
-
* @type {string}
|
|
72
|
-
*/
|
|
73
|
-
sideStakingAddress?: string;
|
|
74
|
-
/**
|
|
75
|
-
* block number of the deployment
|
|
76
|
-
* @type {number}
|
|
77
|
-
*/
|
|
78
|
-
startBlock?: number;
|
|
79
|
-
/**
|
|
80
|
-
* Log level.
|
|
81
|
-
* @type {boolean | LogLevel}
|
|
82
|
-
*/
|
|
83
|
-
verbose?: boolean | LogLevel;
|
|
84
|
-
/**
|
|
85
|
-
* Message shown when the user creates its own token.
|
|
86
|
-
* @type {string}
|
|
87
|
-
*/
|
|
88
|
-
authMessage?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Token expiration time in ms.
|
|
91
|
-
* @type {number}
|
|
92
|
-
*/
|
|
93
|
-
authTokenExpiration?: number;
|
|
94
|
-
/**
|
|
95
|
-
* Parity config
|
|
96
|
-
* @type {string}
|
|
97
|
-
*/
|
|
98
|
-
parityUri?: string;
|
|
99
|
-
threshold?: number;
|
|
100
|
-
/**
|
|
101
|
-
* Chain ID
|
|
102
|
-
* @type {number}
|
|
103
|
-
*/
|
|
104
|
-
chainId: number;
|
|
105
|
-
/**
|
|
106
|
-
* Network name ex: mainnet, goerli, polygon
|
|
107
|
-
* @type {string}
|
|
108
|
-
*/
|
|
109
|
-
network: string;
|
|
110
|
-
/**
|
|
111
|
-
* Url of the relevant subgraph instance ex: https://subgraph.mainnet.oceanprotocol.com
|
|
112
|
-
* @type {string}
|
|
113
|
-
*/
|
|
114
|
-
subgraphUri: string;
|
|
115
|
-
/**
|
|
116
|
-
* Url of the blockchain exporer ex: https://etherscan.io
|
|
117
|
-
* @type {string}
|
|
118
|
-
*/
|
|
119
|
-
explorerUri: string;
|
|
120
|
-
/**
|
|
121
|
-
* Ocean toke symbol on the chain, it's used just for convenience to reduce number of calls
|
|
122
|
-
* @type {string}
|
|
123
|
-
*/
|
|
124
|
-
oceanTokenSymbol: string;
|
|
125
|
-
/**
|
|
126
|
-
* Specify the transaction Block Timeout
|
|
127
|
-
* @type {number}
|
|
128
|
-
*/
|
|
129
|
-
transactionBlockTimeout: number;
|
|
130
|
-
/**
|
|
131
|
-
* Specify the transaction Confirmation Blocks
|
|
132
|
-
* @type {number}
|
|
133
|
-
*/
|
|
134
|
-
transactionConfirmationBlocks: number;
|
|
135
|
-
/**
|
|
136
|
-
* Specify the transaction Polling Blocks Timeout
|
|
137
|
-
* @type {number}
|
|
138
|
-
*/
|
|
139
|
-
transactionPollingTimeout: number;
|
|
140
|
-
/**
|
|
141
|
-
* Specify the multiplier for the gas fee
|
|
142
|
-
* @type {number}
|
|
143
|
-
*/
|
|
144
|
-
gasFeeMultiplier: number;
|
|
145
|
-
veAllocate?: string;
|
|
146
|
-
veOCEAN?: string;
|
|
147
|
-
veDelegation?: string;
|
|
148
|
-
veFeeDistributor?: string;
|
|
149
|
-
veDelegationProxy?: string;
|
|
150
|
-
DFRewards?: string;
|
|
151
|
-
DFStrategyV1?: string;
|
|
152
|
-
veFeeEstimate?: string;
|
|
153
|
-
}
|
|
1
|
+
import { AbiItem } from '../@types';
|
|
2
|
+
import { LogLevel } from '../utils';
|
|
3
|
+
export declare class Config {
|
|
4
|
+
/**
|
|
5
|
+
* Ethereum node URL.
|
|
6
|
+
* @type {string}
|
|
7
|
+
*/
|
|
8
|
+
nodeUri?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Address of Provider.
|
|
11
|
+
* @type {string}
|
|
12
|
+
*/
|
|
13
|
+
providerAddress?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Metadata Store URL.
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
metadataCacheUri?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Provider URL.
|
|
21
|
+
* @type {string}
|
|
22
|
+
*/
|
|
23
|
+
providerUri?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Web3 Provider.
|
|
26
|
+
* @type {any}
|
|
27
|
+
*/
|
|
28
|
+
web3Provider?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Ocean Token address
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
oceanTokenAddress?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Factory address
|
|
36
|
+
* @type {string}
|
|
37
|
+
*/
|
|
38
|
+
nftFactoryAddress?: string;
|
|
39
|
+
/**
|
|
40
|
+
* datatokens ABI
|
|
41
|
+
* @type {string}
|
|
42
|
+
*/
|
|
43
|
+
datatokensABI?: AbiItem | AbiItem[];
|
|
44
|
+
/**
|
|
45
|
+
* FixedRateExchangeAddress
|
|
46
|
+
* @type {string}
|
|
47
|
+
*/
|
|
48
|
+
fixedRateExchangeAddress?: string;
|
|
49
|
+
/**
|
|
50
|
+
* FixedRateExchangeAddressABI
|
|
51
|
+
* @type {any}
|
|
52
|
+
*/
|
|
53
|
+
fixedRateExchangeAddressABI?: AbiItem | AbiItem[];
|
|
54
|
+
/**
|
|
55
|
+
* DispenserAddress
|
|
56
|
+
* @type {string}
|
|
57
|
+
*/
|
|
58
|
+
dispenserAddress?: string;
|
|
59
|
+
/**
|
|
60
|
+
* DispenserABI
|
|
61
|
+
* @type {any}
|
|
62
|
+
*/
|
|
63
|
+
dispenserABI?: AbiItem | AbiItem[];
|
|
64
|
+
/**
|
|
65
|
+
* OPFCommunityFeeCollector
|
|
66
|
+
* @type {string}
|
|
67
|
+
*/
|
|
68
|
+
opfCommunityFeeCollector?: string;
|
|
69
|
+
/**
|
|
70
|
+
* SideStaking address
|
|
71
|
+
* @type {string}
|
|
72
|
+
*/
|
|
73
|
+
sideStakingAddress?: string;
|
|
74
|
+
/**
|
|
75
|
+
* block number of the deployment
|
|
76
|
+
* @type {number}
|
|
77
|
+
*/
|
|
78
|
+
startBlock?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Log level.
|
|
81
|
+
* @type {boolean | LogLevel}
|
|
82
|
+
*/
|
|
83
|
+
verbose?: boolean | LogLevel;
|
|
84
|
+
/**
|
|
85
|
+
* Message shown when the user creates its own token.
|
|
86
|
+
* @type {string}
|
|
87
|
+
*/
|
|
88
|
+
authMessage?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Token expiration time in ms.
|
|
91
|
+
* @type {number}
|
|
92
|
+
*/
|
|
93
|
+
authTokenExpiration?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Parity config
|
|
96
|
+
* @type {string}
|
|
97
|
+
*/
|
|
98
|
+
parityUri?: string;
|
|
99
|
+
threshold?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Chain ID
|
|
102
|
+
* @type {number}
|
|
103
|
+
*/
|
|
104
|
+
chainId: number;
|
|
105
|
+
/**
|
|
106
|
+
* Network name ex: mainnet, goerli, polygon
|
|
107
|
+
* @type {string}
|
|
108
|
+
*/
|
|
109
|
+
network: string;
|
|
110
|
+
/**
|
|
111
|
+
* Url of the relevant subgraph instance ex: https://subgraph.mainnet.oceanprotocol.com
|
|
112
|
+
* @type {string}
|
|
113
|
+
*/
|
|
114
|
+
subgraphUri: string;
|
|
115
|
+
/**
|
|
116
|
+
* Url of the blockchain exporer ex: https://etherscan.io
|
|
117
|
+
* @type {string}
|
|
118
|
+
*/
|
|
119
|
+
explorerUri: string;
|
|
120
|
+
/**
|
|
121
|
+
* Ocean toke symbol on the chain, it's used just for convenience to reduce number of calls
|
|
122
|
+
* @type {string}
|
|
123
|
+
*/
|
|
124
|
+
oceanTokenSymbol: string;
|
|
125
|
+
/**
|
|
126
|
+
* Specify the transaction Block Timeout
|
|
127
|
+
* @type {number}
|
|
128
|
+
*/
|
|
129
|
+
transactionBlockTimeout: number;
|
|
130
|
+
/**
|
|
131
|
+
* Specify the transaction Confirmation Blocks
|
|
132
|
+
* @type {number}
|
|
133
|
+
*/
|
|
134
|
+
transactionConfirmationBlocks: number;
|
|
135
|
+
/**
|
|
136
|
+
* Specify the transaction Polling Blocks Timeout
|
|
137
|
+
* @type {number}
|
|
138
|
+
*/
|
|
139
|
+
transactionPollingTimeout: number;
|
|
140
|
+
/**
|
|
141
|
+
* Specify the multiplier for the gas fee
|
|
142
|
+
* @type {number}
|
|
143
|
+
*/
|
|
144
|
+
gasFeeMultiplier: number;
|
|
145
|
+
veAllocate?: string;
|
|
146
|
+
veOCEAN?: string;
|
|
147
|
+
veDelegation?: string;
|
|
148
|
+
veFeeDistributor?: string;
|
|
149
|
+
veDelegationProxy?: string;
|
|
150
|
+
DFRewards?: string;
|
|
151
|
+
DFStrategyV1?: string;
|
|
152
|
+
veFeeEstimate?: string;
|
|
153
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Config } from '.';
|
|
2
|
-
export declare const configHelperNetworks: Config[];
|
|
3
|
-
export declare class ConfigHelper {
|
|
4
|
-
getAddressesFromEnv(network: string, customAddresses?: any): Partial<Config>;
|
|
5
|
-
/**
|
|
6
|
-
* Returns the config object for a specific network supported by the oceanprotocol stack
|
|
7
|
-
* @param {string | number} network the network's chainId or name
|
|
8
|
-
* @param {string} infuraProjectId optional infura project id that will replace the configs node URI
|
|
9
|
-
* @return {Config} Config obhjedct
|
|
10
|
-
*/
|
|
11
|
-
getConfig(network: string | number, infuraProjectId?: string): Config;
|
|
12
|
-
}
|
|
1
|
+
import { Config } from '.';
|
|
2
|
+
export declare const configHelperNetworks: Config[];
|
|
3
|
+
export declare class ConfigHelper {
|
|
4
|
+
getAddressesFromEnv(network: string, customAddresses?: any): Partial<Config>;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the config object for a specific network supported by the oceanprotocol stack
|
|
7
|
+
* @param {string | number} network the network's chainId or name
|
|
8
|
+
* @param {string} infuraProjectId optional infura project id that will replace the configs node URI
|
|
9
|
+
* @return {Config} Config obhjedct
|
|
10
|
+
*/
|
|
11
|
+
getConfig(network: string | number, infuraProjectId?: string): Config;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Config';
|
|
2
|
-
export * from './ConfigHelper';
|
|
1
|
+
export * from './Config';
|
|
2
|
+
export * from './ConfigHelper';
|