@cetusprotocol/sui-clmm-sdk 1.2.6 → 1.2.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.
package/dist/index.d.mts CHANGED
@@ -1640,6 +1640,19 @@ declare class PoolModule implements IModule<CetusClmmSDK> {
1640
1640
  */
1641
1641
  claimPartnerRefFeePayload(partner_cap: string, partner: string, coin_type: string): Promise<Transaction>;
1642
1642
  getPoolStatus(poolId: string): Promise<PoolStatus | undefined>;
1643
+ /**
1644
+ * Claim all ref fees for a specific partner in a single transaction
1645
+ * This method combines getPartnerRefFeeAmount and claimPartnerRefFeePayload
1646
+ * to create a complete transaction that claims all ref fees for a partner
1647
+ * @param {string} partner The partner object ID
1648
+ * @param {string} partner_cap The partner cap ID (required)
1649
+ * @param {string[]} specific_coin_types Optional array of specific coin types to claim (if not provided, claims all)
1650
+ * @returns {Promise<{ ref_fees: CoinAsset[], tx: Transaction }>} CoinAsset array and the complete Transaction
1651
+ */
1652
+ claimAllPartnerRefFeesPayload(partner: string, partner_cap: string, specific_coin_types?: string[]): Promise<{
1653
+ ref_fees: CoinAsset[];
1654
+ tx: Transaction;
1655
+ }>;
1643
1656
  }
1644
1657
 
1645
1658
  /**
package/dist/index.d.ts CHANGED
@@ -1640,6 +1640,19 @@ declare class PoolModule implements IModule<CetusClmmSDK> {
1640
1640
  */
1641
1641
  claimPartnerRefFeePayload(partner_cap: string, partner: string, coin_type: string): Promise<Transaction>;
1642
1642
  getPoolStatus(poolId: string): Promise<PoolStatus | undefined>;
1643
+ /**
1644
+ * Claim all ref fees for a specific partner in a single transaction
1645
+ * This method combines getPartnerRefFeeAmount and claimPartnerRefFeePayload
1646
+ * to create a complete transaction that claims all ref fees for a partner
1647
+ * @param {string} partner The partner object ID
1648
+ * @param {string} partner_cap The partner cap ID (required)
1649
+ * @param {string[]} specific_coin_types Optional array of specific coin types to claim (if not provided, claims all)
1650
+ * @returns {Promise<{ ref_fees: CoinAsset[], tx: Transaction }>} CoinAsset array and the complete Transaction
1651
+ */
1652
+ claimAllPartnerRefFeesPayload(partner: string, partner_cap: string, specific_coin_types?: string[]): Promise<{
1653
+ ref_fees: CoinAsset[];
1654
+ tx: Transaction;
1655
+ }>;
1643
1656
  }
1644
1657
 
1645
1658
  /**