@dhedge/v2-sdk 2.1.2 → 2.1.3

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.
@@ -1,4 +1,4 @@
1
- import { Contract, ethers, Wallet, BigNumber } from "ethers";
1
+ import { Contract, ethers, Wallet, BigNumber, BigNumberish } from "ethers";
2
2
  import { Dapp, FundComposition, AssetEnabled, Network, LyraOptionMarket, LyraOptionType, LyraTradeType, LyraPosition, SDKOptions } from "../types";
3
3
  import { Utils } from "./utils";
4
4
  export declare class Pool {
@@ -261,6 +261,14 @@ export declare class Pool {
261
261
  * @returns {Promise<any>} Transaction
262
262
  */
263
263
  setPrivate(_private: boolean, options?: any, estimateGas?: boolean): Promise<any>;
264
+ /**
265
+ * Sets max supply cap for a pool
266
+ * @param {BigNumberish} _maxSupplyCapD18 Max supply cap with 18 decimals
267
+ * @param {any} options Transaction options
268
+ * @param {boolean} estimateGas Simulate/estimate gas
269
+ * @returns {Promise<any>} Transaction
270
+ */
271
+ setMaxCap(_maxSupplyCapD18: BigNumberish, options?: any, estimateGas?: boolean): Promise<any>;
264
272
  /**
265
273
  * Invest into a Balancer pool
266
274
  * @param {string} poolId Balancer pool id