@gala-chain/launchpad-sdk 3.31.2 → 4.0.1-beta.0
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/API.md +525 -5
- package/CHANGELOG.md +101 -9
- package/EXAMPLES.md +923 -0
- package/README.md +539 -15
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +37 -27
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{LaunchpadSDK.d.ts → src/LaunchpadSDK.d.ts} +1333 -37
- package/dist/src/LaunchpadSDK.d.ts.map +1 -0
- package/dist/src/api/LaunchpadAPI.d.ts.map +1 -0
- package/dist/src/api/dto/BondingCurveDTOs.d.ts.map +1 -0
- package/dist/src/api/dto/LockTokenDto.d.ts +97 -0
- package/dist/src/api/dto/LockTokenDto.d.ts.map +1 -0
- package/dist/src/api/dto/TransferTokenDto.d.ts.map +1 -0
- package/dist/src/api/dto/UnlockTokenDto.d.ts +86 -0
- package/dist/src/api/dto/UnlockTokenDto.d.ts.map +1 -0
- package/dist/src/auth/SignatureAuth.d.ts.map +1 -0
- package/dist/src/auth/types.d.ts.map +1 -0
- package/dist/src/config/environments.d.ts.map +1 -0
- package/dist/src/constants/bondingCurve.d.ts.map +1 -0
- package/dist/src/constants/config.d.ts.map +1 -0
- package/dist/src/constants/counts.d.ts.map +1 -0
- package/dist/src/constants/decimals.d.ts.map +1 -0
- package/dist/src/constants/endpoints.d.ts.map +1 -0
- package/dist/src/constants/enums.d.ts.map +1 -0
- package/dist/src/constants/error-messages.d.ts.map +1 -0
- package/dist/src/constants/pagination.d.ts.map +1 -0
- package/dist/src/constants/query-fields.d.ts.map +1 -0
- package/dist/src/constants/version.d.ts.map +1 -0
- package/dist/{constants → src/constants}/version.generated.d.ts +1 -1
- package/dist/src/constants/version.generated.d.ts.map +1 -0
- package/dist/src/helpers/sdk.d.ts.map +1 -0
- package/dist/src/helpers/wallet.d.ts.map +1 -0
- package/dist/src/index.d.ts +51 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/polyfills/file-global.d.ts.map +1 -0
- package/dist/src/schemas/files.d.ts.map +1 -0
- package/dist/src/schemas/index.d.ts.map +1 -0
- package/dist/src/schemas/launchpad.d.ts.map +1 -0
- package/dist/src/schemas/pagination.d.ts.map +1 -0
- package/dist/src/schemas/primitives.d.ts.map +1 -0
- package/dist/src/schemas/trade.d.ts.map +1 -0
- package/dist/src/schemas/user.d.ts.map +1 -0
- package/dist/src/schemas/validators.d.ts.map +1 -0
- package/dist/src/services/BaseService.d.ts.map +1 -0
- package/dist/src/services/BundleService.d.ts.map +1 -0
- package/dist/src/services/CommentService.d.ts.map +1 -0
- package/dist/src/services/DexBackendClient.d.ts +46 -0
- package/dist/src/services/DexBackendClient.d.ts.map +1 -0
- package/dist/src/services/DexPoolService.d.ts +137 -0
- package/dist/src/services/DexPoolService.d.ts.map +1 -0
- package/dist/src/services/DexQuoteService.d.ts +288 -0
- package/dist/src/services/DexQuoteService.d.ts.map +1 -0
- package/dist/{services → src/services}/DexService.d.ts +83 -9
- package/dist/src/services/DexService.d.ts.map +1 -0
- package/dist/src/services/FaucetService.d.ts.map +1 -0
- package/dist/src/services/GSwapService.d.ts +817 -0
- package/dist/src/services/GSwapService.d.ts.map +1 -0
- package/dist/src/services/GalaChainGatewayClient.d.ts +98 -0
- package/dist/src/services/GalaChainGatewayClient.d.ts.map +1 -0
- package/dist/{services → src/services}/GalaChainService.d.ts +99 -4
- package/dist/src/services/GalaChainService.d.ts.map +1 -0
- package/dist/src/services/ImageService.d.ts.map +1 -0
- package/dist/src/services/LaunchpadService.d.ts.map +1 -0
- package/dist/src/services/MultiPoolStateManager.d.ts +284 -0
- package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -0
- package/dist/src/services/PoolCacheManager.d.ts +171 -0
- package/dist/src/services/PoolCacheManager.d.ts.map +1 -0
- package/dist/src/services/PoolService.d.ts.map +1 -0
- package/dist/src/services/PoolStateManager.d.ts +176 -0
- package/dist/src/services/PoolStateManager.d.ts.map +1 -0
- package/dist/{services → src/services}/PriceHistoryService.d.ts +5 -5
- package/dist/src/services/PriceHistoryService.d.ts.map +1 -0
- package/dist/{services → src/services}/SignatureService.d.ts +13 -35
- package/dist/src/services/SignatureService.d.ts.map +1 -0
- package/dist/src/services/SwapEventQueue.d.ts +123 -0
- package/dist/src/services/SwapEventQueue.d.ts.map +1 -0
- package/dist/src/services/TokenClassKeyService.d.ts.map +1 -0
- package/dist/{services → src/services}/TokenMetadataCache.d.ts +5 -5
- package/dist/src/services/TokenMetadataCache.d.ts.map +1 -0
- package/dist/{services → src/services}/TokenMetadataService.d.ts +3 -3
- package/dist/src/services/TokenMetadataService.d.ts.map +1 -0
- package/dist/src/services/TokenResolverService.d.ts.map +1 -0
- package/dist/src/services/TradeService.d.ts.map +1 -0
- package/dist/src/services/UserService.d.ts.map +1 -0
- package/dist/src/services/WebSocketManager.d.ts.map +1 -0
- package/dist/src/services/WebSocketService.d.ts +183 -0
- package/dist/src/services/WebSocketService.d.ts.map +1 -0
- package/dist/src/services/__mocks__/logger.mock.d.ts +17 -0
- package/dist/src/services/__mocks__/logger.mock.d.ts.map +1 -0
- package/dist/{setup.d.ts.map → src/setup.d.ts.map} +1 -1
- package/dist/{types → src/types}/backend-responses.d.ts +17 -0
- package/dist/src/types/backend-responses.d.ts.map +1 -0
- package/dist/src/types/comment.dto.d.ts.map +1 -0
- package/dist/{types → src/types}/common.d.ts +2 -0
- package/dist/src/types/common.d.ts.map +1 -0
- package/dist/src/types/composite-pool.dto.d.ts +103 -0
- package/dist/src/types/composite-pool.dto.d.ts.map +1 -0
- package/dist/{types → src/types}/dex-pool.dto.d.ts +56 -5
- package/dist/src/types/dex-pool.dto.d.ts.map +1 -0
- package/dist/{types → src/types}/dto.d.ts +6 -6
- package/dist/src/types/dto.d.ts.map +1 -0
- package/dist/src/types/eip712-types.d.ts +140 -0
- package/dist/src/types/eip712-types.d.ts.map +1 -0
- package/dist/src/types/galachain-api.types.d.ts +216 -0
- package/dist/src/types/galachain-api.types.d.ts.map +1 -0
- package/dist/src/types/gswap-responses.types.d.ts +366 -0
- package/dist/src/types/gswap-responses.types.d.ts.map +1 -0
- package/dist/{types → src/types}/gswap.dto.d.ts +58 -3
- package/dist/src/types/gswap.dto.d.ts.map +1 -0
- package/dist/{types → src/types}/launchpad.dto.d.ts +232 -0
- package/dist/src/types/launchpad.dto.d.ts.map +1 -0
- package/dist/src/types/launchpad.validation.d.ts.map +1 -0
- package/dist/src/types/liquidity-monitor.dto.d.ts +177 -0
- package/dist/src/types/liquidity-monitor.dto.d.ts.map +1 -0
- package/dist/src/types/lock.dto.d.ts +146 -0
- package/dist/src/types/lock.dto.d.ts.map +1 -0
- package/dist/src/types/options.dto.d.ts.map +1 -0
- package/dist/src/types/pool-state-delta.dto.d.ts +246 -0
- package/dist/src/types/pool-state-delta.dto.d.ts.map +1 -0
- package/dist/src/types/pool-state-manager-config.dto.d.ts +103 -0
- package/dist/src/types/pool-state-manager-config.dto.d.ts.map +1 -0
- package/dist/{types → src/types}/priceHistory.dto.d.ts +4 -4
- package/dist/src/types/priceHistory.dto.d.ts.map +1 -0
- package/dist/src/types/result.types.d.ts.map +1 -0
- package/dist/src/types/swap-monitor.dto.d.ts +256 -0
- package/dist/src/types/swap-monitor.dto.d.ts.map +1 -0
- package/dist/src/types/trade.dto.d.ts.map +1 -0
- package/dist/src/types/transfer.dto.d.ts.map +1 -0
- package/dist/src/types/user.dto.d.ts.map +1 -0
- package/dist/src/types/websocket-data.types.d.ts.map +1 -0
- package/dist/src/types/websocket.types.d.ts.map +1 -0
- package/dist/src/utils/LiquidityEventExtractor.d.ts +99 -0
- package/dist/src/utils/LiquidityEventExtractor.d.ts.map +1 -0
- package/dist/src/utils/Logger.d.ts.map +1 -0
- package/dist/src/utils/MonitoringMetrics.d.ts +152 -0
- package/dist/src/utils/MonitoringMetrics.d.ts.map +1 -0
- package/dist/src/utils/PoolKeyNormalizer.d.ts +135 -0
- package/dist/src/utils/PoolKeyNormalizer.d.ts.map +1 -0
- package/dist/{utils → src/utils}/SignatureHelper.d.ts +38 -0
- package/dist/src/utils/SignatureHelper.d.ts.map +1 -0
- package/dist/src/utils/SwapEventExtractor.d.ts +152 -0
- package/dist/src/utils/SwapEventExtractor.d.ts.map +1 -0
- package/dist/src/utils/adapters.d.ts.map +1 -0
- package/dist/src/utils/agent-config.d.ts.map +1 -0
- package/dist/{utils → src/utils}/auto-pagination.d.ts +75 -1
- package/dist/src/utils/auto-pagination.d.ts.map +1 -0
- package/dist/{utils → src/utils}/bignumber-helpers.d.ts +79 -3
- package/dist/src/utils/bignumber-helpers.d.ts.map +1 -0
- package/dist/src/utils/bignumber-pool-cache.d.ts +169 -0
- package/dist/src/utils/bignumber-pool-cache.d.ts.map +1 -0
- package/dist/src/utils/bondingCurveCalculations.d.ts.map +1 -0
- package/dist/src/utils/cacheWarmingHelpers.d.ts.map +1 -0
- package/dist/src/utils/composite-pool-converter.d.ts +121 -0
- package/dist/src/utils/composite-pool-converter.d.ts.map +1 -0
- package/dist/src/utils/date-utils.d.ts.map +1 -0
- package/dist/src/utils/error-factories.d.ts.map +1 -0
- package/dist/src/utils/error-utils.d.ts.map +1 -0
- package/dist/{utils → src/utils}/errors.d.ts +86 -0
- package/dist/src/utils/errors.d.ts.map +1 -0
- package/dist/src/utils/http.d.ts.map +1 -0
- package/dist/src/utils/load-env.d.ts +31 -0
- package/dist/src/utils/load-env.d.ts.map +1 -0
- package/dist/src/utils/multipart-helpers.d.ts.map +1 -0
- package/dist/{utils → src/utils}/multipart.d.ts +2 -2
- package/dist/src/utils/multipart.d.ts.map +1 -0
- package/dist/src/utils/number-utils.d.ts.map +1 -0
- package/dist/src/utils/pool-pair-parser.d.ts +55 -0
- package/dist/src/utils/pool-pair-parser.d.ts.map +1 -0
- package/dist/src/utils/pool-state-validator.d.ts +207 -0
- package/dist/src/utils/pool-state-validator.d.ts.map +1 -0
- package/dist/src/utils/position-filters.d.ts +253 -0
- package/dist/src/utils/position-filters.d.ts.map +1 -0
- package/dist/src/utils/precision-math.d.ts.map +1 -0
- package/dist/{utils → src/utils}/query-params.d.ts +2 -2
- package/dist/src/utils/query-params.d.ts.map +1 -0
- package/dist/src/utils/response-handlers.d.ts.map +1 -0
- package/dist/src/utils/response-normalizers.d.ts.map +1 -0
- package/dist/src/utils/slippage-utils.d.ts.map +1 -0
- package/dist/src/utils/swap-delta-calculator.d.ts +231 -0
- package/dist/src/utils/swap-delta-calculator.d.ts.map +1 -0
- package/dist/src/utils/tick-crossing-handler.d.ts +250 -0
- package/dist/src/utils/tick-crossing-handler.d.ts.map +1 -0
- package/dist/{utils → src/utils}/token-format-converter.d.ts +18 -11
- package/dist/src/utils/token-format-converter.d.ts.map +1 -0
- package/dist/src/utils/token-parser.d.ts +235 -0
- package/dist/src/utils/token-parser.d.ts.map +1 -0
- package/dist/src/utils/tokenNormalizer.d.ts.map +1 -0
- package/dist/src/utils/trade-transformers.d.ts.map +1 -0
- package/dist/src/utils/transfer-validation.d.ts.map +1 -0
- package/dist/{utils → src/utils}/validation-helpers.d.ts +1 -1
- package/dist/src/utils/validation-helpers.d.ts.map +1 -0
- package/dist/src/utils/validation.d.ts.map +1 -0
- package/dist/src/utils/wallet.d.ts.map +1 -0
- package/dist/src/utils/websocket-errors.d.ts.map +1 -0
- package/dist/src/utils/websocket-validators.d.ts.map +1 -0
- package/package.json +73 -19
- package/dist/LaunchpadSDK.d.ts.map +0 -1
- package/dist/api/LaunchpadAPI.d.ts.map +0 -1
- package/dist/api/dto/BondingCurveDTOs.d.ts.map +0 -1
- package/dist/api/dto/TransferTokenDto.d.ts.map +0 -1
- package/dist/auth/SignatureAuth.d.ts.map +0 -1
- package/dist/auth/types.d.ts.map +0 -1
- package/dist/config/environments.d.ts.map +0 -1
- package/dist/constants/bondingCurve.d.ts.map +0 -1
- package/dist/constants/config.d.ts.map +0 -1
- package/dist/constants/counts.d.ts.map +0 -1
- package/dist/constants/decimals.d.ts.map +0 -1
- package/dist/constants/endpoints.d.ts.map +0 -1
- package/dist/constants/enums.d.ts.map +0 -1
- package/dist/constants/error-messages.d.ts.map +0 -1
- package/dist/constants/pagination.d.ts.map +0 -1
- package/dist/constants/query-fields.d.ts.map +0 -1
- package/dist/constants/version.d.ts.map +0 -1
- package/dist/constants/version.generated.d.ts.map +0 -1
- package/dist/helpers/sdk.d.ts.map +0 -1
- package/dist/helpers/wallet.d.ts.map +0 -1
- package/dist/polyfills/file-global.d.ts.map +0 -1
- package/dist/schemas/files.d.ts.map +0 -1
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/launchpad.d.ts.map +0 -1
- package/dist/schemas/pagination.d.ts.map +0 -1
- package/dist/schemas/primitives.d.ts.map +0 -1
- package/dist/schemas/trade.d.ts.map +0 -1
- package/dist/schemas/user.d.ts.map +0 -1
- package/dist/schemas/validators.d.ts.map +0 -1
- package/dist/services/BaseService.d.ts.map +0 -1
- package/dist/services/BundleService.d.ts.map +0 -1
- package/dist/services/CommentService.d.ts.map +0 -1
- package/dist/services/DexPoolService.d.ts +0 -95
- package/dist/services/DexPoolService.d.ts.map +0 -1
- package/dist/services/DexService.d.ts.map +0 -1
- package/dist/services/FaucetService.d.ts.map +0 -1
- package/dist/services/GSwapService.d.ts +0 -315
- package/dist/services/GSwapService.d.ts.map +0 -1
- package/dist/services/GalaChainService.d.ts.map +0 -1
- package/dist/services/ImageService.d.ts.map +0 -1
- package/dist/services/LaunchpadService.d.ts.map +0 -1
- package/dist/services/PoolService.d.ts.map +0 -1
- package/dist/services/PriceHistoryService.d.ts.map +0 -1
- package/dist/services/SignatureService.d.ts.map +0 -1
- package/dist/services/TokenClassKeyService.d.ts.map +0 -1
- package/dist/services/TokenMetadataCache.d.ts.map +0 -1
- package/dist/services/TokenMetadataService.d.ts.map +0 -1
- package/dist/services/TokenResolverService.d.ts.map +0 -1
- package/dist/services/TradeService.d.ts.map +0 -1
- package/dist/services/UserService.d.ts.map +0 -1
- package/dist/services/WebSocketManager.d.ts.map +0 -1
- package/dist/services/WebSocketService.d.ts +0 -85
- package/dist/services/WebSocketService.d.ts.map +0 -1
- package/dist/types/backend-responses.d.ts.map +0 -1
- package/dist/types/comment.dto.d.ts.map +0 -1
- package/dist/types/common.d.ts.map +0 -1
- package/dist/types/dex-pool.dto.d.ts.map +0 -1
- package/dist/types/dto.d.ts.map +0 -1
- package/dist/types/gswap.dto.d.ts.map +0 -1
- package/dist/types/launchpad.dto.d.ts.map +0 -1
- package/dist/types/launchpad.validation.d.ts.map +0 -1
- package/dist/types/options.dto.d.ts.map +0 -1
- package/dist/types/priceHistory.dto.d.ts.map +0 -1
- package/dist/types/result.types.d.ts.map +0 -1
- package/dist/types/trade.dto.d.ts.map +0 -1
- package/dist/types/transfer.dto.d.ts.map +0 -1
- package/dist/types/user.dto.d.ts.map +0 -1
- package/dist/types/websocket-data.types.d.ts.map +0 -1
- package/dist/types/websocket.types.d.ts.map +0 -1
- package/dist/utils/Logger.d.ts.map +0 -1
- package/dist/utils/SignatureHelper.d.ts.map +0 -1
- package/dist/utils/adapters.d.ts.map +0 -1
- package/dist/utils/agent-config.d.ts.map +0 -1
- package/dist/utils/auto-pagination.d.ts.map +0 -1
- package/dist/utils/bignumber-helpers.d.ts.map +0 -1
- package/dist/utils/bondingCurveCalculations.d.ts.map +0 -1
- package/dist/utils/cacheWarmingHelpers.d.ts.map +0 -1
- package/dist/utils/date-utils.d.ts.map +0 -1
- package/dist/utils/error-factories.d.ts.map +0 -1
- package/dist/utils/error-utils.d.ts.map +0 -1
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/http.d.ts.map +0 -1
- package/dist/utils/multipart-helpers.d.ts.map +0 -1
- package/dist/utils/multipart.d.ts.map +0 -1
- package/dist/utils/number-utils.d.ts.map +0 -1
- package/dist/utils/precision-math.d.ts.map +0 -1
- package/dist/utils/query-params.d.ts.map +0 -1
- package/dist/utils/response-handlers.d.ts.map +0 -1
- package/dist/utils/response-normalizers.d.ts.map +0 -1
- package/dist/utils/slippage-utils.d.ts.map +0 -1
- package/dist/utils/token-format-converter.d.ts.map +0 -1
- package/dist/utils/tokenNormalizer.d.ts.map +0 -1
- package/dist/utils/trade-transformers.d.ts.map +0 -1
- package/dist/utils/transfer-validation.d.ts.map +0 -1
- package/dist/utils/validation-helpers.d.ts.map +0 -1
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/wallet.d.ts.map +0 -1
- package/dist/utils/websocket-errors.d.ts.map +0 -1
- package/dist/utils/websocket-validators.d.ts.map +0 -1
- /package/dist/{api → src/api}/LaunchpadAPI.d.ts +0 -0
- /package/dist/{api → src/api}/dto/BondingCurveDTOs.d.ts +0 -0
- /package/dist/{api → src/api}/dto/TransferTokenDto.d.ts +0 -0
- /package/dist/{auth → src/auth}/SignatureAuth.d.ts +0 -0
- /package/dist/{auth → src/auth}/types.d.ts +0 -0
- /package/dist/{config → src/config}/environments.d.ts +0 -0
- /package/dist/{constants → src/constants}/bondingCurve.d.ts +0 -0
- /package/dist/{constants → src/constants}/config.d.ts +0 -0
- /package/dist/{constants → src/constants}/counts.d.ts +0 -0
- /package/dist/{constants → src/constants}/decimals.d.ts +0 -0
- /package/dist/{constants → src/constants}/endpoints.d.ts +0 -0
- /package/dist/{constants → src/constants}/enums.d.ts +0 -0
- /package/dist/{constants → src/constants}/error-messages.d.ts +0 -0
- /package/dist/{constants → src/constants}/pagination.d.ts +0 -0
- /package/dist/{constants → src/constants}/query-fields.d.ts +0 -0
- /package/dist/{constants → src/constants}/version.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/sdk.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/wallet.d.ts +0 -0
- /package/dist/{polyfills → src/polyfills}/file-global.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/files.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/index.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/launchpad.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/pagination.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/primitives.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/trade.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/user.d.ts +0 -0
- /package/dist/{schemas → src/schemas}/validators.d.ts +0 -0
- /package/dist/{services → src/services}/BaseService.d.ts +0 -0
- /package/dist/{services → src/services}/BundleService.d.ts +0 -0
- /package/dist/{services → src/services}/CommentService.d.ts +0 -0
- /package/dist/{services → src/services}/FaucetService.d.ts +0 -0
- /package/dist/{services → src/services}/ImageService.d.ts +0 -0
- /package/dist/{services → src/services}/LaunchpadService.d.ts +0 -0
- /package/dist/{services → src/services}/PoolService.d.ts +0 -0
- /package/dist/{services → src/services}/TokenClassKeyService.d.ts +0 -0
- /package/dist/{services → src/services}/TokenResolverService.d.ts +0 -0
- /package/dist/{services → src/services}/TradeService.d.ts +0 -0
- /package/dist/{services → src/services}/UserService.d.ts +0 -0
- /package/dist/{services → src/services}/WebSocketManager.d.ts +0 -0
- /package/dist/{setup.d.ts → src/setup.d.ts} +0 -0
- /package/dist/{types → src/types}/comment.dto.d.ts +0 -0
- /package/dist/{types → src/types}/launchpad.validation.d.ts +0 -0
- /package/dist/{types → src/types}/options.dto.d.ts +0 -0
- /package/dist/{types → src/types}/result.types.d.ts +0 -0
- /package/dist/{types → src/types}/trade.dto.d.ts +0 -0
- /package/dist/{types → src/types}/transfer.dto.d.ts +0 -0
- /package/dist/{types → src/types}/user.dto.d.ts +0 -0
- /package/dist/{types → src/types}/websocket-data.types.d.ts +0 -0
- /package/dist/{types → src/types}/websocket.types.d.ts +0 -0
- /package/dist/{utils → src/utils}/Logger.d.ts +0 -0
- /package/dist/{utils → src/utils}/adapters.d.ts +0 -0
- /package/dist/{utils → src/utils}/agent-config.d.ts +0 -0
- /package/dist/{utils → src/utils}/bondingCurveCalculations.d.ts +0 -0
- /package/dist/{utils → src/utils}/cacheWarmingHelpers.d.ts +0 -0
- /package/dist/{utils → src/utils}/date-utils.d.ts +0 -0
- /package/dist/{utils → src/utils}/error-factories.d.ts +0 -0
- /package/dist/{utils → src/utils}/error-utils.d.ts +0 -0
- /package/dist/{utils → src/utils}/http.d.ts +0 -0
- /package/dist/{utils → src/utils}/multipart-helpers.d.ts +0 -0
- /package/dist/{utils → src/utils}/number-utils.d.ts +0 -0
- /package/dist/{utils → src/utils}/precision-math.d.ts +0 -0
- /package/dist/{utils → src/utils}/response-handlers.d.ts +0 -0
- /package/dist/{utils → src/utils}/response-normalizers.d.ts +0 -0
- /package/dist/{utils → src/utils}/slippage-utils.d.ts +0 -0
- /package/dist/{utils → src/utils}/tokenNormalizer.d.ts +0 -0
- /package/dist/{utils → src/utils}/trade-transformers.d.ts +0 -0
- /package/dist/{utils → src/utils}/transfer-validation.d.ts +0 -0
- /package/dist/{utils → src/utils}/validation.d.ts +0 -0
- /package/dist/{utils → src/utils}/wallet.d.ts +0 -0
- /package/dist/{utils → src/utils}/websocket-errors.d.ts +0 -0
- /package/dist/{utils → src/utils}/websocket-validators.d.ts +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized EIP-712 Type Definitions for Bundler Operations
|
|
3
|
+
*
|
|
4
|
+
* These type definitions are used for EIP-712 signing with ethers.js for all bundler operations.
|
|
5
|
+
* They are manually defined (not auto-generated) because SigningClient auto-generation incorrectly
|
|
6
|
+
* uses uint256 for ALL numeric fields, which rejects negative tick values. These definitions
|
|
7
|
+
* use int256 for tick values to properly support negative ticks.
|
|
8
|
+
*
|
|
9
|
+
* EIP-712 Specification: https://eips.ethereum.org/EIPS/eip-712
|
|
10
|
+
* GalaChain Bundler Documentation: https://docs.galachain.com/bundler/signing (when available)
|
|
11
|
+
* GalaChain API Reference: https://docs.galachain.com/bundler/api
|
|
12
|
+
*
|
|
13
|
+
* Integration Points:
|
|
14
|
+
* - Used by GSwapService.sendAddLiquidityToBundler()
|
|
15
|
+
* - Used by GSwapService.sendRemoveLiquidityToBundler()
|
|
16
|
+
* - Used by GSwapService.sendCollectPositionFeesToBundler()
|
|
17
|
+
* - Used by GSwapService.sendSwapToBundler()
|
|
18
|
+
*
|
|
19
|
+
* Key Design Decisions:
|
|
20
|
+
* - Token field order (additionalKey, category, collection, type) must be consistent across all types
|
|
21
|
+
* to ensure proper token identification in bundler state locking
|
|
22
|
+
* - All tick boundaries (tickLower, tickUpper) use int256 to support negative Uniswap V3 ticks
|
|
23
|
+
* (UQ64.96 encoding requires int256, not uint256)
|
|
24
|
+
* - String amounts (not numeric) to preserve decimal precision across JavaScript/Solidity boundary
|
|
25
|
+
* - Unique domain configuration: { name: 'ethereum', chainId: 1 } for GalaChain compatibility
|
|
26
|
+
* - All operations require prefix field added by calculatePersonalSignPrefix() for bundler validation
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* EIP-712 types for AddLiquidity operation
|
|
30
|
+
*
|
|
31
|
+
* Used when creating a new liquidity position with price or tick boundaries.
|
|
32
|
+
* Creates a concentrated liquidity position in a Uniswap V3 pool.
|
|
33
|
+
*
|
|
34
|
+
* Reference: GalaChain Bundler API - AddLiquidity
|
|
35
|
+
* See: https://docs.galachain.com/bundler/api (when available)
|
|
36
|
+
*/
|
|
37
|
+
export declare const ADD_LIQUIDITY_EIP712_TYPES: {
|
|
38
|
+
AddLiquidity: {
|
|
39
|
+
name: string;
|
|
40
|
+
type: string;
|
|
41
|
+
}[];
|
|
42
|
+
token0: {
|
|
43
|
+
name: string;
|
|
44
|
+
type: string;
|
|
45
|
+
}[];
|
|
46
|
+
token1: {
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
}[];
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* EIP-712 types for RemoveLiquidity operation
|
|
53
|
+
*
|
|
54
|
+
* Used when closing a liquidity position and withdrawing tokens.
|
|
55
|
+
* Removes liquidity from a Uniswap V3 position and returns the underlying tokens.
|
|
56
|
+
*
|
|
57
|
+
* Reference: GalaChain Bundler API - RemoveLiquidity
|
|
58
|
+
* See: https://docs.galachain.com/bundler/api (when available)
|
|
59
|
+
*/
|
|
60
|
+
export declare const REMOVE_LIQUIDITY_EIP712_TYPES: {
|
|
61
|
+
RemoveLiquidity: {
|
|
62
|
+
name: string;
|
|
63
|
+
type: string;
|
|
64
|
+
}[];
|
|
65
|
+
token0: {
|
|
66
|
+
name: string;
|
|
67
|
+
type: string;
|
|
68
|
+
}[];
|
|
69
|
+
token1: {
|
|
70
|
+
name: string;
|
|
71
|
+
type: string;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* EIP-712 types for CollectPositionFees operation
|
|
76
|
+
*
|
|
77
|
+
* Used when collecting accumulated trading fees from a liquidity position.
|
|
78
|
+
* Extracts protocol fees earned by the position during trades without modifying liquidity.
|
|
79
|
+
*
|
|
80
|
+
* Reference: GalaChain Bundler API - CollectPositionFees
|
|
81
|
+
* See: https://docs.galachain.com/bundler/api (when available)
|
|
82
|
+
*/
|
|
83
|
+
export declare const COLLECT_FEES_EIP712_TYPES: {
|
|
84
|
+
CollectPositionFees: {
|
|
85
|
+
name: string;
|
|
86
|
+
type: string;
|
|
87
|
+
}[];
|
|
88
|
+
token0: {
|
|
89
|
+
name: string;
|
|
90
|
+
type: string;
|
|
91
|
+
}[];
|
|
92
|
+
token1: {
|
|
93
|
+
name: string;
|
|
94
|
+
type: string;
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* EIP-712 types for Swap operation
|
|
99
|
+
*
|
|
100
|
+
* Used when swapping tokens on GalaSwap DEX.
|
|
101
|
+
* Executes a token swap on a Uniswap V3 pool with slippage protection.
|
|
102
|
+
*
|
|
103
|
+
* Reference: GalaChain Bundler API - Swap
|
|
104
|
+
* See: https://docs.galachain.com/bundler/api (when available)
|
|
105
|
+
*/
|
|
106
|
+
export declare const SWAP_EIP712_TYPES: {
|
|
107
|
+
Swap: {
|
|
108
|
+
name: string;
|
|
109
|
+
type: string;
|
|
110
|
+
}[];
|
|
111
|
+
token0: {
|
|
112
|
+
name: string;
|
|
113
|
+
type: string;
|
|
114
|
+
}[];
|
|
115
|
+
token1: {
|
|
116
|
+
name: string;
|
|
117
|
+
type: string;
|
|
118
|
+
}[];
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Standard EIP-712 domain configuration
|
|
122
|
+
*
|
|
123
|
+
* Used consistently across all bundler operations for signature validation.
|
|
124
|
+
* Domain identifies the signing context (application name and chain).
|
|
125
|
+
*
|
|
126
|
+
* Configuration:
|
|
127
|
+
* - name: 'ethereum' - Identifies as Ethereum domain (GalaChain convention)
|
|
128
|
+
* - chainId: 1 - References Ethereum mainnet chainId (GalaChain signing context)
|
|
129
|
+
*
|
|
130
|
+
* This domain ensures that signatures cannot be replayed across different networks
|
|
131
|
+
* or applications. All bundler operations must use this exact domain.
|
|
132
|
+
*
|
|
133
|
+
* Reference: EIP-712 Domain Separator
|
|
134
|
+
* See: https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator
|
|
135
|
+
*/
|
|
136
|
+
export declare const EIP712_DOMAIN: {
|
|
137
|
+
name: string;
|
|
138
|
+
chainId: number;
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=eip712-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eip712-types.d.ts","sourceRoot":"","sources":["../../../src/types/eip712-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;CA2BtC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;CAyBzC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;CAwBrC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;CAwB7B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;CAAmC,CAAC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GalaChain Gateway and DEX Backend API Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive, fully-typed definitions for all API responses from:
|
|
5
|
+
* - GalaChain Gateway (DEX contract endpoints)
|
|
6
|
+
* - DEX Backend API
|
|
7
|
+
*
|
|
8
|
+
* Zero `any` types, complete type safety across all API operations.
|
|
9
|
+
*/
|
|
10
|
+
import BigNumber from 'bignumber.js';
|
|
11
|
+
/**
|
|
12
|
+
* GalaChain Gateway response wrapper
|
|
13
|
+
* All Gateway responses wrap the actual data in this structure
|
|
14
|
+
*/
|
|
15
|
+
export interface GalaChainGatewayResponse<T> {
|
|
16
|
+
Data: T;
|
|
17
|
+
Status: number;
|
|
18
|
+
Message?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Token class key structure used in API responses
|
|
22
|
+
*/
|
|
23
|
+
export interface TokenClassKey {
|
|
24
|
+
collection: string;
|
|
25
|
+
category: string;
|
|
26
|
+
type: string;
|
|
27
|
+
additionalKey: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Pool data from GetPoolData endpoint
|
|
31
|
+
* Complete Uniswap V3 pool state including tick, liquidity, fees
|
|
32
|
+
*/
|
|
33
|
+
export interface GalaChainPoolData {
|
|
34
|
+
token0: string;
|
|
35
|
+
token1: string;
|
|
36
|
+
token0ClassKey: TokenClassKey;
|
|
37
|
+
token1ClassKey: TokenClassKey;
|
|
38
|
+
fee: number;
|
|
39
|
+
tickSpacing: number;
|
|
40
|
+
liquidity: string;
|
|
41
|
+
sqrtPrice: string;
|
|
42
|
+
tick: number;
|
|
43
|
+
feeGrowthGlobal0: string;
|
|
44
|
+
feeGrowthGlobal1: string;
|
|
45
|
+
bitmap?: Record<string, string>;
|
|
46
|
+
creator?: string;
|
|
47
|
+
grossPoolLiquidity?: string;
|
|
48
|
+
isPrivate?: boolean;
|
|
49
|
+
maxLiquidityPerTick?: string;
|
|
50
|
+
protocolFees?: number;
|
|
51
|
+
protocolFeesToken0?: string;
|
|
52
|
+
protocolFeesToken1?: string;
|
|
53
|
+
whitelist?: unknown[];
|
|
54
|
+
observations?: Array<{
|
|
55
|
+
blockTimestamp: number;
|
|
56
|
+
tickCumulative: number;
|
|
57
|
+
secondsPerLiquidityCumulativeX128: string;
|
|
58
|
+
initialized: boolean;
|
|
59
|
+
}>;
|
|
60
|
+
currentPrice?: string;
|
|
61
|
+
token0Decimals?: number;
|
|
62
|
+
token1Decimals?: number;
|
|
63
|
+
initialized?: boolean;
|
|
64
|
+
poolAddress?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Individual position data from GetPositions endpoint
|
|
68
|
+
* Represents a concentrated liquidity position in a pool
|
|
69
|
+
*/
|
|
70
|
+
export interface GalaChainPosition {
|
|
71
|
+
positionId: string;
|
|
72
|
+
owner: string;
|
|
73
|
+
token0: TokenClassKey;
|
|
74
|
+
token1: TokenClassKey;
|
|
75
|
+
fee: number;
|
|
76
|
+
tickLower: number;
|
|
77
|
+
tickUpper: number;
|
|
78
|
+
liquidity: string;
|
|
79
|
+
feeGrowthInside0LastX128: string;
|
|
80
|
+
feeGrowthInside1LastX128: string;
|
|
81
|
+
tokensOwed0: string;
|
|
82
|
+
tokensOwed1: string;
|
|
83
|
+
amount0?: string;
|
|
84
|
+
amount1?: string;
|
|
85
|
+
feeAmount0?: string;
|
|
86
|
+
feeAmount1?: string;
|
|
87
|
+
createdAt?: number;
|
|
88
|
+
updatedAt?: number;
|
|
89
|
+
operator?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Response from GetPositions endpoint
|
|
93
|
+
* Can return multiple positions for a wallet/criteria
|
|
94
|
+
*/
|
|
95
|
+
export interface GalaChainGetPositionsResponse {
|
|
96
|
+
positions: GalaChainPosition[];
|
|
97
|
+
count: number;
|
|
98
|
+
totalLiquidity?: string;
|
|
99
|
+
totalValue?: string;
|
|
100
|
+
nextBookMark?: string;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Estimated amounts when removing liquidity
|
|
104
|
+
* From GetRemoveLiquidityEstimation endpoint
|
|
105
|
+
*/
|
|
106
|
+
export interface GalaChainRemoveLiquidityEstimation {
|
|
107
|
+
amount0: string;
|
|
108
|
+
amount1: string;
|
|
109
|
+
fee0: string;
|
|
110
|
+
fee1: string;
|
|
111
|
+
liquidity: string;
|
|
112
|
+
tickLower: number;
|
|
113
|
+
tickUpper: number;
|
|
114
|
+
currentPrice?: string;
|
|
115
|
+
token0Symbol?: string;
|
|
116
|
+
token1Symbol?: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* User asset from DEX Backend API
|
|
120
|
+
* Represents a token in a user's wallet on the DEX
|
|
121
|
+
*/
|
|
122
|
+
export interface DexBackendUserAsset {
|
|
123
|
+
tokenId: TokenClassKey | string;
|
|
124
|
+
symbol: string;
|
|
125
|
+
name: string;
|
|
126
|
+
decimals: number;
|
|
127
|
+
balance: string | BigNumber;
|
|
128
|
+
contractAddress?: string;
|
|
129
|
+
imageUrl?: string;
|
|
130
|
+
verified?: boolean;
|
|
131
|
+
trading?: boolean;
|
|
132
|
+
walletAddress?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Response from DEX Backend getUserAssets endpoint
|
|
136
|
+
* List of all tokens user holds on the DEX
|
|
137
|
+
*/
|
|
138
|
+
export interface DexBackendUserAssetsResponse {
|
|
139
|
+
tokens: DexBackendUserAsset[];
|
|
140
|
+
count: number;
|
|
141
|
+
totalValue?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Request to GetPoolData endpoint
|
|
145
|
+
*/
|
|
146
|
+
export interface GalaChainGetPoolDataRequest {
|
|
147
|
+
token0: TokenClassKey;
|
|
148
|
+
token1: TokenClassKey;
|
|
149
|
+
fee: number;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Request to GetPositions endpoint
|
|
153
|
+
* Multiple query filters supported
|
|
154
|
+
*/
|
|
155
|
+
export interface GalaChainGetPositionsRequest {
|
|
156
|
+
owner?: string;
|
|
157
|
+
tokenA?: TokenClassKey | string;
|
|
158
|
+
tokenB?: TokenClassKey | string;
|
|
159
|
+
feeTier?: number;
|
|
160
|
+
positionId?: string;
|
|
161
|
+
limit?: number;
|
|
162
|
+
bookmark?: string;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Request to GetRemoveLiquidityEstimation endpoint
|
|
166
|
+
*/
|
|
167
|
+
export interface GalaChainGetRemoveLiquidityEstimationRequest {
|
|
168
|
+
tokenA: TokenClassKey | string;
|
|
169
|
+
tokenB: TokenClassKey | string;
|
|
170
|
+
fee: number;
|
|
171
|
+
tickLower: number;
|
|
172
|
+
tickUpper: number;
|
|
173
|
+
liquidity: string;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Request to DEX Backend getUserAssets endpoint
|
|
177
|
+
*/
|
|
178
|
+
export interface DexBackendGetUserAssetsRequest {
|
|
179
|
+
walletAddress: string;
|
|
180
|
+
limit?: number;
|
|
181
|
+
offset?: number;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Standard API error response
|
|
185
|
+
*/
|
|
186
|
+
export interface ApiErrorResponse {
|
|
187
|
+
Status: number;
|
|
188
|
+
Message: string;
|
|
189
|
+
Data?: Record<string, unknown>;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Parsed error with context
|
|
193
|
+
*/
|
|
194
|
+
export declare class ApiError extends Error {
|
|
195
|
+
readonly status: number;
|
|
196
|
+
readonly message: string;
|
|
197
|
+
readonly details?: Record<string, unknown> | undefined;
|
|
198
|
+
constructor(status: number, message: string, details?: Record<string, unknown> | undefined);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Check if value is a TokenClassKey
|
|
202
|
+
*/
|
|
203
|
+
export declare function isTokenClassKey(value: unknown): value is TokenClassKey;
|
|
204
|
+
/**
|
|
205
|
+
* Check if value is a GalaChainPoolData response
|
|
206
|
+
*/
|
|
207
|
+
export declare function isGalaChainPoolData(value: unknown): value is GalaChainPoolData;
|
|
208
|
+
/**
|
|
209
|
+
* Check if value is a GalaChainPosition
|
|
210
|
+
*/
|
|
211
|
+
export declare function isGalaChainPosition(value: unknown): value is GalaChainPosition;
|
|
212
|
+
/**
|
|
213
|
+
* Check if value is a DexBackendUserAsset
|
|
214
|
+
*/
|
|
215
|
+
export declare function isDexBackendUserAsset(value: unknown): value is DexBackendUserAsset;
|
|
216
|
+
//# sourceMappingURL=galachain-api.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"galachain-api.types.d.ts","sourceRoot":"","sources":["../../../src/types/galachain-api.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAEhC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,aAAa,CAAC;IAC9B,cAAc,EAAE,aAAa,CAAC;IAG9B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAA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