@oceanprotocol/lib 1.0.0-next.27 → 1.0.0-next.28
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 +1350 -1341
- 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/Erc721.d.ts +1 -1
- package/dist/src/pools/fixedRate/FixedRateExchange.d.ts +2 -2
- package/dist/src/utils/ContractUtils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -119,7 +119,7 @@ export declare class FixedRateExchange {
|
|
|
119
119
|
* Estimate gas cost for setRate
|
|
120
120
|
* @param {String} account
|
|
121
121
|
* @param {String} exchangeId ExchangeId
|
|
122
|
-
* @param {
|
|
122
|
+
* @param {String} newRate New rate
|
|
123
123
|
* @param {Contract} contractInstance optional contract instance
|
|
124
124
|
* @return {Promise<number>}
|
|
125
125
|
*/
|
|
@@ -127,7 +127,7 @@ export declare class FixedRateExchange {
|
|
|
127
127
|
/**
|
|
128
128
|
* Set new rate
|
|
129
129
|
* @param {String} exchangeId ExchangeId
|
|
130
|
-
* @param {
|
|
130
|
+
* @param {String} newRate New rate
|
|
131
131
|
* @param {String} address User account
|
|
132
132
|
* @return {Promise<TransactionReceipt>} transaction receipt
|
|
133
133
|
*/
|
|
@@ -7,6 +7,6 @@ export declare function getFairGasPrice(web3: Web3, config: Config): Promise<str
|
|
|
7
7
|
export declare function getErcCreationParams(ercParams: Erc20CreateParams): any;
|
|
8
8
|
export declare function getFreOrderParams(freParams: FreOrderParams): any;
|
|
9
9
|
export declare function getFreCreationParams(freParams: FreCreationParams): any;
|
|
10
|
-
export declare function getPoolCreationParams(poolParams: PoolCreationParams): any
|
|
10
|
+
export declare function getPoolCreationParams(web3: Web3, poolParams: PoolCreationParams): Promise<any>;
|
|
11
11
|
export declare function unitsToAmount(web3: Web3, token: string, amount: string): Promise<string>;
|
|
12
12
|
export declare function amountToUnits(web3: Web3, token: string, amount: string): Promise<string>;
|
package/package.json
CHANGED