@dhedge/v2-sdk 1.10.6 → 1.10.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.
@@ -290,6 +290,14 @@ export declare class Pool {
290
290
  * @returns {Promise<any>} Transaction
291
291
  */
292
292
  harvestAaveV3Rewards(assets: string[], rewardAsset: string, options?: any, estimateGas?: boolean): Promise<any>;
293
+ /**
294
+ * Claim rewards from CompoundV3
295
+ * @param {string} asset Compound lending asset
296
+ * @param {any} options Transaction options
297
+ * @param {boolean} estimateGas Simulate/estimate gas
298
+ * @returns {Promise<any>} Transaction
299
+ */
300
+ harvestCompoundV3Rewards(asset: string, options?: any, estimateGas?: boolean): Promise<any>;
293
301
  /**
294
302
  * Create UniswapV3 liquidity pool
295
303
  * @param {dapp} Platform UniswapV3, VelodromeCL, AerodromeCL or RamesesCL
@@ -0,0 +1,2 @@
1
+ import { Pool } from "../..";
2
+ export declare function getCompoundV3ClaimTxData(pool: Pool, asset: string): string;
package/dist/types.d.ts CHANGED
@@ -25,7 +25,8 @@ export declare enum Dapp {
25
25
  RAMSES = "ramses",
26
26
  AERODROME = "aerodrome",
27
27
  AERODROMECL = "aerodromeCL",
28
- RAMSESCL = "ramsesCL"
28
+ RAMSESCL = "ramsesCL",
29
+ COMPOUNDV3 = "compoundV3"
29
30
  }
30
31
  export declare enum Transaction {
31
32
  SWAP = "swapExactTokensForTokens",