@gala-chain/launchpad-sdk 3.26.0 → 3.26.4

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/README.md CHANGED
@@ -1841,6 +1841,32 @@ npm run lint
1841
1841
  - [API Documentation](../../API.md) - Detailed API documentation
1842
1842
  - [Examples](./examples/) - Code examples and demos
1843
1843
 
1844
+ ### GSwap Liquidity Operations
1845
+
1846
+ - [Liquidity Operations Guide](./docs/LIQUIDITY_OPERATIONS.md) - Complete guide for managing liquidity positions (viewing, adding, collecting fees, removing)
1847
+ - [Liquidity Response Structures](./docs/LIQUIDITY_RESPONSES.md) - Detailed reference for all liquidity operation response formats and error handling
1848
+ - [GSwap SDK Integration](./docs/GSWAP_INTEGRATION.md) - Deep dive into GSwap patterns, token formats, and advanced trading workflows
1849
+
1850
+ ### Demo Scripts
1851
+
1852
+ **Liquidity Operations:**
1853
+ ```bash
1854
+ # View all liquidity positions
1855
+ npm run demo:liquidity view
1856
+
1857
+ # Add liquidity to GALA/GUSDC pool
1858
+ npm run demo:liquidity add
1859
+
1860
+ # Collect fees from a position
1861
+ npm run demo:liquidity collect <position-id>
1862
+
1863
+ # Remove liquidity (100% or partial percentage)
1864
+ npm run demo:liquidity remove <position-id> [percentage]
1865
+
1866
+ # Show detailed transaction responses (multiple swaps)
1867
+ npm run demo:liquidity:detailed
1868
+ ```
1869
+
1844
1870
  ## Architecture
1845
1871
 
1846
1872
  The SDK uses a **service-based architecture** with backend-aligned services:
@@ -1773,7 +1773,7 @@ export declare class LaunchpadSDK {
1773
1773
  * });
1774
1774
  * ```
1775
1775
  */
1776
- getSwapUserLiquidityPositions(ownerAddress: string, limit?: number, bookmark?: string): Promise<any[]>;
1776
+ getSwapUserLiquidityPositions(ownerAddress: string, limit?: number, bookmark?: string): Promise<import("./types/gswap.dto").LiquidityPosition[]>;
1777
1777
  /**
1778
1778
  * Get specific liquidity position by token pair
1779
1779
  *
@@ -1806,7 +1806,7 @@ export declare class LaunchpadSDK {
1806
1806
  fee: number;
1807
1807
  tickLower: number;
1808
1808
  tickUpper: number;
1809
- }): Promise<any>;
1809
+ }): Promise<import("./types/gswap.dto").LiquidityPosition>;
1810
1810
  /**
1811
1811
  * Get liquidity position by position ID
1812
1812
  *
@@ -1827,7 +1827,7 @@ export declare class LaunchpadSDK {
1827
1827
  * );
1828
1828
  * ```
1829
1829
  */
1830
- getSwapLiquidityPositionById(ownerAddress: string, positionId: string): Promise<any>;
1830
+ getSwapLiquidityPositionById(ownerAddress: string, positionId: string): Promise<import("./types/gswap.dto").LiquidityPosition>;
1831
1831
  /**
1832
1832
  * Estimate tokens to receive when removing liquidity
1833
1833
  *
@@ -3,5 +3,5 @@
3
3
  * This file is generated by scripts/inject-version.ts during build
4
4
  * DO NOT EDIT MANUALLY
5
5
  */
6
- export declare const SDK_VERSION = "3.26.0";
6
+ export declare const SDK_VERSION = "3.26.4";
7
7
  //# sourceMappingURL=version.generated.d.ts.map